:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#080b12;color:#f8fafc;font-synthesis:none}*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%;background:#080b12}html,body{overscroll-behavior:none;-webkit-text-size-adjust:100%}body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}body{overflow-x:hidden}button{font:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}#game-shell{max-width:1180px;margin:0 auto;padding:max(12px,env(safe-area-inset-top)) 12px max(16px,env(safe-area-inset-bottom))}.hud{display:flex;align-items:end;justify-content:space-between;gap:14px;padding:4px 2px 12px}.brand{font-weight:950;letter-spacing:-.05em;font-size:clamp(22px,4vw,36px);line-height:.9}.brand span{color:#fb923c}.hud-stats{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.stat{min-width:82px;padding:8px 11px;border:1px solid #293142;background:#111827;border-radius:12px}.stat small{display:block;color:#94a3b8;font-size:9px;font-weight:800;letter-spacing:.13em}.stat strong{font-variant-numeric:tabular-nums;font-size:16px}#stage{position:relative;overflow:hidden;border:1px solid #2c3548;border-radius:20px;background:#172033;aspect-ratio:16/10;min-height:320px;box-shadow:0 24px 80px #0008}#game{display:block;width:100%;height:100%;touch-action:none;cursor:none;outline:none;-webkit-tap-highlight-color:transparent}#crosshair{position:absolute;left:50%;top:50%;width:34px;height:34px;pointer-events:none;transform:translate(-50%,-50%);filter:drop-shadow(0 1px 3px #000)}#crosshair:before,#crosshair:after,#crosshair i,#crosshair b{content:"";position:absolute;background:#fff;border-radius:9px}#crosshair:before{width:3px;height:11px;left:15.5px;top:0}#crosshair:after{width:3px;height:11px;left:15.5px;bottom:0}#crosshair i{width:11px;height:3px;left:0;top:15.5px}#crosshair b{width:11px;height:3px;right:0;top:15.5px}#crosshair.hit:before,#crosshair.hit:after,#crosshair.hit i,#crosshair.hit b{background:#fbbf24}#hit-flash{position:absolute;inset:0;pointer-events:none;opacity:0;background:radial-gradient(circle at center,transparent 45%,#fff5 100%);transition:opacity .08s}#hit-flash.on{opacity:1}.panel{position:absolute;left:50%;top:50%;z-index:5;width:min(520px,calc(100% - 32px));transform:translate(-50%,-50%);padding:clamp(20px,4vw,38px);border:1px solid #ffffff24;border-radius:24px;background:linear-gradient(145deg,#101726e8,#060910e8);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 30px 80px #000b}.panel h1,.panel h2{margin:0 0 12px;font-size:clamp(34px,7vw,72px);line-height:.88;letter-spacing:-.06em;text-transform:uppercase}.panel h1{color:#fff}.panel p{max-width:46ch;color:#cbd5e1;line-height:1.55}.eyebrow{margin:0 0 10px!important;color:#fb923c!important;font-size:11px;font-weight:900;letter-spacing:.2em}.panel button{margin-top:12px;min-height:48px;border:0;border-radius:13px;padding:0 18px;background:#fb923c;color:#1b1007;font-weight:950;letter-spacing:.02em;cursor:pointer}.hidden{display:none!important}.game-actions{position:absolute;right:14px;bottom:14px;z-index:4;display:flex;gap:8px;align-items:center}.reload,.sound{min-height:44px;border:1px solid #ffffff2a;border-radius:12px;background:#0b1220d9;color:#fff;padding:0 14px;font-size:12px;font-weight:900;letter-spacing:.06em;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.sound{border:1px solid #ffffff20;border-radius:12px;background:#0b1220b0;color:#cbd5e1;padding:0 12px;font-size:11px;font-weight:900;letter-spacing:.04em}.reload span{margin-left:7px;padding:2px 6px;border-radius:6px;background:#ffffff19;color:#cbd5e1}#toast{position:absolute;left:14px;bottom:18px;z-index:4;max-width:55%;font-size:12px;font-weight:800;text-shadow:0 1px 5px #000}#boss-bar{position:absolute;z-index:4;left:50%;top:16px;width:min(430px,72%);transform:translate(-50%);text-align:center;font-size:11px;font-weight:950;letter-spacing:.14em;text-shadow:0 1px 4px #000}#boss-bar>div{height:8px;margin-top:6px;overflow:hidden;border-radius:99px;background:#0008;border:1px solid #ffffff24}#boss-bar i{display:block;width:100%;height:100%;background:linear-gradient(90deg,#dc2626,#fb923c);transition:width .12s}footer{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;padding:10px 4px 0;color:#64748b;font-size:11px;font-weight:700}@media(max-width:680px){#game-shell{padding-left:6px;padding-right:6px}.hud{align-items:flex-start}.hud-stats{gap:4px}.stat{min-width:66px;padding:6px 8px}.stat small{font-size:7px}.stat strong{font-size:13px}#stage{border-radius:16px;min-height:340px;aspect-ratio:10/13}.brand{display:none}.hud-stats{width:100%;display:grid;grid-template-columns:repeat(4,1fr)}.panel h1,.panel h2{font-size:44px}.game-actions{right:10px;bottom:10px;gap:6px}.reload,.sound{min-height:42px;padding-left:10px;padding-right:10px}.sound{font-size:10px}#toast{left:10px;bottom:17px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.brand-block{min-width:0}.level-chip{margin-top:7px;color:#94a3b8;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.objective-card{position:absolute;left:14px;top:14px;z-index:3;max-width:min(420px,62%);padding:9px 11px;border:1px solid #ffffff24;border-radius:12px;background:#0b1220b8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:none}.objective-card small{display:block;color:#fb923c;font-size:8px;font-weight:950;letter-spacing:.16em}.objective-card strong{display:block;margin-top:2px;font-size:11px;line-height:1.35;text-shadow:0 1px 4px #000}.level-dots{display:flex;gap:8px;margin:18px 0 4px}.level-dot{display:grid;place-items:center;width:30px;height:30px;border:1px solid #ffffff25;border-radius:999px;background:#ffffff0b;color:#94a3b8;font-size:11px;font-weight:950}.level-dot.current{border-color:#fb923c;background:#fb923c;color:#1b1007}.level-dot.cleared{border-color:#65a30d;background:#365314;color:#ecfccb}.result-detail{margin-top:6px!important;color:#94a3b8!important}.result-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:8px}.result-actions button{margin-top:0}.panel button.secondary{border:1px solid #ffffff29;background:#172033;color:#e2e8f0}.panel.passed{border-color:#65a30d55}.panel.failed{border-color:#ef444455}@media(max-width:680px){.level-chip{font-size:8px}.objective-card{left:10px;top:10px;max-width:70%;padding:7px 9px}.objective-card strong{font-size:9px}.level-dot{width:28px;height:28px}.result-actions{display:grid;grid-template-columns:1fr}.result-actions button{width:100%}}#toast,#boss-bar{pointer-events:none}@media(pointer:coarse){.reload span{display:none}footer{display:none}#toast{bottom:64px;max-width:85%}}.pause-button{position:absolute;right:14px;bottom:68px;z-index:4;min-height:42px;border:1px solid #ffffff2a;border-radius:12px;background:#0b1220d9;color:#fff;padding:0 14px;font-size:11px;font-weight:900;letter-spacing:.06em;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}@media(max-width:680px){.pause-button{right:10px;bottom:64px}.reload,.pause-button{min-width:118px}}#crosshair.touch-aim{transform:translate(-50%,-50%) scale(1.16)}#crosshair.miss:before,#crosshair.miss:after,#crosshair.miss i,#crosshair.miss b{background:#fb7185}#crosshair.hit{filter:drop-shadow(0 0 7px #fbbf24)}#crosshair.miss{filter:drop-shadow(0 0 7px #fb7185)}#hit-flash.hit{background:radial-gradient(circle at center,transparent 58%,#fbbf2422 100%)}#hit-flash.miss{background:radial-gradient(circle at center,transparent 58%,#fb71851c 100%)}@media(pointer:coarse){#crosshair{width:42px;height:42px}#crosshair:before{left:19.5px;height:13px}#crosshair:after{left:19.5px;height:13px}#crosshair i,#crosshair b{top:19.5px;width:13px}}.score-popup{position:absolute;z-index:7;pointer-events:none;transform:translate(-50%,-50%);font-size:clamp(17px,3vw,26px);font-weight:950;letter-spacing:-.03em;color:#fff;text-shadow:0 2px 8px #000,0 0 14px #000;animation:score-pop .72s cubic-bezier(.16,.84,.3,1) forwards}.score-popup.gold{color:#fde047;font-size:clamp(21px,3.8vw,32px)}.score-popup.armored{color:#cbd5e1}.score-popup.boss{color:#fb7185;font-size:clamp(24px,4.2vw,36px)}@keyframes score-pop{0%{opacity:0;transform:translate(-50%,-30%) scale(.7)}18%{opacity:1;transform:translate(-50%,-58%) scale(1.16)}to{opacity:0;transform:translate(-50%,-145%) scale(.94)}}.level-dots{flex-wrap:wrap;max-height:144px;overflow:auto;align-content:flex-start;overscroll-behavior:contain}.panel .level-dot{margin:0;padding:0;width:44px;height:44px;min-height:44px;flex:0 0 44px;border:1px solid #ffffff25;background:#ffffff0b;color:#94a3b8;font-size:12px;border-radius:50%}.panel .level-dot.current{border-color:#fb923c;background:#fb923c;color:#1b1007}.panel .level-dot.cleared:not(.current){border-color:#65a30d;background:#365314;color:#ecfccb}.panel .level-dot:disabled{opacity:.42;cursor:default}.panel{max-height:calc(100% - 24px);overflow:auto;overscroll-behavior:contain}@media(max-width:680px){.hud{display:grid;grid-template-columns:1fr;gap:6px}.hud-stats{width:100%;grid-template-columns:repeat(4,minmax(0,1fr))}.stat{min-width:0}.level-chip{margin:0}.game-actions{max-width:calc(100% - 20px);flex-wrap:wrap;justify-content:flex-end}}@media(display-mode:standalone){#game-shell{min-height:100dvh}}.weapon-button.armed{background:#ffcb54;color:#271500;border-color:#ffe19a;box-shadow:0 0 16px #fbbf2460}.weapon-button:disabled{opacity:.48}.game-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.game-actions button{min-height:44px}.game-actions .pause-button{position:static}.game-actions .weapon-button{min-width:112px}#toast{pointer-events:none}@media(pointer:coarse){.game-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(270px,calc(100% - 20px))}.game-actions button{width:100%;padding:0 8px}#toast{bottom:116px;max-width:90%}}.result-stars{font-size:clamp(28px,6vw,48px);letter-spacing:.12em;color:#ffce58;text-shadow:0 2px 12px #fbbf2438}.panel .result-stats,.panel .campaign-stars{font-size:12px;color:#cbd5e1;margin:8px 0}.panel .level-dot{position:relative;line-height:1}.dot-stars{position:absolute;bottom:2px;left:0;right:0;font-size:8px;letter-spacing:-.08em;color:#ffce58}.level-dot.current .dot-stars{color:#592d05}.panel .level-dot:has(.dot-stars){padding-bottom:7px}.hud .stat{background:linear-gradient(155deg,#202a3a,#101724 72%);box-shadow:inset 0 1px #ffffff12}.stat strong{display:block;color:#f8fafc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat:first-child strong{color:#ffd27a}.stat:nth-child(3) strong{color:#9fe9ff}.stat.urgent{border-color:#f97316;background:linear-gradient(155deg,#5b251b,#24131b)}.stat.urgent strong{color:#ffc19a}#boss-bar{top:76px;width:min(380px,86%);padding:9px 12px 10px;border:1px solid #ffab6e66;background:#150d19dc;border-radius:12px;box-shadow:0 6px 22px #0006;text-align:left;letter-spacing:.08em}#boss-bar>div{height:12px;margin-top:8px;background:#401d29}#boss-bar i{background:linear-gradient(90deg,#eb3852,#ffa14a);box-shadow:0 0 12px #fb7549}#boss-bar.critical i{background:#ff3655}#boss-hp{float:right;color:#ffd2a8;font-size:10px;font-variant-numeric:tabular-nums}#boss-intro{position:absolute;z-index:4;top:32%;left:50%;width:90%;transform:translate(-50%);pointer-events:none;text-align:center;color:#fff4d9;font-size:clamp(20px,4vw,36px);font-weight:950;letter-spacing:.04em;text-shadow:0 2px 6px #000,0 0 24px #ff5a20;animation:boss-arrive .35s ease-out both}@keyframes boss-arrive{0%{opacity:0;transform:translate(-50%) scale(.82)}to{opacity:1;transform:translate(-50%) scale(1)}}.shot-fx{position:absolute;z-index:3;pointer-events:none;width:36px;height:36px;border:2px solid #fff9;border-radius:50%;box-shadow:0 0 10px #fff8;animation:shot-ring .22s ease-out both}.shot-fx.boosted{width:64px;height:64px;border:3px solid #affaff;box-shadow:0 0 14px #2cf7ff,inset 0 0 12px #ffd166;animation-duration:.42s}@keyframes shot-ring{0%{opacity:1;transform:translate(-50%,-50%) scale(.25)}to{opacity:0;transform:translate(-50%,-50%) scale(1.7)}}#hit-flash.hit{background:radial-gradient(circle at center,transparent 65%,#ffb64744 100%)}.weapon-button.armed{background:linear-gradient(120deg,#ffcf62,#7af2ff);color:#152331;border-color:#fff1b1}.game-actions button:focus-visible,.panel button:focus-visible{outline:2px solid #9fe9ff;outline-offset:3px}@media(max-width:680px){.hud-stats .stat{padding:7px 6px}.stat strong{font-size:clamp(12px,3.8vw,16px)}.game-actions{width:calc(100% - 20px);max-width:320px}.game-actions button{min-width:0!important;min-height:48px}#boss-bar{top:68px}.objective-card{max-width:calc(100% - 20px)}}@media(prefers-reduced-motion:reduce){.shot-fx,.shot-fx.boosted{animation:none;opacity:.5;transform:translate(-50%,-50%)}#boss-intro,.score-popup{animation:none}}.mission-track{height:4px;margin-top:6px;border-radius:4px;background:#ffffff25;overflow:hidden}.mission-track i{height:100%;width:0;display:block;background:linear-gradient(90deg,#ff9e48,#ffdb79);transition:width .18s ease-out}#pause-panel{z-index:8}#graphics-panel{z-index:9}#pause-panel h2,#graphics-panel h2{font-size:clamp(30px,6vw,52px)}@media(max-width:680px)and (orientation:portrait){#game-shell{padding-bottom:max(6px,env(safe-area-inset-bottom))}#stage{height:clamp(320px,calc(100svh - 125px - env(safe-area-inset-top) - env(safe-area-inset-bottom)),720px);aspect-ratio:auto}.panel{padding:18px}.panel h1,.panel h2{font-size:clamp(28px,9vw,44px)}.level-dots{gap:5px;max-height:142px}#boss-bar{top:85px}}@media(pointer:coarse)and (orientation:landscape)and (max-height:500px){#game-shell{padding-top:4px;padding-bottom:4px}.hud{padding-bottom:4px}#stage{min-height:220px;height:calc(100svh - 75px);aspect-ratio:auto}.panel{padding:15px}.panel h1,.panel h2{font-size:30px}.level-dots{max-height:72px}.game-actions{width:230px}}.hud .stat{border-color:#526f8a;background:linear-gradient(165deg,#314a62,#152332 55%,#0d1926);box-shadow:inset 0 1px 3px #ffffff32,0 3px 8px #0005}.game-actions button{border:1px solid #7693ae;box-shadow:inset 0 2px 3px #ffffff2b,0 3px 5px #0008;font-weight:950}.game-actions .reload{background:linear-gradient(#eaa339,#a6550a);border-color:#ffe0a2;color:#fff;text-shadow:0 1px 2px #713a04}.game-actions .pause-button{background:linear-gradient(#35577a,#17283c)}.game-actions #sound{background:linear-gradient(#247883,#12343d);border-color:#6ed6d8}.game-actions .weapon-button:not(.armed){background:linear-gradient(#557537,#263c1d);border-color:#a1bb65}.objective-card{background:linear-gradient(#273b4d,#142330);border-color:#7893aa;box-shadow:0 4px 12px #0004}.build-label{margin:4px 0 0;text-align:center;color:#8aa2b8;font-size:9px;letter-spacing:.13em}.update-notice{display:block;width:100%;margin-top:8px;min-height:44px;background:#1a4353;color:#e5fcff;border:1px solid #65bac8;border-radius:10px;font-weight:800}.update-notice.hidden{display:none}#game-shell.round-active:not(.round-paused) .update-notice{display:none}.creator-credit{font-size:11px;letter-spacing:.025em;color:#a8bed0;text-align:center;margin:10px 0 0}.footer-credit{margin:8px 0 0}#game-shell.round-active:not(.round-paused) .footer-credit{display:none}.diagnostics-controls{margin:8px 0}.diagnostics-controls button,.diagnostics-controls textarea{width:100%;margin:4px 0}.diagnostics-controls textarea{background:#172536;color:#f0f5ff;font:12px monospace;-webkit-user-select:text;user-select:text;resize:vertical}.diagnostics-controls.hidden,.diagnostics-controls textarea.hidden,#game-shell.round-active:not(.round-paused) .diagnostics-controls{display:none}.arena-preview-controls.hidden{display:none}.arena-preview-controls{padding:8px 0;color:#d9e8f4}.preview-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;letter-spacing:.07em;margin-bottom:8px}.preview-heading a{color:#9fe9ff;font-size:12px;letter-spacing:0}.preview-navigation{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px}.preview-navigation button,.preview-navigation select{min-width:0;min-height:44px;border:1px solid #587b96;border-radius:10px;background:#172b3d;color:#eef6ff;font:600 16px system-ui}.preview-navigation button{font-size:25px;padding:0}.preview-navigation select{width:100%;padding:5px 8px}#arena-preview-status{font-size:11px;color:#a8bed0;margin:6px 0 0}.arena-preview .hud-stats,.arena-preview #objective-card,.arena-preview #crosshair,.arena-preview #hit-flash,.arena-preview .game-actions,.arena-preview #toast,.arena-preview footer{display:none}.arena-preview #stage{height:clamp(280px,calc(100svh - 160px),720px);aspect-ratio:auto}.arena-preview #game{touch-action:pan-y}.arena-preview .footer-credit{display:block}.install-panel{margin:8px 0;text-align:center}.install-panel button{min-height:44px;width:100%;border:1px solid #587b96;border-radius:12px;background:#172b3d;color:#eef6ff;font-weight:800}.install-panel p{font-size:12px;color:#cbd5e1;line-height:1.45;text-align:left}.installed-app .install-panel,#game-shell.round-active:not(.round-paused) .install-panel{display:none!important}@media(display-mode:standalone){html,body{background:#080b12}}.installed-app #game-shell{min-height:100vh;min-height:100dvh;padding-top:max(8px,env(safe-area-inset-top));padding-bottom:max(8px,env(safe-area-inset-bottom));padding-left:max(6px,env(safe-area-inset-left));padding-right:max(6px,env(safe-area-inset-right))}@media(pointer:coarse)and (orientation:portrait){.installed-app #game-shell.round-active:not(.round-paused){height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}.installed-app #game-shell.round-active:not(.round-paused) #stage{flex:1;min-height:0;aspect-ratio:auto;height:auto}.installed-app #game-shell.round-active:not(.round-paused) .hud{flex-shrink:0}.installed-app #game-shell.round-active:not(.round-paused) .build-label{flex-shrink:0;margin:4px 0}.installed-app .panel{max-height:calc(100% - 24px);overflow-y:auto}}@media(pointer:coarse)and (orientation:landscape){.installed-app .panel{max-height:calc(100% - 20px);overflow-y:auto}.installed-app #stage{min-height:240px}}
