/* Gator Eyes — black water, amber eyes. Dark only, by design. */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-hero: clamp(2.75rem, 0.8rem + 6.2vw, 6.5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --color-bg: #06090a;
  --color-surface: #0c1112;
  --color-surface-2: #111819;
  --color-border: #1e2a2b;
  --color-divider: #172122;
  --color-text: #e4e2db;
  --color-text-muted: #9aa29d;
  --color-text-faint: #5f6b67;
  --color-amber: #e3a43c;
  --color-amber-hover: #f0b752;
  --color-amber-ink: #1a1204;
  --color-buy: #6fbf73;
  --color-sell: #e0705f;
  --color-spike: #7fb0d6;
  --color-launch: #b99be6;

  --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.75rem; --radius-full: 9999px;
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --content-wide: 1200px;

  --font-display: "Cabinet Grotesk", "Helvetica Neue", sans-serif;
  --font-body: "Satoshi", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: none; text-size-adjust: none; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: var(--space-20); }
body { min-height: 100dvh; line-height: 1.6; font-family: var(--font-body); font-size: var(--text-base); color: var(--color-text); background: var(--color-bg); }
img, picture, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1, h2, h3 { text-wrap: balance; line-height: 1.1; }
p, li { text-wrap: pretty; max-width: 68ch; }
a { color: var(--color-amber); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--transition-interactive); }
a:hover { color: var(--color-amber-hover); }
::selection { background: color-mix(in oklab, var(--color-amber) 35%, transparent); }
:focus-visible { outline: 2px solid var(--color-amber); outline-offset: 3px; border-radius: var(--radius-sm); }
table { border-collapse: collapse; width: 100%; }
@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; } }

.wrap { width: min(100% - 2 * var(--space-5), var(--content-wide)); margin-inline: auto; }
.skip { position: absolute; left: var(--space-4); top: -100px; background: var(--color-amber); color: var(--color-amber-ink); padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { top: var(--space-4); }
[hidden] { display: none !important; }
.muted { color: var(--color-text-muted); }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; }
.pos { color: var(--color-buy); }
.neg { color: var(--color-sell); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--color-bg) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-divider); }
.header-inner { display: flex; align-items: center; gap: var(--space-6); min-height: 60px; }
.brand { display: flex; align-items: center; gap: var(--space-3); color: var(--color-text); text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: var(--text-sm); letter-spacing: 0.22em; text-transform: uppercase; }
.brand img { width: 32px; height: 32px; border-radius: var(--radius-full); }
.brand:hover { color: var(--color-text); }
.nav { display: flex; gap: var(--space-5); margin-left: auto; }
.nav a { color: var(--color-text-muted); text-decoration: none; font-size: var(--text-sm); font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--color-text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: var(--space-2) var(--space-5); border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: background var(--transition-interactive), border-color var(--transition-interactive), color var(--transition-interactive); white-space: nowrap; }
.btn-sm { min-height: 36px; padding: var(--space-1) var(--space-4); }
.btn-amber { background: var(--color-amber); color: var(--color-amber-ink); }
.btn-amber:hover { background: var(--color-amber-hover); color: var(--color-amber-ink); }
.btn-ghost { border-color: var(--color-border); color: var(--color-text); }
.btn-ghost:hover { border-color: var(--color-amber); color: var(--color-text); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in oklab, var(--color-bg) 10%, transparent) 30%, var(--color-bg) 96%); }
.hero-inner { padding-block: var(--space-32) var(--space-16); }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-hero); letter-spacing: -0.025em; max-width: 13ch; }
.lede { margin-top: var(--space-5); font-size: var(--text-lg); color: var(--color-text-muted); max-width: 46ch; line-height: 1.5; }
.hero .cta-row { margin-top: var(--space-8); }
.hero-note { margin-top: var(--space-5); font-size: var(--text-sm); color: var(--color-text-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-5); }
.live-dot { width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--color-text-faint); }
.live-dot.is-live { background: var(--color-amber); box-shadow: 0 0 0 0 color-mix(in oklab, var(--color-amber) 60%, transparent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--color-amber) 55%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* Sections */
.section { padding-block: clamp(var(--space-12), 7vw, var(--space-24)); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-8); }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); letter-spacing: -0.01em; }
.section-head .section-title { margin: 0; }
.section > .wrap > .section-title { margin-bottom: var(--space-8); }
.section-meta { font-size: var(--text-xs); color: var(--color-text-faint); font-family: var(--font-mono); }
.sub { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-3); }

/* What it watches */
.watches { border-bottom: 1px solid var(--color-divider); }
.watch-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-6); }
.watch-list li { border-top: 2px solid var(--color-border); padding-top: var(--space-4); }
.watch-k { display: block; font-weight: 700; margin-bottom: var(--space-2); }
.watch-list p { font-size: var(--text-sm); color: var(--color-text-muted); }
.k-whale { --k: var(--color-amber); }
.k-spike { --k: var(--color-spike); }
.k-dev { --k: var(--color-sell); }
.k-launch { --k: var(--color-launch); }
.k-gaey, .k-tracks { --k: var(--color-buy); }
.watch-list li:has(.watch-k) { border-top-color: var(--k, var(--color-border)); }
.watch-list .watch-k { color: var(--color-text); }

/* Chips & tabs */
.chips, .tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chips { margin-bottom: var(--space-6); }
.chip, .tab { min-height: 36px; padding: var(--space-1) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-full); font-size: var(--text-sm); color: var(--color-text-muted); transition: all var(--transition-interactive); }
.chip:hover, .tab:hover { color: var(--color-text); border-color: var(--color-text-faint); }
.chip.is-on, .tab.is-on { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); font-weight: 700; }

/* Alerts */
.alert-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.alert { position: relative; background: var(--color-surface); border: 1px solid var(--color-border); border-left: 3px solid var(--k, var(--color-border)); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); min-width: 0; }
.alert.k-whale.is-sell, .alert.k-gaey.is-sell { --k: var(--color-sell); }
.alert.k-gaey.is-buy { --k: var(--color-buy); }
.alert-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.badge { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--k, var(--color-text-muted)); }
.alert time { font-size: var(--text-xs); color: var(--color-text-faint); font-family: var(--font-mono); }
.alert-body { display: flex; gap: var(--space-4); align-items: flex-start; }
.alert-img { width: 44px; height: 44px; border-radius: var(--radius-md); object-fit: cover; flex: none; background: var(--color-surface-2); }
.alert-text { min-width: 0; flex: 1; }
.alert-title { font-size: var(--text-base); font-weight: 700; letter-spacing: 0.02em; margin-bottom: var(--space-1); }
.alert-title a { color: var(--color-text); text-decoration: none; }
.alert-title a:hover { color: var(--color-amber); }
.alert-desc { font-size: var(--text-sm); color: var(--color-text-muted); overflow-wrap: anywhere; }
.alert-desc strong { color: var(--color-text); font-family: var(--font-mono); font-weight: 500; }
.alert-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-3); margin-top: var(--space-3); font-size: var(--text-sm); }
.af dt { font-size: var(--text-xs); color: var(--color-text-faint); }
.list-foot { display: flex; justify-content: center; margin-top: var(--space-6); }
.empty { grid-column: 1 / -1; border: 1px dashed var(--color-border); border-radius: var(--radius-md); padding: var(--space-10) var(--space-6); text-align: center; color: var(--color-text-muted); }
.empty p { margin-inline: auto; }
.skel { min-height: 120px; display: grid; gap: var(--space-3); align-content: start; }
.skel span, .skel-block { background: linear-gradient(90deg, var(--color-surface) 0%, var(--color-surface-2) 50%, var(--color-surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-sm); }
.skel span { height: 12px; }
.skel span:nth-child(1) { width: 30%; } .skel span:nth-child(2) { width: 70%; height: 16px; } .skel span:nth-child(3) { width: 90%; }
.skel-block { min-height: 96px; border: 1px solid var(--color-border); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Gator Tracks */
.tracks { background: var(--color-surface); border-block: 1px solid var(--color-divider); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.kpis-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg); min-width: 0; }
.tracks .kpi { background: var(--color-bg); }
.kpi-label { font-size: var(--text-xs); color: var(--color-text-faint); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.kpi-value { font-family: var(--font-mono); font-size: var(--text-lg); font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kpi-sub { font-size: var(--text-xs); color: var(--color-text-muted); }
.split { margin-block: var(--space-6) var(--space-10); }
.split-bar { height: 8px; border-radius: var(--radius-full); background: var(--color-sell); overflow: hidden; }
.split-buy { display: block; height: 100%; background: var(--color-buy); }
.split-legend { display: flex; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-2); font-size: var(--text-xs); color: var(--color-text-muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: var(--radius-full); margin-right: var(--space-2); }
.dot.buy { background: var(--color-buy); } .dot.sell { background: var(--color-sell); }
.tracks-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-10); }
.tracks-table table { font-size: var(--text-sm); }
.tracks-table th { text-align: left; font-size: var(--text-xs); color: var(--color-text-faint); font-weight: 500; padding: var(--space-2) var(--space-2); border-bottom: 1px solid var(--color-border); }
.tracks-table th.num { text-align: right; }
.tracks-table td { padding: var(--space-3) var(--space-2); border-bottom: 1px solid var(--color-divider); position: relative; }
.tracks-table td a { font-weight: 700; text-decoration: none; }
.rank { color: var(--color-text-faint); width: 2.5em; }
.bar { display: block; height: 2px; margin-top: var(--space-1); margin-left: auto; width: var(--w); background: var(--color-amber); opacity: 0.6; border-radius: var(--radius-full); }
.flows { display: grid; gap: var(--space-8); align-content: start; }
.flow-list { list-style: none; display: grid; gap: var(--space-2); font-size: var(--text-sm); }
.flow-list li { display: flex; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-2); border-bottom: 1px solid var(--color-divider); }
.flow-list a { font-weight: 700; text-decoration: none; }

/* GAEY teaser */
.teaser-inner { display: grid; grid-template-columns: auto 1fr; gap: var(--space-8); align-items: start; }
.teaser-img { width: 120px; height: 120px; border-radius: var(--radius-lg); object-fit: cover; border: 1px solid var(--color-border); }
.teaser-inner .section-title { margin-bottom: var(--space-3); }
.teaser-inner p { color: var(--color-text-muted); }
.mini-stats { display: flex; flex-wrap: wrap; gap: var(--space-8); margin-block: var(--space-6); }
.mini-stats dt { font-size: var(--text-xs); color: var(--color-text-faint); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.mini-stats dd { font-family: var(--font-mono); }
.mini-stats dd.muted { font-size: var(--text-xs); }

/* Join band */
.join { position: relative; padding-block: clamp(var(--space-16), 9vw, var(--space-32)); background: radial-gradient(60% 120% at 50% 100%, color-mix(in oklab, var(--color-amber) 14%, transparent), transparent 70%); border-top: 1px solid var(--color-divider); }
.join-inner { display: grid; justify-items: center; text-align: center; gap: var(--space-8); }
.join h2 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); max-width: 24ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--color-divider); padding-block: var(--space-10); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-6); font-size: var(--text-xs); color: var(--color-text-faint); }
.footer-inner p { max-width: 70ch; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); }
.footer-inner nav a { color: var(--color-text-muted); text-decoration: none; }
.footer-inner nav a:hover { color: var(--color-text); }

/* GAEY page */
.token-hero { padding-block: clamp(var(--space-16), 9vw, var(--space-24)) var(--space-8); background: radial-gradient(50% 90% at 15% 0%, color-mix(in oklab, var(--color-amber) 10%, transparent), transparent 70%); }
.token-hero-inner { display: grid; grid-template-columns: auto 1fr; gap: var(--space-10); align-items: center; }
.token-img { width: 160px; height: 160px; border-radius: var(--radius-lg); object-fit: cover; border: 1px solid var(--color-border); }
.token-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-hero); letter-spacing: -0.02em; }
.token-hero .lede { margin-top: var(--space-3); }
.token-hero .cta-row { margin-top: var(--space-8); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-10); }
.fact { padding-block: var(--space-4); border-bottom: 1px solid var(--color-divider); min-width: 0; }
.fact dt { font-size: var(--text-xs); color: var(--color-text-faint); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; margin-bottom: var(--space-1); }
.fact dd { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.fact code { font-family: var(--font-mono); font-size: var(--text-xs); overflow-wrap: anywhere; color: var(--color-text); min-width: 0; flex: 1; }
.copy { font-size: var(--text-xs); border: 1px solid var(--color-border); border-radius: var(--radius-full); padding: var(--space-1) var(--space-3); color: var(--color-text-muted); }
.copy:hover { color: var(--color-text); border-color: var(--color-amber); }


/* Flows dashboard */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.dash-top { padding-block: clamp(var(--space-10), 6vw, var(--space-16)) var(--space-6); background: radial-gradient(45% 100% at 10% 0%, color-mix(in oklab, var(--color-amber) 9%, transparent), transparent 70%); }
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-6); }
.dash-head h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.25rem, 1.4rem + 3.2vw, 4rem); letter-spacing: -0.02em; }
.dash-head .eyebrow { margin-bottom: var(--space-3); }
.dash-lede { margin-top: var(--space-3); color: var(--color-text-muted); max-width: 60ch; font-size: var(--text-sm); }
.notice { margin-top: var(--space-6); padding: var(--space-4) var(--space-5); border: 1px solid color-mix(in oklab, var(--color-amber) 45%, var(--color-border)); background: color-mix(in oklab, var(--color-amber) 7%, var(--color-surface)); border-radius: var(--radius-md); font-size: var(--text-sm); color: var(--color-text-muted); max-width: none; }
.notice strong { color: var(--color-text); }
.dash-body { display: grid; gap: var(--space-5); padding-bottom: var(--space-16); }
.kpis-dash { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.kpis-dash .kpi { background: var(--color-surface); }
.kpis-dash .kpi-sub a { text-decoration: none; font-weight: 700; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--space-5); }
.dash-grid-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6) var(--space-6); min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); margin-bottom: var(--space-5); }
.panel-head-wrap { flex-wrap: wrap; align-items: center; }
.panel-title { font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); letter-spacing: 0.01em; }
.panel-meta { font-size: var(--text-xs); color: var(--color-text-faint); }
a.panel-meta { color: var(--color-amber); }
.legend { display: flex; gap: var(--space-4); font-size: var(--text-xs); color: var(--color-text-muted); }
.dot.net { background: var(--color-text); border-radius: 2px; height: 3px; width: 10px; vertical-align: middle; }
.panel .empty { padding: var(--space-8) var(--space-4); font-size: var(--text-sm); }

/* Hourly chart */
.hchart { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); height: 260px; }
.hgrid { display: flex; flex-direction: column; justify-content: space-between; font-family: var(--font-mono); font-size: 0.6875rem; color: var(--color-text-faint); text-align: right; padding-bottom: 20px; }
.hcols { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; position: relative; padding-bottom: 20px; }
.hcols::before { content: ""; position: absolute; left: 0; right: 0; top: calc((100% - 20px) / 2); border-top: 1px solid var(--color-border); }
.hcol { position: relative; height: 100%; }
.hcol > .hb { position: absolute; left: 12%; right: 12%; border-radius: 2px; max-height: 50%; }
.hcol > .hb.buy { bottom: 50%; background: var(--color-buy); }
.hcol > .hb.sell { top: 50%; background: var(--color-sell); opacity: 0.85; }
.hnet { position: absolute; left: 0; right: 0; height: 2px; background: var(--color-text); transform: translateY(-1px); }
.hcol:hover { background: color-mix(in oklab, var(--color-text) 5%, transparent); border-radius: 3px; }
.hcol.is-future { opacity: 0.25; }
.hcol.is-now::after { content: ""; position: absolute; inset: 0; border: 1px dashed color-mix(in oklab, var(--color-amber) 60%, transparent); border-radius: 3px; pointer-events: none; }
.hlab { position: absolute; bottom: -18px; left: 0; font-family: var(--font-mono); font-size: 0.6875rem; color: var(--color-text-faint); white-space: nowrap; }

/* Venues */
.venues { display: grid; gap: var(--space-5); }
.venue-top, .venue-sub { display: flex; justify-content: space-between; gap: var(--space-3); font-size: var(--text-sm); }
.venue-name { font-weight: 700; }
.venue-sub { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-1); font-family: var(--font-mono); }
.venue-bar { margin-top: var(--space-2); height: 8px; width: max(var(--share), 4%); display: flex; border-radius: var(--radius-full); overflow: hidden; background: var(--color-surface-2); }
.vb.buy, .rowsplit .buy, .flowbar .buy, .wbar .buy { background: var(--color-buy); }
.vb.sell, .rowsplit .sell, .flowbar .sell { background: var(--color-sell); }

/* Flow bars */
.flowbars { display: grid; gap: var(--space-3); }
.flowbars li { display: grid; grid-template-columns: minmax(7.5rem, 9rem) 1fr auto; align-items: center; gap: var(--space-4); font-size: var(--text-sm); max-width: none; }
.flowbar { display: block; height: 10px; background: var(--color-surface-2); border-radius: var(--radius-full); overflow: hidden; }
.flowbar > span { display: block; height: 100%; border-radius: var(--radius-full); }
.flowbars .num { min-width: 4.5rem; }
.coin { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 700; text-decoration: none; min-width: 0; }
.coin span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-img { width: 28px; height: 28px; border-radius: var(--radius-full); object-fit: cover; flex: none; background: var(--color-surface-2); border: 1px solid var(--color-border); }
.coin-ph { display: inline-grid; place-items: center; font-size: 0.75rem; color: var(--color-text-muted); position: relative; overflow: hidden; }
.coin-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Coin table */
.search input { min-height: 38px; width: min(16rem, 60vw); padding: var(--space-1) var(--space-4); border-radius: var(--radius-full); border: 1px solid var(--color-border); background: var(--color-bg); font-size: var(--text-sm); }
.search input:focus { outline: none; border-color: var(--color-amber); }
.table-wrap { overflow-x: auto; }
.coin-table { font-size: var(--text-sm); }
.coin-table th { text-align: left; font-size: var(--text-xs); color: var(--color-text-faint); font-weight: 500; padding: var(--space-2); border-bottom: 1px solid var(--color-border); white-space: nowrap; }
.coin-table th.num { text-align: right; }
.coin-table td { padding: var(--space-3) var(--space-2); border-bottom: 1px solid var(--color-divider); vertical-align: middle; }
.coin-table tbody tr:hover td { background: color-mix(in oklab, var(--color-text) 3%, transparent); }
.sort { font-size: var(--text-xs); color: var(--color-text-faint); padding: var(--space-1) 0; }
.sort:hover { color: var(--color-text); }
.sort.is-on { color: var(--color-amber); font-weight: 700; }
.sort.is-on::after { content: " \2193"; }
.cell-sub { display: block; font-size: 0.6875rem; color: var(--color-text-faint); font-family: var(--font-mono); }
.split-col { width: 26%; min-width: 9rem; }
.rowsplit { display: flex; height: 6px; border-radius: var(--radius-full); overflow: hidden; background: var(--color-surface-2); margin-bottom: var(--space-1); }

/* Week chart */
.wchart { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--space-3); height: 240px; align-items: end; }
.wcol { display: grid; grid-template-rows: auto 1fr auto auto; height: 100%; gap: var(--space-1); justify-items: center; padding: var(--space-2) var(--space-1); border-radius: var(--radius-md); border: 1px solid transparent; }
.wcol:hover { background: color-mix(in oklab, var(--color-text) 4%, transparent); }
.wcol.is-on { border-color: var(--color-border); background: var(--color-bg); }
.wbar { align-self: end; width: min(100%, 44px); background: var(--color-sell); border-radius: 4px 4px 2px 2px; display: flex; flex-direction: column-reverse; overflow: hidden; min-height: 3px; }
.wbar .buy { display: block; width: 100%; }
.wval { font-size: 0.6875rem; color: var(--color-text-muted); align-self: end; }
.wnet { font-size: 0.6875rem; }
.wlab { font-size: var(--text-xs); color: var(--color-text-faint); }
.wcol.is-on .wlab { color: var(--color-text); font-weight: 700; }

/* Mini alerts */
.mini-alerts { display: grid; gap: var(--space-3); max-height: 520px; overflow-y: auto; padding-right: var(--space-1); }
.mini-alerts .alert { padding: var(--space-3) var(--space-4); background: var(--color-bg); }
.mini-alerts .alert-fields, .mini-alerts .alert-img { display: none; }
.mini-alerts .alert-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dash-foot { font-size: var(--text-xs); color: var(--color-text-faint); max-width: 90ch; }

@media (max-width: 1100px) {
  .kpis-dash { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .kpis-dash { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid-even { grid-template-columns: 1fr; }
  .panel { padding: var(--space-4); }
  .hchart { height: 200px; }
  .hcols { gap: 1px; }
  .hlab { font-size: 0.625rem; }
  .flowbars li { grid-template-columns: minmax(6rem, 7.5rem) 1fr auto; gap: var(--space-3); }
  .split-col { min-width: 6.5rem; }
  .wchart { gap: var(--space-1); height: 200px; }
  .legend { display: none; }
  .dash-head .tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: var(--space-1); scrollbar-width: none; }
  .dash-head .tab { flex: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .watch-list { grid-template-columns: repeat(2, 1fr); }
  .tracks-grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .header-inner { gap: var(--space-4); }
  .nav { gap: var(--space-4); }
  .header-inner > .btn { display: none; }
  .alert-list { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .teaser-inner, .token-hero-inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .token-img { width: 112px; height: 112px; }
  .hide-sm { display: none; }
  .hero { min-height: 0; align-items: start; }
  .hero-art { bottom: auto; height: 92vw; }
  .hero-art img { object-position: 50% 48%; }
  .hero::after { height: 92vw; bottom: auto; background: linear-gradient(180deg, transparent 45%, var(--color-bg) 100%); }
  .hero-inner { padding-top: 78vw; padding-bottom: var(--space-12); }
}
@media (max-width: 480px) {
  .coin-table td.num .cell-sub { display: none; }
  .split-col { min-width: 4rem; width: auto; }
  .coin-table .split-col .cell-sub { display: none; }
  .coin-table th.split-col { white-space: normal; line-height: 1.2; }
  .coin-table .coin-img { width: 22px; height: 22px; }
  .coin-table td, .coin-table th { padding-inline: var(--space-1); }
  .brand span { display: none; }
  .watch-list { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .kpi { padding: var(--space-4); }
}

/* How it works */
.about-hero { padding-block: clamp(var(--space-16), 9vw, var(--space-24)) var(--space-4); }
.about-hero h1, .page-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.25rem, 1.2rem + 4vw, 4.25rem); letter-spacing: -0.02em; line-height: 1.02; }
.page-title { font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem); }
.section-tight { padding-block: clamp(var(--space-10), 5vw, var(--space-16)); border-top: 1px solid var(--color-divider); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); counter-reset: none; }
.steps li { position: relative; padding: var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-full); border: 1px solid var(--color-amber); color: var(--color-amber); font-family: var(--font-mono); font-size: var(--text-sm); margin-bottom: var(--space-4); }
.steps h3, .not-list h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); margin-bottom: var(--space-2); }
.steps p, .not-list p { color: var(--color-text-muted); font-size: var(--text-sm); }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-10); }
.rule { padding-block: var(--space-5); border-top: 1px solid var(--color-divider); }
.rule-k { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-2); }
.rule .watch-k { margin: 0; color: var(--k); }
.rule-ch { font-size: var(--text-xs); color: var(--color-text-faint); }
.rule p { color: var(--color-text-muted); font-size: var(--text-sm); max-width: 60ch; }
.mono { font-family: var(--font-mono); }
.not-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
.not-list li { border-top: 2px solid var(--color-sell); padding-top: var(--space-4); }
.aside-note { margin-top: var(--space-8); color: var(--color-text-muted); font-size: var(--text-sm); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-10); align-items: start; }
.two-col .section-title { margin-bottom: var(--space-4); }
.prose { color: var(--color-text-muted); max-width: 56ch; }
.disc .fact dd { display: block; color: var(--color-text-muted); font-size: var(--text-sm); }
.prose-list { list-style: none; padding: 0; margin-top: var(--space-4); display: grid; gap: var(--space-2); color: var(--color-text-muted); font-size: var(--text-sm); }
.prose-list li { padding-left: var(--space-5); position: relative; }
.prose-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 2px; background: var(--color-amber); }
.code-card { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); overflow: hidden; margin-top: var(--space-5); }
.two-col > .code-card { margin-top: 0; }
.code-head { display: flex; justify-content: space-between; align-items: center; padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4); border-bottom: 1px solid var(--color-border); font-size: var(--text-xs); color: var(--color-text-muted); }
.code-card pre { margin: 0; padding: var(--space-4); overflow-x: auto; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--color-text); white-space: pre-wrap; word-break: break-all; }
.field { display: grid; gap: var(--space-2); margin-top: var(--space-5); font-size: var(--text-xs); color: var(--color-text-muted); max-width: 22rem; }
.field input { min-height: 44px; padding: 0 var(--space-4); border-radius: var(--radius-md); border: 1px solid var(--color-border); background: var(--color-bg); color: var(--color-text); font-family: var(--font-mono); font-size: var(--text-sm); }
.field input:focus { outline: 2px solid var(--color-amber); outline-offset: 1px; }
.embed-demo { display: grid; place-items: center; padding: var(--space-8); border: 1px dashed var(--color-border); border-radius: var(--radius-lg); background: color-mix(in oklab, var(--color-surface) 50%, transparent); }
.embed-demo iframe { width: 360px; max-width: 100%; height: 340px; border: 0; border-radius: 12px; }
.lead-grid { margin: 0; gap: var(--space-8); }

/* Flow card page */
.card-stage { border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: var(--color-bg); }
.card-stage canvas { display: block; width: 100%; height: auto; }
.card-actions { margin-top: var(--space-5); }
.card-page .dash-foot { margin-top: var(--space-4); white-space: pre-line; font-family: var(--font-mono); }
.card-page .section-tight { border-top: 0; }

@media (max-width: 1000px) {
  .steps, .not-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules, .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps, .not-list { grid-template-columns: 1fr; }
  .embed-demo { padding: var(--space-3); }
}
@media (max-width: 420px) {
  .nav a[href="./index.html#alerts"], .nav a[href="#alerts"] { display: none; }
}

.gaey-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-6); align-items: center; }
.gaey-line img { width: 64px; height: 64px; border-radius: var(--radius-full); }
.gaey-line .section-title { margin-bottom: var(--space-2); }
@media (max-width: 760px) { .gaey-line { grid-template-columns: auto minmax(0, 1fr); } .gaey-line .cta-row { grid-column: 1 / -1; } }

/* USDCx conversions */
.rate-note { margin-top: var(--space-3); font-size: var(--text-xs); color: var(--color-text-faint); }
.rate-note:empty { display: none; }
.flow-list .cell-sub, .flowbars .cell-sub { text-align: right; }
.split-legend .muted { font-family: var(--font-mono); font-size: 0.6875rem; }
