:root {
  --ink: #1c070c;
  --ink-2: #260b11;
  --ink-3: #33121a;
  --brass: #dcb768;
  --brass-2: #f3dfa6;
  --line: rgba(246, 236, 216, .13);
  --line-2: rgba(246, 236, 216, .07);
  --bone: #f6ecd8;
  --mute: #c2ad9f;
  --faint: #8c7267;
  --ok: #6fd6c6;
  --bad: #ff5a3c;
  --gold: #f3dfa6;
  --serif: "Bodoni Moda", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --page: min(1400px, calc(100vw - 64px));
  --out: cubic-bezier(.16, 1, .3, 1);
  --inout: cubic-bezier(.76, 0, .24, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; background: var(--ink); }
body { margin: 0; color: var(--bone); font: 400 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
[hidden] { display: none !important; }
h1, h2, h3, p, ol, ul, dl, dd, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h2 { font: 400 clamp(44px, 6.4vw, 104px)/.96 var(--serif); letter-spacing: -.02em; }
h3 { font: 600 15px/1.3 var(--sans); }
:focus-visible { outline: 2px solid var(--ok); outline-offset: 2px; }
::selection { background: var(--ok); color: var(--ink); }

/* ---------- layers over the page ---------- */
#grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .55; mix-blend-mode: overlay; }
#progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 80; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--ok), var(--gold) 60%, var(--bad)); }
#ink { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 75; pointer-events: none; }
#cur { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; opacity: 0; width: 0; height: 0; }
.pointer-on #cur { opacity: 1; }
#cur i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border: 1px solid var(--bone); border-radius: 50%; transition: transform .35s var(--out), background .25s, border-color .25s; mix-blend-mode: difference; }
#cur.big i { transform: scale(2.8); }
#cur.open i { transform: scale(5.2); background: var(--bone); }
#cur span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font: 500 11px/1 var(--mono); color: var(--ink); letter-spacing: .04em; }
#peek { position: fixed; left: 0; top: 0; z-index: 70; width: 190px; height: 190px; pointer-events: none; }
#peek img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; opacity: 0; transform: scale(.82); clip-path: inset(50% 0 50% 0); transition: opacity .25s, transform .5s var(--out), clip-path .5s var(--out); box-shadow: 0 24px 70px rgba(0, 0, 0, .7); }
#peek.on img { opacity: 1; transform: none; clip-path: inset(0); }
#wipe { position: fixed; inset: 0; z-index: 85; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); visibility: hidden; }
#wipe i { background: var(--bone); transform: scaleY(1); transform-origin: top; }
#wipe.run { visibility: visible; animation: gone 0s .9s forwards; }
#wipe.run i { animation: lift .75s var(--inout) both; }
#wipe i:nth-child(2) { animation-delay: .04s !important; }
#wipe i:nth-child(3) { animation-delay: .08s !important; }
#wipe i:nth-child(4) { animation-delay: .12s !important; }
#wipe i:nth-child(5) { animation-delay: .16s !important; }
@keyframes lift { to { transform: scaleY(0); } }
@keyframes gone { to { visibility: hidden; } }
#intro { position: fixed; inset: 0; z-index: 100; display: none; pointer-events: none; }
.opening #intro { display: block; }
#intro .sheet { position: absolute; left: 0; right: 0; height: 50.2%; background: #0a0807; transition: transform 1s var(--inout); }
#intro .sheet.a { top: 0; }
#intro .sheet.b { bottom: 0; }
.hero-in #intro .sheet.a { transform: translateY(-100%); }
.hero-in #intro .sheet.b { transform: translateY(100%); }
#intro .rule { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--bone); transform: scaleX(0); animation: ruled .9s var(--inout) .08s forwards; transition: opacity .3s; }
.hero-in #intro .rule { opacity: 0; }
@keyframes ruled { to { transform: scaleX(1); } }
#intro p { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -128%); font: italic 400 clamp(30px, 5vw, 64px)/1 var(--serif); white-space: nowrap; overflow: hidden; }
#intro p span { display: block; animation: rise 1s var(--out) .22s both; }
.hero-in #intro p { opacity: 0; transition: opacity .25s; }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }

/* ---------- letters ---------- */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; padding-right: .04em; margin-right: -.04em; }
.ch { display: inline-block; }
.moves .ch { transform: translateY(115%) rotate(6deg); transform-origin: left bottom; }
.moves.hero-in #hero .ch, .moves .block-head.in .ch, .moves #cName .ch, .moves .step.now .ch { animation: letter 1s var(--out) both; animation-delay: calc(var(--i) * 22ms); }
.moves.hero-in #hero .ch { animation-delay: calc(var(--i) * 34ms + 60ms); animation-duration: 1.2s; }
@keyframes letter { to { transform: none; } }
.moves .fade { opacity: 0; transform: translateY(22px); }
.moves.hero-in .fade { opacity: 1; transform: none; transition: opacity 1.1s .55s, transform 1.2s var(--out) .55s; }
.cell { display: inline-block; height: 1em; line-height: 1; overflow: hidden; vertical-align: top; }
.cell.sep { overflow: visible; white-space: pre; }
.strip { display: block; width: 1ch; white-space: normal; word-break: break-all; text-align: center; transition: transform 1.1s var(--out); }
#barClock .strip { transition: transform .32s var(--inout); }

/* ---------- the top of the page ---------- */
#strip { position: fixed; z-index: 61; inset: 0 0 auto 0; height: 32px; border-bottom: 1px solid var(--line-2); background: rgba(28, 7, 12, .6); backdrop-filter: blur(10px); transition: transform .6s var(--out); font: 400 11.5px/1 var(--mono); color: var(--mute); }
.scrolled-page #strip { transform: translateY(-101%); }
.strip-in { width: var(--page); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 24px; white-space: nowrap; }
#strip b { color: var(--bone); font-weight: 500; font-variant-numeric: tabular-nums; }
#stClock .strip { transition: transform .32s var(--inout); }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--bone); letter-spacing: .03em; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--bad); animation: pulse 2.4s infinite; }
.strip-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
#cluster { font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 4px 6px; border-radius: 3px; }
#xLink { display: grid; place-items: center; color: var(--mute); }
#xLink:hover { color: var(--bone); }

#head { position: fixed; z-index: 60; left: 50%; top: 44px; transform: translateX(-50%); width: var(--page); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 56px; transition: top .6s var(--out), width .7s var(--out), padding .6s var(--out), background .4s, border-color .4s; border: 1px solid transparent; border-radius: 16px; }
.scrolled-page #head { top: 10px; width: min(1180px, calc(100vw - 24px)); padding: 0 8px 0 14px; background: rgba(30, 8, 13, .86); backdrop-filter: blur(20px) saturate(1.3); border-color: var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.brand { justify-self: start; display: flex; align-items: center; gap: 11px; text-decoration: none; font: 400 30px/1 var(--serif); letter-spacing: -.01em; }
.brand img { border-radius: 8px; transition: transform .7s var(--out); }
.brand:hover img { transform: rotate(-14deg) scale(1.1); }
#nav { position: relative; display: flex; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 13px; background: rgba(38, 11, 17, .55); backdrop-filter: blur(14px); }
.nav-mark { position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; background: var(--bone); border-radius: 9px; opacity: 0; transition: transform .55s var(--out), width .55s var(--out), opacity .25s; }
#nav a { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; padding: 8px 15px; text-decoration: none; color: var(--mute); font-size: 14px; border-radius: 9px; transition: color .25s; }
#nav a:hover { color: var(--bone); }
#nav a.lit { color: var(--ink); }
#nav em { font: 500 10px/1 var(--mono); font-style: normal; padding: 3px 5px; border-radius: 4px; background: rgba(111, 214, 198, .16); color: var(--ok); }
#nav em:empty { display: none; }
#nav a.lit em { background: rgba(28, 7, 12, .12); color: var(--ink); }
.tools { justify-self: end; display: flex; align-items: center; gap: 8px; }
.wallet { position: relative; }
#connect { display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(38, 11, 17, .55); backdrop-filter: blur(14px); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; transition: border-color .25s, background .25s; }
#connect:hover, #connect[aria-expanded=true] { border-color: var(--bone); }
#wDot, #wDot2 { flex: none; width: 20px; height: 20px; border-radius: 50%; background: conic-gradient(from 210deg, var(--ok), var(--gold), var(--bad), var(--ok)); }
#connect.off #wDot { width: 8px; height: 8px; background: var(--faint); box-shadow: 0 0 0 3px rgba(246, 236, 216, .07); }
#bal { font: 500 12px/1 var(--mono); color: var(--mute); padding-left: 9px; border-left: 1px solid var(--line); }
#bal:empty { display: none; }
.chev { color: var(--mute); transition: transform .4s var(--out); }
#connect.off .chev { display: none; }
#connect[aria-expanded=true] .chev { transform: rotate(180deg); }
#walletMenu { position: absolute; right: 0; top: calc(100% + 10px); width: 286px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(38, 11, 17, .97); box-shadow: 0 28px 70px rgba(0, 0, 0, .65); transform-origin: top right; animation: menu .45s var(--out); }
@keyframes menu { from { opacity: 0; transform: translateY(-8px) scale(.96); } }
.wm-head { display: flex; align-items: center; gap: 11px; padding: 4px 4px 12px; border-bottom: 1px solid var(--line-2); }
#wDot2 { width: 34px; height: 34px; }
.wm-head b { display: block; font: 500 13px/1.3 var(--mono); }
.wm-head small { color: var(--gold); font-size: 12px; }
.wm-stats { display: grid; grid-template-columns: 1fr 1fr; padding: 12px 4px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; }
.wm-stats dt { font-size: 11px; color: var(--faint); }
.wm-stats dd { font: 400 22px/1.2 var(--serif); }
#walletMenu button { display: flex; justify-content: space-between; width: 100%; padding: 9px 8px; border-radius: 8px; font-size: 14px; color: var(--mute); text-align: left; transition: background .2s, color .2s; }
#walletMenu button:hover { background: rgba(246, 236, 216, .07); color: var(--bone); }
#walletMenu button span { color: var(--faint); }
#disconnect:hover { color: var(--bad) !important; }
.file { display: inline-flex; align-items: center; gap: 8px; height: 42px !important; white-space: nowrap; border-radius: 11px; }
#menuBtn { display: none; position: relative; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: rgba(38, 11, 17, .55); }
#menuBtn i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--bone); transition: transform .45s var(--out), top .45s var(--out); }
#menuBtn i:nth-child(1) { top: 16px; }
#menuBtn i:nth-child(2) { top: 24px; }
.sheet-open #menuBtn i:nth-child(1) { top: 20px; transform: rotate(45deg); }
.sheet-open #menuBtn i:nth-child(2) { top: 20px; transform: rotate(-45deg); }
#sheet { position: fixed; inset: 0; z-index: 59; display: flex; align-items: flex-end; padding: 0 16px 38px; background: var(--ink); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--inout), visibility 0s .7s; }
.sheet-open #sheet { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--inout); }
#sheet nav { width: 100%; }
#sheet a, #sheet button { display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 10px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; font: 400 56px/1.05 var(--serif); text-align: left; opacity: 0; transform: translateY(36px); transition: opacity .5s, transform .7s var(--out); }
.sheet-open #sheet a, .sheet-open #sheet button { opacity: 1; transform: none; }
.sheet-open #sheet nav > *:nth-child(1) { transition-delay: .14s; }
.sheet-open #sheet nav > *:nth-child(2) { transition-delay: .2s; }
.sheet-open #sheet nav > *:nth-child(3) { transition-delay: .26s; }
.sheet-open #sheet nav > *:nth-child(4) { transition-delay: .32s; }
.sheet-open #sheet nav > *:nth-child(5) { transition-delay: .38s; }
#sheet small { font: 400 12px/1 var(--mono); color: var(--faint); }
.primary { position: relative; overflow: hidden; isolation: isolate; background: var(--bone); color: var(--ink); font-weight: 600; font-size: 14px; border-radius: 9px; height: 38px; padding: 0 16px; transition: transform .5s var(--out), color .3s; }
.primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ok); transform: translateY(101%); transition: transform .5s var(--out); }
.primary:hover::before { transform: none; }
.primary:disabled { opacity: .5; cursor: default; }
.primary.big, .ghost.big { height: 54px; padding: 0 26px; font-size: 15px; }
.primary.wide { width: 100%; }
.ghost { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; transition: transform .5s var(--out), border-color .3s, color .3s; }
.ghost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--out); }
.ghost:hover { color: var(--ink); border-color: var(--bone); }
.ghost:hover::before { transform: none; }

/* ---------- hero ---------- */
#hero { position: relative; min-height: max(100svh, 720px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: radial-gradient(900px 620px at 72% 22%, rgba(255, 90, 60, .1), transparent 70%), radial-gradient(800px 600px at 10% 80%, rgba(111, 214, 198, .06), transparent 70%); }
#scale, #scaleBody { position: absolute; inset: 0; width: 100%; height: 100%; }
#scaleBody { pointer-events: none; }
.hero-body { position: relative; z-index: 2; width: var(--page); margin: 0 auto; padding: 0 0 34px; pointer-events: none; }
.hero-body a, .hero-body button { pointer-events: auto; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font: 500 12px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--bad); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 90, 60, .5); } 60% { box-shadow: 0 0 0 9px rgba(255, 90, 60, 0); } }
#hero h1 { font: 400 clamp(84px, 12.6vw, 230px)/.84 var(--serif); letter-spacing: -.035em; }
#hero h1 .l2 { display: block; font-style: italic; color: var(--ok); }
#hero h1 .l1 { display: block; }
.hero-foot { margin-top: 24px; max-width: min(620px, 46vw); }
.lede { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.42; color: #d6cebf; }
.cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.gate { margin-top: 12px; color: var(--gold); font-size: 14px; }.pan { position: absolute; left: 0; top: 0; z-index: 1; display: grid; justify-items: center; text-align: center; pointer-events: none; will-change: transform; }
.pan small { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.pan.left small { color: var(--ok); }
.pan.right small { color: var(--bad); }
.pan b { font: 400 44px/1 var(--serif); font-variant-numeric: tabular-nums; text-shadow: 0 2px 22px rgba(0, 0, 0, .9); }
.pan span { font: 400 10px/1.4 var(--mono); color: var(--mute); text-shadow: 0 1px 10px #000; }

/* ---------- tape ---------- */
#tape { border-block: 1px solid var(--line); overflow: hidden; height: 50px; display: flex; align-items: center; background: var(--ink); }
#tapeRun { display: flex; gap: 46px; white-space: nowrap; font: 400 13px/1 var(--mono); color: var(--mute); padding-left: 46px; will-change: transform; }
#tapeRun b { color: var(--bone); font-weight: 500; }
#tapeRun .up { color: var(--ok); }
#tapeRun .down { color: var(--bad); }

/* ---------- stats ---------- */
.statline { width: var(--page); margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); }
.statline > div { position: relative; padding: 34px 18px 34px; }
.statline > div::after { content: ""; position: absolute; right: 0; top: 26px; bottom: 26px; width: 1px; background: var(--line-2); transform: scaleY(0); transform-origin: top; transition: transform 1.1s var(--out) calc(var(--n, 0) * 90ms); }
.statline.in > div::after { transform: none; }
.statline > div:first-child { padding-left: 0; }
.statline > div:last-child::after { display: none; }
.statline b { display: block; font: 400 clamp(38px, 4vw, 62px)/1 var(--serif); font-variant-numeric: tabular-nums; }
.statline span.lab { display: block; margin-top: 9px; font-size: 13px; color: var(--mute); }

/* ---------- spotlight ---------- */
#spot { width: var(--page); margin: 18px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.spot-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; background: var(--ink-2); transition: transform .5s var(--out), border-color .3s; }
.spot-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(220, 183, 104, .15), transparent 70%); transition: opacity .3s; }
.spot-card:hover { border-color: rgba(246, 236, 216, .4); }
.spot-card:hover::before { opacity: 1; }
.spot-card img { width: 84px; height: 84px; border-radius: 9px; object-fit: cover; }
.spot-card small { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.spot-card.appeal small { color: var(--bad); }
.spot-card b { display: block; font: 400 34px/1.1 var(--serif); margin-top: 7px; }
.spot-card span { color: var(--mute); font-size: 13px; }
.spot-card .pct { font: 400 44px/1 var(--serif); color: var(--bone); }

/* ---------- blocks ---------- */
.block { width: var(--page); margin: 0 auto; padding-top: clamp(90px, 11vw, 170px); }
.block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: 34px; }
.kicker { display: flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 16px; }
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--mute); transform-origin: left; }
.moves .block-head .kicker::before { transform: scaleX(0); transition: transform 1s var(--out) .1s; }
.moves .block-head.in .kicker::before { transform: none; }
.sub { color: var(--mute); margin-top: 10px; max-width: 46em; }
.moves .block-head .sub, .moves .block-head .filters, .moves .block-head .session { opacity: 0; transform: translateY(16px); transition: opacity .9s .25s, transform 1s var(--out) .25s; }
.moves .block-head.in .sub, .moves .block-head.in .filters, .moves .block-head.in .session { opacity: 1; transform: none; }
.fine { color: var(--faint); font-size: 13px; line-height: 1.5; }
.filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tabs { position: relative; display: flex; border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.tabs button { position: relative; z-index: 1; padding: 7px 12px; font-size: 13px; border-radius: 7px; color: var(--mute); transition: color .3s; white-space: nowrap; }
.tabs button[aria-pressed=true] { color: var(--ink); }
.pill { position: absolute; left: 0; top: 3px; bottom: 3px; width: 0; background: var(--bone); border-radius: 7px; transition: transform .55s var(--out), width .55s var(--out); }
#search { width: 220px; height: 40px; padding: 0 13px; background: transparent; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; transition: border-color .25s, width .5s var(--out); }
#search:focus { outline: 0; border-color: var(--bone); width: 280px; }
#search::placeholder { color: var(--faint); }

/* ---------- docket table ---------- */
.thead, .row { display: grid; grid-template-columns: 62px minmax(240px, 2.3fr) minmax(170px, 1.5fr) 110px 100px 140px 90px; gap: 18px; align-items: center; }
.thead { padding: 0 10px 13px; font: 500 11px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--faint); position: relative; }
.thead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); transform-origin: left; }
.moves .table .thead::after { transform: scaleX(0); transition: transform 1.3s var(--inout); }
.moves .table.in .thead::after { transform: none; }
.row { position: relative; padding: 15px 10px; border-bottom: 1px solid var(--line-2); text-decoration: none; isolation: isolate; }
.row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(246, 236, 216, .07), rgba(246, 236, 216, .015)); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--out); }
.row:hover::before { transform: none; }
.row.enter { animation: rowin .9s var(--out) both; animation-delay: calc(var(--i) * 55ms); }
@keyframes rowin { from { opacity: 0; transform: translateY(26px); } }
.row.bump::after { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; background: linear-gradient(90deg, transparent, var(--flash, transparent), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: scan .95s var(--out); }
.row.bump.up { --flash: rgba(111, 214, 198, .26); }
.row.bump.down { --flash: rgba(255, 90, 60, .3); }
@keyframes scan { from { background-position: -60% 0; } to { background-position: 160% 0; } }
.r-no { font: 400 12px/1 var(--mono); color: var(--faint); font-variant-numeric: tabular-nums; transition: transform .5s var(--out), color .3s; }
.row:hover .r-no { transform: translateX(6px); color: var(--bone); }
.r-who { display: flex; align-items: center; gap: 13px; min-width: 0; }
.r-who img { flex: none; width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--ink-3); transition: transform .6s var(--out); }
.row:hover .r-who img { transform: scale(1.08) rotate(-3deg); }
.r-who div { min-width: 0; }
.r-who b { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; font: 400 25px/1.1 var(--serif); }
.r-who b em { font: 500 11px/1 var(--mono); color: var(--mute); }
.r-who p { color: var(--faint); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter { display: grid; gap: 7px; }
.meter > span { display: flex; justify-content: space-between; font: 400 12px/1 var(--mono); color: var(--mute); }
.meter > span b { color: var(--bone); font-weight: 500; }
.track { position: relative; height: 3px; background: var(--line); border-radius: 2px; }
.track i { position: absolute; inset: 0 auto 0 0; background: var(--ok); border-radius: 2px; box-shadow: 0 0 12px rgba(111, 214, 198, .6); transition: width .8s var(--out); }
.track i::after { content: ""; position: absolute; right: -3px; top: -2px; width: 7px; height: 7px; border-radius: 50%; background: inherit; animation: tip 2s infinite; }
@keyframes tip { 50% { opacity: .35; transform: scale(.7); } }
.row.is-bad .track i { background: var(--bad); box-shadow: 0 0 12px rgba(255, 90, 60, .6); }
.row.is-cold .track i { background: var(--faint); box-shadow: none; }
.row.is-cold .track i::after { animation: none; }
.r-votes { font: 400 12px/1.5 var(--mono); }
.r-votes .up { color: var(--ok); display: block; }
.r-votes .down { color: var(--bad); display: block; }
.r-ex { display: flex; flex-wrap: wrap; gap: 4px; }
.ex { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border: 1px solid var(--line); border-radius: 5px; font: italic 400 15px/1 var(--serif); color: var(--faint); }
.ex.warn { color: var(--bad); border-color: rgba(255, 90, 60, .5); background: rgba(255, 90, 60, .08); }
.r-co { font-size: 13px; color: var(--mute); line-height: 1.3; }
.r-co b { display: block; color: var(--bone); font-weight: 500; }
.r-co .hot { color: var(--bad); }
.r-mcap { font: 400 13px/1 var(--mono); text-align: right; }
.empty { padding: 60px 8px; color: var(--mute); text-align: center; font: italic 400 30px/1.3 var(--serif); }

/* ---------- stamps ---------- */
.stamp { display: inline-block; padding: 3px 7px 2px; border: 1.5px solid currentColor; border-radius: 3px; font: 600 10.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; transform: rotate(-2.5deg); white-space: nowrap; }
.stamp.ok { color: var(--ok); }
.stamp.bad { color: var(--bad); }
.stamp.dim { color: var(--mute); }
.stamp.gold { color: var(--gold); }
.case-stamps .stamp { animation: thud .6s var(--out) both; animation-delay: calc(var(--i, 0) * 180ms + .7s); }
@keyframes thud { 0% { opacity: 0; transform: rotate(-9deg) scale(2.6); } 55% { opacity: 1; transform: rotate(-2.5deg) scale(.96); } 100% { transform: rotate(-2.5deg) scale(1); } }
#bigStamp { position: fixed; z-index: 76; left: 50%; top: 42%; padding: 12px 28px 8px; border: 6px solid currentColor; border-radius: 8px; font: 400 clamp(52px, 11vw, 170px)/1 var(--serif); white-space: nowrap; pointer-events: none; animation: slam 2.6s cubic-bezier(.2, .9, .2, 1) forwards; }
#bigStamp.ok { color: var(--ok); }
#bigStamp.bad { color: var(--bad); }
@keyframes slam { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-7deg) scale(2.6); filter: blur(6px); } 10% { opacity: 1; transform: translate(-50%, -50%) rotate(-7deg) scale(.97); filter: none; } 14% { transform: translate(-50%, -50%) rotate(-7deg) scale(1); } 82% { opacity: 1; transform: translate(-50%, -50%) rotate(-7deg) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) rotate(-7deg) scale(1.02); } }
body.shake #case, body.shake #home { animation: shake .42s linear; }
@keyframes shake { 10% { transform: translate(-7px, 5px); } 25% { transform: translate(6px, -6px); } 40% { transform: translate(-4px, 3px); } 60% { transform: translate(3px, -2px); } 80% { transform: translate(-1px, 1px); } }

/* ---------- the bar ---------- */
.session { display: flex; gap: 38px; }
.session dt { font-size: 12px; color: var(--mute); margin-bottom: 4px; }
.session dd { font: 400 clamp(36px, 3.6vw, 56px)/1 var(--serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.boards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.boards article { position: relative; overflow: hidden; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--ink-2); min-height: 320px; }
.boards article::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0), rgba(246, 236, 216, .09), transparent 70%); transition: opacity .35s; }
.boards article:hover::before { opacity: 1; }
.moves .boards article { opacity: 0; transform: translateY(44px) scale(.98); transition: opacity .9s, transform 1.1s var(--out); }
.moves .boards.in article { opacity: 1; transform: none; }
.boards article:nth-child(2) { transition-delay: .12s !important; }
.boards article:nth-child(3) { transition-delay: .24s !important; }
.boards h3 { font: 400 40px/1 var(--serif); }
.boards header p { color: var(--mute); font-size: 13px; margin: 8px 0 20px; min-height: 40px; }
.boards li { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 9px 8px; border-top: 1px solid var(--line-2); font: 400 13px/1.3 var(--mono); isolation: isolate; }
.boards li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; z-index: -1; width: var(--w, 0%); background: rgba(246, 236, 216, .05); transition: width 1s var(--out); }
.boards article:nth-child(1) li::before { background: rgba(220, 183, 104, .1); }
.boards article:nth-child(2) li::before { background: rgba(111, 214, 198, .09); }
.boards article:nth-child(3) li::before { background: rgba(255, 90, 60, .1); }
.boards li b { font-weight: 500; }
.boards li.none { font: 400 14px/1.4 var(--sans); color: var(--faint); border: 0; padding-left: 0; }
.boards li.none::before { display: none; }
.boards li.me { color: var(--gold); }

/* ---------- the story ---------- */
#story { position: relative; height: 460vh; margin-top: clamp(90px, 11vw, 170px); }
.story-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; width: var(--page); margin: 0 auto; gap: 30px; }
.story-text { position: relative; height: min(420px, 60vh); padding-left: 44px; }
.story-text .kicker { position: absolute; left: 44px; top: -46px; }
.rail { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.rail b { position: absolute; inset: 0; background: var(--ok); transform: scaleY(0); transform-origin: top; }
.rail i { position: absolute; left: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 1px solid var(--faint); transition: background .3s, border-color .3s, transform .4s var(--out); }
.rail i.on { background: var(--ok); border-color: var(--ok); transform: scale(1.3); }
.rail i:nth-of-type(1) { top: 0; }
.rail i:nth-of-type(2) { top: 33.3%; }
.rail i:nth-of-type(3) { top: 66.6%; }
.rail i:nth-of-type(4) { top: 100%; }
.step { position: absolute; left: 44px; right: 0; top: 0; opacity: 0; visibility: hidden; transform: translateY(40px); transition: opacity .35s, transform .6s var(--out), visibility 0s .35s; }
.step.past { transform: translateY(-40px); }
.step.now { opacity: 1; visibility: visible; transform: none; transition: opacity .55s .1s, transform .9s var(--out) .1s; }
.step > span { font: italic 400 34px/1 var(--serif); color: var(--faint); }
.step h3 { font: 400 clamp(64px, 9vw, 150px)/.9 var(--serif); letter-spacing: -.025em; margin: 12px 0 18px; }
.step p { color: #d6cebf; font-size: clamp(15px, 1.25vw, 19px); max-width: 30em; }
#stage { position: relative; width: 100%; height: min(78vh, 700px); display: block; }

/* ---------- panels ---------- */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.after-story { padding-top: 40px; }
.panel { position: relative; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--ink-2); }
.panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0), rgba(246, 236, 216, .07), transparent 70%); transition: opacity .35s; }
.panel:hover::before { opacity: 1; }
.panel > * { position: relative; }
.moves #home .panel { opacity: 0; transform: translateY(36px); transition: opacity .9s, transform 1.1s var(--out); }
.moves #home .panel.in { opacity: 1; transform: none; }
.panel h3 { margin-bottom: 8px; }
.split { display: flex; height: 56px; margin: 20px 0 14px; gap: 3px; }
.split i { display: block; height: 100%; min-width: 3px; border-radius: 3px; }
.moves .split i { transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--out); }
.moves .panel.in .split i { transform: none; }
.moves .panel.in .split i:nth-child(2) { transition-delay: .08s; }
.moves .panel.in .split i:nth-child(3) { transition-delay: .16s; }
.moves .panel.in .split i:nth-child(4) { transition-delay: .24s; }
.moves .panel.in .split i:nth-child(5) { transition-delay: .32s; }
.split-key { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 16px; margin-bottom: 16px; font-size: 13px; color: var(--mute); }
.split-key li { display: flex; align-items: center; gap: 8px; }
.split-key i { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.split-key b { color: var(--bone); font: 500 12px/1 var(--mono); }
.defs div { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-2); align-items: baseline; }
.defs div:first-child { border-top: 0; padding-top: 4px; }
.defs dd { color: var(--mute); font-size: 14px; }
table.plain { width: 100%; border-collapse: collapse; font-size: 14px; }
table.plain th { text-align: left; font: 500 11px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--faint); padding: 8px 12px 10px 0; border-bottom: 1px solid var(--line); }
table.plain td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line-2); color: var(--mute); vertical-align: top; }
table.plain td:first-child { color: var(--bone); white-space: nowrap; }
table.plain tr:last-child td { border-bottom: 0; }

/* ---------- ledger ---------- */
.ledger { border-top: 1px solid var(--line); font: 400 13px/1.3 var(--mono); }
.l-row { display: grid; grid-template-columns: 90px 1fr 120px 120px 90px; gap: 16px; padding: 13px 8px; border-bottom: 1px solid var(--line-2); align-items: center; transition: background .2s; }
.l-row:hover { background: rgba(246, 236, 216, .03); }
.l-row .kind { color: var(--mute); text-transform: capitalize; }
.l-row .amt { text-align: right; }
.l-row .owed { color: var(--gold); }
.l-row a { color: var(--ok); text-decoration: none; }

/* ---------- case page ---------- */
#case { position: relative; width: var(--page); margin: 0 auto; padding: 124px 0 70px; }
.case-glow { position: absolute; left: 50%; top: 0; width: 100vw; height: 560px; transform: translateX(-50%); z-index: -1; background-size: cover; background-position: center; filter: blur(80px) saturate(1.5); opacity: .24; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.back { display: inline-block; color: var(--mute); text-decoration: none; font-size: 14px; margin-bottom: 26px; transition: transform .4s var(--out), color .2s; }
.back:hover { color: var(--bone); transform: translateX(-5px); }
.case-head { display: grid; grid-template-columns: 136px 1fr auto; gap: 26px; align-items: start; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.case-head img { width: 136px; height: 136px; object-fit: cover; border-radius: 14px; background: var(--ink-3); }
.moves .case-head img { animation: picin 1s var(--out) both; }
@keyframes picin { from { clip-path: inset(100% 0 0 0); transform: scale(1.2); } to { clip-path: inset(0); } }
.case-title h1 { font: 400 clamp(52px, 8vw, 128px)/.92 var(--serif); letter-spacing: -.025em; overflow-wrap: anywhere; }
.case-title .kicker { margin-bottom: 10px; }
.sym { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 10px; font: 500 13px/1.3 var(--mono); }
.sym a { color: var(--mute); font-weight: 400; text-decoration: none; margin-right: 10px; }
.sym a:hover { color: var(--bone); }
blockquote { margin-top: 14px; font: italic 400 25px/1.25 var(--serif); color: #d6cebf; max-width: 40em; overflow-wrap: anywhere; }
blockquote:empty { display: none; }
.case-stamps { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.case-stamps .stamp { font-size: 16px; padding: 7px 13px 6px; border-width: 2px; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 30px; margin-top: 30px; align-items: start; }
.case-main { display: grid; gap: 38px; min-width: 0; }
.case-side { display: grid; gap: 14px; position: sticky; top: 84px; }
.moves #case .panel { animation: rowin .9s var(--out) both; }
.moves #case .panel:nth-child(2) { animation-delay: .07s; }
.moves #case .panel:nth-child(3) { animation-delay: .14s; }
.moves #case .panel:nth-child(4) { animation-delay: .21s; }
.moves #case .panel:nth-child(5) { animation-delay: .28s; }
.trace-top { display: flex; flex-wrap: wrap; gap: 8px 42px; margin-bottom: 16px; }
.trace-top small { display: block; color: var(--mute); font-size: 12px; }
.trace-top b { font: 400 34px/1.15 var(--serif); font-variant-numeric: tabular-nums; }
#trace { display: block; width: 100%; height: 320px; border-block: 1px solid var(--line); cursor: crosshair; touch-action: pan-y; }
.votes { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-top: 14px; font: 400 13px/1.3 var(--mono); }
.votes i { font-style: normal; color: var(--faint); }
.v-ok { color: var(--ok); }
.v-bad { color: var(--bad); }
.v-bar { flex-basis: 100%; height: 6px; background: var(--bad); border-radius: 3px; overflow: hidden; }
.v-bar i { display: block; height: 100%; background: var(--ok); width: 50%; transition: width .9s var(--out); box-shadow: 4px 0 0 var(--ink); }
.exhibits h2, .transcript h2 { font-size: 40px; margin-bottom: 14px; }
#cExhibits li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-2); align-items: baseline; }
.moves #cExhibits li { animation: slidein .8s var(--out) both; }
@keyframes slidein { from { opacity: 0; transform: translateX(-22px); } }
#cExhibits .letter { font: italic 400 30px/1 var(--serif); color: var(--bad); }
#cExhibits .when { font: 400 12px/1 var(--mono); color: var(--faint); }
#cExhibits .none { display: block; color: var(--faint); border: 0; }
#log { max-height: 560px; overflow: auto; font: 400 13px/1.35 var(--mono); border-top: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
#log li { display: grid; grid-template-columns: 62px 1fr auto 18px; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); align-items: baseline; }
#log .time { color: var(--faint); font-size: 12px; }
#log .amt { font-variant-numeric: tabular-nums; }
#log a { color: var(--faint); text-decoration: none; }
#log a:hover { color: var(--bone); }
#log .buy .amt { color: var(--ok); }
#log .sell .amt { color: var(--bad); }
#log .big { font-weight: 600; }
#log .confession, #log .exhibit { color: var(--bad); }
#log .verdict, #log .damm { color: var(--ok); }
#log .cold, #log .filed { color: var(--mute); }
#log .fresh { animation: logline .7s var(--out); }
#log .fresh .w { animation: typed .8s steps(36) both; }
@keyframes logline { from { background: rgba(246, 236, 216, .14); } }
@keyframes typed { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.side-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 16px; }
.side-tabs button { padding: 11px; border: 1px solid var(--line); border-radius: 9px; font: 400 23px/1.05 var(--serif); color: var(--mute); transition: color .25s, border-color .25s, background .25s; }
.side-tabs small { display: block; font: 400 11px/1.3 var(--mono); }
#tabBuy[aria-selected=true] { color: var(--ok); border-color: var(--ok); background: rgba(111, 214, 198, .07); }
#tabSell[aria-selected=true] { color: var(--bad); border-color: var(--bad); background: rgba(255, 90, 60, .08); }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field > span { font-size: 13px; color: var(--mute); }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; background: var(--ink); border: 1px solid var(--line); border-radius: 9px; font-size: 15px; resize: vertical; transition: border-color .2s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--bone); }
.field input[readonly], .field textarea[readonly] { color: var(--mute); }
.slip { grid-template-columns: 1fr 90px; align-items: center; margin: 14px 0 0; }
.slip select { padding: 6px 8px; font-size: 13px; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.quick button { flex: 1; padding: 8px; border: 1px solid var(--line); border-radius: 7px; font: 400 12px/1 var(--mono); white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.quick button:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.quote { min-height: 20px; margin-bottom: 10px; font: 400 13px/1.4 var(--mono); color: var(--mute); }
.vote-ok { background: var(--ok); height: 48px; }
.vote-ok::before { background: var(--bone); }
#paneSell .quick button { padding: 15px 8px; border-color: rgba(255, 90, 60, .5); color: var(--bad); font-size: 14px; }
#paneSell .quick button:hover { background: var(--bad); border-color: var(--bad); color: var(--ink); }
.counsel b { font: 400 26px/1.15 var(--serif); }
.counsel a { display: block; color: var(--mute); font: 400 12px/1.5 var(--mono); text-decoration: none; }
.mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.mini dt { color: var(--faint); font-size: 11px; }
.mini dd { font: 400 26px/1.15 var(--serif); }
.mini .hot dd { color: var(--bad); }
.people li { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--line-2); font: 400 12px/1.3 var(--mono); }
.people li:first-child { border: 0; }
.people li.me { color: var(--gold); }
.ca { font: 400 12px/1.4 var(--mono); word-break: break-all; color: var(--mute); margin-bottom: 12px; }
.venues { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; }
.venues a { color: var(--mute); text-decoration: none; }
.venues a:hover { color: var(--bone); }
#doneBox h3 { font: 400 34px/1.05 var(--serif); }
#doneBox p { color: var(--mute); font-size: 14px; margin-top: 8px; }
#doneBox dl { margin-top: 12px; display: grid; gap: 6px; font-size: 13px; }
#doneBox dl div { display: flex; justify-content: space-between; color: var(--mute); }
#doneBox dd { font: 400 13px/1.3 var(--mono); color: var(--bone); }

/* ---------- footer ---------- */
#foot { width: var(--page); margin: clamp(90px, 11vw, 170px) auto 0; padding-bottom: 34px; overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; padding: 28px 0; border-top: 1px solid var(--line); }
.foot-top > div { max-width: 640px; }
.foot-top nav { display: flex; gap: 18px; font-size: 14px; color: var(--mute); }
.foot-top nav a { text-decoration: none; }
.foot-top nav a:hover { color: var(--bone); }
.foot-word { font: 400 clamp(90px, 25.5vw, 400px)/.8 var(--serif); letter-spacing: -.03em; text-align: center; white-space: nowrap; color: transparent; background: linear-gradient(90deg, var(--bone) var(--fill, 0%), rgba(246, 236, 216, .1) var(--fill, 0%)); -webkit-background-clip: text; background-clip: text; padding-bottom: .1em; }

/* ---------- dialogs ---------- */
dialog { width: min(620px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; background: var(--ink-2); color: var(--bone); border: 1px solid var(--line); border-radius: 16px; }
dialog[open] { animation: dlg .6s var(--out); }
@keyframes dlg { from { opacity: 0; transform: translateY(30px) scale(.97); } }
dialog::backdrop { background: rgba(14, 3, 6, .78); backdrop-filter: blur(8px); }
dialog form, .dlg-body { padding: 26px; }
.dlg-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dlg-head h2 { font-size: 44px; }
.x { font-size: 26px; line-height: 1; color: var(--mute); padding: 4px 8px; transition: transform .4s var(--out), color .2s; }
.x:hover { color: var(--bone); transform: rotate(90deg); }
.file-grid { display: grid; grid-template-columns: 148px 1fr; gap: 14px; }
.drop { position: relative; display: grid; place-items: center; height: 148px; border: 1px dashed var(--line); border-radius: 11px; cursor: pointer; overflow: hidden; text-align: center; font-size: 13px; padding: 10px; transition: border-color .2s, background .2s; }
.drop:hover { border-color: var(--bone); background: rgba(246, 236, 216, .04); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; animation: picin .7s var(--out); }
.drop small { display: block; color: var(--faint); margin-top: 4px; font-size: 11px; }
#picNote { min-height: 0; margin: 6px 0 8px; }
.file-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.file-links input { font-size: 13px; padding: 9px 10px; }
#fileForm .fine { margin-bottom: 14px; }
#firstMax { color: var(--faint); }
.rec-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.rec-points div { border: 1px solid var(--line); border-radius: 9px; padding: 12px; }
.rec-points small { color: var(--mute); font-size: 12px; }
.rec-points b { display: block; font: 400 34px/1.1 var(--serif); }
.rec-head { font: 400 30px/1.15 var(--serif); margin-bottom: 4px; }
.rec-list { margin-top: 16px; }
.rec-list h3 { margin-bottom: 8px; }
.rec-list li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 13px; }
.rec-list img { width: 34px; height: 34px; border-radius: 5px; object-fit: cover; }
.rec-list a { text-decoration: none; }

#toast { position: fixed; z-index: 96; left: 50%; bottom: 26px; transform: translateX(-50%); width: max-content; max-width: min(620px, calc(100vw - 24px)); padding: 12px 16px; background: var(--bone); color: var(--ink); border-radius: 9px; font-size: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); animation: toasted .6s var(--out); }
@keyframes toasted { from { opacity: 0; transform: translate(-50%, 18px); } }
#toast a { margin-left: 8px; font-weight: 600; }

/* ---------- security page ---------- */
body.plain { background: var(--ink); }
.safety { width: min(760px, calc(100vw - 40px)); margin: 0 auto; padding: 48px 0 90px; }
.safety h1 { font: 400 88px/1 var(--serif); margin: 20px 0 10px; }
.safety .say { font: italic 400 26px/1.3 var(--serif); color: #d6cebf; }
.safety section { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.safety h2 { font-size: 34px; margin-bottom: 10px; }
.safety p, .safety li { color: var(--mute); margin-bottom: 8px; }
.safety ul { list-style: disc; padding-left: 20px; }
.safety a { color: var(--bone); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .eyebrow i, #bigStamp, .track i::after, .row.enter, dialog[open], #toast { animation: none; }
  .strip, .primary, .ghost, .pill { transition: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1240px) {
  .thead { display: none; }
  .row { grid-template-columns: 1fr 1fr 1fr; gap: 10px 14px; }
  .r-no { display: none; }
  .r-who { grid-column: 1 / -1; }
  .meter { grid-column: 1 / -1; }
  .r-mcap { text-align: left; }
  .case-grid { grid-template-columns: 1fr; }
  .case-side { position: static; order: -1; }
}
@media (max-width: 1040px) {
  #nav { display: none; }
  #menuBtn { display: block; }
  #head { grid-template-columns: 1fr auto; }
}
@media (max-width: 900px) {
  :root { --page: calc(100vw - 32px); }
  #head { top: 40px; height: 50px; gap: 8px; }
  .scrolled-page #head { top: 8px; width: calc(100vw - 16px); padding: 0 6px 0 10px; height: 54px; }
  .sx { display: none; }
  .strip-in { gap: 14px; }
  #bal, .chev { display: none; }
  #xLink { display: none; }
  #connect, .file, #menuBtn { height: 38px !important; }
  #menuBtn { width: 38px; }
  #menuBtn i { left: 10px; right: 10px; }
  #menuBtn i:nth-child(1) { top: 14px; }
  #menuBtn i:nth-child(2) { top: 22px; }
  .sheet-open #menuBtn i:nth-child(1), .sheet-open #menuBtn i:nth-child(2) { top: 18px; }
  #hero h1 { font-size: 23.5vw; }
  .hero-foot { max-width: none; margin-top: 16px; }
  .pan b { font-size: 26px; }
  .pan span { display: none; }
  .statline { grid-template-columns: repeat(2, 1fr); }
  .statline > div, .statline > div:first-child { padding: 18px 14px; border-bottom: 1px solid var(--line-2); }
  .statline > div::after { display: none; }
  .boards, .grid2 { grid-template-columns: 1fr; }
  .boards article { min-height: 0; padding: 20px; }
  #story { height: 400vh; }
  .story-pin { grid-template-columns: 1fr; grid-template-rows: 46svh 1fr; gap: 0; padding-top: 66px; align-items: start; }
  #stage { grid-row: 1; height: 100%; }
  .story-text { grid-row: 2; height: 100%; padding: 8px 0 0 26px; }
  .story-text .kicker { display: none; }
  .step { left: 26px; }
  .step h3 { font-size: 66px; margin: 4px 0 8px; }
  .step > span { font-size: 24px; }
  .rail { top: 12px; bottom: 28px; }
  .filters, #search, #search:focus { width: 100%; }
  .tabs { overflow-x: auto; width: 100%; scrollbar-width: none; }
  .l-row { grid-template-columns: 70px 1fr 90px; }
  .l-row .when, .l-row .state { display: none; }
  .case-head { grid-template-columns: 84px 1fr; gap: 14px; }
  .case-head img { width: 84px; height: 84px; }
  .case-stamps { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .foot-top { flex-direction: column; }
  .file-links { grid-template-columns: 1fr; }
  .defs div { grid-template-columns: 1fr; gap: 6px; }
  table.plain td:first-child { white-space: normal; }
  .session { gap: 24px; }
  #trace { height: 240px; }
}
@media (max-width: 460px) {
  #connect { padding: 0 9px; font-size: 13px; gap: 7px; }
  .primary { padding: 0 11px; font-size: 13px; }
  .brand span { display: none; }
  .file svg { display: none; }
  .strip-clock { display: none; }
  #walletMenu { position: fixed; left: 8px; right: 8px; top: 66px; width: auto; }
  #log li { grid-template-columns: 48px 1fr auto; }
  #log li > a { display: none; }
  .file-grid { grid-template-columns: 110px 1fr; }
  .drop { height: 130px; }
  .spot-card { grid-template-columns: 60px 1fr auto; gap: 12px; }
  .spot-card img { width: 60px; height: 60px; }
  .spot-card b { font-size: 26px; }
  .spot-card .pct { font-size: 30px; }
  .trace-top { gap: 8px 22px; }
  .trace-top b { font-size: 26px; }
}

/* ==========================================================================
   The courtroom: oxblood and brass, built on one axis. Square corners and
   double rules; arches where something deserves a window.
   ========================================================================== */
body { background: linear-gradient(180deg, #24090f 0%, #1c070c 38%, #170509 100%) fixed; }
/* the sturdy cut at all sizes: Bodoni's display cut loses its hairlines, and an e stops being an e */
html { font-optical-sizing: none; }
h2, .step h3, #hero h1, .case-title h1 { font-weight: 500; }
h2 { letter-spacing: -.01em; text-align: center; }
.block-head { flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.block-head > div { display: flex; flex-direction: column; align-items: center; }
.kicker { color: var(--brass); letter-spacing: .22em; }
.kicker::before { display: none; }
.kicker::after { display: none; }
.sub { text-align: center; }
::selection { background: var(--brass); color: var(--ink); }
#home { position: relative; }
/* the axis: the scale's column runs on down the page */
#home::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 100svh; bottom: -60px; width: 1px; background: linear-gradient(180deg, var(--brass), rgba(220, 183, 104, .22) 12%, rgba(220, 183, 104, .22)); }
#progress { background: var(--brass); }

/* ---------- top ---------- */
#strip { background: rgba(20, 5, 9, .75); border-bottom: 3px double rgba(220, 183, 104, .35); height: 33px; }
.strip-in { justify-content: center; }
.strip-end { position: absolute; right: max(16px, calc((100vw - 1400px) / 2)); margin: 0; }
#cluster { background: none; color: var(--brass); border: 1px solid var(--brass); border-radius: 0; }
#head { top: 45px; height: 64px; border-radius: 0; grid-template-columns: 1fr auto 1fr; }
.brand { grid-column: 2; grid-row: 1; justify-self: center; font: italic 600 34px/1 var(--serif); }
.brand img { border-radius: 0; }
#nav { grid-column: 1; grid-row: 1; justify-self: start; padding: 0; border: 0; background: none; backdrop-filter: none; border-radius: 0; gap: 0; }
#nav a { padding: 10px 14px 10px 0; margin-right: 12px; border-radius: 0; font-size: 14px; letter-spacing: .02em; }
#nav a.lit { color: var(--brass-2); }
#nav em { border-radius: 0; background: none; border: 1px solid rgba(220, 183, 104, .5); color: var(--brass); }
#nav a.lit em { background: none; color: var(--brass-2); }
.nav-mark { top: auto; bottom: 2px; height: 1px; background: var(--brass); border-radius: 0; }
.tools { grid-column: 3; grid-row: 1; }
.scrolled-page #head { top: 0; width: 100vw; padding: 0 max(16px, calc((100vw - 1400px) / 2)); height: 60px; background: rgba(28, 7, 12, .93); border-color: transparent; border-bottom: 3px double rgba(220, 183, 104, .4); box-shadow: 0 16px 40px rgba(10, 2, 4, .5); border-radius: 0; }
#connect { border-radius: 0; background: none; backdrop-filter: none; border-color: rgba(220, 183, 104, .45); outline: 1px solid rgba(220, 183, 104, .14); outline-offset: 2px; }
#connect:hover, #connect[aria-expanded=true] { border-color: var(--brass-2); }
#walletMenu, .panel, dialog, .field input, .field select, .field textarea, .quick button, .side-tabs button, #search, .tabs, .tabs button, .pill, .drop, #menuBtn, .rec-points div, #toast, .spot-card, .spot-card img, .r-who img, .case-head img, #peek img { border-radius: 0 !important; }
#walletMenu { background: #2a0c13; border-color: rgba(220, 183, 104, .5); }
#walletMenu button { border-radius: 0; }
.primary, .ghost { border-radius: 0; }
.primary { background: linear-gradient(180deg, #f3dfa6, #d3ab59); color: #2a0b12; outline: 1px solid rgba(220, 183, 104, .5); outline-offset: 2px; }
.primary::before { background: #fff3cf; }
.ghost { border-color: rgba(220, 183, 104, .5); }
.ghost::before { background: var(--brass); }
.ghost:hover { color: #2a0b12; border-color: var(--brass); }
.file { border-radius: 0; }
#menuBtn { background: none; border-color: rgba(220, 183, 104, .45); }
#sheet { background: #1c070c; }

/* ---------- hero ---------- */
#hero { min-height: max(100svh, 760px); justify-content: stretch; background: radial-gradient(620px 520px at 26% 62%, rgba(111, 214, 198, .13), transparent 72%), radial-gradient(620px 520px at 74% 62%, rgba(255, 90, 60, .15), transparent 72%), radial-gradient(900px 500px at 50% 42%, rgba(220, 183, 104, .13), transparent 72%); }
.hero-body { height: 100%; flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 112px 0 30px; }
.hero-top { text-align: center; }
.eyebrow { justify-content: center; margin-bottom: 10px; color: var(--brass); letter-spacing: .22em; font-size: 11px; }
.eyebrow i { width: 34px; height: 1px; border-radius: 0; background: var(--brass); animation: none; }
#hero h1 { font: 500 clamp(58px, min(9.4vw, 19vh), 176px)/.98 var(--serif); letter-spacing: -.03em; }
#hero h1 .l1, #hero h1 .l2 { display: inline-block; }
#hero h1 .l2 { font-style: italic; color: var(--brass); }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin: 0; max-width: none; }
.lede { max-width: 25vw; font-size: clamp(14px, 1.1vw, 17px); text-align: left; }
.cta-side { max-width: 25vw; }
.cta { justify-content: flex-end; margin: 0; flex-direction: column; align-items: flex-end; }
.primary.big, .ghost.big { height: 50px; min-width: 200px; justify-content: center; }
.gate { text-align: right; font-size: 13px; }
.pan b { font: 500 40px/1 var(--serif); }

/* ---------- numbers ---------- */
#tape { border-block: 3px double rgba(220, 183, 104, .35); background: #170509; }
#tapeRun b { color: var(--brass-2); }
.statline { text-align: center; }
.statline > div:first-child { padding-left: 18px; }
.statline b { font-weight: 500; font-size: clamp(34px, 3.6vw, 56px); }
.statline > div::after { background: rgba(220, 183, 104, .2); }

/* ---------- the docket: the vote grows out both ways from the defendant ---------- */
.thead, .row { grid-template-columns: 1fr minmax(360px, 460px) 1fr; gap: 22px; }
.thead { text-align: center; color: var(--brass); padding-inline: 0; }
.t-ok { text-align: right; color: var(--ok); }
.t-bad { text-align: left; color: var(--bad); }
.thead::after { background: rgba(220, 183, 104, .35); }
.row { padding: 20px 0; border-bottom: 1px solid rgba(220, 183, 104, .14); }
.row::before { background: radial-gradient(60% 100% at 50% 50%, rgba(220, 183, 104, .13), transparent 72%); transform: scaleX(.3); transform-origin: center; opacity: 0; transition: transform .6s var(--out), opacity .3s; }
.row:hover::before { transform: none; opacity: 1; }
.r-side { position: relative; display: flex; align-items: center; gap: 12px; height: 34px; }
.r-side i { display: block; height: 100%; width: var(--w, 2%); transition: width 1s var(--out); }
.r-side b { font: 500 13px/1 var(--mono); white-space: nowrap; }
.r-ok { flex-direction: row-reverse; }
.r-ok i { background: linear-gradient(270deg, var(--ok), rgba(111, 214, 198, .25)); }
.r-ok b { color: var(--ok); }
.r-bad i { background: linear-gradient(90deg, var(--bad), rgba(255, 90, 60, .25)); }
.r-bad b { color: var(--bad); }
.r-mid { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; background: #1f080d; padding: 6px 10px; z-index: 1; }
.ring { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: conic-gradient(var(--brass) var(--p, 0%), rgba(220, 183, 104, .16) 0); }
.ring img { width: 66px !important; height: 66px !important; border-radius: 50% !important; object-fit: cover; border: 3px solid #1f080d; }
.row:hover .ring img { transform: scale(1.05); transition: transform .5s var(--out); }
.ring small { position: absolute; right: -4px; bottom: -3px; padding: 2px 5px; background: var(--brass); color: #2a0b12; font: 500 10px/1 var(--mono); }
.r-who { display: block; min-width: 0; }
.r-who .r-no { display: block; font-size: 10.5px; letter-spacing: .1em; color: var(--faint); margin-bottom: 2px; }
.r-who b { display: inline; font: 500 24px/1.1 var(--serif); }
.r-who em { font: 500 11px/1 var(--mono); color: var(--brass); font-style: normal; margin-left: 8px; }
.r-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 5px; }
.r-marks:empty { display: none; }
.r-meta { display: block; margin-top: 4px; color: var(--mute); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex { border-radius: 0; }
.tabs { border-color: rgba(220, 183, 104, .4); }
.pill { background: var(--brass); }
.tabs button[aria-pressed=true] { color: #2a0b12; }

/* ---------- arches: windows of the court ---------- */
.boards article { border-radius: 50vw 50vw 0 0 / 150px 150px 0 0; padding: 74px 28px 28px; text-align: center; border-color: rgba(220, 183, 104, .4); outline: 1px solid rgba(220, 183, 104, .14); outline-offset: 5px; background: linear-gradient(180deg, #33121a, #240a10 55%); }
.boards h3 { font: italic 500 40px/1 var(--serif); color: var(--brass-2); }
.boards li { text-align: left; }
.boards li.none { justify-content: center; }
.r-mid .r-who { grid-column: auto; }
.exhibits h2, .transcript h2 { text-align: left; }
.session { justify-content: center; text-align: center; }
.session dd { font-weight: 500; }

/* ---------- the rest ---------- */
.panel { border-color: rgba(220, 183, 104, .32); outline: 1px solid rgba(220, 183, 104, .1); outline-offset: 3px; background: #240a10; }
.panel h3 { color: var(--brass-2); }
.spot-card { border-color: rgba(220, 183, 104, .4); background: #240a10; }
.step > span { color: var(--brass); }
.step h3 { font-weight: 500; }
.rail { background: rgba(220, 183, 104, .3); }
.rail b { background: var(--brass); }
.rail i.on { background: var(--brass); border-color: var(--brass); }
.rail i { background: #1c070c; }
#story { background: transparent; }
.ledger, .l-row { border-color: rgba(220, 183, 104, .18); }
.l-row a { color: var(--brass-2); }
.foot-word { font-weight: 500; font-style: italic; background: linear-gradient(90deg, var(--brass) var(--fill, 0%), rgba(220, 183, 104, .1) var(--fill, 0%)); -webkit-background-clip: text; background-clip: text; padding-right: .08em; }
.foot-top { border-top: 3px double rgba(220, 183, 104, .35); }
#intro .sheet { background: #170509; }
#intro .rule { background: var(--brass); }
#intro p { font-weight: 500; color: var(--brass-2); }
#wipe i { background: var(--brass); }
#head .brand img, .r-who img { background: #33121a; }
.case-head { border-bottom: 3px double rgba(220, 183, 104, .35); }
.case-head img { outline: 1px solid rgba(220, 183, 104, .5); outline-offset: 3px; }
.case-title .kicker { justify-content: flex-start; }
.case-title h1 { font-weight: 500; }
blockquote { font-weight: 400; }
#trace { border-color: rgba(220, 183, 104, .3); }
.trace-top b, .mini dd, .counsel b, .wm-stats dd, #doneBox h3, .rec-head, .rec-points b, .spot-card b, .spot-card .pct { font-weight: 500; }
.safety h1 { font-weight: 500; }
.safety a { color: var(--brass-2); }

@media (max-width: 1240px) {
  .thead, .row { grid-template-columns: 1fr minmax(320px, 400px) 1fr; }
}
@media (max-width: 1040px) {
  #head { grid-template-columns: auto 1fr; }
  .brand { grid-column: 1; justify-self: start; }
  .tools { grid-column: 2; }
}
@media (max-width: 900px) {
  #head { top: 37px; }
  .scrolled-page #head { top: 0; width: 100vw; height: 56px; padding: 0 12px; }
  .brand { font-size: 26px; }
  .hero-body { padding: 100px 0 22px; }
  #hero { min-height: max(100svh, 780px); }
  #hero h1 { font-size: 15vw; line-height: 1; }
  .eyebrow { font-size: 10px; letter-spacing: .14em; }
  .hero-foot { flex-direction: column; align-items: stretch; gap: 14px; }
  .lede, .cta-side { max-width: none; }
  .lede { text-align: center; font-size: 14.5px; }
  .cta { flex-direction: row; justify-content: center; }
  .primary.big, .ghost.big { flex: 1; min-width: 0; height: 46px; }
  .thead { display: none; }
  .row { grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 0; }
  .r-mid { grid-column: 1 / -1; grid-row: 1; background: none; padding: 0; }
  .r-side { height: 22px; }
  .boards article { border-radius: 50vw 50vw 0 0 / 90px 90px 0 0; padding: 50px 18px 20px; }
  .boards { gap: 26px; }
  .pan b { font-size: 26px; }
  #home::before { display: none; }
}
@media (max-width: 460px) {
  .brand img { width: 28px; height: 28px; }
}
.venue-panel .fine { margin-bottom: 12px; }
.venue-panel .venues { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.venue-panel .venues a { display: block; padding: 10px; text-align: center; border: 1px solid rgba(220, 183, 104, .4); color: var(--brass-2); transition: background .2s, color .2s; }
.venue-panel .venues a:hover { background: var(--brass); color: #2a0b12; }
.tax { margin-bottom: 10px; padding: 7px 9px; font: 500 12px/1.4 var(--mono); color: var(--bad); border: 1px solid rgba(255, 90, 60, .5); }