/* Quantum Coin Watch — "lattice" skin, layered after styles.css (forked from GTA VI Coin Watch's vice.css).
   Type: Geist for everything, Geist Mono for addresses (04_ui-kits.md §0b); no web fonts beyond the brand files.
   Editorial system kept from the GTA board: numbers in Geist 600 with tight tracking, labels small, uppercase and
   tracked, flat cells split by 1px hairlines, square corners.
   Colour: near-black navy with an ice-blue accent; Birdeye green stays the "live" signal; logos untouched.
   Chart marks, checked with the dataviz validate_palette script on #0D111C in dark mode (lightness band 0.48–0.67,
   chroma floor, CVD ΔE 19.9, normal-vision ΔE 27.6, 3:1 contrast all pass): #1B98C8 (launch bars, price up) and
   #D9683A (price down). Hover is a lighter step of the same hue. */

:root {
  --bg: #060910;
  --panel: #0B0F19;
  --widget: #0F1522;
  --widget-raised: #161E2E;
  --widget-line: rgba(255, 255, 255, .14);
  --line: rgba(255, 255, 255, .07);
  --line-strong: rgba(255, 255, 255, .16);
  --hair: rgba(255, 255, 255, .1);
  --text-2: rgba(255, 255, 255, .8);
  --text-3: rgba(255, 255, 255, .58);
  --text-4: rgba(255, 255, 255, .36);
  --q-ice: #9BE7FF;
  --q-ice-2: #C2F0FF;
  --q-lilac: #C9BEFF;
  --q-ink: #06121A;
  --q-live: #00FFA3;
  --green: var(--q-ice);
  --green-2: var(--q-ice-2);
  --green-soft: var(--q-ice);
  --series-a: #1B98C8;
  --series-up: #1B98C8;
  --series-down: #D9683A;
  --font: "Geist", system-ui, sans-serif;
  --font-display: "Geist", system-ui, sans-serif;
  --font-body: "Geist", system-ui, sans-serif;
  --r-panel: 4px;
  --r-card: 4px;
  --r-widget: 4px;
  --r-btn: 2px;
  --r-chip: 2px;
}

body { background: var(--bg); }
body, .lede, .section-head p, .info-pop, .footer, .banner { font-family: var(--font); }
::selection { color: var(--q-ink); background: var(--q-ice); }
.dot.live, .sw-green { background: var(--q-live); }
.dot.live { box-shadow: 0 0 0 3px rgba(0, 255, 163, .16); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* one label voice: small, uppercase, widely tracked */
.kicker, .kpi-label, .cat-stats span, .clone-label, .cat-foot, .foot-link, th, .vs-head span, .vs-group-label,
.live-pill, .btn, .seg button, .pager > span, .chip, .tag, .copies, .link-pill {
  font-family: var(--font-display); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}

/* ── ticker band ── */
.ticker { position: relative; overflow: hidden; height: 34px; color: var(--q-ink); background: linear-gradient(90deg, #BDEEFF 0%, #D6CCFF 50%, #BDEEFF 100%); }
.ticker-track { display: flex; align-items: center; width: max-content; height: 100%; animation: ticker 80s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tk-group { display: inline-flex; align-items: center; gap: 16px; padding: 0 22px 0 14px; white-space: nowrap; }
.tk-group::after { content: ""; width: 4px; height: 4px; margin-left: 6px; border-radius: 50%; background: currentColor; opacity: .45; }
.tk-cat { padding: 4px 8px 3px; color: var(--q-ice); background: var(--q-ink); border-radius: 2px; font-family: var(--font-display); font-size: 9px; font-weight: 700; letter-spacing: .16em; line-height: 1; text-transform: uppercase; }
.tk-coin { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 1; }
.tk-rank { font-size: 9px; font-style: normal; font-weight: 700; opacity: .5; font-variant-numeric: tabular-nums; }
.ticker .logo, .ticker .logo.ph { width: 18px; height: 18px; box-shadow: 0 0 0 1px rgba(6, 18, 26, .25); }
.ticker .logo.ph { color: var(--q-ink); background: rgba(255, 255, 255, .5); font-size: 6px; }
.tk-sym { text-transform: uppercase; }
.tk-vol { font-weight: 600; opacity: .62; font-variant-numeric: tabular-nums; }
.tk-up { color: #0B5E86; font-size: 8px; font-style: normal; }
.tk-coin.up .tk-sym { color: #0B5E86; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── nav ── */
.nav { background: rgba(6, 9, 16, .8); border-bottom: 1px solid var(--hair); }
.nav-divider { background: var(--hair); }
.nav-product { font-family: var(--font-display); font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--q-ice); }
.live-pill { padding: 7px 12px; color: var(--text-3); background: transparent; border: 1px solid var(--hair); border-radius: var(--r-btn); font-size: 10px; }
.btn { min-height: 38px; padding: 8px 16px; border-radius: var(--r-btn); font-size: 10.5px; }
.btn-primary { color: var(--q-ink); background: var(--q-ice); border-color: var(--q-ice); }
.btn-primary::after { content: "↗"; margin-left: 2px; letter-spacing: 0; }
.btn-primary:hover { background: var(--q-ice-2); border-color: var(--q-ice-2); }
.btn-secondary { color: var(--text); background: transparent; border: 1px solid var(--line-strong); }
.btn-secondary:hover { background: rgba(255, 255, 255, .05); }

/* ── hero: a drifting lattice drawn on a canvas ── */
.hero { margin: 0; padding: 104px 24px 48px; gap: 18px; border-radius: 0; background: radial-gradient(80% 70% at 50% 20%, #0E1A2C 0%, #060910 70%); }
.hero::before { display: none; }
.hero > :not(.hero-scene) { position: relative; }
.hero-scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-lattice { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-scrim { position: absolute; inset: 0; background: radial-gradient(60% 45% at 50% 32%, rgba(6, 9, 16, .7), rgba(6, 9, 16, 0) 75%), linear-gradient(180deg, rgba(6, 9, 16, .35) 0%, rgba(6, 9, 16, .05) 40%, rgba(6, 9, 16, .55) 78%, #060910 100%); }

.hero h1 { display: grid; justify-items: center; gap: 14px; max-width: none; font-family: var(--font-display); text-transform: uppercase; }
.h1-pre { position: relative; padding-left: .3em; color: rgba(255, 255, 255, .9); font-size: 12.5px; font-weight: 600; letter-spacing: .3em; line-height: 1; }
.h1-big { padding: 0 .02em; font-size: clamp(88px, 15vw, 220px); font-weight: 700; letter-spacing: -.065em; line-height: .82; background: linear-gradient(180deg, #FFFFFF 25%, #D8F5FF 55%, #7FD8F7 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 12px 40px rgba(30, 140, 200, .25)); }
.hero h1 .info-wrap { position: absolute; top: 50%; left: 100%; margin: 0 0 0 4px; transform: translateY(-50%); }
.hero h1 .info { width: 14px; height: 14px; color: rgba(255, 255, 255, .85); background: rgba(6, 18, 26, .4); border-color: rgba(255, 255, 255, .45); font-size: 8.5px; font-weight: 700; line-height: 1; letter-spacing: 0; text-transform: none; }
.hero h1 .info:hover, .hero h1 .info[aria-expanded="true"] { color: var(--q-ink); background: var(--q-ice); border-color: var(--q-ice); }
.hero h1 .info-pop { width: min(420px, calc(100vw - 32px)); font-size: 13px; font-weight: 400; line-height: 1.55; letter-spacing: 0; text-align: left; text-transform: none; }
.hero-lede { max-width: 620px; margin: 8px auto 0; color: var(--text-2); font-size: 17px; line-height: 1.5; text-align: center; }
.hero-lede b { color: #FFFFFF; font-weight: 600; }

/* ── KPI row: flat cells split by hairlines, the number leads ── */
.hero .kpi-grid { width: 100%; max-width: 1264px; margin: 96px auto 0; gap: 1px; padding: 1px; text-align: left; }
.kpi { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 22px 22px 20px; background: rgba(8, 12, 20, .66); border: 0; border-radius: 0; box-shadow: 0 0 0 1px var(--hair); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.kpi-idx { position: absolute; top: 14px; right: 16px; color: var(--text-4); font-size: 10px; font-style: normal; font-weight: 600; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.kpi strong { display: flex; align-items: baseline; gap: 0; margin: 4px 0 0; color: #FFFFFF; font-size: clamp(34px, 3.3vw, 50px); font-weight: 600; letter-spacing: -.045em; line-height: .95; font-variant-numeric: tabular-nums; }
.kpi strong.accent { color: #FFFFFF; }
.kpi strong.na { color: var(--text-4); }
.kpi .u { color: var(--q-ice); font-size: .6em; font-style: normal; font-weight: 600; letter-spacing: -.01em; }
.kpi .u:first-child { margin-right: .06em; }
.kpi .u:not(:first-child) { margin-left: .04em; }
.kpi .kpi-coin { display: flex; align-items: center; gap: 12px; min-width: 0; margin: 0; color: #FFFFFF; font: inherit; letter-spacing: inherit; text-transform: none; }
.kpi .kpi-coin .logo { width: 34px; height: 34px; }
.kpi .kpi-coin span { display: block; overflow: hidden; color: #FFFFFF; font: inherit; letter-spacing: -.04em; text-transform: none; text-overflow: ellipsis; }
.kpi-label { display: block; margin-top: 12px; color: var(--text-3); font-size: 10.5px; line-height: 1.4; }
.kpi small { display: block; margin-top: 6px; color: var(--text-3); font-size: 12.5px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi small span { display: inline; font-size: inherit; letter-spacing: 0; text-transform: none; }

/* ── section heads ── */
main { counter-reset: sec; }
.section { padding-top: 104px; counter-increment: sec; }
.section-head { gap: 32px; margin-bottom: 28px; }
.section-head > div:first-child { max-width: 1040px; }
.kicker { gap: 12px; color: var(--q-ice); font-size: 11px; }
.kicker::before { content: counter(sec, decimal-leading-zero); color: var(--text-4); font-variant-numeric: tabular-nums; }
.kicker i { width: 28px; height: 1px; border-radius: 0; background: var(--line-strong); }
.section-head h2 { margin-top: 14px; font-size: clamp(34px, 4.4vw, 58px); font-weight: 600; letter-spacing: -.045em; line-height: .98; text-transform: none; }
.section-head h2 .info-wrap { vertical-align: .55em; margin-left: 10px; }
.section-head p { max-width: 640px; margin-top: 14px; color: var(--text-3); font-size: 15px; }
.section-head p b { color: var(--text); font-weight: 600; }
.info { width: 16px; height: 16px; color: var(--text-3); border-color: var(--line-strong); font-size: 9.5px; font-weight: 700; }
h2 .info { width: 18px; height: 18px; font-size: 10px; transform: none; }

/* ── cells ── */
.cat-grid, .revived-list { gap: 1px; padding: 1px; }
.panel, .cat-card, .revived-card { background: transparent; border: 0; border-radius: 0; box-shadow: 0 0 0 1px var(--hair); }
.panel { background: rgba(255, 255, 255, .012); }
.cat-card, .revived-card { padding: 24px 24px 22px; transition: background .2s; }
.cat-card:hover, .revived-card:hover { background: rgba(255, 255, 255, .025); border: 0; }
.cat-card[aria-pressed="true"] { background: rgba(155, 231, 255, .045); box-shadow: 0 0 0 1px var(--hair), inset 0 2px 0 var(--q-ice); }
.cat-card { gap: 20px; }
.cat-head { align-items: baseline; }
.cat-head h3 { font-size: 24px; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; text-transform: none; }
.cat-head span { color: var(--text-3); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cat-stats { gap: 6px 16px; padding-bottom: 18px; border-bottom: 1px solid var(--hair); }
.cat-stats span { color: var(--text-3); font-size: 10px; }
.cat-stats b { margin-top: 8px; color: #FFFFFF; font-size: 32px; font-weight: 600; letter-spacing: -.045em; line-height: .95; font-variant-numeric: tabular-nums; }
.cat-stats .u { color: var(--q-ice); font-size: .58em; font-style: normal; font-weight: 600; letter-spacing: -.01em; }
.cat-stats .u:first-child { margin-right: .05em; }
.cat-stats > div:last-child { text-align: right; }
.cat-top { gap: 0; }
.cat-row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.cat-row:last-child { border-bottom: 0; }
.cat-row .coin b { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.cat-row .coin small { color: var(--text-3); font-size: 12px; }
.cat-row .num { color: var(--text); font-size: 13.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cat-foot, .foot-link { display: inline-flex; align-items: center; gap: 6px; color: var(--q-ice); font-size: 10.5px; }
.cat-foot i, .foot-link i { font-style: normal; letter-spacing: 0; }

/* copies card */
.revived-card { gap: 18px; }
.revived-head { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; min-width: 0; }
.revived-head .coin { display: block; min-width: 0; max-width: 100%; }
.revived-head .coin b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 22px; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; text-transform: none; }
.revived-tags { display: inline-flex; align-items: center; gap: 10px; }
.revived-tags .copies::after { content: ""; display: inline-block; width: 3px; height: 3px; margin-left: 10px; border-radius: 50%; background: var(--text-4); vertical-align: middle; }
.copies { padding: 0; color: var(--q-ice); background: none; font-size: 10.5px; font-variant-numeric: tabular-nums; }
.revived-tags .tag { padding: 0; color: var(--text-3); background: none; border: 0; font-size: 10.5px; }
.clone-vs { gap: 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.clone-side { align-content: start; gap: 10px; padding: 16px 16px 16px 0; background: none; border: 0; border-radius: 0; }
.clone-side + .clone-side { padding: 16px 0 16px 16px; border-left: 1px solid var(--hair); }
.clone-label { color: var(--text-4); font-size: 10px; }
.clone-side { min-width: 0; }
.clone-side .coin, .clone-side .coin > span { min-width: 0; }
.clone-side .coin > span { overflow: hidden; }
.clone-side .coin small { max-width: 100%; }
.clone-side .coin b { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.clone-side .coin small { color: var(--text-3); }
.clone-num { display: grid; gap: 4px; }
.clone-num b { color: #FFFFFF; font-size: 24px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.clone-num .u { color: var(--q-ice); font-size: .6em; font-style: normal; font-weight: 600; }
.clone-num .u:first-child { margin-right: .05em; }
.clone-num .r { margin-left: 6px; color: var(--text-3); font-size: 10px; font-style: normal; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.clone-num small { color: var(--text-3); font-size: 12px; line-height: 1.4; }
.foot-link { flex-shrink: 0; white-space: nowrap; }
.revived-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text-3); font-size: 12.5px; }

/* ── post-quantum coins vs BTC ── */
.vs-panel { padding: 8px 24px 16px; }
.vs-head, .vs-row { display: grid; grid-template-columns: minmax(170px, 1.2fr) minmax(140px, 1.6fr) minmax(200px, 2fr) minmax(150px, 1fr); align-items: center; gap: 24px; }
.vs-head { padding: 14px 0; border-bottom: 1px solid var(--hair); }
.vs-head span { color: var(--text-4); font-size: 9.5px; }
.vs-head .right, .vs-vol.right { text-align: right; }
.vs-group { padding-top: 6px; }
.vs-group-label { display: block; padding: 16px 0 6px; color: var(--q-ice); font-size: 10px; }
.vs-row { padding: 12px 0; color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.vs-row:hover { background: rgba(255, 255, 255, .025); }
.vs-row.is-btc b { color: #FFFFFF; }
.vs-row .coin b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.vs-row .coin small { color: var(--text-3); font-size: 12px; }
.spark { display: block; width: 100%; height: 40px; overflow: visible; }
.spark path { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark.up path { stroke: var(--series-up); }
.spark.down path { stroke: var(--series-down); }
.spark-base { stroke: var(--text-4); stroke-width: 1; stroke-dasharray: 2 3; }
.vs-change { display: grid; grid-template-columns: 1fr 78px; align-items: center; gap: 14px; }
.vs-change b { font-size: 20px; font-weight: 600; letter-spacing: -.03em; text-align: right; font-variant-numeric: tabular-nums; }
.vs-track { position: relative; height: 14px; }
.vs-zero { position: absolute; top: -4px; bottom: -4px; left: 50%; width: 1px; background: var(--text-4); }
.vs-bar { position: absolute; top: 0; bottom: 0; }
.vs-bar.up { background: var(--series-up); border-radius: 0 4px 4px 0; }
.vs-bar.down { background: var(--series-down); border-radius: 4px 0 0 4px; }
.vs-vol b { display: block; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vs-vol small { display: block; color: var(--text-3); font-size: 12px; }

/* ── tags ── */
.tag, .copies { border-radius: var(--r-chip); font-size: 9.5px; letter-spacing: .12em; white-space: nowrap; }
.tag { padding: 4px 7px 3px; color: var(--text-3); background: transparent; border: 1px solid var(--line-strong); }
.status-cell .tag + .tag { margin-left: 4px; }
.tag.real { color: var(--q-ice); background: transparent; border-color: rgba(155, 231, 255, .45); font-weight: 600; }
.tag.first { color: var(--q-lilac); background: transparent; border-color: rgba(201, 190, 255, .45); font-weight: 600; }
.tag.new { color: var(--q-ink); background: var(--q-ice); border-color: var(--q-ice); font-weight: 700; }

/* ── leaderboard ── */
.panel-flush { background: rgba(255, 255, 255, .012); }
.lb-tabs { gap: 0; padding: 0 8px; border-bottom: 1px solid var(--hair); overflow-x: auto; }
.lb-tabs button { padding: 18px 14px 16px; color: var(--text-3); border-bottom: 2px solid transparent; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; text-transform: none; white-space: nowrap; }
.lb-tabs button small { margin-left: 5px; color: var(--text-4); font-size: 10px; font-weight: 600; letter-spacing: .06em; vertical-align: super; font-variant-numeric: tabular-nums; }
.lb-tabs button:hover { color: var(--text); }
.lb-tabs button[aria-selected="true"] { color: #FFFFFF; border-bottom-color: var(--q-ice); }
.lb-tabs button[aria-selected="true"] small { color: var(--q-ice); }
.lb-bar { border-color: var(--hair); }
.seg { gap: 0; }
.seg button { min-height: 36px; padding: 6px 14px; color: var(--text-3); background: transparent; border: 1px solid var(--line-strong); border-radius: 0; font-size: 10px; }
.seg button + button { margin-left: -1px; }
.seg button:first-child { border-radius: var(--r-btn) 0 0 var(--r-btn); }
.seg button:last-child { border-radius: 0 var(--r-btn) var(--r-btn) 0; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { position: relative; color: var(--q-ink); background: var(--q-ice); border-color: var(--q-ice); font-weight: 700; }
.lb-chain select { min-height: 36px; padding: 6px 30px 6px 12px; color: var(--text); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1px solid var(--line-strong); border-radius: var(--r-btn); font-family: var(--font); font-size: 13px; -webkit-appearance: none; appearance: none; }
.lb-chain select option { color: #000; }
.lb-search input { min-height: 36px; padding: 6px 12px; background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-btn); font-size: 13px; }
.lb-search input::placeholder { color: var(--text-4); }
.lb-search input:focus { border-color: var(--q-ice); }
.lb-search .btn { min-height: 36px; }
.filter-chip { color: var(--text); background: transparent; border: 1px solid rgba(155, 231, 255, .45); border-radius: var(--r-btn); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pager > span { color: var(--text-3); font-size: 10px; font-variant-numeric: tabular-nums; }
.pager button { min-width: 36px; min-height: 36px; color: var(--text-2); background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-btn); font-size: 14px; }
.chip { gap: 8px; padding: 6px 10px; color: var(--text-3); background: transparent; border: 1px solid var(--hair); border-radius: var(--r-chip); font-size: 9.5px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.chip b { color: var(--text); font-weight: 700; }
th { padding-top: 14px; padding-bottom: 14px; color: var(--text-4); background: #0A0E17; border-bottom: 1px solid var(--hair); font-size: 9.5px; }
#lbTable td { border-bottom: 1px solid var(--line); font-size: 13.5px; font-variant-numeric: tabular-nums; }
#lbTable td.right b { color: #FFFFFF; font-weight: 600; }
.rank-cell { color: var(--text-4); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
#lbTable .coin b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
#lbTable .coin small { color: var(--text-3); font-size: 12px; }
.when b { color: var(--text); font-family: var(--font); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.when small { color: var(--text-4); font-size: 11.5px; }
.ca-btn, .link-pill { padding: 4px 7px 3px; color: var(--text-3); background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-chip); font-size: 9.5px; }
.ca-btn { letter-spacing: .02em; font-family: var(--font-mono); font-weight: 500; font-size: 11px; }
.ca-btn:hover, .link-pill:hover { color: var(--text); border-color: var(--text-3); background: transparent; }
.lb-status { color: var(--text-3); font-size: 12.5px; }
#lbTable tbody tr.on td { background: rgba(155, 231, 255, .045); }
@keyframes fresh { from { background: rgba(155, 231, 255, .16); } to { background: transparent; } }

/* ── chart ── */
.chart-svg .tick { fill: var(--text-4); font-family: var(--font); font-variant-numeric: tabular-nums; }
.chart-svg .grid { stroke: var(--line); }
.chart-svg .axis { stroke: var(--hair); }
.chart-svg .bar { fill: var(--series-a); }
.chart-svg .bar.on { fill: #4DB3DC; }
.chart-svg .event { stroke: var(--q-lilac); stroke-opacity: .6; stroke-dasharray: 3 3; }
.chart-svg .event-label { fill: var(--q-lilac); font-family: var(--font-display); font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tooltip { background: #111827; border: 1px solid var(--line-strong); border-radius: var(--r-widget); }
.key-dep { background: var(--series-a); }
.table-view summary { color: var(--text-3); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* ── popovers and footer ── */
.info-pop { background: #111827; border: 1px solid var(--line-strong); border-radius: var(--r-widget); }
.footer { position: relative; border-top: 1px solid var(--hair); color: var(--text-3); }
.footer a { color: var(--q-ice); }

@media (max-width: 900px) {
  .vs-head { display: none; }
  .vs-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 16px; }
  .vs-spark { grid-column: 1 / -1; order: 3; }
  .vs-change { grid-column: 1 / -1; order: 4; }
}
@media (max-width: 680px) {
  .tk-coin { font-size: 10.5px; }
  .hero { padding: 64px 16px 28px; }
  .h1-pre { font-size: 10.5px; letter-spacing: .24em; }
  .h1-big { font-size: clamp(64px, 20vw, 120px); }
  .hero-lede { font-size: 15px; }
  .hero .kpi-grid { margin-top: 64px; }
  .kpi { padding: 18px 16px 16px; }
  .kpi strong { font-size: 32px; }
  .kpi small { white-space: normal; }
  .cat-card, .revived-card { padding: 20px 16px 18px; }
  .cat-head h3, .revived-head .coin b { font-size: 20px; }
  .vs-panel { padding: 4px 16px 12px; }
  .lb-tabs button { padding: 14px 10px 12px; font-size: 13.5px; }
  .nav-inner { gap: 10px; padding: 0 16px; }
  .brand img { width: 108px; }
  .live-pill { flex: 0 1 auto; min-width: 0; overflow: hidden; padding: 6px 8px; font-size: 9px; letter-spacing: .1em; }
  #statusText { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .kpi .kpi-coin { gap: 8px; }
  .kpi .kpi-coin .logo { width: 26px; height: 26px; }
}
