/* every button's drop shadow is see-through, so it darkens whatever is behind it like a multiply instead of a flat colour (Amin, 1 Nov 2026: "if you are going to do a drop shadow behind the button make it multiply") */
/* Pixel 3D: the series HUD (Amin, 1 Nov 2026: "the HUDs are terrible"). The same pieces as every series game — the pixel
   mark and its label box, round tools, a status line, the thumb pad, the green action, white round secondaries, ?, the
   pixel credit — so the 3D games wear the series, not a dev bar. Settings (pixel size, focus, the hour) live on the ? card. */
#hud{position:fixed;inset:0;pointer-events:none;z-index:3;font-family:system-ui,-apple-system,sans-serif;color:#3a2a24}
#hud button{font:inherit;cursor:pointer;touch-action:none;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
#head{position:absolute;top:0;left:0;right:0;padding:calc(17px + env(safe-area-inset-top)) 20px 28px;display:flex;justify-content:space-between;align-items:flex-start;background:linear-gradient(#f6f2e899,#f6f2e800)}
#brand{line-height:0;pointer-events:auto}#brand .wmark{display:block;width:100px;height:96px;margin:-11px 0 -4px -7px;color:#1d1a14;overflow:visible}#brand .wmark .pk{fill:#f4f1e1}
#tools{display:flex;gap:5px;pointer-events:auto}
#tools button{width:40px;height:40px;border:1px solid #c9b8a4;border-radius:50%;background:#f8f4ebe8;color:#6a3a2e;font-size:18px;padding:0;display:grid;place-items:center}
#tools button.on{background:#3a2a24;color:#f8f4eb;border-color:#3a2a24}#tools button.off{opacity:.55}
#status{position:absolute;top:calc(98px + env(safe-area-inset-top));left:12px;max-width:calc(100% - 24px);width:max-content;padding:2px 64px 2px 8px;font:9px/1.6 ui-monospace,Menlo,monospace;letter-spacing:.04em;color:#6a3a2e;text-shadow:0 1px 0 #f6f2e8;background:linear-gradient(90deg,#fdfbf6e6,#fdfbf600);text-transform:uppercase}
#status>*+*::before{content:' · '}#link{font:inherit}#link i{display:inline-block;width:6px;height:6px;border-radius:50%;margin:0 4px 0 2px;vertical-align:0;background:#9aa}
#tscore,#mph{position:absolute;top:calc(68px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);padding:6px 12px;border-radius:8px;border:1px solid #c9b8a4;background:#fbf7efe6;font:bold 10px/1.3 ui-monospace,Menlo,monospace;letter-spacing:.08em;color:#4a2a22;white-space:nowrap;max-width:calc(100% - 200px);overflow:hidden;text-overflow:ellipsis}
#tscore[hidden]{display:none}
#wcontrols{position:absolute;bottom:0;left:0;right:0;height:165px;background:linear-gradient(transparent,#ede4d4b0)}
#pad{position:absolute;left:22px;bottom:calc(26px + env(safe-area-inset-bottom));width:112px;height:112px;border:1px solid #c6c2b8;border-radius:50%;background:#ecebe6cc;pointer-events:auto;touch-action:none;transition:box-shadow .2s}
#pad.sprint{box-shadow:0 0 0 3px #e8c02a}#pad.sprint.out{box-shadow:0 0 0 3px #c8463a}
#knob{position:absolute;left:35px;top:35px;width:42px;height:42px;border-radius:50%;background:#fafcf8;border:1px solid #c6c2b8;box-shadow:0 3px 0 #3a24104d;pointer-events:none}#pad.sprint #knob{background:#e8c02a;border-color:#b8941a}
.act{position:absolute;right:22px;bottom:calc(29px + env(safe-area-inset-bottom));width:86px;height:86px;border-radius:50%;background:#42724b;border:1px solid #335d39;color:#fff9e2;box-shadow:0 5px 0 #0c2a1873;font:bold 10px ui-monospace,Menlo,monospace;letter-spacing:.06em;pointer-events:auto;line-height:1.25;padding:6px}
.act[disabled],.act.idle{background:#8a9a86;border-color:#768672;box-shadow:0 5px 0 #0c2a1866;opacity:.75}
.b2{position:absolute;right:120px;bottom:calc(30px + env(safe-area-inset-bottom));width:57px;height:57px;border-radius:50%;border:1px solid #d3c2ac;background:#fdfaf3;color:#7a4a3a;box-shadow:0 3px 0 #3a24104d;font:bold 8px ui-monospace,Menlo,monospace;letter-spacing:.04em;pointer-events:auto;padding:0}
.b3{position:absolute;right:128px;bottom:calc(98px + env(safe-area-inset-bottom));width:50px;height:50px;border-radius:50%;border:1px solid #d3c2ac;background:#fdfaf3;color:#7a4a3a;box-shadow:0 3px 0 #3a24104d;font:bold 7px ui-monospace,Menlo,monospace;letter-spacing:.02em;pointer-events:auto;padding:0;line-height:1.2}.b3[hidden]{display:none}
.act.held,.b2.held,.b3.held,.act:active,.b2:active,.b3:active{transform:translateY(3px);box-shadow:0 1px 0 #3a241038}
#helpBtn{position:absolute;right:186px;bottom:calc(44px + env(safe-area-inset-bottom));width:28px;height:28px;border-radius:50%;border:1px solid #d3c2ac;background:#fdfaf3;color:#6a3a2e;font:bold 13px system-ui;padding:0;pointer-events:auto;box-shadow:0 2px 0 #3a24104d;display:grid;place-items:center}
#credit{position:absolute;bottom:calc(3px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;padding:3px 34px 2px;line-height:0;pointer-events:auto;opacity:.68;background:linear-gradient(90deg,rgba(253,251,246,0),rgba(253,251,246,.9) 22%,rgba(253,251,246,.9) 78%,rgba(253,251,246,0))}#credit a{display:block;line-height:0}

body.night #head{background:linear-gradient(#141a2ee6,#141a2e00)}body.night #brand .wmark{color:#f4f1e1}body.night #brand .wmark .pk{fill:#000}
body.night #tools button{background:#1e2640e8;border-color:#3e4a6e;color:#e6dfc4}body.night #tools button.on{background:#e6dfc4;color:#1e2640}
body.night #status{background:linear-gradient(90deg,#1b2236ee,#1b223600);color:#e6dfc4;text-shadow:none}
body.night #tscore,body.night #mph{background:#1b2236e6;border-color:#3e4a6e;color:#e6dfc4}
body.night #wcontrols{background:linear-gradient(transparent,#121829c0)}
body.night .b2,body.night .b3,body.night #pad,body.night #helpBtn{background:#232b45;color:#e6c46e;border-color:#3e4a6e;box-shadow:0 3px 0 #00051480}body.night #knob{background:#3a4566;border-color:#56628a;box-shadow:none}
body.night #credit{opacity:.5;background:linear-gradient(90deg,#141a2e00,#141a2ee6 22%,#141a2ee6 78%,#141a2e00)}
@media(min-width:700px){.act{right:35px}.b3{right:141px}.b2{right:135px}#helpBtn{right:205px}#pad{left:35px}}
@media(orientation:landscape) and (max-height:550px){#head{padding-top:12px}#brand .wmark{width:75px;height:72px}#status{top:62px}#wcontrols{height:130px;background:none}.act{width:76px;height:76px;bottom:20px}.b2{right:112px;bottom:16px}.b3{right:178px;bottom:62px}#helpBtn{right:178px;bottom:20px}#pad{bottom:14px;width:96px;height:96px}#knob{left:27px;top:27px}}
/* Pixel City's mark (Amin, 1 Nov 2026: "logo white but shiny — neon electric trim that flickers, trails the logo, glimmers at
   night" … "only the letters, don't create a badge"): white letters, their own pixels glowing electric blue and flickering now
   and then, a light running along them; brighter at night. */
#brand.neon .wmark,#trip .neon .wmark{color:#fbfdff}#brand.neon .wmark .pk,#trip .neon .wmark .pk{fill:#0b1530}
#brand.neon .glow,#trip .neon .glow{opacity:.75;animation:pcFlick 7.3s steps(1) infinite}
@keyframes pcFlick{0%{opacity:.75}61%{opacity:.15}62%{opacity:.75}63.5%{opacity:.3}64.5%{opacity:.75}88%{opacity:.55}89%{opacity:.75}}
body.night #brand.neon .glow,#trip .neon .glow{opacity:1;animation-name:pcFlickN}
@keyframes pcFlickN{0%{opacity:1}61%{opacity:.25}62%{opacity:1}63.5%{opacity:.45}64.5%{opacity:1}88%{opacity:.75}89%{opacity:1}}
@media(prefers-reduced-motion:reduce){#brand.neon .glow,#trip .neon .glow{animation:none}#brand.neon .sheen,#trip .neon .sheen{display:none}}
#creditpx{width:0;height:0;display:block}   /* until it's drawn: a bare canvas is 300×150 and sat over the thumb controls on a phone */
#credit{pointer-events:none}#credit a{pointer-events:auto;display:inline-block}#creditpx{pointer-events:none}
/* ===== Golf's HUD on the 3D pages (Amin, 1 Nov 2026: "we need the same style hud as in golf … the big [button] is the main
   interaction: near a car it flashes DRIVE, on the court it flashes PLAY … when I walk I should see sprint … a 3D box you can
   rotate that matches the view, like most 3D tools"). Opt-in per page: <body class="ghud">. Pixel Golf's pieces: frosted
   round tools and pills on top, where you are in big type under the mark, the link as a pill on the right, frosted round
   secondaries, one big green button that says what it'll do — and flashes when there's something to do. */
body.ghud #head{padding:max(22px,env(safe-area-inset-top)) 22px 40px;background:linear-gradient(#eef0e7ef,#eef0e700)}
body.ghud #tools{gap:7px}
body.ghud #tools button,body.ghud .b2,body.ghud .b3,body.ghud #helpBtn{border:1px solid #f9faedaa;background:#faf9efa8;color:#263c30;box-shadow:0 2px 7px #314a3620;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
body.ghud #tools button{width:39px;height:39px;font-size:16px}
body.ghud #tools button.on{background:#35664b;color:#fff;border-color:#35664b}
body.ghud #tools #helpBtn{position:static;width:39px;height:39px;font:16px system-ui;box-shadow:0 2px 7px #314a3620}
body.ghud #status{top:calc(92px + env(safe-area-inset-top));left:22px;padding:0;background:none;text-shadow:none;color:#263c30;font:10px/1.5 ui-monospace,Menlo,monospace;letter-spacing:.1em;max-width:calc(100% - 140px)}
body.ghud #status>*+*::before{content:none}
body.ghud #status small{display:block;font:inherit;color:#526849}
body.ghud #place{display:block;font:bold 23px/1.15 Arial,Helvetica,sans-serif;letter-spacing:-.5px;text-transform:none;margin:5px 0 0;color:#263c30}
body.ghud #link{position:fixed;top:calc(84px + env(safe-area-inset-top));right:22px;padding:7px 11px;border-radius:20px;background:#f8f8edc9;font:9px ui-monospace,Menlo,monospace;letter-spacing:.06em;color:#263c30;pointer-events:auto;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
body.ghud #link i{background:#af9960}
body.ghud #tscore{top:calc(158px + env(safe-area-inset-top));left:22px;transform:none;max-width:calc(100% - 140px);border:0;border-radius:20px;padding:6px 11px;background:#f8f8edc9;color:#263c30;font:bold 9px/1.4 ui-monospace,Menlo,monospace;letter-spacing:.08em;white-space:normal;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
body.ghud #wcontrols{background:linear-gradient(transparent,#eef0e7a0)}
body.ghud #pad{border:1px solid #f9faedaa;background:#faf9ef8a;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);box-shadow:0 2px 9px #314a3626}
body.ghud #knob{background:#faf9ef;border-color:#d9decb;box-shadow:0 3px 0 #2a30184d}
body.ghud .b2,body.ghud .b3{font:bold 9px ui-monospace,Menlo,monospace;letter-spacing:.06em}
body.ghud .b2{width:60px;height:60px}
body.ghud .b3{width:52px;height:52px;font-size:8px}
body.ghud .act{width:96px;height:96px;background:#35664b;border:1px solid #ffffff40;color:#fff9e5;box-shadow:0 5px 0 #0c2a1873;font:bold 13px/1.2 ui-monospace,Menlo,monospace;letter-spacing:.08em}
body.ghud .act.idle{background:#6f8a77;box-shadow:0 5px 0 #0c2a1866;opacity:1;color:#eef3e4}
body.ghud .act.call{animation:ghCall 1.1s ease-in-out infinite}
@keyframes ghCall{0%,100%{box-shadow:0 5px 0 #0c2a1873,0 0 0 0 #d5ad50cc}50%{box-shadow:0 5px 0 #0c2a1873,0 0 0 11px #d5ad5000;background:#3f7a59}}
body.ghud .act.held,body.ghud .b2.held,body.ghud .b3.held,body.ghud .act:active,body.ghud .b2:active,body.ghud .b3:active{transform:translateY(3px);box-shadow:0 1px 0 #0c2a1859}
@media(prefers-reduced-motion:reduce){body.ghud .act.call{animation:none;outline:3px solid #d5ad50;outline-offset:2px}}
body.ghud.night #head{background:linear-gradient(#111b33ef,#111b3300)}
body.ghud.night #tools button,body.ghud.night .b2,body.ghud.night .b3,body.ghud.night #helpBtn,body.ghud.night #link,body.ghud.night #tscore,body.ghud.night #pad{background:#1d2c47d9;color:#e9e8c7;border-color:#7b8d8e44}
body.ghud.night #tools button.on{background:#35664b;color:#fff}
body.ghud.night #status,body.ghud.night #place{color:#e6e9cf}body.ghud.night #status small{color:#a5b297}
body.ghud.night #knob{background:#2c3c5a;border-color:#56628a;box-shadow:none}
body.ghud.night #wcontrols{background:linear-gradient(transparent,#111b33b0)}
@media(max-width:650px){body.ghud #head{padding:max(19px,env(safe-area-inset-top)) 17px 36px}body.ghud #tools{gap:4px}body.ghud #tools button{width:34px;height:34px;font-size:14px}
 body.ghud #status{left:18px;top:calc(84px + env(safe-area-inset-top))}body.ghud #place{font-size:20px}body.ghud #link{right:17px;top:calc(79px + env(safe-area-inset-top));font-size:8px;max-width:150px}
 body.ghud #tscore{left:18px;top:calc(146px + env(safe-area-inset-top));max-width:calc(100% - 110px)}}
@media(orientation:landscape) and (max-height:550px){body.ghud #status{top:62px}body.ghud #tscore{top:116px}body.ghud #link{top:58px}body.ghud .act{width:80px;height:80px}}
/* the view cube: the camera's own turn and tilt, as a cube you can drag or tap (a side to look from it, TOP to look down) */
/* the view cube (Amin, 1 Nov 2026: "the cube on the left … the cube can be an outline and smaller … a home view after moving
   the cube"): an outline on the left under the mark, HOME under it once you've turned the view away from the game's own. */
#cube{position:absolute;left:20px;top:calc(96px + env(safe-area-inset-top));width:56px;height:56px;perspective:200px;pointer-events:auto;touch-action:none;cursor:grab;z-index:2}
#cube:active{cursor:grabbing}#cube[hidden]{display:none}
#cube .cb{position:absolute;left:12px;top:12px;width:32px;height:32px;transform-style:preserve-3d}
#cube .f{position:absolute;inset:0;display:grid;place-items:center;font:bold 7px ui-monospace,Menlo,monospace;letter-spacing:.06em;color:#263c30;background:#faf9ef1f;border:1.5px solid #263c30;backface-visibility:hidden;-webkit-backface-visibility:hidden;user-select:none;-webkit-user-select:none}
#cube .f.t{font-size:6px}#cube .f.b{background:none}
#cube .f:hover{background:#263c30;color:#faf9ef}
#cubeHome{position:absolute;left:33px;top:calc(158px + env(safe-area-inset-top));width:30px;height:30px;border-radius:50%;padding:0;display:grid;place-items:center;pointer-events:auto;border:1.5px solid #263c30;background:#faf9efb0;color:#263c30;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font-size:14px}
#cubeHome[hidden]{display:none}#cubeHome svg{width:15px;height:15px}
body.night #cube .f{color:#e9e8c7;border-color:#e9e8c7;background:#1d2c4733}body.night #cube .f:hover{background:#e9e8c7;color:#1d2c47}
body.night #cubeHome{border-color:#e9e8c7;color:#e9e8c7;background:#1d2c47b0}
@media(max-width:650px){#cube{left:13px;top:calc(86px + env(safe-area-inset-top))}#cubeHome{left:26px;top:calc(148px + env(safe-area-inset-top))}}
@media(orientation:landscape) and (max-height:550px){#cube{top:56px}#cubeHome{top:116px}}
/* the titles on the right (Amin: "the title … and score on right"): the hour, where you are, ALONE / CONNECTED and the score
   stack right-aligned under the tools */
body.ghud #rcol{position:absolute;right:22px;top:calc(92px + env(safe-area-inset-top));display:flex;flex-direction:column;align-items:flex-end;gap:7px;max-width:calc(100% - 120px);pointer-events:none}
body.ghud #rcol #status,body.ghud #rcol #link,body.ghud #rcol #tscore{position:static;max-width:100%;text-align:right}
body.ghud #rcol #link{pointer-events:auto}
@media(max-width:650px){body.ghud #rcol{right:17px;top:calc(84px + env(safe-area-inset-top))}}
@media(orientation:landscape) and (max-height:550px){body.ghud #rcol{top:56px}}
/* three around the big one (Amin: "at least three interactions next to the big HIT … talk, chat, dance, get out, hand brake,
   dive — the bonus action"), on an arc so a thumb rolls to each; their words small, never selectable by a long press */
body.ghud #hud,body.ghud #hud *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
body.ghud .act{font-size:10px;letter-spacing:.1em}
body.ghud #jmp,body.ghud #exit,body.ghud #b4{width:52px;height:52px;font:bold 7.5px/1.15 ui-monospace,Menlo,monospace;letter-spacing:.05em;padding:0 3px}
body.ghud #jmp{right:128px;bottom:calc(51px + env(safe-area-inset-bottom))}
body.ghud #exit{right:103px;bottom:calc(110px + env(safe-area-inset-bottom))}
body.ghud #b4{right:44px;bottom:calc(135px + env(safe-area-inset-bottom))}
body.ghud .b3.dim{opacity:.45}
body.ghud #wcontrols{height:200px}
@media(min-width:700px){body.ghud #jmp{right:141px}body.ghud #exit{right:116px}body.ghud #b4{right:57px}}
@media(orientation:landscape) and (max-height:550px){body.ghud #jmp,body.ghud #exit,body.ghud #b4{width:48px;height:48px}
 body.ghud #jmp{right:125px;bottom:36px}body.ghud #exit{right:103px;bottom:88px}body.ghud #b4{right:51px;bottom:110px}body.ghud #wcontrols{height:170px}}
/* the camera lock: the cube fades and doesn't turn while the view is locked */
#cube.locked{opacity:.35;cursor:default;pointer-events:none}

/* LEAVE GAME: at the top centre while you play, never among the game's buttons (Amin: "flash that at the top"); flashes as the game starts */
body #leave,body.ghud #leave{position:fixed;width:auto;height:auto;min-width:0;line-height:1.2;text-transform:none;left:50%;top:calc(28px + env(safe-area-inset-top));transform:translateX(-50%);z-index:30;padding:8px 14px;border-radius:20px;border:1px solid #26302a33;background:#f8f8edd9;color:#263c30;font:600 9px ui-monospace,Menlo,monospace;letter-spacing:.08em;pointer-events:auto;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);box-shadow:0 2px 8px #0002}
#leave[hidden]{display:none}
#leave.flash{animation:lvFlash .8s ease-in-out 4}
@keyframes lvFlash{0%,100%{box-shadow:0 0 0 0 #e8c02a1a,inset 0 0 0 99px #e8c02a00}50%{box-shadow:0 0 0 7px #e8c02a00,inset 0 0 0 99px #e8c02a1a}}   /* yellow at a tenth (Amin: "it's so bright") */
body.night #leave,body.ghud.night #leave{background:#1d2c47d9;color:#e9e8c7;border-color:#7b8d8e44}
@media(prefers-reduced-motion:reduce){#leave.flash{animation:none;box-shadow:inset 0 0 0 99px #e8c02a1a}}

/* LEAVE GAME lives in the right column under the score, right-justified, and only shows in a lull */
body.ghud #rcol #leave{position:static;transform:none;left:auto;top:auto;pointer-events:auto}
/* from one 3D game to the next (HUD3D.trip): the picture and the HUD blur out under a dark veil and the next game's mark comes
   up big in the middle; arriving, it starts there and comes clear once the world is drawn. */
#trip{position:fixed;inset:0;z-index:9000;pointer-events:none;display:grid;place-items:center;background:rgba(9,13,26,0);
 -webkit-backdrop-filter:blur(0);backdrop-filter:blur(0);transition:background .9s ease,-webkit-backdrop-filter .9s ease,backdrop-filter .9s ease}
#trip.on{pointer-events:auto;background:rgba(9,13,26,.5);-webkit-backdrop-filter:blur(16px) saturate(.85);backdrop-filter:blur(16px) saturate(.85)}
#trip.held{transition:none}
#trip .tl{line-height:0;opacity:0;transform:scale(.9);transition:opacity .55s ease .25s,transform .9s cubic-bezier(.2,.8,.2,1) .1s}
#trip.on .tl{opacity:1;transform:scale(1)}#trip.held .tl{transition:none}
#trip:not(.on) .tl{transition:opacity .5s ease,transform 1.1s ease;transform:scale(1.08)}
#trip .wmark{display:block;width:min(52vw,300px);height:auto;color:#fbfdff;overflow:visible}#trip .wmark .pk{fill:#0b1530}
body.tripin #trip:not(.on){background:rgba(9,13,26,0)}
@media(prefers-reduced-motion:reduce){#trip,#trip .tl{transition-duration:.15s!important;transition-delay:0s!important}}

/* Drift 3D's GET OUT: a pill once the car has stopped, over the right thumb's buttons (clear of the way-home tag at the bottom) */
#outPill{position:fixed;right:calc(22px + env(safe-area-inset-right));bottom:calc(200px + env(safe-area-inset-bottom));z-index:30;padding:10px 18px;border-radius:22px;border:1px solid #26302a33;background:#f8f8edd9;color:#263c30;font:700 11px ui-monospace,Menlo,monospace;letter-spacing:.1em;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);box-shadow:0 2px 8px #0002;animation:opIn .25s ease-out}
#outPill[hidden]{display:none}
body.night #outPill{background:#1d2c47d9;color:#e9e8c7;border-color:#7b8d8e44}
@keyframes opIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#outPill{animation:none}}
/* the round thumb buttons wear a one-pixel black ring, day and night (Amin, 1 Nov 2026: "the buttons have light blue strokes … these
   should be black and 1 pixel, both with its light and dark") */
.act,.b2,.b3,#helpBtn,.act[disabled],.act.idle,body.night .b2,body.night .b3,body.night #helpBtn,body.ghud .act,body.ghud .b2,body.ghud .b3,body.ghud #helpBtn,body.ghud.night .b2,body.ghud.night .b3,body.ghud.night #helpBtn{border:1px solid #000}
body.ghud #tools #helpBtn{border:1px solid #f9faedaa}body.ghud.night #tools #helpBtn{border-color:#7b8d8e44}
/* the engine's rings round the gas button (HUD3D.revs), laid over its own drop shadow */
.act,body.ghud .act{box-shadow:var(--pk-revs,0 0 0 0 transparent),0 5px 0 #0c2a1873}.act.held,.act:active,body.ghud .act.held,body.ghud .act:active{box-shadow:var(--pk-revs,0 0 0 0 transparent),0 1px 0 #0c2a1859}
/* TURBO lights up red while it's held (Amin, 1 Nov 2026: "turbo lights up red when pressing") */
#t4.held,#t4:active{background:#d23a2e!important;color:#fff4ea!important;border-color:#000!important}

/* the ? card is for players (Amin, 2 Nov 2026: "I'm not sure you're supposed to have these options at all exposed to people"):
   the pixel size, focus, people, the hour and the frame readout only show with ?dev on the address */
body:not(.devmode) .devonly{display:none!important}

/* the lock holds the view: the chase button stays as it was but can't be used until you unlock (Amin, 12 Nov 2026) */
body.camlock #chase{opacity:.35;pointer-events:none}

/* the driver cam's speedometer (Amin, 12 Nov 2026: "an active speedometer engages when in first person view"): bottom middle, between the
   thumbs (just above them on a tall phone), no box behind it; and FOCUS on a round button: it pulses blue once the speed blur is on, lit while it holds */
#speedo{position:absolute;left:50%;bottom:calc(26px + env(safe-area-inset-bottom));width:148px;transform:translateX(-50%);pointer-events:none;color:#fff;filter:drop-shadow(0 1px 2px #000a) drop-shadow(0 0 5px #0006);opacity:0;transition:opacity .25s;z-index:2}
#speedo.on{opacity:1}#speedo[hidden]{display:none}#speedo svg{display:block;width:100%;height:auto;overflow:visible}
#speedo text{font:bold 30px/1 ui-monospace,Menlo,monospace;fill:currentColor;text-anchor:middle}#speedo .u{font-size:7px;letter-spacing:.2em;opacity:.8}#speedo .g{font-size:10px;fill:#3cf0ff}
@media(max-width:560px) and (orientation:portrait){#speedo{width:112px;bottom:calc(186px + env(safe-area-inset-bottom))}}
@media(orientation:landscape) and (max-height:550px){#speedo{width:112px;bottom:20px}}
body.intro #speedo{display:none!important}
#hud .b3.want,.b3.want{animation:b3want 1.1s ease-in-out infinite}#hud .b3.lit,.b3.lit,body.ghud .b3.lit,body.ghud.night .b3.lit{background:#3cf0ff;color:#06222a;border-color:#3cf0ff;box-shadow:0 0 12px #3cf0ffaa}
@keyframes b3want{50%{box-shadow:0 0 0 3px #3cf0ff88,0 0 14px #3cf0ff99}}@media(prefers-reduced-motion:reduce){#hud .b3.want,.b3.want{animation:none;box-shadow:0 0 0 2px #3cf0ff88}}

/* hold for more: a round button's choices on an arc round the big one (hud3d.js `fan`, `hold`) */
#fan3{position:absolute;inset:0;z-index:6;pointer-events:none}#fan3[hidden]{display:none}
body.fanning #wcontrols .b2,body.fanning #wcontrols .b3,body.fanning #pad{opacity:.14;transition:opacity .15s}
#fan3 .fi{position:absolute;width:48px;height:48px;margin:-24px 0 0 -24px;border-radius:50%;border:1px solid #1b1210;background:#fdfaf3ee;color:#5a3a2e;font:bold 8px/1.15 ui-monospace,Menlo,monospace;letter-spacing:.1em;pointer-events:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:0;box-shadow:0 3px 0 #3a241040;transform:scale(.4);opacity:0;transition:transform .16s cubic-bezier(.3,1.5,.5,1),opacity .12s;user-select:none;-webkit-user-select:none;touch-action:none}
#fan3.on .fi{transform:scale(1);opacity:1}#fan3 .fi small{font-size:6.5px;opacity:.65;letter-spacing:.06em}
#fan3 .fi.cur{background:#1b1210;color:#fdfaf3}#fan3 .fi.hov{transform:scale(1.14);box-shadow:0 0 0 2px #3cf0ff,0 3px 0 #3a241040}#fan3 .fi.dim{opacity:.35!important;pointer-events:none}
#fan3.remind.on .fi{animation:fan3r 1.1s ease-in-out infinite}@keyframes fan3r{50%{box-shadow:0 0 0 3px #3cf0ff99,0 3px 0 #3a241040}}
body.night #fan3 .fi{background:#1b2236ee;color:#e6dfc4;border-color:#e6dfc455}body.night #fan3 .fi.cur{background:#3cf0ff;color:#0b1424;border-color:#3cf0ff}
.b3.lp::after,.b2.lp::after{content:"";position:absolute;left:50%;bottom:7px;width:10px;height:1.5px;margin-left:-5px;background:currentColor;opacity:.45;border-radius:1px}
@media(prefers-reduced-motion:reduce){#fan3.remind.on .fi{animation:none}}
/* a top tool with options behind it (the camera: hold for FOCUS, FLY OVER) wears the same short bar as the round buttons */
#tools button.lp{position:relative}#tools button.lp::after{content:"";position:absolute;left:50%;bottom:5px;width:8px;height:1.5px;margin-left:-4px;background:currentColor;opacity:.45;border-radius:1px}

/* ===== THE GUIDE: one ? sheet for every 3D game (Amin, 13 Nov 2026: "the help screen standard across all 3d games … the golf
   one is a good example … they can have night mode as well if you don't want the white … when we address one thing it applies
   to all the help screens"). Golf 3D's white-glove sheet, made the series': the page dims and blurs, the sheet takes the
   screen (a card on a computer), a small accent label, a light large title, a line under it, then sections in columns that
   scroll (one column on a phone), each a small accent head on a hairline, maybe a drawing, and rows of a name and its words;
   PLAY alone at the foot, no back. PAPER or NIGHT from the foot (`pixel3d-guide`, shared by every 3D game). A page sets its
   accent with HUD3D.mount({guide:{accent,night}}) or --gaP / --gaN on #help. Markup:
   #help.overlay > section.dialog > .cmy, header.wh(small,h1,p), .wcols > section.wsec(h2, svg.wfig, dl > dt+dd), .wfoot > .go */
:is(#help,.gsheet).overlay{--gaP:#2f6a44;--gaN:#8fd3a8;--ga:var(--gaP);--gp:#fbf9f4;--gi:#151a16;--gt:#3d433c;--gs:#5a6058;--gr:#e3ded2;--gb:#fff;--gbr:#c9c3b4;--gf:#1d2620;--gl:#7a7f76;
 position:fixed;inset:0;z-index:70;display:flex;align-items:stretch;justify-content:center;padding:0;background:rgba(6,9,8,.78);backdrop-filter:blur(6px) saturate(.6);-webkit-backdrop-filter:blur(6px) saturate(.6);overflow:hidden;touch-action:pan-y;pointer-events:auto;font-family:system-ui,-apple-system,"Helvetica Neue",sans-serif}
:is(#help,.gsheet)[hidden]{display:none}
:is(#help,.gsheet).gnight{--gp:#11161d;--gi:#eceadf;--gt:#c3c6bd;--gs:#8e948b;--gr:#262e38;--gb:#1a212b;--gbr:#3a4452;--gf:#d9dbd2;--gl:#8e948b;--ga:var(--gaN)}
:is(#help,.gsheet) .dialog{width:100%;max-width:none;height:100%;max-height:none!important;overflow:hidden!important;margin:0;border-radius:0;box-shadow:none;padding:0;background:var(--gp);color:var(--gi);display:flex;flex-direction:column;font-family:system-ui,-apple-system,"Helvetica Neue",sans-serif}
@media(min-width:900px){:is(#help,.gsheet).overlay{padding:4vh 4vw}:is(#help,.gsheet) .dialog{max-width:1180px;max-height:92vh!important;margin:0 auto;border-radius:4px;box-shadow:0 30px 80px #0008}}
:is(#help,.gsheet) .cmy{height:3px;margin:0;background:var(--ga);flex:none}
:is(#help,.gsheet) .wh{padding:clamp(22px,4vw,44px) clamp(20px,4vw,48px) 6px;flex:none}
:is(#help,.gsheet) .wh small{display:block;font:600 10px ui-monospace,Menlo,monospace;letter-spacing:.24em;text-transform:uppercase;color:var(--ga);margin:0 0 10px}
:is(#help,.gsheet) .wh h1{font:300 clamp(26px,3.6vw,40px)/1.1 system-ui,-apple-system,"Helvetica Neue",sans-serif;letter-spacing:-.01em;text-transform:none;margin:0 0 10px;color:var(--gi)}
:is(#help,.gsheet) .wh p{margin:0;max-width:44em;font:14px/1.55 system-ui,-apple-system,sans-serif;color:var(--gs)}
:is(#help,.gsheet) .wh p.wmore{margin:10px 0 0;font:600 9.5px/1.5 ui-monospace,Menlo,monospace;letter-spacing:.2em}:is(#help,.gsheet) .wh p.wmore a{color:var(--ga);text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:1px}
@media(orientation:landscape) and (max-height:550px){:is(#help,.gsheet) .wh{position:relative}:is(#help,.gsheet) .wh p.wmore{position:absolute;right:clamp(20px,4vw,48px);top:clamp(22px,4vw,44px);margin:0;line-height:1}}
:is(#help,.gsheet) .wh p.wclk{margin:10px 0 0;font:600 9.5px/1.5 ui-monospace,Menlo,monospace;letter-spacing:.2em;color:var(--gs)}
:is(#help,.gsheet) .wcols{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px clamp(20px,4vw,48px) 24px;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:0 clamp(24px,3vw,44px);align-content:start;-webkit-overflow-scrolling:touch;touch-action:pan-y}
:is(#help,.gsheet) .wsec{padding:20px 0 6px;border-top:1px solid var(--gr);margin-top:14px}
:is(#help,.gsheet) h2{margin:0 0 12px;font:600 10px ui-monospace,Menlo,monospace;letter-spacing:.24em;text-transform:uppercase;color:var(--ga)}
:is(#help,.gsheet) .wfig{display:block;width:100%;max-width:300px;height:auto;margin:0 0 12px;color:var(--gf)}:is(#help,.gsheet) .wfig text{font:600 6.5px ui-monospace,Menlo,monospace;letter-spacing:.12em;fill:var(--gl)}
:is(#help,.gsheet) dl{display:grid;grid-template-columns:78px 1fr;gap:9px 14px;margin:0;font:13px/1.5 system-ui,-apple-system,sans-serif;color:var(--gt)}
:is(#help,.gsheet) dt{font:600 9.5px/1.9 ui-monospace,Menlo,monospace;letter-spacing:.14em;text-transform:uppercase;color:var(--gi);padding:0}
:is(#help,.gsheet) dd{margin:0}
:is(#help,.gsheet) dl.wkeys dt{font-size:10px;border:1px solid var(--gbr);border-radius:3px;padding:0 6px;justify-self:start;line-height:1.7;background:var(--gb)}
:is(#help,.gsheet) .wb,:is(#help,.gsheet) select{font:600 10px ui-monospace,Menlo,monospace;letter-spacing:.14em;padding:7px 13px;border-radius:99px;border:1px solid var(--gbr);background:var(--gb);color:var(--gi);cursor:pointer;vertical-align:middle}
:is(#help,.gsheet) .wb:hover{border-color:var(--gi)}:is(#help,.gsheet) input.wb{width:9em;cursor:text}:is(#help,.gsheet) .wb.wq{background:transparent}
:is(#help,.gsheet) .set{display:grid;grid-template-columns:78px 1fr;gap:10px 14px;align-items:center;border-top:0;padding:16px 0 0;margin:6px 0 0;color:var(--gi);font:600 9.5px ui-monospace,Menlo,monospace;letter-spacing:.14em}
:is(#help,.gsheet) input[type=range]{width:100%;accent-color:var(--ga)}:is(#help,.gsheet) .set select{justify-self:start}
:is(#help,.gsheet) .seg{display:inline-flex;border:1px solid var(--gbr);border-radius:99px;overflow:hidden;justify-self:start}
:is(#help,.gsheet) .seg button{border:0;background:var(--gb);padding:7px 12px;font:600 10px ui-monospace,Menlo,monospace;letter-spacing:.1em;color:var(--gi);cursor:pointer}:is(#help,.gsheet) .seg button.on{background:var(--gi);color:var(--gp)}
:is(#help,.gsheet) .stat{font:10px ui-monospace,Menlo,monospace;color:var(--gs);letter-spacing:.04em}
:is(#help,.gsheet) .wagain{margin:18px 0 0;padding:16px 0 0;border-top:1px solid var(--gr);font:13px/1.5 system-ui,sans-serif;color:var(--gt);display:flex;flex-wrap:wrap;gap:10px;align-items:center}:is(#help,.gsheet) .wagain span{display:inline-flex;flex-wrap:wrap;gap:8px;align-items:center}.wagain span[hidden]{display:none}
:is(#help,.gsheet) .wfoot{flex:none;padding:14px clamp(20px,4vw,48px) calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--gr);display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--gp)}
:is(#help,.gsheet) .wtheme{border:0;background:none;padding:6px 0;font:600 9.5px ui-monospace,Menlo,monospace;letter-spacing:.2em;color:var(--gs);cursor:pointer}:is(#help,.gsheet) .wtheme b{font-weight:600;color:var(--gi);border-bottom:1px solid var(--ga);padding-bottom:2px}
:is(#help,.gsheet) .go{border:0;border-radius:99px;background:var(--gi);color:var(--gp);font:600 11px ui-monospace,Menlo,monospace;letter-spacing:.28em;padding:15px 44px;cursor:pointer;width:auto;box-shadow:none;margin:0}
@media(max-width:600px){:is(#help,.gsheet) .wfoot .go{flex:1}:is(#help,.gsheet) dl,:is(#help,.gsheet) .set{grid-template-columns:66px 1fr}}
/* A SHEET FROM A BOARD OR A BOX (boards.js; M36): the guide's own sheet for something you walk up to and read, the daily paper at a
   newspaper box, the city's map on a board. .gsheet.overlay wears every rule above; these are its own: a line of the paper, the map. */
:is(#help,.gsheet) .wl{margin:0 0 9px;font:600 10.5px/1.6 ui-monospace,Menlo,monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--gt)}
:is(#help,.gsheet) .wmap{grid-column:1/-1;border-top:0;margin-top:0;padding:8px 0 0}:is(#help,.gsheet) .wmap canvas{display:block;width:100%;height:auto}
:is(#help,.gsheet) dl.wnum{grid-template-columns:92px 1fr}:is(#help,.gsheet) .wfoot .wb[hidden]{display:none}

/* THE DRIVING HUD: one layout for a car in every 3D game (Drift 3D's): BRAKE, SLIDE and the fourth button (GET OUT stopped, FOCUS in the
   driver cam at speed, else MORE: held or tapped it fans out) the same size on one arc round GAS; Drift's NOS has the last place on the arc.
   A page whose buttons aren't Drift's own wears it with body.drv while you're in a car (#jmp BRAKE, #b4 SLIDE, #exit the fourth). */
body.ghud.drv .act{width:86px;height:86px;font:bold 8px/1.35 ui-monospace,Menlo,monospace!important;letter-spacing:.14em;text-transform:uppercase}
body.ghud.drv #jmp,body.ghud.drv #b4,body.ghud.drv #exit{width:52px;height:52px;padding:0;font:bold 8px/1.35 ui-monospace,Menlo,monospace;letter-spacing:.14em;text-transform:uppercase}
body.ghud.drv #jmp{right:124px;bottom:calc(23px + env(safe-area-inset-bottom))}
body.ghud.drv #b4{right:119px;bottom:calc(83px + env(safe-area-inset-bottom))}
body.ghud.drv #exit{right:76px;bottom:calc(126px + env(safe-area-inset-bottom))}
@media(min-width:700px){body.ghud.drv #jmp{right:137px}body.ghud.drv #b4{right:132px}body.ghud.drv #exit{right:89px}}
@media(orientation:landscape) and (max-height:550px){body.ghud.drv .act{width:76px;height:76px}body.ghud.drv #jmp,body.ghud.drv #b4,body.ghud.drv #exit{width:52px;height:52px}
 body.ghud.drv #jmp{right:124px;bottom:11px}body.ghud.drv #b4{right:120px;bottom:66px}body.ghud.drv #exit{right:81px;bottom:105px}}
/* THE KEYS: on a computer, a toggle that puts the keys where the thumb controls were, lower right (hud3d.js keys) */
#keys3{position:fixed;z-index:60;right:max(16px,env(safe-area-inset-right));bottom:54px;width:268px;max-height:calc(100vh - 150px);overflow:auto;padding:11px 14px 9px;background:#0b0f1447;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:4px;color:#eef0e8;font:11px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;scrollbar-width:none;text-shadow:0 1px 2px #0008}
body.kbd #pad,body.kbd .act,body.kbd .b2,body.kbd .b3,body.kbd #dataT{opacity:0!important;pointer-events:none!important}
#keys3[hidden]{display:none}

#keys3 small{display:block;font-size:9px;letter-spacing:.24em;color:#eef0e88c;padding-bottom:7px;border-bottom:1px solid #ffffff1f;margin-bottom:4px}
#keys3 p{display:grid;grid-template-columns:78px 1fr;align-items:center;gap:12px;margin:0;padding:5px 0;border-bottom:1px solid #ffffff10}
#keys3 p span{display:flex;gap:3px}
#keys3 p span.ar{display:grid;grid-template-columns:repeat(3,auto);justify-content:start;gap:2px}#keys3 p span.ar kbd:nth-child(1){grid-area:1/2}#keys3 p span.ar kbd:nth-child(2){grid-area:2/1}#keys3 p span.ar kbd:nth-child(3){grid-area:2/2}#keys3 p span.ar kbd:nth-child(4){grid-area:2/3}
#keys3 p i{font-style:normal;color:#eef0e8c4}
#keys3 kbd{display:inline-block;min-width:11px;padding:1px 5px;text-align:center;font:10px/16px ui-monospace,SFMono-Regular,Menlo,monospace;color:#fff;
 border:1px solid #ffffff59;border-bottom-width:2px;border-radius:3px;background:#ffffff0d}
#keys3 small.k3f{border:0;margin:6px 0 0;padding:0;text-transform:none;letter-spacing:.06em;font-size:9.5px}
#keys3 small.k3f kbd{font-size:9px;line-height:13px;padding:0 4px;margin-right:2px}
#keysBtn{position:fixed;z-index:61;width:34px;height:24px;padding:0;display:grid;place-items:center;border:0;border-radius:0;background:none;color:#f4f1e4;opacity:.62;filter:drop-shadow(0 1px 0 #0009);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:opacity .2s}
#keysBtn:hover,#keysBtn.on{opacity:1}#keysBtn svg{width:22px;height:22px}
#keysBtn[hidden]{display:none}

/* the radio's dial in MORE (Amin, 15 Nov 2026): a ring that fills with the level, a pointer that turns; drag round it or up */
#fan3 .fi.dial{background:radial-gradient(circle,#fdfaf3 0 62%,transparent 63%),conic-gradient(from 225deg,#3cf0ff 0 calc(var(--v,0)*270deg),#d8cfbf calc(var(--v,0)*270deg) 270deg,transparent 270deg);color:#5a3a2e}
#fan3 .fi.dial::after{content:'';position:absolute;left:50%;top:3px;width:2px;height:8px;margin-left:-1px;background:#1b1210;transform-origin:1px 21px;transform:rotate(calc(-135deg + var(--v,0)*270deg))}
body.night #fan3 .fi.dial{background:radial-gradient(circle,#1b2236 0 62%,transparent 63%),conic-gradient(from 225deg,#3cf0ff 0 calc(var(--v,0)*270deg),#e6dfc433 calc(var(--v,0)*270deg) 270deg,transparent 270deg);color:#e6dfc4}
body.night #fan3 .fi.dial::after{background:#e6dfc4}
/* MORE flashes until you've found the radio in it */
#hud .b3.rhint,.b3.rhint{animation:b3want 1.1s ease-in-out infinite}@media(prefers-reduced-motion:reduce){#hud .b3.rhint,.b3.rhint{animation:none;box-shadow:0 0 0 2px #3cf0ff88}}

/* THE RADIO's chip (16 Nov 2026): while the radio's on in a car, glass with a blue glow at the top: the station, the song, ‹ › and NEXT */
#radio3{position:absolute;left:22px;bottom:calc(150px + env(safe-area-inset-bottom));z-index:5;display:flex;align-items:center;gap:2px;padding:3px;border-radius:4px;
 background:#0b1a2a3a;box-shadow:0 0 16px #3cf0ff4d,inset 0 0 12px #3cf0ff1f;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#e8fbff;
 font:9px/1.25 ui-monospace,Menlo,monospace;letter-spacing:.12em;opacity:0;pointer-events:none;transform:translateY(6px);transition:opacity .3s,transform .3s,width .22s ease;width:40px;box-sizing:border-box;overflow:hidden;user-select:none;-webkit-user-select:none}
#radio3.on{opacity:1;transform:none;pointer-events:auto;animation:radio3g 3.2s ease-in-out infinite}#radio3.x{width:236px}
@keyframes radio3g{50%{box-shadow:0 0 24px #3cf0ff6e,inset 0 0 14px #3cf0ff2e}}
#radio3 .rp,#radio3 .rt,#radio3 .rn,#radio3 .rs{display:none}#radio3.x .rp,#radio3.x .rt,#radio3.x .rn,#radio3.x .rs{display:flex}
#radio3 .rt{flex:1;flex-direction:column;min-width:0;padding:0 5px;text-align:center;cursor:pointer}
#radio3 small,#radio3 b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#radio3 small{font-size:7px;color:#3cf0ff;opacity:.85}#radio3 b{font-weight:bold;text-shadow:0 0 6px #3cf0ff66}
#radio3 button{all:unset;cursor:pointer;min-width:22px;height:28px;display:flex;align-items:center;justify-content:center;font:bold 13px/1 ui-monospace,Menlo,monospace;color:#bff6ff;border-radius:3px;touch-action:manipulation}
#radio3 button:active{background:#3cf0ff2e}#radio3 .rs{font-size:7px;letter-spacing:.14em;padding:0 5px}
#radio3 .ri{min-width:34px;width:34px;flex:none;gap:2px;align-items:flex-end;padding-bottom:9px;box-sizing:border-box;height:34px;position:relative}
#radio3 .ri em{display:block;width:3px;height:6px;background:#3cf0ff;box-shadow:0 0 5px #3cf0ff;animation:radio3e .9s ease-in-out infinite}
#radio3 .ri em:nth-child(2){animation-delay:-.3s}#radio3 .ri em:nth-child(3){animation-delay:-.6s}#radio3 .ri em:nth-child(4){animation-delay:-.15s}
#radio3 .ri::after{content:attr(data-s);position:absolute;right:2px;top:2px;font:bold 7px/1 ui-monospace,Menlo,monospace;color:#3cf0ff;opacity:.8}
@keyframes radio3e{0%,100%{height:4px}50%{height:14px}}
@media (prefers-reduced-motion:reduce){#radio3.on,#radio3 .ri em{animation:none}}
/* ACCESSORIES: Splat's weapon button for a car (hud3d.js acc): the items slide up out of it and stay out till it's tapped again */
#acc3{position:absolute;right:20px;bottom:calc(136px + env(safe-area-inset-bottom));width:44px;height:44px;border-radius:50%;border:1px solid #1b1210;background:#fdfaf3ee;color:#5a3a2e;display:flex;align-items:center;justify-content:center;padding:0;pointer-events:auto;box-shadow:0 3px 0 #3a241040;z-index:5;touch-action:none;transition:transform .15s}
#acc3.hi{bottom:calc(193px + env(safe-area-inset-bottom))}#acc3[hidden]{display:none}#acc3.open{background:#1b1210;color:#3cf0ff}
#acc3 i{position:absolute;right:-4px;top:-4px;min-width:13px;height:13px;border-radius:2px;line-height:13px!important;background:#3cf0ff;color:#0b1424;font:bold 8px/15px ui-monospace,Menlo,monospace;font-style:normal;text-align:center}#acc3 i[hidden]{display:none}
#acc3.remind,#acc3.rhint{animation:fan3r 1.1s ease-in-out infinite}
@media(min-width:700px){#acc3{right:33px}}@media(orientation:landscape) and (max-height:550px){#acc3{right:30px;bottom:114px}#acc3.hi{bottom:170px}}
#acc3c{position:absolute;z-index:5;display:flex;flex-direction:column-reverse;gap:8px;pointer-events:none}#acc3c.row{flex-direction:row-reverse}
#acc3c .aw{position:relative;opacity:0;transform:translateY(24px) scale(.6);transition:transform .2s cubic-bezier(.3,1.4,.5,1),opacity .14s}
#acc3c.row .aw{transform:translateX(24px) scale(.6)}#acc3c.on .aw{opacity:1;transform:none}#acc3c.on .ai{pointer-events:auto}
#acc3c .ai{position:relative;width:52px;height:52px;border-radius:50%;border:1px solid #1b1210;background:#fdfaf3ee;color:#5a3a2e;font:bold 8px/1.15 ui-monospace,Menlo,monospace;letter-spacing:.1em;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:0;box-shadow:0 3px 0 #3a241040;user-select:none;-webkit-user-select:none;touch-action:none}
#acc3c .ai small{font-size:6.5px;opacity:.65;letter-spacing:.06em}
#acc3c .ai.cur{background:#3cf0ff;color:#0b1424;border-color:#3cf0ff;box-shadow:0 0 14px #3cf0ff99,0 3px 0 #3a241040}#acc3c .ai.dim{opacity:.35;pointer-events:none}
#acc3c .ai.dial{background:radial-gradient(circle,#fdfaf3 0 62%,transparent 63%),conic-gradient(from 225deg,#3cf0ff 0 calc(var(--v,0)*270deg),#d8cfbf calc(var(--v,0)*270deg) 270deg,transparent 270deg);color:#5a3a2e;box-shadow:0 3px 0 #3a241040}
#acc3c .ai.dial.cur{box-shadow:0 0 14px #3cf0ff99,0 3px 0 #3a241040}
#acc3c .ai.dial::after{content:'';position:absolute;left:50%;top:3px;width:2px;height:8px;margin-left:-1px;background:#1b1210;transform-origin:1px 23px;transform:rotate(calc(-135deg + var(--v,0)*270deg))}
#acc3c .an{position:absolute;right:62px;top:50%;transform:translateY(-50%);font:bold 22px/1 ui-monospace,Menlo,monospace;color:#3cf0ff;text-shadow:0 0 10px #3cf0ff,0 1px 2px #0008;opacity:0;transition:opacity .25s;pointer-events:none;white-space:nowrap}
#acc3c .aw.turn .an{opacity:1}#acc3c.row .an{right:auto;left:50%;top:auto;bottom:62px;transform:translateX(-50%)}
body.night #acc3,body.night #acc3c .ai{background:#1b2236ee;color:#e6dfc4;border-color:#e6dfc455}body.night #acc3.open{color:#3cf0ff}
body.night #acc3c .ai.cur{background:#3cf0ff;color:#0b1424;border-color:#3cf0ff}
body.night #acc3c .ai.dial{background:radial-gradient(circle,#1b2236 0 62%,transparent 63%),conic-gradient(from 225deg,#3cf0ff 0 calc(var(--v,0)*270deg),#e6dfc433 calc(var(--v,0)*270deg) 270deg,transparent 270deg);color:#e6dfc4}
body.night #acc3c .ai.dial::after{background:#e6dfc4}

/* the accessories button is an equalizer: still while the radio's off, moving while it plays; its count a small square (Amin, 16 Nov 2026) */
#acc3 .eq{display:flex;align-items:flex-end;gap:2px;height:16px}#acc3 .eq em{display:block;width:3px;background:currentColor;border-radius:1px;height:6px}
#acc3 .eq em:nth-child(2){height:12px}#acc3 .eq em:nth-child(3){height:9px}#acc3 .eq em:nth-child(4){height:14px}
#acc3.play{color:#0b8fa8}body.night #acc3.play{color:#3cf0ff}#acc3.play .eq em{animation:acc3e .9s ease-in-out infinite alternate}
#acc3.play .eq em:nth-child(2){animation-duration:.62s}#acc3.play .eq em:nth-child(3){animation-duration:.78s;animation-delay:-.3s}#acc3.play .eq em:nth-child(4){animation-duration:.55s;animation-delay:-.2s}
@keyframes acc3e{0%{height:3px}100%{height:16px}}@media(prefers-reduced-motion:reduce){#acc3.play .eq em{animation:none}}
/* THE GAUGES: digital or the GT dash, bottom middle between the thumbs; the driver cam's speedometer steps aside for them */
#dash3{position:fixed;left:50%;bottom:196px;transform:translateX(-50%);pointer-events:none;z-index:2}#dash3[hidden]{display:none}
body.dash3 #speedo{display:none!important}body.intro #dash3,body.intro #rec3{display:none!important}
#rec3{position:absolute;left:50%;top:calc(58px + env(safe-area-inset-top));transform:translateX(-50%);font:bold 10px/1 ui-monospace,Menlo,monospace;letter-spacing:.16em;color:#ff4a4a;text-shadow:0 0 6px #ff4a4a99,0 1px 2px #000a;pointer-events:none;z-index:4}
#rec3::before{content:'';display:inline-block;width:7px;height:7px;margin-right:6px;background:#ff4a4a;border-radius:50%;animation:rec3b 1s steps(2) infinite}#rec3[hidden]{display:none}@keyframes rec3b{50%{opacity:.15}}
/* the recorder's sheet, in the guide's language */
#rec3s{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;background:#0b142466;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);pointer-events:auto;padding:14px}
#rec3s>section{background:#fbf7ef;color:#1b1210;max-width:760px;width:100%;max-height:calc(100% - 20px);overflow:auto;padding:22px 26px 18px;font:12px/1.45 ui-monospace,Menlo,monospace}
#rec3s small{font-size:9px;letter-spacing:.18em;color:#b8462e}#rec3s h1{font:300 28px/1.1 ui-monospace,Menlo,monospace;margin:6px 0 4px}#rec3s>section>p{margin:0 0 12px;color:#6a5a4e;border-bottom:1px solid #1b121022;padding-bottom:10px}
#rec3s .rc{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:4px 20px}#rec3s h2{font-size:9px;letter-spacing:.18em;color:#b8462e;margin:8px 0 4px;padding-bottom:3px;border-bottom:1px solid #1b121022;font-weight:bold}
#rec3s dl{display:grid;grid-template-columns:1fr auto;margin:0;gap:2px 10px}#rec3s dt{color:#6a5a4e}#rec3s dd{margin:0;text-align:right}#rec3s ol{margin:4px 0 0;padding-left:18px}#rec3s li{margin:3px 0}
#rec3s .rs{font-size:9px;letter-spacing:.14em;color:#0b8fa8;min-height:12px;margin:8px 0 0}#rec3s footer{display:flex;gap:10px;margin-top:8px}
#rec3s button{flex:1;font:bold 10px/1 ui-monospace,Menlo,monospace;letter-spacing:.14em;padding:12px 8px;border:1px solid #1b1210;background:none;color:#1b1210;border-radius:3px}#rec3s .go{background:#1b1210;color:#3cf0ff}#rec3s button:disabled{opacity:.5}
body.night #rec3s>section{background:#141b2c;color:#e6dfc4}body.night #rec3s>section>p,body.night #rec3s dt{color:#a59e88}body.night #rec3s button{border-color:#e6dfc4;color:#e6dfc4}body.night #rec3s .go{background:#3cf0ff;color:#0b1424;border-color:#3cf0ff}
#radio3 .ri{touch-action:none;cursor:grab}#radio3.drag{transition:none!important;opacity:.85}#radio3.drag .ri{cursor:grabbing}
/* the focus spot: a clear ring on the sharp part; drag it to what you want to see, hold it to draw in */
#fspot{position:absolute;width:112px;height:112px;margin:-56px 0 0 -56px;border-radius:50%;border:1px solid #ffffffcc;box-shadow:0 0 0 1px #0004,0 0 18px #3cf0ff55,inset 0 0 18px #3cf0ff33;pointer-events:auto;touch-action:none;z-index:3;cursor:grab;transition:width .25s,height .25s,margin .25s,border-color .2s}
#fspot::after{content:'';position:absolute;left:50%;top:50%;width:5px;height:5px;margin:-2.5px 0 0 -2.5px;background:#fff;box-shadow:0 0 6px #3cf0ff}
#fspot.grab{cursor:grabbing;border-color:#3cf0ff}#fspot.hold{width:72px;height:72px;margin:-36px 0 0 -36px;border-color:#3cf0ff;box-shadow:0 0 0 1px #0004,0 0 26px #3cf0ffaa,inset 0 0 14px #3cf0ff66}#fspot[hidden]{display:none}
body.intro #fspot{display:none!important}

/* GT is PRO (Amin, 16 Nov 2026: "the gas pedal even gets more aggressive with textures, grip … goes into Pro mode"): while the GT dash is
   up the gas pedal is a knurled metal pedal, the big dash sits at the foot between the thumbs on a phone on its side */
body.dash3pro #gas,body.dash3pro #act{background:repeating-linear-gradient(45deg,#0000 0 3px,#ffffff14 3px 4px),repeating-linear-gradient(-45deg,#0000 0 3px,#ffffff14 3px 4px),radial-gradient(circle at 50% 35%,#3a3f46,#0b0d10 70%)!important;box-shadow:inset 0 0 0 2px #0b0d10,inset 0 0 0 4px #9aa3ad,0 3px 0 #0006!important;letter-spacing:.2em}
body.dash3pro #gas::after,body.dash3pro #act::after{content:'PRO';position:absolute;left:0;right:0;bottom:12px;font:700 7px/1 ui-monospace,Menlo,monospace;letter-spacing:.25em;color:#3cf0ff;text-align:center;pointer-events:none}
/* JUST GAUGES: everything goes but the gauges and SHOW ALL; the controls work where they were and echo while pressed */
body.solo3 #head,body.solo3 #cube,body.solo3 #cubeHome,body.solo3 #homeArrow,body.solo3 #status,body.solo3 #rcol,body.solo3 #mph,body.solo3 #gread,body.solo3 #mmap,body.solo3 #credit,body.solo3 #radio3,body.solo3 #rec3,body.solo3 #fspot,body.solo3 #skyc{opacity:0!important;pointer-events:none!important;transition:opacity .6s}
body.solo3 #wcontrols{background:none!important}
body.solo3 #wcontrols>*,body.solo3 #acc3{opacity:0!important;animation:none!important;transition:opacity .7s .12s}
body.solo3 #wcontrols>.echo3,body.solo3 #acc3.echo3,body.solo3 #acc3.open{opacity:.36!important;transition:none}
body.solo3 #acc3c{opacity:.8}
#solo3x{position:fixed;left:50%;transform:translateX(-50%);z-index:3;background:none;border:0;padding:8px 12px;font:700 8px/1 ui-monospace,Menlo,monospace;letter-spacing:.24em;color:#fff;opacity:.5;text-shadow:0 1px 2px #000a;pointer-events:auto;cursor:pointer}#solo3x[hidden]{display:none}
body:not(.night) #solo3x{color:#10131a;text-shadow:none}
