:root{--ink:#ffe9b8;--panel:#140c1e9e;--edge:#ffe9b880;--green:#85ec00}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{color:var(--ink);background:#140c1e;margin:0;font:700 14px/1.2 Courier New,ui-monospace,Menlo,monospace}.view-game,.view-game body{overscroll-behavior:none;-webkit-user-select:none;user-select:none;touch-action:none;height:100%;overflow:hidden}#play{display:none}.view-game #play{display:block}.view-game #skip{display:none}#game{width:100%;height:100%;image-rendering:pixelated;display:block;position:fixed;inset:0}#dash{top:calc(12px + env(safe-area-inset-top));left:calc(12px + env(safe-area-inset-left));background:var(--panel);border:2px solid var(--edge);letter-spacing:1px;padding:4px 10px;position:fixed}#speed{color:var(--green);font-size:26px}#mute{top:calc(12px + env(safe-area-inset-top));right:calc(12px + env(safe-area-inset-right));background:var(--panel);border:2px solid var(--edge);color:var(--ink);font:inherit;cursor:pointer;z-index:30;padding:8px 10px;position:fixed}#hud-skip{top:calc(56px + env(safe-area-inset-top));right:calc(12px + env(safe-area-inset-right));background:var(--panel);border:2px solid var(--edge);color:var(--ink);padding:8px 10px;text-decoration:none;position:fixed}#hint{left:50%;top:calc(16px + env(safe-area-inset-top));background:var(--panel);text-align:center;max-width:min(60vw,520px);padding:6px 12px;transition:opacity .6s;position:fixed;transform:translate(-50%)}#hint.gone{opacity:0}.for-touch,.touch .for-keys{display:none}.touch .for-touch{display:inline}#radio{top:calc(56px + env(safe-area-inset-top));left:calc(12px + env(safe-area-inset-left));border:2px solid var(--edge);background:#140c1ed1;grid-template-columns:38px 1fr 38px;width:160px;display:grid;position:fixed}#radio button{height:44px;color:var(--ink);font:inherit;cursor:pointer;touch-action:manipulation;background:0 0;border:0;padding:0;font-size:18px}#radio button:active{background:var(--green);color:#140c1e}#radio-face{min-width:0;padding-top:3px}#radio-read{white-space:nowrap;flex-direction:column;align-items:center;line-height:1.05;display:flex}#radio-freq{color:#ffb020;font-size:15px}#radio-name{font-size:11px}#radio-scale{background:repeating-linear-gradient(90deg, var(--edge) 0 1px, transparent 1px 5%);height:7px;margin-top:2px;position:relative}#radio-needle{background:#ff4030;width:2px;transition:left .25s;position:absolute;top:0;bottom:0}#radio-note,#radio-site{border-top:1px solid var(--edge);text-align:center;white-space:nowrap;grid-column:1/-1;min-height:19px;margin:0;padding:3px 4px;font-size:10px;overflow:hidden}#radio-site{background:var(--green);color:#050a05;touch-action:manipulation;padding:7px 4px;text-decoration:none}#radio-note[hidden],#radio-site[hidden]{display:none}#talk{left:50%;top:calc(60px + env(safe-area-inset-top));border:2px solid var(--green);width:min(62vw,460px,100vw - 360px);color:var(--ink);pointer-events:none;background:#050a05d1;align-items:center;gap:8px;padding:4px 10px 4px 4px;display:flex;position:fixed;transform:translate(-50%)}#talk[hidden]{display:none}#talk img{width:48px;height:48px;image-rendering:pixelated;flex:none}#talk p{margin:0;font-size:14px;line-height:1.25}#talk b{color:var(--green);letter-spacing:2px;font-size:11px}.said-unsaid{color:#0000}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}#stop-card,#back-room{z-index:20;-webkit-overflow-scrolling:touch;touch-action:pan-y;color:var(--green);-webkit-user-select:text;user-select:text;background:#050a05;position:fixed;inset:0;overflow-y:auto}#stop-card[hidden],#back-room[hidden]{display:none}#stop-card:before,#back-room:before{content:"";pointer-events:none;background:radial-gradient(#0000 62%,#0000009e 100%),repeating-linear-gradient(#00000042 0 2px,#0000 2px 4px);position:fixed;inset:0}#stop-screen,#back-screen{max-width:620px;padding:calc(56px + env(safe-area-inset-top)) calc(20px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(20px + env(safe-area-inset-left));margin:0 auto;position:relative}#stop-card h2,#back-room h2{letter-spacing:1px;text-transform:uppercase;margin:0 0 14px;font-size:28px;line-height:1.05}#stop-card h3,#back-room h3{letter-spacing:2px;opacity:.7;margin:0 0 4px;font-size:13px}#stop-card p,#back-room p{margin:0 0 16px;font-size:16px;font-weight:400;line-height:1.35}.viral-says{color:var(--ink);align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.viral-says img{width:72px;height:72px;image-rendering:pixelated;flex:none}#stop-card .viral-says p,#back-room .viral-says p{margin:0}.viral-says b{color:var(--green);letter-spacing:2px;font-size:13px}#stop-results[hidden]{display:none}#stop-results-list{margin:0 0 16px;padding:0;font-size:16px;list-style:none}.stop-actions{flex-wrap:wrap;gap:8px;display:flex}.stop-actions a,.stop-actions button{text-align:center;border:2px solid var(--green);min-height:48px;color:var(--green);font:inherit;cursor:pointer;background:0 0;flex:170px;justify-content:center;align-items:center;padding:6px 8px;text-decoration:none;display:flex}.stop-actions a[hidden],.stop-actions button[hidden]{display:none}#stop-audit,#stop-backroom,#back-ask{background:var(--green);color:#050a05}#stop-backroom{flex-basis:100%}#stop-stamp{color:var(--ink);align-items:center;gap:12px;margin-bottom:14px;display:flex}#stop-card #stop-stamp-text{letter-spacing:1px;margin:0;font-size:14px;font-weight:700}#stop-stamp-mark,#punch-slots .mark{letter-spacing:1px;border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:700;display:flex}#stop-stamp-mark{color:#ff4030;border:3px solid #ff4030;width:44px;height:44px;font-size:15px;transform:rotate(-12deg)}#stop-stamp-mark.slam{animation:.2s cubic-bezier(.5,0,1,.6) both slam}@keyframes slam{0%{opacity:0;transform:rotate(-12deg)scale(3)}to{opacity:1;transform:rotate(-12deg)scale(1)}}#hud-stamps{top:calc(100px + env(safe-area-inset-top));right:calc(12px + env(safe-area-inset-right));background:var(--panel);border:2px solid var(--edge);color:var(--ink);font:inherit;cursor:pointer;touch-action:manipulation;padding:8px 10px;position:fixed}#hud-stamps b{color:var(--green)}#hud-stamps.full{border-color:var(--green)}#punch-card{z-index:20;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:calc(56px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left));background:#140c1e;position:fixed;inset:0;overflow-y:auto}#punch-card[hidden]{display:none}#punch-paper{color:#2a1c14;background:#e8dcc0;max-width:620px;margin:0 auto;padding:14px}#punch-paper h2{letter-spacing:2px;margin:0 0 12px;font-size:22px}#punch-slots{grid-template-columns:repeat(2,1fr);gap:10px 8px;margin:0 0 12px;padding:0;list-style:none;display:grid}#punch-slots li{text-align:center;flex-direction:column;align-items:center;gap:4px;font-size:12px;font-weight:400;line-height:1.15;display:flex}#punch-slots .mark{border:2px dashed #8a7a64;width:42px;height:42px;font-size:14px}#punch-slots .stamped{font-weight:700}#punch-slots .stamped .mark{color:#b2301f;border:3px solid #b2301f;transform:rotate(-12deg)}#punch-slots .stamped:nth-child(3n) .mark{transform:rotate(9deg)}#punch-slots .stamped:nth-child(3n+1) .mark{transform:rotate(-4deg)}#punch-status{margin:0 0 12px;font-size:13px;line-height:1.3}.punch-actions{flex-wrap:wrap;gap:8px;display:flex}.punch-actions button{color:#2a1c14;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:2px solid #2a1c14;flex:150px;padding:6px 8px}.punch-actions button[hidden]{display:none}#punch-close{color:#e8dcc0;background:#2a1c14}@media (width>=560px){#punch-slots{grid-template-columns:repeat(4,1fr)}}@media (height<=460px){#stop-screen{max-width:760px;padding-top:calc(12px + env(safe-area-inset-top));padding-bottom:calc(12px + env(safe-area-inset-bottom))}#stop-card h2,#back-room h2{margin-bottom:8px;padding-right:110px;font-size:22px}#stop-stamp{margin-bottom:10px}#stop-stamp-mark{width:36px;height:36px;font-size:13px}#punch-card{padding-top:calc(12px + env(safe-area-inset-top))}#punch-paper{max-width:min(620px,100% - 96px);margin-left:0}#stop-card p,#back-room p{margin-bottom:10px;font-size:14px}.viral-says{margin-bottom:10px;padding-right:110px}.viral-says img{width:56px;height:56px}}#touch{display:none}.touch #touch{display:block}#steer-zone{touch-action:none;width:50%;height:62%;position:fixed;bottom:0;left:0}#steer-track{left:calc(24px + env(safe-area-inset-left));bottom:calc(44px + env(safe-area-inset-bottom));background:var(--panel);border:2px solid var(--edge);justify-content:center;align-items:center;width:170px;height:64px;display:flex;position:absolute}#steer-knob{background:var(--ink);opacity:.75;width:52px;height:52px}#steer-knob.live{opacity:1;background:var(--green)}.pedal{background:var(--panel);border:2px solid var(--edge);color:var(--ink);touch-action:none;justify-content:center;align-items:center;display:flex;position:fixed}.pedal.down{background:var(--green);color:#140c1e}#btn-gas{right:calc(20px + env(safe-area-inset-right));bottom:calc(36px + env(safe-area-inset-bottom));width:104px;height:104px;font-size:18px}#btn-brake{right:calc(136px + env(safe-area-inset-right));bottom:calc(36px + env(safe-area-inset-bottom));width:78px;height:78px}#btn-drift{right:calc(20px + env(safe-area-inset-right));bottom:calc(152px + env(safe-area-inset-bottom));width:104px;height:56px}@media (width<=700px){#hint{top:calc(232px + env(safe-area-inset-top));max-width:80vw}#talk{top:calc(136px + env(safe-area-inset-top));width:calc(100vw - 24px)}#radio{width:calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right));grid-template-columns:56px 1fr 56px}#hud-skip{top:calc(12px + env(safe-area-inset-top));right:calc(118px + env(safe-area-inset-right))}#hud-stamps{top:calc(12px + env(safe-area-inset-top));right:calc(180px + env(safe-area-inset-right));padding:8px 4px}#hud-stamps .wide{display:none}#steer-track{left:calc(14px + env(safe-area-inset-left));width:136px}}@media (width<=340px){#dash{padding:4px 6px}}@media (width<=700px) and (height<=460px){#radio{grid-template-columns:38px 1fr 38px;width:160px}#hint,#talk{width:auto;max-width:none;left:184px;right:12px;transform:none}#hint{top:calc(56px + env(safe-area-inset-top))}#talk{top:calc(92px + env(safe-area-inset-top))}}#intro{z-index:20;color:var(--green);cursor:pointer;background:#050a05;position:fixed;inset:0;overflow:hidden}#intro[hidden]{display:none}#intro:before{content:"";z-index:2;pointer-events:none;background:radial-gradient(#0000 55%,#000000b8 100%),repeating-linear-gradient(#0000004d 0 1px,#0000 1px 3px);position:absolute;inset:0}#intro-screen{padding:calc(16px + env(safe-area-inset-top)) calc(24px + env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) calc(24px + env(safe-area-inset-left));text-align:center;text-shadow:0 0 8px #85ec00a6;flex-direction:column;justify-content:center;align-items:center;gap:clamp(10px,4vh,28px);display:flex;position:absolute;inset:0}#intro h1{letter-spacing:2px;margin:0;font-size:clamp(36px,min(12vw,16vh),84px);line-height:.95}#intro-boot p{max-width:34ch;color:var(--ink);text-shadow:none;margin:clamp(8px,2.5vh,18px) auto 0;font-size:14px;line-height:1.35}#intro-term{width:min(100%,28ch);min-height:8.4em;font:inherit;text-align:left;white-space:pre-wrap;margin:0;font-size:16px;line-height:1.4}#intro-term[hidden],#intro-boot[hidden]{display:none}#intro-action{letter-spacing:1px;margin:0;font-size:18px}.cursor{vertical-align:-.12em;background:currentColor;width:.6em;height:1em;margin-left:6px;animation:1s steps(2,jump-none) infinite blink;display:inline-block}@keyframes blink{0%{opacity:1}to{opacity:0}}#intro-skip{border:2px solid var(--edge);min-height:44px;color:var(--ink);text-shadow:none;align-items:center;padding:0 14px;text-decoration:none;display:flex}.shutter,.beam,.flash{pointer-events:none;display:none;position:absolute;left:0;right:0}.shutter{z-index:3;background:#000;height:50.5%}.shutter.top{top:0}.shutter.bottom{bottom:0}.beam{z-index:4;background:#fff;height:4px;top:calc(50% - 2px);box-shadow:0 0 24px 6px #c8ffaae6}.flash{z-index:1;background:#dfffc8;inset:0}#intro.on{pointer-events:none;background:0 0}#intro.on #intro-screen{display:none}#intro.on:before{animation:1.1s ease-in forwards fade-out}#intro.on .shutter,#intro.on .beam,#intro.on .flash{display:block}#intro.on .shutter.top{animation:.4s ease-in .14s forwards open-up}#intro.on .shutter.bottom{animation:.4s ease-in .14s forwards open-down}#intro.on .beam{animation:.3s ease-out .1s forwards beam}#intro.on .flash{opacity:0;animation:1.1s linear .3s forwards flicker}@keyframes open-up{to{transform:translateY(-100%)}}@keyframes open-down{to{transform:translateY(100%)}}@keyframes beam{to{opacity:0;transform:scaleY(0)}}@keyframes flicker{0%{opacity:.55}18%{opacity:.05}40%{opacity:.3}65%{opacity:0}to{opacity:0}}@keyframes fade-out{to{opacity:0}}@media (prefers-reduced-motion:reduce){.cursor,#stop-stamp-mark.slam{animation:none}#intro.on{background:#050a05;animation:.35s linear forwards fade-out}#intro.on:before{animation:none}#intro.on .shutter,#intro.on .beam,#intro.on .flash{display:none}}#skip{max-width:640px;padding:calc(24px + env(safe-area-inset-top)) 16px calc(40px + env(safe-area-inset-bottom));margin:0 auto;font-size:16px;font-weight:400;line-height:1.5}#skip h1{color:var(--green);margin:0 0 12px;font-size:32px;line-height:1.1}#skip h2{color:var(--green);margin:32px 0 12px;font-size:20px}#skip h3{margin:0 0 4px;font-size:16px}#skip p{margin:0 0 8px}#skip ul{margin:0;padding:0;list-style:none}#skip li{border-top:1px solid #ffe9b840;padding:12px 0}#skip a{color:var(--green);overflow-wrap:anywhere}#skip-note{border:2px solid var(--edge);padding:10px 12px}#skip-note[hidden],#skip-play[hidden],html:not(.view-list) #skip-play{display:none}
