/* STOCKR, the terminal (DESIGN.md 2026-11-06): the price strip, the hero and its reward ticker, stock cards, tables,
   the live feed, the economics, the disclosure, the stock and portfolio pages. Reads only tokens.css. */

/* ---------- shell ---------- */
[hidden] { display: none !important; }
/* the old board's corner rivets: gone (one of them, .rivet.tr, would otherwise pick up the table-row style) */
.rivet { display: none !important; }
html { scroll-padding-top: calc(var(--top-h) + 60px); }
.act-at { white-space: nowrap; }
.nav a { font: 500 13.5px/1 var(--font-text); letter-spacing: 0; text-transform: none; color: var(--ink-2); padding: 9px 12px; border-radius: var(--r-sm); }
.nav a[aria-current] { color: var(--ink); background: var(--surface); box-shadow: none; border-radius: var(--r-sm); }
.top-bar { gap: 22px; }
.demo-strip { background: var(--accent-dim); color: var(--accent); border-bottom: 1px solid var(--line); }
.bell { position: relative; }
.bell-n { position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font: 600 10.5px/17px var(--font-mono); text-align: center; }
.bell-n[hidden] { display: none; }

.pstrip { border-top: 1px solid var(--line); background: var(--housing); overflow-x: auto; scrollbar-width: none; }
.pstrip::-webkit-scrollbar { display: none; }
.pstrip[hidden] { display: none; }
.ps-in { display: flex; align-items: center; gap: 4px; width: max-content; min-width: 100%; padding: 0 var(--gut); height: 36px; }
.ps-live { display: inline-flex; align-items: center; gap: 7px; padding-right: 12px; margin-right: 4px; border-right: 1px solid var(--line); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.ps-q { display: inline-flex; align-items: baseline; gap: 8px; padding: 0 12px; height: 36px; align-items: center; font-size: 12.5px; border-right: 1px solid var(--line); white-space: nowrap; }
.ps-q:hover { background: var(--surface); }
.ps-q b { font-weight: 600; color: var(--ink); }
.ps-p { color: var(--ink-2); padding: 1px 3px; border-radius: 3px; }
.ps-c { font-size: 11.5px; }
.ps-c.flat { color: var(--muted); }

/* a number that just moved flashes for a moment */
.fl-up { animation: fl-up 900ms var(--ease); }
.fl-down { animation: fl-down 900ms var(--ease); }
@keyframes fl-up { 0% { background: var(--accent-dim); color: var(--accent); } 100% { background: transparent; } }
@keyframes fl-down { 0% { background: var(--down-dim); color: var(--down); } 100% { background: transparent; } }

.kicker::before { width: 7px; height: 7px; border-radius: 50%; }
.kicker .live-dot { margin-right: -2px; }
.kicker:has(.live-dot)::before { display: none; }
.live-dot { background: var(--accent); box-shadow: 0 0 0 0 var(--accent-dim); }
[data-motion="on"] .live-dot.pulse { animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(25, 242, 138, 0.45); } 70% { box-shadow: 0 0 0 7px rgba(25, 242, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(25, 242, 138, 0); } }

.accent { color: var(--accent); }
.flat { color: var(--muted); }
.chip { border-radius: var(--r-pill); text-transform: none; letter-spacing: 0; font-size: 11.5px; height: 22px; padding: 0 9px; }
.chip.me { height: 18px; padding: 0 6px; margin-left: 6px; font-size: 10.5px; color: var(--on-accent); background: var(--accent); border-color: transparent; }
.chg { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 5px; font: 500 12px/1 var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.chg.up { color: var(--accent); background: var(--accent-dim); }
.chg.down { color: var(--down); background: var(--down-dim); }
.chg.flat { color: var(--muted); background: var(--surface-2); }
.smark { display: inline-grid; place-items: center; flex: none; width: var(--sm); height: var(--sm); border-radius: calc(var(--sm) * 0.24); background: var(--surface-3); border: 1px solid var(--line-2); color: var(--ink); font: 600 calc(var(--sm) * 0.36)/1 var(--font-mono); letter-spacing: -0.02em; }
/* a logo sits on the same tile, so marks line up whether they have one or not */
.smark-img { display: block; padding: 0; object-fit: contain; background: var(--surface-3); overflow: hidden; }
.ps-ic { width: 16px; height: 16px; border-radius: 4px; flex: none; object-fit: contain; background: var(--surface-3); }
.pair-opt .po-head { display: flex; align-items: center; gap: 7px; }
.pair-opt .po-head .smark { border-radius: 5px; }
.spark { display: inline-block; flex: none; color: var(--accent); }
.spark.down { color: var(--down); }
.spark svg { display: block; overflow: visible; }
.spark.none { display: inline-grid; place-items: center; border: 1px dashed var(--line-2); border-radius: 6px; color: var(--muted); font: 10.5px var(--font-mono); }
.counter { font-variant-numeric: tabular-nums; }
.stat { display: grid; gap: 6px; min-width: 0; }
.stat > :nth-child(2) { font: 600 22px/1.1 var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat-hint { font-size: 12px; color: var(--muted); }
.sk-card { height: 168px; border-radius: var(--r); }
.sk-row { height: 44px; border-radius: 8px; }
.sk-table { height: 320px; border-radius: var(--r); }
.section-head h2 { max-width: 22em; }
.section { padding-top: clamp(56px, 7vw, 96px); }
.panel, .board-table, .receipts, .contracts { border-radius: var(--r); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr); gap: clamp(24px, 4vw, 56px); padding-top: clamp(32px, 5vw, 72px); align-items: start; }
.hero-copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.hero h1 { display: grid; font-size: clamp(56px, 8.4vw, 124px); line-height: 0.86; letter-spacing: -0.005em; }
.hero .lede { font-size: clamp(17px, 1.5vw, 20px); max-width: 34em; }
.hero-cta { gap: 12px; }
.hero-split { width: 100%; max-width: 640px; display: grid; gap: 10px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--housing); }
.hero-split .split-wrap { margin: 0; }
.hs-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hs-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-2); }
.hs-legend > span { display: inline-flex; align-items: center; gap: 7px; }
.hero-stats { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.split { height: 26px; border-radius: 6px; }
.split > span { font: 600 11.5px/1 var(--font-mono); }
.split .seg-creator, .split .seg-holders { color: var(--on-accent); }
.split .seg-burn, .split .seg-traders, .split .seg-treasury { color: var(--ink); }
.split .seg-traders { color: var(--bg); }

/* the reward ticker */
.ticker { position: sticky; top: calc(var(--top-h) + 52px); display: grid; gap: 14px; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--housing); min-width: 0; }
.tk-head { display: flex; justify-content: space-between; align-items: center; }
.tk-live { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.tk-big { font: 800 clamp(52px, 6vw, 84px)/0.9 var(--font-display); color: var(--accent); letter-spacing: 0; }
.tk-big.ticking { text-shadow: none; }
.tk-sub { font-size: 14px; color: var(--ink-2); }
.tk-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 12px 0; border-block: 1px solid var(--line); }
.tk-meta > span { display: grid; gap: 4px; font-size: 13.5px; }
.tk-meta b { font-weight: 600; }
.tk-list { display: grid; gap: 4px; }
.tk-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.tk-row:last-child { border-bottom: 0; }
.tk-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-amt { display: grid; justify-items: end; gap: 2px; font-size: 12.5px; }
.tk-amt b { font-weight: 600; }
.tk-note { font-size: 14px; color: var(--ink-2); padding: 8px 0; }

/* ---------- stock cards ---------- */
.stocks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.scard { display: grid; gap: 14px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--housing); transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); min-width: 0; }
.scard:hover { border-color: var(--line-3); background: var(--surface); }
.sc-top { display: flex; align-items: center; gap: 11px; min-width: 0; }
.sc-id { display: grid; gap: 2px; min-width: 0; }
.sc-id b { font-size: 15px; font-weight: 600; }
.sc-name { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-rank { margin-left: auto; font-size: 12px; color: var(--muted); }
.sc-mid { display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.sc-px { display: grid; gap: 6px; justify-items: start; }
.sc-price { font: 600 24px/1 var(--font-mono); letter-spacing: -0.03em; }
.sc-foot { display: flex; flex-wrap: wrap; gap: 4px 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.sc-foot b { color: var(--ink); font-weight: 500; }
.sc-foot b.accent { color: var(--accent); }
.sc-prem b { font-weight: 500; }

/* ---------- tables ---------- */
.tbl { display: grid; border-radius: var(--r); border: 1px solid var(--line); background: var(--housing); overflow: hidden; }
.tr { display: grid; gap: 14px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14px; min-width: 0; }
.tr:last-child { border-bottom: 0; }
.tr > * { min-width: 0; }
a.tr:hover { background: var(--surface); }
.tr.th { padding-block: 9px; background: var(--bg); font: 500 11px/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.tr.none { color: var(--muted); padding: 28px 16px; }
.tr .num, .tr.th > :not(:nth-child(-n+2)) { text-align: right; justify-self: end; }
.tr .rank { color: var(--muted); font-size: 12.5px; }
.t-comm .tr { grid-template-columns: 34px minmax(220px, 2.2fr) 86px minmax(96px, 1fr) 80px minmax(110px, 1fr) minmax(110px, 1.2fr); }
.t-comm .tr.th > :last-child { text-align: left; justify-self: start; }
.comm-id { display: flex; align-items: center; gap: 11px; min-width: 0; }
.comm-id > span:nth-child(2) { display: grid; gap: 1px; min-width: 0; }
.cc-n { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.comm-bar { display: block; }
.comm-bar .bar, .curve-cell .bar, .hb .bar { display: block; height: 6px; border-radius: 3px; }
.comm-bar .bar span, .curve-cell .bar span, .hb .bar span { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.t-coins .tr { grid-template-columns: 34px minmax(190px, 2fr) minmax(90px, 1fr) minmax(86px, 1fr) 70px minmax(90px, 1fr) 70px minmax(130px, 1.3fr) 104px; }
.t-coins .tr.th > :last-child, .t-coins .tr.th > :nth-child(3) { text-align: left; justify-self: start; }
.coin-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cc-t { display: grid; gap: 1px; min-width: 0; }
.cc-t b { font-weight: 600; font-size: 13.5px; }
.pair-cell { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.paid-cell { display: grid; justify-items: end; gap: 1px; font-size: 13px; }
.paid-cell b { font-weight: 500; white-space: nowrap; }
.paid-cell .muted { font-size: 11.5px; }
.curve-cell { display: flex; align-items: center; gap: 8px; }
.curve-cell .bar { flex: 1; height: 5px; border-radius: 3px; }
.curve-cell .mono { font-size: 11.5px; width: 32px; text-align: right; }
.bar { background: var(--surface-3); border-radius: 3px; }

/* ---------- live activity ---------- */
.live-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 28px; align-items: start; }
.live-col { min-width: 0; }
.feed { display: grid; border-radius: var(--r); border: 1px solid var(--line); background: var(--housing); padding: 4px 14px; min-height: 120px; }
.feed .sk-row { margin: 6px 0; }
.feed-empty { padding: 24px 4px; }
.act { display: grid; grid-template-columns: 76px 86px 70px minmax(0, 1fr) 70px 82px 56px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.act:last-child { border-bottom: 0; }
.act.fresh { animation: act-in 700ms var(--ease); box-shadow: inset 2px 0 0 var(--accent); }
@keyframes act-in { from { opacity: 0; transform: translateY(-6px); background: var(--accent-dim); } }
.act-k { justify-self: start; display: inline-flex; align-items: center; gap: 7px; font: 500 11px/1 var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.act-k::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.k-buy::before, .k-reward::before, .k-launch::before { background: var(--accent); }
.k-sell::before { background: var(--down); }
.k-reward { color: var(--accent); }
.k-creator::before { background: var(--ink); }
.k-burn::before { background: var(--s-burn); }
.k-airdrop::before { background: var(--s-traders); }
.k-grad::before { background: var(--ink); }
.act-coin { font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act-coin:hover, .act-pair:hover { color: var(--accent); }
.act-pair { font-size: 12px; color: var(--muted); white-space: nowrap; }
.act-text { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act-usd { text-align: right; font-size: 13px; }
.act-tx { display: inline-flex; align-items: center; gap: 4px; justify-self: end; font-size: 11.5px; color: var(--ink-2); }
a.act-tx:hover { color: var(--accent); }
.act-at { font-size: 11.5px; color: var(--muted); text-align: right; }
.feed-small { padding: 0 10px; max-height: 60vh; overflow: auto; }
.feed-small .act { grid-template-columns: 70px 76px minmax(0, 1fr) 56px; }
.feed-small .act-pair, .feed-small .act-usd, .feed-small .act-tx { display: none; }

.lb-prev { display: grid; gap: 14px; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--housing); }
.lb-col { display: grid; gap: 6px; }
.lb-col .label { margin-bottom: 4px; }
.lb-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.lb-row:last-child { border-bottom: 0; }
.lb-row .num { font-size: 13px; }
.who-w { display: inline-flex; align-items: center; font-size: 13px; }
.who-w:hover { color: var(--accent); }

/* ---------- economics ---------- */
.econ { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ecard { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--housing); min-width: 0; }
.ecard.wide { grid-column: span 2; }
.ec-n { font-size: 11.5px; color: var(--accent); }
.ec-q { font-size: 13.5px; color: var(--muted); }
.ec-a { font: 600 21px/1.2 var(--font-text); letter-spacing: -0.02em; color: var(--ink); }
.ec-more { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.ecard .split-wrap { margin: 4px 0; }
.ecard .chip { justify-self: start; }

/* ---------- not a share ---------- */
.notshare { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--housing); }
.ns-copy { display: grid; gap: 14px; justify-items: start; align-content: start; }
.ns-points { display: grid; gap: 10px; }
.ns-points li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: 15px; }
.ns-points li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 2px; background: var(--ink-2); }
.issuers { display: grid; gap: 10px; align-content: start; }
.iss { display: grid; gap: 8px; padding: 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); }
.iss-head { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.iss-syms { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--ink-2); }
.iss-syms a:hover { color: var(--accent); }

/* ---------- launch band ---------- */
.cta-band { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, max-content); gap: 24px 48px; align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: var(--r-lg); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); background: linear-gradient(var(--accent-dim), var(--accent-dim)), var(--housing); }
.cta-band > div:first-child { display: grid; gap: 12px; justify-items: start; }
.cta-h { font: 800 clamp(52px, 7vw, 96px)/0.9 var(--font-display); text-transform: uppercase; letter-spacing: 0; }
.cta-act { display: grid; gap: 10px; justify-items: start; }

/* ---------- explore, stock page ---------- */
.page-head h1 { font-size: clamp(48px, 6.4vw, 92px); }
.tabs-row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 18px; }
.tabs-row .search { margin-left: auto; width: min(320px, 100%); }
.stock-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: end; padding-top: clamp(28px, 4vw, 52px); }
.sh-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.sh-id h1 { font-size: clamp(48px, 6vw, 86px); text-transform: none; }
.sh-name { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.sh-px { display: grid; justify-items: end; gap: 8px; }
.sh-price { font: 600 clamp(32px, 3.6vw, 48px)/1 var(--font-mono); letter-spacing: -0.04em; }
.sh-sub { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--housing); }
.stock-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; margin-top: 18px; align-items: start; }
.stock-main, .stock-side { display: grid; gap: 18px; min-width: 0; }
.pchart { color: var(--accent); }
.pchart.down { color: var(--down); }
.pchart.empty { padding: 40px 12px; text-align: center; color: var(--muted); }
.pc-svg svg { display: block; }
.pc-grid { stroke: var(--line); stroke-width: 1; }
.pc-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 11.5px; color: var(--muted); }
.pchart .fine { margin-top: 6px; }
.disclose { display: grid; gap: 12px; padding: 18px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg); }
.disclose h3 { font-size: 16px; }
.disclose p, .disclose li { font-size: 14px; color: var(--ink-2); }
.disclose ul { display: grid; gap: 7px; }
.disclose li { position: relative; padding-left: 16px; }
.disclose li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 2px; background: var(--muted); }

/* ---------- leaderboard, portfolio ---------- */
.t-traders .tr { grid-template-columns: 40px minmax(160px, 1.4fr) minmax(100px, 1fr) 80px 90px minmax(100px, 1fr); }
.t-earners .tr { grid-template-columns: 40px minmax(160px, 1.4fr) minmax(110px, 1fr) 90px 80px minmax(90px, 1fr); }
.t-launchers .tr { grid-template-columns: 40px minmax(160px, 1.4fr) 80px minmax(110px, 1fr) minmax(120px, 1fr); }
.t-stocks .tr { grid-template-columns: 40px minmax(200px, 2fr) minmax(90px, 1fr) 70px 80px minmax(100px, 1fr) 80px minmax(100px, 1fr); }
.t-hold .tr { grid-template-columns: minmax(180px, 1.6fr) minmax(90px, 1fr) minmax(110px, 1fr) minmax(90px, 1fr) 80px; }
.tr.me { background: var(--accent-dim); }
.tr.bot { color: var(--muted); }
.tr.th > :nth-child(2) { text-align: left; justify-self: start; }
.t-hold .tr.th > :first-child { text-align: left; }
.pf-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: end; padding-top: clamp(28px, 4vw, 52px); }
.pf-addr { font: 500 clamp(15px, 2vw, 20px)/1.3 var(--font-mono); overflow-wrap: anywhere; color: var(--ink-2); }
.pf-earned { display: grid; justify-items: end; gap: 6px; }
.pf-big { font: 800 clamp(56px, 7vw, 96px)/0.85 var(--font-display); color: var(--accent); }
.pf-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); gap: 18px; margin-top: 22px; align-items: start; }
.pf-col { display: grid; gap: 18px; min-width: 0; }
.mine-coins { display: grid; gap: 8px; }
.mc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); }
.share-card { display: grid; gap: 12px; }
.share-card canvas { width: 100%; height: auto; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); }

/* ---------- coin page ---------- */
.pane-title { font: 600 15px/1.2 var(--font-text); text-transform: none; letter-spacing: -0.01em; }
.coin-board { border-radius: var(--r-lg); }
.coin-pair { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px 6px 8px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; }
.coin-pair:hover { border-color: var(--accent); }
.coin-pair b { font-weight: 600; }
.econ-box .cf-val { color: var(--ink); }
.econ-box .cf-name { color: var(--muted); font-size: 13px; }
.hstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.hstats .stat > :nth-child(2) { font-size: 20px; }
.hbuckets { display: grid; gap: 8px; padding: 14px 0 10px; }
.hb { display: grid; grid-template-columns: 110px minmax(0, 1fr) 54px; gap: 10px; align-items: center; font-size: 12.5px; }
.hb-l { color: var(--ink-2); }
.hb .bar { height: 8px; }
.hb-n { text-align: right; color: var(--ink-2); }
.launch-on { display: grid; gap: 10px; }
.launch-on h3 { font-size: 20px; }
.lstep-title { font: 600 22px/1.15 var(--font-text); text-transform: none; letter-spacing: -0.02em; }
.step h3, .rule h3 { font: 600 18px/1.2 var(--font-text); text-transform: none; letter-spacing: -0.01em; }
.doc h2 { font-size: clamp(26px, 2.6vw, 34px); }
.empty h3 { font: 600 22px/1.2 var(--font-text); text-transform: none; }
.seg { border-radius: var(--r-sm); background: var(--housing); }
.seg button { border-radius: 4px; font: 500 12.5px/1 var(--font-text); letter-spacing: 0; text-transform: none; }
.seg button[aria-pressed="true"] { background: var(--surface-3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-3); }
.seg.seg-main button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.arrow-link { font: 500 13px/1 var(--font-text); letter-spacing: 0; text-transform: none; }
.label { letter-spacing: 0.06em; }
.lstep, .rule, .step, .faq details, .ds-row, .pane { border-radius: var(--r); }
.pair-opt[aria-pressed="true"], .tier[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

/* ---------- issuer facts (docs, stock pages) ---------- */
.if-row { display: grid; gap: 3px; }
.if-row .label { font-size: 10.5px; }
.if-row p { font-size: 14px; color: var(--ink-2); }
.issuers-doc { display: grid; gap: 12px; }
.issuer-card { display: grid; gap: 12px; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--housing); }
.ic-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ic-head h3 { font-size: 18px; }
.ic-src { padding-top: 10px; border-top: 1px solid var(--line); }
.doc-econ { display: grid; gap: 10px; }
.doc-econ .ds-row { grid-template-columns: 200px minmax(0, 1fr); }
.doc-econ .ds-row h3 { font-size: 15px; color: var(--accent); }
@media (max-width: 640px) { .doc-econ .ds-row { grid-template-columns: 1fr; } }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .ticker { position: static; }
  .live-grid, .stock-grid, .pf-grid { grid-template-columns: minmax(0, 1fr); }
  .econ { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-coins .tr { grid-template-columns: 30px minmax(180px, 2fr) minmax(86px, 1fr) minmax(80px, 1fr) 64px minmax(80px, 1fr) minmax(120px, 1.2fr); }
  .t-coins .tr > :nth-child(7), .t-coins .tr > :nth-child(9) { display: none; }
  .notshare { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .top-actions .bell { order: -1; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-comm .tr { grid-template-columns: 26px minmax(0, 1.6fr) minmax(80px, 1fr) minmax(90px, 1fr); }
  .t-comm .tr > :nth-child(3), .t-comm .tr > :nth-child(5), .t-comm .tr > :nth-child(7) { display: none; }
  .t-coins .tr { grid-template-columns: minmax(0, 1.6fr) minmax(70px, 1fr) minmax(90px, 1fr); }
  .t-coins .tr > :nth-child(1), .t-coins .tr > :nth-child(3), .t-coins .tr > :nth-child(5), .t-coins .tr > :nth-child(6), .t-coins .tr > :nth-child(7), .t-coins .tr > :nth-child(9) { display: none; }
  .act { grid-template-columns: 64px 76px minmax(0, 1fr) 54px; }
  .act-at { white-space: nowrap; }
  .t-comm .comm-id .chg { display: none; }
  .act-pair, .act-usd, .act-tx { display: none; }
  .t-traders .tr, .t-earners .tr, .t-launchers .tr, .t-stocks .tr { grid-template-columns: 30px minmax(0, 1fr) minmax(90px, auto); }
  .t-traders .tr > :nth-child(n+4), .t-earners .tr > :nth-child(n+4), .t-launchers .tr > :nth-child(n+4), .t-stocks .tr > :nth-child(n+4) { display: none; }
  .t-hold .tr { grid-template-columns: minmax(0, 1.4fr) minmax(90px, 1fr); }
  .t-hold .tr > :nth-child(n+3) { display: none; }
  .stock-head, .pf-head { grid-template-columns: minmax(0, 1fr); }
  .sh-px, .pf-earned { justify-items: start; }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .pstrip { position: static; }
}
@media (max-width: 640px) {
  .econ { grid-template-columns: minmax(0, 1fr); }
  .ecard.wide { grid-column: auto; }
  .tk-meta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tk-meta > span:last-child { grid-column: 1 / -1; }
  .stocks-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(52px, 15vw, 72px); }
}
