:root{font-family:Arial,Helvetica,sans-serif;color:#e9eee9;background:#080d12;--mint: #b6f5dd;--muted: #8b999e;--line: #283239;--panel: #10191f;--orange: #ffad6b;color-scheme:dark;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0}button,a,input,select{font:inherit}button,a,summary,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffb56b;outline-offset:5px}a{color:inherit;text-decoration:none}a:hover{color:var(--mint)}button{border:0}button,input,select{border-radius:3px}p{line-height:1.65}h1,h2,h3,p{margin-top:0}[hidden]{display:none!important}.muted{color:var(--muted)}.site-header{height:84px;display:flex;align-items:center;padding:0 4%;gap:30px;border-bottom:1px solid var(--line)}.wordmark{font-weight:800;letter-spacing:-.8px;font-size:19px;display:flex;align-items:center;gap:6px;white-space:nowrap}.logo-mark{color:var(--mint);font-size:36px;margin-right:9px;line-height:1}.version{font:10px monospace;letter-spacing:1px;align-self:start;margin-top:5px;color:var(--muted);margin-left:8px}.site-header nav{display:flex;gap:30px;margin:auto;font-size:12px;color:#b6c1c3}.offline-tag{font:10px monospace;letter-spacing:1px;white-space:nowrap;color:var(--mint)}.offline-tag i,.mission-pill i,.status-dot{display:inline-block;width:6px;height:6px;background:var(--mint);border-radius:50%;margin-right:8px}.eyebrow{font:10px/1.6 monospace;letter-spacing:2px;color:var(--mint);margin-bottom:22px}#game-shell{position:relative;isolation:isolate;height:min(790px,calc(100svh - 84px));min-height:610px;overflow:hidden;background:#12191b url(/poster.webp) center 55% / cover;outline:0}#game-shell:fullscreen{height:100svh;min-height:0;width:100vw}#viewport{position:absolute;inset:0}#viewport canvas{display:block;width:100%;height:100%;touch-action:none}.poster-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#050a0ee8,#0a101a11 70%),linear-gradient(0deg,#060b10cc,transparent 60%)}.playing .poster-shade{display:none}.landing{height:100%;position:relative;display:flex;align-items:center;justify-content:space-between;padding:5%;gap:5%}.hero-copy{max-width:58%;padding-bottom:25px}h1{font-size:clamp(42px,5.3vw,87px);line-height:.98;letter-spacing:-4px;margin-bottom:28px;font-weight:900}h1 em{font-style:normal;color:var(--mint)}.hero-desc{color:#c1cacb;font-size:16px;line-height:1.6;margin-bottom:24px}.hero-tags{display:flex;gap:10px}.hero-tags span{font:9px monospace;letter-spacing:1px;border:1px solid #8b999e66;padding:7px 10px}.launch-card{width:360px;max-width:40%;padding:26px;background:#0d151beb;border:1px solid #65757570;box-shadow:0 16px 70px #0007;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.card-top{display:flex;justify-content:space-between;font:9px monospace;letter-spacing:1.5px;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:22px}.launch-card h2{font-size:20px;line-height:1.3;letter-spacing:-.5px;margin-bottom:22px}.mode-select{display:grid;gap:8px}.mode{display:flex;align-items:center;text-align:left;gap:12px;width:100%;padding:16px 12px;background:#141e25;color:#b8c2c7;border:1px solid #354249}.mode strong{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.mode small{display:block;font-size:10px;color:var(--muted);line-height:1.4}.mode-symbol{font-size:26px;width:26px;line-height:1}.mode.selected{border-color:var(--mint);color:var(--mint);background:#b6f5dd0a}.radio-dot{margin-left:auto;width:12px;height:12px;min-width:12px;border:1px solid #647272;border-radius:50%}.selected .radio-dot{border:3px solid #24483e;background:var(--mint);outline:1px solid var(--mint)}.difficulty-row{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);margin:18px 0}.difficulty-row select{padding:7px 10px;background:#18232a;border:1px solid #3b484f;font-size:11px}.primary{display:flex;align-items:center;justify-content:space-between;width:100%;padding:19px 20px;background:var(--mint);color:#142a24;font:700 12px monospace;letter-spacing:1px;transition:background .15s}.primary:hover{background:#d7ffed}.primary span{font-size:22px;line-height:.8}.launch-note{text-align:center;font:10px/1.8 monospace;color:var(--muted);margin:16px 0 0}.best-start{font:10px monospace;color:var(--mint);text-align:center;margin:12px 0 0}.surface-footer{position:absolute;bottom:26px;left:5%;right:5%;display:flex;justify-content:space-between;gap:16px;font:9px monospace;letter-spacing:1px;color:#bcc3bf99}.under-game{display:flex;align-items:center;justify-content:space-between;padding:24px 4%;gap:25px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font:10px monospace;color:var(--muted)}.under-game>span{white-space:nowrap;color:var(--mint);font-size:9px}.under-game p{margin:0;font-size:10px;max-width:480px}.under-game a{white-space:nowrap}.content-section{padding:90px 7%;display:grid;grid-template-columns:1fr 1fr;gap:10%;border-bottom:1px solid var(--line)}.section-heading h2,.section-caption h2,.faq-section>h2{font-size:clamp(29px,3vw,46px);line-height:1.12;letter-spacing:-1.8px;font-weight:600}.intro-text p{font-size:14px;color:#9fadb3;margin-bottom:18px}.intro-text strong{color:#e0e8e5;font-weight:500}.intro-text a{color:var(--mint);border-bottom:1px solid #b6f5dd66}.factions-section{padding:75px 7%;background:#0c1419}.section-caption{display:flex;justify-content:space-between;align-items:start;margin-bottom:38px;gap:40px}.section-caption h2{font-size:32px;margin:0;width:50%}.faction-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.faction-card{padding:27px;position:relative;border:1px solid #384349;background:linear-gradient(135deg,#ffffff05,transparent);overflow:hidden;--accent: var(--orange)}.faction-card.rus{--accent: #c4b1ff}.faction-card.chn{--accent: #75f7d7}.faction-emblem{display:block;font-size:45px;color:var(--accent);margin-bottom:32px}.tiny{font:9px/1.5 monospace;letter-spacing:1.1px;display:block;color:#a0adb1}.faction-card>.tiny{font-size:8px;color:var(--accent);margin-bottom:14px}.faction-card h3{font-size:26px;line-height:1.15;letter-spacing:-.8px}.faction-card p{font-size:13px;color:#a3afb4;min-height:88px}.attack-tag{font:8px/1.6 monospace;letter-spacing:.4px;color:var(--accent);border-top:1px solid var(--line);padding-top:18px;display:block}.section-heading>p:not(.eyebrow){font-size:14px;color:#9eacb2;max-width:360px}.controls-section{grid-template-columns:.7fr 1.3fr;gap:8%}.control-cards{display:grid;grid-template-columns:1fr 1fr;gap:32px}.control-cards h3{font-size:15px;border-bottom:1px solid var(--line);padding-bottom:15px}.control-cards p{font-size:12px;color:#a0aeb3}.control-cards dl{margin:0}.control-cards dt{font:11px monospace;color:var(--mint);margin:16px 0 7px}.control-cards dd{font-size:11px;color:#a1aeb3;margin:0;line-height:1.5}.faq-section{padding:80px 7%;border-bottom:1px solid var(--line)}.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 50px;margin-top:40px}details{border-bottom:1px solid var(--line)}summary{cursor:pointer;padding:20px 0;font-size:13px;line-height:1.5;list-style:none;display:flex;justify-content:space-between;gap:16px}summary:after{content:"+";color:var(--mint);font:18px monospace}details[open] summary:after{content:"−"}details p{font-size:13px;color:#9fadb3;padding:0 20px 14px 0}.credits-section{padding-bottom:70px}.site-footer{padding:35px 4%;display:flex;align-items:center;justify-content:space-between;gap:25px;color:var(--muted)}.site-footer .wordmark{font-size:14px;color:#e9eee9}.site-footer p,.site-footer>span{font:8px/1.7 monospace;letter-spacing:1px;margin:0}.noscript{padding:24px 7%;color:var(--orange)}.ad-space{min-height:100px;margin:160px 7%;border:1px dashed #334048}#hud{position:absolute;inset:0;pointer-events:none;font-family:monospace}.hud-top{position:absolute;top:20px;left:24px;right:24px;display:flex;justify-content:space-between;gap:20px;align-items:start}.mission-pill{background:#081116cc;border:1px solid #6e938c55;padding:10px 14px;font:9px monospace;color:#dbf5ea;display:flex;gap:8px;align-items:center;line-height:1.5}.mission-pill i{margin:0;width:5px;height:5px}.mission-pill #camera-label{color:#97aaa9;padding-left:12px;border-left:1px solid #566a6855}.game-actions{display:flex;gap:6px;pointer-events:auto}.game-actions button{background:#101b22e6;color:#e0eee9;border:1px solid #607e7955;min-width:42px;min-height:42px;font:12px monospace}.game-actions button span{font:8px monospace;color:#94aaa5;margin-left:5px}.game-actions button:hover{background:#25423b}.hud-vitals{position:absolute;top:83px;left:24px;display:flex;align-items:start;gap:26px}.integrity-box{width:132px;padding:14px;background:#081116ba;border-left:2px solid var(--mint)}.integrity-box>strong{font:36px/1.3 monospace;color:#edf8f0;display:block;letter-spacing:-2px}.integrity-box small{font:14px monospace;margin-left:4px;color:#b5c6bf}.integrity-track{height:3px;background:#45544f;margin-top:7px}.integrity-track i{display:block;width:100%;height:100%;background:var(--mint);transition:width .1s}.run-stats{display:flex;gap:25px;padding-top:14px;text-shadow:0 2px 4px #000}.run-stats strong{font:22px/1.6 monospace;letter-spacing:-1px;color:#f4faf5}.navigation{position:absolute;top:82px;right:24px;display:flex;align-items:center;gap:12px;background:#081116c9;padding:10px 18px;border-right:2px solid var(--mint)}#nav-arrow{display:block;font:39px/1 monospace;color:var(--mint);width:36px;text-align:center}.navigation strong{font:28px/1.4 monospace;display:block;letter-spacing:-1px;color:var(--mint)}.navigation small{font-size:12px}.navigation .checkpoint-name{font-size:9px}.toast{position:absolute;top:205px;left:24px;max-width:360px;background:#09131be8;padding:16px 18px;border-left:2px solid var(--mint);transition:opacity .25s;opacity:0}.toast.visible{opacity:1}.toast>span{font:700 11px/1.5 monospace;color:var(--mint);letter-spacing:.6px}.toast p{font:11px/1.7 monospace;margin:7px 0 0;color:#d4dedb}.hit-indicator{position:absolute;top:33%;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:8px;color:#ffb187;text-shadow:0 2px 6px #000;font-size:12px}.hit-indicator>span{font-size:32px}.hit-indicator strong{background:#210c05ba;padding:7px 12px;border:1px solid #ffb187}#damage-flash{position:absolute;inset:0;box-shadow:inset 0 0 70px #ff592077;opacity:0;z-index:-1}.hud-bottom{position:absolute;left:24px;right:24px;bottom:40px;display:flex;align-items:end;justify-content:space-between}.speed-box{display:flex;gap:10px;align-items:center;color:#effaf3;text-shadow:0 2px 5px #000}.speed-box>strong{font:64px/1 monospace;letter-spacing:-5px;min-width:76px}.speed-box>div{display:flex;flex-direction:column;gap:10px;font:10px monospace}.speed-box small{color:var(--mint);font-size:9px}.desktop-help{font:9px monospace;display:flex;align-items:center;gap:8px;color:#dce7e1;background:#071016bd;padding:12px}.desktop-help>span{color:#8fa8a0;margin-left:8px;font-size:8px}kbd{font:8px monospace;border:1px solid #76958c66;padding:4px;color:var(--mint)}.radar-wrap{background:#061015d9;border:1px solid #69877d77;text-align:center;width:126px;height:146px}.radar-wrap canvas{width:124px;height:124px;display:block}.radar-wrap>span{font:7px monospace;color:#a8c1b5;letter-spacing:1px}.fiction-notice{position:absolute;bottom:12px;right:24px;font:7px monospace;color:#c1ccc4aa;letter-spacing:.6px}#touch-controls{display:none;position:absolute;left:18px;right:18px;bottom:30px;justify-content:space-between;align-items:end;pointer-events:none;gap:14px}.touch-steer,.touch-pedals{display:flex;gap:10px;pointer-events:auto}.touch-steer button,.touch-pedals button{touch-action:none;-webkit-user-select:none;user-select:none;min-width:66px;min-height:72px;color:#e9fff5;border:1px solid #a5cebd99;background:#101f24d9;font:700 17px/1.5 monospace;box-shadow:0 3px 15px #0005}.touch-pedals button{font-size:12px;min-width:62px}.touch-pedals button[data-drive=go]{background:#b6f5dddf;color:#122c22;min-height:90px}.touch-pedals button[data-drive=brake]{min-height:54px;align-self:end;font-size:10px;min-width:58px}.touch-steer .pressed,.touch-pedals .pressed{background:#eaffd5;color:#14241e;transform:translateY(2px)}.touch-enabled #touch-controls{display:flex}.touch-enabled .desktop-help{display:none}.touch-enabled .hud-bottom{bottom:135px}.touch-enabled .radar-wrap{display:none}.touch-enabled .speed-box>strong{font-size:44px;min-width:56px}.screen-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:25px;background:#061017cc;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:5;overflow:auto}.modal{width:450px;max-width:100%;background:#111c24;border:1px solid #526b6866;padding:34px;box-shadow:0 20px 80px #0005;margin:auto}.modal h2{font-size:31px;letter-spacing:-1px;line-height:1.12}.modal>p:not(.eyebrow){font-size:12px;color:#a2b3b7}.modal .eyebrow{margin-bottom:18px}.modal progress{width:100%;height:5px;accent-color:var(--mint);margin:18px 0}.text-button{background:transparent;color:#b7d0c5;text-decoration:underline;padding:18px;width:100%;font-size:11px}.secondary{background:#24363b;color:#c9dad3;padding:13px 10px;font-size:11px;border:1px solid #46615955}.button-row{display:flex;gap:10px;margin-top:10px}.button-row>*{flex:1}.settings{display:grid;gap:14px;margin:25px 0}.settings label{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;color:#c6d4ce}.settings select{max-width:180px;background:#23353a;padding:8px;font-size:11px;border:1px solid #45635e}.settings input[type=range]{width:160px;accent-color:var(--mint)}.settings label.check{justify-content:start;gap:10px}.settings input[type=checkbox]{accent-color:var(--mint);width:16px;height:16px;margin:0}.control-summary{font:9px/1.9 monospace!important;padding:15px;background:#071219}.pause-modal{width:460px}.danger{color:var(--orange)}.results{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:24px 0;border-top:1px solid var(--line);margin-top:25px}.results strong{display:block;font:28px monospace;margin-bottom:8px;color:var(--mint)}.results span{font:9px monospace;color:#9cafaa}.best-result{margin-bottom:25px;font:10px monospace!important}#perf{position:absolute;right:20px;top:190px;padding:10px;background:#000c;font:10px/1.5 monospace;color:#b6f5dd}@media(min-width:1600px){.landing{padding-left:7%;padding-right:7%}.launch-card{width:390px;padding:30px}}@media(pointer:coarse){#touch-controls{display:flex}.desktop-help{display:none}.hud-bottom{bottom:138px}.radar-wrap{display:none}.speed-box>strong{font-size:44px;min-width:56px}.game-actions button{min-height:48px;min-width:48px}.game-actions button span{display:none}}@media(max-width:1000px){.site-header{height:70px;padding:0 3%}.site-header nav{gap:18px}.offline-tag{display:none}#game-shell{height:720px;min-height:600px}.landing{padding:5% 4%;gap:3%}h1{font-size:55px;letter-spacing:-3px}.launch-card{padding:20px;width:330px;max-width:45%}.hero-copy{max-width:53%}.hero-desc{font-size:14px}.desktop-help{display:none}.content-section{padding:65px 6%;gap:7%}.factions-section,.faq-section{padding:60px 6%}.faction-card{padding:20px}.faction-card h3{font-size:23px}.section-caption h2{width:56%;font-size:29px}.faction-card p{min-height:110px}.controls-section{display:block}.control-cards{margin-top:32px}.under-game p{display:none}.site-footer>span{display:none}}@media(max-width:700px){.site-header{height:64px;justify-content:space-between}.wordmark{font-size:15px}.logo-mark{font-size:28px;margin-right:4px}.version{display:none}.site-header nav{margin:0;gap:16px;font-size:10px}.site-header nav a:first-child{display:none}#game-shell{height:auto;min-height:890px}.landing{padding:40px 6% 68px;display:block;background:linear-gradient(90deg,#050a0eaa,#050a0e11)}.hero-copy{max-width:100%;padding-bottom:18px}h1{font-size:55px;letter-spacing:-3px}.hero-copy .eyebrow{font-size:8px;margin-bottom:22px}.hero-desc{font-size:13px}.hero-tags{display:none}.launch-card{max-width:100%;width:100%;padding:22px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.card-top{padding-bottom:14px;margin-bottom:16px}.launch-card h2{font-size:18px;margin-bottom:15px}.mode{padding:13px}.surface-footer{font-size:7px;bottom:20px;left:6%;right:6%}.surface-footer span:last-child{display:none}.under-game{padding:20px 6%;gap:10px;font-size:9px}.under-game>span{font-size:8px}.content-section{display:block;padding:50px 6%}.intro-text{margin-top:28px}.intro-text p{font-size:13px}.section-heading h2,.faq-section>h2{font-size:32px}.factions-section,.faq-section{padding:45px 6%}.section-caption{display:block}.section-caption h2{font-size:29px;width:100%;margin-top:20px}.faction-cards{display:block}.faction-card{margin-top:12px;padding:25px}.faction-emblem{float:right;margin:0;font-size:40px}.faction-card h3{font-size:25px}.faction-card p{min-height:0;font-size:13px}.control-cards{display:block}.control-cards article+article{margin-top:35px}.faq-grid{grid-template-columns:1fr;margin-top:25px;gap:0}.site-footer{display:block;padding:28px 6%}.site-footer p{margin-top:18px;font-size:7px}.playing#game-shell{height:90svh;min-height:490px;max-height:950px}.playing .poster-shade{display:none}.hud-top{top:10px;left:10px;right:10px;gap:8px}.mission-pill{padding:8px;font-size:8px;display:block;max-width:130px;line-height:1.6}.mission-pill #camera-label{display:block;border:0;padding:0;font-size:7px}.mission-pill i{display:none}.game-actions{gap:4px}.game-actions button{min-width:36px;min-height:42px;font-size:10px}.game-actions button span{display:none}.hud-vitals{top:77px;left:12px;gap:14px}.integrity-box{width:95px;padding:9px}.integrity-box .tiny{font-size:7px}.integrity-box>strong{font-size:28px}.run-stats{display:grid;grid-template-columns:1fr 1fr;gap:4px 15px;padding-top:0}.run-stats .tiny{font-size:7px}.run-stats strong{font-size:16px}.run-stats>div:last-child{grid-column:1/3}.navigation{top:77px;right:12px;gap:6px;padding:8px}.navigation .tiny{font-size:6px;letter-spacing:.4px}.navigation strong{font-size:22px}#nav-arrow{font-size:26px;width:24px}.toast{top:200px;left:12px;right:12px;max-width:290px;padding:12px}.toast p{font-size:10px}.toast>span{font-size:10px}.hud-bottom{left:15px;right:15px}.speed-box>strong{font-size:40px}.fiction-notice{right:12px;font-size:6px}.screen-overlay{padding:15px}.modal{padding:25px}.modal h2{font-size:27px}.settings{gap:12px;margin:18px 0}.hit-indicator{top:43%}#perf{top:310px;right:10px;font-size:8px}}@media(max-height:590px)and (orientation:landscape){.playing#game-shell{height:100svh;min-height:320px}.hud-top{top:8px;left:14px;right:14px}.hud-vitals{top:65px;left:14px}.run-stats{gap:14px}.integrity-box{width:110px;padding:8px}.integrity-box>strong{font-size:25px}.navigation{top:65px;right:14px;padding:7px 12px}.navigation strong{font-size:22px}.toast{top:151px;left:14px;max-width:300px;padding:10px}.toast p{font-size:10px;margin-top:4px}.toast>span{font-size:9px}.hud-bottom,.touch-enabled .hud-bottom{bottom:112px}.speed-box>strong{font-size:34px;min-width:44px}.radar-wrap{display:none}#touch-controls{bottom:22px;left:14px;right:14px}.touch-steer button{min-height:64px;min-width:64px}.touch-pedals button[data-drive=go]{min-height:76px}.touch-pedals button{min-height:62px}.fiction-notice{font-size:6px;bottom:7px}.screen-overlay{align-items:start;padding:15px}.modal{padding:22px;max-width:590px}.pause-modal{width:590px}.settings{grid-template-columns:1fr 1fr;gap:10px 25px;margin:12px 0}.settings label{font-size:10px}.settings select{max-width:140px;padding:5px}.settings input[type=range]{width:120px}.modal h2{font-size:24px;margin-bottom:12px}.modal .eyebrow{margin-bottom:10px}.control-summary{margin:10px 0;font-size:8px!important}.primary{padding:14px 18px}.modal>p:not(.eyebrow){margin-bottom:10px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}@media(max-width:440px){#touch-controls{left:12px;right:12px;gap:10px}.touch-steer,.touch-pedals{gap:7px}.touch-steer button{min-width:56px;min-height:68px}.touch-pedals button{min-width:49px;min-height:65px;font-size:11px}.touch-pedals button[data-drive=brake]{min-width:49px;font-size:9px}.touch-pedals button[data-drive=go]{min-height:84px}}.pause-controls{border:1px solid var(--line);margin:16px 0}.pause-controls summary{padding:10px 12px;font-size:10px;color:#b6d8cb}.pause-controls summary:after{font-size:14px}.pause-controls .control-summary{margin:0;padding:12px}@media(max-height:590px)and (orientation:landscape){.pause-controls{margin:10px 0}.pause-controls summary{padding:8px 12px;font-size:9px}.pause-modal .settings{margin:12px 0}.pause-modal .button-row{margin-top:8px}.pause-modal .secondary{padding:10px}}.faction-portrait{width:calc(100% + 54px);max-width:none;height:220px;display:block;object-fit:cover;object-position:50% 48%;margin:-27px -27px 25px;border-bottom:1px solid #384349}.faction-card .faction-emblem{font-size:30px;float:right;margin:0 0 10px 12px}.fiction-notice{font-size:8px}@media(max-width:1000px){.faction-portrait{width:calc(100% + 40px);margin:-20px -20px 24px;height:200px}}@media(max-width:700px){.faction-portrait{width:calc(100% + 50px);margin:-25px -25px 24px;height:220px}.fiction-notice{font-size:7px}}.mode-symbol svg{width:27px;height:27px;display:block}.game-actions button svg{width:18px;height:18px;vertical-align:middle}.hud-top{left:max(24px,calc(env(safe-area-inset-left) + 12px));right:max(24px,calc(env(safe-area-inset-right) + 12px));top:max(20px,env(safe-area-inset-top))}.hud-vitals{left:max(24px,calc(env(safe-area-inset-left) + 12px))}.navigation{right:max(24px,calc(env(safe-area-inset-right) + 12px))}.toast{left:max(24px,calc(env(safe-area-inset-left) + 12px))}#touch-controls{left:max(18px,calc(env(safe-area-inset-left) + 12px));right:max(18px,calc(env(safe-area-inset-right) + 12px));bottom:max(30px,calc(env(safe-area-inset-bottom) + 12px))}.fiction-notice{right:max(24px,calc(env(safe-area-inset-right) + 12px));bottom:max(12px,calc(env(safe-area-inset-bottom) + 4px))}@media(max-width:700px){.hud-top{left:max(10px,calc(env(safe-area-inset-left) + 8px));right:max(10px,calc(env(safe-area-inset-right) + 8px));top:max(10px,env(safe-area-inset-top))}.hud-vitals,.toast{left:max(12px,calc(env(safe-area-inset-left) + 12px))}.navigation,.fiction-notice{right:max(12px,calc(env(safe-area-inset-right) + 12px))}}@media(pointer:coarse){.hud-bottom{left:max(15px,calc(env(safe-area-inset-left) + 12px));bottom:max(138px,calc(env(safe-area-inset-bottom) + 120px))}}@media(max-height:590px)and (orientation:landscape){.hud-top{left:max(14px,calc(env(safe-area-inset-left) + 12px));right:max(14px,calc(env(safe-area-inset-right) + 12px));top:max(8px,env(safe-area-inset-top))}.hud-vitals,.toast{left:max(14px,calc(env(safe-area-inset-left) + 12px))}.navigation{right:max(14px,calc(env(safe-area-inset-right) + 12px))}#touch-controls{left:max(14px,calc(env(safe-area-inset-left) + 12px));right:max(14px,calc(env(safe-area-inset-right) + 12px));bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}.hud-bottom,.touch-enabled .hud-bottom{bottom:max(112px,calc(env(safe-area-inset-bottom) + 100px))}}@media(max-width:440px){#touch-controls{left:max(12px,calc(env(safe-area-inset-left) + 8px));right:max(12px,calc(env(safe-area-inset-right) + 8px))}}.hud-top{top:calc(env(safe-area-inset-top) + 20px)}.hud-vitals{top:calc(env(safe-area-inset-top) + 83px)}.navigation{top:calc(env(safe-area-inset-top) + 82px)}.toast{top:calc(env(safe-area-inset-top) + 205px)}.screen-overlay{padding-top:max(15px,calc(env(safe-area-inset-top) + 10px));padding-bottom:max(15px,calc(env(safe-area-inset-bottom) + 10px));padding-left:max(15px,calc(env(safe-area-inset-left) + 12px));padding-right:max(15px,calc(env(safe-area-inset-right) + 12px))}@media(max-width:700px){.hud-top{top:calc(env(safe-area-inset-top) + 10px)}.hud-vitals,.navigation{top:calc(env(safe-area-inset-top) + 77px)}.toast{top:calc(env(safe-area-inset-top) + 200px)}}@media(max-height:590px)and (orientation:landscape){.hud-top{top:calc(env(safe-area-inset-top) + 8px)}.hud-vitals,.navigation{top:calc(env(safe-area-inset-top) + 65px)}.toast{top:calc(env(safe-area-inset-top) + 151px)}}.checkpoint-name{display:block;font:9px/1.5 monospace;color:#b6c7bf;margin-top:3px;max-width:160px}.low-throw-indicator{position:absolute;transform:translate(-50%,-50%);width:56px;padding:4px 2px;text-align:center;color:var(--incoming-color, #ffd078);background:#081116d9;border:1px solid currentColor;border-radius:12px;pointer-events:none}#low-throw-arrow{display:block;font:700 24px/26px monospace}#low-throw-faction{display:block;font:9px/13px monospace;white-space:nowrap}.threat-indicator{position:absolute;top:208px;right:24px;display:flex;align-items:center;gap:12px;padding:9px 12px;max-width:220px;color:var(--threat-color, #ffad6b);background:#081116e6;border-right:2px solid currentColor}.threat-indicator.urgent{background:#281911ee;outline:1px solid currentColor}#threat-arrow{font:28px monospace;display:block}.threat-indicator strong{display:block;font:10px/1.4 monospace}.threat-indicator small{display:block;color:#eef3ed;font:9px/1.6 monospace}@media(max-width:650px){.checkpoint-name{font-size:8px;max-width:110px}.threat-indicator{top:190px;right:12px;max-width:180px;padding:6px 8px;gap:8px}}@media(max-height:520px)and (orientation:landscape){.checkpoint-name{display:none}.threat-indicator{top:135px;right:max(14px,env(safe-area-inset-right));max-width:180px;padding:5px 8px}}@media(max-width:700px)and (orientation:portrait){.hud-vitals{right:max(12px,calc(env(safe-area-inset-right) + 8px));align-items:center;gap:14px}.run-stats{display:flex;gap:12px;padding-top:0}.run-stats .tiny{letter-spacing:0;font-size:7px}.run-stats strong{font-size:16px}.navigation{top:170px;left:max(12px,calc(env(safe-area-inset-left) + 8px));right:auto;width:calc(50% - 18px);min-height:74px;padding:8px;gap:5px}.navigation .checkpoint-name{font:8px/1.5 monospace;max-width:calc(50vw - 65px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.threat-indicator{top:170px;right:max(12px,calc(env(safe-area-inset-right) + 8px));width:calc(50% - 18px);max-width:none;min-height:74px;padding:7px;gap:6px}#threat-arrow{font-size:22px}.threat-indicator strong{font-size:9px}.threat-indicator small{font-size:8px}.toast{top:260px;max-width:300px}}@media(pointer:coarse)and (max-width:700px){.mission-pill{max-width:96px}.game-actions button{min-width:44px;min-height:44px}}@media(pointer:coarse)and (max-width:380px){.game-actions [data-action=fullscreen]{display:none}}@media(min-width:701px){#perf{top:300px}}.run-stats{background:#081116e0;border:1px solid #65827b40;padding:10px 12px}.speed-box{background:#081116cf;border-left:2px solid #b6f5dd88;padding:6px 10px}.game-actions button:disabled{cursor:default;opacity:.6}@media(max-width:700px)and (orientation:portrait){.hud-vitals{top:calc(77px + max(0px,calc(env(safe-area-inset-top) - 10px)))}.run-stats{padding:8px}.navigation,.threat-indicator{top:calc(170px + max(0px,calc(env(safe-area-inset-top) - 10px)))}.toast{top:calc(260px + max(0px,calc(env(safe-area-inset-top) - 10px)))}}@media(max-height:590px)and (orientation:landscape){.run-stats{display:flex;gap:14px;padding:8px 10px}}@media(max-width:700px)and (orientation:portrait){.hit-indicator{top:calc(350px + max(0px,calc(env(safe-area-inset-top) - 10px)));left:max(12px,calc(env(safe-area-inset-left) + 8px));transform:none;max-width:calc(50% - 18px);gap:4px;font-size:9px}.hit-indicator>span{font-size:25px}.hit-indicator strong{padding:6px 8px}}.controller-status{font-size:11px;line-height:1.5;color:#b6f5dd;margin:8px 0}.gamepad-guide{color:#b1c2bc;font-size:14px;line-height:1.7;max-width:80ch}.touch-swapped #touch-controls{flex-direction:row-reverse}.binding-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px;margin:12px 0;font-size:11px}.binding-key{background:#24363b;color:#e9fff5;border:1px solid #65827b;min-width:104px;min-height:44px;font:12px monospace;padding:8px}.binding-key[aria-pressed=true]{border-color:#ffbf86;color:#ffbf86}.touch-swapped .touch-pedals{flex-direction:row-reverse}.driving-skill{position:absolute;left:50%;bottom:90px;transform:translate(-50%);max-width:44%;padding:7px 12px;border-left:2px solid #eac181;background:#101a21db;color:#f5d6a3;pointer-events:none;text-align:center;font:10px/1.6 ui-monospace,monospace;letter-spacing:.35px}.driving-skill strong,.driving-skill small{display:block;font-size:inherit}.driving-skill small{color:#c6d4cf;font-size:9px}.driving-skill.earned{border-color:#b6f5dd;color:#c5ffe5}.touch-enabled .driving-skill{bottom:138px}@media(orientation:landscape)and (max-height:590px){.driving-skill,.touch-enabled .driving-skill{bottom:110px;padding:4px 8px;max-width:40%;font-size:8px}.driving-skill small{font-size:8px}}@media(orientation:portrait)and (max-width:700px){.driving-skill,.touch-enabled .driving-skill{bottom:210px;max-width:70%;width:max-content;font-size:9px}}#tools-toggle,.tool-name,[data-view-label]{display:none}.quick-tools{display:flex;gap:6px}.quick-tools[hidden]{display:none}body.game-expanded{overflow:hidden}#game-shell.expanded-view{position:fixed;inset:0;z-index:1000;width:100%;height:100dvh;min-height:0;max-height:none}@media(max-width:700px),(max-height:590px)and (orientation:landscape){#game-shell{--hud-l: max(10px, calc(env(safe-area-inset-left) + 8px) );--hud-r: max(10px, calc(env(safe-area-inset-right) + 8px) );--hud-t: calc(env(safe-area-inset-top) + 8px) ;--hud-b: calc(env(safe-area-inset-bottom) + 12px) }#hud .hud-top{top:var(--hud-t);left:var(--hud-l);right:var(--hud-r);gap:0}#hud .game-actions{position:absolute;right:0;top:0;gap:4px}#hud .game-actions>button{min-width:44px;width:44px;min-height:44px;padding:0;font-size:9px}#hud #tools-toggle{display:block}#hud .quick-tools{position:absolute;right:0;top:50px;width:208px;padding:6px;display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#09151afa;border:1px solid #729d8d;box-shadow:0 5px 20px #0009;z-index:12}#hud .quick-tools[hidden]{display:none}#hud .quick-tools button{width:100%;min-width:0;min-height:46px;padding:4px;display:flex;align-items:center;justify-content:center;gap:4px;font-size:9px}#hud .quick-tools .tool-name,#hud .quick-tools [data-view-label]{display:inline;color:#e0eee9;font:8px monospace;margin:0}#hud .quick-tools [data-action=fullscreen]{display:flex}#hud .quick-tools [data-action=fullscreen] svg{width:18px;height:18px}#hud .mission-pill{position:absolute;top:49px;left:0;max-width:none;padding:3px 5px;font-size:7px;line-height:10px;display:block;border:0;border-left:2px solid #b6f5dd77}#hud .mission-pill #camera-label,#hud .mission-pill i{display:none}#hud .hud-vitals{top:var(--hud-t);left:var(--hud-l);right:calc(var(--hud-r) + 98px);display:grid;grid-template-columns:58px minmax(0,1fr);gap:6px;align-items:stretch;height:44px}#hud .integrity-box{width:auto;padding:3px 5px}#hud .integrity-box .tiny{font-size:6px;letter-spacing:0;line-height:7px}#hud .integrity-box>strong{font-size:20px;line-height:22px;letter-spacing:-1px}#hud .integrity-box small{font-size:8px;margin-left:2px}#hud .integrity-track{margin-top:1px;height:2px}#hud .run-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:4px;align-items:center}#hud .run-stats>div:last-child{grid-column:auto}#hud .run-stats .tiny{font-size:6px;line-height:9px;letter-spacing:0;white-space:nowrap}#hud .run-stats strong{font-size:14px;line-height:20px;letter-spacing:-.8px}#hud .navigation{top:calc(var(--hud-t) + 49px);left:auto;right:var(--hud-r);width:auto;min-height:0;max-width:130px;padding:3px 6px;gap:5px}#hud .navigation .tiny{font-size:6px;line-height:8px;letter-spacing:0}#hud .navigation strong{font-size:18px;line-height:22px}#hud #nav-arrow{font-size:23px;width:22px}#hud .navigation .checkpoint-name{display:none}#hud .threat-indicator{top:calc(var(--hud-t) + 91px);right:var(--hud-r);width:auto;max-width:46%;min-height:0;padding:4px 6px;gap:5px}#hud #threat-arrow{font-size:18px}#hud .threat-indicator strong{font-size:8px;line-height:11px}#hud .threat-indicator small{font-size:7px;line-height:11px}#hud .hud-bottom,#hud.touch-enabled .hud-bottom{left:var(--hud-l);right:auto;bottom:calc(var(--hud-b) + 98px)}#hud .speed-box{padding:3px 5px;gap:4px;max-width:78px}#hud .speed-box>strong{font-size:23px;min-width:29px;line-height:29px}#hud .speed-box span{font-size:7px}#hud .speed-box small{font-size:6px}#hud .toast{top:auto;bottom:calc(var(--hud-b) + 98px);left:calc(var(--hud-l) + 88px);right:var(--hud-r);max-width:none;padding:5px 7px;max-height:56px;overflow:hidden}#hud .toast>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px;line-height:12px}#hud .toast p{margin:2px 0 0;font-size:9px;line-height:12px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}#hud #touch-controls{left:var(--hud-l);right:var(--hud-r);bottom:var(--hud-b);--steer-track: minmax(0, 2fr);--pedal-track: minmax(0, 3fr);grid-template-columns:var(--steer-track) var(--pedal-track);gap:10px}.touch-enabled #hud #touch-controls{display:grid}#hud .touch-steer,#hud .touch-pedals{display:grid;gap:6px;min-width:0;align-items:end}#hud .touch-steer{grid-template-columns:repeat(2,minmax(0,1fr))}#hud .touch-pedals{grid-template-columns:repeat(3,minmax(0,1fr))}#hud .touch-steer button,#hud .touch-pedals button{min-width:0;width:100%;min-height:68px;padding:4px}#hud .touch-pedals button[data-drive=go]{min-height:82px}#hud .touch-pedals button[data-drive=brake]{min-width:0;min-height:58px}#hud .radar-wrap{display:none}#hud .driving-skill{bottom:calc(var(--hud-b) + 162px);max-width:65%;padding:3px 6px;font-size:8px}#hud .fiction-notice{bottom:2px;font-size:6px;right:var(--hud-r)}#hud .hit-indicator{top:calc(var(--hud-t) + 144px);left:var(--hud-l);transform:none;max-width:45%;gap:3px;font-size:8px}#hud .hit-indicator>span{font-size:18px}#hud .hit-indicator strong{padding:4px}}@media(max-height:590px)and (orientation:landscape){#hud .hud-vitals{right:auto;width:min(390px,calc(100% - 225px));grid-template-columns:66px minmax(0,1fr)}#hud .run-stats strong{font-size:16px}#hud .toast{top:calc(var(--hud-t) + 72px);bottom:auto;left:var(--hud-l);right:auto;width:min(270px,34vw)}#hud .hud-bottom{bottom:calc(var(--hud-b) + 72px)}#hud #touch-controls{max-width:none;--steer-track: 160px;--pedal-track: 260px;grid-template-columns:var(--steer-track) var(--pedal-track);justify-content:space-between}#hud .touch-steer button,#hud .touch-pedals button{min-height:54px}#hud .touch-pedals button[data-drive=go]{min-height:64px}#hud .touch-pedals button[data-drive=brake]{min-height:48px}#hud .driving-skill{bottom:calc(var(--hud-b) + 72px)}}@media(max-width:700px),(max-height:590px)and (orientation:landscape){#hud .toast{top:calc(var(--hud-t) + 72px);bottom:auto;left:var(--hud-l);right:auto;width:min(270px,44%)}.touch-swapped #hud #touch-controls{grid-template-columns:var(--pedal-track) var(--steer-track)}.touch-swapped #hud .touch-steer{grid-column:2;grid-row:1}.touch-swapped #hud .touch-pedals,.touch-swapped #hud .touch-pedals [data-drive=go]{grid-column:1;grid-row:1}.touch-swapped #hud .touch-pedals [data-drive=reverse]{grid-column:2;grid-row:1}.touch-swapped #hud .touch-pedals [data-drive=brake]{grid-column:3;grid-row:1}}@media(max-height:590px)and (orientation:landscape){#hud .toast{width:min(270px,34vw)}}@media(max-width:700px),(max-height:590px)and (orientation:landscape){.playing#game-shell{height:100svh;height:100dvh;min-height:0;max-height:none}}@media(pointer:coarse)and (max-width:700px),(pointer:coarse)and (max-height:590px)and (orientation:landscape){#hud #touch-controls{display:grid}}#nav-arrow{width:42px;height:44px;flex:0 0 auto;filter:drop-shadow(0 1px 2px #000)}#nav-arrow svg{display:block;width:100%;height:100%}@media(max-width:700px){#nav-arrow{width:33px;height:36px}}@media(pointer:coarse),(max-width:760px),(max-height:590px)and (orientation:landscape){#hud #nav-arrow{width:31px;height:31px}}@media(max-width:700px),(max-height:590px)and (orientation:landscape){#hud #touch-controls{left:0;right:0;bottom:0;--steer-track: minmax(0, 2.25fr);--pedal-track: minmax(0, 3fr);gap:6px}#hud .touch-steer{gap:0}#hud .touch-steer button{min-height:calc(96px + env(safe-area-inset-bottom,0px));border-radius:0;padding-bottom:calc(4px + env(safe-area-inset-bottom,0px))}#hud .touch-steer button+button{border-left:0}#hud .touch-steer button:first-child{padding-left:max(4px,env(safe-area-inset-left,0px))}#hud .touch-pedals{margin-right:var(--hud-r);margin-bottom:var(--hud-b)}.touch-swapped #hud .touch-pedals{margin-left:var(--hud-l);margin-right:0}.touch-swapped #hud .touch-steer button:last-child{padding-right:max(4px,env(safe-area-inset-right,0px))}}@media(max-height:590px)and (orientation:landscape){#hud #touch-controls{--steer-track: min(30vw, 240px);--pedal-track: 260px}#hud .touch-steer button{min-height:calc(90px + env(safe-area-inset-bottom,0px))}}.attack-results{display:grid;gap:5px;padding:10px 0;border-block:1px solid #829b8b44;text-align:left}.attack-results>div{display:grid;grid-template-columns:minmax(0,1fr) 50px 82px;align-items:baseline;gap:8px;font-size:12px}.attack-results strong,.attack-results small{text-align:right;font-variant-numeric:tabular-nums}.attack-results small{color:#acbeb2}.modal .attack-results-note{font-size:10px;line-height:1.4}.performance-report{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.78rem;line-height:1.6;user-select:text;-webkit-user-select:text}#game-shell.playing #hud,#game-shell.playing #viewport{touch-action:none}#game-shell .screen-overlay{touch-action:pan-y pinch-zoom}#game-shell.installed-driving{position:fixed;inset:0;z-index:1000;width:100%;height:var(--game-view-height, 100dvh);min-height:0;max-height:none}@media(max-width:700px),(max-height:590px)and (orientation:landscape){#game-shell.playing,#game-shell.expanded-view{height:var(--game-view-height, 100dvh)}}@media(pointer:coarse){#game-shell select,#game-shell input[type=text],#game-shell input[type=number]{font-size:16px}}
