/* Live board. Tokens are pump.fun's semantic tokens, measured live 2026-10-17. */
:root {
  --bg: #0b0b0e;          /* page */
  --bg-2: #131316;        /* attached cards, hover rows */
  --bg-3: #1b1b1f;        /* secondary buttons, fallback pictures */
  --bg-4: #242429;        /* secondary button hover */
  --line: #232327;        /* hairlines */
  --line-2: #303036;      /* control borders */
  --text-hero: #fafafa;   /* page name, big numbers */
  --text: #e4e4e7;        /* body */
  --text-2: #d4d4d8;      /* secondary text */
  --text-3: #a1a1aa;      /* sub lines, times */
  --muted: #80808a;       /* labels, column heads, icons (pump.fun uses #71717a; lifted to pass 4.5:1) */
  --accent: #86efac;      /* buttons, links, the @ */
  --accent-hover: #a7f3c0;
  --on-accent: #052e16;
  --gain: #4ade80;        /* money in, money spent buying */
  --loss: #f87171;
  --ring: #86efac;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --bar-h: 48px;
  --strip-h: 28px;
  --gutter: 24px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font: 400 14px/20px Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
p, h1, h2, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 500; white-space: nowrap;
  transition-property: background-color, scale;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
.btn:active { scale: 0.96; }
.btn-lg { height: 48px; padding: 0 18px; border-radius: 10px; font-size: 14px; line-height: 21px; }
.btn-sm { height: 32px; padding: 0 12px; border-radius: 6px; font-size: 13px; line-height: 19.5px; }
.btn-2 { background: var(--bg-3); color: var(--text); }
.btn-out {
  height: 32px; padding: 0 12px; border-radius: 6px;
  background: transparent; color: var(--text-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 13px; line-height: 18px;
}
@media (hover: hover) {
  .btn:hover { background: var(--accent-hover); }
  .btn-2:hover { background: var(--bg-4); }
  .btn-out:hover { background: var(--bg-3); color: var(--text); }
}

.icon-btn {
  position: relative;
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 6px;
  color: var(--text-3);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
@media (hover: hover) { .icon-btn:hover { background: var(--bg-3); color: var(--text); } }

/* ---------- header ---------- */
.bar {
  position: sticky; top: 0; z-index: 30;
  height: var(--bar-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.bar-in {
  max-width: 1440px; height: 100%; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.mark {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text-hero);
}
.mark-logo { width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; background: #fff; object-fit: cover; }
.bar-end { display: flex; align-items: center; gap: 12px; }
.stamp { font-size: 12px; line-height: 16px; color: var(--muted); white-space: nowrap; }

/* ---------- live strip (scrolls by hand, never on its own) ---------- */
.strip {
  position: sticky; top: var(--bar-h); z-index: 29;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.strip-in {
  max-width: 1440px; height: var(--strip-h); margin: 0 auto;
  padding: 0 calc(var(--gutter) - 6px);
  display: flex; align-items: center; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.strip-in::-webkit-scrollbar { display: none; }
.strip-lead { flex: none; padding: 0 6px; font-size: 12px; line-height: 16px; color: var(--muted); }
.tk {
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 6px; border-radius: 4px;
  font-size: 12px; line-height: 18px; font-weight: 500; white-space: nowrap;
  color: var(--text-2);
  transition: background-color 150ms var(--ease);
}
@media (hover: hover) { a.tk:hover { background: var(--bg-3); } }
.tk > span:not(.pic) { display: block; line-height: 18px; }
.tk-k { color: var(--muted); font-weight: 400; }
.tk-h { max-width: 112px; overflow: hidden; text-overflow: ellipsis; }
.tk-g { color: var(--gain); }
.tk-m { color: var(--muted); font-weight: 400; }
.strip-msg { padding: 0 6px; font-size: 12px; line-height: 16px; color: var(--muted); white-space: nowrap; }

/* ---------- pictures: people are circles, the coin is a rounded square ---------- */
.pic {
  position: relative; flex: none;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--text-3);
  font-weight: 600;
  overflow: hidden;
}
.pic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); pointer-events: none; }
.pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.pic.has-img img { opacity: 1; }
.pic:not(.has-img):not(.pic-coin) {
  background: var(--bg-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='9.2' r='4.2' fill='%2371717a'/%3E%3Cpath d='M3.8 22c.7-4.6 4-7.4 8.2-7.4s7.5 2.8 8.2 7.4z' fill='%2371717a'/%3E%3C/svg%3E") center 65% / 74% no-repeat;
}
.pic-bot { background: #fff; }
.pic-16 { width: 16px; height: 16px; font-size: 9px; line-height: 1; }
.pic-20 { width: 20px; height: 20px; font-size: 10px; line-height: 1; }
.pic-28 { width: 28px; height: 28px; font-size: 12px; line-height: 1; }
.pic-36 { width: 36px; height: 36px; font-size: 14px; line-height: 1; }
.pic-coin { color: var(--text); font-weight: 700; }
.pic-coin.pic-16 { border-radius: 4px; }
.pic-coin.pic-28 { border-radius: 6px; }

/* ---------- intro ---------- */
.intro {
  max-width: 1440px; margin: 0 auto;
  padding: 48px var(--gutter) 40px;
  display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 48px;
  align-items: start;
}
.coinline { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.coinline-img { width: 64px; height: 64px; flex: none; border-radius: 16px; background: #fff; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.coinline-name { font-size: 20px; line-height: 24px; font-weight: 700; letter-spacing: -0.01em; color: var(--text-hero); }
.coinline-tk { margin-top: 2px; font-size: 14px; line-height: 20px; color: var(--text-3); }
h1 {
  font-size: 48px; line-height: 52px; font-weight: 700; letter-spacing: -0.025em;
  color: var(--text-hero);
  text-wrap: balance;
}
.sub { margin-top: 12px; max-width: 34em; font-size: 16px; line-height: 24px; color: var(--text-3); text-wrap: pretty; }
.ctas { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.note { margin-top: 12px; font-size: 12px; line-height: 16px; color: var(--muted); }
.code { color: var(--text-2); font-weight: 500; }

/* the pot: profile-style hero number, no box */
.pot { padding-top: 4px; }
.pot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.pot-now { min-width: 0; }
.label { font-size: 12px; line-height: 16px; color: var(--muted); }
.big {
  margin-top: 4px; min-height: 52px;
  display: flex; align-items: baseline; flex-wrap: wrap;
  font-size: 48px; line-height: 52px; font-weight: 600; letter-spacing: -0.03em;
  color: var(--text-hero);
  transition: color 150ms var(--ease);
}
.big-d { color: var(--text-3); font-weight: 500; transition: color 150ms var(--ease); }
.big-u { margin-left: 8px; font-size: 20px; line-height: 24px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.big.is-empty .big-u { display: none; }
.pot-sub { margin-top: 4px; min-height: 20px; font-size: 14px; line-height: 20px; color: var(--text-3); }
.pot-sub .usdc { color: var(--text-2); font-weight: 500; }
.next { flex: none; text-align: right; }
.mid { margin-top: 4px; min-height: 52px; font-size: 48px; line-height: 52px; font-weight: 600; letter-spacing: -0.03em; color: var(--text-hero); }
.mid.is-word { color: var(--text-3); font-weight: 500; }
.next-sub { margin-top: 4px; min-height: 20px; font-size: 14px; line-height: 20px; color: var(--text-3); }
.pot-notes:empty { display: none; }
.pot-notes { margin-top: 12px; display: grid; gap: 4px; font-size: 13px; line-height: 18px; color: var(--text-2); }
.pot-notes .quiet { color: var(--text-3); }

.trio {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.trio-burned { display: none; }
.trio dt { font-size: 12px; line-height: 16px; color: var(--muted); }
.trio .v { margin-top: 4px; min-height: 20px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); transition: color 150ms var(--ease); }
.trio .v.gain { color: var(--gain); }
.trio .v .u { color: var(--text-3); font-weight: 400; }
.trio .v.none { color: var(--text-3); font-weight: 400; }
.trio .s { margin-top: 2px; min-height: 16px; font-size: 12px; line-height: 16px; color: var(--text-3); }
.rule { margin-top: 16px; font-size: 13px; line-height: 18px; color: var(--text-3); text-wrap: pretty; }
.pot-empty { margin-top: 6px; max-width: 30em; font-size: 14px; line-height: 20px; color: var(--text-2); text-wrap: pretty; }

/* colour tick when a polled number changes */
[data-tick].up, [data-tick].up .big-d { color: var(--gain); }
[data-tick].down, [data-tick].down .big-d { color: var(--loss); }

/* ---------- scoreboard: the burn, as big as it gets ---------- */
.score { border-top: 1px solid var(--line); }
.score-in {
  max-width: 1440px; margin: 0 auto; padding: 40px var(--gutter) 44px;
  display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: 80px; row-gap: 28px;
}
.score-main { min-width: 0; }
.score-big {
  margin-top: 8px;
  font-size: 184px; line-height: 160px; font-weight: 700; letter-spacing: -0.06em;
  color: var(--text-hero);
  transition: color 150ms var(--ease);
}
.score-full { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--text-3); }
.score-side { display: grid; grid-template-columns: repeat(3, auto); column-gap: 56px; row-gap: 16px; padding-bottom: 46px; }
.score-side dt { font-size: 12px; line-height: 16px; color: var(--muted); }
.score-side dd { margin-top: 4px; font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-hero); }
.score-side div:first-child dd { color: var(--gain); }

/* ---------- phone tabs (hidden on wide screens) ---------- */
.tabs { display: none; }

/* ---------- board ---------- */
.board-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.board {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 460px 360px;
}
.col { --pl: 20px; --pr: 20px; min-width: 0; }
.col + .col { border-left: 1px solid var(--line); }
.col-replies { --pl: var(--gutter); }
.col-about { --pr: var(--gutter); }

.phead {
  height: 44px; padding: 0 var(--pr) 0 var(--pl);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid var(--line);
}
.phead h2 { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); white-space: nowrap; }
.phead h2 svg { color: var(--muted); }
.phead-n { color: var(--muted); }
.meta { font-size: 12px; line-height: 16px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.col-note { padding: 10px var(--pr) 10px var(--pl); font-size: 12px; line-height: 16px; color: var(--muted); border-bottom: 1px solid var(--line); }
.col-note .warn { color: var(--text-2); }
.col-msg { padding: 20px var(--pr) 20px var(--pl); font-size: 14px; line-height: 20px; color: var(--text-3); }
.col-foot:empty { display: none; }
.col-foot {
  padding: 12px var(--pr) 16px var(--pl);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 12px; line-height: 16px; color: var(--muted);
}

/* "+N new replies": new rows wait here instead of jumping in */
.newpill {
  position: sticky; top: calc(var(--bar-h) + var(--strip-h) + 8px); z-index: 5;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: calc(100% - var(--pl) - var(--pr)); height: 28px; margin: 8px var(--pr) 8px var(--pl);
  border-radius: 6px; background: var(--bg-3);
  font-size: 12px; line-height: 16px; font-weight: 500; color: var(--text-2);
  transition: background-color 150ms var(--ease);
}
@media (hover: hover) { .newpill:hover { background: var(--bg-4); } }
.newpill svg { color: var(--text-3); }
.stack { display: inline-flex; }
.stack .pic + .pic { margin-left: -6px; }
.stack .pic { box-shadow: 0 0 0 2px var(--bg-3); }

/* reply post, built like a pump.fun callout */
.post {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px;
  padding: 14px var(--pr) 14px var(--pl);
  border-bottom: 1px solid var(--line);
  transition: background-color 150ms var(--ease);
}
.post:focus-visible { outline-offset: -2px; border-radius: 0; }
@media (hover: hover) {
  .post:hover { background: var(--bg-2); }
  .post:hover .answer { border-left-color: var(--accent); }
}
.post-main, .answer, .answer-text { display: block; }
.post-main { min-width: 0; }
.col-foot a.btn-out { display: inline-flex; align-items: center; }
.post-head { display: flex; align-items: center; gap: 6px; min-width: 0; height: 18px; }
.who { font-size: 14px; line-height: 18px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.post-head svg { color: var(--muted); }
.time { margin-left: auto; flex: none; font-size: 12px; line-height: 16px; color: var(--text-3); }
.ask { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--text); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ask.quiet { color: var(--text-3); }
.answer {
  margin-top: 10px; padding: 2px 0 2px 12px;
  border-left: 2px solid var(--line-2);
}
.answer-head { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; line-height: 16px; color: var(--text-3); }
.answer-head .bot { font-weight: 600; color: var(--text); }
.answer-head .to { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.answer-text { margin-top: 6px; font-size: 13px; line-height: 18px; color: var(--text-2); overflow-wrap: anywhere; text-wrap: pretty; }

/* burns ledger, built like pump.fun's holders table */
.ledger { width: 100%; border-collapse: collapse; table-layout: fixed; }
.ledger th {
  height: 28px; padding: 0 12px;
  font-size: 11px; line-height: 16px; font-weight: 400; color: var(--muted);
  text-align: right; white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.ledger th:nth-child(1) { width: 24%; }
.ledger th:nth-child(2) { width: 24%; }
.ledger th:nth-child(3) { width: 21%; }
.ledger th:first-child, .ledger td:first-child { padding-left: var(--pl); text-align: left; }
.ledger th:last-child, .ledger td:last-child { padding-right: var(--pr); }
.ledger td { height: 48px; padding: 6px 12px; text-align: right; vertical-align: middle; }
.ledger tbody tr + tr td { border-top: 1px solid var(--line); }
.ledger tbody tr { transition: background-color 150ms var(--ease); }
@media (hover: hover) { .ledger tbody tr:hover { background: var(--bg-2); } }
.c-v { display: block; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--text); white-space: nowrap; }
.c-v.gain { color: var(--gain); }
.c-s { display: block; font-size: 12px; line-height: 16px; color: var(--muted); white-space: nowrap; }
.sig {
  display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px;
  min-height: 40px; padding-left: 8px;
  font-size: 12px; line-height: 16px; font-weight: 500; color: var(--text-3); white-space: nowrap;
  transition: color 150ms var(--ease);
}
.sig svg { color: var(--muted); transition: color 150ms var(--ease); }
@media (hover: hover) { .sig:hover, .sig:hover svg { color: var(--accent); } }
.pending { font-size: 12px; line-height: 16px; color: var(--muted); }

/* about column */
.steps li, .facts li, .check {
  padding: 12px var(--pr) 12px var(--pl);
  border-bottom: 1px solid var(--line);
}
.steps li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 12px; }
.step-n { font-size: 12px; line-height: 20px; font-weight: 600; color: var(--muted); }
.steps p { font-size: 14px; line-height: 20px; color: var(--text); text-wrap: pretty; }
.copyline {
  margin-top: 10px; height: 40px; padding: 0 4px 0 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border-radius: 10px; background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.copyline-t { min-width: 0; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.copy {
  position: relative; flex: none;
  height: 32px; min-width: 64px; padding: 0 10px; border-radius: 6px;
  background: var(--bg-3); color: var(--text);
  font-size: 12px; line-height: 16px; font-weight: 500;
  transition-property: background-color, scale; transition-duration: 150ms; transition-timing-function: var(--ease);
}
.copy:active { scale: 0.96; }
.copy.done { color: var(--accent); }
@media (hover: hover) { .copy:hover { background: var(--bg-4); } }
.facts li { font-size: 13px; line-height: 18px; color: var(--text-2); text-wrap: pretty; }
.check { display: flex; align-items: center; gap: 12px; }
.check-t { min-width: 0; flex: 1; }
.check-name { display: block; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--text); }
.check-sub { display: block; font-size: 12px; line-height: 16px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.check-acts { display: flex; gap: 8px; flex: none; }
.check .btn-out { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; font-size: 12px; line-height: 16px; font-weight: 500; }
.check .btn-out svg { color: var(--muted); }
.col-about .group:last-child > :last-child > :last-child { border-bottom: 0; }
/* the about column follows you down the board on wide screens */
@media (min-width: 1200px) {
  .about-in { position: sticky; top: calc(var(--bar-h) + var(--strip-h)); }
}

/* ---------- footer ---------- */
.foot-in {
  max-width: 1440px; margin: 0 auto; padding: 24px var(--gutter) 40px;
  display: flex; justify-content: space-between; gap: 32px;
}
.foot-text { display: grid; gap: 4px; max-width: 640px; font-size: 12px; line-height: 16px; color: var(--muted); }
.foot-text p:first-child { color: var(--text-3); }
.foot-links { display: flex; gap: 12px; flex: none; align-items: center; margin-top: -8px; }
.foot-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; padding: 0 4px; font-size: 13px; line-height: 18px; color: var(--text-3); transition: color 150ms var(--ease); }
@media (hover: hover) { .foot-links a:hover { color: var(--text); } }
.noscript { padding: 16px var(--gutter); color: var(--text-3); }

/* ---------- mid widths: two columns, about runs under them ---------- */
@media (max-width: 1199px) {
  .intro { grid-template-columns: minmax(0, 1fr) 440px; gap: 40px; }
  .board { grid-template-columns: minmax(0, 1fr) 420px; }
  .col-burns { --pr: var(--gutter); }
  .col-about { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line); }
  .about-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .col-about .group { --pl: 20px; --pr: 20px; }
  .col-about .group + .group { border-left: 1px solid var(--line); }
  .col-about .group:first-child { --pl: var(--gutter); }
  .col-about .group:last-child { --pr: var(--gutter); }
  .col-about .group > :last-child > :last-child { border-bottom: 0; }
}
@media (max-width: 959px) {
  .intro { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pot { padding-top: 24px; border-top: 1px solid var(--line); }
}

/* ---------- phone ---------- */
@media (max-width: 759px) {
  :root { --gutter: 16px; --strip-h: 44px; }
  .stamp { display: none; }
  .bar-end { gap: 12px; }
  .icon-btn { width: 36px; height: 36px; }
  .btn-sm { height: 36px; }
  .icon-btn::after, .btn-sm::after { content: ""; position: absolute; inset: -4px; }

  .strip { position: static; }
  .tk { height: 44px; padding: 0 6px; }

  .intro { padding: 24px var(--gutter) 24px; gap: 24px; }
  h1 { font-size: 34px; line-height: 38px; letter-spacing: -0.025em; }
  .sub { margin-top: 12px; font-size: 16px; line-height: 24px; }
  .ctas { margin-top: 20px; }
  .ctas .btn { flex: 1 1 100%; }
  .big { font-size: 40px; line-height: 44px; min-height: 44px; }
  .big-u { font-size: 16px; line-height: 20px; }
  .mid { font-size: 40px; line-height: 44px; min-height: 44px; }
  .next-sub { font-size: 12px; line-height: 16px; }
  .trio { gap: 12px; }

  .tabs {
    position: sticky; top: var(--bar-h); z-index: 20;
    display: flex; gap: 20px; padding: 0 var(--gutter);
    background: var(--bg);
    border-top: 1px solid var(--line);
  }
  .tab {
    display: inline-flex; align-items: baseline; gap: 6px;
    height: 52px; padding-top: 16px;
    font-size: 20px; line-height: 24px; font-weight: 700; letter-spacing: -0.2px;
    color: var(--muted);
    transition: color 150ms var(--ease);
  }
  .tab[aria-selected="true"] { color: var(--text); }
  .tab-n { font-size: 13px; line-height: 18px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
  .tab:focus-visible { outline-offset: -2px; }

  .board-wrap { border-top: 0; }
  .board { grid-template-columns: minmax(0, 1fr); }
  .col, .col-about .group { --pl: var(--gutter); --pr: var(--gutter); }
  .col + .col { border-left: 0; }
  .col-replies .phead, .col-burns .phead { display: none; }
  .col-note { border-top: 1px solid var(--line); }
  .board[data-tab="replies"] .col-burns, .board[data-tab="burns"] .col-replies { display: none; }
  .col-about { border-top: 0; }
  .about-in { display: block; }
  #burnedTotal .u, [data-bind="burnedTotal"] .u { display: none; }
  .col-about .group { margin-top: 24px; border-top: 1px solid var(--line); }
  .col-about .group + .group { border-left: 0; }
  .newpill { top: calc(var(--bar-h) + 52px + 8px); }

  .post { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; }
  .ledger th { padding: 0 8px; }
  .ledger td { height: 52px; padding: 4px 8px; }
  .ledger th:nth-child(1) { width: 24%; }
  .ledger th:nth-child(2) { width: 24%; }
  .ledger th:nth-child(3) { width: 20%; }
  .sig { min-height: 44px; padding-left: 0; }
  .btn-out { height: 44px; padding: 0 16px; }
  .check .btn-out { height: 36px; }
  .check .btn-out::after { content: ""; position: absolute; inset: -4px 0; }
  .copy { height: 32px; }
  .copy::after { content: ""; position: absolute; inset: -6px -4px; }
  .copyline { height: 44px; }

  .foot-in { flex-direction: column; gap: 16px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  .foot-links { gap: 8px; margin: 0 0 0 -4px; }
  .foot-links a { min-width: 44px; min-height: 44px; padding: 0 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .btn:active, .copy:active { scale: 1; }
}

/* scoreboard and coin line on smaller screens */
@media (max-width: 1199px) {
  .score-side { padding-bottom: 0; }
  .score-big { font-size: 140px; line-height: 124px; }
}
@media (max-width: 759px) {
  .coinline { margin-bottom: 20px; gap: 12px; }
  .coinline-img { width: 52px; height: 52px; border-radius: 14px; }
  .coinline-name { font-size: 18px; line-height: 24px; }
  .score-in { padding: 28px var(--gutter) 32px; gap: 20px; }
  .score-big { font-size: 84px; line-height: 76px; letter-spacing: -0.05em; }
  .score-full { margin-top: 10px; font-size: 13px; line-height: 18px; }
  .score-side { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 12px; }
  .score-side dd { font-size: 18px; line-height: 24px; }
}

/* phone: grow small controls' hit areas to 44px without changing how they look */
@media (max-width: 759px) {
  .icon-btn, .btn-sm, .copy, .btn-out { position: relative; }
  .icon-btn::before, .btn-sm::before, .btn-out::before { content: ""; position: absolute; inset: -4px; }
  .copy::before { content: ""; position: absolute; inset: -6px 0; }
}

/* ---------- scroll panels: the lists scroll inside their columns, so the page has a bottom ---------- */
:root { --panel-h: clamp(560px, calc(100svh - var(--bar-h) - var(--strip-h)), 920px); }
.col-replies, .col-burns, .col-about {
  overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.col-replies::-webkit-scrollbar, .col-burns::-webkit-scrollbar, .col-about::-webkit-scrollbar { width: 8px; }
.col-replies::-webkit-scrollbar-thumb, .col-burns::-webkit-scrollbar-thumb, .col-about::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; border: 2px solid var(--bg); }
.col-replies, .col-burns { height: var(--panel-h); }
.col-replies .phead, .col-burns .phead, .col-about .phead { position: sticky; top: 0; z-index: 3; background: var(--bg); }
.col-burns .ledger thead th { position: sticky; top: 44px; z-index: 2; background: var(--bg); }
.col-replies .newpill { top: 52px; }
@media (min-width: 1200px) {
  .col-about { height: var(--panel-h); }
  .about-in { position: static; }
}
@media (max-width: 759px) {
  .col-replies, .col-burns { height: auto; max-height: 72svh; }
}

/* ---------- our mission ---------- */
.mission-in { padding: 20px var(--pr) 24px var(--pl); border-bottom: 1px solid var(--line); }
.mission-big { font-size: 26px; line-height: 32px; font-weight: 700; letter-spacing: -0.02em; color: var(--text-hero); text-wrap: balance; }
.mission-sub { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--text-3); text-wrap: pretty; }
.mission-label { margin-top: 20px; }
.mission .copyline { margin-top: 8px; }

/* ---------- the pot, in its own card ---------- */
.pot-card {
  align-self: start;
  padding: 20px 24px 22px;
  border-radius: 16px;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pc-title { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text); }
.pc-title img { width: 24px; height: 24px; border-radius: 50%; background: #fff; }
.pc-live { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--gain); }
.pot-card .pot-now { margin-top: 18px; }
.pot-card .big { font-size: 64px; line-height: 64px; letter-spacing: -0.04em; font-weight: 700; }
.pot-card .big-u { font-size: 22px; line-height: 26px; }
.pot-card .pot-sub { margin-top: 8px; }
.pc-timer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.pc-timer-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pc-timer .label { font-size: 13px; line-height: 18px; color: var(--text-3); }
.pc-timer .mid { margin: 0; min-height: 0; font-size: 32px; line-height: 36px; font-weight: 700; letter-spacing: -0.03em; }
.pc-bar { margin-top: 12px; height: 6px; border-radius: 3px; background: var(--bg-4); overflow: hidden; }
.pc-bar span { display: block; height: 100%; border-radius: inherit; background: var(--accent); transform: scaleX(0); transform-origin: left center; transition: transform 1s linear; }
.pc-timer .next-sub { margin-top: 10px; min-height: 20px; font-size: 13px; line-height: 18px; color: var(--text-3); }
.pot-card .trio { margin-top: 18px; padding-top: 16px; }
.pot-card .trio .v { font-size: 16px; line-height: 22px; }
.pot-card .rule { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 959px) {
  .pot.pot-card { padding: 20px 24px 22px; border-top: 0; }
}
@media (max-width: 759px) {
  .pot.pot-card { padding: 16px 16px 18px; }
  .pot-card .big { font-size: 52px; line-height: 52px; }
  .pc-timer .mid { font-size: 28px; line-height: 32px; }
}
@media (prefers-reduced-motion: reduce) { .pc-bar span { transition: none; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg); }
.foot-in { max-width: 1440px; margin: 0 auto; padding: 40px var(--gutter) 32px; display: block; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand { display: grid; justify-items: start; gap: 12px; max-width: 360px; }
.foot-mark { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: -0.01em; color: var(--text-hero); }
.foot-mark img { width: 36px; height: 36px; border-radius: 10px; background: #fff; }
.foot-mission { font-size: 14px; line-height: 20px; color: var(--text-3); text-wrap: pretty; }
.foot-brand .btn { margin-top: 4px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(120px, auto)); column-gap: 64px; row-gap: 24px; }
.foot-col { display: grid; align-content: start; gap: 4px; }
.foot-col h3 { margin: 0 0 6px; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted); }
.foot-col a, .foot-soon { display: inline-flex; align-items: center; min-height: 28px; font-size: 14px; line-height: 20px; color: var(--text-2); transition: color 150ms var(--ease); }
.foot-soon { color: var(--text-3); }
@media (hover: hover) { .foot-col a:hover { color: var(--text-hero); } }
.foot-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-legal p { max-width: 880px; font-size: 12px; line-height: 18px; color: var(--muted); text-wrap: pretty; }
@media (max-width: 759px) {
  .foot-in { padding: 32px var(--gutter) 28px; }
  .foot-top { gap: 32px; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; width: 100%; }
  .foot-col a, .foot-soon { min-height: 44px; }
  .foot-legal { margin-top: 24px; }
}
