/* Beacon Blitz v0.6 — compact, legible game UI. No external assets or fonts. */
:root {
  --navy:#0a0e29; --ink:#131a34; --mint:#56bda2; --mint-bright:#a4f2d5;
  --teal:#2494a2; --gold:#dbb13b; --guide-gold:#ffe083; --orange:#ffad79;
  --cream:#f7f5ea; --energy:#77d9ff; --muted:#b5c5d4;
  --glass:rgba(10,17,38,.94); --panel:rgba(13,24,43,.95);
  --line:rgba(210,235,243,.19); --shadow:0 8px 30px #09142828;
}
* { box-sizing:border-box; }
html,body { margin:0; height:100%; overflow:hidden; background:#b6dad5; color:var(--cream); font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
button,select { font:inherit; }
button { cursor:pointer; touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
button:focus-visible,select:focus-visible { outline:3px solid var(--guide-gold); outline-offset:4px; }
button:disabled { cursor:wait; opacity:.55; }
button,select { -webkit-user-select:none; user-select:none; }
[hidden] { display:none!important; }
#world { position:fixed; inset:0; display:block; width:100%; height:100%; touch-action:none; }
#vignette { position:fixed; inset:0; pointer-events:none; box-shadow:inset 0 0 140px #122c4715; }
#hud { position:fixed; inset:0; z-index:3; pointer-events:none; transition:opacity .18s; }
body.menu #hud { opacity:0; visibility:hidden; }
.brand { position:absolute; left:24px; top:21px; color:var(--navy); font-weight:950; font-size:23px; letter-spacing:-1.3px; text-shadow:0 2px 10px #ffffff55; }
.brand small { display:block; margin-top:2px; font-size:8px; letter-spacing:2px; }
.match-top { position:absolute; top:14px; left:50%; transform:translateX(-50%); width:420px; }
.scoreboard { display:grid; grid-template-columns:1fr 88px 1fr; align-items:center; background:var(--glass); border:1px solid #e6f7fa2e; border-radius:15px; padding:9px 16px; box-shadow:var(--shadow); }
.score { display:flex; align-items:center; justify-content:space-between; gap:9px; color:var(--mint-bright); }
.score.right { color:var(--orange); }
.score b { font-size:31px; line-height:1; letter-spacing:-1px; font-variant-numeric:tabular-nums; }
.team-ident { display:flex; flex-direction:column; gap:4px; }
.score.right .team-ident { text-align:right; }
.team-ident span { font-size:9px; font-weight:850; letter-spacing:1px; white-space:nowrap; }
.team-ident em,.team-ident strong { font-size:10px; font-weight:750; font-style:normal; color:#c8e5df; letter-spacing:.1px; }
.score.right .team-ident strong { color:#ebcabc; }
.clock { text-align:center; border-left:1px solid var(--line); border-right:1px solid var(--line); margin:0 10px; padding:0 7px; }
.clock b { display:block; font-size:20px; line-height:1.15; font-weight:850; font-variant-numeric:tabular-nums; }
.clock b.practice-clock { font-size:10px; letter-spacing:.4px; }
.clock small { display:block; color:#a7bacb; font-size:9px; font-weight:850; margin-top:4px; letter-spacing:0; white-space:nowrap; }
.score-lines { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin:5px 10px 0; }
.score-lines>div { height:3px; border-radius:3px; overflow:hidden; background:#0a183830; }
.score-lines i { display:block; height:100%; width:0; background:var(--mint); transition:width .3s; }
.score-lines>div:last-child i { background:var(--orange); }
.objectives { display:flex; gap:6px; margin-top:7px; }
.objective { position:relative; display:flex; align-items:center; gap:8px; flex:1; min-width:0; height:38px; padding:5px 9px; color:var(--cream); background:var(--glass); border:1px solid #ffffff38; border-radius:10px; text-align:left; pointer-events:auto; overflow:hidden; box-shadow:0 3px 10px #081e3610; }
.objective:hover { background:#263b4d; }
.objective b { display:grid; place-items:center; width:23px; height:23px; flex:0 0 auto; background:#ffffff15; border-radius:6px; color:inherit; font-size:13px; }
.objective .chip-copy { display:flex; flex-direction:column; gap:2px; }
.objective .chip-copy span { font-size:9px; text-transform:uppercase; font-weight:800; letter-spacing:.7px; white-space:nowrap; }
.objective .chip-copy small { font-size:9px; color:#d3dde6; white-space:nowrap; }
.objective.bonus { border-color:var(--guide-gold); background:#272717f5; }
.objective.bonus b { background:var(--guide-gold); color:var(--navy); }
.objective.bonus .chip-copy small { color:var(--guide-gold); }
.objective.selected { box-shadow:0 0 0 2px #f7f5eac0; }
.objective i { position:absolute; bottom:0; left:0; height:2px; width:0; background:#fff; }
.tools { position:absolute; right:22px; top:19px; display:flex; gap:6px; pointer-events:auto; }
.icon-button { min-height:35px; padding:0 11px; border:1px solid #e6f7fa2e; border-radius:10px; background:var(--glass); color:var(--cream); font-size:10px; font-weight:850; letter-spacing:.2px; }
.icon-button:hover { background:#263b4d; }
.mission { display:none; }
/* One small golden strip keeps the beacon name and next change together. */
.gold-card { position:absolute; top:129px; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:10px; width:420px; min-height:61px; padding:8px 12px 10px; border:1px solid #eed380; border-radius:12px; background:linear-gradient(110deg,#272619f5,#171f32f5); color:var(--cream); text-align:left; box-shadow:var(--shadow); pointer-events:auto; overflow:hidden; }
.gold-card:hover { background:linear-gradient(110deg,#3b331efc,#1c2b3dfc); }
.gold-emblem { color:var(--guide-gold); font-size:29px; line-height:1; text-shadow:0 0 18px #f5d37540; }
.gold-main { flex:1; min-width:0; }
.gold-head { display:block; font-size:9px; font-weight:850; letter-spacing:1px; color:#dfc47d; line-height:1; }
.gold-name { display:block; margin:4px 0 2px; font-size:16px; font-weight:850; line-height:1; letter-spacing:-.2px; }
.gold-owner { display:block; font-size:10px; color:#dfd8bb; line-height:1.3; }
.gold-compass-row { display:flex; align-items:center; gap:6px; padding-right:4px; width:110px; flex:0 0 auto; }
.compass-disc { display:grid; place-items:center; width:25px; height:25px; border:1px solid #ffe08355; border-radius:50%; color:var(--guide-gold); }
.compass-disc svg { width:15px; height:15px; }
.gold-direction { display:block; font-size:9px; font-weight:750; color:#f0e5c8; }
.gold-travel { display:block; font-size:8px; color:#bfb8a5; margin-top:3px; }
.gold-switch { min-width:37px; padding-left:11px; border-left:1px solid #edcd782d; text-align:center; color:var(--guide-gold); }
.gold-switch b { display:block; font-size:20px; font-weight:850; line-height:1; font-variant-numeric:tabular-nums; }
.gold-switch span { display:block; margin-top:5px; font-size:9px; white-space:nowrap; }
.gold-track { position:absolute; left:0; right:0; bottom:0; height:3px; background:#fff2; }
.gold-track i { display:block; height:100%; background:var(--guide-gold); width:100%; transition:width .12s linear; }
.gold-card.soon { border-color:#fff4c7; box-shadow:0 0 0 2px #f2d48730,var(--shadow); }
.gold-card.soon .gold-switch { color:#fff5ce; }
/* Route guidance stays close to the controls and can be folded away. */
.guide-card { position:absolute; left:22px; bottom:28px; width:272px; padding:13px 14px; border:1px solid var(--line); border-left:3px solid var(--mint-bright); border-radius:14px; background:var(--panel); box-shadow:var(--shadow); pointer-events:auto; }
.guide-kicker { display:flex; align-items:center; gap:8px; min-height:15px; font-size:9px; font-weight:850; letter-spacing:1.1px; color:var(--mint-bright); }
.guide-kicker small { margin-left:auto; color:#b6c8d4; font-size:9px; letter-spacing:.6px; white-space:nowrap; }
.guide-toggle { display:grid; place-items:center; width:22px; height:22px; margin:-3px -4px -3px 0; border:0; border-radius:5px; color:#b6c8d4; background:#ffffff0b; font-size:17px; line-height:1; }
.guide-toggle:hover { background:#ffffff24; color:#fff; }
.guide-card h2 { margin:7px 0 6px; font-size:18px; font-weight:800; line-height:1.18; letter-spacing:-.5px; }
.guide-card p { margin:0; font-size:12px; line-height:1.5; color:#cbdde5; }
.guide-route { display:flex; justify-content:space-between; align-items:center; gap:6px; margin-top:8px; font-size:10px; color:#bcced9; }
.guide-route b { color:#9ce5ce; font-weight:650; }
.guide-route span { font-variant-numeric:tabular-nums; }
.guide-actions { display:flex; flex-wrap:wrap; gap:5px; margin-top:10px; }
.guide-actions button { min-height:32px; padding:5px 8px; border:1px solid #cfe7f12d; border-radius:7px; color:#e5f2f1; background:#fff1; font-size:10px; font-weight:750; }
.guide-actions button:hover { border-color:#b5e8d988; background:#fff2; }
.guide-actions #guide-pip { background:#25564e; border-color:#8fe2c138; color:#d7f9ec; flex:1; }
.guide-actions #guide-pip.ordered { background:#25564e80; color:#a6e9d1; }
.key-hint { display:inline-grid; place-items:center; min-width:15px; min-height:15px; margin-right:3px; font-size:8px; border:1px solid #fff3; border-radius:4px; }
.guide-card.collapsed p,.guide-card.collapsed .guide-route { display:none; }
.guide-card.collapsed h2 { margin-bottom:0; }
.guide-card[data-state="contested"] { border-left-color:var(--orange); }
.guide-card[data-state="contested"] .guide-kicker { color:var(--orange); }
.guide-card[data-state="secured"] h2 { color:var(--mint-bright); }
/* A single minimap and a small gadget dock leave the arena visible. */
.minimap { position:absolute; right:22px; bottom:28px; width:166px; padding:10px; border:1px solid var(--line); border-radius:14px; background:var(--glass); box-shadow:var(--shadow); pointer-events:auto; }
.minimap canvas { display:block; width:144px; height:114px; border-radius:8px; }
.map-head { margin:0 0 7px; padding-right:37px; font-size:7px; font-weight:850; letter-spacing:.7px; color:#bccfdb; }
.map-head b { color:#e8f4ef; margin-left:4px; }
.map-open { position:absolute; right:9px; top:6px; min-height:23px; padding:4px 6px; border:1px solid #fff2; border-radius:5px; color:#edf7f4; background:#fff1; font-size:7px; font-weight:850; }
.map-foot { display:flex; justify-content:space-between; gap:4px; margin-top:6px; font-size:7px; color:#bdcdd9; }
.map-foot b { font-size:11px; margin-right:2px; }
.map-star { color:var(--guide-gold); }
.map-crystal { color:var(--energy); }
.gadgets { position:absolute; bottom:31px; left:50%; transform:translateX(-50%); display:flex; gap:7px; pointer-events:auto; }
.gadget { position:relative; overflow:hidden; display:grid; grid-template-columns:26px 1fr; grid-template-rows:1fr 1fr; column-gap:7px; align-items:center; width:113px; height:63px; padding:13px 10px; background:var(--glass); border:1px solid #e6f7fa33; border-radius:11px; color:var(--cream); text-align:left; box-shadow:var(--shadow); }
.gadget:hover { background:#22384b; border-color:#b5e8d999; }
.gadget .num { position:absolute; right:6px; top:4px; color:#d6e5ed9c; font-size:9px; font-weight:800; }
.gadget .symbol { grid-row:1/3; width:25px; height:25px; color:#91e9ce; }
.gadget:nth-child(2) .symbol { color:#c2c8ff; }
.gadget:nth-child(3) .symbol { color:#98d5ff; }
.gadget b { align-self:end; font-size:10px; font-weight:800; line-height:1.2; white-space:nowrap; }
.gadget small { display:block; align-self:start; padding-top:4px; font-size:9px; color:#a6e5d1; font-weight:800; text-transform:uppercase; letter-spacing:.4px; white-space:nowrap; }
.gadget.cooling small { color:#bccad7; }
.gadget i { position:absolute; bottom:0; left:0; height:3px; background:var(--mint); width:100%; transition:width .1s; }
.gadget .charge { position:absolute; left:29px; top:34px; display:grid; place-items:center; width:13px; height:13px; background:#1d3451; border:1px solid #93cef066; border-radius:50%; color:var(--energy); font-size:8px; font-weight:850; }
.dash-info { position:absolute; left:50%; bottom:105px; transform:translateX(-50%); width:160px; padding:7px 10px; background:var(--glass); border:1px solid var(--line); border-radius:9px; }
.dash-info header { display:flex; align-items:center; justify-content:space-between; font-size:8px; font-weight:850; letter-spacing:.6px; }
.dash-info header span { color:#b0eddb; font-variant-numeric:tabular-nums; }
.dash-track { height:3px; background:#fff2; border-radius:3px; overflow:hidden; margin-top:5px; }
.dash-track i { display:block; width:100%; height:100%; background:var(--mint); }
.dash-info small { display:none; }
.quick-help { position:absolute; left:50%; bottom:7px; transform:translateX(-50%); display:flex; align-items:center; gap:5px; color:#173c47; background:#f7f5e9d6; border:1px solid #ffffff55; border-radius:7px; padding:3px 6px; font-size:8px; white-space:nowrap; }
.quick-help span { color:#547778; margin:0 3px; }
.quick-help kbd { font-size:7px; color:#173c47; background:#173c4710; border-color:#173c471a; padding:1px 3px; }
/* Capture status and world markers. */
#labels { position:fixed; inset:0; pointer-events:none; overflow:hidden; z-index:2; }
.world-label { position:absolute; left:0; top:0; transform:translate(-50%,-100%); display:flex; align-items:center; gap:6px; padding:5px 8px; border:1px solid #dff4f799; border-radius:9px; background:var(--glass); color:#f7f5ea; box-shadow:0 4px 12px #0a0e292c; white-space:nowrap; font-size:9px; font-weight:850; }
.world-label strong { font-size:12px; }
.world-label em { font-size:9px; font-style:normal; color:#c7d4df; }
.world-label .star { color:var(--guide-gold); }
.world-label.golden { border-color:#fff6ce!important; color:#1d2a35; background:#ffe39bec; box-shadow:0 0 0 3px #ffdf7255,0 6px 20px #101a3038; }
.world-label.golden:before { content:'★'; color:#7d6017; font-size:15px; }
.world-label.golden em { color:#524923; }
.world-label.selected:not(.golden) { box-shadow:0 0 0 2px #ffffff77; }
.world-label.player-label { padding:4px 8px; background:#abf0d7; color:#112b32; border:2px solid #f8ffef; font-size:9px; box-shadow:0 3px 12px #0a0e291a; }
.capture { position:absolute; left:50%; bottom:152px; transform:translateX(-50%); width:310px; padding:10px 14px; background:var(--glass); border:1px solid #a6efd4; border-radius:12px; text-align:center; box-shadow:var(--shadow); }
.capture b { font-size:11px; font-weight:850; letter-spacing:.35px; }
.capture-detail { margin-top:4px; font-size:10px; line-height:1.35; color:#c8e2dd; }
.capture .track { height:5px; margin-top:8px; background:#fff2; border-radius:5px; overflow:hidden; }
.capture i { display:block; height:100%; width:0; background:var(--mint); }
.capture.contested { border-color:var(--orange); }
.capture.contested i { background:var(--orange)!important; }
.toast { position:absolute; left:50%; bottom:234px; transform:translate(-50%,7px); max-width:390px; padding:10px 15px; border:1px solid #edf9f63d; border-radius:10px; background:var(--glass); color:#f6fffa; font-size:11px; line-height:1.45; font-weight:650; text-align:center; box-shadow:var(--shadow); opacity:0; transition:opacity .18s,transform .18s; }
.toast.show { opacity:1; transform:translate(-50%,0); }
#gold-edge { position:fixed; z-index:4; pointer-events:none; display:flex; align-items:center; gap:7px; max-width:151px; padding:7px 10px; background:#ffe494; color:#172b37; border:2px solid #fff7d9; border-radius:11px; transform:translate(-50%,-50%); box-shadow:0 4px 18px #0a0e2935; }
#gold-edge svg { width:20px; height:20px; flex-shrink:0; }
#gold-edge b { display:block; font-size:10px; font-weight:850; }
#gold-edge small { display:block; font-size:9px; margin-top:2px; }
body.menu #gold-edge { display:none; }
#gold-announcement { position:fixed; left:50%; top:206px; transform:translateX(-50%); z-index:6; max-width:410px; padding:11px 20px; border:1px solid #fff4c9; border-radius:12px; background:#ffe18ff5; color:#142b35; box-shadow:0 8px 28px #0a0e292e; pointer-events:none; text-align:center; }
#gold-announcement b { display:block; font-size:14px; font-weight:850; }
#gold-announcement span { display:block; margin-top:3px; font-size:10px; line-height:1.45; }
#countdown { position:fixed; inset:0; z-index:8; display:grid; place-items:center; pointer-events:none; font-size:124px; color:#f8f8ed; font-weight:950; letter-spacing:-6px; text-shadow:0 5px 0 #304b78,0 15px 35px #0a0e2940; }
/* Landing: the playground remains visible beside a clear starting point. */
.screen { position:fixed; inset:0; z-index:20; overflow:auto; }
.landing { display:flex; align-items:center; padding:80px 6vw 65px; background:linear-gradient(90deg,#0a0e29fa 0%,#0a0e29ec 28%,#0a0e29a0 47%,#0a0e2900 76%); }
.hero { width:455px; max-width:100%; }
.wordmark { position:absolute; top:25px; left:6vw; font-size:23px; font-weight:950; letter-spacing:-1.2px; }
.wordmark span { margin-left:11px; font-size:7px; font-weight:750; color:#91a9bf; letter-spacing:1.7px; }
.version { position:absolute; top:28px; right:28px; padding:6px 9px; border:1px solid #ffffff40; border-radius:5px; color:#10243c; background:#e3f3df95; font-size:8px; font-weight:850; letter-spacing:1px; }
.eyebrow { display:flex; align-items:center; gap:9px; margin-bottom:24px; color:#91d2bf; font-size:9px; font-weight:750; text-transform:uppercase; letter-spacing:1.8px; }
.eyebrow:before { content:''; width:18px; height:3px; background:var(--mint); }
h1 { margin:0 0 20px; font-size:clamp(60px,7.1vw,100px); font-weight:950; line-height:.84; letter-spacing:-5.5px; }
h1 span { display:block; margin-top:7px; color:#70d3b5; text-shadow:0 4px 0 #214a5c; }
.arena-tag { margin:0 0 13px; color:var(--guide-gold); font-size:9px; font-weight:850; letter-spacing:2.4px; }
.lead { margin:22px 0 17px; font-size:21px; line-height:1.35; font-weight:600; letter-spacing:-.35px; color:#bfceda; }
.lead b { color:#fff; font-weight:750; }
.perks { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:23px; }
.perks span { padding:5px 8px; border:1px solid #ffffff22; border-radius:5px; background:#ffffff06; font-size:8px; font-weight:650; color:#b3c9d4; }
.how-strip { display:grid; grid-template-columns:1fr 1fr 1.15fr; gap:15px; max-width:410px; padding:14px 0; margin-bottom:23px; border-top:1px solid #c8ede723; border-bottom:1px solid #c8ede723; }
.how-strip>span { display:block; font-size:9px; color:#a9c4cf; white-space:nowrap; }
.how-strip small { display:inline-block; margin-right:6px; font-size:8px; color:#719c9c; font-weight:800; }
.how-strip strong { display:inline; font-size:9px; font-weight:850; color:#d5f1e7; letter-spacing:.5px; }
.how-strip strong:after { content:''; display:block; height:7px; }
.how-strip>span:last-child strong { color:var(--guide-gold); }
.options { display:flex; gap:12px; margin-bottom:21px; }
.options label { display:block; color:#91aaba; font-size:8px; font-weight:850; letter-spacing:1.3px; }
.options select { display:block; width:186px; margin-top:7px; border:1px solid #cce3e12e; border-radius:8px; padding:11px 12px; font-size:11px; letter-spacing:0; color:#e4f0f1; background:#18263c; }
.options label:last-child select { width:155px; }
.cta-row { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.primary { padding:15px 22px; border:1px solid #f7d78b66; border-radius:9px; color:#162639; background:var(--guide-gold); box-shadow:0 4px 0 #ac883b; font-size:12px; font-weight:900; letter-spacing:.6px; transition:transform .15s,filter .15s; }
.primary:hover { filter:brightness(1.05); transform:translateY(-1px); }
.primary:active { transform:translateY(2px); box-shadow:0 2px 0 #ac883b; }
.secondary { padding:14px 17px; border:1px solid #dff5ed38; border-radius:9px; color:#e1efe9; background:#ffffff08; font-size:11px; font-weight:800; }
.secondary:hover { background:#ffffff19; border-color:#b5e8d988; }
.practice-link { margin:17px 0 0; padding:3px 0; border:0; background:none; color:#aac5d0; font-size:10px; font-weight:650; }
.practice-link span { margin-left:6px; color:#70d3b5; }
.practice-link:hover { color:#fff; }
.micro { margin:15px 0 0; color:#7695a9; font-size:9px; line-height:1.7; }
.credit { position:absolute; left:6vw; bottom:22px; font-size:9px; color:#8aa8b8; }
.arena-card { position:absolute; right:4vw; bottom:6vh; display:flex; align-items:center; gap:12px; max-width:350px; padding:17px 21px; border:1px solid #e9f7ef50; border-radius:14px; background:#102437eb; color:#f1f7e8; box-shadow:var(--shadow); }
.arena-card-icon { color:#9cddbc; font-size:39px; line-height:1; }
.arena-card small { font-size:7px; font-weight:850; letter-spacing:1.7px; color:#86c5b6; }
.arena-card b { display:block; margin:5px 0 7px; font-size:17px; font-weight:750; letter-spacing:-.4px; }
.arena-card p { margin:0; color:#b4cfcc; font-size:9px; }
/* Pause, results, map and instructions share one consistent dialog system. */
.modal-screen { display:grid; place-items:center; padding:24px; background:#071329b0; backdrop-filter:blur(10px); }
.modal { max-width:620px; width:100%; max-height:calc(100dvh - 48px); overflow:auto; padding:31px; border:1px solid #c4e0e133; border-radius:22px; background:linear-gradient(145deg,#172f43,#0a112b 80%); box-shadow:0 20px 85px #0007; scrollbar-color:#44636e #101b2b; }
.modal h2 { margin:7px 0 15px; font-size:38px; font-weight:800; line-height:1.06; letter-spacing:-1.5px; }
.modal>p { color:#c1d4df; font-size:12px; line-height:1.7; }
.modal .arena-tag { margin-bottom:12px; }
.modal .cta-row { margin-top:21px; }
.modal-icon { display:grid; place-items:center; width:46px; height:46px; margin-bottom:21px; border:1px solid #9be4c633; border-radius:13px; background:#8fdcb314; color:var(--mint-bright); font-size:26px; font-weight:700; }
.instructions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:20px 0; }
.instruction { padding:14px; border:1px solid #c4e0e11d; border-radius:11px; background:#ffffff04; }
.instruction>b { color:var(--mint-bright); font-size:12px; font-weight:750; }
.instruction p { margin:7px 0 0; color:#bcceda; font-size:10px; line-height:1.65; }
kbd { display:inline-block; padding:2px 5px; border:1px solid #fff2; border-radius:4px; font:inherit; font-size:.9em; font-weight:800; color:#ecf8ef; background:#ffffff10; }
.gold-note { padding:12px 14px; border:1px solid #e9d28333; border-radius:10px; background:#e5c96c08; color:#e2d6b3!important; font-size:11px!important; }
.results-scores { display:flex; align-items:center; justify-content:center; gap:35px; padding:25px 0; margin:25px 0 20px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.results-scores div { text-align:center; color:var(--mint-bright); }
.results-scores div:last-child { color:var(--orange); }
.results-scores b { font-size:62px; line-height:1; font-weight:850; letter-spacing:-2px; font-variant-numeric:tabular-nums; }
.results-scores small { display:block; margin-top:9px; font-size:8px; font-weight:800; letter-spacing:1.5px; }
.results-scores>span { color:#708d9d; font-size:25px; }
.stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:20px 0 25px; }
.stats div { border:1px solid #ffffff14; border-radius:9px; padding:14px 6px; text-align:center; background:#ffffff03; }
.stats b { display:block; font-size:23px; font-weight:750; color:#eef4e9; }
.stats span { display:block; margin-top:5px; color:#94b2bf; font-size:9px; }
.map-modal { max-width:720px; padding:24px; }
.map-modal h2 { font-size:31px; }
.large-map-wrap { margin:17px 0 12px; overflow:hidden; border:1px solid #ffffff25; border-radius:15px; background:#18312f; }
.large-map-wrap canvas { display:block; width:100%; height:auto; }
.map-legend { display:flex; flex-wrap:wrap; gap:10px 17px; margin:10px 0 17px; color:#b9d6d8; font-size:10px; }
.map-legend strong { color:var(--guide-gold); }
.map-legend em { color:var(--energy); font-style:normal; }
.map-choices { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.map-choices button { flex:1; min-width:125px; min-height:38px; padding:9px; border:1px solid #e5f5f03d; border-radius:8px; color:#eaf7ec; background:#ffffff07; font-size:11px; font-weight:750; }
.map-choices button.gold { color:var(--guide-gold); border-color:#ffe08399; }
.map-choices button.selected { box-shadow:0 0 0 2px #e9f5ee88; }
.training-badge { color:var(--mint-bright); }
.practice-done-list { margin:20px 0; padding:1px 0 1px 16px; border-left:3px solid var(--mint); color:#cde4e1; font-size:12px; line-height:2; }
#fatal { z-index:80; background:var(--navy); }
#fatal pre { white-space:pre-wrap; word-break:break-word; font-size:11px; color:#ffc99c; }
/* Touch areas are separated from the gadget dock, with safe-area spacing. */
.touch-controls { display:none; position:fixed; inset:0; z-index:8; pointer-events:none; }
.stick { position:absolute; bottom:calc(24px + env(safe-area-inset-bottom)); left:28px; width:108px; height:108px; border:2px solid #e3fff58a; border-radius:50%; background:#18353b55; box-shadow:inset 0 0 0 14px #d7f8e508,0 3px 18px #152d3930; pointer-events:auto; touch-action:none; }
.stick:after { content:''; position:absolute; inset:21px; border:1px solid #edfff327; border-radius:50%; pointer-events:none; }
.stick i { position:absolute; display:block; left:33px; top:33px; width:38px; height:38px; border:1px solid #f6ffefaa; border-radius:50%; background:#c3efdcbf; box-shadow:0 3px 13px #0a0e2935; }
.touch-action { position:absolute; right:25px; bottom:calc(28px + env(safe-area-inset-bottom)); display:grid; place-items:center; width:72px; height:72px; border:2px solid #d3f6e4ad; border-radius:50%; color:#dffbef; background:#153f46e6; font-size:11px; font-weight:850; letter-spacing:.4px; pointer-events:auto; }
.touch-action.jump { right:112px; bottom:calc(37px + env(safe-area-inset-bottom)); width:56px; height:56px; border-color:#e4e7ff94; color:#e1e5ff; background:#2c385be0; font-size:10px; }
.touch-action.cooling { color:#acc9c3; background:#243d4ccf; }
body.touch.playing-ui .touch-controls { display:block; }
body.touch .quick-help,body.touch .dash-info { display:none; }
body.touch .guide-card { bottom:154px; }
body.touch .minimap { bottom:148px; }
body.touch .gadgets { bottom:calc(31px + env(safe-area-inset-bottom)); }
body.touch .key-hint { display:none; }
/* Smaller laptops and tablets. */
@media (max-width:1100px) {
  .brand { left:17px; font-size:19px; }
  .brand small { font-size:7px; }
  .tools { right:16px; gap:4px; }
  .icon-button { padding:0 8px; font-size:8px; }
  .tools #help-button { display:none; }
  .guide-card { width:238px; left:16px; bottom:27px; }
  .guide-card h2 { font-size:17px; }
  .minimap { right:16px; width:146px; padding:9px; }
  .minimap canvas { width:126px; height:100px; }
  .map-head { font-size:6px; letter-spacing:.4px; }
  .map-head b { margin-left:2px; }
  .map-foot { font-size:6px; }
  .gadget { width:100px; column-gap:5px; padding:12px 8px; }
  .gadget b { font-size:9px; }
  .gadget small { font-size:9px; }
  .hero { width:400px; }
  .arena-card { max-width:290px; padding:14px; }
  .arena-card b { font-size:15px; }
  .arena-card p { font-size:8px; }
}
@media (max-width:800px) {
  .brand { display:none; }
  .match-top { top:10px; width:calc(100% - 89px); max-width:440px; left:13px; transform:none; }
  .scoreboard { grid-template-columns:1fr 77px 1fr; padding:9px 11px; border-radius:12px; }
  .score b { font-size:26px; }
  .score { gap:5px; }
  .team-ident span { font-size:9px; letter-spacing:.6px; }
  .team-ident em,.team-ident strong { font-size:9px; }
  .clock { margin:0 7px; padding:0 5px; }
  .clock b { font-size:18px; }
  .clock small { font-size:9px; }
  .objectives { gap:5px; margin-top:6px; }
  .objective { height:42px; padding:4px 6px; gap:5px; border-radius:8px; }
  .objective b { width:21px; height:22px; font-size:11px; }
  .objective .chip-copy span { font-size:9px; letter-spacing:.3px; }
  .objective .chip-copy small { font-size:9px; }
  .tools { right:12px; top:13px; }
  .tools #help-button { display:none; }
  .tools #pause-button { min-height:38px; width:60px; font-size:8px; padding:0 5px; }
  .gold-card { top:127px; left:13px; transform:none; width:calc(100% - 26px); max-width:440px; min-height:56px; padding:7px 11px 9px; gap:9px; }
  .gold-name { font-size:14px; }
  .gold-head { font-size:9px; }
  .gold-owner { font-size:9px; }
  .gold-direction { font-size:9px; }
  .gold-travel { display:none; }
  .gold-switch b { font-size:18px; }
  .gold-switch span { font-size:9px; }
  .guide-card { left:12px; bottom:103px; width:224px; padding:11px 12px; border-radius:12px; }
  .guide-card h2 { font-size:16px; }
  .guide-card p { font-size:11px; }
  .guide-actions { margin-top:8px; }
  .guide-actions button { font-size:9px; min-height:30px; }
  .guide-route { font-size:9px; }
  .guide-kicker { font-size:9px; }
  .guide-kicker small { font-size:9px; }
  .minimap,body.touch .minimap { display:none; }
  .gadgets { bottom:28px; left:50%; right:auto; transform:translateX(-50%); }
  .gadget { width:102px; height:60px; }
  .dash-info { display:none; }
  .quick-help { font-size:7px; }
  .capture { bottom:111px; left:auto; right:12px; transform:none; width:calc(100% - 265px); max-width:285px; padding:9px 11px; }
  .capture b { font-size:10px; }
  .capture-detail { font-size:9px; }
  .toast { bottom:224px; width:min(350px,calc(100% - 32px)); max-width:none; padding:8px 12px; font-size:10px; }
  #gold-announcement { top:191px; width:min(400px,calc(100% - 26px)); max-width:none; padding:9px 13px; }
  #gold-announcement b { font-size:12px; }
  #gold-announcement span { font-size:9px; }
  #gold-edge { padding:6px 8px; gap:5px; max-width:134px; }
  #gold-edge b { font-size:9px; }
  #gold-edge small { font-size:8px; }
  #gold-edge svg { width:17px; height:17px; }
  .world-label { padding:4px 7px; font-size:9px; }
  .world-label strong { font-size:11px; }
  .world-label em { font-size:9px; }
  .world-label.golden:before { font-size:12px; }
  .landing { padding:77px 5vw 57px; background:linear-gradient(90deg,#0a0e29f8,#0a0e29d9 45%,#0a0e2960); }
  .wordmark,.credit { left:5vw; }
  .wordmark { top:22px; font-size:21px; }
  .version { top:24px; right:20px; font-size:7px; }
  .arena-card { display:none; }
  .hero { width:400px; }
  h1 { font-size:76px; }
  .modal-screen { padding:16px; }
  .modal { padding:24px; max-height:calc(100dvh - 32px); border-radius:17px; }
  .modal h2 { font-size:32px; }
  .modal>p { font-size:11px; }
  .map-modal h2 { font-size:27px; }
  .map-choices button { min-width:85px; font-size:10px; }
  .map-legend { font-size:9px; gap:8px 12px; }
  body.touch .guide-card { bottom:calc(111px + env(safe-area-inset-bottom)); }
  body.touch .gadgets { bottom:calc(126px + env(safe-area-inset-bottom)); left:auto; right:12px; transform:none; flex-direction:column; gap:5px; }
  body.touch .gadget { width:108px; height:48px; padding:8px; }
  body.touch .gadget .charge { left:28px; top:26px; }
  body.touch .capture { bottom:calc(306px + env(safe-area-inset-bottom)); left:50%; right:auto; transform:translateX(-50%); width:min(310px,calc(100% - 26px)); max-width:none; }
  body.touch .toast { bottom:calc(391px + env(safe-area-inset-bottom)); }
  body.touch .stick { left:22px; bottom:calc(17px + env(safe-area-inset-bottom)); width:90px; height:90px; }
  body.touch .stick i { left:26px; top:26px; width:34px; height:34px; }
  body.touch .touch-action { right:19px; bottom:calc(20px + env(safe-area-inset-bottom)); width:68px; height:68px; }
  body.touch .touch-action.jump { right:105px; bottom:calc(26px + env(safe-area-inset-bottom)); width:56px; height:56px; }
}
/* Phone portrait: wide compact guidance above one row of gadgets and thumbs. */
@media (max-width:600px) and (orientation:portrait) {
  .match-top { width:calc(100% - 82px); left:10px; }
  .scoreboard { grid-template-columns:1fr 70px 1fr; padding:8px 9px; }
  .team-ident span { font-size:9px; letter-spacing:.25px; }
  .team-ident em,.team-ident strong { font-size:9px; }
  .score b { font-size:24px; }
  .clock b { font-size:16px; }
  .clock b.practice-clock { font-size:8px; }
  .clock small { font-size:9px; letter-spacing:.15px; }
  .clock { margin:0 5px; }
  .tools { right:10px; top:11px; }
  .tools #pause-button { width:52px; min-height:44px; font-size:8px; }
  .objective { gap:4px; padding:4px 5px; }
  .objective .chip-copy span { font-size:9px; letter-spacing:.1px; }
  .objective .chip-copy small { font-size:9px; }
  .objective b { width:19px; font-size:10px; }
  .gold-card { top:124px; left:10px; width:calc(100% - 20px); }
  .gold-compass-row { display:none; }
  .gold-head { font-size:9px; }
  .gold-main { display:grid; grid-template-columns:1fr auto; align-items:end; column-gap:6px; row-gap:2px; }
  .gold-head { grid-column:1/3; }
  .gold-name { font-size:14px; margin:3px 0 0; }
  .gold-owner { font-size:9px; max-width:105px; text-align:right; line-height:1.2; }
  .gold-switch { padding-left:10px; }
  .gold-emblem { font-size:26px; }
  .guide-card,body.touch .guide-card { left:10px; bottom:calc(191px + env(safe-area-inset-bottom)); width:calc(100% - 20px); padding:10px 12px; }
  .guide-card h2 { font-size:16px; margin:6px 0 4px; }
  .guide-card p { font-size:11px; line-height:1.4; }
  .guide-card.collapsed h2 { margin-bottom:0; }
  .guide-actions { margin-top:7px; gap:5px; }
  .guide-actions button { min-height:32px; }
  .guide-actions #guide-pip { flex:0 0 auto; }
  .guide-kicker small { margin-left:auto; }
  .guide-route { display:none; }
  .guide-toggle { width:29px; height:25px; margin:-5px -5px -5px 2px; }
  .gadgets,body.touch .gadgets { bottom:calc(122px + env(safe-area-inset-bottom)); left:10px; right:10px; transform:none; flex-direction:row; gap:6px; }
  .gadget,body.touch .gadget { flex:1; min-width:0; width:auto; height:57px; padding:10px 7px; column-gap:5px; grid-template-columns:24px 1fr; }
  .gadget b { font-size:9px; }
  .gadget small { font-size:9px; }
  .gadget .symbol { width:22px; height:22px; }
  .gadget .charge,body.touch .gadget .charge { left:25px; top:30px; }
  .capture,body.touch .capture { bottom:calc(202px + var(--guide-height,98px) + env(safe-area-inset-bottom)); left:50%; right:auto; transform:translateX(-50%); width:calc(100% - 38px); max-width:350px; padding:9px 11px; }
  .toast,body.touch .toast { bottom:calc(281px + var(--guide-height,98px) + env(safe-area-inset-bottom)); font-size:10px; }
  .quick-help { bottom:55px; width:calc(100% - 22px); justify-content:center; padding:6px 4px; }
  #gold-announcement { top:185px; }
  .landing { padding:78px 25px 61px; align-items:center; background:linear-gradient(100deg,#0a0e29f5,#0a0e29cf); }
  .wordmark,.credit { left:25px; }
  .wordmark span { display:none; }
  .version { right:21px; font-size:6px; }
  .hero { width:100%; }
  .eyebrow { font-size:8px; letter-spacing:1.2px; margin-bottom:22px; }
  h1 { font-size:74px; letter-spacing:-4.5px; }
  .lead { font-size:20px; }
  .perks { margin-bottom:18px; gap:5px; }
  .perks span { padding:5px 6px; font-size:7px; }
  .how-strip { gap:9px; margin-bottom:20px; }
  .how-strip>span { font-size:8px; }
  .how-strip strong { font-size:8px; letter-spacing:.2px; }
  .how-strip small { font-size:7px; margin-right:4px; }
  .options { gap:10px; }
  .options label { font-size:7px; flex:1; min-width:0; }
  .options select,.options label:last-child select { width:100%; padding:10px 7px; font-size:10px; }
  .hero .cta-row { gap:8px; }
  .hero .primary { flex:1; padding:14px 8px; font-size:10px; white-space:nowrap; }
  .hero .secondary { padding:14px 10px; font-size:9px; white-space:nowrap; }
  .credit { right:20px; font-size:8px; line-height:1.6; }
  .modal { padding:22px; }
  .modal h2 { font-size:30px; }
  .instructions { gap:8px; }
  .instruction { padding:11px; }
  .instruction p { font-size:10px; }
  .instruction>b { font-size:11px; }
  .results-scores { gap:26px; }
  .results-scores b { font-size:49px; }
  .results-scores small { font-size:7px; letter-spacing:.6px; }
  .stats span { font-size:8px; }
  .map-modal { padding:18px; }
  .map-modal h2 { font-size:24px; }
  .map-choices { gap:5px; }
  .map-choices button { min-width:70px; font-size:9px; padding:8px 4px; }
}
@media (max-width:380px) and (orientation:portrait) {
  .guide-card h2 { font-size:15px; }
  .gold-owner { display:none; }
  .gold-name { font-size:13px; }
  .gadget b { font-size:9px; }
  .gadget small { font-size:9px; }
  .gadget,body.touch .gadget { column-gap:3px; padding-left:6px; }
  h1 { font-size:64px; }
  .lead { font-size:18px; }
  .hero .primary { font-size:9px; }
  .hero .secondary { font-size:8px; }
}
/* Low-height laptops and landscape phones need only the compact controls. */
@media (max-height:730px) {
  .landing { padding-top:70px; padding-bottom:51px; }
  .eyebrow { margin-bottom:16px; }
  h1 { font-size:73px; margin-bottom:16px; }
  .lead { margin-top:17px; margin-bottom:13px; font-size:18px; }
  .perks { margin-bottom:16px; }
  .how-strip { margin-bottom:17px; padding:11px 0; }
  .options { margin-bottom:18px; }
  .micro { margin-top:10px; }
}
@media (max-height:630px) and (min-width:801px) {
  .match-top { top:10px; }
  .gold-card { top:124px; }
  .guide-card { width:250px; bottom:21px; }
  .guide-card h2 { font-size:16px; }
  .guide-card p { font-size:11px; }
  .minimap { bottom:24px; width:138px; padding:8px; }
  .minimap canvas { width:120px; height:95px; }
  .map-head { font-size:6px; }
  .map-foot { font-size:6px; }
  .capture { bottom:140px; }
  .toast { bottom:221px; }
  .eyebrow { display:none; }
  h1 { font-size:60px; }
  .lead { margin:12px 0; font-size:16px; }
  .perks { display:none; }
  .how-strip { margin-bottom:15px; padding:10px 0; }
  .micro { display:none; }
  .primary { padding:13px 20px; }
  .options select { padding:9px 10px; }
  .practice-link { margin-top:13px; }
  .credit { bottom:17px; }
}
@media (max-height:600px) and (max-width:1100px) and (orientation:landscape) {
  .brand { display:none; }
  .match-top { top:8px; left:50%; transform:translateX(-50%); width:310px; max-width:none; }
  .scoreboard { grid-template-columns:1fr 73px 1fr; padding:6px 10px; }
  .score b { font-size:23px; }
  .team-ident span { font-size:9px; }
  .team-ident em,.team-ident strong { font-size:9px; }
  .clock { margin:0 7px; }
  .clock b { font-size:16px; }
  .clock small { font-size:9px; }
  .objectives { margin-top:5px; }
  .objective { height:39px; padding:3px 6px; gap:5px; }
  .objective b { width:20px; height:20px; font-size:11px; }
  .objective .chip-copy span { font-size:9px; }
  .objective .chip-copy small { font-size:9px; }
  .tools { top:10px; right:10px; }
  .tools #help-button,.tools #sound { display:none; }
  .tools #pause-button { width:57px; min-height:31px; font-size:7px; }
  .gold-card { top:118px; left:50%; transform:translateX(-50%); width:310px; min-height:45px; padding:6px 9px 8px; gap:8px; border-radius:9px; }
  .gold-head { display:none; }
  .gold-name { font-size:14px; margin:0; }
  .gold-owner { display:none; }
  .gold-emblem { font-size:22px; }
  .gold-compass-row { display:flex; padding:0; }
  .gold-direction { font-size:9px; }
  .gold-travel { display:none; }
  .compass-disc { width:21px; height:21px; }
  .compass-disc svg { width:12px; height:12px; }
  .gold-switch { padding-left:9px; }
  .gold-switch b { font-size:16px; }
  .gold-switch span { font-size:9px; margin-top:3px; }
  .guide-card,body.touch .guide-card { top:10px; bottom:auto; left:10px; width:180px; padding:9px 11px; border-radius:10px; }
  .guide-card h2 { font-size:15px; margin:6px 0; }
  .guide-card p { font-size:10px; line-height:1.4; }
  .guide-kicker { font-size:9px; letter-spacing:.6px; }
  .guide-kicker small { display:none; }
  .guide-toggle { margin-left:auto; width:24px; }
  .guide-route { display:none; }
  .guide-actions { margin-top:7px; gap:4px; }
  .guide-actions button { font-size:9px; padding:4px 6px; min-height:25px; }
  .guide-actions .key-hint { display:none; }
  .minimap,body.touch .minimap { display:none; }
  .gadgets,body.touch .gadgets { left:50%; right:auto; bottom:calc(12px + env(safe-area-inset-bottom)); transform:translateX(-50%); flex-direction:row; gap:6px; }
  .gadget,body.touch .gadget { width:90px; height:53px; padding:9px 7px; grid-template-columns:23px 1fr; column-gap:4px; }
  .gadget b { font-size:9px; }
  .gadget small { font-size:9px; }
  .gadget .symbol { width:22px; height:22px; }
  .gadget .charge,body.touch .gadget .charge { top:28px; left:25px; }
  .capture,body.touch .capture { left:50%; right:auto; bottom:calc(75px + env(safe-area-inset-bottom)); transform:translateX(-50%); width:280px; max-width:none; padding:8px 11px; }
  .capture b { font-size:9px; }
  .capture-detail { font-size:8px; margin-top:3px; }
  .capture .track { margin-top:5px; height:4px; }
  .toast,body.touch .toast { bottom:calc(143px + env(safe-area-inset-bottom)); max-width:285px; font-size:9px; padding:7px 11px; }
  #gold-announcement { top:164px; width:320px; padding:8px 12px; }
  #gold-announcement b { font-size:11px; }
  #gold-announcement span { font-size:8px; }
  .dash-info,.quick-help { display:none; }
  .world-label em { display:none; }
  .world-label { padding:4px 5px; font-size:9px; }
  .world-label strong { font-size:10px; }
  body.touch .stick { left:24px; bottom:calc(13px + env(safe-area-inset-bottom)); width:86px; height:86px; }
  body.touch .stick i { left:24px; top:24px; width:34px; height:34px; }
  body.touch .touch-action { right:20px; bottom:calc(14px + env(safe-area-inset-bottom)); width:65px; height:65px; font-size:10px; }
  body.touch .touch-action.jump { right:98px; bottom:calc(21px + env(safe-area-inset-bottom)); width:52px; height:52px; font-size:9px; }
  .landing { padding:57px 5vw 39px; align-items:center; }
  .hero { width:570px; }
  h1 { font-size:55px; letter-spacing:-2.8px; margin-bottom:12px; }
  h1 span { display:inline; margin:0 0 0 12px; }
  .eyebrow,.lead,.perks,.micro { display:none; }
  .arena-tag { font-size:8px; margin-bottom:10px; }
  .how-strip { max-width:425px; gap:17px; padding:9px 0; margin-bottom:12px; }
  .how-strip>span { font-size:8px; }
  .options { margin-bottom:13px; }
  .options select { margin-top:5px; padding:8px 10px; font-size:10px; }
  .options label { font-size:7px; }
  .hero .primary { padding:12px 18px; font-size:10px; }
  .hero .secondary { padding:12px 15px; font-size:9px; }
  .practice-link { margin-top:12px; font-size:9px; }
  .wordmark { top:17px; font-size:20px; }
  .version { top:19px; font-size:7px; }
  .credit { bottom:13px; font-size:8px; }
  .modal { max-height:calc(100dvh - 24px); padding:23px; }
  .modal-screen { padding:12px; }
  .modal h2 { font-size:30px; }
  .modal-icon { display:none; }
  .instructions { margin:15px 0; }
}
@media (max-height:730px) and (max-width:600px) and (orientation:portrait) {
  .landing { padding-top:66px; padding-bottom:48px; }
  .eyebrow { display:none; }
  h1 { font-size:64px; margin-bottom:15px; }
  .lead { font-size:17px; margin:14px 0 11px; }
  .perks { margin-bottom:13px; }
  .how-strip { padding:10px 0; margin-bottom:16px; }
  .options { margin-bottom:17px; }
  .hero .micro { font-size:8px; }
  .credit { bottom:16px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*:before,*:after { transition:none!important; animation:none!important; scroll-behavior:auto!important; }
}

@media (max-width:680px) and (max-height:600px) and (orientation:landscape) {
  .guide-card,body.touch .guide-card { width:calc((100% - 332px)/2); min-width:108px; padding:8px; }
  .guide-card h2 { font-size:13px; }
  .guide-card p { font-size:10px; }
  .guide-kicker { display:none; }
  .guide-actions { gap:3px; }
  .guide-actions button { font-size:9px; padding:3px 4px; min-height:24px; }
}

body.touch .guide-actions button { min-height:35px; }
@media (max-height:600px) and (max-width:1100px) and (orientation:landscape) {
  body.touch .guide-actions button { min-height:32px; }
  .gold-compass-row { width:100px; }
}

/* Readable compact controls: secondary labels yield to the game itself. */
@media (max-width:800px) {
  .team-ident span { letter-spacing:.25px; }
  .clock small { letter-spacing:0; }
  .tools { flex-direction:column; gap:5px; }
  .tools #pause-button { order:0; min-height:44px; font-size:9px; }
  .tools #sound { display:block; order:1; width:60px; min-height:35px; padding:0 2px; font-size:9px; letter-spacing:-.2px; }
  .gold-head { letter-spacing:.3px; }
  .guide-kicker { letter-spacing:.7px; }
  .gadget { grid-template-columns:22px 1fr; column-gap:4px; padding-left:7px; padding-right:7px; }
  .gadget .symbol { width:21px; height:21px; }
  .gadget small { letter-spacing:0; }
}
@media (max-width:600px) and (orientation:portrait) {
  .gold-card { top:129px; }
  .objective .chip-copy span { display:none; }
  .objective { height:42px; justify-content:center; gap:7px; }
  .objective b { width:24px; height:24px; font-size:13px; }
  .objective .chip-copy small { font-size:10px; }
  .tools #sound { width:52px; }
  .guide-kicker small { font-size:9px; }
  .guide-toggle { width:35px; height:35px; }
  .guide-actions button { font-size:10px; }
  .gadget,body.touch .gadget { padding:10px 6px; grid-template-columns:20px 1fr; column-gap:4px; }
  .gadget b { font-size:9px; }
  .gadget small { font-size:9px; }
  .gadget .symbol { width:20px; height:20px; }
  .gold-owner { font-size:9px; }
  #gold-announcement { top:200px; }
}
@media (max-height:600px) and (max-width:1100px) and (orientation:landscape) {
  .team-ident span,.team-ident em,.team-ident strong { font-size:9px; letter-spacing:0; }
  .clock small { font-size:9px; letter-spacing:0; }
  .objective .chip-copy span { display:none; }
  .objective { height:39px; justify-content:center; gap:8px; }
  .objective .chip-copy small { font-size:10px; }
  .objective b { width:22px; height:22px; font-size:12px; }
  .guide-kicker { font-size:9px; letter-spacing:0; }
  .guide-kicker small { display:none; }
  .guide-toggle { width:35px; height:35px; }
  .guide-actions button,body.touch .guide-actions button { min-height:35px; font-size:9px; padding:5px 6px; }
  .gold-direction,.gold-switch span { font-size:9px; }
  .gold-compass-row { width:98px; }
  .gold-card { min-height:46px; }
  .gadgets,body.touch .gadgets { gap:5px; }
  .gadget,body.touch .gadget { width:98px; grid-template-columns:17px 1fr; gap:4px; padding:10px 6px; }
  .gadget .symbol { width:18px; height:18px; }
  .gadget b { font-size:9px; }
  .gadget small { font-size:9px; letter-spacing:0; }
  .gadget .charge,body.touch .gadget .charge { left:16px; top:30px; }
  .capture b { font-size:10px; }
  .capture-detail { font-size:10px; }
  .tools { flex-direction:column; }
  .tools #pause-button { order:0; min-height:39px; font-size:9px; }
  .tools #sound { display:block; order:1; min-height:35px; width:57px; padding:0; font-size:9px; letter-spacing:-.2px; }
  #gold-announcement { top:180px; }
}
@media (max-width:680px) and (max-height:600px) and (orientation:landscape) {
  .guide-kicker { display:flex; font-size:0; }
  .guide-toggle { font-size:18px; }
  .guide-actions { gap:4px; }
  .guide-actions #guide-map { display:none; }
}

@media (max-width:1100px) {
  .gadget { grid-template-columns:22px 1fr; column-gap:5px; }
  .gadget .symbol { width:22px; height:22px; }
}
@media (max-width:600px) and (orientation:portrait), (max-height:600px) and (max-width:1100px) and (orientation:landscape) {
  .guide-card.collapsed .guide-kicker { position:absolute; right:10px; top:7px; display:flex; min-height:0; }
  .guide-card.collapsed #guide-tag,.guide-card.collapsed #guide-mode { display:none; }
  .guide-card.collapsed .guide-toggle { margin:0; }
  .guide-card.collapsed h2 { min-height:25px; margin:0; padding-right:35px; }
  .guide-card.collapsed .guide-actions { margin-top:8px; }
}
.dash-info header { font-size:10px; letter-spacing:.3px; }
.quick-help { font-size:9px; }
.map-head { font-size:9px; letter-spacing:.2px; }
.map-foot { font-size:9px; flex-wrap:wrap; row-gap:2px; }
.map-open { font-size:9px; }
@media (max-width:600px) and (orientation:portrait) {
  .gadget,body.touch .gadget { grid-template-columns:20px 1fr; column-gap:4px; }
  .gadget .symbol { width:20px; height:20px; }
}
@media (max-height:600px) and (max-width:1100px) and (orientation:landscape) {
  .gadget,body.touch .gadget { grid-template-columns:17px 1fr; column-gap:4px; }
  .gadget .symbol { width:18px; height:18px; }
}


/* Main-site navigation and former static style attributes. */
.beacon-small-copy { font-size:11px; }
.beacon-noscript { position:fixed; inset:0; background:#0a0e29; padding:40px; z-index:100; }
.bozoko-menu-links { display:flex; align-items:center; flex-wrap:wrap; gap:7px 18px; margin-top:14px; }
.bozoko-menu-links .practice-link { margin:0; }
.bozoko-all-games { display:inline-flex; align-items:center; gap:6px; min-height:32px; color:var(--mint-bright); font-size:11px; font-weight:750; line-height:1.4; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; }
.bozoko-all-games:hover { color:var(--cream); }
.bozoko-all-games:focus-visible { outline:3px solid var(--guide-gold); outline-offset:4px; border-radius:3px; }
.bozoko-return-row { margin:14px 0 0; }
@media (max-height:560px) { .bozoko-menu-links { margin-top:8px; gap:5px 15px; } .bozoko-all-games { font-size:10px; min-height:28px; } }
