    :root {
      --bg: #0d1117;
      --bg-2: #111827;
      --panel: rgba(18, 24, 38, 0.92);
      --panel-2: rgba(255, 255, 255, 0.04);
      --text: #f3f6fb;
      --muted: #9aa4b2;
      --line: rgba(255,255,255,0.1);
      --line-strong: rgba(255,255,255,0.18);
      --accent: #7c9cff;
      --accent-2: #95f0c9;
      --success: #52d98a;
      --danger: #ff8c8c;
      --warn: #ffcb6b;
      --shadow: 0 18px 60px rgba(0,0,0,0.35);
      --radius: 18px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background:
        radial-gradient(circle at top left, rgba(124,156,255,0.2), transparent 32%),
        radial-gradient(circle at top right, rgba(149,240,201,0.12), transparent 26%),
        linear-gradient(180deg, #0c1018 0%, #0d1117 100%);
      color: var(--text);
      min-height: 100vh;
    }
    
    a {
      color: #ffffff;
      text-decoration: none;
    }

    a:visited {
      color: #ffffff;
    }

    a:hover {
      color: #cccccc;
      text-decoration: underline;
    }

    a:active {
      color: #cccccc;
    }

    .top-backbar {
      max-width: 1320px;
      margin: 0 auto;
      padding: 18px 18px 0;
    }

    .back-home-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #d6b36a;
      text-decoration: none;
      font-size: 13px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      font-weight: 700;
      opacity: 0.95;
      transition: color 0.2s ease, opacity 0.2s ease;
    }

    .back-home-link:hover {
      color: #edd39a;
      opacity: 1;
      text-decoration: none;
    }

    .wrap {
      max-width: 1320px;
      margin: 0 auto;
      padding: 12px 18px 36px;
    }

    .hero {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 20px;
      flex-wrap: wrap;
      margin-bottom: 18px;
    }

    .hero-copy { max-width: 760px; }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent-2);
      margin-bottom: 12px;
      font-weight: 800;
    }

    .eyebrow::before {
      content: "";
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      box-shadow: 0 0 20px rgba(124,156,255,0.6);
    }

    h1 {
      margin: 0;
      font-size: clamp(30px, 5vw, 52px);
      line-height: 0.96;
      letter-spacing: -0.04em;
    }

    .sub {
      margin-top: 14px;
      max-width: 760px;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.6;
    }

    .token-thumb {
      width: 100%;
      max-width: 256px;
      height: auto;
      aspect-ratio: 1 / 1;
      object-fit: cover;
    }

    .actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items: center;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(12, minmax(0, 1fr));
      gap: 16px;
    }

    .card {
      grid-column: span 12;
      background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 18px;
      box-shadow: var(--shadow);
      backdrop-filter: blur(10px);
    }

    .card.half { grid-column: span 6; }
    .card.third { grid-column: span 4; }
    .card.quarter { grid-column: span 3; }

    .card-title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      font-size: 15px;
      letter-spacing: 0.01em;
      margin-bottom: 14px;
    }

    .chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border: 1px solid var(--line-strong);
      border-radius: 999px;
      padding: 7px 10px;
      font-size: 12px;
      color: var(--muted);
      background: rgba(255,255,255,0.03);
      white-space: nowrap;
    }

    .chip.good { color: var(--success); border-color: rgba(82,217,138,0.35); background: rgba(82,217,138,0.08); }
    .chip.bad { color: var(--danger); border-color: rgba(255,140,140,0.3); background: rgba(255,140,140,0.08); }
    .chip.warn { color: var(--warn); border-color: rgba(255,203,107,0.35); background: rgba(255,203,107,0.09); }

    .stats {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
    }

    .stat {
      min-height: 104px;
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 14px;
      background: rgba(255,255,255,0.03);
    }

    .stat-label {
      color: var(--muted);
      font-size: 11px;
      margin-bottom: 10px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-weight: 700;
    }

    .stat-value {
      font-size: clamp(18px, 2.3vw, 24px);
      font-weight: 800;
      word-break: break-word;
      line-height: 1.2;
    }

    .mono {
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      word-break: break-all;
    }

    .row {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding: 12px 0;
      border-top: 1px solid var(--line);
      align-items: flex-start;
    }

    .row:first-child { border-top: 0; padding-top: 0; }
    .label { color: var(--muted); min-width: 120px; }
    .row-value { text-align: right; }

    button {
      appearance: none;
      border: 0;
      background: linear-gradient(135deg, var(--accent), #6387ff);
      color: #fff;
      padding: 11px 15px;
      border-radius: 12px;
      font-weight: 800;
      cursor: pointer;
      transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
      box-shadow: 0 8px 24px rgba(124,156,255,0.18);
    }

    button:hover:not(:disabled) { transform: translateY(-1px); }

    button.secondary {
      background: rgba(255,255,255,0.05);
      color: var(--text);
      border: 1px solid var(--line);
      box-shadow: none;
    }

    button.warn {
      background: rgba(255,203,107,0.12);
      color: #ffdd9a;
      border: 1px solid rgba(255,203,107,0.22);
      box-shadow: none;
    }

    button.success {
      background: linear-gradient(135deg, #2ebb75, #56d98e);
      box-shadow: 0 8px 24px rgba(82,217,138,0.2);
    }

    button:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

    .toolbar {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items: center;
      margin-bottom: 12px;
    }

    .notice {
      border: 1px solid rgba(255,203,107,0.3);
      background: rgba(255,203,107,0.1);
      color: #ffe0a6;
      border-radius: 14px;
      padding: 12px 14px;
      margin-top: 14px;
    }

    .status {
      margin-top: 14px;
      padding: 13px 14px;
      border-radius: 14px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.04);
      display: none;
      white-space: pre-wrap;
      word-break: break-word;
      line-height: 1.5;
    }

    .status.error {
      display: block;
      color: #ffd1d1;
      border-color: rgba(255,140,140,0.25);
      background: rgba(255,140,140,0.1);
    }
    .status.success {
      display: block;
      color: #d5ffe5;
      border-color: rgba(82,217,138,0.25);
      background: rgba(82,217,138,0.1);
    }
    .status.info { display: block; color: var(--text); }

    .small {
      font-size: 12px;
      color: var(--muted);
      line-height: 1.5;
    }

    .small a, .status a, .footer-note a { color: #b6cbff; }

    .approval-box {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 12px;
      align-items: stretch;
    }

    .approval-pane {
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 14px;
      background: rgba(255,255,255,0.03);
    }

    .approval-big {
      font-size: 28px;
      font-weight: 900;
      letter-spacing: -0.03em;
      margin: 8px 0 6px;
    }

    .source-toggle {
      display: inline-flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .source-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 11px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.03);
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
    }

    .token-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
      gap: 12px;
    }

    .token-card {
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 13px;
      background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
      min-height: 180px;
    }

    .token-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 12px;
    }

    .token-id {
      font-weight: 900;
      font-size: 22px;
      line-height: 1;
      letter-spacing: -0.03em;
    }

    .pill {
      display: inline-flex;
      align-items: center;
      border: 1px solid var(--line-strong);
      border-radius: 999px;
      padding: 6px 10px;
      font-size: 12px;
      color: var(--muted);
      background: rgba(255,255,255,0.04);
      margin-top: 8px;
    }

    .kv {
      display: grid;
      gap: 8px;
      font-size: 13px;
    }

    .kv-row {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      color: var(--muted);
    }

    .kv-row strong, .kv-row span:last-child { color: var(--text); }

    .empty {
      color: var(--muted);
      border: 1px dashed var(--line-strong);
      border-radius: 16px;
      padding: 18px;
      text-align: center;
      background: rgba(255,255,255,0.025);
    }

    .footer-note {
      margin-top: 10px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.6;
    }

    .spinner {
      display: inline-block;
      width: 14px;
      height: 14px;
      border: 2px solid rgba(255,255,255,0.35);
      border-top-color: #fff;
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
      vertical-align: -2px;
      margin-right: 6px;
    }

    .secondary .spinner, .warn .spinner {
      border-color: rgba(255,255,255,0.15);
      border-top-color: var(--text);
    }

    @keyframes spin { to { transform: rotate(360deg); } }

    @media (max-width: 1050px) {
      .card.half, .card.third, .card.quarter { grid-column: span 12; }
      .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
      .approval-box { grid-template-columns: 1fr; }
    }

    @media (max-width: 640px) {
      .wrap { padding: 18px 12px 28px; }
      .stats { grid-template-columns: 1fr; }
      .hero { margin-bottom: 14px; }
      .actions, .toolbar { width: 100%; }
      button { width: 100%; }
      .actions button, .toolbar button { width: auto; flex: 1 1 auto; }
      .row { flex-direction: column; }
      .row-value { text-align: left; }
      .token-grid { grid-template-columns: 1fr; }
    }