@import "https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Mono:wght@400;700&display=swap";:root{--ink:#172033;--navy:#101828;--cream:#fff8e7;--yellow:#ffd15c;--yellow-deep:#f5a623;--coral:#ff5b5b;--mint:#65e6a5;--sky:#6fd8ff;--panel:#101828db;--panel-border:#ffebba40;--mono:"Space Mono", "SFMono-Regular", Consolas, monospace;--display:"Archivo Black", "Arial Black", Impact, sans-serif}*{box-sizing:border-box}html,body{height:100%;color:var(--cream);font-family:var(--mono);-webkit-font-smoothing:antialiased;-webkit-user-select:none;user-select:none;background:#090d16;margin:0;overflow:hidden}#game-root,#game-canvas{width:100%;height:100%;position:fixed;inset:0}#game-canvas{outline:none;display:block}.hidden{display:none!important}body.game-cursor-hidden,body.game-cursor-hidden *{cursor:none!important}#hud{pointer-events:none;z-index:10;letter-spacing:.12em;font-size:11px;position:fixed;inset:0}.hud-top{grid-template-columns:minmax(180px,290px) auto minmax(120px,180px);align-items:start;gap:16px;display:grid;position:absolute;top:clamp(14px,2.5vw,28px);left:clamp(14px,2.5vw,28px);right:clamp(14px,2.5vw,28px)}.hud-panel{background:var(--panel);border:2px solid var(--panel-border);clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));position:relative;box-shadow:0 0 0 2px #070b148c,6px 6px #070b144d}.health-panel{grid-template-columns:1fr auto;align-items:center;gap:7px 12px;padding:12px 14px 11px;display:grid}.hud-label{color:#fff8e799;font-size:9px;font-weight:700}.health-track{background:#263046;border:2px solid #00000059;height:12px;padding:2px;overflow:hidden}#health-fill{background:repeating-linear-gradient(90deg, transparent 0 11px, #00000038 11px 13px), linear-gradient(90deg, var(--mint), #a4ffc9);width:100%;height:100%;transition:width .12s linear,background .2s;box-shadow:0 0 12px #65e6a566}#health-fill.warning{background:repeating-linear-gradient(90deg, transparent 0 11px, #00000038 11px 13px), linear-gradient(90deg, var(--yellow-deep), var(--yellow));box-shadow:0 0 12px #ffd15c66}#health-fill.critical{background:repeating-linear-gradient(90deg, transparent 0 11px, #00000038 11px 13px), linear-gradient(90deg, #d62d4c, var(--coral));animation:.7s steps(2,end) infinite criticalPulse;box-shadow:0 0 14px #ff5b5b99}@keyframes criticalPulse{50%{opacity:.55}}#health-value{font-family:var(--display);color:var(--mint);text-align:right;grid-area:1/2/span 2;font-size:22px;line-height:1}.mission-panel{text-align:center;border-color:#ffd15c52;justify-self:center;min-width:200px;padding:10px 22px}#level-label{color:var(--sky);letter-spacing:.2em;margin-bottom:3px;font-size:8px;font-weight:700}#wave-label{font-family:var(--display);color:var(--yellow);letter-spacing:.08em;font-size:15px}#enemy-label{color:#fff8e7a8;margin-top:4px;font-size:9px;font-weight:700}#objective-label{color:var(--yellow);letter-spacing:.06em;margin-top:3px;font-size:8px;font-weight:700}.score-panel{text-align:right;justify-self:end;min-width:130px;padding:11px 14px 9px}#score-value{font-family:var(--display);color:var(--cream);margin-top:2px;font-size:24px;line-height:1}#weapon-widgets{flex-direction:row;align-items:stretch;gap:8px;display:flex;position:absolute;bottom:clamp(58px,7.5vh,88px);left:50%;transform:translate(-50%)}.weapon-chip{align-items:center;gap:8px;min-width:108px;padding:7px 11px 8px;display:flex}.weapon-icon{width:20px;height:22px;color:var(--yellow);flex:none;place-items:center;display:grid}#rocket-widget .weapon-icon{color:var(--coral)}.weapon-icon svg{fill:currentColor;width:100%;height:100%;display:block}.weapon-icon .weapon-icon-bomb,#rocket-widget[data-weapon=bomb] .weapon-icon-rocket{display:none}#rocket-widget[data-weapon=bomb] .weapon-icon-bomb{display:block}#rocket-widget[data-weapon=none] .weapon-icon{opacity:.4}#radar-widget{width:158px;padding:8px 9px 7px;position:absolute;bottom:clamp(50px,7vh,76px);left:clamp(14px,2.5vw,28px)}.radar-title{color:#fff8e785;letter-spacing:.14em;justify-content:space-between;align-items:center;margin-bottom:5px;font-size:8px;font-weight:700;display:flex}.radar-title b{color:var(--mint);font-size:7px;animation:1.2s steps(2,end) infinite radarLive}@keyframes radarLive{50%{opacity:.3}}#radar-canvas{aspect-ratio:180/140;background:radial-gradient(circle,#4a828238,#060e14bf);border:1px solid #65e6a529;width:100%;height:auto;display:block}.weapon-readout{justify-items:start;gap:4px;min-width:0;display:grid}.weapon-readout strong{font-family:var(--display);color:var(--cream);letter-spacing:.02em;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:15px;line-height:1}#rocket-widget[data-weapon=none] #rocket-value{color:#fff8e773}.weapon-track{background:#263046;border:1px solid #00000059;width:62px;height:5px;overflow:hidden}#gun-fill,#rocket-fill{background:linear-gradient(90deg, var(--yellow-deep), var(--yellow));width:100%;height:100%;transition:width 90ms linear,background .12s;box-shadow:0 0 9px #ffd15c8c}#gun-fill.reloading,#rocket-fill.cooling{background:linear-gradient(90deg, #335072, var(--sky));box-shadow:0 0 9px #6fd8ff66}#rocket-fill.empty{box-shadow:none;background:linear-gradient(90deg,#461f28,#8d3949)}#crosshair{--crosshair-scale:1;width:44px;height:44px;transform:translate(-50%, -50%) scale(var(--crosshair-scale));transition:transform 80ms,opacity .12s;position:absolute;top:50%;left:50%}#crosshair i{background:#fff8e7e6;position:absolute;box-shadow:0 0 4px #000c}#crosshair .top,#crosshair .bottom{width:2px;height:9px;left:21px}#crosshair .left,#crosshair .right{width:9px;height:2px;top:21px}#crosshair .top{top:3px}#crosshair .bottom{bottom:3px}#crosshair .left{left:3px}#crosshair .right{right:3px}#crosshair b{background:var(--yellow);width:4px;height:4px;box-shadow:0 0 6px var(--yellow);border-radius:50%;position:absolute;top:20px;left:20px}#crosshair.targeting{transform:translate(-50%, -50%) scale(calc(var(--crosshair-scale) * 1.22)) rotate(45deg)}#crosshair.targeting b{background:var(--coral);box-shadow:0 0 10px var(--coral)}#hit-marker{opacity:0;clip-path:polygon(0 0,42% 42%,50% 32%,58% 42%,100% 0,100% 8%,66% 50%,100% 92%,100% 100%,58% 58%,50% 68%,42% 58%,0 100%,0 92%,34% 50%,0 8%);filter:drop-shadow(0 0 4px #000c);background:linear-gradient(45deg,#0000 45%,#fff 45% 55%,#0000 55%),linear-gradient(-45deg,#0000 45%,#fff 45% 55%,#0000 55%);width:34px;height:34px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#hit-marker.show{animation:.16s ease-out hitFlash}#hit-marker.kill{filter:drop-shadow(0 0 6px var(--coral))}@keyframes hitFlash{0%{opacity:1;transform:translate(-50%,-50%)scale(.7)}to{opacity:0;transform:translate(-50%,-50%)scale(1.3)}}#rocket-reticle{opacity:0;border:1px dashed #ffd15c47;border-radius:50%;width:78px;height:78px;transition:opacity .15s,transform .15s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(.9)}#rocket-reticle.show{opacity:1;transform:translate(-50%,-50%)scale(1)}#damage-flash{opacity:0;mix-blend-mode:screen;background:radial-gradient(circle,#0000 35%,#ff32322e 65%,#ff23239e 100%);position:absolute;inset:0}#low-health{opacity:0;background:radial-gradient(circle at 50% 52%,#0000 46%,#9b05146b 100%);transition:opacity .5s;animation:1.3s ease-in-out infinite lowHealthPulse;position:absolute;inset:0}@keyframes lowHealthPulse{50%{background:radial-gradient(circle at 50% 52%,#0000 42%,#af08188c 100%)}}#wave-banner{opacity:0;color:var(--yellow);font-family:var(--display);letter-spacing:.08em;text-align:center;white-space:nowrap;pointer-events:none;background:#0c121ee6;border:2px solid #ffd15c73;padding:12px 26px 10px;font-size:clamp(22px,4vw,44px);position:absolute;top:30%;left:50%;transform:translate(-50%,-50%)scale(.92);box-shadow:0 0 60px #ffd15c21}#wave-banner small{color:#fff8e7a6;font-family:var(--mono);letter-spacing:.18em;margin-top:5px;font-size:10px;display:block}#wave-banner.show{animation:2.4s forwards bannerIn}@keyframes bannerIn{0%{opacity:0;transform:translate(-50%,-50%)scale(.8)}12%,72%{opacity:1;transform:translate(-50%,-50%)scale(1)}to{opacity:0;transform:translate(-50%,-50%)scale(1.04)}}#toast{z-index:70;color:var(--sky);border-left:3px solid var(--sky);letter-spacing:.16em;opacity:0;pointer-events:none;white-space:nowrap;background:#0c121ee6;padding:7px 14px;font-size:10px;font-weight:700;transition:opacity .2s;position:fixed;bottom:13%;left:50%;transform:translate(-50%)}#toast.show{opacity:1}.control-strip{color:#fff8e76b;text-align:center;background:#070b148c;border-top:1px solid #fff8e71f;flex-wrap:wrap;justify-content:center;gap:4px 16px;width:min(90vw,820px);padding:8px 15px;font-size:8px;font-weight:700;display:flex;position:absolute;bottom:14px;left:50%;transform:translate(-50%)}.control-strip span{white-space:nowrap}kbd{min-width:19px;color:var(--cream);font-family:var(--mono);text-align:center;letter-spacing:.05em;background:#fff8e712;border:1px solid #fff8e73d;border-bottom-width:2px;padding:2px 4px;font-size:8px;font-weight:700;line-height:1.2;display:inline-block}.overlay{z-index:30;background:radial-gradient(circle at 50% 46%,#151f332e 0%,#070b14a8 55%,#05080ef0 100%);place-items:center;padding:22px;display:grid;position:fixed;inset:0;overflow:auto}.overlay:after{content:"";pointer-events:none;mix-blend-mode:overlay;background-image:linear-gradient(#ffffff05 1px,#0000 1px),linear-gradient(90deg,#ffffff05 1px,#0000 1px);background-size:4px 4px;position:fixed;inset:0}.intro-wrap{z-index:1;text-align:center;width:min(1180px,100%);height:100%;min-height:0;box-shadow:none;clip-path:none;background:0 0;border:0;grid-template:"hero hero""lower showcase"minmax(0,1fr)/minmax(0,.9fr) minmax(0,1.1fr);align-content:start;align-items:center;gap:8px clamp(28px,5vw,70px);padding:clamp(20px,4vh,44px) clamp(28px,4vw,56px);display:grid;position:relative}#overlay{background:linear-gradient(#05080ec7 0%,#05080e4d 30%,#05080e3d 62%,#05080ed1 100%)}.menu-hero{text-align:center;grid-area:hero;align-self:start}.menu-hero .eyebrow,.menu-hero .intro-copy{display:none}.menu-lower{text-align:left;flex-direction:column;grid-area:lower;place-self:center start;width:100%;max-width:470px;margin:0;display:flex}.menu-lower .pilot-bar,.menu-lower .tiny-note,.intro-wrap:before{display:none}.eyebrow{color:var(--sky);letter-spacing:.26em;margin-bottom:10px;font-size:clamp(8px,1vw,10px);font-weight:700}h1{font-family:var(--display);letter-spacing:-.045em;color:var(--cream);text-shadow:0 4px #0a101d,0 8px #00000059;margin:0;font-size:clamp(46px,6.2vw,84px);line-height:1}h1 span{color:var(--yellow);text-shadow:0 4px #8f5b0c,0 8px #00000059}.tagline{color:var(--coral);font-family:var(--display);letter-spacing:.32em;text-transform:uppercase;text-shadow:0 2px 10px #0009;margin:8px 0 0;font-size:clamp(12px,1.7vw,17px)}.intro-copy{color:#fff8e7ad;max-width:540px;margin:16px auto 6px;font-size:clamp(10px,1.3vw,12px);line-height:1.7}.pilot-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 auto 14px;display:grid}.pilot-bar>div{text-align:left;background:#fff8e70d;border:1px solid #fff8e71f;padding:9px 12px}.pilot-bar span{color:#fff8e766;letter-spacing:.16em;font-size:8px;font-weight:700;display:block}.pilot-bar strong{color:var(--cream);font-family:var(--display);letter-spacing:.03em;margin-top:3px;font-size:17px;display:block}.menu-showcase{text-align:left;min-width:0;box-shadow:none;background:0 0;border:0;flex-direction:column;grid-area:showcase;justify-content:center;align-self:stretch;padding:0;display:flex}.menu-stage{height:clamp(240px,34vh,340px)}.menu-showcase .showcase-name-row .mini-button,.menu-showcase .showcase-tagline,.menu-showcase .stat-bars,.menu-showcase .showcase-footer{display:none}.showcase-topline{color:#6fd8ffb8;letter-spacing:.18em;justify-content:space-between;align-items:center;gap:12px;font-size:7px;font-weight:700;display:flex}.showcase-topline b{color:#fff8e757;font-weight:700}.showcase-stage{background:radial-gradient(at 50% 68%,#2d63853d,#0000 58%),linear-gradient(#070d1880,#09101b1f);border:1px solid #6fd8ff29;height:clamp(230px,29vh,310px);margin-top:9px;position:relative;overflow:hidden}.showcase-stage.locked{background:radial-gradient(at 50% 68%,#762d373d,#0000 58%),linear-gradient(#070d1894,#09101b2e);border-color:#ff5b5b6b}.showcase-stage:before{content:"";z-index:0;pointer-events:none;border:1px dashed #fff8e70f;position:absolute;inset:8px}.showcase-stage canvas{z-index:2;width:100%;height:100%;display:block;position:absolute;inset:0}.stage-glow{z-index:1;filter:blur(8px);pointer-events:none;background:radial-gradient(#6fd8ff33,#0000 68%);height:58%;position:absolute;bottom:9%;left:15%;right:15%}.stage-ring{z-index:3;pointer-events:none;border:1px solid #6fd8ff4d;border-radius:50%;width:62%;height:13%;position:absolute;bottom:12%;left:50%;transform:translate(-50%,50%);box-shadow:0 0 30px #6fd8ff29,inset 0 0 18px #6fd8ff1c}.plane-cycle{z-index:6;width:38px;height:46px;color:var(--cream);font-family:var(--display);cursor:pointer;-webkit-tap-highlight-color:transparent;background:#070b14a8;border:1px solid #6fd8ff52;place-items:center;padding:0;font-size:25px;line-height:1;transition:color .12s,border-color .12s,background .12s;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.plane-cycle.prev{left:8px}.plane-cycle.next{right:8px}.plane-cycle:hover,.plane-cycle:focus-visible{color:var(--yellow);background:#070b14d1;border-color:#ffd15c9e;outline:none}.plane-cycle:focus-visible{box-shadow:0 0 0 2px #ffd15c47}.plane-cycle:disabled{opacity:.22;cursor:default}.plane-cycle[hidden]{display:none}.showcase-info{min-width:0;padding:12px 4px 2px}.showcase-name-row{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.showcase-name-main{align-items:center;gap:8px;min-width:0;display:flex}.plane-lock{width:22px;height:22px;color:var(--coral);flex:none;justify-content:center;align-items:center;display:inline-flex}.plane-lock svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:100%;height:100%;display:block}.showcase-name-row h2{color:var(--cream);font-family:var(--display);letter-spacing:.01em;margin:0;font-size:clamp(20px,2.2vw,28px);line-height:1}.plane-key-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;margin-top:12px;display:grid}.plane-key-stat{text-align:left;background:#070b148a;border:1px solid #fff8e71f;min-width:0;padding:7px 9px}.plane-key-stat span{color:#6fd8ffb8;letter-spacing:.12em;text-overflow:ellipsis;white-space:nowrap;font-size:7px;font-weight:700;display:block;overflow:hidden}.plane-key-stat strong{color:var(--cream);font-family:var(--display);letter-spacing:.02em;margin-top:3px;font-size:clamp(14px,1.6vw,19px);line-height:1;display:block}.mini-button{color:var(--yellow);font-family:var(--mono);letter-spacing:.13em;cursor:pointer;background:#ffd15c14;border:1px solid #ffd15c6b;flex:none;padding:5px 8px 4px;font-size:7px;font-weight:700;transition:background .12s,border-color .12s}.mini-button:hover{border-color:var(--yellow);background:#ffd15c29}.menu-buy-button{color:var(--yellow);font-family:var(--mono);letter-spacing:.14em;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#ffd15c1a;border:1px solid #ffd15c8f;align-items:center;gap:8px;margin-top:10px;padding:8px 13px;font-size:9px;font-weight:700;line-height:1;transition:color .12s,border-color .12s,background .12s;display:inline-flex}.menu-buy-button small{color:#fff8e780;font-size:7px}.menu-buy-button:hover,.menu-buy-button:focus-visible{color:#ffe08a;border-color:var(--yellow);background:#ffd15c2e;outline:none}.menu-buy-button:focus-visible{box-shadow:0 0 0 2px #ffd15c47}.menu-plane-hint{color:#ff9b9b;letter-spacing:.11em;text-shadow:0 2px 7px #000000b3;margin:5px 0 0;font-size:8px;font-weight:700;line-height:1.3}.showcase-tagline{color:#fff8e780;min-height:30px;margin:8px 0 10px;font-size:8px;line-height:1.6}.stat-bars{flex-direction:column;gap:7px;display:flex}.stat-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px;display:grid}.stat-label{color:#fff8e775;letter-spacing:.14em;font-size:7px;font-weight:700}.stat-value{color:#fff8e7e0;font-family:var(--display);letter-spacing:.04em;font-size:10px}.stat-track{background:#fff8e714;border:1px solid #00000052;grid-column:1/-1;height:6px;overflow:hidden}.stat-track i{background:linear-gradient(90deg, #3b9d72, var(--mint));width:0;height:100%;transition:width .34s;display:block;box-shadow:0 0 8px #65e6a559}.stat-row:nth-child(2) .stat-track i{background:linear-gradient(90deg, #3c7fa8, var(--sky));box-shadow:0 0 8px #6fd8ff59}.stat-row:nth-child(3) .stat-track i{background:linear-gradient(90deg, #a97115, var(--yellow));box-shadow:0 0 8px #ffd15c59}.stat-row:nth-child(4) .stat-track i{background:linear-gradient(90deg, #ae3c4d, var(--coral));box-shadow:0 0 8px #ff5b5b52}.stat-row:nth-child(5) .stat-track i{background:linear-gradient(90deg,#7c5b16,#ffe08a);box-shadow:0 0 8px #ffe08a52}.showcase-footer{color:#fff8e75c;letter-spacing:.09em;border-top:1px solid #fff8e717;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding-top:9px;font-size:7px;font-weight:700;display:flex}.showcase-link{color:var(--yellow);font-family:var(--mono);letter-spacing:.12em;cursor:pointer;background:0 0;border:0;padding:0;font-size:7px;font-weight:700}.showcase-link b{font-family:var(--display);font-size:10px}.showcase-link:hover{color:#ffe08a}.level-list{grid-template-columns:repeat(3,1fr);gap:8px;max-width:690px;margin:0 auto 18px;display:grid}.level-card{color:var(--cream);font-family:var(--mono);text-align:left;cursor:pointer;background:#fff8e70a;border:1px solid #fff8e724;grid-template-rows:auto auto;grid-template-columns:auto 1fr;gap:2px 9px;padding:10px 12px;transition:border-color .12s,background .12s,transform .12s;display:grid;position:relative}.level-card:hover{background:#ffd15c14;border-color:#ffd15c8c;transform:translateY(-2px)}.level-card .level-number{color:var(--yellow);font-family:var(--display);grid-row:1/span 2;align-self:center;font-size:22px;line-height:1}.level-card strong{font-family:var(--display);letter-spacing:.06em;font-size:11px}.level-card small{color:#fff8e766;letter-spacing:.08em;font-size:7px}.level-card em{color:#fff8e752;letter-spacing:.12em;font-size:7px;font-style:normal;font-weight:700;position:absolute;top:8px;right:8px}.level-card.selected{border-color:var(--yellow);background:#ffd15c1f;box-shadow:inset 0 0 0 1px #ffd15c4d}.level-card.selected em{color:var(--yellow)}.level-card.locked{opacity:.48;cursor:not-allowed}.level-card.locked:hover{background:#fff8e70a;border-color:#fff8e724;transform:none}.levels-panel{width:min(1180px,100%)}.levels-body{grid-template-columns:minmax(280px,.72fr) minmax(0,1.4fr);align-items:stretch;gap:clamp(14px,2vw,24px);display:grid}.levels-side{flex-direction:column;min-width:0;display:flex}.levels-side-head{color:#fff8e775;letter-spacing:.16em;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:8px;font-size:7px;font-weight:700;display:flex}.levels-side-head b{color:var(--sky);font-size:7px}.levels-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px;max-width:none;margin:0}.levels-grid .level-card{min-height:62px}.levels-note{color:#fff8e747;letter-spacing:.12em;margin:10px 0 0;font-size:7px;font-weight:700}.levels-showcase{background:linear-gradient(135deg,#fff8e70b,#fff8e704);border:1px solid #fff8e71c;grid-template-columns:minmax(0,1.12fr) minmax(230px,.7fr);align-self:start;gap:clamp(14px,1.8vw,22px);min-width:0;padding:14px;display:grid}.levels-stage{background:radial-gradient(ellipse at 50% 68%, var(--room-preview-glow,#2d63853d), transparent 58%), linear-gradient(180deg, #070d1880, #09101b1f);border:1px solid #6fd8ff29;min-height:clamp(280px,45vh,440px);position:relative;overflow:hidden}.levels-stage canvas{z-index:2;width:100%;height:100%;display:block;position:absolute;inset:0}.levels-map-label{z-index:4;color:#fff8e785;letter-spacing:.14em;pointer-events:none;background:#070b14c7;border:1px solid #6fd8ff3d;padding:4px 7px 3px;font-size:7px;font-weight:700;position:absolute;bottom:9px;left:10px}.levels-copy{text-align:left;flex-direction:column;min-width:0;display:flex}.levels-copy h3{color:var(--yellow);font-family:var(--display);letter-spacing:-.01em;margin:0 0 8px;font-size:clamp(26px,3vw,40px);line-height:.94}.levels-copy p{color:#fff8e78f;margin:0;font-size:9px;line-height:1.65}.levels-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:14px 0;display:grid}.levels-meta>div{background:#fff8e70a;border:1px solid #fff8e71a;padding:7px 8px}.levels-meta>.levels-hostiles{grid-column:1/-1}.levels-meta>.levels-hostiles strong{letter-spacing:.02em;font-size:8px;line-height:1.35}.levels-meta span{color:#fff8e76b;letter-spacing:.13em;font-size:7px;font-weight:700;display:block}.levels-meta strong{color:var(--cream);font-family:var(--display);letter-spacing:.04em;margin-top:2px;font-size:10px;display:block}.menu-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;margin-bottom:14px;display:grid}.menu-actions .voxel-button{width:100%;min-width:0}.menu-actions .voxel-button:first-child{grid-column:1/-1}.voxel-button.secondary{color:var(--cream);background:#3b4b68;box-shadow:0 7px #1c2536,0 13px 22px #00000059}.voxel-button.secondary:hover{background:#4a5e80;box-shadow:0 9px #1c2536,0 16px 25px #00000061}.voxel-button.secondary small{color:#fff8e77a}.shop-panel{z-index:1;clip-path:polygon(0 0,calc(100% - 24px) 0,100% 24px,100% 100%,24px 100%,0 calc(100% - 24px));background:linear-gradient(155deg,#162136f7,#0a101cf5);border:2px solid #ffe6aa38;width:min(1180px,100%);max-height:92vh;padding:clamp(20px,3vw,38px);position:relative;overflow:auto;box-shadow:14px 14px #00000047,0 0 100px #00000080}.shop-panel::-webkit-scrollbar{width:10px}.shop-panel::-webkit-scrollbar-track{background:#0000003d}.shop-panel::-webkit-scrollbar-thumb{background:#ffd15c59}.shop-header{align-items:center;gap:22px;margin-bottom:14px;display:flex}.shop-header h2{color:var(--yellow);font-family:var(--display);letter-spacing:-.02em;margin:0;font-size:clamp(34px,5vw,58px);line-height:.9}.shop-header-actions{align-items:center;gap:12px;margin-left:auto;display:flex}.shop-wallet{text-align:right;background:#ffd15c14;border:1px solid #ffd15c4d;padding:8px 16px}.shop-wallet span{color:#fff8e773;letter-spacing:.18em;font-size:8px;font-weight:700;display:block}.shop-wallet strong{color:var(--yellow);font-family:var(--display);font-size:24px;line-height:1.1;display:block}.overlay-close{color:#fff8e79e;min-height:32px;font-family:var(--mono);letter-spacing:.14em;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#070b144d;border:1px solid #fff8e72e;flex:none;align-items:center;gap:9px;margin:0;padding:8px 12px;font-size:9px;font-weight:700;line-height:1;transition:color .12s,border-color .12s,background .12s;display:inline-flex}.overlay-close:after{content:"";opacity:.7;background:linear-gradient(45deg,#0000 44%,currentColor 44% 56%,#0000 56%),linear-gradient(-45deg,#0000 44%,currentColor 44% 56%,#0000 56%);width:9px;height:9px}.overlay-close:hover,.overlay-close:focus-visible{color:var(--yellow);background:#ffd15c14;border-color:#ffd15c85;outline:none}.overlay-close:focus-visible{box-shadow:0 0 0 2px #ffd15c47}.shop-message{min-height:16px;color:var(--coral);letter-spacing:.12em;margin:0 0 10px;font-size:9px;font-weight:700}.shop-message[data-tone=success]{color:var(--mint)}.hangar-showroom{background:linear-gradient(135deg,#fff8e70b,#fff8e704);border:1px solid #fff8e71c;grid-template-columns:minmax(0,1.06fr) minmax(320px,.94fr);gap:clamp(16px,2.5vw,30px);padding:14px;display:grid}.showroom-stage{min-width:0;position:relative}.shop-stage{height:clamp(245px,36vh,360px);margin-top:0}.showroom-badge{z-index:4;color:var(--mint);font-family:var(--mono);letter-spacing:.13em;pointer-events:none;background:#070b14d1;border:1px solid #65e6a55c;padding:4px 8px 3px;font-size:7px;font-weight:700;position:absolute;top:12px;left:12px}.showroom-badge.owned{color:var(--sky);border-color:#6fd8ff5c}.showroom-badge.locked{color:#ff9b9b;border-color:#ff5b5b6b}.showroom-hint{color:#fff8e747;letter-spacing:.12em;margin-top:7px;font-size:7px;font-weight:700}.showroom-info{text-align:left;flex-direction:column;min-width:0;padding:4px 4px 2px;display:flex}.showroom-info h3{color:var(--cream);font-family:var(--display);letter-spacing:-.01em;margin:0;font-size:clamp(27px,3.4vw,42px);line-height:.98}.showroom-tagline{color:#fff8e780;min-height:32px;margin:8px 0 12px;font-size:9px;line-height:1.65}.showroom-info .stat-bars{gap:6px}.showroom-buy{border-top:1px solid #fff8e717;align-items:flex-end;gap:14px;margin-top:auto;padding-top:16px;display:flex}.price-block{flex:none;min-width:82px;padding-bottom:2px}.price-block span{color:#fff8e761;letter-spacing:.15em;font-size:7px;font-weight:700;display:block}.price-block strong{color:var(--yellow);font-family:var(--display);margin-top:2px;font-size:19px;line-height:1;display:block}.voxel-button.shop-action{flex:1;min-width:0;padding:11px 16px 9px;font-size:clamp(13px,1.4vw,16px)}.voxel-button.shop-action small{font-size:7px}.voxel-button.shop-action.owned{color:#fff8e77a;cursor:default;background:#34435d;box-shadow:0 7px #1c2536,0 13px 22px #0000004d}.voxel-button.shop-action.owned:hover{background:#34435d;transform:none;box-shadow:0 7px #1c2536,0 13px 22px #0000004d}.voxel-button.shop-action.owned small{color:#fff8e74d}.voxel-button.shop-action.insufficient{color:#ffb3b3;background:#4a2d38;box-shadow:0 7px #2d171f,0 13px 22px #0000004d}.voxel-button.shop-action.insufficient:hover{background:#5a3643;box-shadow:0 9px #2d171f,0 16px 25px #00000052}.voxel-button.shop-action.insufficient small{color:#ffb3b38f}.buy-progress{margin-top:10px}.buy-progress-label{color:#fff8e757;letter-spacing:.11em;justify-content:space-between;align-items:center;gap:10px;margin-bottom:4px;font-size:7px;font-weight:700;display:flex}.buy-progress-label b{color:#fff8e7ad;font-weight:700}.buy-progress-track{background:#fff8e717;border:1px solid #00000052;height:8px;padding:2px}#shop-plane-progress-fill{background:linear-gradient(90deg, var(--yellow-deep), var(--yellow));width:0;height:100%;transition:width .34s;box-shadow:0 0 8px #ffd15c6b}.buy-progress.complete #shop-plane-progress-fill{background:linear-gradient(90deg, #2f9b6a, var(--mint));box-shadow:0 0 8px #65e6a56b}.plane-rail{scroll-snap-type:x proximity;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#ffd15c59 #0000003d;grid-auto-columns:calc(25% - 7.5px);grid-auto-flow:column;gap:10px;margin-top:12px;padding-bottom:4px;display:grid;overflow-x:auto}.plane-tile{scroll-snap-align:start}.plane-rail::-webkit-scrollbar{height:6px}.plane-rail::-webkit-scrollbar-track{background:#0000003d}.plane-rail::-webkit-scrollbar-thumb{background:#ffd15c59}.plane-tile{min-width:0;color:var(--cream);font-family:var(--mono);text-align:left;cursor:pointer;background:#fff8e709;border:1px solid #fff8e71f;flex-direction:column;padding:0;transition:border-color .13s,background .13s,transform .13s;display:flex;position:relative;overflow:hidden}.plane-tile:hover{background:#ffd15c12;border-color:#ffd15c85;transform:translateY(-2px)}.plane-tile.selected{border-color:var(--yellow);background:#ffd15c1a;box-shadow:inset 0 0 0 1px #ffd15c3d}.tile-thumb{background:radial-gradient(at 50% 70%,#6fd8ff1f,#0000 65%),#070b1433;border-bottom:1px solid #fff8e714;height:110px;display:block;position:relative;overflow:hidden}.tile-thumb img{object-fit:cover;width:100%;height:100%;padding:0;display:block}.plane-tile.locked .tile-thumb img{filter:saturate(.85)brightness(.9);opacity:.95}.tile-status{color:#ff9b9b;letter-spacing:.1em;background:#070b14d1;border:1px solid #ff5b5b66;padding:3px 5px 2px;font-size:6px;font-style:normal;font-weight:700;position:absolute;top:6px;right:6px}.tile-status.affordable{color:var(--mint);border-color:#65e6a566}.tile-name{color:var(--cream);font-family:var(--display);letter-spacing:.04em;text-overflow:ellipsis;white-space:nowrap;padding:8px 9px 0;font-size:10px;line-height:1.1;display:block;overflow:hidden}.tile-meta{color:#fff8e761;letter-spacing:.06em;padding:3px 9px 8px;font-size:7px;font-weight:700;display:block}.plane-tile.selected .tile-meta{color:var(--yellow)}.plane-tile.locked .tile-meta{color:#ff9b9b}.shop-section{margin-top:20px}.shop-section-head{align-items:baseline;gap:12px;margin-bottom:10px;display:flex}.shop-section-head .shop-section-title{margin:0}.shop-section-head>span{color:#fff8e74d;letter-spacing:.12em;font-size:7px;font-weight:700}.shop-section-title{color:var(--sky);font-family:var(--display);letter-spacing:.14em;margin:0 0 10px;font-size:15px}.shop-grid{gap:10px;display:grid}.plane-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.upgrade-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shop-card{background:linear-gradient(145deg,#fff8e70e,#fff8e706);border:1px solid #fff8e71f;flex-direction:column;gap:8px;padding:13px;transition:border-color .13s,background .13s;display:flex;position:relative}.upgrade-card:hover{background:linear-gradient(145deg,#6fd8ff12,#fff8e706);border-color:#6fd8ff52}.shop-card.selected{border-color:var(--yellow);background:#ffd15c14;box-shadow:inset 0 0 0 1px #ffd15c38}.shop-card header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.shop-card h4{color:var(--cream);font-family:var(--display);letter-spacing:.04em;margin:0;font-size:13px;line-height:1.1}.shop-card .card-tag{color:#fff8e75c;letter-spacing:.12em;white-space:nowrap;font-size:7px;font-weight:700}.shop-card.selected .card-tag{color:var(--yellow)}.shop-card.locked{opacity:.78}.plane-swatch{border:1px solid #0000004d;height:8px;display:flex}.plane-swatch i{flex:1}.shop-card p{color:#fff8e780;margin:0;font-size:8px;line-height:1.55}.shop-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;margin-top:auto;display:grid}.shop-stats span{color:#fff8e761;letter-spacing:.08em;font-size:7px}.shop-stats strong{color:#fff8e7cc;font-size:8px}.shop-buy{background:var(--yellow);color:#352105;width:100%;font-family:var(--mono);letter-spacing:.1em;cursor:pointer;border:0;margin-top:auto;padding:8px 10px;font-size:8px;font-weight:700;transition:filter .12s,transform .12s}.shop-buy:hover{filter:brightness(1.12);transform:translateY(-1px)}.shop-buy.owned,.shop-buy.maxed{color:#fff8e780;cursor:default;background:#34435d}.shop-buy.locked{color:#fff8e75c;cursor:not-allowed;background:#2a3243}.shop-buy.locked:hover{filter:none;transform:none}.shop-buy:disabled{cursor:not-allowed}.shop-buy.owned:hover,.shop-buy.maxed:hover{filter:none;transform:none}.shop-buy.insufficient{color:#ff9b9b;background:#4a2d38}.shop-buy.insufficient:hover{filter:brightness(1.08)}.upgrade-pips{gap:4px;display:flex}.upgrade-pips i{background:#fff8e71f;border:1px solid #0000004d;width:14px;height:6px;display:block}.upgrade-pips i.on{background:var(--yellow);box-shadow:0 0 6px #ffd15c80}.upgrade-effect{color:var(--mint);letter-spacing:.08em;font-size:7px;font-weight:700}.end-payout{grid-template-columns:repeat(2,1fr);gap:8px;margin:0 0 18px;display:grid}.end-payout>div{background:#65e6a50f;border:1px solid #65e6a533;padding:10px 8px}.end-payout span{color:#fff8e766;letter-spacing:.14em;font-size:8px;display:block}.end-payout strong{color:var(--mint);font-family:var(--display);margin-top:3px;font-size:22px;display:block}.end-unlock{color:var(--yellow);letter-spacing:.12em;background:#ffd15c17;border:1px solid #ffd15c52;margin:0 0 16px;padding:9px 10px;font-size:9px;font-weight:700;animation:1.4s steps(2,end) infinite unlockPulse}@keyframes unlockPulse{50%{opacity:.55}}.end-actions{justify-content:center;gap:18px;margin-top:8px;display:flex}.end-actions .text-button{margin-top:10px}.voxel-button{background:var(--yellow);color:#352105;min-width:235px;font-family:var(--display);letter-spacing:.06em;cursor:pointer;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px));border:0;flex-direction:column;align-items:center;gap:3px;padding:14px 30px 11px;font-size:20px;transition:transform .1s,box-shadow .1s,background .15s;display:inline-flex;position:relative;box-shadow:0 7px #a6650b,0 13px 22px #00000059}.voxel-button:hover{background:#ffdd80;transform:translateY(-2px);box-shadow:0 9px #a6650b,0 16px 25px #00000061}.voxel-button:active{transform:translateY(5px);box-shadow:0 2px #a6650b,0 5px 10px #00000040}.voxel-button:disabled,.voxel-button:disabled:hover{color:#fff8e75c;cursor:not-allowed;filter:grayscale(.3);background:#4a5263;transform:none;box-shadow:0 7px #242a35,0 13px 22px #00000047}.voxel-button:disabled small{color:#fff8e73d}.voxel-button small{color:#35210594;font-family:var(--mono);letter-spacing:.18em;font-size:7px}.tiny-note{color:#fff8e759;letter-spacing:.1em;margin:18px 0 0;font-size:8px}.corner-badge{color:#fff8e73d;letter-spacing:.18em;font-size:8px;display:none;position:fixed;bottom:16px;right:20px}.start-scanlines{pointer-events:none;background:repeating-linear-gradient(#0000 0 3px,#00000012 3px 4px);position:absolute;inset:0}.modal-panel{z-index:1;text-align:center;clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,22px 100%,0 calc(100% - 22px));background:linear-gradient(155deg,#162136f5,#0a101cf0);border:2px solid #ffe6aa38;width:min(500px,92vw);padding:clamp(28px,5vw,48px);position:relative;box-shadow:12px 12px #0000004d}.modal-panel h2{font-family:var(--display);color:var(--yellow);letter-spacing:-.02em;margin:4px 0 12px;font-size:clamp(42px,7vw,70px);line-height:1}.modal-panel p{color:#fff8e79e;font-size:11px;line-height:1.7}.text-button{color:#fff8e759;font-family:var(--mono);letter-spacing:.13em;text-underline-offset:4px;cursor:pointer;background:0 0;border:0;margin:18px auto 0;padding:6px 8px;font-size:9px;text-decoration:underline;display:block}.text-button:hover{color:var(--cream)}.end-stats{grid-template-columns:repeat(3,1fr);gap:8px;margin:24px 0 28px;display:grid}.end-stats>div{background:#fff8e70b;border:1px solid #fff8e71a;padding:11px 7px}.end-stats span{color:#fff8e766;letter-spacing:.16em;font-size:8px;display:block}.end-stats strong{color:var(--cream);font-family:var(--display);letter-spacing:.02em;margin-top:4px;font-size:26px;display:block}.end-panel.success h2{color:var(--mint)}#loading-screen{z-index:50;background:#090d16;flex-direction:column;justify-content:center;align-items:center;gap:22px;transition:opacity .6s;display:flex;position:fixed;inset:0}#loading-screen.done{opacity:0;pointer-events:none}#loading-screen p{color:#fff8e773;letter-spacing:.25em;font-size:9px}.loading-cubes{align-items:flex-end;gap:5px;height:42px;display:flex}.loading-cubes i{background:var(--yellow);width:13px;height:13px;animation:.9s ease-in-out infinite loadCube;display:block;box-shadow:0 4px #8f5b0c}.loading-cubes i:nth-child(2){background:var(--coral);animation-delay:.1s;box-shadow:0 4px #9e2832}.loading-cubes i:nth-child(3){background:var(--sky);animation-delay:.2s;box-shadow:0 4px #24637e}.loading-cubes i:nth-child(4){background:var(--mint);animation-delay:.3s;box-shadow:0 4px #2a7d53}.loading-cubes i:nth-child(5){animation-delay:.4s}@keyframes loadCube{0%,to{transform:translateY(0)rotate(0)}50%{transform:translateY(-20px)rotate(90deg)}}@media (width<=980px){.intro-wrap{grid-template:"hero hero""lower showcase"minmax(0,1fr)/minmax(0,.95fr) minmax(0,1.05fr);gap:8px 24px;width:min(900px,100%);padding:16px 24px}.menu-showcase{width:100%;margin:0}.hangar-showroom{grid-template-columns:minmax(0,1fr)}.showroom-info{padding-top:0}.shop-stage{height:clamp(230px,32vh,300px)}}@media (width<=760px){.hud-top{grid-template-columns:1fr auto;gap:9px}.mission-panel{grid-area:2/1/auto/-1;justify-self:stretch;padding:7px 12px}.score-panel{min-width:104px}#score-value{font-size:19px}.control-strip{gap:4px 9px;font-size:7px}#weapon-widgets{bottom:62px}#radar-widget{width:128px;bottom:64px}.pilot-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.level-list{grid-template-columns:1fr}.menu-actions{gap:10px}.menu-actions .voxel-button{min-width:0;padding-left:18px;padding-right:18px;font-size:16px}.shop-header{flex-wrap:wrap;gap:12px}.shop-wallet{margin-left:0}.upgrade-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.plane-rail{grid-auto-columns:minmax(150px,1fr)}.end-actions{gap:10px}.corner-badge{display:none}}@media (width<=520px){.overlay{padding:10px}.upgrade-grid{grid-template-columns:1fr}.menu-showcase{padding:0}.showcase-stage{height:210px}.showroom-buy{flex-wrap:wrap;align-items:stretch}.voxel-button.shop-action{flex-basis:100%}.menu-actions{flex-direction:column;align-items:center}#weapon-widgets{gap:6px}.weapon-chip{min-width:0;padding:6px 9px 7px}.weapon-track{width:54px}.weapon-readout strong{font-size:13px}}@media (height<=620px){.intro-wrap{padding-top:20px;padding-bottom:20px}h1{font-size:48px}.intro-copy{margin:12px auto}.showcase-stage{height:190px}.shop-stage{height:220px}.tiny-note{display:none}}html.touch-device,html.touch-device body{overscroll-behavior:none}html.touch-device #game-canvas,html.touch-device #touch-controls{touch-action:none}.input-touch,html.touch-device .input-desktop{display:none}html.touch-device .input-touch{display:inline}html.touch-device #crosshair{--crosshair-scale:.72}#touch-controls{--safe-left:max(14px, env(safe-area-inset-left));--safe-right:max(14px, env(safe-area-inset-right));--safe-bottom:max(14px, env(safe-area-inset-bottom));--throttle:.5;--cruise:.5;--stick-base:clamp(108px, 26vh, 150px);--stick-size:calc(var(--stick-base) * var(--stick-scale,1));--fire-size:calc(clamp(74px, 17vh, 100px) * var(--action-scale,1));z-index:20;pointer-events:none;touch-action:none;-webkit-user-select:none;user-select:none;position:fixed;inset:0}.touch-stick-zone{pointer-events:auto;touch-action:none;position:absolute;inset:0 50% 0 0}.touch-stick{left:calc(var(--safe-left) + var(--stick-dx,0) * 100vw);bottom:calc(var(--safe-bottom) + var(--stick-dy,0) * 100vh);width:var(--stick-size);height:var(--stick-size);pointer-events:none;touch-action:none;opacity:0;visibility:hidden;background:radial-gradient(circle at 50% 45%,#6fd8ff29,#070b148c 72%);border:2px solid #ffebba47;border-radius:50%;position:absolute;box-shadow:inset 0 0 28px #0000008c,0 0 0 2px #070b1480,6px 6px #070b1447}.touch-stick.engaged{opacity:1;visibility:visible;border-color:#6fd8ff99;box-shadow:inset 0 0 28px #0000008c,0 0 0 2px #070b1480,0 0 22px #6fd8ff4d}.touch-stick-ring{pointer-events:none;border:1px dashed #fff8e738;border-radius:50%;position:absolute;inset:18%}.touch-stick-knob{pointer-events:none;will-change:transform;background:linear-gradient(160deg,#ffd15cf2,#f5a623d1);border:2px solid #fff8e78c;border-radius:50%;width:46%;height:46%;margin:-23% 0 0 -23%;position:absolute;top:50%;left:50%;box-shadow:0 5px #0000004d,0 0 18px #ffd15c59}.touch-throttle{--throttle-handle:26px;--throttle-travel:calc(100% - var(--throttle-handle));right:calc(var(--safe-right) - var(--actions-dx,0) * 100vw);bottom:calc(var(--safe-bottom) + var(--actions-dy,0) * 100vh + var(--fire-size) + 6px);pointer-events:none;display:block;position:absolute}.touch-throttle-label{color:#2b1c03;letter-spacing:0;font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;place-items:center;font-size:8px;font-weight:700;line-height:1;display:grid;position:absolute;inset:0}.touch-throttle-track{pointer-events:auto;touch-action:none;-webkit-tap-highlight-color:transparent;background:linear-gradient(#fff8e724 1px,#0000 1px) 0 0/100% 25%,linear-gradient(#26364ef0,#0f1726f0) 0 0/100% 100%;border:2px solid #ffebba4d;border-radius:14px;width:clamp(44px,11vh,58px);height:clamp(104px,40vh,240px);position:relative;overflow:hidden;box-shadow:0 4px #00000052,inset 0 0 12px #6fd8ff14}.touch-throttle.engaged .touch-throttle-track{border-color:#6fd8ff99;box-shadow:0 4px #00000052,inset 0 0 12px #6fd8ff29,0 0 18px #6fd8ff40}.touch-throttle-track:before,.touch-throttle-track:after{z-index:1;text-align:center;color:#fff8e761;pointer-events:none;font-size:8px;font-weight:700;line-height:1;position:absolute;left:0;right:0}.touch-throttle-track:before{content:"▲";top:5px}.touch-throttle-track:after{content:"▼";bottom:5px}.touch-throttle-fill{z-index:0;height:calc(var(--throttle-handle) / 2 + var(--throttle) * var(--throttle-travel));pointer-events:none;background:linear-gradient(#6fd8ff8c,#6fd8ff24);transition:background .12s ease-out;position:absolute;bottom:0;left:0;right:0}.touch-throttle.boost .touch-throttle-fill{background:linear-gradient(#ffd15cb3,#ff8b3c33)}.touch-throttle.brake .touch-throttle-fill{background:linear-gradient(#6fd8ff59,#6fd8ff14)}.touch-throttle-cruise{left:9%;right:9%;bottom:calc(var(--throttle-handle) / 2 + var(--cruise) * var(--throttle-travel));z-index:2;pointer-events:none;border-top:1px dashed #fff8e78c;position:absolute}.touch-throttle-handle{left:8%;right:8%;bottom:calc(var(--throttle) * var(--throttle-travel));z-index:3;height:var(--throttle-handle);pointer-events:none;background:repeating-linear-gradient(#0000 0 6px,#2b1c0347 6px 8px),linear-gradient(160deg,#ffd15cf2,#f5a623d9);border:2px solid #fff8e78c;border-radius:8px;position:absolute;box-shadow:0 3px #00000047,0 0 14px #ffd15c4d}.touch-pad{pointer-events:auto;touch-action:none;font-family:var(--mono);cursor:pointer;-webkit-tap-highlight-color:transparent;border:0;padding:0}.touch-actions{right:calc(var(--safe-right) - var(--actions-dx,0) * 100vw);bottom:calc(var(--safe-bottom) + var(--actions-dy,0) * 100vh);pointer-events:none;align-items:flex-end;gap:clamp(8px,2.2vh,14px);display:flex;position:absolute}.touch-fire{width:var(--fire-size);height:var(--fire-size);color:#2b1c03;background:linear-gradient(160deg, var(--yellow), var(--yellow-deep));border:2px solid #fff8e799;border-radius:50%;place-items:center;display:grid;box-shadow:0 6px #8f5b0c,0 0 26px #ffd15c59}.touch-fire b{font-family:var(--display);letter-spacing:.05em;font-size:clamp(13px,2.9vh,17px)}.touch-fire.pressed{filter:brightness(1.12);transform:translateY(4px);box-shadow:0 2px #8f5b0c}.touch-ordnance{width:calc(clamp(60px, 13.5vh, 82px) * var(--action-scale,1));height:calc(clamp(60px, 13.5vh, 82px) * var(--action-scale,1));color:#320a12;background:linear-gradient(160deg, #ff9a9a, var(--coral));border:2px solid #fff8e780;border-radius:50%;align-content:center;place-items:center;gap:1px;display:grid;box-shadow:0 5px #8f2233,0 0 20px #ff5b5b4d}.touch-ordnance b{font-family:var(--display);letter-spacing:.04em;font-size:clamp(11px,2.4vh,14px)}.touch-ordnance small{letter-spacing:.16em;opacity:.65;font-size:6px;font-weight:700}.touch-ordnance.pressed{filter:brightness(1.12);transform:translateY(3px);box-shadow:0 2px #8f2233}.touch-pause{left:50%;top:max(80px, calc(env(safe-area-inset-top) + 72px));pointer-events:auto;touch-action:none;color:#fff8e7b8;width:42px;height:38px;font-family:var(--mono);letter-spacing:.12em;-webkit-tap-highlight-color:transparent;background:#070b149e;border:1px solid #ffebba3d;border-radius:9px;font-size:12px;font-weight:700;position:absolute;transform:translate(-50%);box-shadow:0 3px #0000004d}.touch-pause:active{color:var(--yellow);transform:translate(-50%)translateY(2px)}html.touch-device #radar-widget{top:max(96px, calc(env(safe-area-inset-top) + 90px));width:clamp(100px,15vw,132px);bottom:auto}html.touch-device #weapon-widgets{bottom:max(10px, env(safe-area-inset-bottom));gap:5px}html.touch-device .weapon-chip{gap:6px;min-width:0;padding:4px 7px 5px}html.touch-device .weapon-icon{width:17px;height:19px}html.touch-device .weapon-readout{gap:3px}html.touch-device .weapon-readout strong{font-size:12px}html.touch-device .weapon-track{width:48px;height:4px}html.touch-device.rotate-lock #touch-controls{display:none}#rotate-notice{z-index:90;text-align:center;background:radial-gradient(circle at 50% 38%,#1b2233f2,#090d16 72%);flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:34px;display:none;position:fixed;inset:0}@media (orientation:portrait){html.touch-device #rotate-notice{display:flex}}#rotate-notice h2{font-family:var(--display);color:var(--yellow);letter-spacing:.02em;margin:0;font-size:clamp(22px,7vw,34px)}#rotate-notice p{color:#fff8e794;letter-spacing:.06em;max-width:320px;margin:0;font-size:10px;line-height:1.8}.rotate-icon{width:84px;height:84px;margin-bottom:4px;position:relative}.rotate-icon i{border:3px solid var(--yellow);background:#ffd15c14;border-radius:7px;width:34px;height:58px;margin:-29px 0 0 -17px;animation:2.6s ease-in-out infinite rotateHint;position:absolute;top:50%;left:50%;box-shadow:0 0 24px #ffd15c40}.rotate-icon i:after{content:"";background:var(--yellow);width:12px;height:2px;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}@keyframes rotateHint{0%,25%{transform:rotate(0)}60%,to{transform:rotate(-90deg)}}@media (orientation:landscape) and (height<=540px){html.touch-device .overlay{padding:max(8px, env(safe-area-inset-top,0px)) max(8px, env(safe-area-inset-right,0px)) max(8px, env(safe-area-inset-bottom,0px)) max(8px, env(safe-area-inset-left,0px))}html.touch-device #overlay{background:linear-gradient(#05080ec7 0%,#05080e47 30%,#05080e38 62%,#05080ecc 100%)}html.touch-device .intro-wrap{text-align:center;width:min(1000px,100%);height:100%;min-height:0;box-shadow:none;clip-path:none;background:0 0;border:0;grid-template:"hero hero""lower showcase"minmax(0,1fr)/minmax(0,.9fr) minmax(0,1.1fr);align-content:start;align-items:center;gap:4px clamp(16px,3vw,28px);padding:clamp(6px,2vh,14px) clamp(18px,3vw,28px)}html.touch-device .intro-wrap:before{display:none}html.touch-device .menu-hero,html.touch-device .menu-showcase,html.touch-device .menu-lower{z-index:1;min-width:0;position:relative}html.touch-device .menu-hero{text-align:center;align-self:start}html.touch-device .menu-hero .eyebrow,html.touch-device .menu-hero .intro-copy{display:none}html.touch-device .menu-hero h1{text-shadow:0 3px #0a101d,0 7px 18px #0000008c;font-size:clamp(30px,9vh,48px);line-height:1}html.touch-device .menu-hero .tagline{letter-spacing:.24em;text-shadow:0 2px 8px #0009;margin-top:4px;font-size:clamp(8px,2.1vh,10px)}html.touch-device .menu-showcase{width:100%;min-width:0;box-shadow:none;background:0 0;border:0;flex-direction:column;justify-content:center;align-self:stretch;align-items:center;padding:0;display:flex}html.touch-device .menu-showcase .showcase-topline{color:#fff8e773;justify-content:center;gap:0;margin-bottom:5px;font-size:6px;display:flex}html.touch-device .menu-showcase .showcase-topline span{display:none}html.touch-device .menu-showcase .showcase-topline b:before{content:"ROSTER ";color:#6fd8ffb3}html.touch-device .menu-showcase .menu-stage{touch-action:pan-y;background:radial-gradient(at 50% 68%,#2d638538,#0000 60%),linear-gradient(#070d1894,#09101b33);border-color:#6fd8ff33;width:min(100%,430px);height:clamp(132px,36vh,190px);margin:0 auto}html.touch-device .menu-showcase .showcase-info{text-align:center;width:min(100%,430px);padding:6px 0 0}html.touch-device .menu-showcase .showcase-name-row{justify-content:center}html.touch-device .menu-showcase .showcase-name-row h2{text-shadow:0 2px 8px #0009;font-size:clamp(16px,4.6vh,22px)}html.touch-device .menu-showcase .showcase-name-main{gap:6px}html.touch-device .menu-showcase .plane-lock{width:18px;height:18px}html.touch-device .menu-showcase .showcase-name-row .mini-button,html.touch-device .menu-showcase .showcase-tagline,html.touch-device .menu-showcase .stat-bars,html.touch-device .menu-showcase .showcase-footer{display:none}html.touch-device .menu-showcase .plane-key-stats{gap:4px;margin-top:8px}html.touch-device .menu-showcase .plane-key-stat{padding:5px 6px}html.touch-device .menu-showcase .plane-key-stat span{letter-spacing:.08em;font-size:6px}html.touch-device .menu-showcase .plane-key-stat strong{margin-top:2px;font-size:clamp(11px,2.9vh,14px)}html.touch-device .menu-buy-button{margin-top:6px;padding:6px 10px;font-size:8px}html.touch-device .menu-buy-button small{font-size:6px}html.touch-device .menu-plane-hint{margin-top:4px;font-size:7px}html.touch-device .plane-cycle{display:grid}html.touch-device .plane-cycle[hidden],html.touch-device .corner-badge{display:none}html.touch-device .menu-lower{text-align:left;flex-direction:column;align-self:center;width:100%;max-width:430px;margin:0 auto;display:flex}html.touch-device .pilot-bar{display:none}html.touch-device .level-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:10px}html.touch-device .level-card{padding:6px 9px}html.touch-device .menu-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px;display:grid}html.touch-device .menu-actions .voxel-button{min-width:0;padding:8px 12px 7px;font-size:13px}html.touch-device .menu-actions .voxel-button:first-child{grid-column:1/-1;padding:11px 14px 9px;font-size:17px}html.touch-device .menu-actions .voxel-button small{font-size:6px}html.touch-device .menu-tools{justify-content:space-between;gap:6px;margin:0;display:flex}html.touch-device .fullscreen-hint{text-align:left;flex:auto;justify-content:flex-start;min-width:0;padding:7px 10px}html.touch-device .fullscreen-hint-copy strong{font-size:8px}html.touch-device .layout-open{flex:none;padding:7px 9px;font-size:7px}html.touch-device .tiny-note{display:none}}.menu-tools{flex-wrap:wrap;justify-content:flex-start;align-items:stretch;gap:8px;width:100%;margin:0;display:flex}.fullscreen-hint{color:var(--sky);font-family:var(--mono);cursor:pointer;-webkit-tap-highlight-color:transparent;background:#6fd8ff0d;border:1px solid #6fd8ff3d;justify-content:center;align-items:center;gap:10px;margin:0;padding:8px 14px;transition:border-color .12s,background .12s,color .12s;display:flex}.fullscreen-hint:hover{background:#6fd8ff1a;border-color:#6fd8ff99}.fullscreen-hint.active{color:var(--mint);background:#65e6a514;border-color:#65e6a58c}.fullscreen-glyph{border:2px solid;border-radius:2px;flex:none;width:17px;height:13px;box-shadow:0 0 0 2px #070b1473}.fullscreen-hint-copy{text-align:left;flex-direction:column;gap:2px;display:flex}.fullscreen-hint-copy strong{letter-spacing:.16em;font-size:9px;font-weight:700}.fullscreen-hint-copy small{color:#fff8e766;letter-spacing:.12em;font-size:7px;font-weight:700}.fullscreen-hint.active .fullscreen-hint-copy small{color:#65e6a59e}@media (orientation:landscape) and (height<=540px){html.touch-device .menu-tools{margin:0}html.touch-device .fullscreen-hint{padding:6px 10px}html.touch-device .layout-open{padding:6px 9px;font-size:7px}html.touch-device .fullscreen-hint-copy small{display:none}}html.touch-device .control-strip{display:none}@media (orientation:landscape) and (height<=540px){html.touch-device .overlay{padding:8px}html.touch-device .hud-top{top:max(8px, env(safe-area-inset-top));left:max(10px, env(safe-area-inset-left));right:max(10px, env(safe-area-inset-right));grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px}html.touch-device .mission-panel{grid-area:auto;justify-self:center;min-width:148px;padding:5px 12px}html.touch-device .hud-panel{border-width:1px;box-shadow:0 0 0 1px #070b148c,4px 4px #070b1447}html.touch-device .health-panel{gap:3px 8px;width:100%;max-width:220px;padding:6px 9px 5px}html.touch-device .hud-label{font-size:7px}html.touch-device .health-track{height:8px;padding:1px}html.touch-device #health-value{font-size:16px}html.touch-device #level-label{margin-bottom:1px;font-size:6px}html.touch-device #wave-label{font-size:11px}html.touch-device #enemy-label{margin-top:2px;font-size:7px}html.touch-device .score-panel{min-width:86px;padding:6px 9px 5px}html.touch-device #score-value{font-size:17px}html.touch-device #radar-widget{top:max(68px, calc(env(safe-area-inset-top) + 60px));left:max(10px, env(safe-area-inset-left));width:clamp(84px,12vw,110px);padding:5px 6px}html.touch-device .radar-title{margin-bottom:3px;font-size:6px}html.touch-device #weapon-widgets{bottom:max(6px, env(safe-area-inset-bottom));gap:4px}html.touch-device .weapon-chip{gap:5px;padding:3px 6px 4px}html.touch-device .weapon-icon{width:17px;height:19px}html.touch-device .weapon-readout strong{font-size:12px}html.touch-device .weapon-track{width:42px;height:3px}html.touch-device #touch-controls{--safe-left:max(20px, env(safe-area-inset-left));--safe-right:max(20px, env(safe-area-inset-right));--safe-bottom:max(20px, env(safe-area-inset-bottom));--stick-base:clamp(132px, 37vh, 172px);--fire-size:calc(clamp(70px, 19vh, 92px) * var(--action-scale,1))}html.touch-device .touch-fire b{font-size:clamp(13px,3.4vh,17px)}html.touch-device .touch-ordnance{width:calc(clamp(60px, 16vh, 78px) * var(--action-scale,1));height:calc(clamp(60px, 16vh, 78px) * var(--action-scale,1))}html.touch-device .touch-ordnance b{font-size:clamp(11px,2.6vh,14px)}html.touch-device .touch-ordnance small{display:none}html.touch-device .touch-actions{gap:clamp(6px,1.8vh,10px)}html.touch-device .touch-throttle-label{font-size:8px}html.touch-device .touch-pause{top:max(62px, calc(env(safe-area-inset-top) + 54px));width:36px;height:32px;font-size:10px}html.touch-device .modal-panel{clip-path:polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,16px 100%,0 calc(100% - 16px));width:min(520px,96vw);padding:16px 22px}html.touch-device .modal-panel .eyebrow{margin-bottom:4px;font-size:8px}html.touch-device .modal-panel h2{margin:2px 0 6px;font-size:clamp(30px,8vh,44px)}html.touch-device .modal-panel p{font-size:9px;line-height:1.5}html.touch-device .modal-panel .voxel-button{min-width:190px;padding:8px 18px 6px;font-size:16px}html.touch-device .modal-panel .voxel-button small{font-size:6px}html.touch-device .modal-panel .text-button{margin-top:8px;font-size:8px}html.touch-device .end-stats{gap:6px;margin:8px 0}html.touch-device .end-stats>div{padding:6px 5px}html.touch-device .end-stats span{font-size:7px}html.touch-device .end-stats strong{margin-top:2px;font-size:18px}html.touch-device .end-payout{gap:6px;margin:0 0 8px}html.touch-device .end-payout>div{padding:6px}html.touch-device .end-payout span{font-size:7px}html.touch-device .end-payout strong{margin-top:1px;font-size:16px}html.touch-device .end-unlock{margin:0 0 8px;padding:6px 8px;font-size:8px}html.touch-device .end-actions{gap:12px;margin-top:0}html.touch-device .end-actions .text-button{margin-top:4px}html.touch-device .end-panel .tiny-note{margin-top:5px;font-size:7px}html.touch-device .shop-panel{width:min(1100px,100%);max-height:100%;padding:12px 16px}html.touch-device .shop-header{gap:12px;margin-bottom:6px}html.touch-device .shop-brand .eyebrow{margin-bottom:2px;font-size:7px}html.touch-device .shop-header h2{font-size:28px}html.touch-device .shop-wallet strong{font-size:18px}html.touch-device .overlay-close{padding:6px 9px;font-size:8px}html.touch-device .shop-message{min-height:0;margin-bottom:6px;font-size:8px}html.touch-device .hangar-showroom{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:12px;padding:8px}html.touch-device .shop-stage{height:clamp(120px,40vh,170px)}html.touch-device .showroom-hint,html.touch-device .showroom-tagline{display:none}html.touch-device .showroom-info{padding:0}html.touch-device .showroom-info .eyebrow{margin-bottom:2px;font-size:7px}html.touch-device .showroom-info h3{font-size:clamp(20px,3.2vw,28px)}html.touch-device .showroom-info .stat-bars{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 10px;margin-top:6px;display:grid}html.touch-device .showroom-info .stat-row{grid-template-columns:minmax(0,1fr) auto;gap:2px 6px}html.touch-device .showroom-info .stat-track{display:none}html.touch-device .showroom-info .stat-label{font-size:6px}html.touch-device .showroom-info .stat-value{font-size:8px}html.touch-device .showroom-buy{gap:8px;margin-top:6px;padding-top:8px}html.touch-device .price-block strong{font-size:15px}html.touch-device .price-block span{font-size:6px}html.touch-device .voxel-button.shop-action{padding:6px 10px 5px;font-size:12px}html.touch-device .voxel-button.shop-action small{font-size:6px}html.touch-device .plane-rail{grid-auto-columns:calc(25% - 4.5px);gap:6px;margin-top:8px}html.touch-device .tile-thumb{height:54px}html.touch-device .tile-name{padding:5px 7px 0;font-size:9px}html.touch-device .tile-meta{padding:2px 7px 5px;font-size:6px}html.touch-device .tile-status{padding:2px 4px 1px;font-size:5px;top:4px;right:4px}html.touch-device .shop-section{margin-top:10px}html.touch-device .shop-section-head{margin-bottom:6px}html.touch-device .shop-section-title{margin-bottom:6px;font-size:12px}html.touch-device .shop-section-head>span{font-size:6px}html.touch-device .upgrade-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}html.touch-device .shop-card{gap:5px;padding:8px}html.touch-device .shop-card h4{font-size:11px}html.touch-device .shop-card .card-tag{font-size:6px}html.touch-device .shop-card p{font-size:7px;line-height:1.4}html.touch-device .upgrade-pips i{width:10px;height:5px}html.touch-device .upgrade-effect{font-size:6px}html.touch-device .shop-buy{padding:5px 8px;font-size:7px}}@media (orientation:landscape) and (height<=380px){html.touch-device .intro-wrap{padding:9px 14px}html.touch-device .menu-hero .tagline{display:none}html.touch-device .menu-hero h1{font-size:clamp(28px,9vh,38px)}html.touch-device .menu-showcase .menu-stage{height:88px}html.touch-device .menu-showcase .showcase-footer{display:none}html.touch-device .level-card{padding:4px 8px}html.touch-device .level-card small{display:none}html.touch-device .level-number{font-size:17px}html.touch-device .menu-actions .voxel-button{padding:6px 8px;font-size:12px}html.touch-device .menu-actions .voxel-button:first-child{padding:7px 10px 6px;font-size:14px}html.touch-device .menu-actions .voxel-button:not(:first-child) small{display:none}html.touch-device .menu-tools{margin:0}html.touch-device .fullscreen-hint{padding:5px 8px}}html:not(.touch-device) .touch-only{display:none}.layout-open{color:var(--yellow);font-family:var(--mono);letter-spacing:.12em;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#ffd15c0f;border:1px solid #ffd15c47;align-items:center;gap:6px;padding:8px 12px;font-size:8px;font-weight:700;transition:border-color .12s,background .12s;display:inline-flex}.layout-open:hover{background:#ffd15c1f;border-color:#ffd15c99}.layout-open span{font-size:12px;line-height:1}#reload-indicator{color:var(--yellow);letter-spacing:.16em;white-space:nowrap;pointer-events:none;background:#070b14d9;border:1px solid #ffd15c5c;padding:5px 12px;font-size:9px;font-weight:700;animation:.9s steps(2,end) infinite reloadPulse;position:absolute;top:calc(50% - clamp(44px,7vh,62px));left:50%;transform:translate(-50%,-50%);box-shadow:0 4px #070b1459}@keyframes reloadPulse{50%{opacity:.5}}#layout-overlay{z-index:40}.layout-panel{z-index:1;text-align:left;clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 18px));background:linear-gradient(155deg,#162136f7,#0a101cf2);border:2px solid #ffe6aa38;width:min(620px,96vw);padding:clamp(16px,3vw,28px);position:relative;box-shadow:12px 12px #0000004d}.layout-header{justify-content:space-between;align-items:center;gap:14px;margin-bottom:6px;display:flex}.layout-header .eyebrow{margin-bottom:3px}.layout-header h2{color:var(--yellow);font-family:var(--display);letter-spacing:-.01em;margin:0;font-size:clamp(26px,4vw,38px);line-height:1}.layout-copy{color:#fff8e785;margin:0 0 10px;font-size:9px;line-height:1.5}.layout-stage{touch-action:none;-webkit-user-select:none;user-select:none;background:linear-gradient(90deg,#fff8e709 1px,#0000 1px) 0 0/32px 32px,linear-gradient(#fff8e709 1px,#0000 1px) 0 0/32px 32px,#070b146b;border:1px solid #fff8e724;height:clamp(110px,26vh,180px);margin-bottom:10px;position:relative;overflow:hidden}.layout-stage:after{content:"";pointer-events:none;border:1px dashed #6fd8ff1f;position:absolute;inset:8px}.layout-stage-hint{color:#fff8e729;letter-spacing:.22em;pointer-events:none;font-size:8px;font-weight:700;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.layout-preview{touch-action:none;-webkit-user-select:none;user-select:none}.layout-preview-stick{color:var(--yellow);letter-spacing:.08em;cursor:default;background:radial-gradient(circle at 50% 45%,#ffd15c33,#070b148c 72%);border:2px solid #ffd15c9e;border-radius:50%;place-items:center;font-size:8px;font-weight:700;display:grid;position:absolute}.layout-preview-actions{cursor:grab;border:1px dashed #6fd8ff38;align-items:flex-end;padding:4px;display:flex;position:absolute}.layout-preview-stick.dragging,.layout-preview-actions.dragging{cursor:grabbing;border-color:var(--sky)}.layout-preview-fire,.layout-preview-ord{letter-spacing:.05em;border:2px solid #fff8e773;border-radius:50%;place-items:center;font-size:7px;font-weight:700;display:grid}.layout-preview-fire{color:#2b1c03;background:linear-gradient(160deg, var(--yellow), var(--yellow-deep))}.layout-preview-ord{color:#320a12;background:linear-gradient(160deg, #ff9a9a, var(--coral))}.layout-slider{color:#fff8e78c;letter-spacing:.12em;gap:3px;margin:0 0 8px;font-size:8px;font-weight:700;display:grid}.layout-slider>span{justify-content:space-between;align-items:center;gap:10px;display:flex}.layout-slider b{color:var(--yellow);font-weight:700}.layout-slider input[type=range]{width:100%;height:22px;accent-color:var(--yellow);cursor:pointer;background:0 0;margin:0}.layout-slider input[type=range]::-webkit-slider-runnable-track{background:#fff8e71f;border:1px solid #00000059;height:6px}.layout-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--yellow);border:2px solid #8f5b0c;border-radius:50%;width:18px;height:18px;margin-top:-7px;box-shadow:0 2px #00000059}.layout-slider input[type=range]::-moz-range-track{background:#fff8e71f;border:1px solid #00000059;height:6px}.layout-slider input[type=range]::-moz-range-thumb{background:var(--yellow);border:2px solid #8f5b0c;border-radius:50%;width:16px;height:16px}.layout-footer{justify-content:space-between;align-items:center;gap:12px;margin-top:2px;display:flex}.layout-footer .text-button{margin:0}.layout-done.voxel-button{min-width:170px;padding:9px 16px 7px;font-size:15px}.layout-done.voxel-button small{font-size:6px}@media (orientation:landscape) and (height<=540px){html.touch-device .layout-panel{width:min(620px,96vw);padding:12px 16px}html.touch-device .layout-header{margin-bottom:4px}html.touch-device .layout-header h2{font-size:24px}html.touch-device .layout-copy{display:none}html.touch-device .layout-stage{height:clamp(92px,26vh,130px);margin-bottom:8px}html.touch-device .layout-slider{gap:2px;margin-bottom:5px;font-size:7px}html.touch-device .layout-slider input[type=range]{height:18px}html.touch-device .layout-footer{margin-top:2px}html.touch-device .layout-done.voxel-button{min-width:130px;padding:7px 12px 5px;font-size:13px}html.touch-device .layout-done.voxel-button small{font-size:5px}}#settings-overlay{z-index:42}.settings-panel{z-index:1;text-align:left;clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 18px));background:linear-gradient(155deg,#162136f7,#0a101cf2);border:2px solid #ffe6aa38;width:min(520px,94vw);max-height:92vh;padding:clamp(20px,4vw,34px);position:relative;overflow:auto;box-shadow:12px 12px #0000004d}.settings-header{justify-content:space-between;align-items:center;gap:14px;margin-bottom:8px;display:flex}.settings-header .eyebrow{margin-bottom:3px}.settings-header h2{color:var(--yellow);font-family:var(--display);letter-spacing:-.01em;margin:0;font-size:clamp(26px,4vw,38px);line-height:1}.settings-copy{color:#fff8e785;margin:0 0 18px;font-size:9px;line-height:1.5}.settings-list{gap:10px;margin-bottom:22px;display:grid}.settings-toggle{width:100%;color:var(--cream);font-family:var(--mono);text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;background:linear-gradient(145deg,#fff8e70f,#fff8e705);border:1px solid #fff8e724;justify-content:space-between;align-items:center;gap:16px;padding:13px 15px;transition:border-color .12s,background .12s;display:flex}.settings-toggle:hover{background:#6fd8ff14;border-color:#6fd8ff80}.settings-toggle:focus-visible{outline:2px solid var(--sky);outline-offset:2px}.settings-toggle-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.settings-toggle-copy strong{letter-spacing:.14em;font-size:10px}.settings-toggle-copy small{color:#fff8e766;font-size:8px;line-height:1.4}.settings-switch{background:#070b148c;border:2px solid #fff8e73d;border-radius:999px;flex:none;width:48px;height:26px;transition:border-color .14s,background .14s;position:relative}.settings-switch i{background:#fff8e780;border-radius:50%;width:16px;height:16px;transition:transform .14s,background .14s;position:absolute;top:3px;left:3px;box-shadow:0 2px #0000004d}.settings-toggle[aria-pressed=true] .settings-switch{background:#65e6a52e;border-color:#65e6a599}.settings-toggle[aria-pressed=true] .settings-switch i{background:var(--mint);transform:translate(22px)}.settings-toggle[aria-pressed=false] .settings-toggle-copy{opacity:.72}.settings-done.voxel-button{min-width:180px;margin:0 auto;display:block}.keybind-section{border-top:1px solid #fff8e71f;margin-bottom:22px;padding-top:16px}.keybind-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px;display:flex}.keybind-header .text-button{white-space:nowrap;flex:none;margin:0;font-size:7px}.keybind-list{gap:9px;display:grid}.keybind-group{gap:4px;display:grid}.keybind-group-title{color:var(--yellow);letter-spacing:.16em;opacity:.75;font-size:7px;font-weight:700}.keybind-row{background:#fff8e708;border:1px solid #fff8e71a;justify-content:space-between;align-items:center;gap:12px;padding:4px 8px;display:flex}.keybind-label{color:#fff8e7b8;font-family:var(--mono);letter-spacing:.1em;font-size:8px}.keybind-slots{gap:4px;display:flex}.keybind-slot{min-width:46px;color:var(--cream);font-family:var(--mono);letter-spacing:.06em;cursor:pointer;background:#070b1480;border:1px solid #fff8e738;padding:4px 6px;font-size:8px;font-weight:700;transition:border-color .12s,background .12s,color .12s}.keybind-slot:hover{color:var(--sky);border-color:#6fd8ff8c}.keybind-slot:focus-visible{outline:2px solid var(--sky);outline-offset:2px}.keybind-slot.is-empty{color:#fff8e759;border-style:dashed}.keybind-slot.is-listening{border-color:var(--yellow);min-width:88px;color:var(--yellow);background:#ffe6aa29;animation:.9s ease-in-out infinite alternate keybind-pulse}@keyframes keybind-pulse{0%{opacity:.65}to{opacity:1}}.keybind-message{color:#fff8e773;min-height:12px;font-family:var(--mono);letter-spacing:.08em;margin:8px 0 0;font-size:7px}.keybind-message[data-tone=error]{color:#ff9d8a}@media (orientation:landscape) and (height<=540px){.settings-panel{padding:12px 16px}.settings-header{margin-bottom:4px}.settings-header h2{font-size:24px}.settings-copy{display:none}.settings-list{gap:7px;margin-bottom:10px}.settings-toggle{padding:8px 12px}.settings-done.voxel-button{min-width:130px;padding:7px 12px 5px;font-size:13px}.settings-done.voxel-button small{font-size:5px}}html.touch-device .keyboard-only{display:none}.controls-panel{z-index:1;text-align:left;clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 18px));background:linear-gradient(155deg,#162136f7,#0a101cf2);border:2px solid #ffe6aa38;width:min(780px,96vw);max-height:92vh;padding:clamp(16px,3vw,28px);position:relative;overflow:auto;box-shadow:12px 12px #0000004d}.controls-header{justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;display:flex}.controls-header .eyebrow{margin-bottom:3px}.controls-header h2{color:var(--yellow);font-family:var(--display);letter-spacing:-.01em;margin:0;font-size:clamp(26px,4vw,38px);line-height:1}.controls-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.control-card{background:linear-gradient(145deg,#fff8e70e,#fff8e705);border:1px solid #fff8e71f;flex-direction:column;gap:8px;min-width:0;padding:10px;display:flex}.control-card-head{color:var(--yellow);letter-spacing:.12em;align-items:center;gap:7px;font-size:8px;font-weight:700;display:flex}.control-icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px}.control-keys{flex-wrap:wrap;align-items:center;gap:6px;min-height:30px;display:flex}.control-keys-stacked{flex-direction:column;align-items:flex-start;gap:4px}.control-key-line{align-items:center;gap:6px;display:flex}.key-cluster{flex-direction:column;align-items:center;gap:3px;display:flex}.key-row{gap:3px;display:flex}.control-card kbd{min-width:22px;padding:3px 5px;font-size:8px}.control-card .key-wide{min-width:52px}.control-arrow{color:var(--mint);font-family:var(--mono);font-size:12px}.control-or{color:#fff8e747;font-size:8px}.control-hint{color:#fff8e766;letter-spacing:.08em;font-size:7px;font-weight:700}@media (width<=760px){.controls-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=520px){.controls-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (orientation:landscape) and (height<=540px){.controls-panel{max-height:100%;padding:12px 16px}.controls-header{margin-bottom:8px}.controls-header h2{font-size:24px}.controls-grid{gap:6px}.control-card{gap:5px;padding:7px 8px}.control-card-head{font-size:7px}.control-icon{width:15px;height:15px}.control-keys{min-height:24px}.control-card kbd{min-width:19px;padding:2px 4px;font-size:7px}.control-card .key-wide{min-width:44px}}#soldier-health-fx{z-index:9;pointer-events:none;position:fixed;inset:0;overflow:hidden}.soldier-health{transform-origin:bottom;will-change:transform, opacity;filter:drop-shadow(0 1px #000000bf);width:clamp(54px,7vw,70px);height:7px;position:absolute;top:0;left:0;transform:translate(-50%,-100%)}.soldier-health-track{box-sizing:border-box;background:#080c12db;border:1px solid #fff8e78c;border-radius:2px;position:absolute;inset:0;overflow:hidden}.soldier-health-fill,.soldier-health-damage{display:block;position:absolute;top:0;bottom:0}.soldier-health-fill{background:var(--mint);left:0}.soldier-health-damage{background:var(--coral);box-shadow:0 0 6px #ff5b5b8c}.soldier-health-amount{color:#ffb38d;font-family:var(--display);white-space:nowrap;text-shadow:0 1px #6b1f16,0 0 8px #ff5b5b66;font-size:11px;line-height:1;position:absolute;bottom:calc(100% + 2px);right:0}.soldier-health.healing .soldier-health-fill{box-shadow:0 0 8px #65e6a5a6}.soldier-health.healing .soldier-health-amount{color:#b6ffd9;text-shadow:0 1px #14513a,0 0 8px #65e6a58c}#score-flyers{z-index:15;pointer-events:none;position:fixed;inset:0;overflow:hidden}.score-flyer{color:var(--yellow);font-family:var(--display);letter-spacing:.04em;white-space:nowrap;text-shadow:0 2px #8f5b0c,0 0 14px #ffd15c8c;will-change:transform, opacity;font-size:clamp(16px,2.2vw,24px);line-height:1;position:absolute;top:0;left:0}.score-flyer.headshot{color:var(--coral);text-shadow:0 2px #8f1f1f,0 0 16px #ff5b5bcc;font-size:clamp(18px,2.5vw,27px)}#score-value.score-bump{transform-origin:100%;animation:.28s cubic-bezier(.2,.9,.3,1) scoreBump}@keyframes scoreBump{0%{color:var(--cream);transform:scale(1)}35%{color:var(--yellow);text-shadow:0 0 18px #ffd15cb3;transform:scale(1.28)}to{color:var(--cream);transform:scale(1)}}.level-card.endless-card{background:linear-gradient(135deg,#ff5b5b1a,#ffd15c09);border-color:#ff5b5b52}.level-card.endless-card .level-number,.level-card.endless-card strong,.level-card.endless-card em{color:var(--coral)}.level-card.endless-card:hover{border-color:var(--coral);background:linear-gradient(135deg,#ff5b5b29,#ffd15c0f)}.level-card.endless-card.locked{background:#fff8e70a;border-color:#fff8e724}.level-card.endless-card.locked .level-number,.level-card.endless-card.locked strong,.level-card.endless-card.locked em{color:#fff8e761}.level-card.endless-card.locked:hover{background:#fff8e70a;border-color:#fff8e724;transform:none}@media (width<=1000px){.levels-body{grid-template-columns:1fr}.levels-side{order:2}.levels-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.levels-stage{min-height:clamp(210px,32vh,320px)}}@media (width<=700px){.levels-showcase{grid-template-columns:1fr}.levels-stage{min-height:240px}.levels-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (orientation:landscape) and (height<=540px){html.touch-device #levels-overlay{padding:max(8px, env(safe-area-inset-top,0px)) max(8px, env(safe-area-inset-right,0px)) max(8px, env(safe-area-inset-bottom,0px)) max(8px, env(safe-area-inset-left,0px))}html.touch-device .levels-panel{flex-direction:column;width:min(1100px,100%);height:calc(100dvh - 16px);max-height:100%;padding:10px 14px;display:flex;overflow:hidden}html.touch-device .levels-panel .shop-header{flex:none;gap:12px;margin-bottom:4px}html.touch-device .levels-panel .shop-brand .eyebrow{margin-bottom:2px;font-size:6px}html.touch-device .levels-panel .shop-header h2{font-size:clamp(22px,5.5vh,30px)}html.touch-device .levels-panel .shop-message{min-height:0;margin:0 0 4px;font-size:7px}html.touch-device .levels-body{flex:auto;grid-template-columns:minmax(168px,.6fr) minmax(0,1.4fr);align-items:stretch;gap:10px;min-height:0}html.touch-device .levels-side{overscroll-behavior:contain;order:0;min-height:0;padding-right:2px;overflow-y:auto}html.touch-device .levels-side-head{margin-bottom:4px;font-size:6px}html.touch-device .levels-side-head b{font-size:6px}html.touch-device .levels-grid{grid-template-columns:1fr;gap:4px;margin:0}html.touch-device .levels-grid .level-card{grid-template-rows:auto;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;min-height:0;padding:4px 7px}html.touch-device .levels-grid .level-number{grid-row:auto;font-size:15px}html.touch-device .levels-grid .level-card strong{text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.1;overflow:hidden}html.touch-device .levels-grid .level-card small{display:none}html.touch-device .levels-grid .level-card em{letter-spacing:.08em;grid-column:3;font-size:5.5px;position:static}html.touch-device .levels-note{display:none}html.touch-device .levels-showcase{grid-template-columns:minmax(0,1.08fr) minmax(150px,.92fr);align-self:stretch;gap:10px;min-height:0;padding:8px;overflow:hidden}html.touch-device .levels-stage{height:100%;min-height:0}html.touch-device #levels-preview-tag{padding:2px 5px;font-size:5px;top:7px;left:7px}html.touch-device .levels-map-label{padding:2px 5px;font-size:5px;bottom:7px;left:7px}html.touch-device .levels-copy{min-height:0;overflow:hidden}html.touch-device .levels-copy .eyebrow{margin-bottom:2px;font-size:5.5px}html.touch-device .levels-copy h3{margin:0 0 4px;font-size:clamp(18px,4.6vh,28px);line-height:.95}html.touch-device .levels-copy p{-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:7px;line-height:1.35;display:-webkit-box;overflow:hidden}html.touch-device .levels-meta{gap:3px;margin:5px 0}html.touch-device .levels-meta>div{padding:3px 5px}html.touch-device .levels-meta span{font-size:5.5px}html.touch-device .levels-meta strong{margin-top:1px;font-size:8px}}
