/* DOGFIGHT: one token sheet. The live sky is the picture; every panel is a FLIGHT STRIP (an air-traffic controller's strip):
   a long thin navy plate, a colour tab on its left end, cells split by hairlines, a tiny mono caps label over each value. */
:root {
  --bg: #15110e; --bg-2: #1d1713; --panel: rgba(24, 18, 14, 0.9); --panel-2: rgba(32, 25, 19, 0.92); --panel-3: rgba(46, 36, 27, 0.92);
  --line: rgba(243, 231, 207, 0.11); --line-2: rgba(243, 231, 207, 0.2);
  --ink: #f6ecd8; --ink-2: #d2c2a4; --ink-3: #94836a;
  --cyan: #d23a2a; --cyan-l: #f1c27a; --cyan-d: #9c2a1f; --gold: #e2b25a; --red: #ff6a52; --white: #fffaf0;
  --r: 2px; --r2: 4px;
  --f-d: 'Big Shoulders Display', 'Arial Narrow', sans-serif; --f-t: 'Albert Sans', system-ui, sans-serif; --f-m: 'Overpass Mono', ui-monospace, monospace;
  --strip-h: 44px; --tab: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
:where(html, body) { margin: 0; padding: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--ink); font: 400 15px/1.45 var(--f-t); -webkit-font-smoothing: antialiased; }
:where(button, input) { font: inherit; color: inherit; }
:where(button) { cursor: pointer; background: none; border: 0; padding: 0; }
:where(a) { color: inherit; text-decoration: none; }
:where(ol, ul) { list-style: none; margin: 0; padding: 0; }
:where(h1, h2, p) { margin: 0; }
.is-hidden { display: none !important; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-family: var(--f-m); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.lab { font: 600 9.5px/1 var(--f-m); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.lab em { font-style: normal; color: var(--ink-3); opacity: 0.7; letter-spacing: 0.06em; text-transform: none; font-family: var(--f-t); font-weight: 500; font-size: 10.5px; }
kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 3px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: rgba(255, 255, 255, 0.06); font: 600 11px/1 var(--f-m); color: var(--ink); vertical-align: 1px; }
.link { color: var(--cyan-l); font-weight: 600; font-size: 13px; }
.link:hover { color: var(--white); }
#sky, #game { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; touch-action: none; }
#sky { background: #2a1d15; }
body.is-playing #game { cursor: crosshair; }
.vignette { position: fixed; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.2s; background: radial-gradient(ellipse at center, transparent 55%, rgba(255, 40, 40, 0.5) 100%); }
.vignette.is-on { opacity: 1; }
.vignette.is-out { opacity: 1; background: radial-gradient(ellipse at center, transparent 40%, rgba(255, 60, 40, 0.65) 100%); }

/* ---------------------------------------------------------------- strips */
.strip { position: relative; display: flex; align-items: stretch; min-height: var(--strip-h); background: var(--panel); border-radius: var(--r); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 6px 18px rgba(10, 6, 3, 0.28); overflow: hidden; }
.strip > .tab, .playstrip > .tab, .watchbar > .tab { flex: none; width: var(--tab); background: var(--cyan); }
.tab-g { background: var(--gold) !important; }
.tab-w { background: var(--white) !important; }
.tab-dim { background: rgba(243, 231, 207, 0.22) !important; }
.strip > .cell { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 6px 12px; min-width: 0; }
.strip > .cell + .cell { border-left: 1px solid var(--line); }
.strip > .cell > b { font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell-r { margin-left: auto; align-items: flex-end; text-align: right; }
.strips { display: flex; flex-direction: column; gap: 3px; }
.bay { position: absolute; display: flex; flex-direction: column; gap: 6px; }
.bay-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 2px 2px; font: 800 15px/1 var(--f-d); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); text-shadow: 0 1px 8px rgba(0, 10, 30, 0.6); }
.bay-head b { font: 700 11px/1 var(--f-m); letter-spacing: 0.08em; color: var(--cyan-l); }

/* ---------------------------------------------------------------- top bar */
.nav { position: fixed; left: 0; right: 0; top: 0; height: 56px; display: flex; align-items: center; gap: 26px; padding: 0 20px; z-index: 5; background: linear-gradient(to bottom, rgba(6, 13, 26, 0.72), rgba(6, 13, 26, 0)); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.mark-img, .mark-cv { width: 34px; height: 34px; border-radius: 50%; display: block; }
.wm { font: 900 25px/1 var(--f-d); letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); }
.nav-links { display: flex; gap: 20px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.nav-links a:hover, .nav-links button:hover { color: var(--white); }
.nav-side { margin-left: auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.nav-x { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--r2); background: var(--panel); color: var(--ink); }
.nav-x:hover { color: var(--cyan-l); }
.chip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: var(--r2); background: var(--panel); font: 700 13px/1 var(--f-m); letter-spacing: 0.04em; color: var(--cyan-l); white-space: nowrap; border-left: 3px solid var(--cyan); }
.live { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: var(--r2); background: var(--panel); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.live b { font: 700 13px/1 var(--f-m); color: var(--ink); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(210, 58, 42, 0.7); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(210, 58, 42, 0.6); } 70% { box-shadow: 0 0 0 8px rgba(210, 58, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(210, 58, 42, 0); } }
/* the CA slot (launch kit web/ca-slot.*), in this page's dress: a fixed spot, before launch it says so */
.ca-pill { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 4px 0 10px; border-radius: var(--r2); background: var(--panel); border-left: 3px solid rgba(243, 231, 207, 0.25); min-width: 0; max-width: 520px; }
.ca-pill.is-live { border-left-color: var(--cyan); }
.ca-lab { font: 700 11px/1 var(--f-m); letter-spacing: 0.1em; color: var(--ink-3); white-space: nowrap; }
.ca-addr { display: flex; align-items: center; gap: 8px; min-width: 0; height: 26px; padding: 0 2px; font: 600 12.5px/1 var(--f-m); color: var(--ink); cursor: copy; user-select: text; -webkit-user-select: text; }
.ca-addr:disabled { cursor: default; color: var(--ink-3); 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-m); font-style: normal; padding: 5px 9px; border-radius: 3px; background: var(--cyan); color: #04202a; min-width: 52px; text-align: center; }
.ca-link { flex: none; font: 700 11px/1 var(--f-m); padding: 6px 9px; border-radius: 3px; background: var(--panel-3); color: var(--cyan-l); white-space: nowrap; }
.ca-link:hover { background: var(--cyan-d); color: var(--white); }

/* ---------------------------------------------------------------- the title: the tower */
.title { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
.title > * { pointer-events: auto; }
.pitch { position: absolute; left: 50%; top: calc(56px + 31vh); transform: translateX(-50%); font: 800 clamp(22px, 2.3vw, 38px)/1 var(--f-d); letter-spacing: 0.05em; text-transform: uppercase; color: var(--white); white-space: nowrap; text-shadow: 0 2px 18px rgba(4, 12, 30, 0.55); pointer-events: none; }
.pitch em { font-style: normal; color: var(--cyan-l); }
.bay-l { left: 22px; top: 84px; width: 300px; }
.bay-r { right: 22px; top: 84px; width: 300px; }
.bay-l .strips { max-height: calc(100vh - 360px); overflow: hidden; }
.board-row { height: 46px; }
.board-row .rk { flex: none; width: 34px; align-items: center; padding: 0; }
.board-row .rk b { font: 700 13px/1 var(--f-m); color: var(--ink-3); }
.board-row .nm { flex: 1; }
.board-row .nm b { font: 600 14px/1 var(--f-t); }
.board-row .nm .lab { overflow: hidden; text-overflow: ellipsis; }
.board-row .wv { align-items: flex-end; text-align: right; min-width: 92px; }
.board-row .wv b { color: var(--cyan-l); font-size: 14px; }
.board-row.is-king .rk b { color: var(--gold); }
.board-row.is-cash { background: rgba(40, 52, 70, 0.92); }
.board-row.is-cash .tab { background: var(--white); animation: blink 0.9s infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.board-empty { padding: 12px 14px; font-size: 13px; color: var(--ink-3); background: var(--panel); border-radius: var(--r); }
.strip-big { min-height: 72px; }
.strip-big .big { font-size: 28px !important; color: var(--white); }
.strip-big .sub { font: 500 11.5px/1 var(--f-t); font-style: normal; color: var(--ink-3); }
.bay-r .strip .cell b { font-size: 16px; }
.strip-rule .rule { font: 500 13px/1.35 var(--f-t) !important; white-space: normal !important; color: var(--ink-2); }
.playstrip { position: absolute; left: 50%; bottom: 74px; transform: translateX(-50%); width: min(880px, calc(100vw - 720px)); min-width: 600px; height: 64px; display: flex; align-items: stretch; background: var(--panel-2); border-radius: var(--r); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 14px 40px rgba(0, 8, 22, 0.45); overflow: hidden; }
.playstrip .cell { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 8px 16px; min-width: 0; border-right: 1px solid var(--line); }
.cell-name { flex: 0 0 31%; }
.cell-addr { flex: 1; }
.playstrip input { width: 100%; height: 24px; border: 0; outline: 0; background: none; font: 600 17px/1 var(--f-t); color: var(--white); padding: 0; }
.playstrip input.mono { font: 600 14px/1 var(--f-m); }
.playstrip input::placeholder { color: var(--ink-3); font-weight: 500; }
.playstrip .cell:focus-within { background: rgba(210, 58, 42, 0.07); box-shadow: inset 0 -2px 0 var(--cyan); }
.takeoff { flex: none; display: flex; align-items: center; justify-content: center; gap: 12px; width: 210px; background: var(--cyan); color: #032029; font: 900 24px/1 var(--f-d); letter-spacing: 0.1em; text-transform: uppercase; transition: background 0.12s; }
.takeoff:hover { background: var(--cyan-l); }
.takeoff kbd { background: rgba(3, 32, 41, 0.12); border-color: rgba(3, 32, 41, 0.3); color: #032029; }
.takeoff:disabled { background: #3d5873; color: var(--ink-2); cursor: wait; }
.acct { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; font-size: 13px; color: var(--ink-2); }
.title > .acct { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); white-space: nowrap; text-shadow: 0 1px 6px rgba(0, 8, 20, 0.8); }
.watchbar { position: fixed; left: 50%; top: 14px; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 12px; height: 40px; padding-right: 14px; background: var(--panel); border-radius: var(--r); overflow: hidden; }
.watchbar b { font: 700 15px/1 var(--f-t); }
.watchbar em { font: 700 12px/1 var(--f-m); font-style: normal; color: var(--cyan-l); }
body.is-watch .hud > :not(.lb):not(.feed) { display: none !important; }
body.is-watch .feed { top: 70px; }
body.is-sheet .hud { visibility: hidden; }

/* ---------------------------------------------------------------- in the air */
.hud { position: fixed; inset: 0; z-index: 4; pointer-events: none; }
.hud > * { pointer-events: auto; }
.me { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); width: 640px; height: 58px; }
.me .cell { flex: 1; }
.me .cell:nth-child(2) { flex: 1.25; }
.me .cell-hero { flex: 1.7; background: rgba(210, 58, 42, 0.06); }
.me .hero { font-size: 25px !important; color: var(--cyan-l); }
.me .sub { font: 600 10.5px/1 var(--f-m); font-style: normal; color: var(--ink-3); }
.me.is-cash .tab { background: var(--white); }
.me.is-cash .cell-hero { background: rgba(255, 255, 255, 0.1); }
.me.is-cash .hero { color: var(--white); }
.lb { right: 12px; top: 12px; width: 268px; }
.lb .board-row { height: 38px; }
.lb .board-row .nm b { font-size: 13px; }
.lb .board-row .wv b { font-size: 12.5px; }
.lb .board-row.is-me { background: rgba(22, 52, 72, 0.94); }
.lb .board-row.is-me .nm b { color: var(--cyan-l); }
.feed { position: absolute; left: 12px; top: 12px; width: 330px; display: flex; flex-direction: column; gap: 3px; }
.feed li { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 12px 0 0; background: var(--panel); border-radius: var(--r); font-size: 13px; color: var(--ink-2); overflow: hidden; white-space: nowrap; animation: slidein 0.22s ease-out; }
.feed li::before { content: ''; flex: none; width: 4px; align-self: stretch; background: var(--cyan); }
.feed li.is-cash::before { background: var(--white); }
.feed li.is-me::before { background: var(--gold); }
.feed li b { color: var(--ink); font-weight: 600; }
.feed li em { font-style: normal; font-family: var(--f-m); color: var(--cyan-l); font-size: 12px; }
.feed li.is-gone { opacity: 0; transition: opacity 0.5s; }
@keyframes slidein { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.callout { position: absolute; left: 50%; top: 21vh; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0; pointer-events: none; text-align: center; }
.callout b { font: 900 clamp(34px, 4.4vw, 64px)/0.9 var(--f-d); letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); text-shadow: 0 3px 22px rgba(0, 10, 30, 0.6); }
.callout span { font: 700 15px/1 var(--f-m); color: var(--cyan-l); text-shadow: 0 1px 8px rgba(0, 10, 30, 0.8); }
.callout.is-on { animation: callout 1.6s ease-out forwards; }
.callout.is-gold b { color: var(--gold); }
@keyframes callout { 0% { opacity: 0; transform: translateX(-50%) scale(1.25); } 12% { opacity: 1; transform: translateX(-50%) scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: translateX(-50%) translateY(-14px); } }
.stores { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: 560px; height: 50px; }
.cell-hp { flex: 1.1; }
.hp { height: 8px; border-radius: 1px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.hp i { display: block; height: 100%; width: 100%; background: var(--cyan); transition: width 0.12s, background 0.2s; }
.hp i.is-low { background: #ffb03b; }
.hp i.is-crit { background: var(--red); }
.cell-w { flex: 1.5; }
.pips { display: flex; gap: 3px; height: 8px; }
.pips i { flex: 1; max-width: 16px; background: var(--cyan); border-radius: 1px; }
.pips i.is-used { background: rgba(255, 255, 255, 0.1); }
.pips .inf { font: 700 11px/8px var(--f-m); color: var(--ink-2); letter-spacing: 0.1em; }
.cell-lock { flex: 0.9; }
.cell-lock b { font: 800 15px/1 var(--f-d) !important; letter-spacing: 0.1em; color: var(--ink-3); }
.cell-lock b.is-locking { color: var(--gold); }
.cell-lock b.is-locked { color: var(--red); animation: blink 0.25s infinite; }
.cashbar { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); width: 560px; height: 40px; }
.cashbar .cell { flex: 1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
.cashbar .cell b { font: 500 13.5px/1 var(--f-t) !important; color: var(--ink-2); }
.cashbar .cell b strong { color: var(--white); font-family: var(--f-m); font-weight: 700; }
.cash-track { position: absolute; left: var(--tab); right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.06); }
.cash-track i { display: block; height: 100%; width: 0; background: var(--cyan); }
.cashbar.is-on { background: rgba(32, 46, 66, 0.95); }
.cashbar.is-on .cash-track { height: 100%; background: transparent; }
.cashbar.is-on .cash-track i { background: rgba(255, 255, 255, 0.13); }
.cashbar.is-on .cell b { color: var(--white); }
.cashbar.is-need .tab { background: rgba(243, 231, 207, 0.22) !important; }
.radar { position: absolute; right: 12px; bottom: 14px; width: min(412px, calc(50vw - 300px)); height: 92px; }      /* (narrower windows: it ends 8 px short of the centre strips) */
.radar canvas { flex: 1; width: 100%; height: 100%; display: block; }
.hud-menu { position: absolute; left: 12px; bottom: 14px; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 8px; border-radius: var(--r); background: var(--panel); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.stick, .tbtn { display: none; }
.toast { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 9; max-width: min(560px, calc(100vw - 24px)); padding: 11px 16px 11px 18px; border-radius: var(--r); background: var(--panel-2); border-left: 4px solid var(--cyan); font-size: 14px; color: var(--ink); box-shadow: 0 10px 30px rgba(0, 8, 22, 0.5); }
.toast.is-bad { border-left-color: var(--red); }
.toast.is-good { border-left-color: var(--gold); }
.rotate { position: fixed; left: 50%; top: 66px; transform: translateX(-50%); z-index: 6; padding: 6px 12px; border-radius: var(--r); background: var(--panel); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
body:not(.is-playing) .rotate { display: none; }

/* ---------------------------------------------------------------- sheets */
.modal { position: fixed; inset: 0; z-index: 8; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(4, 10, 22, 0.42); }
.sheet { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: flex; flex-direction: column; gap: 14px; padding: 26px 28px 24px 34px; border-radius: var(--r); background: var(--panel-2); box-shadow: 0 24px 70px rgba(10, 6, 3, 0.6); }
.sheet::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--tab); background: var(--cyan); }
.sheet-out::before { background: var(--red); }
.sheet-paid::before { background: var(--white); }
.sheet-wide { width: min(760px, 100%); }
.kicker { font: 700 11px/1 var(--f-m); letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan-l); }
.kicker.is-down { color: var(--red); }
.h2 { font: 900 clamp(32px, 4vw, 46px)/0.95 var(--f-d); letter-spacing: 0.03em; text-transform: uppercase; color: var(--white); overflow-wrap: anywhere; }
.amount { font-family: var(--f-m) !important; font-weight: 700 !important; letter-spacing: -0.02em; text-transform: none; font-size: clamp(34px, 4.6vw, 52px) !important; }
.sub { font-size: 14.5px; color: var(--ink-2); }
.sub b { color: var(--ink); }
.sheet-strips .strip { background: rgba(255, 255, 255, 0.035); box-shadow: none; }
.sheet-strips .cell { flex: 1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field input:not([type='range']) { height: 42px; padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.22); outline: 0; font-size: 15px; }
.field input.mono { font: 600 13.5px/1 var(--f-m); }
.field input:focus { border-color: var(--cyan); }
.field input[type='range'] { accent-color: var(--cyan); }
.hint { font-size: 12.5px; color: var(--ink-3); min-height: 1em; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { accent-color: var(--cyan); width: 16px; height: 16px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 46px; padding: 0 20px; border-radius: var(--r); font: 800 18px/1 var(--f-d); letter-spacing: 0.1em; text-transform: uppercase; }
.btn-primary { background: var(--cyan); color: #032029; }
.btn-primary:hover { background: var(--cyan-l); }
.btn-primary kbd { background: rgba(3, 32, 41, 0.12); border-color: rgba(3, 32, 41, 0.3); color: #032029; }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--ink); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.11); }
.steps { display: flex; gap: 3px; }
.step { flex: 1; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: var(--r); background: rgba(255, 255, 255, 0.05); font: 700 11px/1 var(--f-m); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.step.is-done { background: rgba(210, 58, 42, 0.16); color: var(--cyan-l); }
.step.is-now { background: var(--cyan); color: #032029; }
.step.is-bad { background: rgba(255, 95, 95, 0.18); color: var(--red); }
.txlink { font-size: 13px; color: var(--cyan-l); font-weight: 600; }
.how .strip { min-height: 70px; background: rgba(255, 255, 255, 0.035); box-shadow: none; }
.how .cell { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.how .cell-k { flex: 0 0 132px; }
.how .cell-k b { font: 900 22px/1 var(--f-d) !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); }

/* ---------------------------------------------------------------- narrower screens */
@media (max-width: 1500px) { .bay-l, .bay-r { width: 270px; } .playstrip { width: min(820px, calc(100vw - 640px)); } }
@media (max-width: 1339px) { .feed { top: 78px; } }      /* the kill feed would run under the score strip: it goes below it */
@media (max-width: 1240px) {
  .bay-r { display: none; }
  .playstrip { left: auto; right: 22px; transform: none; width: calc(100vw - 340px); min-width: 0; }
  .title > .acct { left: auto; right: 22px; transform: none; }
  .ca-pill { max-width: 300px; }
  .lb { display: none; }
}
@media (max-width: 900px), (max-height: 560px) {
  .nav { gap: 12px; padding: 0 10px; height: 48px; }
  .nav-links, .live > span, .nav-x { display: none; }
  .wm { font-size: 21px; }
  .ca-pill { max-width: 46vw; }
  .ca-pill:not(.is-live) { display: none; }
  .ca-addr > span { max-width: 30vw; }
  .bay-l { display: none; }
  .pitch { top: calc(48px + 25vh); font-size: 21px; }
  .playstrip { left: 10px; right: 10px; width: auto; bottom: 64px; height: auto; flex-wrap: wrap; }
  .playstrip > .tab { position: absolute; left: 0; top: 0; bottom: 0; }
  .playstrip .cell { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--line); padding-left: 18px; min-height: 54px; }
  .takeoff { flex: 1 1 100%; width: auto; height: 54px; font-size: 22px; }
  .title > .acct { left: 10px; right: 10px; bottom: 22px; white-space: normal; }
  .me { width: auto; left: 8px; right: 8px; transform: none; top: 8px; height: 50px; }
  .me .cell { padding: 4px 8px; }
  .me .cell:nth-child(2), .me .cell:last-child { display: none; }
  .me .hero { font-size: 20px !important; }
  .me .sub { display: none; }
  .feed { top: 64px; left: 8px; width: calc(54vw - 16px); }
  .feed li { height: 24px; font-size: 11.5px; padding-right: 6px; }
  .feed li:nth-child(n+4) { display: none; }
  .radar { right: 8px; top: 64px; bottom: auto; width: calc(46vw - 8px); height: 52px; }
  .stores { width: auto; left: 8px; right: 8px; transform: none; bottom: 8px; height: 44px; }
  .cell-lock { display: none; }
  .cashbar { width: auto; left: 8px; right: 8px; transform: none; bottom: 58px; height: 34px; }
  .cashbar .cell b { font-size: 12.5px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hud-menu { left: auto; right: 8px; top: 124px; bottom: auto; height: 30px; }
  .rotate { top: 44vh; animation: fadeaway 5s forwards; pointer-events: none; }
}
/* touch controls: on every touch-first screen (phones, sideways phones and tablets alike), never by width alone */
@media (max-width: 900px), (max-height: 560px), (pointer: coarse) {
  .stick { position: absolute; display: block; left: 24px; bottom: 120px; width: 124px; height: 124px; border-radius: 50%; border: 2px solid rgba(243, 231, 207, 0.25); background: rgba(24, 18, 14, 0.25); pointer-events: none; opacity: 0.0; transition: opacity 0.15s; }
  .stick.is-on { opacity: 1; }
  .stick i { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(210, 58, 42, 0.5); }
  .tbtn { position: absolute; display: flex; align-items: center; justify-content: center; border-radius: 50%; font: 900 17px/1 var(--f-d); letter-spacing: 0.08em; text-transform: uppercase; touch-action: none; user-select: none; -webkit-user-select: none; text-align: center; }
  .tbtn-fire { right: 16px; bottom: 104px; width: 96px; height: 96px; background: rgba(210, 58, 42, 0.32); border: 2px solid var(--cyan); color: var(--white); }
  .tbtn-fire.is-on { background: rgba(210, 58, 42, 0.65); }
  .tbtn-cash { right: 124px; bottom: 120px; width: 76px; height: 76px; font-size: 12.5px; line-height: 1.05; background: rgba(255, 255, 255, 0.12); border: 2px solid rgba(255, 255, 255, 0.6); color: var(--white); }
  .tbtn-cash.is-on { background: rgba(255, 255, 255, 0.45); color: #15110e; }
}
/* a tablet keeps the big-screen HUD: its buttons sit above the radar */
@media (pointer: coarse) and (min-width: 901px) and (min-height: 561px) {
  .tbtn-fire { right: 28px; bottom: 132px; width: 112px; height: 112px; }
  .tbtn-cash { right: 160px; bottom: 150px; width: 88px; height: 88px; }
}
/* a phone held sideways: the play strip on one row under the name, sheets in two columns so Take off is always in view */
@media (max-height: 560px) and (min-width: 600px) {
  .pitch { top: calc(48px + 30vh); font-size: 19px; }
  .playstrip { flex-wrap: nowrap; bottom: 46px; height: 58px; }
  .playstrip .cell { flex: 1 1 0; min-height: 0; border-bottom: 0; border-right: 1px solid var(--line); padding: 6px 12px 6px 18px; gap: 4px; }
  .playstrip .cell-name { flex: 0 0 30%; }
  .playstrip .lab em { display: none; }
  .takeoff { flex: 0 0 168px; width: 168px; height: auto; font-size: 21px; }
  .takeoff kbd { display: none; }
  .title > .acct { bottom: 14px; }
  .modal { padding: 8px; }
  .sheet { max-height: calc(100vh - 16px); padding: 14px 18px 14px 24px; gap: 10px; }
  .h2 { font-size: 28px; }
  .how { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .how .strip { min-height: 0; flex-direction: column; align-items: stretch; }
  .how .strip > .tab { position: absolute; left: 0; top: 0; bottom: 0; }
  .how .strip > .cell + .cell { border-left: 0; padding-top: 2px; }
  .how .cell { padding: 6px 10px 6px 16px; font-size: 12.5px; line-height: 1.35; }
  .how .cell-k { flex: none; padding-bottom: 0; }
  .how .cell-k b { font-size: 17px !important; }
  .btn { height: 40px; }
  /* in the air: the strips go to the corners, the middle of the screen stays sky */
  .me { left: 8px; right: auto; width: min(330px, 40vw); height: 46px; }
  .radar { top: 8px; right: 8px; width: min(300px, 36vw); height: 46px; }
  .feed { top: 60px; width: min(330px, 40vw); }
  .feed li:nth-child(n+3) { display: none; }
  .hud-menu { top: 60px; }
  .callout { top: 108px; }
  .callout b { font-size: 30px; }
  .callout span { font-size: 13px; }
  .stores { left: 8px; right: auto; width: min(400px, 46vw); height: 40px; }
  .cashbar { left: 8px; right: auto; width: min(400px, 46vw); bottom: 54px; height: 32px; }
  .tbtn-fire { right: 16px; bottom: 16px; width: 92px; height: 92px; }
  .tbtn-cash { right: 120px; bottom: 26px; width: 72px; height: 72px; }
}
@media (pointer: coarse) { .hud-menu kbd { display: none; } }
@keyframes fadeaway { 0%, 80% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.fpsbox { position: fixed; left: 8px; bottom: 8px; z-index: 50; max-width: calc(100vw - 16px); padding: 4px 8px; border-radius: 4px; background: rgba(0, 0, 0, 0.72); color: #fff; font: 600 12px/1.35 var(--f-m); pointer-events: none; }
