/* GULP: one token sheet. Under the microscope: an abyss-blue slide, wet-glass panels with a bright meniscus edge, one coral accent,
   gold only for cash-outs. Bagel Fat One (display) + Figtree (text) + Azeret Mono (every number and label). */
:root {
  --ink-0: #070b14; --ink-1: #0b1220; --ink-2: #0f1829; --ink-3: #142036; --ink-4: #1b2a45;
  --t-0: #f2f6ff; --t-1: #c3d0e6; --t-2: #8fa3c4; --t-3: #5f7193;
  --line: rgba(160, 190, 255, 0.12); --line-2: rgba(160, 190, 255, 0.22); --edge: rgba(225, 238, 255, 0.34);
  --coral: #ff6158; --coral-2: #ff8b7e; --coral-d: #d8443c; --gold: #ffc94a; --gold-2: #ffe29a; --mint: #5ef2b5; --bad: #ff6b6b;
  --glass: rgba(11, 18, 32, 0.84); --glass-2: rgba(15, 24, 41, 0.9); --glass-hud: rgba(8, 13, 24, 0.94);
  --r-1: 6px; --r-2: 10px; --r-3: 16px;
  --f-d: 'Bagel Fat One', 'Figtree', system-ui, sans-serif; --f-t: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif; --f-m: 'Azeret Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3);
}
*, *::before, *::after { box-sizing: border-box; }
:where(html, body) { margin: 0; height: 100%; }
html { background: var(--ink-0); color: var(--t-0); font: 500 15px/1.45 var(--f-t); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { overflow: hidden; overscroll-behavior: none; touch-action: none; -webkit-tap-highlight-color: transparent; }
:where(h1, h2, h3, p, ol, ul) { margin: 0; padding: 0; }
:where(ol, ul) { list-style: none; }
:where(a) { color: inherit; text-decoration: none; }
:where(button, input) { font: inherit; color: inherit; }
:where(button) { background: none; border: 0; padding: 0; cursor: pointer; }
.is-hidden { display: none !important; }
[hidden] { display: none !important; }
.num { font-family: var(--f-m); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.lab { font: 600 10.5px/1 var(--f-m); letter-spacing: 0.12em; text-transform: uppercase; color: var(--t-2); font-style: normal; }
kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 5px; font: 600 10.5px/1 var(--f-m); letter-spacing: 0.04em;
  color: var(--t-0); background: linear-gradient(#1d2c48, #142038); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 2px 0 rgba(0, 0, 0, 0.35); vertical-align: 1px; }
.link { color: var(--t-1); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(195, 208, 230, 0.35); text-underline-offset: 3px; }
.link:hover { color: var(--t-0); text-decoration-color: var(--coral); }
.link.danger { color: #ffb4ad; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(94, 242, 181, 0.16), 0 0 10px rgba(94, 242, 181, 0.6); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(94, 242, 181, 0.05), 0 0 14px rgba(94, 242, 181, 0.8); } }

/* the canvas and the eyepiece over it */
canvas#game { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; }
.eyepiece { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(ellipse 78% 86% at 50% 48%, rgba(7, 11, 20, 0) 55%, rgba(4, 7, 14, 0.55) 82%, rgba(2, 4, 9, 0.88) 100%); }
body.is-playing .eyepiece { background: radial-gradient(ellipse 85% 92% at 50% 50%, rgba(7, 11, 20, 0) 62%, rgba(3, 6, 12, 0.5) 100%); }
.hitfx { position: fixed; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at center, rgba(255, 97, 88, 0) 55%, rgba(255, 60, 50, 0.35) 100%); transition: opacity 0.5s; }
.hitfx.is-on { opacity: 1; transition: none; }

/* wet glass: the one panel material */
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-3); box-shadow: var(--shadow), inset 0 1px 0 var(--edge), inset 0 0 24px rgba(120, 160, 255, 0.04); }

/* ---------------------------------------------------------------- the top bar */
.bar { position: fixed; z-index: 20; left: 0; right: 0; top: 0; height: 60px; display: flex; align-items: center; gap: 28px; padding: 0 26px;
  background: linear-gradient(rgba(5, 8, 15, 0.86), rgba(5, 8, 15, 0)); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.mark { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; display: block; flex: none; box-shadow: 0 0 0 1px var(--line-2), 0 0 18px rgba(255, 97, 88, 0.25); }
.mark img { width: 100%; height: 100%; display: block; object-fit: cover; }
.wordmark { font: 400 26px/1 var(--f-d); letter-spacing: 0.01em; color: var(--t-0); text-shadow: 0 2px 14px rgba(255, 97, 88, 0.25); }
.links { display: flex; gap: 22px; font-weight: 600; font-size: 14px; color: var(--t-1); }
.links a:hover, .links .link:hover { color: var(--t-0); }
.links .link { text-decoration: none; color: var(--t-1); }
.bar-r { margin-left: auto; display: flex; align-items: center; gap: 12px; min-width: 0; }
.tick { font: 700 12.5px/1 var(--f-m); letter-spacing: 0.04em; padding: 8px 11px; border-radius: 999px; color: var(--coral-2); background: rgba(255, 97, 88, 0.1); border: 1px solid rgba(255, 97, 88, 0.3); flex: none; }
.live { display: flex; align-items: center; gap: 8px; font: 600 12.5px/1 var(--f-m); color: var(--t-1); white-space: nowrap; flex: none; }
.live b { color: var(--t-0); font-weight: 700; }
.xlink { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--t-1); border: 1px solid var(--line-2); flex: none; }
.xlink:hover { color: var(--t-0); border-color: var(--edge); }
/* the CA slot (the launch kit's; own look) */
.ca { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 5px 0 12px; border-radius: 999px; background: rgba(11, 18, 32, 0.8); border: 1px solid var(--line-2); min-width: 0; max-width: 520px; }
.ca.is-live { border-color: rgba(255, 201, 74, 0.55); }
.ca-lab { font: 700 10.5px/1 var(--f-m); letter-spacing: 0.12em; color: var(--t-2); }
.ca-addr { display: flex; align-items: center; gap: 8px; min-width: 0; height: 26px; padding: 0 2px; font: 600 12px/1 var(--f-m); color: var(--t-0); cursor: copy; user-select: text; -webkit-user-select: text; }
.ca-addr:disabled { cursor: default; color: var(--t-2); font: 500 12px/1 var(--f-t); padding-right: 8px; }
.ca-addr > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-copy { flex: none; font: 700 11px/1 var(--f-t); font-style: normal; padding: 6px 10px; border-radius: 999px; background: var(--coral); color: #1a0705; min-width: 52px; text-align: center; }
.ca-link { flex: none; font: 700 11px/1 var(--f-t); padding: 7px 10px; border-radius: 999px; background: var(--ink-3); color: var(--t-1); white-space: nowrap; }
.ca-link:hover { background: var(--ink-4); color: var(--t-0); }

/* ---------------------------------------------------------------- the title page */
.title { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
.title > * { pointer-events: auto; }
.title::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 58vw; pointer-events: none; background: radial-gradient(ellipse 62% 58% at 20% 44%, rgba(5, 8, 15, 0.62), rgba(5, 8, 15, 0) 72%); }
.hero { position: absolute; left: clamp(26px, 5.2vw, 104px); top: clamp(96px, 17vh, 190px); width: min(640px, 42vw); pointer-events: none; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 600 12px/1 var(--f-m); letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-1); margin-bottom: 22px; }
.h1 { font: 400 clamp(60px, 6.4vw, 124px)/0.92 var(--f-d); letter-spacing: -0.01em; color: var(--t-0); text-shadow: 0 6px 40px rgba(0, 0, 0, 0.55); white-space: nowrap; }
.h1 em { font-style: normal; color: var(--coral); text-shadow: 0 0 46px rgba(255, 97, 88, 0.35), 0 6px 30px rgba(0, 0, 0, 0.5); }
.lede { margin-top: 26px; max-width: 440px; font-size: 16.5px; line-height: 1.55; color: var(--t-1); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8); }
.lede kbd { margin: 0 2px; }

/* SPECIMENS: the live board on the right */
/* the right column of the title: the biggest blobs, and under them the payments that landed (proof that cash-outs pay) */
.side { position: absolute; right: clamp(20px, 2.4vw, 46px); top: 88px; width: 328px; display: flex; flex-direction: column; gap: 12px; }
.paid { padding: 12px 6px 8px; border-radius: var(--r-3); pointer-events: auto;
  background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow), inset 0 1px 0 var(--edge); }
.paid-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 12px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.paid-head .dot { margin-right: 8px; vertical-align: 1px; }
.paid-box { position: relative; }
.paid-list { padding: 4px 0; }
.paid-list li { height: 30px; }
.paid-list a { display: grid; grid-template-columns: 1fr 86px 52px 58px; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 8px; font-size: 13.5px; color: var(--t-1); text-decoration: none; }
.paid-list a[hidden] { display: none; }
.paid-list a:hover { background: rgba(255, 255, 255, 0.05); }
.paid-list li:nth-child(odd) a { background: rgba(255, 255, 255, 0.02); }
.paid-list .pn { font-weight: 700; color: var(--t-0); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.paid-list .pa { font: 600 12.5px/1 var(--f-m); color: var(--gold); text-align: right; font-variant-numeric: tabular-nums; }
.paid-list .pt { font: 500 11px/1 var(--f-m); color: var(--t-3); text-align: right; white-space: nowrap; }
.paid-list .ps { font: 600 11px/1 var(--f-m); color: var(--mint); text-align: right; white-space: nowrap; }
.paid-empty { position: absolute; left: 12px; right: 12px; top: 8px; margin: 0; font-size: 13px; line-height: 1.45; color: var(--t-2); }
.paid-empty[hidden] { display: none; }
.paid-foot { display: block; padding: 8px 12px 2px; font-size: 12px; color: var(--t-2); text-decoration: none; }
.paid-foot:hover { color: var(--t-0); }
.paid-list li:nth-child(n+5) { display: none; }                          /* four on a laptop, five on a tall screen; never under the PLAY card */
.specs { position: relative; width: auto; padding: 14px 6px 10px; border-radius: var(--r-3);
  background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow), inset 0 1px 0 var(--edge); }
.specs-head { display: grid; grid-template-columns: 1fr 66px 92px; gap: 8px; padding: 0 12px 10px; border-bottom: 1px solid var(--line); }
.specs-head .lab:nth-child(n+2) { text-align: right; }
.specs-list { padding: 4px 0; min-height: 268px; }
.specs-list li { display: grid; grid-template-columns: 18px 22px 1fr 66px 92px; align-items: center; gap: 8px; height: 33px; padding: 0 12px; border-radius: 8px; font-size: 14px; }
.specs-list li:nth-child(odd) { background: rgba(255, 255, 255, 0.02); }
.specs-list .rk { font: 600 11px/1 var(--f-m); color: var(--t-3); text-align: right; }
.specs-list canvas { width: 22px; height: 22px; display: block; }
.specs-list .nm { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--t-0); }
.specs-list .ms, .specs-list .wo { font: 600 12.5px/1 var(--f-m); text-align: right; color: var(--t-1); font-variant-numeric: tabular-nums; }
.specs-list .wo { color: var(--t-0); }
.specs-list .wo.is-cash { color: var(--gold); }
.specs-list .wo.is-low { color: var(--t-3); }
.specs-list .hold { color: var(--gold); }
.specs-foot { padding: 10px 12px 2px; border-top: 1px solid var(--line); font: 500 11.5px/1.35 var(--f-m); color: var(--t-2); }

/* THE MICROSCOPE SLIDE: the play card */
.slide { position: absolute; left: 50%; bottom: 66px; transform: translateX(-50%); width: min(980px, calc(100vw - 48px)); height: 132px; display: flex; border-radius: 12px;
  background: linear-gradient(180deg, rgba(214, 230, 255, 0.13), rgba(150, 180, 230, 0.06) 40%, rgba(120, 150, 210, 0.08)), rgba(9, 15, 27, 0.78);
  border: 1px solid rgba(210, 228, 255, 0.24); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(240, 248, 255, 0.55), inset 0 -1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.03); }
.slide::after { content: ''; position: absolute; inset: 0; border-radius: 12px; pointer-events: none; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.07) 46%, rgba(255, 255, 255, 0) 54%); }
.slide-label { position: relative; flex: none; width: 196px; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 0 22px; border-radius: 11px 0 0 11px;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.035) 0 2px, rgba(255, 255, 255, 0) 2px 5px), linear-gradient(160deg, rgba(232, 240, 255, 0.24), rgba(190, 210, 240, 0.14));
  border-right: 1px solid rgba(225, 238, 255, 0.28); }
.sl-name { font: 400 38px/0.95 var(--f-d); color: #f6f9ff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-meta { font: 600 10.5px/1 var(--f-m); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(225, 236, 255, 0.72); }
.sl-meta b { color: #fff; }
.slide-glass { position: relative; flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(150px, 0.8fr) minmax(220px, 1.3fr) 104px; grid-template-rows: 1fr auto; column-gap: 16px; align-items: center; padding: 16px 18px 12px 22px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field .lab i { font-style: normal; color: var(--t-3); letter-spacing: 0.06em; text-transform: none; font-weight: 500; }
.field input { height: 46px; padding: 0 14px; border-radius: var(--r-2); background: rgba(4, 8, 16, 0.62); border: 1px solid var(--line-2); color: var(--t-0); font-size: 16px; font-weight: 600; outline: none; min-width: 0;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4); transition: border-color 0.15s, box-shadow 0.15s; }
.field input.mono, .field input.mono::placeholder { font: 500 13px/1 var(--f-m); }
.field input::placeholder { color: var(--t-3); font-weight: 500; }
.field input:focus { border-color: rgba(255, 97, 88, 0.6); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(255, 97, 88, 0.16); }
.field input.is-bad { border-color: var(--bad); }
.play { grid-row: 1 / span 2; grid-column: 3; justify-self: end; position: relative; width: 98px; height: 98px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: radial-gradient(circle at 34% 28%, #ffd2cc 0, #ff8d82 16%, var(--coral) 46%, var(--coral-d) 100%); color: #2a0804;
  box-shadow: 0 10px 30px rgba(255, 97, 88, 0.45), inset 0 -6px 14px rgba(120, 10, 10, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.5); transition: transform 0.12s ease, box-shadow 0.12s ease; }
.play span { font: 400 26px/1 var(--f-d); letter-spacing: 0.01em; }
.play kbd { background: rgba(60, 6, 4, 0.22); border-color: rgba(60, 6, 4, 0.25); color: #3a0a06; box-shadow: none; height: 18px; font-size: 9.5px; }
.play:hover { transform: scale(1.04); box-shadow: 0 14px 36px rgba(255, 97, 88, 0.6), inset 0 -6px 14px rgba(120, 10, 10, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.55); }
.play:active { transform: scale(0.97); }
.play-wide { width: auto; height: 52px; border-radius: 999px; flex-direction: row; gap: 12px; padding: 0 26px; white-space: nowrap; }
.play-wide span { font-size: 22px; }
.slide-foot { grid-column: 1 / span 2; display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--t-2); white-space: nowrap; overflow: hidden; padding-top: 8px; }
.slide-foot .link { font-size: 12.5px; }

/* THE MICROGRAPH DATA BAR */
.micro { position: fixed; z-index: 11; left: 0; right: 0; bottom: 0; height: 40px; display: flex; align-items: stretch; background: rgba(2, 4, 8, 0.92); border-top: 1px solid rgba(200, 220, 255, 0.14); }
.mc { display: flex; align-items: center; gap: 9px; padding: 0 20px; border-right: 1px solid rgba(200, 220, 255, 0.12); white-space: nowrap; }
.mc i { font: 600 10px/1 var(--f-m); letter-spacing: 0.13em; text-transform: uppercase; font-style: normal; color: var(--t-2); }
.mc b { font: 700 14px/1 var(--f-m); color: var(--t-0); font-variant-numeric: tabular-nums; }
.mc u { text-decoration: none; font: 500 10.5px/1 var(--f-m); color: var(--t-2); letter-spacing: 0.06em; }
.mc small { font: 500 11px/1 var(--f-m); color: var(--t-3); }
.mc-rule { font: 500 11.5px/1 var(--f-m); color: var(--t-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; flex: 1; border-right: 0; }
.scale { display: flex; align-items: center; gap: 10px; padding: 0 22px; margin-left: auto; flex: none; }
.scale .sb { display: block; height: 6px; width: 96px; border: 1.5px solid #e9f0ff; border-top: 0; }
.scale i { font: 600 11px/1 var(--f-m); font-style: normal; color: #e9f0ff; }

/* ---------------------------------------------------------------- in the dish */
.hud { position: fixed; inset: 0; z-index: 12; pointer-events: none; }
.hud > * { pointer-events: auto; }
.readout { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: 132px 220px 132px; height: 70px; border-radius: var(--r-3);
  background: var(--glass-hud); border: 1px solid var(--line); box-shadow: var(--shadow), inset 0 1px 0 var(--edge); pointer-events: none; }
.ro { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 18px; position: relative; min-width: 0; }
.ro + .ro::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.ro b { font: 700 21px/1 var(--f-m); color: var(--t-0); white-space: nowrap; }
.ro small { font: 500 10.5px/1 var(--f-m); color: var(--t-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ro-hero b { font-size: 30px; color: var(--coral); text-shadow: 0 0 22px rgba(255, 97, 88, 0.35); }
.ro-hero b::after { content: ' SOL'; font-size: 12px; color: var(--coral-2); letter-spacing: 0.04em; text-shadow: none; }
.ro-hero.is-ok b { color: var(--gold); text-shadow: 0 0 22px rgba(255, 201, 74, 0.35); }
.ro-hero.is-ok b::after { color: var(--gold-2); }
.board { position: absolute; top: 14px; right: 14px; width: 256px; padding: 10px 4px 6px; border-radius: var(--r-3); background: var(--glass-hud); border: 1px solid var(--line); box-shadow: var(--shadow), inset 0 1px 0 var(--edge); pointer-events: none; }
.board header { display: flex; justify-content: space-between; gap: 10px; padding: 0 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.board ol { padding-top: 4px; }
.board li { display: grid; grid-template-columns: 20px 1fr 76px; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 6px; font-size: 13px; }
.board li .rk { font: 600 10.5px/1 var(--f-m); color: var(--t-3); }
.board li .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--t-1); }
.board li .wo { text-align: right; font: 600 11.5px/1 var(--f-m); color: var(--t-1); font-variant-numeric: tabular-nums; }
.board li.is-me { background: rgba(255, 97, 88, 0.14); box-shadow: inset 2px 0 0 var(--coral); }
.board li.is-me .nm { color: var(--t-0); }
.board li.is-hold .nm::after { content: ' ◉'; color: var(--gold); }
.board li.is-hold .wo { color: var(--gold); }
.feed { position: absolute; left: 16px; bottom: 18px; width: min(360px, 34vw); display: flex; flex-direction: column; gap: 5px; pointer-events: none; }
.feed p { font: 500 12.5px/1.25 var(--f-m); color: var(--t-1); padding: 6px 10px; border-radius: 8px; background: rgba(5, 9, 17, 0.72); border: 1px solid var(--line); width: fit-content; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  animation: feedIn 0.25s ease-out; }
.feed p b { color: var(--t-0); font-weight: 600; }
.feed p em { font-style: normal; color: var(--t-2); }
.feed p em.gold { color: var(--gold); }
.feed p.mine { border-color: rgba(255, 97, 88, 0.4); }
.feed p.gold { border-color: rgba(255, 201, 74, 0.35); }
.feed p.is-old { opacity: 0; transition: opacity 0.8s; }
@keyframes feedIn { from { opacity: 0; transform: translateX(-8px); } }
.mini { position: absolute; right: 16px; bottom: 16px; width: 140px; height: 140px; border-radius: 50%; box-shadow: var(--shadow); pointer-events: none; }
.mini canvas { width: 100%; height: 100%; display: block; }
.cash { position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); width: min(560px, calc(100vw - 380px)); height: 50px; display: flex; align-items: center; gap: 14px; padding: 0 8px 0 18px; overflow: hidden;
  border-radius: 999px; background: var(--glass-hud); border: 1px solid var(--line-2); box-shadow: var(--shadow), inset 0 1px 0 var(--edge); pointer-events: none; }
.cash-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, rgba(255, 201, 74, 0.18), rgba(255, 201, 74, 0.42)); border-right: 2px solid var(--gold); }
.cash[data-state="need"] .cash-fill { background: linear-gradient(90deg, rgba(143, 163, 196, 0.08), rgba(143, 163, 196, 0.2)); border-right-color: rgba(143, 163, 196, 0.5); }
.cash-text { position: relative; flex: 1; min-width: 0; font-size: 14px; font-weight: 600; color: var(--t-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cash-text b { color: var(--t-0); }
.cash-amt { position: relative; flex: none; height: 36px; padding: 0 14px; border-radius: 999px; display: flex; align-items: center; font: 700 15px/1 var(--f-m); color: var(--t-0); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.cash[data-state="idle"] { border-color: rgba(255, 201, 74, 0.5); }
.cash[data-state="idle"] .cash-amt, .cash[data-state="on"] .cash-amt { color: #241700; background: var(--gold); border-color: var(--gold); }
.cash[data-state="on"] { border-color: var(--gold); box-shadow: var(--shadow), 0 0 30px rgba(255, 201, 74, 0.3), inset 0 1px 0 var(--edge); }
.keys { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 18px; font-size: 12.5px; font-weight: 600; color: var(--t-2); pointer-events: none; white-space: nowrap; }
.keys span { display: flex; align-items: center; gap: 7px; }
.count { position: absolute; left: 50%; bottom: 112px; transform: translateX(-50%); font: 400 96px/1 var(--f-d); color: var(--gold); text-shadow: 0 0 40px rgba(255, 201, 74, 0.5), 0 6px 30px rgba(0, 0, 0, 0.6); opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.count.is-on { opacity: 0.92; }
.count.is-beat { animation: beat 0.4s ease-out; }
@keyframes beat { from { transform: translateX(-50%) scale(1.18); } }
.pad { display: none; }
.joy { position: fixed; z-index: 13; width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 50%; border: 2px solid rgba(225, 238, 255, 0.28); background: rgba(10, 16, 30, 0.35); pointer-events: none; }
.joy i { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd2cc, var(--coral) 60%, var(--coral-d)); box-shadow: 0 4px 14px rgba(255, 97, 88, 0.5); }

/* ---------------------------------------------------------------- sheets */
.sheet-back { position: fixed; inset: 0; z-index: 30; background: radial-gradient(ellipse at center, rgba(3, 6, 12, 0.55), rgba(3, 6, 12, 0.82)); }
.sheet { position: fixed; z-index: 31; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(500px, calc(100vw - 28px)); max-height: calc(100vh - 28px); overflow: auto; padding: 30px 30px 24px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 32, 54, 0.97), rgba(10, 16, 29, 0.98)); border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), inset 0 1px 0 var(--edge); text-align: center; animation: sheetIn 0.28s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes sheetIn { from { opacity: 0; transform: translate(-50%, -46%) scale(0.96); } }
.sheet-blob { width: 72px; height: 72px; display: block; margin: 0 auto 12px; }
.sheet-h { margin-top: 10px; font: 400 40px/1.02 var(--f-d); color: var(--t-0); }
.sheet-h b { font-weight: 400; color: var(--coral); }
.sheet-h2 { margin: 8px 0 18px; font: 400 32px/1 var(--f-d); }
.sheet-amt { margin-top: 10px; display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.sheet-amt b { font: 700 54px/1 var(--f-m); color: var(--gold); text-shadow: 0 0 34px rgba(255, 201, 74, 0.4); letter-spacing: -0.03em; }
.sheet-amt span { font: 700 16px/1 var(--f-m); color: var(--gold-2); }
.sheet-sub { margin-top: 10px; color: var(--t-1); font-size: 15px; }
.facts { margin: 22px 0 8px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.facts div { padding: 13px 6px; display: flex; flex-direction: column; gap: 8px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts b { font-size: 19px; font-weight: 700; }
.sheet-note { margin-top: 14px; font-size: 13.5px; color: var(--t-2); line-height: 1.5; }
.sheet-note a { color: var(--t-1); text-decoration: underline; text-underline-offset: 3px; }
.sheet-act { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.steps { margin: 20px auto 0; display: flex; justify-content: center; gap: 0; width: fit-content; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.steps li { padding: 9px 16px; font: 600 11.5px/1 var(--f-m); letter-spacing: 0.06em; color: var(--t-3); }
.steps li + li { border-left: 1px solid var(--line); }
.steps li.is-done { color: var(--mint); }
.steps li.is-now { color: var(--t-0); background: rgba(255, 255, 255, 0.06); }
.steps li.is-bad { color: var(--bad); }
.sheet .field { text-align: left; margin-bottom: 14px; }
.sheet .row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); text-align: left; }
.sheet .row input[type="range"] { width: 180px; accent-color: var(--coral); }
.sheet .row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--coral); }
.acct-row { font-size: 13.5px; color: var(--t-2); justify-content: flex-start !important; }
.four { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; }
.four li { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto 1fr; column-gap: 12px; row-gap: 4px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.four canvas { grid-row: 1 / span 2; width: 56px; height: 56px; }
.four b { font: 400 20px/1 var(--f-d); align-self: end; }
.four span { font-size: 13px; color: var(--t-1); line-height: 1.45; }
.sheet-how { width: min(640px, calc(100vw - 28px)); }
.err { min-height: 18px; color: var(--bad); font-size: 13px; text-align: left; }
.toasts { position: fixed; z-index: 40; left: 50%; top: 92px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { padding: 11px 18px; border-radius: 12px; background: rgba(12, 19, 34, 0.96); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 14px; font-weight: 600; color: var(--t-0); max-width: min(560px, 92vw); text-align: center; animation: feedIn 0.2s ease-out; }
.toast.bad { border-color: rgba(255, 107, 107, 0.55); }
.toast.good { border-color: rgba(94, 242, 181, 0.45); }

/* hooks the scripts fill (no look of their own) */
.t-hold, .t-sym { font: inherit; }
.sheet-paid .sheet-sub b { color: var(--t-0); }
.sheet .row.check { cursor: pointer; }

/* /?watch: the dish and its numbers, nothing to fill in */
body.is-watch .title { display: none; }
/* /?stream: the watch camera for a pump.fun stream (OBS at 1920x1080): the board and the payments on the right, a big "play at"
   with the coin's address bottom left, no PLAY card, no menu links */
body.is-stream .title { display: block; }
body.is-stream .hero, body.is-stream .slide, body.is-stream .links { display: none; }
body.is-stream .specs, body.is-stream .paid, body.is-stream .stream-cta { background: var(--glass-hud); }      /* solid: blobs swimming behind never cut through the text on a stream */
.stream-cta { position: fixed; left: 24px; bottom: 58px; z-index: 12; display: flex; flex-direction: column; gap: 6px; padding: 16px 22px 18px; border-radius: 16px; pointer-events: none;
  background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow), inset 0 1px 0 var(--edge); }
.stream-cta[hidden] { display: none; }
.sc-play { font: 600 12px/1 var(--f-m); letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-2); }
.sc-dom { font: 400 52px/1.02 var(--f-d); color: var(--coral); letter-spacing: 0.01em; }
.sc-ca { font: 600 15px/1.2 var(--f-m); color: var(--t-0); white-space: nowrap; }
.sc-ca i { font-style: normal; color: var(--t-3); margin-right: 10px; }
body.is-shot .bar, body.is-shot .micro, body.is-shot .hud, body.is-shot .toasts, body.is-shot .eyepiece { display: none !important; }

/* ---------------------------------------------------------------- narrower screens */
@media (max-width: 1280px) {
  .links { display: none; }
  .side { width: 292px; }
  .specs-list li, .specs-head { grid-template-columns: 18px 22px 1fr 56px 82px; }
  .specs-head { grid-template-columns: 1fr 56px 82px; }
  .mc { padding: 0 14px; }
}
@media (max-width: 1100px) {
  .ca { max-width: 300px; }
  .mc-rule { display: none; }
}
@media (max-width: 820px) {
  .bar { height: 52px; padding: 0 14px; gap: 12px; }
  .wordmark { font-size: 22px; }
  .tick, .xlink { display: none; }
  .ca { position: fixed; left: 12px; right: 12px; top: 54px; max-width: none; height: 32px; }
  .ca-addr { flex: 1; font-size: 11px; }
  .hero { left: 18px; right: 18px; top: 104px; width: auto; }
  .eyebrow { margin-bottom: 12px; }
  .h1 { font-size: clamp(46px, 13vw, 64px); }
  .lede { margin-top: 12px; font-size: 14px; max-width: none; }
  .specs { display: none; }
  .side { left: 12px; right: 12px; width: auto; top: auto; bottom: 330px; }      /* a phone: only the payments, just above the PLAY card (main.js sets bottom) */
  .paid-list li:nth-child(n+3) { display: none; }
  .paid-list a { grid-template-columns: 1fr 80px 46px 50px; font-size: 13px; }
  .slide { bottom: 52px; height: auto; flex-direction: column; width: calc(100vw - 20px); }
  .slide-label { width: auto; height: 46px; flex-direction: row; align-items: center; justify-content: space-between; border-radius: 11px 11px 0 0; border-right: 0; border-bottom: 1px solid rgba(225, 238, 255, 0.28); padding: 0 16px; }
  .sl-name { font-size: 24px; }
  .sl-meta:last-child { display: none; }
  .slide-glass { grid-template-columns: 1fr 86px; grid-template-rows: auto auto auto; row-gap: 10px; padding: 12px 14px; }
  .field-addr { grid-column: 1; grid-row: 2; }
  .play:not(.play-wide) { grid-column: 2; grid-row: 1 / span 2; width: 82px; height: 82px; }      /* the title's round PLAY; the sheets' PLAY AGAIN stays a pill */
  .play:not(.play-wide) span { font-size: 21px; }
  .slide-foot { grid-column: 1 / span 2; grid-row: 3; padding-top: 0; font-size: 11.5px; flex-wrap: wrap; white-space: normal; }
  .micro { height: 36px; overflow: hidden; }
  .mc { padding: 0 10px; gap: 6px; }
  .mc:nth-child(3), .mc:nth-child(4), .scale { display: none; }
  .mc b { font-size: 12.5px; }
  .readout { top: 8px; grid-template-columns: 84px 150px 84px; height: 58px; }
  .ro { padding: 0 10px; gap: 5px; }
  .ro b { font-size: 16px; }
  .ro-hero b { font-size: 21px; }
  .ro small { font-size: 9.5px; }
  .board { top: 74px; right: 8px; width: 156px; padding: 6px 2px 4px; }
  .board li { grid-template-columns: 14px 1fr; height: 20px; font-size: 11.5px; padding: 0 6px; }
  .board li .wo { display: none; }
  .board li:nth-child(n+6) { display: none; }
  .board header { padding: 0 6px 6px; }
  .feed { left: 8px; bottom: 166px; width: 60vw; }
  .feed p { font-size: 11px; padding: 4px 8px; }
  .mini { right: 8px; top: 74px; bottom: auto; width: 0; height: 0; display: none; }
  .cash { bottom: 108px; width: calc(100vw - 20px); left: 50%; height: 44px; padding: 0 6px 0 12px; }
  .cash-text { font-size: 12px; }
  .cash-amt { height: 30px; font-size: 12.5px; padding: 0 10px; }
  .keys { display: none; }
  .pad { display: block; }
  .pb { position: absolute; bottom: 12px; width: 82px; height: 82px; border-radius: 50%; font: 400 17px/1.05 var(--f-d); color: var(--t-0); background: radial-gradient(circle at 35% 30%, rgba(60, 86, 130, 0.95), rgba(20, 32, 56, 0.95)); border: 1px solid var(--line-2); box-shadow: var(--shadow), inset 0 1px 0 var(--edge); touch-action: none; user-select: none; -webkit-user-select: none; }
  .pb small { font: 600 9px/1 var(--f-m); letter-spacing: 0.1em; text-transform: uppercase; color: var(--t-2); }
  .pb:active, .pb.is-down { transform: scale(0.94); }
  .pb-cash { left: 10px; background: radial-gradient(circle at 35% 30%, #ffe7a6, var(--gold) 55%, #c99418); color: #2a1a00; }
  .pb-cash small { color: #5a4100; }
  .pb-split { right: 10px; background: radial-gradient(circle at 35% 30%, #ffd2cc, var(--coral) 55%, var(--coral-d)); color: #2a0804; }
  .pb-eject { right: 100px; bottom: 20px; width: 66px; height: 66px; font-size: 15px; }
  .count { font-size: 64px; bottom: auto; top: 74px; }
  .play-wide kbd { display: none; }
  .eyebrow { font-size: 10.5px; letter-spacing: 0.08em; }
  .sheet { padding: 22px 18px 18px; }
  .sheet-h { font-size: 30px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .four { grid-template-columns: 1fr; }
}
/* the title's right column by screen height: the board and the payments never reach the PLAY card (after the base rules) */
@media (min-height: 960px) { .paid-list li:nth-child(5) { display: block; } }
@media (max-height: 899px) and (min-width: 821px) { .specs-list { min-height: 198px; } .specs-list li:nth-child(n+7) { display: none; } .paid-list li:nth-child(n+4) { display: none; } }
@media (max-height: 799px) and (min-width: 821px) { .specs-list { min-height: 165px; } .specs-list li:nth-child(n+6) { display: none; } }
@media (max-height: 760px) and (min-width: 821px) {
  .hero { top: 84px; }
  .h1 { font-size: clamp(56px, 6vw, 104px); }
  .lede { margin-top: 16px; }
  .slide { height: 116px; bottom: 54px; }
  .specs-list { min-height: 165px; }
  .specs-list li:nth-child(n+7) { display: none; }
}

/* ---------------------------------------------------------------- /docs and /ledger */
body.is-page { overflow: auto; touch-action: auto; background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(40, 70, 130, 0.22), rgba(7, 11, 20, 0) 70%), var(--ink-0); }
body.is-page::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1; background-image: linear-gradient(rgba(130, 170, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(130, 170, 255, 0.05) 1px, transparent 1px); background-size: 50px 50px; }
.bar-page { position: sticky; background: rgba(5, 8, 15, 0.92); border-bottom: 1px solid var(--line); }
.play-small { height: 38px; padding: 0 18px; }
.play-small span { font-size: 17px; }
.page { max-width: 1080px; margin: 0 auto; padding: 56px 26px 80px; }
.page-head { max-width: 720px; }
.page-head .h1 { font-size: clamp(54px, 7vw, 104px); }
.micro-page { position: static; margin: 44px 0 10px; height: 54px; border: 1px solid rgba(200, 220, 255, 0.14); border-radius: 12px; overflow: hidden; }
.micro-page .mc { flex: 1; justify-content: center; }
.micro-page .mc:last-child { border-right: 0; }
.sec { margin-top: 56px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.sec-head h2 { font: 400 34px/1 var(--f-d); }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rules li { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: 14px; background: rgba(11, 18, 32, 0.7); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(225, 238, 255, 0.12); }
.rules li > b { font: 400 21px/1 var(--f-d); color: var(--t-0); }
.rules li > span { color: var(--t-1); font-size: 15px; line-height: 1.55; }
.rules li > span b { color: var(--t-0); }
.paygrid { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pg { display: flex; flex-direction: column; gap: 9px; padding: 18px 14px; background: rgba(11, 18, 32, 0.7); }
.pg + .pg { border-left: 1px solid var(--line); }
.pg b { font-size: 21px; color: var(--t-0); }
.pg small { font: 500 10.5px/1 var(--f-m); color: var(--t-2); }
.pg.is-low b { color: var(--t-3); font-size: 15px; }
.pg.is-max { background: rgba(255, 201, 74, 0.08); }
.pg.is-max b { color: var(--gold); }
.table { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(11, 18, 32, 0.6); }
.tr { display: grid; grid-template-columns: 110px 1.3fr 1fr 130px 110px; gap: 12px; align-items: center; min-height: 44px; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.tr:last-child { border-bottom: 0; }
.tr4 { grid-template-columns: 1.4fr 110px 140px 140px; }
.tr .amt, .lab.amt { text-align: right; }
.tr a.amt { color: var(--t-1); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(195, 208, 230, 0.35); }
.tr .is-in { color: var(--mint); }
.empty { padding: 26px 18px; color: var(--t-2); font-size: 14px; text-align: center; }
.foot { margin-top: 60px; display: flex; justify-content: space-between; gap: 16px; color: var(--t-3); font-size: 13px; }
.foot a { color: var(--t-1); }
@media (max-width: 820px) {
  .rules { grid-template-columns: 1fr; }
  .paygrid { grid-template-columns: repeat(2, 1fr); }
  .pg + .pg { border-left: 0; } .pg { border-top: 1px solid var(--line); }
  .micro-page { flex-wrap: wrap; height: auto; }
  .micro-page .mc { flex: 1 1 45%; height: 44px; display: flex !important; }
  .tr { grid-template-columns: 70px 1fr 90px; } .tr > :nth-child(3), .tr > :nth-child(5) { display: none; }
  .tr4 { grid-template-columns: 1fr 70px 100px; } .tr4 > :nth-child(3) { display: none; }
  .bar-page .live { display: none; }
}
