@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  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: #fffdfa;
  --surface: #ffffff;
  --surface-2: #fff8f4;
  --surface-3: #fdeef2;
  --line: #f6e3e8;
  --line-strong: #efcfd8;
  --ink: #3d2533;
  --ink-2: #6e4e5d;
  --ink-3: #94707f;
  --ember: #f07fa8;
  --ember-deep: #c94b7d;
  --ember-ink: #3d2533;
  --ember-soft: rgba(240, 127, 168, 0.08);
  --vivid: #ff8ab0;
  --mint: #ffe2a1;
  --mist: #fff7ec;
  --ok: #2f9e74;
  --ok-soft: rgba(47, 158, 116, 0.1);
  --bad: #d63b40;
  --bad-soft: rgba(214, 59, 64, 0.09);
  --wait: #a2650f;
  --wait-soft: rgba(162, 101, 15, 0.1);
  --chart-grid: #fbf0f3;
  --grad-brand: linear-gradient(135deg, #ffe08f 0%, #ffc6b4 50%, #ffa8c8 100%);
  --grad-bright: linear-gradient(135deg, #ffd36b 0%, #ffa8c5 60%, #ffd9e8 100%);
  --grad-soft: linear-gradient(135deg, #ffffff 0%, #fff8ee 42%, #ffe8f0 100%);
  --grad-text: linear-gradient(95deg, #3d2533 0%, #c94b7d 48%, #ff8ab0 100%);
  --grad-line: linear-gradient(90deg, rgba(255, 138, 176, 0), #ff8ab0 50%, rgba(255, 138, 176, 0));
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow: 0 1px 0 rgba(61, 37, 51, 0.03), 0 18px 40px -26px rgba(201, 75, 125, 0.32);
  --shadow-lift: 0 2px 0 rgba(61, 37, 51, 0.03), 0 30px 60px -30px rgba(201, 75, 125, 0.42);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ── base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: light; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-height: 100dvh;
  font: 14px/1.55 var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle at center, rgba(240, 127, 168, 0.28) 0.9px, transparent 1.3px);
  background-size: 6px 6px;
  -webkit-mask-image: radial-gradient(62% 70% at 50% 42%, transparent 0%, rgba(0, 0, 0, 0.35) 55%, #000 100%);
  mask-image: radial-gradient(62% 70% at 50% 42%, transparent 0%, rgba(0, 0, 0, 0.35) 55%, #000 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.04 0 0 0 0 0.24 0 0 0 0 0.14 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
::selection { background: #ffd7e5; color: var(--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 { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
.label svg, .eyebrow svg { width: 13px; height: 13px; flex-shrink: 0; }
code, kbd { font: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--ink); color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.muted { color: var(--ink-3); }
.label { font-size: 11px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); line-height: 1.3; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.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); }

/* ── aurora (hero light) ─────────────────────────────── */
.aurora { position: absolute; inset: 0 0 auto 0; height: 900px; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: drift 22s var(--ease) infinite alternate; }
.aurora i:nth-child(1) { width: 560px; height: 420px; right: -120px; top: 40px; background: radial-gradient(closest-side, #ffd6e5, transparent); }
.aurora i:nth-child(2) { width: 420px; height: 360px; right: 22%; top: 260px; background: radial-gradient(closest-side, #ffe9ef, transparent); animation-duration: 28s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 380px; height: 300px; left: -140px; top: 120px; background: radial-gradient(closest-side, #fff0f4, transparent); animation-duration: 34s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-40px, 30px, 0) scale(1.08); } 100% { transform: translate3d(30px, -20px, 0) scale(0.96); } }

/* ── top bars ─────────────────────────────────────────── */
.cabar { position: relative; overflow: hidden; background: var(--grad-brand); color: var(--ink); font-size: 12.5px; }
.cabar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%); background-size: 260% 100%; animation: sheen 7s ease-in-out infinite; pointer-events: none; }
.cabar-in { height: 36px; display: flex; align-items: center; justify-content: center; gap: 14px; min-width: 0; position: relative; z-index: 1; }
.cabar-ticker { font-weight: 700; letter-spacing: 0.08em; }
.cabar-ca, .cabar-act { background: none; border: 0; padding: 0; color: inherit; white-space: nowrap; text-underline-offset: 3px; }
.cabar-ca { min-width: 0; overflow: hidden; text-overflow: ellipsis; opacity: 0.92; }
.cabar-act { font-weight: 600; }
.cabar-ca:hover, .cabar-act:hover { text-decoration: underline; }
@keyframes sheen { 0%, 55% { background-position: 130% 0; } 100% { background-position: -30% 0; } }

.announce { display: block; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.82); font-size: 12.5px; }
.announce-in { height: 36px; display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; }
.announce b { background: var(--ink); color: #fff; font-weight: 700; padding: 0 6px; line-height: 20px; letter-spacing: 0.06em; flex-shrink: 0; }
.announce-title { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; flex-shrink: 0; }
.announce-text { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.announce-go { font-weight: 600; flex-shrink: 0; }
.announce:hover .announce-go { color: var(--ember-deep); }

/* ── header ───────────────────────────────────────────── */
.header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.header-in { height: 56px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 28px; height: 28px; transition: transform 0.5s var(--ease); }
.logo:hover .logo-mark { transform: translateY(-2px) rotate(-8deg) scale(1.06); }
.logo-word { font-size: 13px; font-weight: 800; letter-spacing: 0.32em; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; height: 32px; padding: 0 12px; display: grid; place-items: center; font-size: 12.5px; color: var(--ink-2); transition: color 0.15s; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); }
.nav a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--grad-bright); border-radius: 2px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.clock { font-size: 12px; color: var(--ink-3); width: 92px; }
.chain-chip { height: 32px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.sol-glyph { width: 13px; height: 13px; flex-shrink: 0; background: linear-gradient(135deg, #9945ff, #14f195); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m23.9 18-4 4.2a.9.9 0 0 1-.7.3H.5a.5.5 0 0 1-.3-.8l4-4.1a.9.9 0 0 1 .6-.3h18.7a.5.5 0 0 1 .4.7ZM19.9 9.7a.9.9 0 0 0-.7-.3H.5a.5.5 0 0 0-.3.8l4 4.1a.9.9 0 0 0 .6.3h18.7a.5.5 0 0 0 .4-.8ZM.5 6.7h18.7a.9.9 0 0 0 .7-.3l4-4.1a.5.5 0 0 0-.4-.8H4.8a.9.9 0 0 0-.6.3L.2 5.9a.5.5 0 0 0 .3.8Z'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m23.9 18-4 4.2a.9.9 0 0 1-.7.3H.5a.5.5 0 0 1-.3-.8l4-4.1a.9.9 0 0 1 .6-.3h18.7a.5.5 0 0 1 .4.7ZM19.9 9.7a.9.9 0 0 0-.7-.3H.5a.5.5 0 0 0-.3.8l4 4.1a.9.9 0 0 0 .6.3h18.7a.5.5 0 0 0 .4-.8ZM.5 6.7h18.7a.9.9 0 0 0 .7-.3l4-4.1a.5.5 0 0 0-.4-.8H4.8a.9.9 0 0 0-.6.3L.2 5.9a.5.5 0 0 0 .3.8Z'/></svg>") center/contain no-repeat; }
.search-trigger { height: 32px; display: inline-flex; align-items: center; gap: 8px; padding: 0 8px 0 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.7); color: var(--ink-3); font-size: 12.5px; transition: border-color 0.15s, color 0.15s; }
.search-trigger:hover { border-color: var(--line-strong); 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: 20px; height: 20px; padding: 0 5px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; font-size: 11px; color: var(--ink-3); background: #fff; }
.nav-mobile { display: none; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.nav-mobile::-webkit-scrollbar { display: none; }
.nav-mobile a { flex: 1 0 auto; height: 40px; padding: 0 14px; display: grid; place-items: center; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); white-space: nowrap; }
.nav-mobile a.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ember); }

/* ── buttons & chips ──────────────────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 32px; padding: 0 14px; font-size: 12.5px; font-weight: 500; white-space: nowrap; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.75); color: var(--ink); transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.2s, filter 0.15s; user-select: none; overflow: hidden; }
.btn:hover { border-color: var(--ink-3); background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--grad-brand); border-color: #ffdb85; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 22px -12px rgba(240, 127, 168, 0.7); }
.btn-primary:hover { background: var(--grad-brand); border-color: #ffdb85; filter: brightness(1.07) saturate(1.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 12px 26px -12px rgba(240, 127, 168, 0.8); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%); transform: translateX(-120%); transition: transform 0.6s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: transparent; }
.btn-wallet.is-connected { border-color: var(--ember); color: var(--ember-deep); }
.btn-wallet.is-connected::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vivid); box-shadow: 0 0 0 3px rgba(255, 138, 176, 0.18); }
.btn-wallet.is-member::before { background: var(--ember-deep); box-shadow: 0 0 0 3px rgba(240, 127, 168, 0.24); }
.btn-md { height: 40px; padding: 0 18px; font-size: 13px; }
.btn-lg { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }
.text-btn { background: none; border: 0; padding: 0; color: var(--ink-2); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }
.text-btn:hover { color: var(--ink); }
.icon-btn { width: 32px; height: 32px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-size: 18px; line-height: 1; color: var(--ink-2); }
.icon-btn:hover { border-color: var(--line-strong); color: var(--ink); }
.icon-btn:disabled { opacity: 0.4; cursor: default; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--r-sm); background: var(--surface-3); color: var(--ink-2); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.chip-live { background: var(--ok-soft); color: var(--ok); }
.chip-live::before, .dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse-dot 1.4s ease-in-out infinite; }
.chip-wait { background: var(--wait-soft); color: var(--wait); }
.chip-bad { background: var(--bad-soft); color: var(--bad); }
.pump-pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px 0 4px; border: 1px solid var(--line); border-radius: 99px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); background: #fff; }
.pump-pill svg { width: 16px; height: 16px; }
.live-dot { display: inline-block; width: 6px; height: 6px; background: var(--vivid); box-shadow: 0 0 0 3px rgba(255, 138, 176, 0.2); animation: pulse-dot 1.2s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ── layout primitives ────────────────────────────────── */
main { flex: 1; padding-top: 40px; padding-bottom: 80px; outline: none; }
.page { display: flex; flex-direction: column; gap: 80px; 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); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow); }
.card-pad { padding: 32px; }
.box { border-radius: var(--r-lg); background: var(--surface-2); }
.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: 24px; font-weight: 700; letter-spacing: -0.02em; }
.sec-head p { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.sec-head .label { margin-bottom: 8px; }
.eyebrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.spot { --mx: 50%; --my: 50%; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 138, 176, 0.09), transparent 45%); z-index: 0; }
.spot:hover::before { opacity: 1; }
.grad-border { position: relative; }
.grad-border::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(255, 138, 176, 0.9), rgba(255, 226, 161, 0.2) 40%, rgba(240, 127, 168, 0.7)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.grad-border:hover::after { opacity: 1; }

/* ── hero ─────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 48px; align-items: start; position: relative; padding-top: 8px; }
.hero-copy { padding-top: 24px; min-width: 0; }
.tag { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.8); padding-right: 12px; font-size: 12px; margin-bottom: 20px; transition: border-color 0.15s; }
.tag:hover { border-color: var(--line-strong); }
.tag b { background: var(--grad-brand); color: var(--ink); padding: 4px 8px; letter-spacing: 0.06em; }
.tag span { font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.display { font-weight: 800; text-transform: uppercase; line-height: 0.95; letter-spacing: -0.04em; font-size: clamp(38px, 6.1vw, 74px); }
.display > span { display: block; }
/* Stroke painted under an opaque fill: hides the overlapping contours of the variable font. */
.outline {
  position: relative;
  color: #fff;
  -webkit-text-stroke: 3px var(--ember);
  paint-order: stroke fill;
}
.outline::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 0;
  background: linear-gradient(90deg, transparent 0 38%, rgba(255, 138, 176, 0.95) 48%, rgba(255, 214, 229, 0.9) 52%, transparent 62% 100%);
  background-size: 260% 100%;
  background-position: 135% 0;
  -webkit-background-clip: text;
  background-clip: text;
  animation: scan 2.8s 0.5s var(--ease) both;
  pointer-events: none;
}
.outline:hover::after { animation: scan 1.6s var(--ease) both; }
@keyframes scan { from { background-position: 135% 0; } to { background-position: -35% 0; } }
.hero h1 { margin-top: 24px; }
.lead { margin-top: 24px; max-width: 540px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.stat-row { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.8); max-width: 620px; backdrop-filter: blur(6px); }
.stat-row > div { padding: 14px 16px; border-right: 1px solid var(--line); min-width: 0; }
.stat-row > div:last-child { border-right: 0; }
.stat-row dd { margin-top: 6px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.stat-row dd small, .stat-box dd small { font-size: 12px; color: var(--ink-3); font-weight: 500; margin-left: 4px; }

/* live panel */
.live-panel { position: relative; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(10px); display: flex; flex-direction: column; box-shadow: var(--shadow-lift); overflow: hidden; }
.live-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad-line); background-size: 200% 100%; animation: line-run 3.5s linear infinite; }
@keyframes line-run { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.live-head { height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.live-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--ember-deep); }
.live-title { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-head .label { margin-left: auto; white-space: nowrap; }
.live-list { max-height: 470px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.live-item { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(246, 227, 232, 0.8); transition: background 0.15s; animation: rise 0.35s var(--ease) both; }
.live-item:last-child { border-bottom: 0; }
.live-item:hover { background: var(--mist); }
.live-item .thumb { width: 36px; height: 36px; }
.live-meta { display: flex; align-items: center; gap: 6px; font-size: 11.5px; min-width: 0; }
.live-meta strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-meta .sym { color: var(--ember-deep); font-weight: 600; flex-shrink: 0; }
.live-meta .state { color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; font-size: 10.5px; flex-shrink: 0; }
.live-meta time { margin-left: auto; color: var(--ink-3); flex-shrink: 0; padding-left: 8px; }
.live-text { margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--ink); word-break: break-word; }
.live-text .h { color: var(--ember-deep); font-weight: 600; }
.live-chips { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.live-chips a, .live-chips button { height: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; border: 1px solid var(--line); background: #fff; border-radius: var(--r-sm); font-size: 11.5px; color: var(--ink-2); }
.live-chips a:hover, .live-chips button:hover { border-color: var(--line-strong); color: var(--ink); }
.live-example { opacity: 0.85; }
.live-foot { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--ink-3); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* thumbs & avatars */
.thumb { position: relative; flex-shrink: 0; border-radius: 30%; overflow: hidden; background: var(--surface-3); display: grid; place-items: center; }
.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; }
.thumb .fallback { font-size: 11px; font-weight: 800; color: #fff; letter-spacing: 0.02em; }
.avatar { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff; flex-shrink: 0; box-shadow: 0 0 0 2px #fff; text-transform: uppercase; }
.avatar-stack { display: flex; align-items: center; }
.avatar-stack .avatar + .avatar { margin-left: -6px; }

/* ── marquee ──────────────────────────────────────────── */
.trend-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.trend-title { display: flex; align-items: center; gap: 12px; }
.trend-title h2 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.trend-title p { font-size: 13px; color: var(--ink-3); }
.ring-icon { position: relative; display: inline-grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 30%; background: var(--mist); color: var(--ember-deep); }
.ring-icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px var(--ring, #ff8ab0); animation: ring 2.4s ease-out infinite; }
.ring-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@keyframes ring { 0% { opacity: 0.9; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.35); } }
.marquee-wrap { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee { display: flex; gap: 12px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.trend { flex-shrink: 0; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.85); transition: border-color 0.15s, transform 0.2s; }
.trend:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.trend .thumb { width: 34px; height: 34px; border-radius: 4px; }
.trend strong { display: block; font-size: 13.5px; font-weight: 600; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trend small { display: block; font-size: 12px; color: var(--ink-3); }
.trend small b { color: var(--ink-2); font-weight: 500; }

/* ── coin cards ───────────────────────────────────────── */
.coin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.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); border-radius: var(--r-xl); background: var(--surface); overflow: hidden; transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s; animation: rise 0.4s var(--ease) both; cursor: pointer; }
.coin:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.coin-art { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface-2); }
.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: 12px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; z-index: 1; }
.coin-badges .chip { background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(6px); }
.coin-badges .chip-live { background: rgba(255, 244, 246, 0.92); }
.rank { height: 24px; min-width: 32px; display: inline-grid; place-items: center; padding: 0 6px; border-radius: var(--r-sm); background: rgba(61, 37, 51, 0.86); color: #fff; font-size: 11.5px; font-weight: 700; }
.coin-body { position: relative; z-index: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.coin-title { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s; }
.coin:hover .coin-title { color: var(--ember-deep); }
.coin-sub { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin-stats { display: grid; grid-template-columns: 1.2fr 1fr 0.8fr; gap: 8px; font-size: 12px; }
.coin-stats dd { margin-top: 2px; font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin-stats dd.dim { color: var(--ink-3); font-weight: 400; font-size: 12.5px; }
.coin-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); 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: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-size: 11.5px; color: var(--ink-2); flex-shrink: 0; transition: border-color 0.15s, color 0.15s; }
.copy-ca:hover { border-color: var(--line-strong); color: var(--ink); }
.copy-ca.copied { color: var(--ok); border-color: var(--ember); }
.split-pop { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 12px; 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(--ember-deep); }
.skeleton { background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 50%, var(--surface-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; border-radius: 4px; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.coin-skel { border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: #fff; }
.coin-skel .skeleton:first-child { aspect-ratio: 1; border-radius: 0; }
.coin-skel span { display: block; height: 12px; margin: 14px 16px 0; }
.coin-skel span:last-child { width: 50%; margin-bottom: 18px; }

/* ── split + flow ─────────────────────────────────────── */
.split-card { display: flex; gap: 32px; align-items: center; justify-content: space-between; }
.split-card h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.split-card p { margin-top: 8px; font-size: 15px; color: var(--ink-2); line-height: 1.65; max-width: 560px; }
.split-bar { margin-top: 20px; display: flex; gap: 2px; height: 10px; border-radius: var(--r-sm); overflow: hidden; }
.split-bar span { display: block; height: 100%; }
.split-bar .a { background: var(--grad-bright); background-size: 200% 100%; animation: flow-x 6s linear infinite; }
.split-bar .b { background: var(--ink); }
@keyframes flow-x { from { background-position: 0 0; } to { background-position: 200% 0; } }
.legend { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; }
.legend b { color: var(--ink); font-weight: 600; }
.stat-boxes { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 12px; flex-shrink: 0; }
.stat-box { border-radius: var(--r-lg); background: var(--surface-2); padding: 14px 16px; min-width: 0; }
.stat-box dd { margin-top: 4px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.flow-card { position: relative; overflow: hidden; padding: 28px; background: radial-gradient(120% 90% at 100% 0%, #fff3e6 0%, rgba(255, 255, 255, 0) 55%), #fff; }
.flow-card .sec-head { margin-bottom: 8px; }
.flow-svg { width: 100%; height: auto; overflow: visible; }
.flow-path { fill: none; stroke: #f2dbe2; stroke-width: 1.5; }
.flow-node { fill: #fff; stroke: #f0bfd0; stroke-width: 1.4; }
.flow-ring { fill: none; stroke: #ff8ab0; stroke-width: 1.2; stroke-dasharray: 3 5; transform-origin: center; transform-box: fill-box; animation: spin 14s linear infinite; }
.flow-label { fill: var(--ink-2); font: 500 12px var(--font); }
.flow-pct { fill: var(--ember-deep); font: 700 13px var(--font); }
@keyframes spin { to { transform: rotate(360deg); } }
.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.how { position: relative; padding: 20px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid transparent; transition: border-color 0.2s, background 0.2s; }
.how:hover { border-color: var(--line); background: #fff; }
.how i { font-style: normal; display: block; font-size: 11px; color: var(--ink-3); letter-spacing: 0.12em; margin-bottom: 14px; }
.how h3 { margin-top: 16px; font-size: 16px; font-weight: 600; }
.how p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }

/* ── tables & lists ──────────────────────────────────── */
.rank-list { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.rank-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); transition: background 0.15s; }
.rank-row:last-child { border-bottom: 0; }
.rank-row:hover { background: var(--mist); }
.rank-row .n { width: 24px; color: var(--ink-3); font-size: 12px; flex-shrink: 0; }
.rank-row .who { flex: 1; min-width: 0; }
.rank-row .who strong { display: block; font-weight: 600; font-size: 13px; 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-weight: 700; font-size: 13px; white-space: nowrap; }
.rank-row .val small { display: block; font-weight: 400; color: var(--ink-3); font-size: 11px; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.two-col h2 { font-size: 17px; font-weight: 600; }
.two-col .sub { margin: 2px 0 14px; font-size: 13px; color: var(--ink-3); }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th { text-align: left; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: var(--mist); }
.token-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.token-cell .thumb { width: 30px; height: 30px; }
.token-cell strong { display: block; font-weight: 600; }
.token-cell small { display: block; color: var(--ink-3); font-size: 11.5px; }

/* ── empty states ─────────────────────────────────────── */
.empty { border: 1px dashed var(--line-strong); border-radius: var(--r-xl); padding: 48px 24px; text-align: center; background: linear-gradient(180deg, rgba(255, 247, 236, 0.6), rgba(255, 255, 255, 0.6)); }
.empty .ring-icon { margin: 0 auto 16px; width: 48px; height: 48px; }
.empty h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.empty p { margin: 8px auto 0; max-width: 460px; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.empty .actions { justify-content: center; margin-top: 20px; }
.empty.compact { padding: 24px; }
.notice { padding: 12px 14px; border-radius: var(--r-md); background: var(--wait-soft); color: var(--wait); font-size: 13px; line-height: 1.55; }
.notice a { text-decoration: underline; }
.notice.ok { background: var(--ok-soft); color: var(--ok); }

/* ── directory (explore) ──────────────────────────────── */
.dir-hero { display: flex; gap: 32px; align-items: center; justify-content: space-between; padding: 40px; overflow: hidden; background: radial-gradient(90% 120% at 100% 0%, #fff1e1 0%, rgba(255, 255, 255, 0) 60%), #fff; }
.dir-hero h1 { margin-top: 10px; font-size: clamp(32px, 4.6vw, 46px); font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; line-height: 1; }
.dir-hero p { margin-top: 14px; max-width: 520px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.dir-stats { display: grid; grid-template-columns: repeat(3, minmax(90px, 1fr)); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.8); flex-shrink: 0; }
.dir-stats > div { padding: 14px 16px; border-right: 1px solid var(--line); }
.dir-stats > div:last-child { border-right: 0; }
.dir-stats dd { margin-top: 6px; font-size: 22px; font-weight: 700; }
.dir-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 4px; }
.filters .label { margin: 0 0 8px 4px; }
.filter { height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 10px; border: 1px solid transparent; border-radius: var(--r-sm); background: none; color: var(--ink-2); font-size: 12.5px; text-align: left; }
.filter:hover { background: var(--surface-2); color: var(--ink); }
.filter.active { background: var(--ink); color: #fff; }
.filter span:last-child { color: inherit; opacity: 0.7; }
.toolbar { display: flex; gap: 10px; margin-bottom: 16px; }
.field-search { flex: 1; height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
.field-search:focus-within { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255, 138, 176, 0.15); }
.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: 13px; min-width: 0; }
.field-search input::placeholder { color: var(--ink-3); }
.segmented { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 3px; background: #fff; gap: 2px; flex-shrink: 0; }
.segmented button { height: 32px; padding: 0 12px; border: 0; border-radius: 3px; background: none; font-size: 12px; color: var(--ink-2); }
.segmented button[aria-pressed="true"] { background: var(--grad-brand); color: var(--ink); }
.list-status { font-size: 12px; color: var(--ink-3); margin: 0 0 12px; min-height: 18px; }
.more { display: flex; justify-content: center; margin-top: 24px; }

/* ── token page ───────────────────────────────────────── */
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); margin-bottom: 20px; }
.back:hover { color: var(--ink); }
.token-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; flex-wrap: wrap; }
.token-id { display: flex; gap: 18px; align-items: center; min-width: 0; }
.token-art { width: 88px; height: 88px; border-radius: 22px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--line); background: var(--surface-2); position: relative; }
.token-art img, .token-art svg { width: 100%; height: 100%; object-fit: cover; }
.token-name { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.token-name h1 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.ticker { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-sm); background: var(--mist); color: var(--ember-deep); font-weight: 700; font-size: 13px; }
.token-sub { margin-top: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); }
.recipients { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 4px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font-size: 12.5px; font-weight: 500; transition: border-color 0.15s, transform 0.15s; }
.pill:hover { border-color: var(--ember); transform: translateY(-1px); }
.pill .avatar { width: 24px; height: 24px; box-shadow: none; }
.pill b { color: var(--ember-deep); }
.token-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; margin-top: 28px; }
.market { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.market > div { padding: 14px 16px; border-right: 1px solid var(--line); min-width: 0; }
.market > div:last-child { border-right: 0; }
.market dd { margin-top: 6px; font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 16px; }
.chart-panel { margin-top: 16px; padding: 0; overflow: hidden; }
.chart-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px 10px; }
.chart-sym { font-weight: 700; font-size: 14px; }
.chart-sym span { color: var(--ink-3); font-weight: 400; }
.chart-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; 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(--vivid); animation: pulse-dot 1.2s infinite; }
.chart-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 16px 8px; flex-wrap: wrap; }
.intervals { display: flex; gap: 2px; flex-wrap: wrap; }
.intervals button { height: 28px; padding: 0 9px; border: 0; border-radius: var(--r-sm); background: none; font-size: 12px; color: var(--ink-3); }
.intervals button:hover { color: var(--ink); background: var(--surface-2); }
.intervals button[aria-pressed="true"] { background: var(--mist); color: var(--ember-deep); font-weight: 700; }
.more-tf { position: relative; }
.more-tf summary { list-style: none; height: 28px; padding: 0 9px; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink-3); cursor: pointer; border-radius: var(--r-sm); }
.more-tf summary::-webkit-details-marker { display: none; }
.more-tf[open] summary, .more-tf summary:hover { background: var(--surface-2); color: var(--ink); }
.tf-menu { position: absolute; z-index: 10; top: 32px; left: 0; width: 240px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-lift); 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-size: 11.5px; 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; }
.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(--grad-bright); border-radius: 2px; 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); font-size: 11.5px; color: var(--ink-3); flex-wrap: wrap; }
.chart-foot a { text-decoration: underline; text-underline-offset: 2px; }
.details { margin-top: 16px; }
.details h2, .side h2 { font-size: 15px; font-weight: 700; }
.details-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.details-top a { font-size: 12.5px; color: var(--ink-2); }
.details p.desc { margin-top: 10px; color: var(--ink-2); line-height: 1.65; }
.kv { margin-top: 14px; display: grid; gap: 0; }
.kv > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; align-items: center; }
.kv dt { color: var(--ink-3); font-size: 12px; }
.kv dd { min-width: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mono-break { word-break: break-all; }
.links-row { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.links-row a { height: 28px; display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 12px; color: var(--ink-2); }
.links-row a:hover { border-color: var(--line-strong); color: var(--ink); }
.side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; }
.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: 12px; color: var(--ink-3); margin-bottom: 6px; }
.amount { display: flex; align-items: center; height: 52px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 12px; gap: 8px; background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
.amount:focus-within { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255, 138, 176, 0.15); }
.amount input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 20px; font-weight: 700; }
.amount .unit { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; }
.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; }
.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.presets button { height: 30px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-size: 12px; color: var(--ink-2); }
.presets button:hover { border-color: var(--ember); color: var(--ink); }
.setting { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: 12.5px; color: var(--ink-2); }
.setting select { height: 30px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; padding: 0 8px; }
.review { margin-top: 14px; padding: 12px; border-radius: var(--r-md); background: var(--surface-2); font-size: 12.5px; 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: 12.5px; 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: 11.5px; color: var(--ink-3); text-align: center; }
.ext { display: block; text-align: center; margin-top: 12px; font-size: 12.5px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.alloc-line { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; }
.alloc-line b { font-weight: 700; }
.alloc-bar { display: flex; gap: 2px; height: 8px; border-radius: 3px; overflow: hidden; margin: 10px 0 12px; }
.alloc-bar span:first-child { flex: 0 0 80%; background: var(--grad-bright); }
.alloc-bar span:last-child { flex: 1; background: var(--ink); }
.side p.small { font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.side a.more-link { display: inline-block; margin-top: 10px; font-size: 12.5px; color: var(--ember-deep); font-weight: 600; }
.curve-track { height: 10px; border-radius: 99px; background: var(--surface-3); overflow: hidden; margin: 12px 0 8px; }
.curve-track span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad-bright); transition: width 1s var(--ease); }
.curve-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); }
.share-x { display: flex; gap: 8px; margin-top: 12px; }

/* ── launch ───────────────────────────────────────────── */
.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.launch-intro { max-width: 760px; }
.launch-intro h1 { margin-top: 16px; }
.form-card { padding: 28px; }
.form-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.form-head h2 { font-size: 18px; font-weight: 700; }
.fieldset { border: 0; padding: 0; margin: 0; }
.legend-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font-size: 12px; color: var(--ink-3); }
.legend-row .label { color: var(--ink); }
.rec-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 32px; gap: 8px; margin-bottom: 8px; animation: rise 0.25s var(--ease) both; }
.handle { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
.handle:focus-within, .share:focus-within { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255, 138, 176, 0.15); }
.handle .at { color: var(--ink-3); }
.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: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.share input { text-align: right; font-weight: 600; }
.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: 14px; }
.total.valid strong { color: var(--ok); }
.total.invalid strong { color: var(--bad); }
.help { margin-top: 8px; font-size: 12px; 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); margin: 22px 0; }
.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: 12px; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea, .field select { height: 44px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; padding: 0 12px; outline: 0; font-size: 14px; transition: border-color 0.15s, box-shadow 0.15s; }
.field textarea { height: 96px; padding: 10px 12px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255, 138, 176, 0.15); }
.field input[readonly] { background: var(--surface-2); color: var(--ink-3); }
.field small { font-size: 11.5px; color: var(--ink-3); }
.drop { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px dashed var(--line-strong); border-radius: var(--r-md); background: var(--surface-2); transition: border-color 0.15s, background 0.15s; position: relative; }
.drop.is-dragging { border-color: var(--ember); 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; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); overflow: hidden; flex-shrink: 0; color: var(--ink-3); }
.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); padding-top: 14px; margin-top: 4px; }
.options summary { cursor: pointer; list-style: none; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; 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: 14px; color: var(--ink-3); }
.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: 12.5px; color: var(--wait); }
.service.available { color: var(--ok); }
.service::before { content: ""; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.submit-note { margin-top: 10px; font-size: 12px; color: var(--ink-3); text-align: center; }
.preview-col { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 14px; }
.preview-head { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; }
.pay-card { position: relative; overflow: hidden; padding: 22px; border-radius: var(--r-xl); color: #fff; background: radial-gradient(120% 120% at 0% 0%, #ff8ab0 0%, #ffbfb3 40%, #b0436f 100%); box-shadow: 0 24px 50px -28px rgba(176, 67, 111, 0.8); }
.pay-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 100% 0%, rgba(255, 255, 255, 0.28), transparent 60%); pointer-events: none; }
.pay-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; opacity: 0.9; }
.pay-top .x { font-size: 15px; font-weight: 800; }
.pay-amount { margin-top: 18px; font-size: 40px; font-weight: 800; letter-spacing: -0.04em; }
.pay-to { margin-top: 2px; font-size: 13px; opacity: 0.92; }
.pay-note { margin-top: 18px; display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 12px; opacity: 0.9; }
.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: 12px; }
.donut-legend div { display: flex; align-items: center; gap: 8px; min-width: 0; }
.donut-legend i { width: 8px; height: 8px; border-radius: 2px; 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); }

/* ── dialogs ──────────────────────────────────────────── */
.dialog { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 24px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(61, 37, 51, 0.45); overflow-y: auto; }
.dialog-wide { width: min(600px, calc(100vw - 32px)); }
.dialog::backdrop { background: rgba(255, 244, 246, 0.62); backdrop-filter: blur(6px); }
.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: 18px; font-weight: 700; letter-spacing: -0.01em; }
.dialog-sub { margin-top: 6px; font-size: 13px; 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-radius: var(--r-md); background: var(--surface-2); font-size: 12.5px; word-break: break-all; }
.account-box { display: grid; gap: 4px; margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: linear-gradient(135deg, #fff 0%, var(--mist) 100%); }
.account-box strong { font-size: 18px; color: var(--ember-deep); }
.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-radius: var(--r-md); background: var(--surface-2); font-size: 13px; color: var(--ink-2); }
.signin-wait .spin { width: 16px; height: 16px; flex: none; border: 2px solid var(--mint); border-top-color: var(--ember); 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: 54px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; text-align: left; transition: border-color 0.15s, background 0.15s; }
.wallet-option:hover { border-color: var(--ember); background: var(--mist); }
.wallet-option img { border-radius: 8px; }
.wallet-option span:nth-of-type(1) { flex: 1; font-weight: 600; }
.wallet-go { color: var(--ink-3); font-size: 12px; }
.wallet-glyph { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--grad-brand); color: var(--ink); font-weight: 800; }
.wallet-install { display: flex; gap: 16px; margin-top: 10px; font-size: 13px; }
.wallet-install a { color: var(--ember-deep); text-decoration: underline; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 18px; counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 8px; font-size: 11.5px; color: var(--ink-3); }
.steps li::before { content: ""; height: 3px; border-radius: 3px; background: var(--surface-3); }
.steps li.is-done::before { background: var(--ember); }
.steps li.is-current::before { background: var(--grad-bright); background-size: 200% 100%; animation: flow-x 1.6s linear infinite; }
.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: 12px; color: var(--ink-3); }
.review-token { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.review-token img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; border: 1px solid var(--line); }
.review-token h3 { font-size: 16px; font-weight: 700; }
.review-token p { font-size: 12.5px; color: var(--ink-3); }
.fee-wallet { margin-top: 16px; padding: 12px; border-radius: var(--r-md); background: var(--surface-2); display: grid; gap: 4px; font-size: 12px; }
.fee-wallet span { color: var(--ink-3); }
.fee-wallet code { word-break: break-all; font-size: 12.5px; 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(--line); font-size: 13px; }
.review-rows span { color: var(--ink-2); }
.small-note { margin-top: 10px; font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }
.progress-line { margin-top: 12px; font-size: 12.5px; color: var(--ember-deep); min-height: 18px; }
.result-links { display: flex; gap: 16px; margin-top: 14px; font-size: 13px; flex-wrap: wrap; }
.result-links a { color: var(--ember-deep); font-weight: 600; 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: 56px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.search-box svg { width: 18px; height: 18px; fill: none; stroke: var(--ember-deep); 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 or @handle"; display: block; padding: 18px 12px; font-size: 13px; 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; border-radius: var(--r-md); outline: none; }
.search-item:hover, .search-item:focus { background: var(--mist); }
.search-item .thumb { width: 32px; height: 32px; }
.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: 13px; color: var(--ink-3); }

/* ── analytics ────────────────────────────────────────── */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; line-height: 1; margin-top: 10px; }
.page-head p { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); max-width: 600px; line-height: 1.65; }
.sync { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-3); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { position: relative; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.kpi::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad-bright); opacity: 0; transition: opacity 0.2s; }
.kpi:hover::after { opacity: 1; }
.kpi strong { display: block; margin-top: 8px; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.kpi small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-3); }
.kpi.accent { background: var(--grad-soft); }
.chart-card { padding: 22px; }
.chart-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.chart-card-head h2 { font-size: 17px; font-weight: 700; }
.chart-card-head p { margin-top: 4px; font-size: 13px; 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; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #ffb0c8 0%, #f07fa8 100%); transform-origin: bottom; animation: grow 0.8s var(--ease) both; }
.bar-fill.zero { background: var(--surface-3); }
.bar:hover .bar-fill, .bar:focus .bar-fill { filter: brightness(1.08); box-shadow: 0 8px 18px -8px rgba(240, 127, 168, 0.8); }
.bar-day { font-size: 10.5px; 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; border-radius: 6px; background: var(--ink); color: #fff; 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); }

/* ── docs ─────────────────────────────────────────────── */
.docs { display: grid; grid-template-columns: 200px minmax(0, 1fr) 180px; gap: 40px; align-items: start; }
.docs-nav, .toc { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.docs-nav .label, .toc .label { margin: 16px 0 6px 10px; }
.docs-nav .label:first-child, .toc .label:first-child { margin-top: 0; }
.docs-nav a, .toc a { padding: 6px 10px; border-radius: var(--r-sm); color: var(--ink-2); }
.docs-nav a:hover, .toc a:hover { color: var(--ink); background: var(--surface-2); }
.docs-nav a.active { background: var(--mist); color: var(--ember-deep); font-weight: 600; }
.toc a { border-left: 1px solid var(--line); border-radius: 0; font-size: 12px; color: var(--ink-3); }
.toc a.active { border-left-color: var(--ember); color: var(--ink); }
.prose { max-width: 720px; }
.prose section { scroll-margin-top: 96px; padding-bottom: 40px; }
.prose h1 { font-size: clamp(30px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.03em; margin-top: 8px; }
.prose h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.prose h3 { font-size: 15px; font-weight: 700; margin: 20px 0 8px; }
.prose p, .prose li { font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose .lead { margin-top: 14px; font-size: 15.5px; }
.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-size: 11px; font-weight: 700; color: var(--ember-deep); background: var(--mist); border-radius: 4px; padding: 1px 4px; }
.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; background: var(--vivid); }
.prose strong { color: var(--ink); }
.prose a { color: var(--ember-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-family: var(--mono); padding: 1px 6px; border-radius: 4px; background: var(--surface-2); color: var(--ink); font-size: 12.5px; word-break: break-all; }
.prose .table-wrap { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.prose table.data td:first-child { font-weight: 600; white-space: nowrap; }
.callout { margin-top: 14px; padding: 14px 16px; border-left: 3px solid var(--ember); background: var(--mist); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.endpoint { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.endpoint b { width: 48px; flex-shrink: 0; color: var(--ember-deep); font-size: 11px; }
.endpoint span { color: var(--ink-3); font-size: 12px; margin-left: auto; text-align: right; }

/* ── capital flow / burn ──────────────────────────────── */
.burn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.burn-card { padding: 20px; border-radius: var(--r-lg); background: var(--surface-2); }
.burn-card.lead-card { background: var(--grad-brand); color: var(--ink); }
.burn-card.lead-card .label { color: rgba(255, 255, 255, 0.8); }
.burn-card strong { display: block; margin-top: 10px; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.burn-card small { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.burn-card.lead-card small { color: rgba(255, 255, 255, 0.82); }
.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: 150px minmax(0, 1fr) 110px; gap: 12px; align-items: center; font-size: 13px; }
.sim-row .who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sim-row .who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sim-track { height: 10px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.sim-track span { display: block; height: 100%; border-radius: inherit; background: var(--grad-bright); transition: width 0.5s var(--ease); }
.sim-track.burn span { background: var(--ink); }
.sim-row b { text-align: right; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 0 18px; transition: border-color 0.2s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ember-deep); font-size: 18px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: 16px; color: var(--ink-2); font-size: 13.5px; line-height: 1.7; }

/* ── admin ────────────────────────────────────────────── */
.gate { max-width: 560px; margin: 40px auto; text-align: center; padding: 48px 28px; }
.gate .logo-mark { width: 56px; height: 56px; margin: 0 auto 20px; }
.gate h1, .gate h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.gate p { margin: 10px auto 0; max-width: 420px; color: var(--ink-2); line-height: 1.65; font-size: 14px; }
.gate .actions { justify-content: center; }
.wallet-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12.5px; 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(--vivid); }
.wallet-bar a { text-decoration: underline; text-underline-offset: 3px; }
.wallet-bar button { margin-left: auto; }
.balance-card { padding: 28px; background: var(--grad-soft); }
.balance-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); }
.balance { margin-top: 10px; font-size: clamp(36px, 6vw, 56px); font-weight: 800; letter-spacing: -0.04em; }
.balance span { font-size: 18px; color: var(--ink-3); font-weight: 600; }
.vaults { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vault { padding: 18px; }
.vault strong { display: block; margin-top: 8px; font-size: 24px; font-weight: 800; }
.vault p { margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.history a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; }
.history a:hover { color: var(--ember-deep); }
.history small { display: block; font-size: 11.5px; color: var(--ink-3); }

/* ── footer ───────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fffaf3 100%); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding: 48px 0 32px; }
.footer-brand p { margin-top: 12px; font-size: 13px; color: var(--ink-2); max-width: 300px; line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer-col .label { margin-bottom: 4px; }
.footer-col a { color: var(--ink-2); }
.footer-col a:hover { color: var(--ink); }
.footer-socials { display: flex; gap: 8px; margin-top: 16px; }
.footer-socials a, .footer-socials span { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink-2); font-weight: 800; font-size: 13px; }
.footer-socials span { opacity: 0.45; cursor: default; }
.footer-socials a:hover { border-color: var(--ember); color: var(--ink); }
.footer-mark { font-weight: 800; text-transform: uppercase; letter-spacing: -0.05em; line-height: 0.82; font-size: clamp(64px, 17vw, 236px); color: #fff8f5; -webkit-text-stroke: 2.4px var(--line-strong); paint-order: stroke fill; transition: color 1s var(--ease), -webkit-text-stroke-color 1s var(--ease); user-select: none; white-space: nowrap; margin-bottom: -0.08em; }
.footer:hover .footer-mark { color: #ffe3ec; -webkit-text-stroke-color: #f7c6d4; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; padding: 18px 0 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); flex-wrap: wrap; position: relative; background: rgba(255, 250, 243, 0.9); }

/* ── toasts ───────────────────────────────────────────── */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--ink); color: #fff; font-size: 13px; box-shadow: 0 20px 40px -20px rgba(61, 37, 51, 0.6); animation: toast-in 0.25s var(--ease) both; max-width: 360px; }
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--vivid); flex-shrink: 0; }
.toast.is-error::before { background: #ff8a8e; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── misc pages ───────────────────────────────────────── */
.notfound { text-align: center; padding: 60px 0; }
.notfound .display { font-size: clamp(90px, 20vw, 220px); }
.notfound p { margin-top: 16px; color: var(--ink-2); }
.notfound .actions { justify-content: center; }
.hide { display: none !important; }

/* ── responsive ───────────────────────────────────────── */

/* ── design refresh: butter + blush ───────────────────────────────── */
:root {
  --grad-hero: linear-gradient(100deg, #d9578a 0%, #ff8fb3 46%, #ffb35c 100%);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-line: rgba(255, 255, 255, 0.92);
  --rose: #c94b7d;
  --pink: #ff8fb3;
  --butter: #ffd978;
}
body::before {
  background-image:
    radial-gradient(38% 34% at 0% 0%, rgba(255, 168, 200, 0.4), transparent 72%),
    radial-gradient(36% 32% at 100% 0%, rgba(255, 214, 120, 0.36), transparent 72%),
    radial-gradient(38% 36% at 100% 100%, rgba(255, 168, 200, 0.3), transparent 72%),
    radial-gradient(36% 34% at 0% 100%, rgba(255, 214, 120, 0.28), transparent 72%);
  background-size: auto;
  -webkit-mask-image: none;
  mask-image: none;
}
.halftone { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.halftone::before, .halftone::after { content: ""; position: absolute; inset: 0; background-size: 11px 11px; }
.halftone::before {
  background-image: radial-gradient(circle, rgba(255, 128, 170, 0.5) 1.3px, transparent 1.8px);
  -webkit-mask-image: radial-gradient(32% 30% at 0% 0%, #000, transparent 78%), radial-gradient(32% 32% at 100% 100%, #000, transparent 78%);
  mask-image: radial-gradient(32% 30% at 0% 0%, #000, transparent 78%), radial-gradient(32% 32% at 100% 100%, #000, transparent 78%);
}
.halftone::after {
  background-image: radial-gradient(circle, rgba(255, 186, 60, 0.55) 1.3px, transparent 1.8px);
  -webkit-mask-image: radial-gradient(32% 30% at 100% 0%, #000, transparent 78%), radial-gradient(32% 32% at 0% 100%, #000, transparent 78%);
  mask-image: radial-gradient(32% 30% at 100% 0%, #000, transparent 78%), radial-gradient(32% 32% at 0% 100%, #000, transparent 78%);
}
.aurora i { opacity: 0.6; }

/* top strip + floating glass header */
.cabar { background: linear-gradient(90deg, #ffe9a8 0%, #ffd2c4 50%, #ffc0d6 100%); font-size: 12px; }
.cabar::after { background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%); background-size: 260% 100%; }
.cabar-in { height: 32px; }
.header { border-bottom: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; padding-top: 12px; }
.header-in { width: calc(100% - 24px); height: 62px; padding: 0 10px 0 20px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: 0 1px 0 rgba(61, 37, 51, 0.03), 0 20px 44px -28px rgba(201, 75, 125, 0.45), inset 0 0 0 1px rgba(246, 227, 232, 0.6); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); }
.logo-word { font-size: 14px; letter-spacing: 0.26em; }
.header::before { content: ""; position: absolute; inset: 0 0 -14px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(255, 253, 250, 0.94) 0%, rgba(255, 253, 250, 0.7) 65%, rgba(255, 253, 250, 0) 100%); }
.nav a { height: 38px; padding: 0 15px; border-radius: 999px; font-size: 13px; font-weight: 550; transition: color 0.15s, background 0.15s, box-shadow 0.2s; }
.nav a:hover { background: rgba(255, 214, 229, 0.45); color: var(--ink); }
.nav a.active { background: #fff; color: var(--ink); box-shadow: 0 10px 20px -14px rgba(201, 75, 125, 0.6), inset 0 0 0 1px var(--line); }
.nav a.active::after { display: none; }
.search-trigger, .chain-chip { height: 40px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); }
.nav-mobile { width: calc(100% - 16px); margin: 8px auto 0; border: 1px solid var(--glass-line); border-radius: 999px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-mobile a.active { box-shadow: none; color: var(--rose); }

/* glossy pill buttons */
.btn { height: 40px; padding: 0 18px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, 0.85); border-color: var(--line-strong); }
.btn:hover { background: #fff; border-color: #ecb3c6; transform: translateY(-1px); box-shadow: 0 12px 24px -18px rgba(201, 75, 125, 0.7); }
.btn-primary, .btn-primary:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.8); background: linear-gradient(180deg, #ffeaa8 0%, #ffcab8 46%, #ffa2c4 100%); }
.btn-primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -4px 10px rgba(217, 87, 138, 0.2), 0 14px 28px -14px rgba(240, 127, 168, 0.85); }
.btn-primary:hover { filter: saturate(1.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -4px 10px rgba(217, 87, 138, 0.24), 0 20px 34px -14px rgba(240, 127, 168, 0.95); }
.btn-primary::after { background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.65) 50%, transparent 65%); }
.btn-md { height: 46px; padding: 0 22px; font-size: 13.5px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 15px; }
.icon-btn, .chip, .copy-ca, .live-chips a, .live-chips button { border-radius: 999px; }
.btn-wallet.is-connected { border-color: #f3b6c9; color: var(--rose); }
.btn-wallet.is-connected::before { background: var(--pink); box-shadow: 0 0 0 3px rgba(255, 143, 179, 0.25); }
.btn-wallet.is-member::before { background: linear-gradient(135deg, var(--butter), var(--pink)); box-shadow: 0 0 0 3px rgba(255, 191, 156, 0.4); }
.chip-live { background: var(--ember-soft); color: var(--ember-deep); }
.live-dot { border-radius: 50%; }

/* hero */
.hero { grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; padding-top: 16px; }
.tag { border-radius: 999px; padding: 4px 14px 4px 4px; border-color: var(--glass-line); background: var(--glass); box-shadow: 0 12px 26px -20px rgba(201, 75, 125, 0.6); backdrop-filter: blur(8px); }
.tag b { border-radius: 999px; padding: 5px 10px; background: linear-gradient(135deg, #ffe39b, #ffb3cb); }
.tag span { font-size: 11.5px; color: var(--ink-2); }
.display { font-size: clamp(44px, 6.4vw, 92px); letter-spacing: -0.045em; line-height: 0.9; }
.outline { color: transparent; -webkit-text-stroke: 0; background: var(--grad-hero); -webkit-background-clip: text; background-clip: text; padding-bottom: 0.06em; }
.outline::after { background: linear-gradient(90deg, transparent 0 38%, rgba(255, 255, 255, 0.85) 48%, rgba(255, 255, 255, 0.55) 52%, transparent 62% 100%); background-size: 260% 100%; background-position: 135% 0; }
.lead { font-size: 16.5px; line-height: 1.7; max-width: 560px; }
.stat-row { max-width: 640px; border-radius: 24px; border: 1px solid var(--glass-line); background: var(--glass); box-shadow: var(--shadow); backdrop-filter: blur(12px); overflow: hidden; }
.stat-row > div { padding: 16px 18px; }
.stat-row dd { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.stat-row dt { white-space: nowrap; letter-spacing: 0.08em; overflow: hidden; text-overflow: ellipsis; }

.fan { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1; margin-left: auto; }
.fan-strings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fan-strings path { fill: none; stroke: url(#fan-string); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.fan-strings .spark { fill: #ff8fb3; }
.balloon { --c1: #fff; --c2: #fff3f2; --c3: #f6cfd9; position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--s) * 1%); aspect-ratio: 0.9; display: grid; place-items: center; border-radius: 50% 50% 47% 47% / 45% 45% 55% 55%; transform: translate(-50%, -50%); background: radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.98) 0 6%, rgba(255, 255, 255, 0) 20%), radial-gradient(circle at 48% 40%, var(--c1) 0%, var(--c2) 52%, var(--c3) 100%); box-shadow: inset -10px -14px 24px rgba(217, 87, 138, 0.16), inset 8px 10px 18px rgba(255, 255, 255, 0.7), 0 22px 34px -22px rgba(201, 75, 125, 0.55); animation: bob var(--d, 6s) ease-in-out infinite alternate; }
.balloon::after { content: ""; position: absolute; left: 50%; bottom: -4%; width: 11%; aspect-ratio: 1; border-radius: 2px; background: var(--c3); transform: translateX(-50%) rotate(45deg); }
.balloon b { position: relative; font-size: clamp(12px, 1.2vw, 17px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); }
.balloon.y { --c1: #fffbe9; --c2: #ffeaa6; --c3: #ffcf63; }
.balloon.p { --c1: #fff4f8; --c2: #ffc6da; --c3: #ff94b8; }
.balloon.k { --c1: #fff6ee; --c2: #ffd3bd; --c3: #ffab8a; }
@keyframes bob { from { transform: translate(-50%, -50%) translateY(0) rotate(-2deg); } to { transform: translate(-50%, -50%) translateY(-9px) rotate(2deg); } }
.fan-coin { position: absolute; left: 50%; top: 72%; width: 30%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 32% 26%, #fff 0 9%, #fffaf2 26%, #ffeccf 56%, #ffd0dc 100%); box-shadow: inset -12px -16px 30px rgba(217, 87, 138, 0.2), inset 12px 14px 24px rgba(255, 255, 255, 0.95), 0 34px 54px -28px rgba(201, 75, 125, 0.6); animation: coin-float 7s ease-in-out infinite alternate; }
.fan-coin::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85), inset 0 2px 10px rgba(217, 87, 138, 0.18); }
.fan-coin svg { width: 46%; height: 46%; filter: drop-shadow(0 6px 10px rgba(217, 87, 138, 0.28)); }
@keyframes coin-float { from { transform: translate(-50%, -50%); } to { transform: translate(-50%, -53%); } }
.fan-shadow { position: absolute; left: 50%; top: 92%; width: 34%; height: 4%; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(201, 75, 125, 0.3), transparent); filter: blur(4px); }
.fan-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); box-shadow: 0 16px 32px -22px rgba(201, 75, 125, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12.5px; font-weight: 650; color: var(--ink-2); white-space: nowrap; animation: bob-chip 5s ease-in-out infinite alternate; }
.fan-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--pink)); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9); }
.fan-chip.c1 { left: 0; top: 80%; }
.fan-chip.c2 { right: 0; top: 85%; animation-delay: -2.5s; }
@keyframes bob-chip { to { transform: translateY(-6px); } }

/* live splits, wide */
.live-panel { border-radius: var(--r-xl); border-color: var(--glass-line); background: var(--glass); box-shadow: var(--shadow-lift); }
.live-head { height: 54px; padding: 0 22px; }
.live-wide .live-list { max-height: 560px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.live-wide .live-item { padding: 16px 22px; }
.live-wide .live-item:nth-child(odd) { border-right: 1px solid rgba(246, 227, 232, 0.8); }
.live-foot { padding: 14px 22px; }

/* surfaces */
.card { border-color: var(--glass-line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8)); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.sec-head h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: -0.035em; }
.sec-head p { font-size: 15.5px; }
.split-card h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.035em; }
.two-col h2, .trend-title h2 { font-weight: 800; letter-spacing: -0.03em; }
.two-col h2 { font-size: 22px; }
.split-bar { height: 14px; gap: 3px; border-radius: 999px; box-shadow: inset 0 1px 2px rgba(61, 37, 51, 0.08); }
.split-bar .a { background: linear-gradient(90deg, #ffd978, #ffb3a0 45%, #ff8fb3, #ffd978); background-size: 200% 100%; }
.coin { border-color: var(--glass-line); border-radius: 24px; box-shadow: 0 1px 0 rgba(61, 37, 51, 0.03), 0 16px 34px -28px rgba(201, 75, 125, 0.5); }
.coin:hover { border-color: #f3c6d4; box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.how { border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--surface-2)); transition: border-color 0.2s, background 0.2s, transform 0.25s var(--ease), box-shadow 0.25s; }
.how:hover { border-color: #f3c6d4; background: #fff; transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.ring-icon { border-radius: 50%; color: var(--rose); background: radial-gradient(circle at 32% 28%, #fff 0 12%, #fff4e0 40%, #ffd9e4 100%); box-shadow: inset -4px -6px 10px rgba(217, 87, 138, 0.16), 0 8px 18px -10px rgba(201, 75, 125, 0.5); }
.kpi { border-radius: 22px; border-color: var(--glass-line); background: var(--glass); box-shadow: var(--shadow); }
.dialog { border-radius: 28px; border-color: var(--glass-line); box-shadow: 0 50px 90px -40px rgba(201, 75, 125, 0.5); }
.page-head h1 { letter-spacing: -0.04em; }

/* footer: halftone wordmark */
.footer { border-top: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff6ef 60%, #ffeef4 100%); }
.footer-mark { color: transparent; -webkit-text-stroke: 1.5px rgba(232, 160, 185, 0.75); background: radial-gradient(circle, rgba(255, 128, 170, 0.5) 1.4px, transparent 1.9px) 0 0 / 11px 11px, linear-gradient(100deg, #ffe7a3, #ffc6d6 60%, #ffb3cb); -webkit-background-clip: text; background-clip: text; letter-spacing: -0.04em; }
.footer:hover .footer-mark { color: transparent; -webkit-text-stroke-color: rgba(217, 87, 138, 0.65); }

@media (max-width: 1360px) {
  .clock { display: none; }
}
@media (max-width: 1280px) {
  .chain-chip { display: none; }
  .nav a { padding: 0 9px; }
}
@media (max-width: 1180px) {
  .hide-lg { display: none !important; }
  .coin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .docs { grid-template-columns: 190px minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .split-card { flex-direction: column; align-items: stretch; }
  .token-grid, .launch-grid { grid-template-columns: 1fr; }
  .side, .preview-col { position: static; }
  .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .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; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-mobile { display: flex; }
  .hide-md { display: none !important; }
  .search-trigger { padding: 0 8px; }
  .search-trigger kbd { display: none; }
  .dir-body { grid-template-columns: 1fr; }
  .filters { position: static; flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .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; }
  .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); }
  .features, .burn-grid { grid-template-columns: 1fr; }
  .recipients, .pills { align-items: flex-start; justify-content: flex-start; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hide-sm { display: none !important; }
  main { padding-top: 28px; }
  .page { gap: 56px; }
  .header-in { gap: 12px; }
  .logo-word { letter-spacing: 0.22em; }
  .cabar-in, .announce-in { gap: 10px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-row > div:nth-child(2) { border-right: 0; }
  .stat-row > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .card-pad, .form-card, .dir-hero { padding: 20px; }
  .stat-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-boxes .stat-box:last-child { grid-column: span 2; }
  .market { grid-template-columns: repeat(2, 1fr); }
  .market > div:nth-child(2) { border-right: 0; }
  .market > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .how-grid { grid-template-columns: 1fr; }
  .chart-box { height: 300px; }
  .ohlc { font-size: 10.5px; gap: 2px 10px; }
  .ohlc span:nth-child(-n + 2) { display: none; }
  .rec-row { grid-template-columns: minmax(0, 1fr) 92px 32px; }
  .row-2 { 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; }
  .dir-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dir-stats > div { padding: 12px; }
  .dir-stats dd { font-size: 18px; }
}
@media (max-width: 480px) {
  .hide-xs { display: none !important; }
  .coin-grid, .coin-grid.cols-3 { grid-template-columns: 1fr; }
  .chain-chip { display: none; }
  .kv > div { grid-template-columns: 1fr; gap: 4px; }
}
@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; }
  .marquee { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* design refresh: responsive */
@media (max-width: 1024px) {
  .fan { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .live-wide .live-list { grid-template-columns: 1fr; }
  .live-wide .live-item:nth-child(odd) { border-right: 0; }
}
@media (max-width: 640px) {
  .header { padding-top: 8px; }
  .header-in { width: calc(100% - 16px); height: 56px; padding: 0 8px 0 14px; }
  .fan-chip { font-size: 11px; padding: 7px 10px; }
  .stat-row dd { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .balloon, .fan-coin, .fan-chip { animation: none; }
  .fan-strings .spark { display: none; }
}
