:root{color-scheme:dark;--ink:#eef2e7;--muted:#b6c3bf;--accent:#a5eedb;--line:#ffffff2b;--orange:#f8b37a}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#334957;color:var(--ink);font:14px system-ui,-apple-system,sans-serif}button,select,input{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{opacity:.55;cursor:wait}#game{width:100%;height:100%;display:block;touch-action:none}#hud{pointer-events:none;position:fixed;inset:0;z-index:2;padding:26px 30px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(#09111622,transparent 20%,transparent 80%,#09111655)}.top,.bottom{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.mission{border-left:2px solid var(--accent);padding-left:14px;text-shadow:0 2px 6px #000}.eyebrow{font-size:10px;letter-spacing:.2em;color:var(--accent);font-weight:700}.mission h2{font-size:17px;letter-spacing:.06em;margin:6px 0}.mission p{font-size:12px;margin:0;color:#d7e0da}.steps{display:flex;gap:7px;margin-top:12px}.step{width:30px;height:3px;background:#ffffff44}.step.current{background:var(--orange)}.step.done{background:var(--accent)}.icon-button{pointer-events:auto;border:1px solid var(--line);background:#0d1b24a6;border-radius:50%;width:44px;height:44px;font-size:16px}.vitals,.ammunition{text-shadow:0 2px 6px #000}.number{font-size:34px;letter-spacing:-.04em;font-weight:500;font-variant-numeric:tabular-nums}.vitals .number{font-size:26px}.small{font-size:10px;letter-spacing:.12em;color:#c2cfc8}.bar{height:3px;background:#ffffff36;width:150px;margin:8px 0}.bar i{display:block;height:100%;background:var(--accent);width:100%}.bar.stamina{height:2px;width:100px;opacity:.65}.ammunition{text-align:right}.reserve{font-size:14px;margin-left:8px;color:#b9c9c2}.weapon-label{font-size:10px;letter-spacing:.16em;margin-top:5px}.reticle{position:fixed;left:50%;top:50%;width:16px;height:16px;transform:translate(-50%,-50%);pointer-events:none;opacity:.9}.reticle:before,.reticle:after{content:'';position:absolute;background:#f5f9edcc;box-shadow:0 0 2px #000}.reticle:before{width:2px;height:16px;left:7px}.reticle:after{width:16px;height:2px;top:7px}.reticle.aim{transform:translate(-50%,-50%) scale(.55)}#hitmarker{position:absolute;left:50%;top:50%;width:25px;height:25px;transform:translate(-50%,-50%) rotate(45deg);border:2px solid var(--accent);opacity:0;clip-path:polygon(0 0,35% 0,35% 35%,65% 35%,65% 0,100% 0,100% 100%,65% 100%,65% 65%,35% 65%,35% 100%,0 100%)}#damage{position:fixed;inset:0;box-shadow:inset 0 0 100px 30px #e74e3e;opacity:0;pointer-events:none;z-index:1}#objective-marker{position:fixed;left:50%;top:39%;color:var(--accent);font-size:13px;text-align:center;text-shadow:0 2px 5px #000;transform:translate(-50%,-50%);pointer-events:none}#objective-marker b{display:block;font-size:23px;line-height:1}#objective-marker span{font-size:10px}#prompt{position:fixed;bottom:27%;left:50%;transform:translateX(-50%);z-index:4;padding:12px 18px;background:#0e202be8;border:1px solid #a5eedb66;border-radius:4px;white-space:nowrap;min-height:44px}.overlay{position:fixed;inset:0;z-index:5;display:flex;align-items:center;background:linear-gradient(90deg,#071116f2,#071116bb 39%,#07111633 80%);padding:clamp(20px,6vw,88px);overflow:auto}.panel{max-width:440px;width:100%;padding:20px 0}h1{font-size:clamp(54px,7vw,90px);font-weight:500;line-height:.95;letter-spacing:-.07em;margin:18px 0 12px}.subtitle{font-size:17px;text-transform:uppercase;letter-spacing:.34em;color:var(--orange);margin-bottom:30px}.description{font-size:14px;line-height:1.65;color:#c5d0ca;max-width:365px}.primary{background:var(--accent);color:#102a28;border:0;border-radius:3px;font-weight:650;padding:16px 22px;min-height:52px;width:100%;margin:20px 0 12px;display:flex;align-items:center;justify-content:space-between}.primary:active{transform:translateY(1px)}.controls{font-size:11px;line-height:1.8;color:#a7bbb2}.controls kbd{font:inherit;color:#e2e8dd}.settings{border-top:1px solid var(--line);margin-top:24px;padding-top:17px}.settings summary{cursor:pointer;font-size:12px;color:#d0dcd4;padding:4px 0}.setting{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;padding-top:15px}.setting select{background:#19313a;color:var(--ink);border:1px solid #8cb3b344;border-radius:3px;padding:7px;max-width:165px}.setting input[type=range]{accent-color:var(--accent);width:145px}.setting input[type=checkbox]{accent-color:var(--accent);width:18px;height:18px}.loading-row{font-size:11px;color:var(--muted)}.loading-track{height:2px;background:#ffffff1f;margin-top:15px}.loading-track i{height:2px;background:var(--accent);display:block;width:0}#load-error{color:#ffc6ad;line-height:1.6}#results{display:flex;gap:30px;margin:22px 0}#results b{display:block;font-size:26px}#results span{font-size:10px;letter-spacing:.1em;color:var(--muted)}#toast{position:fixed;left:50%;top:22%;transform:translateX(-50%);font-size:12px;letter-spacing:.06em;background:#0e202bdc;border:1px solid #a5eedb44;padding:12px 18px;z-index:3;opacity:0;pointer-events:none}#touch{display:none;position:fixed;inset:0;z-index:3;pointer-events:none}#move-stick{pointer-events:auto;position:absolute;bottom:26px;left:25px;width:112px;height:112px;border:1px solid #e6f8e433;border-radius:50%;background:#0a1a2333;touch-action:none}.stick-thumb{position:absolute;left:35px;top:35px;width:40px;height:40px;border-radius:50%;background:#ddebe444;border:1px solid #e6f8e444;pointer-events:none}.touch-action{position:absolute;pointer-events:auto;touch-action:none;background:#0b202b70;border:1px solid #e1f4ed55;border-radius:50%;width:46px;height:46px;font-size:11px;letter-spacing:.04em}#touch-fire{width:74px;height:74px;bottom:34px;right:26px;border-color:var(--accent);background:#a5eedb2b;font-size:13px}#touch-aim{bottom:120px;right:30px}#touch-reload{bottom:38px;right:116px}#touch-jump{bottom:120px;right:90px}#touch-sprint{bottom:152px;left:56px}#touch-crouch{bottom:38px;left:151px}body[data-state=ready] #hud,body[data-state=loading] #hud{opacity:0}body:not([data-state=playing]) #touch{display:none!important}[hidden]{display:none!important}#touch-hint{display:none}.footer-note{font-size:10px;color:#90a69b;margin-top:17px;letter-spacing:.04em}#audio-note{font-size:10px;color:var(--orange);margin-top:8px}body[data-capture=true] #hud,body[data-capture=true] #touch,body[data-capture=true] #overlay{display:none!important}@media(pointer:coarse){#touch{display:block}#desktop-hint{display:none}#touch-hint{display:block}.bottom{margin-bottom:178px}.mission{max-width:76%}}@media(max-width:600px){#hud{padding:18px 16px}.mission h2{font-size:14px}.mission p{font-size:11px}.eyebrow{font-size:9px}.overlay{padding:24px;background:linear-gradient(90deg,#071116ee,#07111699)}.panel{max-width:375px;margin:auto}.subtitle{font-size:13px;margin-bottom:20px}h1{font-size:65px;margin-top:12px}.description{font-size:13px;line-height:1.55}.settings{margin-top:16px;padding-top:12px}.controls{font-size:10px}.number{font-size:28px}.bar{width:115px}#prompt{bottom:190px;font-size:11px;padding:12px}#objective-marker{top:35%}.footer-note{font-size:9px}}@media(max-height:540px){.overlay{align-items:flex-start;padding:18px 34px}.panel{max-width:450px}h1{font-size:46px;margin:8px 0}.subtitle{font-size:11px;margin-bottom:12px}.description{font-size:12px;margin:6px 0}.primary{margin:12px 0 6px;padding:11px 18px;min-height:44px}.settings{margin-top:10px;padding-top:8px}.footer-note{margin-top:10px}.bottom{margin-bottom:100px}#move-stick{width:90px;height:90px;bottom:16px}.stick-thumb{left:25px;top:25px}#touch-sprint{bottom:115px}#touch-jump,#touch-aim{bottom:103px}#prompt{bottom:40px}#hud{padding:12px 18px}.mission p{display:none}.mission h2{margin:3px 0}.steps{margin-top:6px}.bar{margin:4px 0}.vitals .number{font-size:20px}.number{font-size:26px}}

@media(pointer:coarse) and (max-height:540px){.bottom{position:absolute;left:24%;right:24%;bottom:16px;margin:0;align-items:flex-end}.vitals .small{display:none}.vitals .bar{width:100px}.vitals .bar.stamina{width:70px}}

@media(max-width:700px),(max-width:1000px) and (max-height:500px){#touch{display:block}#desktop-hint{display:none}#touch-hint{display:block}.bottom{margin-bottom:178px}}
@media(max-width:1000px) and (max-height:500px){.bottom{position:absolute;left:24%;right:24%;bottom:16px;margin:0;align-items:flex-end}.vitals .small{display:none}.vitals .bar{width:100px}.vitals .bar.stamina{width:70px}}
