@font-face { font-family: 'Clash Display'; src: url(/fonts/clash-display-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url(/fonts/clash-display-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url(/fonts/clash-display-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url(/fonts/satoshi-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url(/fonts/satoshi-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url(/fonts/satoshi-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url(/fonts/satoshi-900.woff2) format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(/fonts/jetbrains-mono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(/fonts/jetbrains-mono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(/fonts/jetbrains-mono-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --paper: #eee9da;
  --paper-2: #e3ddc8;
  --card: #fbf8ef;
  --ink: #12120f;
  --ink-2: #3b3932;
  --muted: #7a7562;
  --on-pump: #0c0c0a;
  --pump: #2fe07d;
  --pump-tint: #c9f5da;
  --dump: #ff5a1f;
  --dump-tint: #ffdccd;
  --gold: #ffc93e;
  --link: #1a3cff;
  --shadow: #12120f;
  --hl: #2fe07d;
  --hl-d: #ffb08f;
  --up: #13a454;
  --b: 2px solid var(--ink);
  --sh: 4px 4px 0 var(--shadow);
  --sh-lg: 8px 8px 0 var(--shadow);
  --display: 'Clash Display', 'Satoshi', system-ui, sans-serif;
  --ui: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --wrap: 1240px;
  color-scheme: light;
}
:root[data-theme='night'] {
  --paper: #0e0f0b;
  --paper-2: #16170f;
  --card: #1a1b14;
  --ink: #efeadc;
  --ink-2: #cdc8b6;
  --muted: #8f8a77;
  --pump-tint: #153823;
  --dump-tint: #3c1c10;
  --link: #9fb2ff;
  --shadow: #2fe07d;
  --hl: rgba(47, 224, 125, .42);
  --hl-d: rgba(255, 90, 31, .45);
  --up: #2fe07d;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 15px/1.45 var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--mono); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
[id] { scroll-margin-top: 74px; }
svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
svg.i.fill { fill: currentColor; stroke: none; }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: var(--b);
}
.top-in {
  max-width: var(--wrap); margin: 0 auto; height: 62px; padding: 0 16px;
  display: flex; align-items: center; gap: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; font: 700 21px/1 var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.mark { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; font: 800 13.5px/1 var(--ui); white-space: nowrap; border: 2px solid transparent; }
.nav a:hover { border-color: var(--ink); background: var(--card); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  font: 800 14px/1 var(--ui); letter-spacing: 0.01em; white-space: nowrap;
  background: var(--pump); color: var(--on-pump); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s, box-shadow .12s, background .12s;
}
:root[data-theme='night'] .btn { border-color: var(--pump); box-shadow: 3px 3px 0 #000; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.btn.ghost { background: var(--card); color: var(--ink); }
.btn.launch.soon { background: var(--card); color: var(--ink); }
.iconbtn { width: 40px; height: 40px; display: grid; place-items: center; border: var(--b); background: var(--card); flex: none; }
.iconbtn:hover { background: var(--pump-tint); }
.who { font: 600 12.5px var(--mono); color: var(--ink-2); white-space: nowrap; }
.top-in .who { min-width: 0; overflow: hidden; text-overflow: ellipsis; } /* gives way first when the bar is tight */

/* ---------- masthead ---------- */
.mast { max-width: var(--wrap); margin: 22px auto 0; padding: 0 16px; position: relative; }
.slab {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(12, 12, 10, .16) 1.1px, transparent 1.6px) 0 0 / 9px 9px,
    var(--pump);
  color: var(--on-pump);
  border: 2px solid var(--ink);
  box-shadow: var(--sh-lg);
  padding: 16px 24px 20px;
}
:root[data-theme='night'] .slab { border-color: var(--pump); box-shadow: 8px 8px 0 #000; }
.slab-top {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font: 700 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 2px solid var(--on-pump); padding-bottom: 12px;
}
.word {
  margin: 8px 0 0; display: flex; align-items: flex-end;
  /* The word is ~5.3em wide; the second term keeps it inside the slab on the smallest phones. */
  font: 700 min(clamp(56px, 10.4vw, 150px), 18vw - 12px)/.8 var(--display); letter-spacing: -0.045em;
  user-select: none; cursor: default;
}
.word span { display: inline-block; transform-origin: 50% 100%; transition: color .2s; }
.word span.slash { color: var(--card); -webkit-text-stroke: 3px var(--on-pump); margin: 0 -0.02em; }
.word span.pump { animation: pump .62s cubic-bezier(.2, 1.6, .4, 1); }
.word span:hover { color: var(--card); }
@keyframes pump {
  0% { transform: scale(1, 1); }
  28% { transform: scale(.94, 1.24) translateY(-3%); }
  55% { transform: scale(1.05, .9); }
  78% { transform: scale(.98, 1.04); }
  100% { transform: scale(1, 1); }
}
.slab-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-top: 14px; }
.slab-sub {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font: 700 clamp(18px, 2.3vw, 30px)/1.05 var(--display); letter-spacing: -0.01em; text-wrap: balance;
}
.slab-sub em { font-style: normal; background: var(--on-pump); color: var(--pump); padding: 2px 10px 4px; }
.stats { display: flex; flex-wrap: wrap; gap: 8px; }
.stat {
  display: flex; flex-direction: column; gap: 4px; min-width: 0; max-width: 200px; padding: 7px 11px 8px;
  background: var(--card); color: var(--ink); border: 2px solid var(--on-pump);
}
.stat b { font: 700 17px/1 var(--mono); font-variant-numeric: tabular-nums; }
.stat small { font: 700 10px/1.15 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.stat.live b::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--dump); margin-right: 7px; vertical-align: 2px; animation: blink 1.2s steps(2) infinite; }
.stat.off b::before { background: var(--muted); animation: none; }
@keyframes blink { 50% { opacity: .2; } }
.bump { animation: bump .5s cubic-bezier(.2, 1.8, .4, 1); }
@keyframes bump { 30% { transform: translateY(-4px) scale(1.12); } }

.sticker {
  position: absolute; z-index: 3; padding: 9px 14px 10px; border: 2px solid var(--on-pump);
  font: 800 13px/1 var(--ui); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 3px 3px 0 var(--on-pump);
}
.sticker.s1 { right: 34px; top: 50px; background: var(--gold); color: var(--on-pump); transform: rotate(5deg); }
.sticker.s2 { right: 130px; top: 94px; background: var(--on-pump); color: var(--pump); transform: rotate(-4deg); }
.drop {
  position: absolute; z-index: 4; width: 54px; height: 54px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--on-pump); background: var(--card); box-shadow: 3px 3px 0 var(--on-pump);
  pointer-events: none;
}
.drop i {
  position: absolute; left: 50%; top: -18px; transform: translateX(-50%);
  font: 700 10px/1 var(--mono); font-style: normal; background: var(--on-pump); color: var(--pump); padding: 3px 5px; white-space: nowrap;
}

/* tilted live tape: everyone else's launches */
.tape {
  position: relative; z-index: 5; margin: -14px -8px 0; transform: rotate(-1.3deg);
  background: var(--ink); color: var(--pump); border: 2px solid var(--ink); overflow: hidden;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .12);
}
:root[data-theme='night'] .tape { background: #000; border-color: var(--pump); }
.tape-label {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; display: flex; align-items: center; padding: 0 14px;
  background: var(--dump); color: #fff; font: 800 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  border-right: 2px solid var(--ink);
}
.tape-track { display: flex; width: max-content; min-height: 37px; will-change: transform; }
.tape-item { display: flex; align-items: center; gap: 10px; padding: 10px 22px; font: 700 13px/1 var(--mono); white-space: nowrap; }
.tape-item .k { color: #eee9da; opacity: .7; font-weight: 500; }
.tape-item.grad { color: var(--gold); }
.tape-item svg { width: 12px; height: 12px; }

/* ---------- section chrome ---------- */
.seclabel { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.seclabel span { display: inline-grid; place-items: center; height: 24px; padding: 0 7px; background: var(--ink); color: var(--pump); }
:root[data-theme='night'] .seclabel span { background: var(--pump); color: var(--on-pump); }
.sec { max-width: var(--wrap); margin: 0 auto; padding: 96px 16px 0; }
.sec-h { margin: 0 0 28px; font: 700 clamp(40px, 6.6vw, 96px)/.92 var(--display); letter-spacing: -0.045em; }
.sec-h em, .line em {
  font-style: normal; background: var(--pump); color: var(--on-pump); padding: 0 .1em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- layout: the post + its sidebar ---------- */
.layout {
  max-width: var(--wrap); margin: 30px auto 0; padding: 0 16px;
  display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start;
}
.layout > section > .seclabel { margin-bottom: 14px; }

/* ---------- post ---------- */
.post {
  position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr); margin-bottom: 14px;
  background: var(--card); border: var(--b); box-shadow: var(--sh);
}
.rail {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 0;
  border-right: var(--b); background: var(--paper-2);
}
.vote { width: 40px; height: 32px; display: grid; place-items: center; color: var(--muted); transition: color .12s, transform .12s; }
.vote svg { width: 26px; height: 26px; stroke-width: 2.6; }
.vote:hover { color: var(--ink); }
.vote.up:hover, .vote.up.on { color: var(--up); }
.vote.down:hover, .vote.down.on { color: var(--dump); }
.vote.on svg { fill: currentColor; }
.vote.hit { animation: hit .45s cubic-bezier(.2, 1.9, .4, 1); }
@keyframes hit { 35% { transform: translateY(-6px) scale(1.3); } }
.vote.down.hit { animation-name: hitd; }
@keyframes hitd { 35% { transform: translateY(6px) scale(1.3); } }
.score { font: 700 13px/1 var(--mono); font-variant-numeric: tabular-nums; text-align: center; padding: 2px 0; }
.score small { display: block; margin-top: 4px; font-size: 9px; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.pbody { padding: 13px 16px 12px; min-width: 0; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font: 600 12.5px/1.2 var(--ui); color: var(--muted); }
.meta .u { color: var(--ink-2); font-weight: 700; }
.flair {
  display: inline-flex; align-items: center; gap: 5px; height: 21px; padding: 0 9px;
  border: 2px solid var(--ink); border-radius: 999px; font: 900 10px/1 var(--ui); letter-spacing: .07em; text-transform: uppercase; color: var(--on-pump);
}
.flair.f-new { background: var(--pump); }
.flair.f-koth { background: var(--gold); }
.flair.f-grad { background: var(--ink); color: var(--pump); }
.ptitle { margin: 7px 0 0; font: 600 23px/1.08 var(--display); letter-spacing: -0.012em; overflow-wrap: anywhere; }
.tick { font: 700 14px/1 var(--mono); color: var(--muted); letter-spacing: 0; margin-left: 4px; white-space: nowrap; }
.ath { display: flex; align-items: center; gap: 10px; margin-top: 14px; font: 600 11px/1 var(--mono); color: var(--muted); }
.athbar { position: relative; flex: 0 1 260px; height: 12px; border: 2px solid var(--ink); background: var(--paper-2); overflow: hidden; }
.athbar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--pump); border-right: 2px solid var(--ink); transition: width .9s cubic-bezier(.2, .9, .3, 1); }
.athbar.low i { background: var(--dump); }
.actions { display: flex; flex-wrap: wrap; gap: 4px; margin: 10px 0 0 -8px; }
.act {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px;
  font: 700 12.5px/1 var(--ui); color: var(--ink-2);
}
a.act:hover, button.act:hover { background: var(--paper-2); color: var(--ink); }
.act svg { width: 16px; height: 16px; }
.ident { width: 100%; height: 100%; display: grid; place-items: center; font: 700 34px/1 var(--display); color: var(--on-pump); }

/* the genesis post */
.gpost { grid-template-columns: 86px minmax(0, 1fr); box-shadow: var(--sh-lg); }
.gpost .rail { display: block; padding: 18px 0; }
.rail-in { position: sticky; top: 86px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.gpost .vote { width: 56px; height: 46px; }
.gpost .vote svg { width: 38px; height: 38px; }
.gpost .score { font-size: 21px; }
.gpost .score small { font-size: 8.5px; }
.gpost .pbody { padding: 20px 28px 20px; }
.gpost .ptitle { margin-top: 14px; font: 700 clamp(32px, 4.4vw, 58px)/.96 var(--display); letter-spacing: -0.03em; }
.gtext { margin-top: 22px; max-width: 66ch; font: 500 clamp(16.5px, 1.45vw, 19px)/1.62 var(--ui); }
.gtext p { margin: 0 0 15px; }
.gtext .last { font-weight: 800; }
.gtext mark {
  color: inherit; padding: 0 2px;
  background: linear-gradient(var(--hl), var(--hl)) 0 88% / 0% 46% no-repeat;
  transition: background-size .8s cubic-bezier(.3, .8, .3, 1) .12s;
}
.gtext mark.d { --hl: var(--hl-d); }
.gtext p.lit mark { background-size: 100% 46%; }
.gtext p.lit mark + mark { transition-delay: .5s; }

.cabox { margin: 22px 0 4px; padding: 15px 16px 16px; border: var(--b); background: var(--paper-2); }
.cabox > small { display: block; margin-bottom: 9px; font: 700 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cabox.soon > b { display: block; font: 700 clamp(22px, 2.6vw, 30px)/1 var(--display); letter-spacing: -0.02em; }
.caret { display: inline-block; width: .42em; height: .86em; margin-left: .16em; vertical-align: -0.06em; background: var(--ink); animation: blink 1s steps(2) infinite; }
.cabox .sub { display: block; margin-top: 10px; font: 600 13px/1.45 var(--mono); color: var(--ink-2); }
.ca-big { display: block; width: 100%; text-align: left; font: 700 clamp(14px, 1.7vw, 20px)/1.3 var(--mono); overflow-wrap: anywhere; }
.ca-big:hover { text-decoration: underline; text-underline-offset: 3px; }
.cabtns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.canote { margin: 10px 0 0; font: 600 12px var(--mono); color: var(--muted); }

.gpost .actions { align-items: center; margin-top: 16px; gap: 6px; }
.btn.board { height: 46px; padding: 0 20px; font-size: 15px; }
.gpost .btn.board { margin-left: 8px; }
.btn.board svg { width: 20px; height: 20px; stroke-width: 2.6; }
.btn.board.on { background: #0c0c0a; color: var(--pump); }
.btn.board.on svg { fill: currentColor; }
.tally { font-family: var(--mono); font-size: 12px; }
.burst { position: fixed; z-index: 95; width: 22px; height: 22px; pointer-events: none; color: var(--pump); }
.burst svg { width: 22px; height: 22px; fill: currentColor; stroke: #0c0c0a; stroke-width: 1.6; }

/* ---------- sidebar ---------- */
.side { display: flex; flex-direction: column; gap: 18px; padding-top: 38px; }
.box { background: var(--card); border: var(--b); box-shadow: var(--sh); }
.box-h {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: var(--b);
  font: 900 11.5px/1 var(--ui); letter-spacing: .09em; text-transform: uppercase;
}
.box.about .box-h { background: var(--ink); color: var(--paper); }
.box.koth .box-h { background: var(--gold); color: var(--on-pump); }
.box-b { padding: 14px; }
.box .btn { width: 100%; }
.bignum { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 14px; }
.bignum b { font: 700 58px/.86 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.bignum small { font: 700 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.side .note { margin: 10px 0 0; font: 500 11.5px/1.45 var(--mono); color: var(--muted); }
.coinwait { margin: 0; font-size: 14px; color: var(--ink-2); }
.coinwait b { color: var(--ink); }
.ca-mini { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font: 700 15px var(--mono); }
.ca-mini svg { width: 15px; height: 15px; }
.minimc { margin-bottom: 12px; }
.minimc b { display: block; margin-top: 5px; font: 700 28px/1 var(--mono); font-variant-numeric: tabular-nums; }
.minimc small, .cc-mc small { display: block; font: 700 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: var(--b); margin-bottom: 14px; }
.kv div { padding: 9px 10px; }
.kv div + div { border-left: var(--b); }
.kv b { display: block; font: 700 18px/1.1 var(--mono); font-variant-numeric: tabular-nums; }
.kv small { font: 700 9.5px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.rules { margin: 0; padding: 0; list-style: none; counter-reset: r; }
.rules li { counter-increment: r; display: grid; grid-template-columns: 30px 1fr; gap: 6px; padding: 10px 14px; font-size: 13.5px; }
.rules li + li { border-top: 1.5px dashed var(--muted); }
.rules li::before { content: counter(r); font: 700 20px/1 var(--display); }
.rules b { display: block; font-weight: 800; }
.rules span { color: var(--ink-2); }

/* ---------- the trenches: everyone else's coins, pulled into one ---------- */
.trenches {
  position: relative; height: 290vh; margin-top: 96px;
  background: #0c0c0a; color: #eee9da;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
:root[data-theme='night'] .trenches { background: #050504; border-color: var(--pump); }
.stage {
  position: sticky; top: 62px; height: calc(100vh - 62px); height: calc(100svh - 62px);
  max-width: var(--wrap); margin: 0 auto; padding: 26px 16px 20px;
  display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 16px; overflow: hidden;
}
.trenches .seclabel { margin: 0; color: #8f8a77; }
.trenches .seclabel span { background: var(--pump); color: #0c0c0a; }
.lines { position: relative; height: 2.05em; font: 700 clamp(30px, min(5.4vw, 10vh), 78px)/.98 var(--display); letter-spacing: -0.035em; }
.line { position: absolute; left: 0; right: 0; top: 0; margin: 0; font: inherit; opacity: 0; transform: translateY(.3em); transition: opacity .4s, transform .55s cubic-bezier(.2, .9, .3, 1); }
.line.on { opacity: 1; transform: none; }
.line em { color: #0c0c0a; }
.wallbox { position: relative; display: grid; align-content: center; min-height: 0; container-type: size; }
/* Only as wide as the box's height allows: --rows rows of 5:4 tiles, centred. */
.wall {
  --cols: 8; --rows: 3; --gap: 10px;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap);
  width: min(100%, (100cqh - (var(--rows) - 1) * var(--gap)) / var(--rows) * 1.25 * var(--cols) + (var(--cols) - 1) * var(--gap));
  margin: 0 auto;
}
.tile {
  position: relative; aspect-ratio: 5 / 4; min-width: 0; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; padding: 9px 10px;
  background: var(--c, var(--pump)); color: #0c0c0a; border: 2px solid #0c0c0a;
  box-shadow: 0 0 0 1px rgba(238, 233, 218, .16); transition: filter .9s; container-type: inline-size;
}
.tile b { font: 700 clamp(13px, 14cqi, 30px)/1 var(--display); letter-spacing: -0.015em; overflow-wrap: anywhere; }
.tile span { display: flex; justify-content: space-between; gap: 6px; font: 700 clamp(8.5px, 6.6cqi, 12px)/1 var(--mono); }
.tile small { font: inherit; opacity: .72; }
.tile i { font-style: normal; }
.tile.in { animation: slam .5s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes slam {
  0% { opacity: 0; transform: translateY(-26px) rotate(-3deg) scale(1.08); }
  60% { opacity: 1; transform: translateY(3px) rotate(.4deg); }
  100% { transform: none; }
}
.one {
  position: absolute; left: 50%; top: 50%; z-index: 3; width: min(330px, 66vw, 96cqh); aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(.35); opacity: 0; pointer-events: none; container-type: inline-size;
}
.one .ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 26s linear infinite; }
.one .ring text { font: 700 12.3px/1 var(--mono); letter-spacing: .04em; fill: #eee9da; }
.one .disc {
  position: absolute; inset: 13%; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 3cqi;
  background: radial-gradient(circle at 1px 1px, rgba(12, 12, 10, .16) 1.1px, transparent 1.6px) 0 0 / 9px 9px, var(--pump);
  color: #0c0c0a; border: 3px solid #0c0c0a; box-shadow: 0 0 0 3px var(--pump), 0 0 90px rgba(47, 224, 125, .5);
}
.one .disc svg { width: 20cqi; height: 20cqi; }
.one .disc b { font: 700 9.6cqi/1 var(--display); letter-spacing: -0.035em; }
@keyframes spin { to { transform: rotate(360deg); } }
.wallnote { display: flex; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; font: 700 11.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #8f8a77; }
.wallnote b { color: var(--pump); font-variant-numeric: tabular-nums; }

/* ---------- the coin ---------- */
.pending {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: center;
  padding: 30px; background: var(--card); border: var(--b); box-shadow: var(--sh-lg);
}
.pend-disc {
  position: relative; width: clamp(150px, 19vw, 230px); aspect-ratio: 1; display: grid; place-items: center;
  font: 700 clamp(46px, 6vw, 74px)/1 var(--display); letter-spacing: -0.04em; color: var(--muted);
}
.pend-disc::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 3px dashed var(--ink); animation: spin 28s linear infinite; }
.pending h3 { margin: 0 0 14px; font: 700 clamp(28px, 3.8vw, 50px)/.98 var(--display); letter-spacing: -0.025em; }
.pending p { margin: 0 0 12px; max-width: 62ch; color: var(--ink-2); font-size: 16px; }
.pending .warn { display: inline-block; margin: 4px 0 18px; padding: 10px 13px; background: var(--gold); color: var(--on-pump); border: var(--b); font-weight: 800; }
.pending .row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font: 700 12.5px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pending .row b { color: var(--ink); font-size: 16px; }

.coincard { padding: 24px; background: var(--card); border: var(--b); box-shadow: var(--sh-lg); }
.cc-top { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.cc-top .cimg { width: 112px; height: 112px; border: var(--b); overflow: hidden; background: var(--paper-2); }
.cc-top .cimg img, .cc-top .cimg .ident { width: 100%; height: 100%; object-fit: cover; }
.cc-id { min-width: 0; }
.cc-id h3 { margin: 8px 0 6px; font: 700 clamp(30px, 4.4vw, 54px)/.95 var(--display); letter-spacing: -0.03em; overflow-wrap: anywhere; }
.cc-id h3 .tick { font-size: 18px; vertical-align: middle; }
.ca-line { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; font: 600 12.5px/1.25 var(--mono); color: var(--ink-2); text-align: left; }
.ca-line span { overflow-wrap: anywhere; }
.ca-line svg { width: 15px; height: 15px; }
.ca-line:hover { color: var(--ink); }
.cc-mc { text-align: right; }
.cc-mc b { display: block; margin: 6px 0 4px; font: 700 clamp(32px, 4.6vw, 60px)/1 var(--mono); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.chg { font: 700 13px var(--mono); }
.chg.p, .statgrid b.p { color: var(--up); }
.chg.n, .statgrid b.n { color: var(--dump); }
.statgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; border: var(--b); background: var(--card); }
.statgrid div { padding: 12px 14px; min-width: 0; }
.statgrid div:nth-child(n+5) { border-top: var(--b); }
.statgrid div:not(:nth-child(4n+1)) { border-left: var(--b); }
.statgrid small { display: block; font: 700 9.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.statgrid b { display: block; font: 700 18px/1.1 var(--mono); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.statgrid sub { font-size: .62em; vertical-align: -0.25em; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.links .btn { height: 38px; font-size: 13px; padding: 0 14px; }
.ccnote { margin: 14px 0 0; font: 600 13px var(--mono); color: var(--muted); }
.chart { margin-top: 18px; height: 460px; border: var(--b); background: #0c0c0a; }
.chart iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- in the open ---------- */
.promises { list-style: none; margin: 0; padding: 0; border-top: var(--b); }
.promises li { display: grid; grid-template-columns: clamp(64px, 9vw, 124px) minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 24px 0; border-bottom: var(--b); }
.promises .pn { font: 700 clamp(38px, 5.4vw, 72px)/1 var(--display); letter-spacing: -0.05em; color: var(--muted); transition: color .2s; }
.promises li:hover .pn { color: var(--ink); }
.promises h3 { margin: 0; font: 700 clamp(24px, 3.4vw, 44px)/1 var(--display); letter-spacing: -0.025em; }
.promises p { margin: 8px 0 0; max-width: 60ch; color: var(--ink-2); font-size: 15.5px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; border: var(--b); background: var(--card);
  font: 700 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.chip.ok { background: var(--pump); color: var(--on-pump); }
.chip.ok::before { background: var(--on-pump); }
.chip.wait { background: var(--gold); color: var(--on-pump); }
.chip.wait::before { background: var(--on-pump); animation: blink 1.2s steps(2) infinite; }
.ledger { margin-top: 28px; background: var(--card); border: var(--b); box-shadow: var(--sh); }
.ledger-h {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; background: var(--ink); color: var(--paper);
  font: 900 11.5px/1 var(--ui); letter-spacing: .09em; text-transform: uppercase;
}
.ledger-h span + span { font: 600 11px/1 var(--mono); letter-spacing: .04em; opacity: .7; }
.ledger table { width: 100%; border-collapse: collapse; font: 600 13.5px/1.35 var(--mono); }
.ledger th { padding: 10px 14px; text-align: left; font: 700 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: var(--b); }
.ledger td { padding: 12px 14px; border-bottom: 1.5px dashed var(--muted); vertical-align: top; overflow-wrap: anywhere; }
.ledger tr:last-child td { border-bottom: 0; }
.ledger td a { display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-underline-offset: 3px; }
.ledger td a svg { width: 14px; height: 14px; }
.ledger-empty { padding: 26px 14px; font: 600 14.5px var(--ui); color: var(--muted); }
.ledger-empty b { color: var(--ink); }

/* ---------- the thread ---------- */
.threadsec .thread { max-width: 900px; }
.thread-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: var(--b); padding-bottom: 10px; }
.thread-h h3 { margin: 0; font: 700 28px/1 var(--display); letter-spacing: -0.02em; }
.csort { display: flex; gap: 4px; }
.csort button { height: 28px; padding: 0 10px; font: 700 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; border: 2px solid transparent; }
.csort button[aria-pressed='true'] { border-color: var(--ink); background: var(--card); }
.composer { margin-top: 14px; border: var(--b); background: var(--card); box-shadow: var(--sh); }
.composer textarea {
  display: block; width: 100%; min-height: 96px; resize: vertical; border: 0; padding: 13px 15px; background: none;
  font: 500 16px/1.45 var(--ui); color: var(--ink); outline: none;
}
.composer .cbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; padding: 8px 8px 8px 14px; border-top: 1.5px dashed var(--muted); }
.composer .cbar .who { min-width: 0; white-space: normal; }
.composer .cbar .who b { color: var(--ink); overflow-wrap: anywhere; }
.reroll { font: 700 12px var(--mono); color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.reroll:hover { color: var(--ink); }
.composer .btn { height: 36px; font-size: 13px; margin-left: auto; }
.composer .err { color: var(--dump); font: 700 12px var(--mono); padding: 0 14px 10px; }
.composer.mini { margin: 8px 0 4px; box-shadow: none; }
.composer.mini textarea { min-height: 64px; font-size: 14.5px; }
.comments { margin-top: 18px; }
.cm { position: relative; margin-top: 16px; }
.cm .kids { margin-left: 15px; padding-left: 18px; border-left: 2px solid var(--paper-2); }
.cm .kids:hover { border-left-color: var(--muted); }
.ch { display: flex; align-items: center; gap: 8px; font: 600 12.5px/1 var(--ui); color: var(--muted); }
.ch .av { width: 30px; height: 30px; border: 2px solid var(--ink); display: grid; place-items: center; font: 700 13px/1 var(--display); color: var(--on-pump); flex: none; }
.ch .au { color: var(--ink); font-weight: 800; }
.ch .op { font: 900 9px/1 var(--ui); letter-spacing: .08em; border: 1.5px solid var(--ink); padding: 3px 5px; color: var(--ink); }
.cb { margin: 6px 0 0 38px; font-size: 15.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ca { display: flex; align-items: center; gap: 2px; margin: 4px 0 0 32px; }
.ca .vote { width: 30px; height: 26px; }
.ca .vote svg { width: 19px; height: 19px; }
.ca .n { font: 700 12px/1 var(--mono); min-width: 22px; text-align: center; }
.ca .act { height: 26px; font-size: 12px; }
.cm.collapsed > .cb, .cm.collapsed > .ca, .cm.collapsed > .kids, .cm.collapsed > .composer { display: none; }
.cm .toggle { font: 700 11px var(--mono); color: var(--muted); }
.firstpost { margin-top: 18px; padding: 28px; border: 2px dashed var(--muted); text-align: center; color: var(--muted); font: 600 14px var(--ui); }
.firstpost b { display: block; font: 700 24px/1.1 var(--display); color: var(--ink); margin-bottom: 6px; }
.skel { height: 152px; margin-bottom: 14px; border: var(--b); background: linear-gradient(90deg, var(--card) 0 40%, var(--paper-2) 50%, var(--card) 60% 100%) 0 0 / 300% 100%; animation: skel 1.2s linear infinite; }
@keyframes skel { to { background-position: -150% 0; } }
.empty { border: var(--b); background: var(--card); padding: 30px 24px; text-align: center; font: 600 15px var(--ui); }
.empty b { display: block; font: 700 26px/1 var(--display); margin-bottom: 8px; }

/* ---------- footer ---------- */
.foot { margin-top: 110px; background: #0c0c0a; color: #eee9da; border-top: 2px solid var(--ink); }
:root[data-theme='night'] .foot { background: #050504; border-color: var(--pump); }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 40px 16px 54px; }
.footword { margin: 0 0 24px; font: 700 clamp(40px, 15vw, 220px)/.8 var(--display); letter-spacing: -0.05em; color: var(--pump); }
.foot p { margin: 0 0 10px; max-width: 88ch; font: 500 12.5px/1.6 var(--mono); color: #a8a392; }
.foot a { color: #eee9da; text-decoration: underline; text-underline-offset: 3px; }

.toast {
  position: fixed; left: 50%; bottom: 22px; z-index: 120; transform: translate(-50%, 160%);
  background: var(--ink); color: var(--paper); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--pump);
  padding: 12px 16px; font: 700 13px var(--mono); transition: transform .3s cubic-bezier(.2, 1.4, .4, 1); max-width: calc(100% - 32px);
}
.toast.on { transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side { padding-top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .sticker.s2 { display: none; }
  .wall { --cols: 6; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .top-in .who { margin-left: auto; }
}
@media (max-width: 920px) {
  .sticker { display: none; }
}
@media (max-width: 760px) {
  .top-in .who, .brand .bt { display: none; }
  .top-in { gap: 8px; justify-content: space-between; }
  .top-in .iconbtn { margin-left: auto; }
  .slab { padding: 14px 14px 18px; box-shadow: 5px 5px 0 var(--shadow); }
  .stat { min-width: 0; flex: 1 1 40%; }
  .stat:nth-child(-n+2) { display: none; } /* the line above already says 7,000 and 8,000 */
  .stat b { font-size: 16px; }
  .tape-label { padding: 0 9px; font-size: 9.5px; }
  .layout { margin-top: 30px; }
  .side { grid-template-columns: minmax(0, 1fr); }
  .gpost { grid-template-columns: 54px minmax(0, 1fr); }
  .gpost .rail { padding: 12px 0; }
  .gpost .vote { width: 40px; height: 36px; }
  .gpost .vote svg { width: 28px; height: 28px; }
  .gpost .score { font-size: 15px; }
  .gpost .pbody { padding: 14px 14px 16px; }
  .gpost .btn.board { margin-left: 0; width: 100%; }
  .gpost .actions { margin-left: 0; }
  .sec { padding-top: 72px; }
  .lines { height: 3.3em; font-size: clamp(22px, 7vw, 30px); }
  .wall { --cols: 4; --rows: 4; --gap: 7px; }
  .tile { padding: 6px 7px; }
  .tile i { display: none; }
  .pending { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 18px; }
  .pend-disc { width: 120px; font-size: 40px; }
  .cc-top { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .cc-top .cimg { width: 72px; height: 72px; }
  .cc-mc { grid-column: 1 / -1; text-align: left; }
  .coincard { padding: 16px; }
  .statgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statgrid div:nth-child(n+3) { border-top: var(--b); }
  .statgrid div:not(:nth-child(4n+1)) { border-left: 0; }
  .statgrid div:nth-child(2n) { border-left: var(--b); }
  .chart { height: 360px; }
  .promises li { grid-template-columns: 46px minmax(0, 1fr); gap: 12px; }
  .promises .chip { grid-column: 2; justify-self: start; }
  .ledger table, .ledger thead, .ledger tbody, .ledger tr, .ledger td { display: block; }
  .ledger thead { display: none; }
  .ledger tr { padding: 8px 0; border-bottom: 1.5px dashed var(--muted); }
  .ledger td { border: 0; padding: 3px 14px; }
  .cm .kids { margin-left: 8px; padding-left: 12px; }
}
@media (max-width: 420px) {
  .tape-label .tl-x { display: none; }
  .gpost .pbody { padding: 12px 12px 14px; }
  .gpost .ptitle { font-size: clamp(24px, 7.6vw, 32px); }
}
/* Reduced motion, or a screen too short to pin the stage: app.js sets .still and the trenches just scroll. */
.trenches.still { height: auto; }
.still .stage { position: static; height: auto; }
.still .lines { height: auto; }
.still .line { position: static; opacity: 1; transform: none; margin-bottom: .35em; }
.still .wallbox { display: block; container-type: normal; }
.still .wall { width: auto; }
.still .one { position: relative; left: auto; top: auto; margin: 28px auto 0; transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
