:root {
  /* surfaces: a calm dark workspace */
  --bg: #111113;
  --panel: #18181b;
  --raised: #1f1f23;
  --raised-2: #27272c;
  --soft: #1c1c20;
  --sunk: #141416;
  --line: #2a2a30;
  --line2: #36363d;
  --line-faint: #212126;
  /* text */
  --text: #ececee;
  --ink-2: #c8c8cd;
  --muted: #a1a1aa;
  --dim: #71717a;
  /* the one accent */
  --brand: #8b8cff;
  --brand-ink: #a5a6ff;
  --brand-fill: #5b5bd6;
  --brand-fill-hi: #6767e0;
  --brand-bg: rgba(139, 140, 255, .12);
  --brand-on: #23233a;
  --brand-line: rgba(139, 140, 255, .38);
  /* leans: bullish, mixed, bearish */
  --buy: #3fb68b;
  --buy-d: rgba(63, 182, 139, .13);
  --buy-ink: #5cc9a0;
  --sell: #ef6461;
  --sell-d: rgba(239, 100, 97, .13);
  --sell-ink: #f28583;
  --amber: #e3a63b;
  --amber-d: rgba(227, 166, 59, .13);
  --amber-ink: #ebb75a;
  /* wallets and streamers */
  --violet: #a78bfa;
  --violet-d: rgba(167, 139, 250, .12);
  --violet-line: rgba(167, 139, 250, .32);
  --violet-ink: #c4b5fd;
  --cyan: #6aa8f0;
  --cyan-d: rgba(106, 168, 240, .12);
  --cyan-line: rgba(106, 168, 240, .32);
  --cyan-ink: #9cc6f7;
  --up: #5cc9a0;
  --down: #f28583;
  --live: #ef4444;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --top: 56px;
  --tick: 38px;
  --fb: 61px;
  --wrap: 1200px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  background: var(--bg); color: var(--text); font: 400 14px/1.5 var(--sans); font-feature-settings: "cv11";
  min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
}
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.mono, .addr, code { font-family: var(--mono); }
.num, time { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
::selection { background: rgba(139, 140, 255, .3); }

/* --- top bar and the live ticker --------------------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 22; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  height: var(--top); padding: 0 max(24px, calc(50% - var(--wrap) / 2 + 24px)); background: var(--bg); border-bottom: 1px solid var(--line); }
.brand-wrap { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand-mark { flex: none; color: var(--text); }
.word { font: 700 15px/1 var(--sans); letter-spacing: .1em; color: var(--text); }
.meta { display: flex; gap: 10px; align-items: center; }
/* Live | Overview | Heatmap */
.pagetabs { display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); flex: none; }
.pagetabs button { position: relative; font: 500 13px var(--sans); padding: 5px 14px; border-radius: 6px; color: var(--muted); transition: color .12s, background .12s; }
.pagetabs button:hover { color: var(--text); }
.pagetabs button.on { background: var(--raised-2); color: var(--text); }
.pagetabs .new-dot { position: absolute; top: 4px; right: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); border: 1.5px solid var(--panel); }
body[data-page="overview"] main > :not(#overview) { display: none !important; }
body:not([data-page="overview"]) #overview { display: none; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: 12.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.pill b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.suggest-btn { transition: .15s; }
.suggest-btn:hover { color: var(--text); border-color: var(--line2); background: var(--raised); }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.live-pill.on { border-color: rgba(239, 68, 68, .32); background: rgba(239, 68, 68, .08); color: #f59a9a; }
.live-pill.on b { color: #fbb4b4; }
.live-pill.on i { background: var(--live); }
.conn { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none; }
.conn.ok { background: var(--buy); }
.conn.bad { background: var(--sell); }
.coin-pill { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line2);
  background: var(--panel); font: 600 12.5px var(--sans); color: var(--text); white-space: nowrap; transition: border-color .15s, background .15s; flex: none; }
.coin-pill:hover { border-color: var(--brand-line); background: var(--raised); }

.ticker { position: sticky; top: var(--top); z-index: 21; height: var(--tick); overflow: hidden; border-bottom: 1px solid var(--line); background: var(--panel); }
.ticker-inner { display: inline-flex; align-items: center; height: 100%; gap: 30px; white-space: nowrap; padding-left: 24px; animation: tick 90s linear infinite; will-change: transform; }
.ticker:hover .ticker-inner { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tk { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
a.tk:hover, a.tk:hover .sym { color: var(--text); }
.tk b { color: var(--ink-2); font-weight: 600; }
.tk .sym { font-weight: 600; color: var(--text); }
.tk .side { font-weight: 600; font-size: 12px; }
.tk .side.buy { color: var(--buy-ink); } .tk .side.sell { color: var(--sell-ink); } .tk .side.tip { color: var(--amber-ink); }
.tk .w { color: var(--violet-ink); font-weight: 500; }
.tk-empty { color: var(--dim); font-size: 12.5px; }

main { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 22px 24px 40px; }

/* --- panels ------------------------------------------------------------------------------------------------ */
.spot, .now, .coin-section, .feed-wrap { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.spot { padding: 24px 26px 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; font: 500 12.5px/1 var(--sans); padding: 0 12px; border-radius: 8px; border: 1px solid var(--line2);
  background: var(--raised); color: var(--ink-2); transition: background .12s, border-color .12s, color .12s; white-space: nowrap; }
.btn:hover { color: var(--text); background: var(--raised-2); }
.btn:active { background: var(--soft); }
.btn.primary { background: var(--brand-fill); color: #fff; border-color: var(--brand-fill); font-weight: 600; }
.btn.primary:hover { background: var(--brand-fill-hi); border-color: var(--brand-fill-hi); }

/* --- right now: the one bar a trader reads first ----------------------------------------------------------- */
.now { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 28px; align-items: center; padding: 20px 22px; }
.now-eb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 600 13px/1.2 var(--sans); color: var(--text); margin-bottom: 9px; }
.now-eb .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--buy); flex: none; }
.now-eb .now-meta { color: var(--muted); font-weight: 400; }
.now-head { font: 650 clamp(18px, 1.9vw, 23px)/1.3 var(--sans); letter-spacing: -.02em; margin: 0; text-wrap: balance; max-width: 62ch; }
.now-sum { margin: 10px 0 0; max-width: 72ch; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.recap { margin-top: 28px; padding: 22px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.rc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rc-head h3 { margin: 0; font: 700 20px/1.25 var(--sans); letter-spacing: -.015em; }
.rc-meta { margin: 4px 0 0; font-size: 12.5px; color: var(--dim); }
.rc-tabs { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--sunk); }
.rc-tabs button { font: 600 12.5px/1 var(--sans); color: var(--muted); padding: 7px 11px; border-radius: 6px; }
.rc-tabs button.on { color: var(--text); background: var(--raised); }
.rc-intro { margin: 14px 0 0; font-size: 15px; color: var(--text); max-width: 75ch; }
.rc-empty { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.rc-grid { columns: 2 360px; column-gap: 36px; margin-top: 18px; }
.rc-sec { break-inside: avoid; margin-bottom: 20px; }
.rc-sec h4 { margin: 0 0 8px; font: 600 11.5px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--dim); }
.rc-runner .rc-line { font-size: 16px; color: var(--brand-ink); }
.rc-coin { margin-bottom: 10px; }
.rc-line { font-weight: 600; font-size: 14.5px; color: var(--text); font-variant-numeric: tabular-nums; text-decoration: none; }
a.rc-line:hover { text-decoration: underline; text-underline-offset: 3px; }
.rc-line span { color: var(--dim); font-size: 12px; }
.rc-coin ul { margin: 4px 0 0; padding-left: 18px; }
.rc-coin li { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.read-sum { margin: 10px 0 0; max-width: 78ch; font-size: 16px; line-height: 1.6; color: var(--muted); }
.now-cta { margin-top: 14px; height: 36px; padding: 0 16px; font-size: 13.5px; }
.now-cta span { transition: transform .15s; }
.now-cta:hover span { transform: translateX(3px); }
.now-coins { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.now-coins:empty { display: none; }
.nc { display: grid; grid-template-columns: auto auto; gap: 1px 10px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--raised); transition: border-color .15s, background .15s; text-align: left; }
.nc:hover { border-color: var(--line2); background: var(--raised-2); }
.nc .cimg { grid-row: span 2; width: 32px; height: 32px; }
.nc .s { font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.nc .d { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.vibe { display: inline-flex; align-items: center; font: 600 12px/1 var(--sans); padding: 4px 9px; border-radius: 999px; color: color-mix(in srgb, var(--c) 82%, #fff); background: color-mix(in srgb, var(--c) 14%, transparent); white-space: nowrap; }
.read-title.fresh, .now-head.fresh { animation: rise .6s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* --- the overview: a markets letter ------------------------------------------------------------------------- */
.ov-mast { padding: 10px 0 30px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.ov-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.ov-name { font-weight: 600; color: var(--text); }
.ov-when::before { content: "·"; margin-right: 10px; color: var(--dim); }
.desk-nav { margin-left: auto; display: flex; gap: 4px; }
.desk-nav button { width: 30px; height: 30px; border-radius: 7px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 17px; line-height: 1; }
.desk-nav button:hover:not(:disabled) { color: var(--text); border-color: var(--line2); background: var(--raised); }
.desk-nav button:disabled { opacity: .35; cursor: default; }
.read-title { font: 700 clamp(26px, 3.3vw, 38px)/1.14 var(--sans); letter-spacing: -.028em; margin: 16px 0 0; text-wrap: balance; max-width: 30ch; color: var(--text); }
.desk-foot { display: flex; gap: 10px 14px; align-items: baseline; flex-wrap: wrap; margin-top: 18px; }
.desk-foot:empty { display: none; }
.watch { margin: 0; flex: 1 1 320px; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 78ch; }
.watch b { color: var(--text); font-weight: 600; margin-right: 3px; }
.theses { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.thesis-hint { margin: 0; color: var(--muted); font-size: 14px; }
.story { display: flex; flex-direction: column; min-width: 0; padding: 20px 22px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.story.lead { grid-column: 1 / -1; padding: 26px 28px; }
.story.has-aside { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 32px; align-items: start; }
.story-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1; }
.kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--muted); }
.k-kind { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: var(--ink-2); }
.k-kind::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--c); }
.k-stance { font-weight: 600; color: color-mix(in srgb, var(--c) 85%, #fff); }
.k-conv { color: var(--muted); }
.k-conv.high { font-weight: 600; color: var(--text); }
.k-stance::before, .k-conv::before { content: "·"; margin-right: 10px; color: var(--dim); font-weight: 400; }
.story-title { margin: 0; font: 650 18px/1.3 var(--sans); letter-spacing: -.014em; color: var(--text); text-wrap: pretty; }
.story.lead .story-title { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.2; letter-spacing: -.022em; max-width: 34ch; }
.story-body { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.story.lead .story-body { font-size: 16px; line-height: 1.6; max-width: 68ch; }
.story b { color: var(--text); font-weight: 600; }
.story-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: auto; padding-top: 8px; }
.people { display: flex; flex-wrap: wrap; gap: 6px; }
.person { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 3px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 500; color: var(--ink-2); transition: border-color .12s, color .12s; }
.person:hover { color: var(--text); border-color: var(--line2); }
.lead-coin { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px; border-radius: 10px; background: var(--raised); border: 1px solid var(--line); transition: border-color .15s; }
.lead-coin:hover { border-color: var(--line2); }
.lc-head { display: flex; align-items: center; gap: 10px; }
.lc-head .cimg { width: 36px; height: 36px; border-radius: 9px; }
.lc-sym { font: 650 17px var(--sans); letter-spacing: -.01em; }
.lead-coin dl { margin: 0; display: grid; gap: 9px; }
.lead-coin dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lead-coin dt { color: var(--muted); font-size: 12.5px; }
.lead-coin dd { margin: 0; font-weight: 600; font-size: 13.5px; font-variant-numeric: tabular-nums; text-align: right; }
.lc-go { font-size: 12.5px; font-weight: 500; color: var(--brand-ink); }
/* yesterday */
.yday { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.yday-head { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.yday-head h3 { margin: 0; font: 650 20px var(--sans); letter-spacing: -.016em; }
.yday-day { color: var(--muted); font-size: 13px; }
.yday-head .btn { margin-left: auto; align-self: center; }
.yday-short { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 80ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.yday.open .yday-short { -webkit-line-clamp: unset; }
.yday-short b { color: var(--text); font-weight: 600; }
.yday-body { display: none; margin-top: 20px; }
.yday.open .yday-body { display: block; }
.yday-sub { margin: 28px 0 4px; font: 600 15px var(--sans); color: var(--text); }
.watchlist { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 80ch; }
.watchlist li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.watchlist li::before { content: "→"; position: absolute; left: 0; color: var(--brand); }
.watchlist b { color: var(--text); font-weight: 600; }
.opus { margin-top: 14px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--soft); font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.opus .eb { display: block; font: 600 13px var(--sans); color: var(--text); margin-bottom: 4px; }
.opus b { color: var(--text); font-weight: 600; }

/* --- filter bar -------------------------------------------------------------------------------------------- */
.filterbar { position: sticky; top: calc(var(--top) + var(--tick)); z-index: 15; display: flex; align-items: center; gap: 10px; margin: 16px -24px 0; padding: 10px 24px;
  background: var(--bg); border-bottom: 1px solid var(--line); }
.fb-all { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel); font: 600 13px var(--sans); color: var(--ink-2); transition: .15s; }
.fb-all:hover { border-color: #46464e; color: var(--text); }
.fb-all.on, .fs.named.on, .cb.on { background: var(--brand-on); color: var(--text); border-color: var(--brand-line); }
.fb-scroll { display: flex; align-items: center; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; min-width: 0; }
.fb-scroll::-webkit-scrollbar { display: none; }
.fb-group { display: flex; gap: 6px; align-items: center; flex: none; }
.fb-sep { width: 1px; height: 24px; background: var(--line2); flex: none; }
/* streamer chips: live ones wear a story ring with a gap; offline ones are faded faces */
.fs { position: relative; flex: none; display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; transition: background .15s, border-color .15s, color .15s; }
.fs-ring { display: grid; place-items: center; width: 36px; height: 36px; padding: 2.5px; border-radius: 50%; flex: none; background: transparent; transition: background .15s; }
.fs-ring .avatar { width: 100%; height: 100%; border: 2px solid var(--panel); font-size: 10.5px; }
.fs.off .fs-ring .avatar { border-color: var(--bg); }
.fs.named.on .fs-ring .avatar { border-color: var(--brand-on); }
.fs.live .fs-ring { background: linear-gradient(45deg, #fdb53a 0%, #f77737 28%, #e1306c 62%, #c13584 100%); }
.fs.named { height: 40px; padding: 0 13px 0 1px; border: 1px solid var(--line2); background: var(--panel); font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.fs.named:hover { border-color: #46464e; color: var(--text); }
.fs.off .avatar { filter: grayscale(.8); opacity: .45; transition: opacity .15s, filter .15s; }
.fs.off:hover .avatar { opacity: .85; filter: grayscale(.3); }
.fs.off:hover .fs-ring { background: var(--line2); }
.fs.off.on .fs-ring { background: var(--brand); }
.fs.off.on .avatar { opacity: 1; filter: none; }
.fs-label { flex: none; margin: 0 2px 0 6px; font-size: 12px; font-weight: 500; color: var(--dim); }
.fs-more { flex: none; height: 30px; min-width: 30px; padding: 0 9px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); color: var(--muted); font: 600 12px var(--sans); transition: .15s; }
.fs-more:hover { background: var(--raised-2); color: var(--text); }
.cb { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line2);
  background: var(--panel); font: 600 12.5px var(--sans); color: var(--text); transition: .15s; white-space: nowrap; }
.cb:hover { border-color: #46464e; }
.cb .n { color: var(--dim); font-weight: 500; font-variant-numeric: tabular-nums; }
.cb.on .n { color: var(--muted); }
.fb-empty { color: var(--dim); font-size: 13px; white-space: nowrap; }
.lean { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }

/* --- spotlight: a picked coin or streamer ------------------------------------------------------------------ */
.spot-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.spot-head .cimg { width: 48px; height: 48px; border-radius: 12px; font-size: 14px; }
.spot-head .avatar { width: 54px; height: 54px; }
.spot-title { font: 700 24px/1.15 var(--sans); letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.spot-name { color: var(--muted); font-size: 13px; margin-top: 2px; }
.spot-name .pill { height: 24px; padding: 0 9px; font-size: 12px; }
.spot-nums { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.spot-nums div { text-align: right; }
.spot-nums label, .stat label, .coin-section .nums label { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.spot-nums span { font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; }
.spot-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.sentiment { display: flex; gap: 2px; height: 6px; width: 220px; max-width: 100%; border-radius: 3px; overflow: hidden; background: var(--raised-2); }
.sentiment i { display: block; height: 100%; }
.spot-row .hint { font-size: 13px; }
.spot-links { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.spot-now { margin: 16px 0 0; font-size: 16px; line-height: 1.55; max-width: 90ch; color: var(--text); }
.spot-bullets { max-width: 90ch; }
.spot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 18px; }
.spot-col { padding: 0 14px 10px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); min-width: 0; max-height: 420px; overflow-y: auto; scrollbar-color: var(--line2) transparent; }
.spot-col h3 { position: sticky; top: 0; z-index: 1; margin: 0 -14px 4px; padding: 12px 14px 8px; background: var(--soft); font: 600 13px var(--sans); color: var(--text); }
.spot-col .row { padding: 9px 0; border-top: 1px solid var(--line); }
.spot-col h3 + .row { border-top: 0; padding-top: 2px; }
.spot-col .row .l1 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.spot-col .row .l1 time { margin-left: auto; color: var(--dim); font-size: 11.5px; }
.spot-col .row p { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }
.spot-col .note-row { border-bottom: 0; }
.spot-col .note-row .l1 time { margin-left: 0; }

/* --- avatars and coin images ------------------------------------------------------------------------------- */
.cimg { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; background: var(--raised-2); display: grid; place-items: center; font: 700 11px var(--sans); color: var(--ink-2); overflow: hidden; flex: none; }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #26263a; flex: none; display: grid; place-items: center; font: 600 15px var(--sans); color: var(--brand-ink); }
.avatar.sm { width: 22px; height: 22px; font-size: 10px; }
.avatar.xs { width: 20px; height: 20px; font-size: 9px; }

/* --- chips, tags, trades ----------------------------------------------------------------------------------- */
.board { margin-top: 18px; }
.hint { color: var(--dim); font-size: 12.5px; }
.skeleton { display: grid; gap: 8px; }
.skeleton i { height: 11px; border-radius: 6px; background: var(--raised); animation: breathe 1.6s ease-in-out infinite; }
.skeleton i:nth-child(2) { width: 75%; }
@keyframes breathe { 50% { opacity: .5; } }
.note-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.note-row time { font-size: 11.5px; color: var(--dim); }
.note-row p { margin: 4px 0 6px; font-size: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 7px; font: 600 12.5px/1.35 var(--sans); border: 1px solid transparent; transition: border-color .12s, background .12s; white-space: nowrap; max-width: 100%; }
.chip .sym { overflow: hidden; text-overflow: ellipsis; }
.chip.coin { background: var(--raised); color: var(--text); border-color: var(--line2); }
.chip.coin:hover { border-color: var(--brand-line); background: var(--raised-2); }
.chip.coin .mc { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.chip.coin.unpinned { color: var(--muted); border-style: dashed; cursor: help; }
.chip.coin.unpinned:hover { border-color: var(--line2); background: var(--raised); }
.chip.wallet { background: var(--violet-d); color: var(--violet-ink); border-color: var(--violet-line); }
.chip.wallet:hover { border-color: var(--violet); }
.chip.wallet::before { content: "◈"; color: var(--violet); }
.chip.streamer { background: var(--cyan-d); color: var(--cyan-ink); border-color: var(--cyan-line); }
.chip.streamer:hover { border-color: var(--cyan); }
/* how old the coin is: brand new ones stand out */
.age { flex: none; font: 500 11.5px/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.age.new { padding: 3px 6px; border-radius: 5px; font-weight: 600; font-size: 11px; letter-spacing: .02em; color: var(--brand-ink); background: var(--brand-bg); }
.age.old { color: var(--dim); }
.addr { font-size: 11px; font-weight: 500; color: var(--muted); }
.up { color: var(--up); } .down { color: var(--down); }

.trade { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px 2px 2px; border-radius: 7px; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--text); background: var(--raised); border: 1px solid var(--line2); white-space: nowrap; transition: border-color .12s; }
.trade:hover { border-color: #46464e; }
.trade .side { font: 600 11px/1 var(--sans); padding: 4px 6px; border-radius: 5px; }
.trade.buy .side { color: var(--buy-ink); background: var(--buy-d); }
.trade.sell .side { color: var(--sell-ink); background: var(--sell-d); }
.trade b { font-weight: 600; }
.dimmed { color: var(--dim); }
.onchain { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }

.stance, .kindtag { font: 600 11.5px/1 var(--sans); padding: 4px 7px; border-radius: 5px; text-transform: capitalize; white-space: nowrap; }
.stance { color: color-mix(in srgb, var(--c) 82%, #fff); background: color-mix(in srgb, var(--c) 14%, transparent); }
.kindtag { color: var(--amber-ink); background: var(--amber-d); }
.kindtag.bought { color: var(--buy-ink); background: var(--buy-d); }
.kindtag.update { color: var(--brand-ink); background: var(--brand-bg); }
.earlier { margin-top: 6px; padding: 6px 0 0 10px; border-left: 2px solid var(--line); font-size: 13px; color: var(--muted); }
.earlier span { display: block; font-size: 11.5px; font-weight: 600; margin-bottom: 2px; }
/* the fast lane: just said, the take follows */
.just { font-size: 12.5px; color: var(--muted); }
.item.maybe { opacity: .72; }
.growing { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--sans); color: var(--brand-ink); }
.growing::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: breathe 1.6s ease-in-out infinite; }
.why.grew { animation: grew 1.4s ease-out; border-radius: 4px; }
.why.pending { color: var(--muted); font-style: italic; }
@keyframes grew { from { background: var(--brand-bg); } to { background: transparent; } }
.badge-other { font: 600 11px/1 var(--sans); color: var(--amber-ink); border: 1px solid rgba(227, 166, 59, .35); padding: 3px 6px; border-radius: 5px; }
.deep { font-size: 11.5px; font-weight: 600; color: var(--cyan-ink); }
/* what the wallet database knows, as small chips to Solscan (the details are in their tooltips) */
.wtags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.wtag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--raised);
  font-size: 11.5px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: border-color .12s, color .12s; }
.wtag:hover { border-color: var(--line2); color: var(--text); }
.wtag b { font-weight: 600; color: var(--ink-2); }
.wtag .addr { color: var(--ink-2); }
.wlbl { margin-left: 4px; font-size: 11.5px; color: var(--dim); }

/* --- the feed: its own scrolling panel, scroll carries on to the page at either end ------------------------- */
.feed-wrap { display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  height: calc(100vh - var(--top) - var(--tick) - var(--fb) - 26px); height: calc(100dvh - var(--top) - var(--tick) - var(--fb) - 26px); min-height: 480px; }
.feed-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.feed-head h2 { font: 650 16px var(--sans); letter-spacing: -.012em; margin: 0; white-space: nowrap; }
.feed-filter { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tabs { display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--bg); border: 1px solid var(--line); min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 6px; font: 500 13px var(--sans); color: var(--muted); transition: background .12s, color .12s; }
.tabs button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tabs button:hover { color: var(--text); }
.tabs button.on { background: var(--raised-2); color: var(--text); }
.tabs .n { min-width: 20px; padding: 1px 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 11px; line-height: 1.45; font-variant-numeric: tabular-nums; color: var(--muted); text-align: center; }
.tabs .n:empty { display: none; }
.tabs button.on .n { background: rgba(255, 255, 255, .1); color: var(--ink-2); }
.feed { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 2px 0; scrollbar-color: var(--line2) transparent; }
.item { content-visibility: auto; contain-intrinsic-size: auto 110px; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 13px 16px; border-top: 1px solid var(--line); transition: background .15s; }
.item:first-child { border-top: 0; }
.item:hover { background: var(--soft); }
.item > .avatar.sm { width: 30px; height: 30px; font-size: 11px; }
.item.enter { animation: slidein .45s ease-out; }
@keyframes slidein { from { opacity: 0; transform: translateY(-6px); background: var(--brand-bg); } to { opacity: 1; transform: none; } }
.item .line1 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.item .line1 .who { font-weight: 600; flex: none; cursor: pointer; }
.item .line1 .who:hover { color: var(--brand-ink); }
.item .line1 .on { color: var(--muted); }
.item .line1 time { margin-left: auto; color: var(--dim); font-size: 11.5px; }
.item .why { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin-top: 4px; max-width: 95ch; }
.empty { color: var(--muted); font-size: 13px; padding: 20px 16px; }
.plat { font: 700 9.5px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 3px 6px; border-radius: 4px; flex: none; }
.plat.twitch { color: #c4a5ff; background: rgba(145, 70, 255, .18); }
.plat.kick { color: #7ee35a; background: rgba(83, 252, 24, .12); }
a.plat { text-decoration: none; transition: background .15s, color .15s; }
a.plat.twitch:hover { background: #9146ff; color: #fff; }
a.plat.kick:hover { background: #53fc18; color: #0b2a03; }
.more { display: block; width: calc(100% - 24px); margin: 6px auto 12px; height: 38px; border-radius: 10px; border: 1px dashed var(--line2); color: var(--muted); font-size: 13px; font-weight: 500; }
.more:hover { color: var(--text); border-style: solid; background: var(--soft); }

/* --- proof on every take: what they said, watch the moment ------------------------------------------------- */
.proof { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pf { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; border-radius: 6px; border: 1px solid var(--line); background: transparent;
  font: 500 12px var(--sans); color: var(--muted); transition: background .12s, border-color .12s, color .12s; white-space: nowrap; }
.pf:hover { border-color: var(--line2); background: var(--raised); color: var(--text); }
.pf.on { color: var(--brand-ink); background: var(--brand-bg); border-color: var(--brand-line); }
.said { margin-top: 8px; padding: 9px 11px; border-radius: 8px; background: var(--sunk); border: 1px solid var(--line); font: 400 12.5px/1.6 var(--sans); color: var(--muted); max-height: 220px; overflow-y: auto; scrollbar-color: var(--line2) transparent; }
.said div { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 8px; }
.said time { color: var(--dim); font-size: 11px; line-height: 1.9; }
.said .here { color: var(--text); background: var(--brand-bg); margin: 0 -11px; padding: 0 11px; }
.said .here time { color: var(--brand-ink); }
.said .src { display: block; margin-top: 6px; color: var(--dim); font-size: 11.5px; }
.said .src.none { margin: 0; color: var(--muted); font-size: 12.5px; }
.clipvid { width: 100%; border-radius: 12px; background: #000; margin-top: 16px; max-height: 60vh; }

/* --- the coin ---------------------------------------------------------------------------------------------- */
.coin-section { margin-top: 30px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 22px; align-items: center; padding: 22px 26px; }
.coin-section .tokbig { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-bg); border: 1px solid var(--brand-line); color: var(--brand-ink); font: 700 24px var(--sans); }
.coin-section h2 { margin: 0; font: 700 21px var(--sans); letter-spacing: -.02em; }
.coin-section h2 span { color: var(--brand-ink); }
.coin-section p { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; max-width: 80ch; }
.coin-section .ca { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; color: var(--muted); }
.coin-section .ca code { font-size: 12.5px; color: var(--text); background: var(--sunk); border: 1px dashed var(--line2); padding: 5px 9px; border-radius: 7px; word-break: break-all; }
.coin-section .nums { display: flex; gap: 20px; }
.coin-section .nums span { font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; }

/* --- drawer ------------------------------------------------------------------------------------------------ */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; z-index: 41; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); background: var(--panel); border-left: 1px solid var(--line); transform: translateX(102%); transition: transform .28s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
.drawer.on { transform: none; }
.drawer .close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line2); font-size: 20px; line-height: 1; color: var(--muted); z-index: 2; background: var(--raised); }
.drawer .close:hover { color: var(--text); background: var(--raised-2); }
.drawer-body { overflow-y: auto; padding: 24px; scrollbar-color: var(--line2) transparent; }
.drawer-body .item { padding: 12px 0; }
.drawer-body .item:hover { background: none; }
.d-head { display: flex; gap: 14px; align-items: center; padding-right: 40px; }
.d-head .cimg { width: 52px; height: 52px; border-radius: 12px; font-size: 15px; }
.d-title { font: 700 22px/1.15 var(--sans); letter-spacing: -.02em; }
.d-sub { color: var(--muted); font-size: 13px; margin-top: 3px; word-break: break-all; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 18px 0; }
.stat { padding: 10px 12px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); min-width: 0; }
.stat span { font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chart { width: 100%; height: 340px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--sunk); margin-bottom: 18px; }
.chart iframe { width: 100%; height: 100%; border: 0; }
.d-section { font: 600 13px var(--sans); color: var(--text); margin: 22px 0 8px; }
.transcript { font: 400 13px/1.6 var(--sans); color: var(--ink-2); }
.transcript div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px; padding: 2px 0; }
.transcript time { color: var(--dim); font-size: 11.5px; line-height: 1.9; }
.bullets { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.bullets li { color: var(--ink-2); font-size: 13px; padding-left: 14px; position: relative; }
.bullets li::before { content: "›"; position: absolute; left: 0; color: var(--dim); }
.how { color: var(--ink-2); font-size: 12.5px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 16px; }
.how b { color: var(--text); font-weight: 600; }

/* --- suggest a streamer ------------------------------------------------------------------------------------ */
.modal { position: fixed; z-index: 45; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 24px; border-radius: 14px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); animation: pop .2s ease-out; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -48%); } to { opacity: 1; transform: translate(-50%, -50%); } }
.modal h2 { margin: 0 0 4px; font: 700 20px var(--sans); letter-spacing: -.02em; }
.modal .hint { color: var(--muted); font-size: 13px; margin: 0; padding-right: 30px; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line2); color: var(--muted); font-size: 18px; line-height: 1; background: var(--raised); }
.modal-close:hover { color: var(--text); background: var(--raised-2); }
.suggest-form { display: grid; gap: 10px; margin-top: 14px; }
.suggest-form input, .suggest-form textarea { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line2); background: var(--sunk); color: var(--text); outline: none; resize: vertical; }
.suggest-form input::placeholder, .suggest-form textarea::placeholder { color: var(--dim); }
.suggest-form input:focus, .suggest-form textarea:focus { border-color: var(--brand); }
.suggest-form .btn { justify-self: start; height: 36px; padding: 0 16px; }
.sg-msg { font-size: 13px; min-height: 18px; color: var(--muted); }
.sg-msg.bad { color: var(--sell-ink); } .sg-msg.good { color: var(--buy-ink); }
.sg-list { display: grid; gap: 6px; max-height: 260px; overflow-y: auto; }
.sg { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--soft); }
.sg .nm { font-weight: 600; }
.sg .note { color: var(--muted); font-size: 12px; }
.sg .st { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--dim); text-transform: capitalize; }
.sg .st.approved { color: var(--buy-ink); }
.sg .acts { display: flex; gap: 6px; margin-left: auto; }
.sg .acts .btn { height: 28px; padding: 0 10px; font-size: 12px; }

/* --- toasts and footer ------------------------------------------------------------------------------------- */
.toasts { position: fixed; z-index: 50; bottom: 20px; left: 20px; display: grid; gap: 8px; }
.toast { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 10px; background: var(--raised); color: var(--text); border: 1px solid var(--line2); font-size: 13px; animation: toast .35s ease-out; max-width: min(360px, calc(100vw - 32px)); }
.toast b { font-weight: 600; }
.toast.out { opacity: 0; transform: translateY(6px); transition: .3s; }
@keyframes toast { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.foot { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 0 24px 30px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 12px; }

/* --- smaller screens --------------------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .now { grid-template-columns: minmax(0, 1fr); }
  .now-coins { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .suggest-btn { display: none; }  /* the header's middle tabs need the room */
  .coin-section { grid-template-columns: auto minmax(0, 1fr); }
  .coin-section .nums { grid-column: 1 / -1; }
  .story.has-aside { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 700px) {
  .feed-head { flex-direction: column; align-items: stretch; }
  .feed-filter { width: 100%; }
  .feed-filter .tabs { flex: 1; }
}
/* phones: the wordmark and the live count on one row, the three pages under it */
@media (max-width: 640px) {
  :root { --top: 92px; }
  .top { flex-wrap: wrap; align-content: center; row-gap: 8px; padding: 0 16px; gap: 8px 10px; }
  .brand-wrap { order: 1; flex: 1 1 0; gap: 8px; }
  .word { font-size: 14px; letter-spacing: .08em; }
  .coin-pill { display: block; min-width: 0; height: 28px; padding: 0 10px; line-height: 26px; font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
  .meta { order: 2; flex: none; gap: 8px; }
  .pagetabs { order: 3; width: 100%; }
  .pagetabs button { flex: 1; padding: 6px 8px; }
}
@media (max-width: 560px) {
  :root { --fb: 59px; }
  main { padding: 14px 16px 30px; }
  .filterbar { margin: 14px -16px 0; padding: 9px 16px; }
  .spot { padding: 18px 16px; }
  .ov-mast { padding: 4px 0 24px; margin-bottom: 20px; }
  .read-title { font-size: 26px; line-height: 1.16; }
  .watch { font-size: 14.5px; }
  .theses { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .story, .story.lead { padding: 18px 16px; }
  .story-body, .story.lead .story-body { font-size: 14.5px; }
  .yday-head .btn { margin-left: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spot-nums { margin-left: 0; width: 100%; justify-content: space-between; gap: 12px; }
  .spot-nums div { text-align: left; }
  .spot-links { margin-left: 0; }
  .spot-col { max-height: 340px; }
  .foot { padding: 0 16px 24px; }
  .drawer-body { padding: 20px 16px; }
  .now-coins { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .now-coins::-webkit-scrollbar { display: none; }
  .nc { flex: none; }
  .now { padding: 16px; }
  .now-cta { width: 100%; }
  .coin-section { padding: 18px 16px; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .coin-section .tokbig { width: 44px; height: 44px; font-size: 19px; }
  .feed-head { padding: 12px 12px 10px; }
  /* the type filter: five equal segments with the count under each name */
  .tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
  .tabs button { flex-direction: column; justify-content: center; height: 46px; padding: 0 2px; gap: 3px; font-size: 12px; min-width: 0; }
  .tabs button svg { display: none; }
  .tabs .n { min-width: 0; padding: 0 6px; font-size: 10.5px; }
  .item { padding: 12px; gap: 10px; grid-template-columns: 26px minmax(0, 1fr); }
  .item > .avatar.sm { width: 26px; height: 26px; }
  .item .why { font-size: 13.5px; }
  table.hm { --coinw: 142px; --colw: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Named wallets that bought the coin before the streamer did, under their buy */
.before { margin-top: 5px; font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; }
.before span { color: var(--dim); }
.before a { color: var(--brand-ink); text-decoration: none; }
.before a:hover { text-decoration: underline; }
.before i { font-style: normal; color: var(--dim); }
