/* ═══════════════════════════════════════════════════════════════════════
   Design: si.gov (Webflow, Instrument Serif display + Instrument Sans body,
   deep flat canvas, tiny dot eyebrows, square flat cards, alternating dark
   and paper sections, rotating round menu seal, giant footer wordmark)
   recolored to black and orange. Numbers in Geist Mono.
   ═══════════════════════════════════════════════════════════════════════ */
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-italic-latin.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #0b0b0c;
  --bg-2: #101012;
  --panel: #131315;
  --card: #151517;
  --card-2: #1a1a1d;
  --elev: #202024;
  --surface: var(--card);
  --surface-2: var(--card-2);
  --surface-3: var(--elev);
  --mist: #23201a;
  --line: #242428;
  --line-strong: #323237;
  --rule: #1d1d21;
  --ink: #f6f2ea;
  --ink-2: #cfc9bd;
  --ink-3: #928b7f;
  --ink-4: #5f5a52;
  --orange: #f88800;
  --orange-2: #ffa033;
  --orange-3: #ffc27a;
  --orange-deep: #f87000;
  --orange-ink: #1a0c00;
  --orange-soft: rgba(248, 136, 0, 0.14);
  --paper: #f4efe6;
  --paper-2: #ebe4d7;
  --paper-line: #d8d0c2;
  --paper-ink: #0b0b0c;
  --paper-ink-2: #4a463f;
  --ok: #58d68d;
  --ok-soft: rgba(88, 214, 141, 0.12);
  --bad: #ff5a5a;
  --bad-soft: rgba(255, 90, 90, 0.12);
  --wait: #ffb347;
  --wait-soft: rgba(255, 179, 71, 0.12);
  --chart-grid: #1a1a1e;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1280px;
  --gutter: 40px;
  --top-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --r: 2px;
}

/* ── base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; min-height: 100dvh; font: 15px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; display: flex; flex-direction: column; }
::selection { background: var(--orange); color: var(--orange-ink); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
h4 { font-weight: 600; }
em, .ital { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--orange-2); }
.num, .tabular, code, kbd, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--orange); color: var(--orange-ink); padding: 8px 12px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--ink-3); }
.label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); line-height: 1.4; }
.label svg { width: 13px; height: 13px; flex-shrink: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-2); letter-spacing: 0.01em; }
.eyebrow .dot, .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(248, 136, 0, 0.18); flex-shrink: 0; }
.eyebrow .dot { animation: beat 2s ease-in-out infinite; }
@keyframes beat { 50% { box-shadow: 0 0 0 9px rgba(248, 136, 0, 0); } }
.eyebrow .n { color: var(--ink-3); font-family: var(--mono); font-size: 11px; }
.eyebrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.up { color: var(--ok); }
.down { color: var(--bad); }
.show-xs { display: none; }
.pump-pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 5px; border: 1px solid var(--line-strong); font-size: 12px; font-weight: 500; color: var(--ink-2); background: var(--card); }
.pump-pill svg { width: 16px; height: 16px; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(248, 136, 0, 0.18); animation: pulse-dot 1.4s ease-in-out infinite; flex-shrink: 0; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
/* reveals: whole-block fade, or line masks (.reveal with .ln > span) that slide up */
.reveal:not(:has(.ln)) { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal:not(:has(.ln)).in { opacity: 1; transform: none; }
.fx-ready .reveal .ln { display: block; overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.fx-ready .reveal .ln > span { display: block; transform: translateY(105%); transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fx-ready .reveal.in .ln > span { transform: none; }
.fx-ready .reveal .ln:nth-child(2) > span { transition-delay: 0.08s; }
.fx-ready .reveal .ln:nth-child(3) > span { transition-delay: 0.16s; }
.fx-ready .reveal .ln:nth-child(4) > span { transition-delay: 0.24s; }
.fade { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--d, 0) * 1s); }
.fade.in { opacity: 1; transform: none; }
/* word-by-word text that lights up as you scroll */
.words > span { opacity: 0.14; transition: opacity 0.2s; }
.words > span.on { opacity: 1; }
.words > span.hi.on em { color: var(--orange-2); }
/* pinned stepper: a sticky viewport over N full-height steps */
.pin { position: relative; }
.pin .stick { position: sticky; top: 0; height: 100svh; margin-bottom: -100svh; display: flex; align-items: center; pointer-events: none; }
.pin .stick .sec-in { pointer-events: auto; width: 100%; }
.pin .step { height: 100svh; }
.steps-ui { position: relative; min-height: 22rem; max-width: 600px; }
.steps-ui article { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.steps-ui article.on { opacity: 1; transform: none; }
.steps-ui .k { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--orange-2); display: block; margin-bottom: 10px; }
.steps-ui h3 { font-size: clamp(40px, 6vw, 88px); line-height: 0.95; }
.steps-ui p { margin-top: 16px; color: var(--ink-2); max-width: 44ch; font-size: 16px; line-height: 1.6; }
.progress { display: flex; gap: 8px; margin-bottom: 32px; }
.progress i { height: 2px; width: 48px; background: var(--line-strong); position: relative; overflow: hidden; }
.progress i b { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); }
/* custom cursor + iris transition */
.cursor { position: fixed; z-index: 100; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid #fff; border-radius: 50%; pointer-events: none; mix-blend-mode: difference; transition: width 0.25s, height 0.25s, margin 0.25s, background 0.25s; }
.cursor.big { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: #fff; }
@media (pointer: coarse) { .cursor { display: none; } }
.iris { position: fixed; inset: 0; z-index: 80; background: var(--orange); pointer-events: none; clip-path: circle(0 at var(--x, 50%) var(--y, 50%)); transition: clip-path 0.6s cubic-bezier(0.7, 0, 0.25, 1); }
.iris.on { clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); }
.iris b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 10vw, 144px); color: var(--orange-ink); }
/* spotlight + dotted mask on hover (si .init) */
.init { position: relative; --mx: 50%; --my: 50%; overflow: hidden; }
.init::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx) var(--my), rgba(248, 136, 0, 0.5), transparent 70%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.init::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(246, 242, 234, 0.5) 1px, transparent 1.4px); background-size: 14px 14px; -webkit-mask-image: radial-gradient(220px circle at var(--mx) var(--my), #000, transparent 75%); mask-image: radial-gradient(220px circle at var(--mx) var(--my), #000, transparent 75%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.init:hover::before, .init:hover::after, .init:focus-visible::before, .init:focus-visible::after { opacity: 1; }
.init > * { position: relative; z-index: 1; }

/* ── top bar ──────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 40; transition: opacity 0.3s, border-color 0.3s; height: var(--top-h); display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter); background: rgba(11, 11, 12, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.top.is-stuck { border-bottom-color: var(--line); }
.logo { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; height: 40px; font-family: var(--serif); font-size: 24px; letter-spacing: 0.02em; color: var(--orange-3); }
.logo-star { width: 16px; height: 16px; fill: var(--orange); }
.logo:hover .logo-star { animation: spin 1.6s linear infinite; }
.top-nav { display: flex; gap: 2px; margin-left: 8px; }
.top-nav a { padding: 8px 11px; font-size: 13.5px; color: var(--ink-2); border-bottom: 1px solid transparent; transition: color 0.15s; }
.top-nav a:hover { color: var(--ink); }
.top-nav a.active { color: var(--orange-2); }
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.cabar { display: inline-flex; align-items: stretch; height: 38px; border: 1px solid var(--line-strong); background: var(--card); }
.cabar-ca, .cabar-act { display: inline-flex; align-items: center; background: none; border: 0; padding: 0; color: var(--ink); white-space: nowrap; font-size: 12px; }
.cabar-tag { display: grid; place-items: center; height: 100%; padding: 0 9px; background: var(--orange); color: var(--orange-ink); font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; }
.cabar-text { padding: 0 10px; font-weight: 500; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.cabar-ca:hover .cabar-text { color: var(--orange-2); }
.cabar-act { padding: 0 9px; border-left: 1px solid var(--line); color: var(--ink-2); font-weight: 500; font-size: 12px; }
.cabar-act:hover { color: var(--ink); background: var(--card-2); }
.cabar-act svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.cabar-buy[data-soon] { color: var(--ink-4); }
.search-trigger { height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink-3); transition: border-color 0.15s, color 0.15s; }
.search-trigger:hover { border-color: var(--orange); color: var(--ink); }
.search-trigger svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
kbd { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border: 1px solid var(--line-strong); border-bottom-width: 2px; font-size: 10.5px; color: var(--ink-3); background: var(--elev); }
.wallet-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-4); flex-shrink: 0; transition: background 0.2s, box-shadow 0.2s; }
.btn-wallet.is-connected .wallet-dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(88, 214, 141, 0.22); }
.btn-wallet.is-member .wallet-dot { background: var(--orange); box-shadow: 0 0 0 3px rgba(248, 136, 0, 0.25); }
.btn-wallet.is-connected { border-color: var(--line-strong); color: var(--ink); }

/* ── round menu seal + full-screen menu ───────────────── */
.menu-seal { position: fixed; right: 28px; bottom: 28px; z-index: 60; width: 92px; height: 92px; border: 0; border-radius: 50%; background: var(--orange); color: var(--orange-ink); display: grid; place-items: center; box-shadow: 0 10px 40px -10px rgba(248, 136, 0, 0.7); transition: transform 0.3s var(--ease), background 0.2s; }
.menu-seal:hover { transform: scale(1.06); background: var(--orange-2); }
.menu-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.seal-text { font-family: var(--mono); font-size: 8.4px; font-weight: 700; letter-spacing: 0.22em; fill: var(--orange-ink); }
.seal-label { position: relative; font-family: var(--serif); font-size: 20px; }
.menu-seal[aria-expanded="true"] .seal-label { font-size: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
.menu { position: fixed; inset: 0; z-index: 55; background: transparent; overflow-y: auto; }
.menu-in { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 140px; min-height: 100%; display: flex; flex-direction: column; }
.menu-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.menu-close { background: none; border: 1px solid var(--line-strong); color: var(--ink-2); height: 38px; padding: 0 14px; font-size: 13px; }
.menu-close:hover { border-color: var(--orange); color: var(--ink); }
.menu-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 48px; }
.menu-nav li { overflow: hidden; }
.menu-nav a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(34px, 5vw, 62px); line-height: 1; color: var(--ink); transition: color 0.15s, padding-left 0.25s var(--ease); transform: translateY(105%); animation: rise-up 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes rise-up { to { transform: none; } }
.menu-nav a small { font-family: var(--font); font-size: 13px; color: var(--ink-3); }
.menu-nav a:hover { color: var(--orange-2); padding-left: 10px; }
.menu-nav a.active { color: var(--orange-2); }
.menu-foot { margin-top: auto; padding-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.menu-socials, .footer-socials { display: flex; gap: 8px; }
.menu-socials a, .menu-socials span, .footer-socials a, .footer-socials span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--ink-2); font-weight: 700; font-size: 13px; }
.menu-socials span, .footer-socials span { opacity: 0.45; cursor: default; }
.menu-socials a:hover, .footer-socials a:hover { border-color: var(--orange); color: var(--ink); }

/* ── tab bar (phones) + section dots ─────────────────── */
.tabbar { display: none; position: fixed; inset: auto 0 0 0; z-index: 40; border-top: 1px solid var(--line-strong); background: rgba(11, 11, 12, 0.94); backdrop-filter: blur(14px); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { flex: 1; height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--ink-3); font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.tabbar a svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a.active { color: var(--orange-2); }
.dots-nav { position: fixed; right: 36px; top: 50%; transform: translateY(-50%); z-index: 30; mix-blend-mode: difference; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.dots-nav a { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 12px; }
.dots-nav a span { opacity: 0; transition: opacity 0.2s; }
.dots-nav a i { width: 10px; height: 10px; border: 1px solid var(--ink-3); border-radius: 50%; transition: background 0.2s, border-color 0.2s; flex-shrink: 0; }
.dots-nav a:hover span, .dots-nav a.active span { opacity: 1; }
.dots-nav a.active i { background: var(--orange-3); border-color: var(--orange-3); }

/* ── buttons & chips ──────────────────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; font-size: 13.5px; font-weight: 600; white-space: nowrap; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); transition: background 0.15s, border-color 0.15s, transform 0.15s, color 0.15s; user-select: none; }
.btn:hover { border-color: var(--orange); background: var(--card-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"], .btn.is-disabled { opacity: 0.45; pointer-events: none; }
.btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary, .btn-primary:hover { color: var(--orange-ink); border-color: var(--orange); background: var(--orange); }
.btn-primary:hover { background: var(--orange-2); border-color: var(--orange-2); }
.btn-ghost { background: transparent; }
.btn-paper { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.btn-paper:hover { background: #222; border-color: #222; }
.btn-md { height: 44px; padding: 0 20px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; }
.btn-block { width: 100%; }
.text-btn { background: none; border: 0; padding: 0; color: var(--orange-2); font-size: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(248, 136, 0, 0.4); cursor: pointer; }
.text-btn:hover { color: var(--ink); text-decoration-color: currentColor; }
.icon-btn { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 1px solid var(--line-strong); background: var(--card); font-size: 18px; line-height: 1; color: var(--ink-2); }
.icon-btn:hover { border-color: var(--orange); color: var(--ink); }
.icon-btn:disabled { opacity: 0.4; cursor: default; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border: 1px solid var(--line-strong); background: var(--elev); color: var(--ink-2); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.chip-live { background: var(--orange-soft); color: var(--orange-2); border-color: rgba(248, 136, 0, 0.45); }
.chip-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: pulse-dot 1.4s ease-in-out infinite; }
.chip-wait { background: var(--wait-soft); color: var(--wait); border-color: rgba(255, 179, 71, 0.4); }
.chip-bad { background: var(--bad-soft); color: var(--bad); border-color: rgba(255, 90, 90, 0.4); }
.chip-ok { background: var(--ok-soft); color: var(--ok); border-color: rgba(88, 214, 141, 0.4); }
.line-chip { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px 0 7px; border: 1px solid var(--line-strong); background: var(--card-2); font-size: 12px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.line-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--lc, var(--orange)); flex-shrink: 0; }
.line-chip svg { width: 13px; height: 13px; fill: none; stroke: var(--lc, var(--orange)); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border: 1px solid var(--orange); border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-2); white-space: nowrap; }
.pill.dashed { border-style: dashed; border-color: var(--line-strong); color: var(--ink-3); }
.pill.live { border-color: var(--ok); color: var(--ok); }
.pill.live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ok); animation: pulse-dot 1.4s infinite; }

/* ── layout primitives ────────────────────────────────── */
#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; }
main { flex: 1; outline: none; overflow-x: clip; position: relative; z-index: 1; transition: opacity 0.4s; }
.footer { position: relative; z-index: 1; }
body.menu-open main, body.menu-open .footer, body.menu-open .dots-nav, body.menu-open .top, body.menu-open .page-label { opacity: 0; pointer-events: none; }
.page-label { position: fixed; z-index: 30; left: 22px; bottom: 28px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; mix-blend-mode: difference; display: flex; gap: 12px; align-items: center; pointer-events: none; }
.page-label i { display: block; width: 1px; height: 48px; background: currentColor; opacity: 0.6; }
@media (max-width: 900px) { .page-label { display: none; } }
.page { display: flex; flex-direction: column; gap: 64px; padding: 40px var(--gutter) 120px; max-width: var(--max); margin: 0 auto; width: 100%; animation: page-in 0.4s var(--ease) both; }
.page-tight { gap: 40px; }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.card { position: relative; border: 1px solid var(--line-strong); background: var(--card); }
.card-pad { padding: 28px; }
.panel { border: 1px solid var(--line-strong); background: var(--card); padding: 18px; }
.box-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line-strong); }
.box-head h2, .box-head h3 { font-size: 22px; }
.box-head .right { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--orange-2); white-space: nowrap; }
.box-head .right a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sec-head h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.05; }
.sec-head p { margin-top: 10px; font-size: 15px; color: var(--ink-2); max-width: 560px; line-height: 1.65; }
.sec-head .eyebrow { margin-bottom: 14px; }
.h-sec { margin-top: 18px; font-size: clamp(38px, 5.2vw, 72px); line-height: 0.98; letter-spacing: -0.02em; max-width: 14ch; }
.h-sec em { color: var(--orange-2); }
.sec-lead { margin-top: 22px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 600px; }
.lead { margin-top: 20px; max-width: 560px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.page-head, .launch-intro, .dir-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line-strong); }
.page-head h1, .launch-intro h1, .dir-hero h1, .prose h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 0.98; margin-top: 16px; max-width: 760px; }
.page-head p, .launch-intro p, .dir-hero p { margin-top: 16px; font-size: 16px; color: var(--ink-2); max-width: 620px; line-height: 1.65; }
.page-head > div:first-child, .dir-hero > div:first-child { min-width: 0; flex: 1 1 480px; }
.launch-intro { flex-direction: column; align-items: stretch; }
.dir-stats, .stat-boxes { display: grid; grid-template-columns: repeat(3, minmax(100px, 1fr)); border: 1px solid var(--line-strong); background: var(--card); flex-shrink: 0; }
.dir-stats > div, .stat-box { padding: 16px 20px; border-right: 1px solid var(--line); min-width: 0; }
.dir-stats > div:last-child, .stat-box:last-child { border-right: 0; }
.dir-stats dd, .stat-box dd { margin-top: 6px; font-family: var(--mono); font-size: 24px; font-weight: 600; white-space: nowrap; }
.stat-box dd small { font-size: 12px; color: var(--ink-3); margin-left: 4px; }
.spot { --mx: 50%; --my: 50%; }
.spot::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(248, 136, 0, 0.1), transparent 45%); z-index: 0; }
.spot:hover::before { opacity: 1; }

/* ── paper (light) sections ───────────────────────────── */
.paper { background: var(--paper); color: var(--paper-ink); --ink: var(--paper-ink); --ink-2: var(--paper-ink-2); --ink-3: #6e685f; --ink-4: #9a948a; --line: var(--paper-line); --line-strong: #c9c0b0; --rule: #e2dbcf; --card: #fbf8f2; --card-2: #f0eadf; --elev: #e6dfd2; --bg-2: #efe9de; --mist: #f1e3cf; color-scheme: light; }
.paper ::selection { background: var(--paper-ink); color: var(--paper); }
.paper .eyebrow { color: var(--paper-ink-2); }
.paper .btn { background: transparent; border-color: var(--paper-ink); color: var(--paper-ink); }
.paper .btn:hover { background: var(--paper-ink); color: var(--paper); }
.paper .btn-primary, .paper .btn-primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); color: #fff; }
.paper .btn-paper { background: var(--paper-ink); color: var(--paper); }
.paper .card.ink { background: var(--paper-ink); color: #f6f2ea; border-color: var(--paper-ink); --ink: #f6f2ea; --ink-2: #cfc9bd; --ink-3: #928b7f; --line: #242428; --rule: #242428; }
.paper em { color: var(--orange-deep); }
.paper .text-btn { color: var(--orange-deep); }

/* ── home ─────────────────────────────────────────────── */
.hero { position: relative; min-height: calc(100svh - var(--top-h)); display: grid; grid-template-rows: 1fr auto; padding: 0 var(--gutter) 56px; max-width: var(--max); margin: 0 auto; width: 100%; }
.hero-field { position: relative; min-height: 360px; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(42px, 6.2vw, 88px); line-height: 0.96; letter-spacing: -0.02em; }
.hero h1 em { color: var(--orange-2); }
.hero-side p { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 520px; }
.hero-side .actions { margin-top: 24px; }
.marquee-band { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); overflow: hidden; padding: 14px 0; background: rgba(11, 11, 12, 0.55); backdrop-filter: blur(6px); }
.marquee { display: flex; gap: 0; width: max-content; will-change: transform; }
.marquee span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--serif); font-size: clamp(26px, 3.2vw, 40px); white-space: nowrap; color: var(--ink); }
.marquee span::after { content: "◆"; font-size: 0.45em; color: var(--orange); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sec { position: relative; padding: 96px var(--gutter); }
.sec-in { max-width: var(--max); margin: 0 auto; }
.sec.paper, .sec.ink { padding: 96px var(--gutter); }
.big-num { font-family: var(--serif); font-size: clamp(120px, 20vw, 260px); line-height: 0.85; letter-spacing: -0.04em; margin-top: 10px; }
.big-num small { font-size: 0.28em; letter-spacing: 0; color: var(--orange-2); margin-left: 0.1em; }
.big-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 56px; }
.big-grid .big-num { font-size: clamp(72px, 9vw, 130px); }
.big-grid h3 { margin-top: 14px; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.05; }
.big-grid p { margin-top: 12px; color: var(--ink-2); line-height: 1.6; max-width: 360px; }
.decrees { margin-top: 56px; border-top: 1px solid var(--line-strong); }
.decree { display: grid; grid-template-columns: 200px minmax(0, 1fr) 200px; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line-strong); align-items: start; }
.decree .date { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--orange-2); }
.decree .date::before { content: ""; display: block; width: 100%; max-width: 160px; height: 1px; background: var(--line-strong); margin-bottom: 10px; }
.decree h3 { font-size: clamp(32px, 4vw, 54px); line-height: 1; }
.decree p { margin-top: 14px; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); max-width: 560px; }
.decree .num { font-size: 13px; color: var(--ink-3); text-align: right; }
.line-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); margin-top: 48px; }
.line-card { position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 26px 26px 24px; background: var(--card); transition: background 0.2s; }
.line-card:hover { background: var(--card-2); }
.line-card .eyebrow { font-size: 12.5px; }
.line-card .eyebrow .dot { background: var(--lc, var(--orange)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lc, var(--orange)) 22%, transparent); }
.line-card h3 { margin-top: auto; font-size: clamp(30px, 2.6vw, 40px); line-height: 1.02; padding-top: 40px; }
.line-card p { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.line-card .go { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-3); }
.line-card .go svg { width: 40px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; transition: transform 0.3s var(--ease); }
.line-card:hover .go svg { transform: translateX(6px); }
.line-card .go { color: var(--ink); }
.quote { font-family: var(--serif); font-size: clamp(44px, 7vw, 110px); line-height: 0.98; letter-spacing: -0.02em; text-align: center; max-width: 16ch; margin: 0 auto; }
.quote-by { margin-top: 36px; text-align: center; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-3); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* home: live launchpad */
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.side-col { display: grid; gap: 28px; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding: 12px 16px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
table.data td { padding: 12px 16px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background 0.15s; }
table.data tbody tr:hover td { background: rgba(248, 136, 0, 0.05); }
table.data td.r, table.data th.r { text-align: right; }
.token-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.token-cell strong { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.token-cell small { display: block; color: var(--ink-3); font-size: 11.5px; }
.rank-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line-strong); font-family: var(--serif); font-size: 16px; }
.rank-no.n1 { background: var(--orange); color: var(--orange-ink); border-color: var(--orange); }
.pct { font-family: var(--mono); font-weight: 600; }
.pct.up { color: var(--ok); } .pct.down { color: var(--bad); }
.split-box .big { font-family: var(--serif); font-size: 72px; line-height: 0.9; margin-top: 8px; }
.split-box .big small { font-size: 24px; color: var(--orange-2); margin-left: 6px; }
.split-box p { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.split-list { border-top: 1px solid var(--line-strong); }
.split-list li { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--rule); }
.split-list li:last-child { border-bottom: 0; }
.split-list .who { min-width: 0; flex: 1; }
.split-list .who strong { display: block; font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.split-list .who small { font-size: 11.5px; color: var(--ink-3); }
.split-list .val { text-align: right; }
.split-list .val b { display: block; font-family: var(--mono); font-size: 13.5px; color: var(--orange-2); }
.split-list .val small { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.live-panel { display: flex; flex-direction: column; overflow: hidden; }
.live-head { height: 50px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line-strong); flex-shrink: 0; }
.live-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--orange-2); }
.live-title { font-family: var(--serif); font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-head .label { margin-left: auto; white-space: nowrap; }
.live-list { max-height: 480px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.live-item { display: flex; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--rule); transition: background 0.15s; animation: rise 0.35s var(--ease) both; }
.live-item:last-child { border-bottom: 0; }
.live-item:hover { background: rgba(248, 136, 0, 0.05); }
.live-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; min-width: 0; }
.live-meta strong { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-meta .sym { color: var(--orange-2); font-family: var(--mono); flex-shrink: 0; }
.live-meta .state { color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; font-size: 10px; flex-shrink: 0; border: 1px solid var(--line-strong); padding: 1px 5px; }
.live-meta time { margin-left: auto; color: var(--ink-3); flex-shrink: 0; padding-left: 8px; font-family: var(--mono); font-size: 11px; }
.live-text { margin-top: 4px; font-size: 13px; line-height: 1.55; color: var(--ink-2); word-break: break-word; }
.live-text .h { color: var(--orange-2); font-weight: 600; }
.live-chips { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.live-chips a, .live-chips button { height: 26px; display: inline-flex; align-items: center; gap: 6px; padding: 0 9px; border: 1px solid var(--line-strong); background: var(--card-2); font-size: 11.5px; color: var(--ink-2); }
.live-chips a:hover, .live-chips button:hover { border-color: var(--orange); color: var(--ink); }
.live-chips svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.live-example { opacity: 0.8; }
.live-foot { padding: 12px 18px; border-top: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--ink-3); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.rank-list { border: 1px solid var(--line-strong); background: var(--card); overflow: hidden; }
.rank-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--rule); transition: background 0.15s; }
.rank-row:last-child { border-bottom: 0; }
.rank-row:hover { background: rgba(248, 136, 0, 0.05); }
.rank-row .n { width: 24px; color: var(--ink-3); font-size: 12px; flex-shrink: 0; font-family: var(--mono); }
.rank-row .who { flex: 1; min-width: 0; }
.rank-row .who strong { display: block; font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-row .who small { display: block; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-row .val { text-align: right; font-family: var(--mono); font-weight: 600; font-size: 13px; white-space: nowrap; }
.rank-row .val small { display: block; font-weight: 500; color: var(--ink-3); font-size: 10.5px; }

/* thumbs & avatars */
.thumb { position: relative; flex-shrink: 0; overflow: hidden; background: var(--elev); display: grid; place-items: center; border-radius: 50%; }
.thumb > img, .thumb > svg, .token-art > img, .token-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
img[data-fallback] { opacity: 0; transition: opacity 0.35s ease; }
img[data-fallback].is-loaded { opacity: 1; }
.avatar { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0; text-transform: uppercase; font-family: var(--serif); }
.avatar-stack { display: flex; align-items: center; }
.avatar-stack .avatar + .avatar { margin-left: -6px; }
.ring-icon { position: relative; display: inline-grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--orange-2); background: var(--card-2); }
.ring-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wallet-addr { font-family: var(--mono); font-size: 12.5px; }

/* ── coin cards ───────────────────────────────────────── */
.coin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.coin-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.coin { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line-strong); background: var(--card); overflow: hidden; transition: border-color 0.2s, transform 0.25s var(--ease); animation: rise 0.4s var(--ease) both; cursor: pointer; }
.coin:hover { border-color: var(--orange); transform: translateY(-2px); }
.coin-art { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--card-2); border-bottom: 1px solid var(--line-strong); }
.coin-art > img, .coin-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.coin:hover .coin-art > img, .coin:hover .coin-art > svg { transform: scale(1.04); }
.coin-badges { position: absolute; inset: 0 0 auto 0; padding: 10px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; z-index: 1; }
.coin-badges .chip, .coin-badges .line-chip { background: rgba(11, 11, 12, 0.82); backdrop-filter: blur(6px); }
.rank { height: 26px; min-width: 32px; display: inline-grid; place-items: center; padding: 0 8px; background: var(--orange); color: var(--orange-ink); font-family: var(--serif); font-size: 15px; }
.coin-body { position: relative; z-index: 1; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.coin-title { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s; }
.coin:hover .coin-title { color: var(--orange-2); }
.coin-sub { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.coin-sub b { color: var(--ink-2); font-weight: 500; font-family: var(--mono); }
.coin-stats { display: grid; grid-template-columns: 1.2fr 1fr 0.9fr; gap: 8px; font-size: 12px; border-top: 1px solid var(--rule); padding-top: 10px; }
.coin-stats dt { font-size: 10.5px; }
.coin-stats dd { margin-top: 3px; font-family: var(--mono); font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin-stats dd.dim { color: var(--ink-4); font-weight: 500; font-size: 12px; }
.coin-stats dd.hi { color: var(--orange-2); }
.coin-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--rule); display: flex; align-items: center; gap: 8px; min-width: 0; }
.coin-foot .who { flex: 1; min-width: 0; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.copy-ca { height: 26px; display: inline-flex; align-items: center; gap: 6px; padding: 0 9px; border: 1px solid var(--line-strong); background: var(--card-2); font-family: var(--mono); font-size: 11px; color: var(--ink-2); flex-shrink: 0; transition: border-color 0.15s, color 0.15s; }
.copy-ca:hover { border-color: var(--orange); color: var(--ink); }
.copy-ca.copied { color: var(--ok); border-color: var(--ok); }
.split-pop { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; padding: 10px 12px; background: rgba(11, 11, 12, 0.94); backdrop-filter: blur(8px); border: 1px solid var(--line-strong); font-size: 12.5px; opacity: 0; transform: translateY(8px); transition: opacity 0.2s, transform 0.25s var(--ease); pointer-events: none; }
.coin:hover .split-pop, .coin:focus-within .split-pop { opacity: 1; transform: none; }
.split-pop p { color: var(--ink-3); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.split-pop div { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
.split-pop b { color: var(--orange-2); font-family: var(--mono); font-weight: 600; }
.skeleton { background: linear-gradient(90deg, var(--card-2) 0%, var(--elev) 50%, var(--card-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.coin-skel { border: 1px solid var(--line-strong); overflow: hidden; background: var(--card); }
.coin-skel .skeleton:first-child { aspect-ratio: 1 / 1; }
.coin-skel span { display: block; height: 12px; margin: 14px 16px 0; }
.coin-skel span:last-child { width: 50%; margin-bottom: 18px; }
.empty { border: 1px dashed var(--line-strong); padding: 44px 24px; text-align: center; background: var(--card-2); }
.empty .ring-icon { margin: 0 auto 16px; width: 48px; height: 48px; }
.empty h3 { font-size: 26px; }
.empty p { margin: 8px auto 0; max-width: 460px; color: var(--ink-2); font-size: 14px; line-height: 1.65; }
.empty .actions { justify-content: center; margin-top: 20px; }
.empty.compact { padding: 22px; }
.notice { padding: 12px 14px; border: 1px solid rgba(255, 179, 71, 0.4); background: var(--wait-soft); color: var(--wait); font-size: 13.5px; line-height: 1.55; }
.notice a { text-decoration: underline; }
.notice.ok { background: var(--ok-soft); color: var(--ok); border-color: rgba(88, 214, 141, 0.4); }

/* ── explore ──────────────────────────────────────────── */
.dir-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: calc(var(--top-h) + 16px); display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line-strong); background: var(--card); padding: 10px; }
.filters .label { margin: 4px 0 8px 8px; }
.filter { height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 10px; border: 1px solid transparent; background: none; color: var(--ink-2); font-size: 13.5px; text-align: left; }
.filter i { width: 8px; height: 8px; border-radius: 50%; background: var(--lc, var(--ink-4)); flex-shrink: 0; margin-right: 8px; }
.filter span:first-of-type { flex: 1; display: flex; align-items: center; }
.filter:hover { background: var(--card-2); color: var(--ink); }
.filter.active { background: var(--orange); color: var(--orange-ink); }
.filter.active i { background: var(--orange-ink); }
.filter span:last-child { opacity: 0.7; font-family: var(--mono); font-size: 12px; }
.toolbar { display: flex; gap: 10px; margin-bottom: 16px; }
.field-search { flex: 1; height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line-strong); background: var(--card); transition: border-color 0.15s; }
.field-search:focus-within { border-color: var(--orange); }
.field-search svg { width: 16px; height: 16px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; flex-shrink: 0; }
.field-search input { flex: 1; border: 0; outline: 0; background: none; height: 100%; font-size: 14px; min-width: 0; }
.field-search input::placeholder { color: var(--ink-4); }
.segmented { display: inline-flex; border: 1px solid var(--line-strong); background: var(--card); flex-shrink: 0; }
.segmented button { height: 42px; padding: 0 14px; border: 0; border-right: 1px solid var(--line); background: none; font-size: 13px; font-weight: 500; color: var(--ink-3); transition: background 0.15s, color 0.15s; }
.segmented button:last-child { border-right: 0; }
.segmented button:hover { color: var(--ink); background: var(--card-2); }
.segmented button[aria-pressed="true"] { background: var(--orange); color: var(--orange-ink); }
.list-status { font-size: 12.5px; color: var(--ink-3); margin: 0 0 12px; min-height: 18px; }
.more { display: flex; justify-content: center; margin-top: 24px; }
.tabs { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--line-strong); background: var(--card-2); overflow-x: auto; scrollbar-width: none; }
.tabs button { flex: 1 0 auto; height: 36px; padding: 0 14px; border: 0; background: none; font-size: 13px; font-weight: 500; color: var(--ink-3); white-space: nowrap; transition: background 0.15s, color 0.15s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"], .tabs button[aria-pressed="true"] { background: var(--orange); color: var(--orange-ink); }

/* ── token page ───────────────────────────────────────── */
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); margin-bottom: 20px; }
.back:hover { color: var(--orange-2); }
.token-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line-strong); }
.token-id { display: flex; gap: 20px; align-items: center; min-width: 0; }
.token-art { width: 96px; height: 96px; overflow: hidden; flex-shrink: 0; background: var(--card-2); position: relative; border-radius: 50%; border: 1px solid var(--line-strong); }
.token-name { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.token-name h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1; }
.ticker { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--line-strong); background: var(--card-2); color: var(--orange-2); font-family: var(--mono); font-weight: 600; font-size: 14px; }
.token-sub { margin-top: 12px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.token-sub a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line-strong); }
.recipients { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.rpill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 5px; border: 1px solid var(--line-strong); background: var(--card); font-size: 13px; font-weight: 500; transition: border-color 0.15s; }
.rpill:hover { border-color: var(--orange); }
.rpill b { color: var(--orange-2); font-family: var(--mono); font-weight: 600; }
.token-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; margin-top: 28px; }
.market, .round-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.round-stats { grid-template-columns: repeat(5, 1fr); margin-top: 20px; }
.market > div, .round-stats > div { padding: 16px 18px; background: var(--card); min-width: 0; }
.market > div:first-child { background: var(--mist); }
.market dd, .round-stats dd { margin-top: 6px; font-family: var(--mono); font-size: 20px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.round-stats dd.hi { color: var(--orange-2); }
.round-stats dd small, .market dd small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 500; margin-top: 2px; font-family: var(--font); }
.chart-panel { margin-top: 20px; padding: 0; overflow: hidden; }
.chart-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-strong); background: var(--card-2); }
.chart-sym { font-weight: 600; font-size: 13.5px; }
.chart-sym span { color: var(--ink-3); font-weight: 400; }
.chart-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.chart-status.is-live { color: var(--ok); }
.chart-status.is-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: pulse-dot 1.2s infinite; }
.chart-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
.intervals { display: flex; gap: 2px; flex-wrap: wrap; }
.intervals button { height: 28px; padding: 0 9px; border: 1px solid transparent; background: none; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.intervals button:hover { color: var(--ink); background: var(--card-2); }
.intervals button[aria-pressed="true"] { background: var(--mist); color: var(--orange-2); border-color: var(--line-strong); font-weight: 600; }
.more-tf { position: relative; }
.more-tf summary { list-style: none; height: 28px; padding: 0 9px; display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); cursor: pointer; }
.more-tf summary::-webkit-details-marker { display: none; }
.more-tf[open] summary, .more-tf summary:hover { background: var(--card-2); color: var(--ink); }
.tf-menu { position: absolute; z-index: 10; top: 32px; left: 0; width: 240px; padding: 10px; border: 1px solid var(--line-strong); background: var(--elev); display: grid; gap: 8px; }
.tf-menu .label { margin-bottom: 4px; }
.tf-menu div div { display: flex; flex-wrap: wrap; gap: 4px; }
.ohlc { display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); min-width: 0; }
.ohlc b { color: var(--ink); font-weight: 600; }
.ohlc.is-down b { color: var(--bad); }
.chart-box { height: 400px; position: relative; background: var(--bg-2); }
.chart-placeholder { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 8px; color: var(--ink-3); font-size: 13px; }
.chart-placeholder small { font-size: 12px; }
.bars-loader { display: inline-flex; gap: 4px; height: 26px; align-items: flex-end; justify-content: center; }
.bars-loader i { width: 6px; background: var(--orange); animation: bar-bounce 1s ease-in-out infinite; }
.bars-loader i:nth-child(2) { animation-delay: 0.12s; } .bars-loader i:nth-child(3) { animation-delay: 0.24s; } .bars-loader i:nth-child(4) { animation-delay: 0.36s; }
@keyframes bar-bounce { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.chart-foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line-strong); font-size: 11.5px; color: var(--ink-3); flex-wrap: wrap; }
.chart-foot a { text-decoration: underline; text-underline-offset: 2px; }
.details { margin-top: 20px; }
.details h2, .side h2, .panel h2 { font-size: 22px; }
.details-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.details-top a { font-size: 13px; color: var(--orange-2); }
.details p.desc { margin-top: 10px; color: var(--ink-2); line-height: 1.65; }
.kv { margin-top: 14px; display: grid; }
.kv > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 13px; align-items: center; }
.kv dt { color: var(--ink-3); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.kv dd { min-width: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.mono-break { word-break: break-all; }
.links-row { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.links-row a { height: 30px; display: inline-flex; align-items: center; padding: 0 11px; border: 1px solid var(--line-strong); font-size: 12.5px; color: var(--ink-2); }
.links-row a:hover { border-color: var(--orange); color: var(--ink); }
.side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--top-h) + 16px); }
.buy-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.buy-head span { font-size: 12px; color: var(--ink-3); }
.buy-label { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.amount { display: flex; align-items: center; height: 52px; border: 1px solid var(--line-strong); padding: 0 12px; gap: 8px; background: var(--bg-2); transition: border-color 0.15s; }
.amount:focus-within { border-color: var(--orange); }
.amount input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-family: var(--mono); font-size: 20px; font-weight: 600; }
.amount .unit { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12.5px; border-left: 1px solid var(--line); padding-left: 10px; }
.sol-coin { width: 20px; height: 20px; border-radius: 50%; background: #0b0b0b url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><defs><linearGradient id='s' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%239945ff'/><stop offset='1' stop-color='%2314f195'/></linearGradient></defs><path fill='url(%23s)' d='m20 16.4-2.6 2.7a.6.6 0 0 1-.4.2H4.6a.3.3 0 0 1-.2-.5L7 16.1a.6.6 0 0 1 .4-.2h12.4a.3.3 0 0 1 .2.5Zm-2.6-5.5a.6.6 0 0 0-.4-.2H4.6a.3.3 0 0 0-.2.5L7 13.9a.6.6 0 0 0 .4.2h12.4a.3.3 0 0 0 .2-.5ZM4.6 8.1h12.4a.6.6 0 0 0 .4-.2L20 5.2a.3.3 0 0 0-.2-.5H7.4a.6.6 0 0 0-.4.2L4.4 7.6a.3.3 0 0 0 .2.5Z'/></svg>") center/14px no-repeat; flex-shrink: 0; border: 1px solid var(--line-strong); }
.presets { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 8px; border: 1px solid var(--line-strong); }
.presets button { height: 34px; border: 0; border-right: 1px solid var(--line); background: var(--card); font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.presets button:last-child { border-right: 0; }
.presets button:hover { background: var(--mist); color: var(--ink); }
.setting { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.setting select { height: 32px; border: 1px solid var(--line-strong); background: var(--card); padding: 0 8px; font-size: 12.5px; }
.review { margin-top: 14px; padding: 12px; border: 1px solid var(--line); background: var(--card-2); font-size: 13px; display: grid; gap: 6px; }
.review > div { display: flex; justify-content: space-between; gap: 12px; }
.review span { color: var(--ink-3); }
.review p { font-size: 11.5px; color: var(--ink-3); }
.status { margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.status.is-error { color: var(--bad); }
.buy-submit { margin-top: 14px; }
.reset-link { display: block; margin: 10px auto 0; }
.side-note { margin-top: 10px; font-size: 12px; color: var(--ink-3); text-align: center; }
.ext { display: block; text-align: center; margin-top: 12px; font-size: 12.5px; color: var(--orange-2); text-decoration: underline; text-underline-offset: 3px; }
.alloc-line { display: flex; justify-content: space-between; font-size: 13.5px; padding: 5px 0; }
.alloc-line b { font-weight: 600; color: var(--orange-2); font-family: var(--mono); }
.alloc-bar { display: flex; gap: 2px; height: 8px; overflow: hidden; margin: 12px 0; }
.alloc-bar span:first-child { flex: 0 0 80%; background: var(--orange); }
.alloc-bar span:last-child { flex: 1; background: var(--elev); }
.side p.small, .panel p.small { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.side a.more-link { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--orange-2); font-weight: 500; }
.curve-track { height: 8px; border: 1px solid var(--line-strong); background: var(--bg-2); overflow: hidden; margin: 12px 0 8px; }
.curve-track span { display: block; height: 100%; width: 0; background: var(--orange); transition: width 1s var(--ease); }
.curve-meta { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); }
.share-x { display: flex; gap: 8px; margin-top: 12px; }
.holders-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line-strong); }
.holders-head .legend { display: flex; gap: 14px; font-size: 12px; color: var(--ink-3); }
.holders-head .legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; }
.share-track { display: inline-block; width: 70px; height: 5px; background: var(--elev); vertical-align: middle; margin-right: 8px; }
.share-track span { display: block; height: 100%; background: var(--orange); }
.check-row { display: flex; gap: 8px; margin-top: 12px; }
.check-row input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); background: var(--bg-2); font-family: var(--mono); font-size: 12.5px; outline: 0; }
.check-row input:focus { border-color: var(--orange); }
.countdown { font-family: var(--mono); font-size: 32px; font-weight: 600; color: var(--orange-2); letter-spacing: -0.02em; line-height: 1; }
.countdown.big { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 9vw, 120px); }

/* ── launch form ──────────────────────────────────────── */
.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.form-card { padding: 0 22px 22px; }
.form-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 -22px 22px; padding: 14px 22px; border-bottom: 1px solid var(--line-strong); }
.form-head h2 { font-size: 22px; }
.fieldset { border: 0; padding: 0; margin: 0; }
.legend-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; font-size: 12.5px; color: var(--ink-3); }
.legend-row .label { color: var(--ink); }
.line-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.line-opt { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid var(--line-strong); background: var(--bg-2); text-align: left; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.line-opt:hover { border-color: var(--ink-3); }
.line-opt[aria-pressed="true"] { border-color: var(--lc, var(--orange)); background: var(--card-2); box-shadow: inset 0 0 0 1px var(--lc, var(--orange)); }
.line-opt .lo-head { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; }
.line-opt .lo-head i { width: 9px; height: 9px; border-radius: 50%; background: var(--lc, var(--orange)); }
.line-opt .lo-head svg { width: 16px; height: 16px; fill: none; stroke: var(--lc, var(--orange)); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.line-opt p { font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.line-opt small { font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }
.rec-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 36px; gap: 8px; margin-bottom: 8px; animation: rise 0.25s var(--ease) both; }
.handle { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 10px; border: 1px solid var(--line-strong); background: var(--bg-2); transition: border-color 0.15s; }
.handle:focus-within, .share:focus-within { border-color: var(--orange); }
.handle .at { color: var(--orange-2); font-weight: 600; }
.handle input, .share input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; height: 100%; font-size: 14px; }
.share { display: flex; align-items: center; gap: 4px; height: 46px; padding: 0 12px; border: 1px solid var(--line-strong); background: var(--bg-2); }
.share input { text-align: right; font-weight: 600; font-family: var(--mono); }
.share span { color: var(--ink-3); }
.rec-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.rec-actions .left { display: flex; gap: 8px; }
.total { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; }
.total strong { font-size: 15px; font-family: var(--mono); }
.total.valid strong { color: var(--ok); }
.total.invalid strong { color: var(--bad); }
.help { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.form-error { min-height: 18px; margin-top: 6px; font-size: 12.5px; color: var(--bad); }
.form-error.is-ok { color: var(--ok); }
.divider { border: 0; border-top: 1px solid var(--line-strong); margin: 22px -22px; }
.row-2 { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label, .field .field-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea, .field select { height: 46px; border: 1px solid var(--line-strong); background: var(--bg-2); padding: 0 12px; outline: 0; font-size: 14px; transition: border-color 0.15s; }
.field textarea { height: 96px; padding: 10px 12px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus { border-color: var(--orange); }
.field input[readonly] { background: var(--card-2); color: var(--ink-3); }
.field small { font-size: 12px; color: var(--ink-3); }
.drop { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px dashed var(--line-strong); background: var(--card-2); transition: border-color 0.15s, background 0.15s; position: relative; }
.drop.is-dragging { border-color: var(--orange); background: var(--mist); }
.drop-btn { flex: 1; display: flex; align-items: center; gap: 14px; border: 0; background: none; padding: 0; text-align: left; min-width: 0; }
.drop-thumb { width: 56px; height: 56px; display: grid; place-items: center; background: var(--elev); overflow: hidden; flex-shrink: 0; color: var(--ink-3); border-radius: 50%; }
.drop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.drop-thumb svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.drop-copy strong { display: block; font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-copy small { display: block; font-size: 12px; color: var(--ink-3); }
.options { border-top: 1px solid var(--line-strong); padding-top: 14px; margin-top: 4px; }
.options summary { cursor: pointer; list-style: none; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.options summary::-webkit-details-marker { display: none; }
.options summary::after { content: "+"; margin-left: auto; font-size: 16px; color: var(--orange-2); }
.options[open] summary::after { content: "−"; }
.options[open] summary { margin-bottom: 14px; }
.service { margin-top: 18px; display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--wait); }
.service.available { color: var(--ok); }
.service::before { content: ""; width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.submit-note { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.preview-col { position: sticky; top: calc(var(--top-h) + 16px); display: flex; flex-direction: column; gap: 16px; }
.preview-head { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; }
.decree-card { position: relative; overflow: hidden; padding: 24px; border: 1px solid var(--orange); background: var(--orange); color: var(--orange-ink); }
.decree-card .dc-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.decree-card .dc-title { margin-top: 18px; font-family: var(--serif); font-size: 34px; line-height: 1; }
.decree-card .dc-sub { margin-top: 6px; font-size: 13.5px; opacity: 0.9; }
.decree-card .dc-rows { margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(26, 12, 0, 0.25); display: grid; gap: 4px; font-size: 13px; }
.decree-card .dc-rows div { display: flex; justify-content: space-between; }
.decree-card .dc-rows b { font-family: var(--mono); }
.decree-card .stamp { position: absolute; right: -12px; top: -12px; width: 96px; height: 96px; }
.donut-card { display: flex; gap: 16px; align-items: center; padding: 16px; }
.donut { width: 112px; height: 112px; flex-shrink: 0; }
.donut circle { fill: none; stroke-width: 14; transition: stroke-dasharray 0.4s var(--ease), stroke-dashoffset 0.4s var(--ease); }
.donut-legend { flex: 1; min-width: 0; display: grid; gap: 6px; font-size: 12.5px; }
.donut-legend div { display: flex; align-items: center; gap: 8px; min-width: 0; }
.donut-legend i { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.donut-legend span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.donut-legend b { color: var(--ink); font-family: var(--mono); font-weight: 600; }
.preview-col .coin { cursor: default; }

/* ── dialogs ──────────────────────────────────────────── */
.dialog { width: min(540px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 24px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); overflow-y: auto; }
.dialog-wide { width: min(620px, calc(100vw - 32px)); }
.dialog::backdrop { background: rgba(11, 11, 12, 0.75); backdrop-filter: blur(8px); }
.dialog[open] { animation: pop 0.22s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dialog-head h2 { font-size: 26px; }
.dialog-sub { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.address-box { display: block; margin-top: 14px; padding: 12px; border: 1px solid var(--line); background: var(--bg-2); font-family: var(--mono); font-size: 12px; word-break: break-all; }
.account-box { display: grid; gap: 4px; margin-top: 12px; padding: 14px; border: 1px solid var(--line-strong); background: var(--card-2); }
.account-box strong { font-family: var(--serif); font-size: 22px; color: var(--orange-2); }
.account-box small { font-size: 12px; color: var(--ink-3); }
.account-box p { font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.account-box .btn { justify-self: start; margin-top: 8px; }
.signin-wait { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 14px; border: 1px solid var(--line); background: var(--card-2); font-size: 13px; color: var(--ink-2); }
.signin-wait .spin { width: 16px; height: 16px; flex: none; border: 2px solid var(--line-strong); border-top-color: var(--orange); border-radius: 50%; animation: spin 0.8s linear infinite; }
.wallet-options { display: grid; gap: 8px; margin-top: 16px; }
.wallet-option { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 14px; border: 1px solid var(--line-strong); background: var(--card); text-align: left; transition: border-color 0.15s, background 0.15s; }
.wallet-option:hover { border-color: var(--orange); background: var(--mist); }
.wallet-option img { border-radius: 6px; }
.wallet-option span:nth-of-type(1) { flex: 1; font-weight: 600; font-size: 13.5px; }
.wallet-go { color: var(--ink-3); font-size: 12px; }
.wallet-glyph { width: 28px; height: 28px; display: grid; place-items: center; background: var(--orange); color: var(--orange-ink); font-family: var(--serif); font-size: 16px; border-radius: 50%; }
.wallet-install { display: flex; gap: 16px; margin-top: 10px; font-size: 13px; }
.wallet-install a { color: var(--orange-2); text-decoration: underline; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 18px; }
.steps li { display: flex; flex-direction: column; gap: 8px; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.steps li::before { content: ""; height: 3px; background: var(--elev); }
.steps li.is-done::before { background: var(--orange-deep); }
.steps li.is-current::before { background: var(--orange); }
.steps li.is-current, .steps li.is-done { color: var(--ink); font-weight: 600; }
.steps li.has-error::before { background: var(--bad); }
.step-help { margin: -8px 0 16px; font-size: 12.5px; color: var(--ink-3); }
.review-token { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.review-token img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; }
.review-token h3 { font-size: 24px; }
.review-token p { font-size: 13px; color: var(--ink-3); }
.fee-wallet { margin-top: 16px; padding: 12px; border: 1px solid var(--line); background: var(--card-2); display: grid; gap: 4px; font-size: 12.5px; }
.fee-wallet span { color: var(--ink-3); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.fee-wallet code { word-break: break-all; font-size: 12px; color: var(--ink); }
.fee-wallet small { color: var(--ink-3); line-height: 1.55; }
.review-rows { margin-top: 12px; display: grid; }
.review-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 13.5px; }
.review-rows span { color: var(--ink-2); }
.review-rows strong { font-family: var(--mono); font-weight: 600; }
.small-note { margin-top: 10px; font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.progress-line { margin-top: 12px; font-size: 12.5px; color: var(--orange-2); min-height: 18px; }
.result-links { display: flex; gap: 16px; margin-top: 14px; font-size: 13.5px; flex-wrap: wrap; }
.result-links a { color: var(--orange-2); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.dialog-search { padding: 0; width: min(640px, calc(100vw - 32px)); margin-top: 12vh; }
.search-box { display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 16px; border-bottom: 1px solid var(--line-strong); }
.search-box svg { width: 18px; height: 18px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; flex-shrink: 0; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15px; }
.search-results { max-height: 60vh; overflow-y: auto; padding: 8px; }
.search-results:empty::before { content: "Type a name, $TICKER, contract address or wallet"; display: block; padding: 18px 12px; font-size: 13.5px; color: var(--ink-3); }
.search-section { padding: 10px 10px 6px; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.search-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; outline: none; border: 1px solid transparent; }
.search-item:hover, .search-item:focus { background: var(--mist); border-color: var(--line-strong); }
.search-item strong { display: block; font-size: 13.5px; font-weight: 600; }
.search-item small { display: block; font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-item > span:last-child { min-width: 0; }
.search-empty { padding: 18px 12px; font-size: 13.5px; color: var(--ink-3); }

/* ── analytics / payments / rounds ────────────────────── */
.sync { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-3); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.kpi { position: relative; padding: 20px; background: var(--card); overflow: hidden; }
.kpi strong { display: block; margin-top: 12px; font-family: var(--serif); font-size: 44px; line-height: 1; }
.kpi strong small { font-family: var(--mono); font-size: 14px; color: var(--ink-3); margin-left: 4px; }
.kpi small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.kpi.accent { background: var(--orange); color: var(--orange-ink); }
.kpi.accent .label, .kpi.accent small { color: rgba(26, 12, 0, 0.7); }
.kpi.accent strong small { color: rgba(26, 12, 0, 0.7); }
.chart-card { padding: 24px; }
.chart-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.chart-card-head h2 { font-size: 24px; }
.chart-card-head p { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }
.bars { margin-top: 20px; height: 220px; display: flex; align-items: flex-end; gap: 6px; }
.bars.month { gap: 3px; }
.bar { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; min-width: 0; outline: none; }
.bar-fill { width: 100%; max-width: 48px; height: var(--h); min-height: 2px; background: var(--orange); transform-origin: bottom; animation: grow 0.8s var(--ease) both; }
.bar-fill.zero { background: var(--elev); }
.bar:hover .bar-fill, .bar:focus .bar-fill { background: var(--orange-2); }
.bar-day { font-family: var(--mono); font-size: 10px; color: var(--ink-3); white-space: nowrap; }
.bars.month .bar-day { display: none; }
.bars.month .bar:nth-child(5n + 1) .bar-day { display: block; }
.bar-tip { position: absolute; bottom: calc(var(--h) + 28px); left: 50%; transform: translate(-50%, 4px); padding: 4px 8px; background: var(--ink); color: var(--bg); font-family: var(--mono); font-size: 11px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s, transform 0.15s; }
.bar:hover .bar-tip, .bar:focus .bar-tip { opacity: 1; transform: translate(-50%, 0); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.chart-caption { display: flex; justify-content: space-between; margin-top: 12px; font-size: 11.5px; color: var(--ink-3); }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.two-col h2 { font-size: 24px; }
.two-col .sub { margin: 4px 0 14px; font-size: 13px; color: var(--ink-3); }
.burn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 24px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.burn-card { padding: 22px; background: var(--card); }
.burn-card.lead-card { background: var(--orange); color: var(--orange-ink); }
.burn-card.lead-card .label, .burn-card.lead-card small { color: rgba(26, 12, 0, 0.72); }
.burn-card strong { display: block; margin-top: 10px; font-family: var(--serif); font-size: 44px; line-height: 1; }
.burn-card small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.line-totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.line-total { padding: 16px 18px; background: var(--card); min-width: 0; }
.line-total .lt-name { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.line-total .lt-name i { width: 8px; height: 8px; border-radius: 50%; background: var(--lc, var(--orange)); }
.line-total strong { display: block; margin-top: 10px; font-family: var(--mono); font-size: 20px; font-weight: 600; }
.line-total small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-3); }
.round-row td.r .num { color: var(--orange-2); }

/* ── lines page: circular diagram + rule rows ─────────── */
.orbit { position: relative; width: min(760px, 100%); aspect-ratio: 1; margin: 48px auto 0; }
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit .ring { fill: none; stroke: var(--line-strong); stroke-dasharray: 2 6; }
.orbit .spoke { stroke: var(--line-strong); stroke-width: 1; opacity: 0; transition: opacity 0.2s; }
.orbit .spoke.lit { opacity: 1; stroke: var(--orange); }
.orbit-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46%; text-align: center; }
.orbit-core h3 { font-size: clamp(22px, 3vw, 34px); line-height: 1.05; }
.orbit-core p { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.orbit-node { position: absolute; transform: translate(-50%, -50%); padding: 8px 12px; border: 1px solid var(--line-strong); background: var(--card); font-size: 13px; white-space: nowrap; cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s; display: inline-flex; align-items: center; gap: 8px; }
.orbit-node i { width: 8px; height: 8px; border-radius: 50%; background: var(--lc, var(--orange)); }
.orbit-node:hover { border-color: var(--lc, var(--orange)); }
.orbit-node[aria-pressed="true"] { background: var(--lc, var(--orange)); color: var(--orange-ink); border-color: var(--lc, var(--orange)); }
.orbit-node[aria-pressed="true"] i { background: var(--orange-ink); }
.rule-rows { margin-top: 48px; border-top: 1px solid var(--line-strong); }
.rule-row { display: grid; grid-template-columns: minmax(0, 1fr) 60px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-strong); }
.rule-row h3 { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.1; }
.rule-row p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; max-width: 760px; }
.rule-row .glyph { width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; justify-self: end; }
.rule-row .glyph svg { width: 20px; height: 20px; fill: none; stroke: var(--orange-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.counts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); margin-top: 24px; }
.counts > div { padding: 20px 22px; background: var(--card); }
.counts h4 { font-size: 14px; color: var(--ok); }
.counts > div:last-child h4 { color: var(--bad); }
.counts li { position: relative; padding-left: 16px; margin-top: 8px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.counts li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }
.sim { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.sim-out { display: grid; gap: 10px; }
.sim-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) 120px; gap: 12px; align-items: center; font-size: 13.5px; }
.sim-row .who { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; }
.sim-row .who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sim-track { height: 10px; border: 1px solid var(--line-strong); background: var(--bg-2); overflow: hidden; }
.sim-track span { display: block; height: 100%; background: var(--orange); transition: width 0.5s var(--ease); }
.sim-track.burn span { background: var(--ink-3); }
.sim-row b { text-align: right; font-family: var(--mono); font-weight: 600; }
.faq { display: grid; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 4px; font-family: var(--serif); font-size: 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font); color: var(--orange-2); font-size: 22px; flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 4px 20px; color: var(--ink-2); font-size: 14.5px; line-height: 1.7; max-width: 760px; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px 0 0; border-top: 1px solid var(--line-strong); flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(30px, 3.6vw, 48px); margin-top: 8px; }

/* ── docs ─────────────────────────────────────────────── */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr) 190px; gap: 40px; align-items: start; padding: 40px var(--gutter) 120px; max-width: var(--max); margin: 0 auto; width: 100%; }
.docs-nav, .toc { position: sticky; top: calc(var(--top-h) + 16px); display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.docs-nav { border: 1px solid var(--line-strong); background: var(--card); padding: 12px; }
.docs-nav .label, .toc .label { margin: 14px 0 6px 10px; }
.docs-nav .label:first-child, .toc .label:first-child { margin-top: 0; }
.docs-nav a, .toc a { padding: 6px 10px; color: var(--ink-2); }
.docs-nav a:hover, .toc a:hover { color: var(--ink); background: var(--card-2); }
.docs-nav a.active { background: var(--mist); color: var(--orange-2); font-weight: 600; border-left: 2px solid var(--orange); }
.toc a { border-left: 1px solid var(--line-strong); font-size: 12.5px; color: var(--ink-3); }
.toc a.active { border-left-color: var(--orange); color: var(--ink); }
.prose { max-width: 740px; }
.prose section { scroll-margin-top: 96px; padding-bottom: 40px; }
.prose h1 { margin-top: 8px; }
.prose h2 { font-size: 34px; margin-bottom: 12px; padding-top: 18px; border-top: 1px solid var(--line-strong); }
.prose h3 { font-size: 22px; margin: 20px 0 8px; }
.prose p, .prose li { font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose .lead { margin-top: 14px; font-size: 17px; }
.prose ol { counter-reset: n; display: grid; gap: 8px; margin-top: 10px; }
.prose ol li { position: relative; padding-left: 34px; counter-increment: n; }
.prose ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--orange-2); }
.prose ul { display: grid; gap: 6px; margin-top: 10px; }
.prose ul li { position: relative; padding-left: 18px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.prose strong { color: var(--ink); }
.prose a { color: var(--orange-2); text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-family: var(--mono); padding: 1px 6px; border: 1px solid var(--line); background: var(--card-2); color: var(--orange-2); font-size: 12.5px; word-break: break-all; }
.prose .table-wrap { margin-top: 14px; border: 1px solid var(--line-strong); background: var(--card); }
.prose table.data td:first-child { font-weight: 600; white-space: nowrap; }
.callout { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line-strong); border-left: 3px solid var(--orange); background: var(--card-2); font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.endpoint { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 12.5px; }
.endpoint b { width: 60px; flex-shrink: 0; color: var(--orange-2); font-size: 11px; }
.endpoint span { color: var(--ink-3); font-size: 12px; margin-left: auto; text-align: right; font-family: var(--font); }

/* ── admin ────────────────────────────────────────────── */
.gate { max-width: 560px; margin: 40px auto; text-align: center; padding: 48px 28px; }
.gate .logo-star { width: 40px; height: 40px; margin: 0 auto 20px; fill: var(--orange); }
.gate h1, .gate h2 { font-size: 32px; }
.gate p { margin: 10px auto 0; max-width: 420px; color: var(--ink-2); line-height: 1.65; font-size: 14.5px; }
.gate .actions { justify-content: center; }
.wallet-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.wallet-bar .net { display: inline-flex; align-items: center; gap: 6px; }
.wallet-bar .net::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.wallet-bar a { text-decoration: underline; text-underline-offset: 3px; }
.wallet-bar button { margin-left: auto; }
.balance-card { padding: 28px; }
.balance-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); }
.balance { margin-top: 10px; font-family: var(--serif); font-size: clamp(44px, 6vw, 72px); line-height: 1; }
.balance span { font-size: 22px; color: var(--orange-2); }
.vaults { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vault { padding: 18px; }
.vault strong { display: block; margin-top: 8px; font-family: var(--mono); font-size: 24px; font-weight: 600; }
.vault p { margin-top: 4px; font-size: 12.5px; color: var(--ink-3); }
.history a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 13.5px; }
.history a:hover { color: var(--orange-2); }
.history small { display: block; font-size: 11.5px; color: var(--ink-3); }

/* ── footer ───────────────────────────────────────────── */
.footer { position: relative; border-top: 1px solid var(--line-strong); background: var(--bg); overflow: hidden; }
.footer-in { max-width: var(--max); position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 32px; padding: 56px 0 40px; }
.footer-tag { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; max-width: 420px; }
.footer-form { display: flex; gap: 8px; margin-top: 22px; max-width: 420px; }
.footer-form input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); background: var(--bg-2); font-size: 13.5px; outline: 0; }
.footer-form input:focus { border-color: var(--orange); }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col .label { margin-bottom: 4px; }
.footer-col a { color: var(--ink-2); }
.footer-col a:hover { color: var(--orange-2); }
.footer-mark { -webkit-mask-image: radial-gradient(circle, #000 1.15px, transparent 1.75px); mask-image: radial-gradient(circle, #000 1.15px, transparent 1.75px); -webkit-mask-size: 6px 6px; mask-size: 6px 6px; display: flex; align-items: center; justify-content: center; gap: 0.08em; font-family: var(--serif); line-height: 0.82; font-size: clamp(80px, 19vw, 300px); color: var(--ink); opacity: 0.12; user-select: none; white-space: nowrap; letter-spacing: -0.02em; transition: opacity 0.8s var(--ease); margin-bottom: -0.06em; }
.footer-mark svg { width: 0.42em; height: 0.42em; fill: var(--orange); }
.footer:hover .footer-mark { opacity: 0.3; }
.footer-disclaimer { position: relative; padding: 24px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); max-width: 960px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0 28px; margin-top: 16px; border-top: 1px solid var(--line-strong); font-size: 12px; color: var(--ink-3); flex-wrap: wrap; }

/* ── toasts, misc ─────────────────────────────────────── */
.toasts { position: fixed; left: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-strong); background: var(--elev); color: var(--ink); font-size: 13.5px; animation: toast-in 0.25s var(--ease) both; max-width: 360px; }
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.toast.is-error::before { background: var(--bad); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.notfound { text-align: center; padding: 80px var(--gutter); }
.notfound h1 { font-size: clamp(120px, 24vw, 300px); line-height: 0.85; }
.notfound p { margin-top: 20px; color: var(--ink-2); font-size: 17px; }
.notfound .actions { justify-content: center; }
.x-btn { width: 40px; padding: 0; font-size: 15px; }

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 1360px) { .hide-lg { display: none !important; } .dots-nav { display: none; } }
@media (max-width: 1180px) {
  .coin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .docs { grid-template-columns: 200px minmax(0, 1fr); }
  .toc { display: none; }
  .home-grid { grid-template-columns: 1fr; }
  .side-col { grid-template-columns: 1fr 1fr; }
  .line-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .big-grid { grid-template-columns: 1fr; gap: 32px; }
  .line-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top-nav { display: none; }
}
@media (max-width: 1024px) {
  .token-grid, .launch-grid { grid-template-columns: 1fr; }
  .side, .preview-col { position: static; }
  .two-col { grid-template-columns: 1fr; }
  .dir-hero { flex-direction: column; align-items: stretch; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sim { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .decree { grid-template-columns: 1fr; gap: 10px; }
  .decree .num { text-align: left; }
  .hero-bottom { grid-template-columns: 1fr; gap: 24px; }
  .round-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --top-h: 60px; --gutter: 20px; }
  .top { gap: 10px; }
  .tabbar { display: flex; }
  .menu-seal { bottom: 76px; right: 16px; width: 76px; height: 76px; }
  .seal-label { font-size: 16px; }
  .footer { padding-bottom: 64px; }
  .hide-md { display: none !important; }
  .search-trigger { padding: 0 9px; }
  .dir-body { grid-template-columns: 1fr; }
  .filters { position: static; flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; padding: 8px; }
  .filters .label { display: none; }
  .filter { flex-shrink: 0; border-color: var(--line); }
  .coin-grid, .coin-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs { grid-template-columns: 1fr; gap: 24px; }
  .docs-nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 4px; }
  .docs-nav .label { display: none; }
  .docs-nav a { white-space: nowrap; border: 1px solid var(--line); }
  .burn-grid, .counts { grid-template-columns: 1fr; }
  .recipients, .pills { align-items: flex-start; justify-content: flex-start; }
  .side-col { grid-template-columns: 1fr; }
  .sec, .sec.paper, .sec.ink { padding: 64px var(--gutter); }
  .hero { min-height: 0; padding-bottom: 40px; }
  .hero-field { min-height: 280px; }
  .hero-vert { display: none; }
  .orbit-node { font-size: 11.5px; padding: 6px 9px; }
  .orbit-core { width: 50%; }
  .toasts { left: 12px; right: 100px; }
  .menu-nav { grid-template-columns: 1fr; margin-top: 24px; }
  .menu-nav a { font-size: clamp(30px, 8vw, 44px); padding: 10px 0; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .page { gap: 40px; padding-top: 28px; }
  .top-actions { gap: 6px; }
  .cabar-text { max-width: 86px; }
  .cabar-buy { display: none; }
  .logo { font-size: 20px; }
  .card-pad { padding: 18px; }
  .form-card { padding: 0 16px 16px; }
  .form-head { margin: 0 -16px 18px; padding: 12px 16px; }
  .divider { margin: 20px -16px; }
  .market { grid-template-columns: repeat(2, 1fr); }
  .round-stats { grid-template-columns: repeat(2, 1fr); }
  .chart-box { height: 300px; }
  .ohlc { font-size: 10px; gap: 2px 10px; }
  .ohlc span:nth-child(-n + 2) { display: none; }
  .rec-row { grid-template-columns: minmax(0, 1fr) 92px 36px; }
  .row-2, .line-pick { grid-template-columns: 1fr; }
  .vaults, .kpis { grid-template-columns: 1fr; }
  .sim-row { grid-template-columns: 110px minmax(0, 1fr) 90px; }
  .toolbar { flex-direction: column; }
  .segmented { align-self: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; }
  .dir-stats, .stat-boxes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dir-stats > div, .stat-box { padding: 12px; }
  .dir-stats dd, .stat-box dd { font-size: 18px; }
  table.data th, table.data td { padding: 9px 10px; }
  .line-cards { grid-template-columns: 1fr; }
  .line-card { min-height: 0; }
  .line-card h3 { padding-top: 24px; }
  .line-totals { grid-template-columns: 1fr; }
  .rule-row { grid-template-columns: 1fr; }
  .rule-row .glyph { display: none; }
  .quote { font-size: clamp(38px, 10vw, 64px); }
  .orbit-node { font-size: 10px; padding: 4px 7px; gap: 5px; }
  .orbit-node i { width: 6px; height: 6px; }
}
@media (max-width: 480px) {
  .hide-xs { display: none !important; }
  .show-xs { display: inline; }
  .coin-grid, .coin-grid.cols-3 { grid-template-columns: 1fr; }
  .kv > div { grid-template-columns: 1fr; gap: 4px; }
  .cabar-act:not(.cabar-buy) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .menu-seal svg { animation: none; }
  .reveal, .fade, .words > span { opacity: 1; transform: none; }
  .fx-ready .reveal .ln > span { transform: none; }
  .cursor, .iris { display: none; }
}

/* ── flourishes: feathers, quill swash, star dividers, wax stamp ── */
.feather { width: 100%; height: 100%; overflow: visible; }
.feather .vane { fill: rgba(248, 136, 0, 0.1); stroke: var(--orange); stroke-width: 1.3; stroke-linejoin: round; }
.feather .vane.r { fill: rgba(246, 242, 234, 0.06); }
.feather .rachis { fill: none; stroke: var(--orange-3); stroke-width: 1.6; stroke-linecap: round; }
.feather .barbs { fill: none; stroke: var(--orange); stroke-width: 0.9; stroke-linecap: round; opacity: 0.7; }
.paper .feather .vane { fill: rgba(248, 112, 0, 0.1); stroke: var(--orange-deep); }
.paper .feather .rachis { stroke: var(--paper-ink); }
.paper .feather .barbs { stroke: var(--orange-deep); }
.feathers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.feather-fall { position: absolute; top: -12%; width: var(--size, 44px); height: calc(var(--size, 44px) * 2.7); opacity: 0; animation: feather-fall var(--dur, 28s) linear var(--delay, 0s) infinite; }
@keyframes feather-fall {
  0% { transform: translate3d(0, 0, 0) rotate(-28deg); opacity: 0; }
  6% { opacity: 0.85; }
  25% { transform: translate3d(calc(var(--sway) * 1), 28vh, 0) rotate(-6deg); }
  50% { transform: translate3d(calc(var(--sway) * -1), 56vh, 0) rotate(-34deg); }
  75% { transform: translate3d(calc(var(--sway) * 0.8), 84vh, 0) rotate(-10deg); }
  94% { opacity: 0.6; }
  100% { transform: translate3d(calc(var(--sway) * -0.6), 112vh, 0) rotate(-30deg); opacity: 0; }
}
.hero > *, .sec > .sec-in { position: relative; z-index: 1; }
.swash { display: block; width: min(420px, 70%); height: auto; overflow: visible; margin-top: 18px; }
.swash .stroke { fill: none; stroke: var(--orange-2); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; }
.swash .quill { opacity: 0; transition: opacity 0.4s 1.1s; }
.in .swash .stroke, .swash.in .stroke { animation: swash-draw 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards; }
.in .swash .quill, .swash.in .quill { opacity: 1; }
@keyframes swash-draw { to { stroke-dashoffset: 0; } }
.paper .swash .stroke { stroke: var(--orange-deep); }
.orn { display: flex; align-items: center; gap: 14px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); color: var(--orange); }
.orn i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent); }
.orn svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; animation: spin 40s linear infinite; }
.stamp { width: 120px; height: 120px; color: var(--orange); transform: rotate(-12deg); opacity: 0.9; }
.stamp .edge { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-dasharray: 2.4 3.6; }
.stamp .ring { fill: none; stroke: currentColor; stroke-width: 1; }
.stamp .t { font-family: var(--mono); font-size: 9.2px; font-weight: 700; letter-spacing: 0.26em; fill: currentColor; }
.stamp .star { fill: currentColor; }
.stamp.ghost { position: absolute; opacity: 0.22; pointer-events: none; }
.stamp.ink { color: var(--orange-ink); opacity: 0.75; }
.signature { display: flex; align-items: center; gap: 16px; margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink-2); }
.signature .swash { width: 180px; margin: 0; }
.signature .swash .stroke { stroke-dasharray: 700; stroke-dashoffset: 0; animation: none; }
.signature .swash .quill { opacity: 1; transition: none; }
.page-head, .launch-intro, .dir-hero { position: relative; }
.head-stamp { position: absolute; right: var(--gutter); top: 8px; width: 96px; height: 96px; opacity: 0.28; pointer-events: none; }
@media (max-width: 900px) { .head-stamp { width: 72px; height: 72px; right: 0; } .feather-fall { --size: 30px; } }
@media (prefers-reduced-motion: reduce) { .feather-fall { animation: none; opacity: 0.5; top: 20%; } .swash .stroke { stroke-dashoffset: 0; animation: none; } .swash .quill { opacity: 1; } .orn svg { animation: none; } }
.quote-stamp { right: 8%; top: 14%; width: 150px; height: 150px; }
.lines-page-feathers { z-index: 0; }
@media (max-width: 900px) { .quote-stamp { width: 90px; height: 90px; right: 4%; top: 4%; } }

/* ── bolder flourishes ───────────────────────────────────── */
/* gradient italics everywhere a headline has an accent */
h1 em, h2 em, .h-sec em, .hero h1 em, .quote em, .big-num small { background: linear-gradient(100deg, var(--orange-deep), var(--orange-2) 55%, var(--orange-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.paper h1 em, .paper h2 em, .paper .h-sec em { background: linear-gradient(100deg, #c45800, var(--orange-deep) 60%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* bigger, brighter feathers */
.feather-fall { opacity: 0; }
.feather .vane { stroke-width: 1.6; fill: rgba(248, 136, 0, 0.16); }
.feather .barbs { opacity: 0.9; }
@keyframes feather-fall { 0% { transform: translate3d(0, 0, 0) rotate(-28deg); opacity: 0; } 6% { opacity: 1; } 25% { transform: translate3d(calc(var(--sway) * 1), 28vh, 0) rotate(-6deg); } 50% { transform: translate3d(calc(var(--sway) * -1), 56vh, 0) rotate(-34deg); } 75% { transform: translate3d(calc(var(--sway) * 0.8), 84vh, 0) rotate(-10deg); } 94% { opacity: 0.8; } 100% { transform: translate3d(calc(var(--sway) * -0.6), 112vh, 0) rotate(-30deg); opacity: 0; } }
/* certificate corner brackets on cards and panels */
.card, .panel, .line-card, .coin, .kpi, .line-total { --ck: 14px; }
.card::after, .panel::after, .line-card::after, .coin::after, .kpi::after, .line-total::after { content: ""; position: absolute; inset: 6px; pointer-events: none; z-index: 2; background:
  linear-gradient(var(--orange), var(--orange)) top left / var(--ck) 1px no-repeat, linear-gradient(var(--orange), var(--orange)) top left / 1px var(--ck) no-repeat,
  linear-gradient(var(--orange), var(--orange)) top right / var(--ck) 1px no-repeat, linear-gradient(var(--orange), var(--orange)) top right / 1px var(--ck) no-repeat,
  linear-gradient(var(--orange), var(--orange)) bottom left / var(--ck) 1px no-repeat, linear-gradient(var(--orange), var(--orange)) bottom left / 1px var(--ck) no-repeat,
  linear-gradient(var(--orange), var(--orange)) bottom right / var(--ck) 1px no-repeat, linear-gradient(var(--orange), var(--orange)) bottom right / 1px var(--ck) no-repeat;
  opacity: 0.55; transition: opacity 0.25s, inset 0.25s var(--ease); }
.card:hover::after, .panel:hover::after, .line-card:hover::after, .coin:hover::after, .kpi:hover::after { opacity: 1; inset: 3px; }
.coin::after { inset: 10px; }
.card.live-panel::after, .filters::after, .docs-nav::after { display: none; }
/* guilloche rosettes */
.guilloche { position: absolute; width: 520px; height: 520px; color: var(--orange); opacity: 0.22; pointer-events: none; animation: spin 120s linear infinite; z-index: 0; }
.paper .guilloche { color: var(--orange-deep); opacity: 0.18; }
.hero .guilloche { right: -120px; bottom: -40px; }
.guilloche.left { left: -180px; top: -120px; animation-direction: reverse; }
/* deckled paper edges */
.sec.paper { position: relative; }
.deckle { position: absolute; left: 0; right: 0; width: 100%; height: 22px; fill: var(--paper); pointer-events: none; }
.deckle.top { top: -21px; }
.deckle.bottom { bottom: -21px; transform: scaleY(-1); }
.sec.paper .deckle { z-index: 2; }
/* roman numeral watermarks */
.numeral { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: clamp(220px, 34vw, 520px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(248, 136, 0, 0.35); pointer-events: none; user-select: none; z-index: 0; }
.steps-ui { position: relative; }
.steps-ui article .numeral { right: -40vw; top: -40px; transform: none; opacity: 0; transition: opacity 0.6s; }
.steps-ui article.on .numeral { opacity: 1; }
/* intro: seal slam */
.intro { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: grid; place-items: center; animation: intro-out 0.5s var(--ease) 1.5s forwards; }
.intro-seal { position: relative; display: grid; place-items: center; gap: 18px; }
.intro-stamp { width: 180px; height: 180px; transform: scale(4) rotate(-40deg); opacity: 0; animation: slam 0.45s cubic-bezier(0.6, 0, 0.2, 1) 0.15s forwards; }
@keyframes slam { 60% { transform: scale(0.92) rotate(-12deg); opacity: 1; } 100% { transform: scale(1) rotate(-12deg); opacity: 1; } }
.intro-word { font-family: var(--serif); font-size: 32px; letter-spacing: 0.08em; color: var(--orange-3); opacity: 0; animation: fade-up 0.5s var(--ease) 0.65s forwards; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.intro-ink { position: absolute; left: 50%; top: 50%; }
.intro-ink i { position: absolute; width: var(--s); height: var(--s); background: var(--orange); opacity: 0; transform: rotate(var(--a)) translateX(0); animation: splash 0.7s cubic-bezier(0.2, 0.8, 0.3, 1) 0.42s forwards; }
@keyframes splash { 10% { opacity: 1; } 100% { transform: rotate(var(--a)) translateX(var(--d)); opacity: 0; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
/* cursor trail + scroll progress */
.trail { position: fixed; inset: 0; z-index: 99; pointer-events: none; }
.trail i { position: absolute; width: 4px; height: 4px; margin: -2px 0 0 -2px; background: var(--orange); animation: trail-fall 0.9s ease-out forwards; }
@keyframes trail-fall { 20% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) rotate(90deg); opacity: 0; } }
.scroll-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--orange-deep), var(--orange-3)); transform-origin: left; transform: scaleX(0); z-index: 45; pointer-events: none; }
/* buttons: shine sweep + double rule on primary */
.btn { overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%); transform: translateX(-130%); transition: transform 0.6s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(130%); }
.btn-primary { box-shadow: inset 0 0 0 1px var(--orange), inset 0 0 0 3px var(--orange-ink); }
/* section eyebrows get a short rule with a diamond */
.sec > .sec-in > .eyebrow::after, .sec-head .eyebrow::after { content: "◆"; margin-left: 10px; font-size: 7px; color: var(--orange); }
/* coin cards: stamped line badge rotates in on hover */
.coin .line-chip { transition: transform 0.3s var(--ease); }
.coin:hover .coin-badges .line-chip { transform: rotate(-6deg) scale(1.06); }
/* footer seal */
.footer-seal { position: absolute; right: var(--gutter); top: 56px; width: 140px; height: 140px; opacity: 0.9; animation: spin 60s linear infinite; }
@media (max-width: 900px) { .guilloche { width: 320px; height: 320px; } .hero .guilloche { right: -120px; bottom: 40px; } .numeral { font-size: 180px; } .footer-seal { width: 90px; height: 90px; top: 24px; } .intro-stamp { width: 130px; height: 130px; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } .trail { display: none; } .guilloche { animation: none; } .btn::after { display: none; } }
