/* keypot — monkeytype calm, with a gold pot at the centre of it */
:root, [data-theme='carbon'] {
  --bg: #141517;
  --bg-2: #1a1b1e;
  --surface: #1e1f23;
  --line: #2a2c30;
  --text: #e4e2d8;
  --sub: #6b6d70;
  --sub-2: #45474b;
  --accent: #f5c542;
  --accent-ink: #141517;
  --accent-soft: rgba(245, 197, 66, 0.12);
  --err: #ef5a5f;
  --err-soft: rgba(239, 90, 95, 0.12);
  --ok: #7bd88f;
  --ok-soft: rgba(123, 216, 143, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --grid: rgba(255, 255, 255, 0.025);
  color-scheme: dark;
}
[data-theme='paper'] {
  --bg: #f4f1ea;
  --bg-2: #ece8de;
  --surface: #fbf9f4;
  --line: #ddd7ca;
  --text: #2b2a26;
  --sub: #9a958a;
  --sub-2: #c7c1b3;
  --accent: #e8590c;
  --accent-ink: #fff;
  --accent-soft: rgba(232, 89, 12, 0.1);
  --err: #d6336c;
  --err-soft: rgba(214, 51, 108, 0.1);
  --ok: #2f9e44;
  --ok-soft: rgba(47, 158, 68, 0.1);
  --shadow: 0 20px 50px rgba(60, 50, 30, 0.14);
  --grid: rgba(0, 0, 0, 0.035);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s, color 0.25s;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

.ic { display: inline-block; vertical-align: middle; flex: none; }
.mono-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sub); }

.shell { max-width: 1120px; margin: 0 auto; padding: 28px 32px 40px; min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- top bar ---------- */
.top { display: flex; align-items: center; gap: 28px; height: 44px; }
.brand { display: flex; align-items: center; color: var(--text); }
.brand svg { height: 28px; width: auto; }
.nav { display: flex; gap: 6px; }
.nav a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--sub); transition: color 0.15s, background 0.15s; position: relative; }
.nav a:hover { color: var(--text); }
.nav a.on { color: var(--accent); }
.nav a[data-tip]:hover::after {
  content: attr(data-tip); position: absolute; top: 40px; left: 50%; transform: translateX(-50%);
  background: var(--surface); border: 1px solid var(--line); padding: 4px 10px; border-radius: 8px; font-size: 11px; white-space: nowrap; color: var(--text); z-index: 5;
}
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--bg-2); color: var(--text); font-size: 13px; transition: background 0.15s, transform 0.1s; }
.pill:hover { background: var(--surface); }
.pill:active { transform: scale(0.97); }
.pill .ic { color: var(--accent); }
.pill.bal b { font-weight: 700; font-variant-numeric: tabular-nums; }
.pill.bal.bump { animation: bump 0.5s; }
@keyframes bump { 30% { transform: scale(1.08); background: var(--accent-soft); } }
.icon-btn { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; color: var(--sub); transition: color 0.15s, background 0.15s; }
.icon-btn:hover { color: var(--text); background: var(--bg-2); }
.me-btn { display: flex; align-items: center; gap: 8px; padding: 3px 12px 3px 3px; border-radius: 999px; background: var(--bg-2); font-size: 13px; }
.me-btn:hover { background: var(--surface); }
.avatar { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex: none; background: var(--surface); display: block; }
.avatar svg { width: 100%; height: 100%; display: block; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.view { flex: 1; display: flex; flex-direction: column; padding-top: 36px; animation: fade 0.3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

.foot { display: flex; gap: 22px; justify-content: center; align-items: center; color: var(--sub); font-size: 12px; padding-top: 28px; }
.foot kbd, kbd { font-family: inherit; font-size: 11px; background: var(--bg-2); color: var(--text); padding: 2px 7px; border-radius: 5px; border-bottom: 2px solid var(--line); }

/* ---------- config bar (monkeytype) ---------- */
.config { align-self: center; display: flex; align-items: center; gap: 4px; background: var(--bg-2); border-radius: 12px; padding: 6px 10px; font-size: 13px; color: var(--sub); flex-wrap: wrap; justify-content: center; }
.config .grp { display: flex; align-items: center; gap: 2px; }
.config .sep { width: 4px; height: 20px; border-radius: 2px; background: var(--bg); margin: 0 8px; }
.config button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 8px; color: var(--sub); transition: color 0.15s; }
.config button:hover { color: var(--text); }
.config button.on { color: var(--accent); }

/* ---------- home ---------- */
.home { display: grid; gap: 34px; }
.hero { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 26px 0 6px; position: relative; }
.hero::before { content: ''; position: absolute; inset: -40px -10% -10px; background-image: radial-gradient(var(--grid) 1.2px, transparent 1.2px); background-size: 18px 18px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%); pointer-events: none; z-index: -1; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -0.05em; line-height: 1.05; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { color: var(--sub); max-width: 540px; }
.pot-line { display: flex; gap: 26px; align-items: flex-end; justify-content: center; margin-top: 8px; }
.pot-line .k { font-size: 11px; color: var(--sub); letter-spacing: 0.12em; text-transform: uppercase; }
.pot-line .v { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pot-line .v.gold { color: var(--accent); }
.pot-line .op { color: var(--sub-2); font-size: 22px; padding-bottom: 4px; }
.cta { white-space: nowrap; display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 28px 0 24px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 16px; letter-spacing: -0.01em; transition: transform 0.12s, box-shadow 0.2s; box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 25%, transparent); }
.cta:hover { transform: translateY(-1px); box-shadow: 0 14px 40px color-mix(in srgb, var(--accent) 35%, transparent); }
.cta:active { transform: scale(0.97); }
.cta kbd { background: rgba(0, 0, 0, 0.15); color: inherit; border-bottom-color: rgba(0, 0, 0, 0.2); }
.ghost { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; color: var(--sub); background: var(--bg-2); font-size: 13px; transition: color 0.15s, background 0.15s; }
.ghost:hover { color: var(--text); background: var(--surface); }

.cards { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; }
.card { background: var(--bg-2); border-radius: 20px; padding: 20px 22px; position: relative; overflow: hidden; }
.card h3 { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.card h3 .ic { color: var(--accent); }
.card h3 .meta { margin-left: auto; font-weight: 400; color: var(--sub); font-size: 12px; display: flex; align-items: center; gap: 7px; }

.preview { height: 196px; position: relative; border-radius: 14px; background: var(--bg); overflow: hidden; }
.preview .lane-p { position: absolute; left: 0; right: 0; height: 38px; border-bottom: 1px dashed var(--line); }
.preview .lane-p svg { position: absolute; height: 30px; bottom: 2px; animation: drive 6s ease-in-out infinite; }
@keyframes drive { 0% { left: 2%; } 80% { left: 72%; } 100% { left: 72%; } }
.preview .ship-p { position: absolute; bottom: 14px; width: 40px; }
.preview .rocket-p { position: absolute; width: 16px; animation: fall 3.4s linear infinite; }
.preview .rocket-p span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 11px; white-space: nowrap; color: var(--text); background: var(--bg-2); padding: 0 5px; border-radius: 4px; }
@keyframes fall { from { top: -40px; } to { top: 150px; } }
.mode-blurb { color: var(--sub); font-size: 13px; margin-top: 14px; display: flex; gap: 18px; flex-wrap: wrap; }
.mode-blurb span { display: inline-flex; align-items: center; gap: 6px; }
.mode-blurb .ic { color: var(--text); }

.feed { display: grid; gap: 2px; max-height: 250px; overflow: auto; }
.feed .row { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; font-size: 12.5px; padding: 7px 4px; border-radius: 8px; }
.feed .row .ic { color: var(--sub); }
.feed .row b { font-weight: 700; }
.feed .row .amt { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.feed .row .sub { color: var(--sub); }
.empty { color: var(--sub); font-size: 13px; display: grid; place-items: center; gap: 10px; text-align: center; padding: 30px 10px; }
.empty .ic { color: var(--sub-2); }

/* ---------- lobby ---------- */
.lobby { display: grid; gap: 34px; justify-items: center; text-align: center; padding-top: 10px; }
.lobby h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; }
.lobby h2 em { font-style: normal; color: var(--accent); }
.seats { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.seat { width: 150px; height: 190px; border-radius: 20px; background: var(--bg-2); display: grid; justify-items: center; align-content: center; gap: 10px; position: relative; animation: pop 0.35s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { from { transform: scale(0.85); opacity: 0; } }
.seat .avatar { width: 64px; height: 64px; box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 5px var(--c, var(--line)); }
.seat .veh { height: 30px; width: 90px; display: grid; place-items: center; }
.seat .veh svg { max-height: 30px; max-width: 90px; }
.seat .nm { font-size: 13px; font-weight: 700; }
.seat .tag { position: absolute; top: 10px; right: 10px; font-size: 10px; color: var(--sub); background: var(--bg); padding: 1px 7px; border-radius: 999px; letter-spacing: 0.08em; }
.seat .tag.you { color: var(--accent-ink); background: var(--accent); }
.seat.empty { background: transparent; border: 2px dashed var(--line); animation: none; color: var(--sub-2); }
.seat.empty .ring { width: 64px; height: 64px; border-radius: 50%; border: 2px dashed var(--line); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fillbar { width: min(520px, 90%); height: 4px; border-radius: 4px; background: var(--bg-2); overflow: hidden; }
.fillbar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; transition: width 0.2s linear; }

/* ---------- race ---------- */
.game { display: grid; gap: 26px; }
.hud { display: flex; align-items: flex-end; gap: 28px; color: var(--accent); min-height: 40px; }
.hud .big { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.hud .lbl { font-size: 11px; color: var(--sub); letter-spacing: 0.12em; text-transform: uppercase; }
.hud .grow { flex: 1; }
.hud .potchip { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; color: var(--text); background: var(--bg-2); border-radius: 999px; padding: 6px 14px; font-size: 13px; }
.hud .potchip b { color: var(--accent); }

/* the circuit: asphalt lanes between two curbs, start boxes on the left, gantry on the right */
.circuit { position: relative; border-radius: 20px; padding: 0 18px; background: color-mix(in srgb, var(--bg) 55%, #000 0%); background:
  linear-gradient(var(--bg-2), var(--bg-2)) padding-box; overflow: hidden; }
[data-theme='carbon'] .circuit { background: #18191c; }
.curb { height: 7px; margin: 0 -18px; background: repeating-linear-gradient(90deg, var(--err) 0 22px, color-mix(in srgb, var(--text) 85%, transparent) 22px 44px); opacity: 0.55; }
.lane { position: relative; height: 62px; display: flex; align-items: center; }
.lane .who { width: 150px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; flex: none; }
.lane .who .gridno { font-size: 10px; color: var(--sub); width: 12px; text-align: right; }
.lane .who .avatar { width: 26px; height: 26px; box-shadow: 0 0 0 2px var(--c); }
.lane .who b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 80px; }
.lane .who .bot { font-size: 9px; color: var(--sub); border: 1px solid var(--line); padding: 0 5px; border-radius: 4px; letter-spacing: 0.08em; }
.lane .road { position: relative; flex: 1; height: 100%;
  /* lane markings stream past at the driver's live speed (--dash is driven per frame) */
  background: linear-gradient(90deg, color-mix(in srgb, var(--text) 16%, transparent) 0 18px, transparent 18px 36px) var(--dash, 0px) 0 / 36px 2px repeat-x; }
.lane:first-of-type .road, .curb + .lane .road { background: none; }
.lane .grid-box { position: absolute; left: -4px; top: 14px; bottom: 14px; width: 84px; border: 1.5px dashed color-mix(in srgb, var(--text) 9%, transparent); animation: grid-off 0.8s 5s forwards; border-left: 0; border-radius: 0 6px 6px 0; }
.lane .car { position: absolute; left: 0; bottom: 9px; width: 84px; will-change: transform; z-index: 2; }
.lane .car.ghost { z-index: 1; opacity: 0.3; filter: saturate(0.4); }
.lane .car.ghost .pos { background: none; color: var(--sub); top: -15px; }
.lane .car .body { display: block; position: relative; z-index: 2; }
.lane .car svg { width: 100%; display: block; }
.lane .car .wheel { animation: spin var(--spin, 0.35s) linear infinite; animation-play-state: paused; }
.lane.moving .car .wheel { animation-play-state: running; }
.lane.moving .car .body { animation: bob 0.22s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-1.5px) rotate(-0.6deg); } }
.lane .pos { position: absolute; top: -17px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 800; color: var(--sub); background: var(--bg); padding: 0 6px; border-radius: 5px; letter-spacing: 0.04em; z-index: 3; }
.lane .pos.lead { color: var(--accent-ink); background: var(--accent); }
.lane .trail { position: absolute; right: 100%; top: 6px; bottom: 8px; width: var(--trail, 14px); margin-right: -8px; opacity: 0; transition: opacity 0.2s, width 0.3s; }
.lane .trail i { position: absolute; right: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--c) 70%, transparent)); width: 100%; animation: streak 0.32s linear infinite; }
.lane .trail i:nth-child(1) { top: 20%; }
.lane .trail i:nth-child(2) { top: 55%; animation-delay: -0.12s; width: 70%; }
.lane .trail i:nth-child(3) { top: 85%; animation-delay: -0.22s; width: 85%; }
@keyframes streak { from { transform: translateX(10px); opacity: 0; } 40% { opacity: 1; } to { transform: translateX(-14px); opacity: 0; } }
.lane.moving .trail { opacity: 1; }
.lane .nitro { position: absolute; right: calc(100% - 10px); bottom: 8px; width: 0; height: 10px; border-radius: 10px 0 0 10px; background: linear-gradient(90deg, transparent, #ff9f43 40%, #f5c542 80%, #fff6d6); filter: blur(0.5px); opacity: 0; transition: width 0.25s, opacity 0.25s; z-index: 1; }
.lane.nitro-on .nitro { width: 34px; opacity: 1; animation: flare 0.08s infinite alternate; }
.lane.nitro-on.moving .nitro { width: 46px; }
@keyframes flare { to { transform: scaleY(0.65) translateX(2px); opacity: 0.8; } }
.lane.nitro-on .car .body svg { filter: drop-shadow(0 0 6px color-mix(in srgb, #f5c542 55%, transparent)); }
.lane .fin { position: absolute; right: -16px; top: 4px; bottom: 4px; width: 16px; z-index: 1; }
.lane .fin svg { height: 100%; width: 100%; }
.lane .fin .spark { position: absolute; left: 0; top: 40%; color: #f5c542; pointer-events: none; }
.lane .lstat { width: 70px; flex: none; text-align: right; font-size: 12.5px; color: var(--sub); font-variant-numeric: tabular-nums; padding-left: 10px; }
.lane .lstat .p1 { color: var(--accent); font-weight: 800; }
.lane.me { background: linear-gradient(90deg, var(--accent-soft), transparent 55%); border-radius: 10px; }
.lane.finished .car .body { animation: none; }
.lane.stall .car .body { animation: stall 0.18s ease-in-out infinite alternate; filter: saturate(0.25) drop-shadow(0 0 6px var(--err)); }
@keyframes stall { from { transform: rotate(-4deg) translateX(-2px); } to { transform: rotate(3deg) translateX(1px); } }
.rival-gap { font-size: 12.5px; color: var(--sub); white-space: nowrap; }
.rival-gap b { font-weight: 800; font-variant-numeric: tabular-nums; }
.rival-gap b.up { color: var(--ok); }
.rival-gap b.down { color: var(--err); }
.ohint .chip, .chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; padding: 1px 8px; border-radius: 999px; background: var(--bg-2); color: var(--text); margin-right: 4px; }

.gantry { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 10; display: grid; justify-items: center; gap: 10px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(6px); padding: 16px 22px 12px; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.gantry .lights { display: flex; gap: 12px; }
.gantry i { width: 30px; height: 30px; border-radius: 50%; background: #2a1416; box-shadow: inset 0 -3px 0 rgba(0,0,0,.35); transition: background 0.08s, box-shadow 0.08s; }
.gantry i.on { background: #ef3b42; box-shadow: 0 0 18px #ef3b42, inset 0 -3px 0 rgba(0,0,0,.25); }
.gantry-txt { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sub); }
.gantry.go i { background: #2a1416; box-shadow: none; }
.gantry.go { animation: gantryOut 0.9s ease forwards; }
.gantry.go .gantry-txt { color: var(--accent); }
@keyframes gantryOut { 0%, 50% { opacity: 1; } to { opacity: 0; transform: translate(-50%, -70%); } }
.photo { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 9; display: flex; align-items: center; gap: 8px; font-size: 12.5px; background: var(--bg); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow); animation: toast 0.35s cubic-bezier(.2,1.4,.4,1); white-space: nowrap; }
.photo .ic { color: var(--accent); }
.hud .streak { display: flex; align-items: flex-end; gap: 6px; color: var(--sub); transition: color 0.2s; }
.hud .streak .big { color: var(--sub); transition: color 0.2s; }
.hud .streak.lit, .hud .streak.lit .big { color: #ff9f43; }
.hud .streak.lit .ic { animation: flare 0.12s infinite alternate; }

.words-wrap { position: relative; padding: 4px 2px; }
.words { font-size: 25px; line-height: 1.6; height: calc(1.6em * 3); overflow: hidden; color: var(--sub); display: flex; flex-wrap: wrap; align-content: flex-start; user-select: none; position: relative; letter-spacing: 0.01em; }
.words .w { margin: 0 0.6ch 0 0; position: relative; white-space: nowrap; }
.words .w.err-word { text-decoration: underline var(--err) 2px; text-underline-offset: 6px; }
.words .c.ok { color: var(--text); }
.words .c.bad { color: var(--err); }
.words .c.extra { color: color-mix(in srgb, var(--err) 70%, var(--bg)); }
.words .c.done { color: var(--text); }
.caret { position: absolute; width: 2.5px; height: 1.15em; background: var(--accent); border-radius: 2px; transition: left 0.09s ease, top 0.09s ease; font-size: calc(25px * var(--type-scale, 1)); animation: blink 1s infinite; pointer-events: none; z-index: 2; }
.caret.pace { background: var(--sub); opacity: 0.55; animation: none; transition: left 0.12s linear, top 0.12s linear; z-index: 1; }
#inner { display: flex; flex-wrap: wrap; transition: transform 0.15s ease; will-change: transform; }
.words.tape { height: 1.6em; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.words.tape #inner { flex-wrap: nowrap; transition: transform 0.08s linear; }
.words.finished { opacity: 0.45; transition: opacity 0.3s; }
.type-warn { position: absolute; inset: 0; display: none; place-items: center; pointer-events: none; z-index: 3; }
.type-warn.on { display: grid; }
.type-warn span { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: 8px 16px; border-radius: 999px; font-size: 13px; box-shadow: var(--shadow); margin: 0 4px; }
.caret.typing { animation: none; }
@keyframes blink { 50% { opacity: 0; } }
.focus-hint { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text); backdrop-filter: blur(5px); background: color-mix(in srgb, var(--bg) 50%, transparent); font-size: 14px; border-radius: 10px; }

.countdown { position: fixed; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 30; }
.countdown span { font-size: 160px; font-weight: 800; color: var(--accent); letter-spacing: -0.06em; animation: count 1s ease-out; text-shadow: 0 10px 60px color-mix(in srgb, var(--accent) 30%, transparent); }
@keyframes count { from { transform: scale(1.6); opacity: 0; } 30% { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.9); } }

/* ---------- orbit ---------- */
.arena { position: relative; height: min(560px, 66vh); border-radius: 22px; background: radial-gradient(ellipse at 50% 120%, color-mix(in srgb, var(--accent) 9%, var(--bg)) 0%, var(--bg) 60%); border: 1px solid var(--line); overflow: hidden; }
.arena.shake { animation: shake 0.35s; }
@keyframes shake { 20% { transform: translate(-6px, 2px); } 40% { transform: translate(5px, -3px); } 60% { transform: translate(-3px, 2px); } 80% { transform: translate(2px, -1px); } }
.stars { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 20% 30%, var(--sub) 50%, transparent 51%), radial-gradient(1px 1px at 70% 15%, var(--sub) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 40% 70%, var(--sub-2) 50%, transparent 51%), radial-gradient(1px 1px at 85% 55%, var(--sub) 50%, transparent 51%), radial-gradient(1px 1px at 10% 85%, var(--sub-2) 50%, transparent 51%); background-size: 260px 260px; animation: drift 40s linear infinite; opacity: 0.7; }
@keyframes drift { to { background-position: 0 260px; } }
.planet { position: absolute; left: -4%; right: -4%; bottom: -6px; height: 120px; pointer-events: none; opacity: 0.9; }
.planet svg { width: 100%; height: 100%; display: block; }
.olane { position: absolute; top: 0; bottom: 0; border-right: 1px dashed color-mix(in srgb, var(--line) 60%, transparent); }
.olane:last-of-type { border-right: 0; }
.olane.me { background: linear-gradient(to bottom, transparent 40%, color-mix(in srgb, var(--accent) 6%, transparent)); }
.olane.me::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); opacity: 0.7; }
.olane.out { background: repeating-linear-gradient(135deg, transparent 0 12px, color-mix(in srgb, var(--err) 5%, transparent) 12px 24px); }
.olane.out .ship { opacity: 0.25; filter: grayscale(1); }
.ship { position: absolute; bottom: 58px; left: 50%; width: 52px; transform: translateX(-50%); transition: left 0.2s ease-out; z-index: 3; }
.ship svg { width: 100%; display: block; }
.ship .thrust { animation: flick 0.12s infinite alternate; transform-origin: 50% 0; transform-box: fill-box; }
@keyframes flick { to { transform: scaleY(0.7); opacity: 0.8; } }
.pilot-tag { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 7px; font-size: 11.5px; z-index: 4; }
.pilot-tag > * { position: relative; }
.pilot-tag { width: max-content; margin: 0 auto; padding: 3px 10px 3px 4px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(4px); }
[data-theme='paper'] .planet { filter: invert(1) hue-rotate(180deg) brightness(1.05); opacity: 0.55; }
.kb-trap { position: fixed; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; border: 0; padding: 0; font-size: 16px; }
.pilot-tag b { font-weight: 700; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp { display: inline-flex; gap: 3px; }
.hp i { width: 9px; height: 4px; border-radius: 2px; background: var(--c); }
.hp i.gone { background: var(--sub-2); }
.kills { color: var(--sub); font-variant-numeric: tabular-nums; }
.rocket { position: absolute; width: 22px; margin-left: -11px; z-index: 2; will-change: transform; }
.rocket svg { width: 100%; display: block; }
.rocket.t1 { width: 26px; margin-left: -13px; }
.rocket.t2 { width: 32px; margin-left: -16px; }
.rocket .word { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 4px; font-size: 13px; color: var(--sub); background: color-mix(in srgb, var(--bg) 80%, transparent); padding: 1px 6px; border-radius: 5px; white-space: nowrap; letter-spacing: 0.02em; }
.rocket .word b { color: var(--accent); font-weight: 700; }
.olane.me .rocket .word { color: var(--text); font-size: 15px; }
.olane:not(.me) .rocket .word { font-size: 11px; opacity: 0.8; }
.rocket.locked .word { box-shadow: 0 0 0 1.5px var(--accent); color: var(--text); }
.boom { position: absolute; width: 64px; height: 64px; margin: -32px 0 0 -32px; pointer-events: none; animation: boom 0.45s ease-out forwards; z-index: 5; }
.boom svg { width: 100%; height: 100%; }
@keyframes boom { from { transform: scale(0.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.laser { position: absolute; width: 2px; background: linear-gradient(to top, var(--c), transparent); transform-origin: bottom center; animation: laser 0.22s ease-out forwards; pointer-events: none; z-index: 1; }
@keyframes laser { from { opacity: 1; } to { opacity: 0; } }
.typed { position: absolute; bottom: 120px; left: 50%; transform: translateX(-50%); font-size: 18px; color: var(--accent); font-weight: 700; min-height: 26px; letter-spacing: 0.04em; z-index: 4; }
.speed { position: absolute; top: 14px; right: 16px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--sub); z-index: 5; }
.speed b { color: var(--text); font-variant-numeric: tabular-nums; }
.spectate { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); background: var(--err-soft); color: var(--err); font-size: 12px; padding: 5px 14px; border-radius: 999px; z-index: 6; display: flex; gap: 8px; align-items: center; }
.ohint { color: var(--sub); font-size: 12.5px; text-align: center; }

/* ---------- results ---------- */
.results { display: grid; gap: 26px; }
.res-head { display: flex; align-items: center; gap: 20px; }
.res-head .place { font-size: 76px; font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; color: var(--accent); }
.res-head .place small { font-size: 26px; color: var(--sub); letter-spacing: -0.02em; }
.res-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.res-head p { color: var(--sub); font-size: 13px; }
.res-head .actions { margin-left: auto; display: flex; gap: 10px; }
.statrow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.stat { background: var(--bg-2); border-radius: 16px; padding: 14px 18px; }
.stat .v { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat .v small { font-size: 14px; color: var(--sub); font-weight: 500; }
.stat.money.win { background: var(--accent-soft); }
.stat.money.win .v { color: var(--accent); }
.stat.money.loss .v { color: var(--sub); }
.stat.money.held { background: var(--err-soft); }
.stat.money.held .v { color: var(--err); }
.notice { display: flex; align-items: center; gap: 12px; background: var(--err-soft); color: var(--err); padding: 12px 16px; border-radius: 14px; font-size: 13px; }
.notice.info { background: var(--accent-soft); color: var(--text); }
.notice.info .ic { color: var(--accent); }

table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-weight: 500; color: var(--sub); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 10px 14px; }
.tbl td { padding: 10px 14px; font-variant-numeric: tabular-nums; }
.tbl tbody tr:nth-child(odd) td { background: var(--bg-2); }
.tbl tbody tr td:first-child { border-radius: 12px 0 0 12px; }
.tbl tbody tr td:last-child { border-radius: 0 12px 12px 0; }
.tbl tr.me td { background: var(--accent-soft) !important; }
.tbl .rank { font-size: 20px; font-weight: 800; color: var(--sub); width: 56px; }
.tbl tr:first-child .rank { color: var(--accent); }
.tbl .player { display: flex; align-items: center; gap: 10px; }
.tbl .player .avatar { width: 30px; height: 30px; box-shadow: 0 0 0 2px var(--c); }
.tbl .player b { font-weight: 700; }
.tbl .player .veh { width: 64px; margin-left: auto; }
.tbl .player .veh svg { width: 100%; display: block; max-height: 30px; }
.tbl .badge { font-size: 10px; padding: 1px 7px; border-radius: 999px; letter-spacing: 0.06em; }
.badge.you { background: var(--accent); color: var(--accent-ink); }
.badge.bot { border: 1px solid var(--line); color: var(--sub); }
.badge.flag { background: var(--err-soft); color: var(--err); display: inline-flex; align-items: center; gap: 4px; cursor: help; }
.badge.dnf { color: var(--sub); border: 1px solid var(--line); }
.tbl .pay { font-weight: 800; text-align: right; }
.tbl .pay.win { color: var(--accent); }
.tbl .num { text-align: right; }

/* ---------- wallet / board ---------- */
.page { display: grid; gap: 22px; }
.page-head { display: flex; align-items: flex-end; gap: 16px; }
.page-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.page-head h2 em { font-style: normal; color: var(--accent); }
.page-head .actions { margin-left: auto; display: flex; gap: 10px; }
.wallet-hero { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 12px; }
.wallet-hero .stat:first-child { background: var(--accent-soft); }
.wallet-hero .stat:first-child .v { color: var(--accent); font-size: 34px; }
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: start; }
.how { display: grid; gap: 14px; font-size: 13px; color: var(--sub); }
.how .step { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.how .step .n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); color: var(--accent); }
.how .step b { color: var(--text); display: block; font-weight: 700; margin-bottom: 2px; }
.amt-in { color: var(--ok); }
.amt-out { color: var(--sub); }

/* ---------- garage sheet ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; background: color-mix(in srgb, var(--bg) 60%, transparent); backdrop-filter: blur(8px); }
.sheet-wrap.open { display: grid; animation: fade 0.2s; }
.sheet { width: min(760px, 94vw); max-height: 90vh; overflow: auto; background: var(--surface); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 20px; }
.sheet h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; display: flex; align-items: center; }
.sheet h3 button { margin-left: auto; }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.pick.p8 { grid-template-columns: repeat(8, 1fr); }
.pick.v6 { grid-template-columns: repeat(6, 1fr); }
.pick button { border-radius: 16px; background: var(--bg-2); padding: 12px 8px 10px; display: grid; justify-items: center; gap: 6px; font-size: 11.5px; color: var(--sub); border: 2px solid transparent; transition: border-color 0.15s, color 0.15s, transform 0.1s; }
.pick button:hover { color: var(--text); }
.pick button:active { transform: scale(0.96); }
.pick button.on { border-color: var(--accent); color: var(--text); }
.pick .avatar { width: 56px; height: 56px; }
.pick .vh { height: 34px; width: 100%; display: grid; place-items: center; }
.pick .vh svg { max-height: 34px; max-width: 80px; }
.field { display: flex; align-items: center; gap: 10px; background: var(--bg-2); border-radius: 14px; padding: 0 14px; height: 46px; }
.field input { background: none; border: 0; outline: 0; flex: 1; font-size: 15px; }
.field .ic { color: var(--sub); }

/* ---------- toasts ---------- */
.toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; z-index: 60; justify-items: center; }
.toast { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); padding: 10px 16px 10px 12px; border-radius: 999px; font-size: 13px; box-shadow: var(--shadow); animation: toast 0.3s cubic-bezier(.2,1.4,.4,1); }
.toast .ic { color: var(--accent); }
.toast.err .ic { color: var(--err); }
@keyframes toast { from { transform: translateY(20px) scale(0.95); opacity: 0; } }

@media (max-width: 820px) {
  .shell { padding: 18px 16px 30px; }
  .top { gap: 12px; }
  .nav { display: none; }
  .cards, .split, .wallet-hero { grid-template-columns: 1fr; }
  .statrow { grid-template-columns: repeat(2, 1fr); }
  .res-head { flex-wrap: wrap; }
  .lane .who { width: 84px; }
  .lane .who .gridno { display: none; }
  .lane + .lane::before { left: 84px; }
  .lane .lstat { width: 46px; font-size: 11px; }
  .gantry i { width: 22px; height: 22px; }
  .words { font-size: 20px; height: calc(20px * 1.6 * 3); }
  .me-btn > span:not(.avatar) { display: none; }
  .pick.p8 { grid-template-columns: repeat(4, 1fr); }
  .pick.v6 { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 34px; }
  .pot-line { gap: 12px; }
  .pot-line .v { font-size: 22px; }
  .config .sep { display: none; }
  .seat { width: 120px; height: 170px; }
  .res-head .actions { margin-left: 0; width: 100%; }
  .tbl .player .veh { display: none; }
  .top-right .icon-btn { display: none; }
  .cta kbd, .ghost kbd { display: none; }
  .foot span:nth-child(n+2):not(:last-child) { display: none; }
  .lane .who .bot { display: none; }
  .lane .who b { max-width: 60px; }
  .hud { gap: 18px; }
  .hud .big { font-size: 24px; }
  .arena { height: 62vh; }
  .olane:not(.me) .rocket .word { display: none; }
  .pilot-tag b, .pilot-tag .kills { display: none; }
}

/* grid children default to min-width:auto and would push the page wider than a phone */
.view, .game, .game > *, .results > *, .page > *, .home > * { min-width: 0; }
.shell { overflow-x: clip; }
@media (max-width: 820px) {
  .speed { display: none; }
  .tbl-scroll, .results table, .page table { display: block; overflow-x: auto; }
}
.me-btn, .pill { flex: none; }
@media (max-width: 820px) {
  .me-btn { padding: 3px; }
  .hud .potchip { display: none; }
}

/* ---------- rules bar, rooms, account (v3) ---------- */
.config-stack { display: grid; gap: 8px; justify-items: center; }
.config.sub { background: transparent; padding: 0 10px; font-size: 12px; }
.config .lbl { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sub-2); margin-right: 4px; }
.config button:disabled { opacity: 0.35; cursor: not-allowed; }
.config button:focus-visible, .cta:focus-visible, .ghost:focus-visible, .icon-btn:focus-visible, .pill:focus-visible, .nav a:focus-visible, .me-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hero .hl { color: var(--text); }
.cta-row { display: flex; gap: 10px; align-items: center; margin-top: 10px; flex-wrap: wrap; justify-content: center; }
.cta.sm { height: 40px; font-size: 13px; padding: 0 16px; }
.code-in { display: flex; align-items: center; gap: 2px; background: var(--bg-2); border-radius: 999px; padding: 0 4px 0 16px; height: 40px; }
.code-in input { width: 92px; background: none; border: 0; outline: 0; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); }
.code-in input::placeholder { letter-spacing: 0.04em; text-transform: none; color: var(--sub); }
.link { color: var(--sub); display: inline-flex; align-items: center; gap: 5px; }
.link:hover { color: var(--text); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.room-head { display: grid; gap: 12px; justify-items: center; }
.room-code { display: flex; align-items: center; gap: 12px; }
.code { font-size: 30px; font-weight: 800; letter-spacing: 0.28em; color: var(--accent); background: var(--bg-2); padding: 6px 10px 6px 18px; border-radius: 14px; }
.code.sm { font-size: 11px; letter-spacing: 0.18em; padding: 2px 6px 2px 9px; border-radius: 6px; color: var(--sub); margin-left: auto; }
.host-panel { display: grid; gap: 14px; justify-items: center; background: var(--bg-2); border-radius: 20px; padding: 18px 20px 16px; width: min(900px, 100%); }
.host-panel .config { background: var(--bg); }
.host-panel .config.sub { background: transparent; }
.fillbar i.indeterminate { width: 30%; animation: indet 1.1s ease-in-out infinite; }
@keyframes indet { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.room-card { background: var(--bg-2); border-radius: 18px; padding: 16px 18px; display: grid; gap: 12px; transition: transform 0.12s, background 0.15s; border: 1px solid transparent; }
.room-card:hover { background: var(--surface); border-color: var(--line); transform: translateY(-2px); }
.room-card .chips { justify-content: flex-start; }
.rc-top { display: flex; align-items: center; gap: 9px; font-size: 13.5px; }
.rc-top .ic { color: var(--accent); }
.rc-foot { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.rc-foot .stake { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.rc-foot .stake .ic { color: var(--accent); }
.rc-foot .sub { color: var(--sub); margin-left: auto; }
.seats-mini { display: inline-flex; gap: 3px; }
.seats-mini i { width: 9px; height: 9px; border-radius: 3px; background: var(--line); }
.seats-mini i.on { background: var(--accent); }
.vis-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vis-pick button { display: grid; justify-items: start; gap: 2px; text-align: left; padding: 14px 16px; border-radius: 16px; background: var(--bg-2); border: 2px solid transparent; color: var(--sub); }
.vis-pick button b { color: var(--text); font-size: 14px; }
.vis-pick button span { font-size: 12px; }
.vis-pick button.on { border-color: var(--accent); }
.vis-pick button.on .ic { color: var(--accent); }
.sheet .config-stack .config { background: var(--bg-2); }
.sheet-actions { display: flex; justify-content: flex-end; gap: 10px; }
.fine { color: var(--sub); font-size: 12.5px; display: flex; gap: 8px; align-items: flex-start; }
.menu { display: grid; gap: 4px; }
.menu button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; text-align: left; font-size: 14px; }
.menu button:hover { background: var(--bg-2); }
.menu button .sub { margin-left: auto; color: var(--sub); font-size: 12px; }
.acct-h { display: inline-flex; align-items: center; gap: 12px; }
.avatar.lg { width: 40px; height: 40px; }
img.avatar { object-fit: cover; }
.acct-ids { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 12px; }
.acct-ids .sub { color: var(--sub); }
.pill.signin { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.pill.signin .ic { color: inherit; }
.conn { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); opacity: 0.8; }
.conn.down { background: var(--err); animation: blink 1s infinite; }
.tbl-wrap { overflow-x: auto; }
.foot a { color: var(--sub); }
.foot a:hover { color: var(--text); }
.feed a.row:hover { background: var(--surface); }
@media (max-width: 820px) {
  .vis-pick { grid-template-columns: 1fr; }
  .code { font-size: 22px; }
  .config.sub { padding: 0; }
  .rival-gap { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- sign in ---------- */
.sheet.signin { width: min(440px, 94vw); }
.signin-lede { color: var(--sub); line-height: 1.5; margin-top: -8px; }
.signin-list { display: grid; gap: 10px; }
.signin-btn { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.signin-btn span { flex: 1; }
.signin-btn > svg:last-child { color: var(--sub); }
.signin-btn:hover, .signin-btn:focus-visible { border-color: var(--accent); transform: translateY(-1px); }
.signin-btn.busy { opacity: .6; pointer-events: none; }
.signin-fine { font-size: 12px; color: var(--sub); line-height: 1.5; }
@keyframes grid-off { to { opacity: 0; } }
@media (max-width: 480px) { .pill.signin { padding: 0 11px; } .pill.signin span { display: none; } }

/* ---------- money ---------- */
.sheet.money { width: min(480px, 94vw); grid-template-columns: minmax(0, 1fr); }
.money-lede, .money-fine { color: var(--sub); line-height: 1.5; font-size: 13px; }
.money-lede { margin-top: -8px; }
.amount-in { display: flex; align-items: baseline; gap: 10px; padding: 14px 18px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.amount-in:focus-within { border-color: var(--accent); }
.amount-in input { flex: 1; width: 0; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.amount-in > span { color: var(--sub); font-weight: 700; }
.amount-in .ghost.sm { align-self: center; padding: 6px 12px; font-size: 12px; }
.presets, .gw-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.presets button, .gw-pick button { flex: 1; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); color: var(--sub); font: inherit; font-weight: 700; cursor: pointer; transition: border-color .15s, color .15s; }
.presets button:hover, .gw-pick button:hover { color: var(--text); }
.presets button.on, .gw-pick button.on { border-color: var(--accent); color: var(--accent); }
.quote { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--line); font-size: 13px; }
.quote > div { display: flex; justify-content: space-between; color: var(--sub); }
.quote b { color: var(--text); font-variant-numeric: tabular-nums; }
.quote .net { padding-top: 8px; border-top: 1px solid var(--line); font-size: 15px; }
.quote .net b { color: var(--ok); }
.pstat { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: var(--bg-2); color: var(--sub); white-space: nowrap; }
.pstat.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.pstat.pend { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); animation: pend-pulse 1.6s ease-in-out infinite; }
.pstat.dead { color: var(--err); background: color-mix(in srgb, var(--err) 12%, transparent); }
.pay-card { margin-bottom: 18px; }
.pay-card .sub, .tbl .sub { color: var(--sub); font-weight: 400; font-size: 12px; }
.test-pill { color: var(--accent); border: 1px dashed color-mix(in srgb, var(--accent) 60%, transparent); }
.pill.bal small { font-size: 10px; color: var(--sub); font-weight: 700; margin-left: 2px; }
.pill.bal { position: relative; }
.test-dot { position: absolute; top: 2px; right: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }
.test-txt { color: var(--accent); }
@keyframes pend-pulse { 50% { opacity: .55; } }

/* ---------- play money ---------- */
.pill.bal.play { color: var(--text); border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent); cursor: pointer; font: inherit; }
.pill.bal.play .ic { color: var(--accent); }
.pill.bal.play small { color: var(--accent); }
.play-tag { font-size: 11px; margin-left: 6px; color: var(--sub); letter-spacing: .08em; vertical-align: middle; }
.play-note { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--sub); font-size: 13px; margin: -6px 0 14px; }
.play-note a { color: var(--accent); }
.play-hero { display: flex; align-items: baseline; gap: 10px; padding: 18px 20px; border-radius: 16px; background: var(--bg-2); border: 1px dashed color-mix(in srgb, var(--accent) 50%, transparent); }
.play-hero .ic { color: var(--accent); align-self: center; }
.play-hero b { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.play-hero span { color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: .1em; }
