/* Hallmark · macrostructure: studied-DNA ring stage (GARUDA 2026 Locker Room, motion only) · skin: GTA-meta loading screen, pause menu, HUD · tone: Vice sunset · anchor hue: sunset gold · genre: atmospheric */
/* GANG: a painted Vice sunset behind the ring of crews, the pause-menu dial, the minimap and the street below it. */
@font-face { font-family: 'Passion One'; src: url('/assets/fonts/passion-one-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Passion One'; src: url('/assets/fonts/passion-one-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/assets/fonts/barlow-condensed-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/assets/fonts/barlow-condensed-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/assets/fonts/barlow-condensed-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/assets/fonts/barlow-condensed-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/assets/fonts/geist-mono.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --night: #160a1f;
  --ember: #3b1546;
  --dusk: #22102e;
  --well: #1d0d26;
  --line: #3d2549;
  --glass: rgba(11, 6, 16, .62);
  --glass-hi: rgba(11, 6, 16, .82);
  --cream: #ede6d6;
  --dust: #c9adc5;
  --green: #72e07c;
  --hot: #ffc23d;
  --pink: #ff3d8b;
  --ink: #0b0610;
  --palm: #1fa34f; --velvet: #9b5cf6; --canary: #ffcc1a; --turquesa: #19c3b4; --lantern: #ff4b3e; --iron: #d9d0bf;
  --disp: 'Passion One', 'Arial Black', Impact, sans-serif;
  --ui: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --sky: url('/assets/img/sky.jpg');
  --slab-w: clamp(150px, 13.5vw, 270px);
  --slab-h: calc(var(--slab-w) * 1.48);
  --ease: cubic-bezier(.22, .8, .2, 1);
}
* { box-sizing: border-box; }
html { background: var(--night); color: var(--cream); -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--ui); font-weight: 500; font-size: 17px; line-height: 1.45; overflow-x: clip;
  background: radial-gradient(120% 70% at 50% 0%, var(--dusk) 0%, var(--night) 60%) var(--night); }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; border-radius: 4px; }
.skipto { position: absolute; left: 12px; top: -60px; z-index: 99; background: var(--hot); color: var(--ink); padding: 10px 14px; border-radius: 4px; text-decoration: none; font-weight: 700; }
.skipto:focus { top: 12px; }
h1, h2, h3 { margin: 0; font-weight: 400; }

/* the GTA outline: cream fill, thick black stroke, hard drop shadow */
.warhead, .slab-rank, .pick-head h2, .turf-head h2, .tape h2, .mine h2, .rules-f, .foot-word, .totals dd, .city-core strong, .badge, .pnl-name {
  -webkit-text-stroke: var(--sw, .07em) var(--ink); paint-order: stroke fill; text-shadow: .045em .06em 0 var(--ink);
}

/* ---------- top bar ---------- */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 14px clamp(16px, 2.2vw, 36px); pointer-events: none; }
.topbar > * { pointer-events: auto; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; justify-self: start; }
.mark img { width: 42px; height: 42px; border-radius: 6px; display: block; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.mark span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.holds { margin: 0; font-family: var(--ui); font-weight: 700; font-size: clamp(13px, 1.05vw, 18px); text-align: center; white-space: nowrap; color: var(--cream); background: var(--glass); padding: 5px 14px; border-radius: 3px; border-left: 3px solid var(--hc, var(--hot)); }
.holds b { font-weight: 800; color: var(--hc, var(--hot)); }
.tools { display: flex; align-items: center; gap: 6px; justify-self: end; }
.ca { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 3px; border: 0; background: var(--glass); backdrop-filter: blur(8px); font-size: 14px; max-width: 290px; }
.ca-k { font-weight: 800; color: var(--hot); }
.ca-v { color: var(--dust); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca[data-has] .ca-v { color: var(--cream); font-family: var(--mono); font-size: 12px; }
.buy, .join-pill { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 3px; text-decoration: none; font-size: 16px; font-weight: 800; transition: background .25s, color .25s, transform .25s var(--ease); }
.buy { background: var(--cream); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.buy[aria-disabled="true"] { background: var(--glass); color: var(--dust); box-shadow: none; }
.join-pill { background: var(--hot); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.buy:hover, .join-pill:hover { transform: translateY(-1px); }
.ico { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 3px; background: var(--glass); transition: background .25s; }
.ico:hover { background: var(--glass-hi); }
.ico svg { width: 16px; height: 16px; fill: var(--cream); }

/* ---------- the stage (pinned): a painted Vice sunset ---------- */
.stage { position: relative; min-height: 100vh; }
.stage-pin { position: relative; height: 100vh; width: 100%; overflow: hidden;
  background: linear-gradient(to bottom, rgba(22, 10, 31, .35) 0%, rgba(22, 10, 31, 0) 30%, rgba(22, 10, 31, .1) 62%, var(--night) 100%), var(--sky) 50% 42% / cover no-repeat, var(--night); }
.warhead { position: absolute; left: 0; right: 0; top: clamp(74px, 10vh, 124px); text-align: center; font-family: var(--disp); font-weight: 900; font-size: clamp(54px, 11vw, 280px); line-height: .9; letter-spacing: .005em; white-space: nowrap; z-index: 3; pointer-events: none; color: var(--cream); }
.wh-w { display: inline-block; }
.warsub { position: absolute; left: 50%; transform: translateX(-50%); top: calc(clamp(74px, 10vh, 124px) + clamp(54px, 11vw, 280px) * 1.02); width: min(600px, 86vw); margin: 0; text-align: center; color: var(--cream); font-weight: 600; font-size: clamp(15px, 1.15vw, 19px); z-index: 3; text-shadow: 0 1px 10px rgba(11, 6, 16, .8); }

/* wanted stars: how many crews are on the board */
.wanted { position: absolute; right: clamp(16px, 2.2vw, 36px); top: 70px; z-index: 5; display: grid; justify-items: end; gap: 2px; }
.stars { display: flex; gap: 3px; }
.stars svg { width: clamp(20px, 1.7vw, 30px); height: auto; fill: rgba(237, 230, 214, .18); stroke: var(--ink); stroke-width: 7; paint-order: stroke; }
.stars svg.lit { fill: var(--cream); }
.wanted p { margin: 0; font-size: 14px; font-weight: 700; color: var(--cream); text-shadow: 0 1px 6px var(--ink); }

.arena { position: absolute; left: 50%; top: 60%; width: 0; height: 0; perspective: 1500px; perspective-origin: 50% 30%; z-index: 2; }
.cyl { position: absolute; left: 0; top: 0; transform-style: preserve-3d; transform: rotateX(-6deg) rotateY(0deg); }
.slab { position: absolute; left: calc(var(--slab-w) / -2); top: calc(var(--slab-h) / -2); width: var(--slab-w); height: var(--slab-h); border-radius: 6px; background: var(--c); color: var(--k); padding: 0; display: flex; flex-direction: column; justify-content: space-between; backface-visibility: hidden; cursor: pointer; border: 3px solid var(--ink); text-align: left; overflow: hidden; transition: filter .4s, box-shadow .4s; box-shadow: 8px 10px 0 rgba(11, 6, 16, .55); }
.slab:hover { filter: brightness(1.08); }
.slab-art { position: absolute; inset: 0; width: 100%; height: 72%; object-fit: cover; object-position: 50% 18%; display: block; }
.slab-top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; padding: calc(var(--slab-w) * .05); }
.slab-rank { font-family: var(--disp); font-weight: 900; font-size: calc(var(--slab-w) * .2); line-height: .95; color: var(--cream); --sw: .06em; }
.slab-sign { width: calc(var(--slab-w) * .2); height: calc(var(--slab-w) * .2); padding: calc(var(--slab-w) * .03); border-radius: 4px; background: var(--c); border: 2px solid var(--ink); fill: var(--k); flex: none; }
.slab-band { position: relative; background: var(--c); border-top: 3px solid var(--ink); padding: calc(var(--slab-w) * .05) calc(var(--slab-w) * .06) calc(var(--slab-w) * .06); }
.slab-line { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.slab-name { font-family: var(--disp); font-weight: 700; font-size: calc(var(--slab-w) * .115); line-height: 1; white-space: nowrap; }
.slab-turf { font-size: calc(var(--slab-w) * .07); font-weight: 800; }
.slab-nums { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; margin-top: 6px; font-size: calc(var(--slab-w) * .066); font-weight: 600; line-height: 1.3; }
.slab-nums span { opacity: .78; }
.slab-nums b { font-weight: 800; text-align: right; }
.slab.is-front { box-shadow: 10px 14px 0 rgba(11, 6, 16, .7); }

/* minimap: the turf disc */
.city { position: absolute; left: clamp(16px, 3vw, 56px); bottom: 92px; width: clamp(150px, 11vw, 230px); height: clamp(150px, 11vw, 230px); pointer-events: none; z-index: 4; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--ink), 6px 8px 0 rgba(11, 6, 16, .5); }
.city-svg { width: 100%; height: 100%; animation: cityspin 60s linear infinite; }
@keyframes cityspin { to { transform: rotate(360deg); } }
.city-core { position: absolute; inset: 20%; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: repeating-linear-gradient(32deg, transparent 0 13px, rgba(237, 230, 214, .07) 13px 15px), repeating-linear-gradient(-58deg, transparent 0 19px, rgba(237, 230, 214, .07) 19px 21px), var(--well); }
.city-core strong { font-family: var(--ui); font-weight: 800; font-size: clamp(24px, 2.6vw, 48px); line-height: 1; color: var(--cream); --sw: 0; }
.city-core span { color: var(--dust); font-size: clamp(12px, .9vw, 15px); font-weight: 700; }

/* the dial, read as a pause menu */
.dial { position: absolute; right: clamp(10px, 4vw, 90px); top: 50%; width: clamp(200px, 19vw, 330px); height: 560px; transform: translateY(-42%); z-index: 4; }
.dial-arc { position: absolute; left: -70px; top: -20px; width: 120px; height: 600px; overflow: visible; }
.dial-arc line { stroke: rgba(237, 230, 214, .45); stroke-width: 2; }
.dial-arc line.big { stroke: var(--cream); }
.dial-list { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.dial-list li { position: absolute; left: 50px; top: 50%; height: 34px; margin-top: -17px; display: flex; align-items: center; gap: 10px; transform-origin: -330px 50%; white-space: nowrap; transition: opacity .35s; }
.dial-list button { display: inline-flex; align-items: center; gap: 10px; background: var(--glass); border: 0; border-radius: 3px; padding: 5px 14px 5px 10px; font-size: clamp(14px, 1.1vw, 18px); font-weight: 700; color: var(--cream); }
.dial-list .sq { width: 12px; height: 12px; border-radius: 2px; background: var(--c); flex: none; box-shadow: 0 0 0 2px var(--ink); }
.dial-list li.on button { background: var(--cream); color: var(--ink); }
.dial-list .dl-rep { font-size: .85em; opacity: .75; }
.badge { position: absolute; left: -38px; top: 50%; width: 66px; height: 66px; margin-top: -33px; border-radius: 50%; display: grid; place-items: center; background: var(--bc, var(--hot)); box-shadow: 0 0 0 3px var(--ink), 4px 5px 0 rgba(11, 6, 16, .6); font-family: var(--disp); font-weight: 900; font-size: 30px; color: var(--cream); --sw: .1em; }
.badge-sub { position: absolute; left: -58px; top: calc(50% + 46px); width: 106px; margin: 0; text-align: center; font-size: 14px; font-weight: 700; color: var(--cream); text-shadow: 0 1px 6px var(--ink); }

/* HUD numbers beside the minimap; SOL traded reads as the cash counter */
.totals { position: absolute; left: calc(clamp(16px, 3vw, 56px) + clamp(150px, 11vw, 230px) + 28px); bottom: 98px; margin: 0; display: grid; gap: 10px; z-index: 4; }
.totals div { display: grid; }
.totals dt { color: var(--cream); font-size: 14px; font-weight: 700; text-shadow: 0 1px 6px var(--ink); }
.totals dd { margin: 0; font-family: var(--ui); font-weight: 800; font-size: clamp(22px, 2vw, 36px); line-height: 1.05; color: var(--cream); --sw: 0; }
.totals #tVol { color: var(--green); }

.viewsw { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); display: flex; gap: 2px; padding: 3px; border-radius: 4px; background: var(--glass-hi); z-index: 5; }
.viewsw button { width: 40px; height: 30px; border-radius: 3px; border: 0; background: transparent; display: grid; place-items: center; }
.viewsw button[aria-pressed="true"] { background: var(--cream); }
.viewsw svg { width: 16px; height: 16px; fill: none; stroke: var(--cream); stroke-width: 1.8; }
.viewsw button[aria-pressed="true"] svg { stroke: var(--ink); }

.tablev { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); width: min(900px, 92vw); z-index: 4; background: var(--glass-hi); border-radius: 4px; padding: 6px 12px; }
.rankt { width: 100%; border-collapse: collapse; font-size: 17px; }
.rankt th { text-align: left; font-weight: 700; color: var(--dust); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.rankt td { padding: 12px 10px; border-bottom: 1px solid var(--line); font-weight: 600; }
.rankt td.cn { font-family: var(--disp); font-weight: 700; font-size: 20px; }
.rankt td.cn i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 10px; background: var(--c); vertical-align: 1px; }
.rankt tr { cursor: pointer; }
.rankt tbody tr:hover td { background: var(--cream); color: var(--ink); }
.stage.tablemode .arena, .stage.tablemode .dial { visibility: hidden; }

.wire { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; border-top: 3px solid var(--pink); overflow: hidden; display: flex; align-items: center; z-index: 5; background: var(--glass-hi); }
.wire-track { display: flex; gap: 42px; white-space: nowrap; padding-left: 100%; animation: wiremove 60s linear infinite; font-size: 16px; font-weight: 600; }
.wire-track.still { padding-left: clamp(16px, 3vw, 56px); animation: none; }
.wire:hover .wire-track { animation-play-state: paused; }
@keyframes wiremove { to { transform: translateX(-100%); } }
.wire-track span { color: var(--dust); }
.wire-track b { font-weight: 800; color: var(--c, var(--cream)); }

/* ---------- pick your colours: character select ---------- */
.pick { position: relative; padding: clamp(80px, 12vh, 150px) clamp(16px, 3vw, 56px) 40px; }
.pick-head, .turf-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 5vw, 100px); align-items: end; margin-bottom: clamp(28px, 4vw, 56px); }
.pick-head h2, .turf-head h2, .tape h2, .mine h2 { font-family: var(--disp); font-weight: 900; font-size: clamp(42px, 6.4vw, 124px); line-height: .95; letter-spacing: .005em; color: var(--cream); }
.pick-head p, .turf-head p { margin: 0; color: var(--dust); max-width: 540px; font-size: clamp(16px, 1.2vw, 19px); }
.panels { display: flex; gap: 8px; height: clamp(440px, 72vh, 760px); }
.pnl { position: relative; flex: 1 1 0; min-width: 0; border-radius: 6px; border: 3px solid var(--ink); background: var(--c); color: var(--k); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(14px, 1.4vw, 26px); transition: flex-grow .7s var(--ease); cursor: pointer; box-shadow: 6px 8px 0 rgba(11, 6, 16, .6); }
.pnl-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 1.2s var(--ease); }
.pnl::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--c) 0%, var(--c) 22%, transparent 58%); pointer-events: none; }
.pnl > * { position: relative; z-index: 1; }
.pnl > .pnl-art { position: absolute; z-index: 0; }
.pnl:hover, .pnl:focus-within, .pnl.open { flex-grow: 2.6; }
.pnl:hover .pnl-art { transform: scale(1.04); }
.pnl-sign { width: clamp(52px, 4.4vw, 80px); height: clamp(52px, 4.4vw, 80px); padding: 8px; border-radius: 4px; background: var(--c); border: 3px solid var(--ink); fill: var(--k); }
.pnl-name { font-family: var(--disp); font-weight: 900; font-size: clamp(22px, 2.3vw, 44px); line-height: 1; white-space: nowrap; color: var(--cream); --sw: .08em; }
.pnl-more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s; }
.pnl:hover .pnl-more, .pnl:focus-within .pnl-more, .pnl.open .pnl-more { max-height: 280px; opacity: 1; }
.pnl-more p { margin: 10px 0 0; font-size: 16px; font-weight: 600; max-width: 34ch; }
.pnl-stat { display: flex; gap: 18px; margin-top: 10px; font-size: 17px; font-weight: 800; }
.pnl-go { margin-top: 14px; display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 3px; border: 0; background: var(--ink); color: var(--cream); font-weight: 800; font-size: 16px; }
.pnl-crew { margin-top: 10px; margin-left: 6px; background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; font-size: 16px; font-weight: 700; color: var(--k); }

/* ---------- coins that count ---------- */
.turf { padding: clamp(80px, 12vh, 150px) clamp(16px, 3vw, 56px) 40px; }
.coinrows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px clamp(10px, 1.4vw, 20px); }
.coinrows li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; background: var(--glass); border-radius: 4px; transition: background .25s, color .25s; }
.coinrows li:hover { background: var(--cream); color: var(--ink); }
.coinrows li:hover .coin-n { color: var(--ink); }
.coinrows img, .coinrows .noimg { width: 44px; height: 44px; border-radius: 4px; object-fit: cover; background: var(--line); display: block; border: 2px solid var(--ink); }
.coin-t { font-family: var(--disp); font-weight: 700; font-size: 20px; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-n { color: var(--dust); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-r { text-align: right; font-size: 16px; font-weight: 700; }
.coin-r .up { color: var(--green); }
.coin-r .dn { color: var(--lantern); }
.coinrows li:hover .up { color: var(--palm); }
.coinrows a { text-decoration: none; display: contents; }

/* ---------- rules ---------- */
.rules { padding: clamp(90px, 14vh, 170px) clamp(16px, 3vw, 56px); }
.rules-f { font-family: var(--disp); font-weight: 900; font-size: clamp(34px, 6.6vw, 130px); line-height: 1.05; display: flex; flex-wrap: wrap; gap: 0 .28em; color: var(--cream); }
.rules-f span { display: inline-block; white-space: nowrap; }
.rules-f span:first-child { color: var(--hot); }
.rules-f span:last-child { color: var(--green); }
.rules-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 56px); margin-top: clamp(30px, 5vw, 70px); }
.rules-cols p { margin: 0; color: var(--dust); font-size: 18px; max-width: 40ch; }
.rules-cols strong { color: var(--cream); font-weight: 800; }

/* ---------- rank card ---------- */
.mine { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 90px); align-items: center; padding: clamp(80px, 12vh, 150px) clamp(16px, 3vw, 56px); }
.mine-copy p { color: var(--dust); max-width: 46ch; font-size: 18px; }
.mine-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn-main, .btn-line, .btn-ink { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 3px; font-weight: 800; font-size: 18px; text-decoration: none; border: 0; transition: transform .25s var(--ease); }
.btn-main { background: var(--hot); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-line { background: var(--glass); color: var(--cream); box-shadow: inset 0 0 0 2px var(--cream); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-main:hover, .btn-line:hover, .btn-ink:hover { transform: translateY(-2px); }
.btn-main:active, .btn-line:active, .btn-ink:active, .pnl-go:active, .join-pill:active, .buy:active { transform: translateY(1px); }
button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.mine-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px 36px; margin: 30px 0 0; }
.mine-stats dt { color: var(--dust); font-size: 15px; font-weight: 700; }
.mine-stats dd { margin: 0; font-family: var(--disp); font-weight: 900; font-size: clamp(24px, 2vw, 34px); }
.mine-fig { margin: 0; aspect-ratio: 1200 / 630; border-radius: 6px; overflow: hidden; background: var(--well); border: 3px solid var(--ink); box-shadow: 8px 10px 0 rgba(11, 6, 16, .6); }
.mine-fig img.cardimg { width: 100%; height: 100%; display: block; }
.mine-blank { height: 100%; display: grid; place-content: center; justify-items: center; gap: 16px; color: var(--cream); font-weight: 700; text-align: center; padding: 20px;
  background: linear-gradient(rgba(22, 10, 31, .55), rgba(22, 10, 31, .55)), var(--sky) 50% 60% / cover; }
.mine-blank img { border-radius: 6px; border: 3px solid var(--ink); animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.05) rotate(-3deg); } }

/* ---------- feed: phone notifications ---------- */
.tape { padding: clamp(60px, 10vh, 120px) clamp(16px, 3vw, 56px) clamp(80px, 12vh, 150px); }
.tape-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px clamp(10px, 1.4vw, 20px); }
.tape-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; background: var(--glass); border-radius: 6px; font-size: 16px; font-weight: 600; }
.tape-list i { width: 34px; height: 34px; border-radius: 6px; background: var(--c); border: 2px solid var(--ink); }
.tape-list time { color: var(--dust); font-size: 14px; }
.tape-list a { color: var(--dust); }
.tape-empty { color: var(--dust); }
.tape-list.tape-empty { display: block; }
.tape-list li.tape-empty { display: block; max-width: 62ch; font-size: 18px; background: none; padding: 0; }

/* ---------- footer: the sunset again ---------- */
.foot-g { position: relative; padding: clamp(40px, 8vw, 120px) 0 0; overflow: hidden;
  background: linear-gradient(to bottom, var(--night) 0%, rgba(22, 10, 31, .1) 38%, rgba(22, 10, 31, .2) 70%, var(--night) 100%), var(--sky) 50% 70% / cover no-repeat; }
.foot-word { margin: 0; font-family: var(--disp); font-weight: 900; font-size: clamp(110px, 30vw, 820px); line-height: .9; letter-spacing: .005em; text-align: center; color: var(--cream); white-space: nowrap; --sw: .045em; }
.foot-row { display: flex; justify-content: space-between; gap: 30px; color: var(--dust); font-size: 15px; background: var(--glass-hi); padding: 18px clamp(16px, 3vw, 56px) 26px; }
.foot-row p { margin: 0; max-width: 70ch; }
.foot-links { display: flex; gap: 22px; white-space: nowrap; font-weight: 700; color: var(--cream); }

/* ---------- sheets ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(11, 6, 16, .78); display: grid; place-items: center; padding: 16px; }
.sheet[hidden] { display: none; }
.sheet-in { position: relative; width: min(1100px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 6px; border: 3px solid var(--ink); background: var(--c, var(--hot)); color: var(--k, var(--ink)); padding: clamp(20px, 3vw, 48px); box-shadow: 10px 12px 0 rgba(11, 6, 16, .7); }
.sheet-x { position: absolute; right: 16px; top: 14px; width: 40px; height: 40px; border-radius: 3px; border: 0; background: var(--k, var(--ink)); color: var(--c, var(--hot)); font-size: 22px; line-height: 1; }
.cs-top { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: center; }
.cs-sign { grid-row: span 2; width: clamp(60px, 7vw, 110px); fill: var(--k); }
.cs-top h2 { font-family: var(--disp); font-weight: 900; font-size: clamp(36px, 5.4vw, 92px); line-height: .95; }
.cs-top p { margin: 0; font-weight: 600; }
.cs-nums { display: grid; grid-template-columns: repeat(5, auto); justify-content: start; gap: 8px 40px; margin: 28px 0; }
.cs-nums dt { font-size: 15px; font-weight: 700; opacity: .75; }
.cs-nums dd { margin: 0; font-family: var(--disp); font-weight: 900; font-size: clamp(24px, 2.4vw, 40px); }
.cs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 60px); margin-bottom: 26px; }
.cs-cols h3 { font-family: var(--disp); font-weight: 900; font-size: 24px; margin-bottom: 8px; }
.cs-mem, .cs-plays { list-style: none; margin: 0; padding: 0; font-size: 16px; font-weight: 600; }
.cs-mem li, .cs-plays li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, var(--k) 20%, transparent); }
.cs-mem .none, .cs-plays .none { opacity: .8; }
.js-in { width: min(560px, 100%); }
.js-sign { width: 72px; fill: var(--k); }
.js-in h2 { font-family: var(--disp); font-weight: 900; font-size: clamp(30px, 3.6vw, 52px); line-height: 1; margin: 14px 0 10px; }
.js-msg { white-space: pre-wrap; word-break: break-all; font-family: var(--mono); font-size: 12.5px; background: color-mix(in srgb, var(--k) 10%, transparent); padding: 14px; border-radius: 4px; margin: 16px 0 20px; }
.js-state { min-height: 1.5em; margin: 14px 0 0; font-size: 16px; font-weight: 600; }

/* overtakes and notices land like a mission banner */
.toast { position: fixed; left: 50%; top: 40%; transform: translate(-50%, 16px) scale(.96); opacity: 0; z-index: 70; color: var(--hot); padding: 14px 28px; font-family: var(--disp); font-weight: 900; font-size: clamp(24px, 2.6vw, 44px); line-height: 1.05; transition: opacity .3s, transform .5s var(--ease); pointer-events: none; max-width: 92vw; text-align: center;
  background: linear-gradient(90deg, transparent, var(--glass-hi) 18%, var(--glass-hi) 82%, transparent); -webkit-text-stroke: .07em var(--ink); paint-order: stroke fill; text-shadow: .04em .05em 0 var(--ink); }
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* ---------- phones and small laptops ---------- */
@media (max-width: 1100px) {
  .dial { display: none; }
  .ca { max-width: 180px; }
}
@media (max-width: 820px) {
  :root { --slab-w: clamp(116px, 31vw, 150px); }
  .topbar { grid-template-columns: auto 1fr; padding: 12px 14px; }
  .holds { display: none; }
  .ca, .join-pill { display: none; }
  .mark img { width: 38px; height: 38px; }
  .pnl-more p { padding-right: 64px; }
  .wire-track.still span { white-space: normal; font-size: 14px; line-height: 1.25; }
  .wanted { top: 62px; right: 14px; }
  .wanted p { display: none; }
  .stars svg { width: 15px; }
  .warhead { top: 92px; font-size: clamp(54px, 17vw, 140px); }
  .warsub { top: calc(92px + clamp(54px, 17vw, 140px) * 1.04); font-size: 15px; }
  .stage-pin { background-position: 0 0, 50% 40%, 0 0; }
  .arena { top: 62%; perspective: 900px; }
  .city { display: none; }
  .totals { left: 14px; right: 14px; bottom: 100px; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .totals dd { font-size: 22px; }
  .viewsw { bottom: 56px; }
  .pick-head, .turf-head { grid-template-columns: 1fr; }
  .panels { flex-direction: column; height: auto; }
  .pnl { min-height: 150px; flex: none; }
  .pnl .pnl-sign { position: absolute; right: 14px; top: 14px; width: 54px; height: 54px; }
  .pnl::after { background: linear-gradient(to right, var(--c) 0%, var(--c) 30%, transparent 85%); }
  .pnl-art { left: 35%; width: 65%; }
  .pnl-more { max-height: none; opacity: 1; }
  .coinrows { grid-template-columns: minmax(0, 1fr); }
  .rules-cols { grid-template-columns: minmax(0, 1fr); }
  .mine { grid-template-columns: minmax(0, 1fr); }
  .tape-list { grid-template-columns: minmax(0, 1fr); }
  .foot-row { flex-direction: column; }
  .cs-cols { grid-template-columns: 1fr; }
  .cs-nums { grid-template-columns: repeat(3, auto); gap: 8px 24px; }
}
@media (min-width: 821px) and (max-width: 1100px) { .coinrows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .wire-track { padding-left: clamp(16px, 3vw, 56px); }
}
