*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}html,body{width:100%;height:100%;overflow:hidden;background:#3d9bff;font-family:Trebuchet MS,Segoe UI,Roboto,Arial,sans-serif;color:#fff;user-select:none;-webkit-user-select:none;touch-action:none;overscroll-behavior:none}#game,#game canvas{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block}.hidden{display:none!important}.txt-outline{text-shadow:0 2px 0 #1a2a55,0 0 6px rgba(0,0,0,.4)}#menu{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#ffffff26,#1e50aa8c);z-index:20;padding:12px}.menu-box{width:min(480px,100%);text-align:center;padding:22px 24px;border-radius:26px;background:linear-gradient(160deg,#fff,#e8f4ff);color:#1f3566;box-shadow:0 10px #2c6fd1,0 18px 40px #00000040;max-height:100%;overflow-y:auto}.menu-drone{font-size:46px;animation:bob 1.6s ease-in-out infinite}@keyframes bob{0%,to{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(-10px) rotate(6deg)}}.menu-box h1{font-size:40px;letter-spacing:2px;font-weight:900;color:#f57;text-shadow:0 4px 0 #b3264a}.menu-box h1 span{color:#2f9bff;text-shadow:0 4px 0 #1b5fb3}.story{margin:10px 0 16px;color:#3d5585;font-size:15px;line-height:1.5}#name-input{width:100%;padding:12px 14px;font-size:20px;font-weight:700;border-radius:14px;border:3px solid #b9d6ff;background:#fff;color:#1f3566;outline:none;text-align:center;user-select:text;-webkit-user-select:text;font-family:inherit}#name-input:focus{border-color:#2f9bff}#menu-status{min-height:22px;margin-top:10px;color:#e0465f;font-size:14px;font-weight:700}.controls{margin-top:8px;font-size:13px;color:#4b6699;line-height:1.8}.controls b{color:#1f3566}.enemy-guide{margin-top:12px;display:flex;flex-wrap:wrap;gap:6px;justify-content:center;font-size:13px}.enemy-guide span{background:#eef5ff;border-radius:10px;padding:3px 9px;color:#1f3566;font-weight:700}.mobile-only{display:none}body.touch .mobile-only{display:block}body.touch .desktop-only{display:none}#hud{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:10}#crosshair{position:absolute;left:50%;top:50%;width:28px;height:28px;transform:translate(-50%,-50%);border:3px solid rgba(255,255,255,.9);border-radius:50%;box-shadow:0 0 0 2px #00000040}#crosshair:after{content:"";position:absolute;left:50%;top:50%;width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px #00000040}#hitmarker{position:absolute;top:-9px;right:-9px;bottom:-9px;left:-9px;border:4px solid #ffe066;border-radius:50%;opacity:0;transform:scale(.7);transition:opacity .15s,transform .15s}#hitmarker.show{opacity:1;transform:scale(1);transition:none}#hitmarker.kill{border-color:#ff4d6d;top:-14px;right:-14px;bottom:-14px;left:-14px}#heat-wrap{position:absolute;left:50%;top:calc(50% + 26px);width:70px;height:7px;margin-left:-35px;background:#0000004d;border-radius:4px;overflow:hidden}#heat-fill{height:100%;width:0;background:linear-gradient(90deg,#ffd23a,#ff4d2a)}#heat-wrap.over{animation:blink .25s infinite}#heat-wrap.over #heat-fill{background:#ff2a2a}@keyframes blink{50%{opacity:.3}}#lock-reticle{position:absolute;width:56px;height:56px;margin:-28px 0 0 -28px;border:3px dashed #ff4d6d;border-radius:50%;animation:spin 2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#damage-flash{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at center,transparent 50%,rgba(255,40,80,.5));opacity:0;transition:opacity .4s}#damage-flash.show{opacity:1;transition:none}#lowhp{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:0;transition:opacity .4s;background:radial-gradient(circle at 0 0,rgba(255,20,50,.75),transparent 32%),radial-gradient(circle at 100% 0,rgba(255,20,50,.75),transparent 32%),radial-gradient(circle at 0 100%,rgba(255,20,50,.75),transparent 32%),radial-gradient(circle at 100% 100%,rgba(255,20,50,.75),transparent 32%)}#lowhp.pulse{animation:lowpulse 1.1s ease-in-out infinite}#lowhp.pulse.fast{animation-duration:.55s}@keyframes lowpulse{0%,to{filter:brightness(.7)}50%{filter:brightness(1.35)}}#speed-lines{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at center,transparent 55%,rgba(120,220,255,.35));opacity:0;transition:opacity .25s}#speed-lines.on{opacity:1}#top-bar{position:absolute;top:10px;left:50%;transform:translate(-50%);display:flex;gap:8px}.stat{background:#ffffffe0;color:#1f3566;border-radius:14px;padding:4px 12px;text-align:center;min-width:70px;box-shadow:0 4px #1e3c8259}.stat .label{display:block;font-size:10px;letter-spacing:1px;color:#5a75a8;font-weight:700}.stat span:last-child{font-size:22px;font-weight:900}.stat.score span:last-child{color:#e08a00}#boss-bar{position:absolute;top:74px;left:50%;transform:translate(-50%);width:min(520px,60vw);text-align:center}.boss-name{font-weight:900;font-size:18px;color:#ffd23a;text-shadow:0 2px 0 #7a4b00,0 0 8px rgba(0,0,0,.4)}.boss-track{height:16px;background:#0006;border-radius:8px;overflow:hidden;border:2px solid #ffd23a}#boss-fill{height:100%;width:100%;background:linear-gradient(90deg,#ff4d6d,#ffae00);transition:width .2s}#combo{position:absolute;right:24px;top:210px;text-align:center;transform:rotate(6deg)}#combo-x{display:block;font-size:44px;font-weight:900;color:#ffd23a;text-shadow:0 3px 0 #b35c00,0 0 10px rgba(0,0,0,.3)}#combo small{font-weight:900;color:#fff;text-shadow:0 2px 0 #1a2a55;letter-spacing:2px}#combo.pop #combo-x{animation:pop .3s}@keyframes pop{0%{transform:scale(1.8)}to{transform:scale(1)}}#status-panel{position:absolute;left:16px;bottom:16px;width:260px;background:#ffffffe0;color:#1f3566;border-radius:16px;padding:8px 12px;box-shadow:0 5px #1e3c8259}.bar-row{display:flex;align-items:center;gap:8px;margin:3px 0}.bar-row .label{font-size:11px;font-weight:900;width:64px;color:#5a75a8}.bar{flex:1;height:13px;background:#d9e6f7;border-radius:7px;overflow:hidden}#hp-fill{height:100%;width:100%;background:linear-gradient(90deg,#2ee67a,#8dff6a);transition:width .15s}#hp-fill.low{background:linear-gradient(90deg,#ff2d55,#ff8a5c)}#bat-fill{height:100%;width:100%;background:linear-gradient(90deg,#3fd0ff,#8af3ff);transition:width .2s}#bat-row.low #bat-fill{background:linear-gradient(90deg,#ff2d55,#ffae00)}#bat-row.low .label{animation:blink .5s infinite;color:#ff2d55}#bat-row.charging #bat-fill{background:linear-gradient(90deg,#ffd23a,#fff07a);animation:blink .6s infinite}#mis-fill{height:100%;width:0;background:linear-gradient(90deg,#c77dff,#ff5fbf);transition:width .2s}#mis-row.ready #mis-fill{background:linear-gradient(90deg,#ff4d6d,#ffd23a)}#mis-row.ready .val{color:#ff4d6d;animation:blink .5s infinite}.bar-row .val{font-weight:900;font-size:12px;min-width:40px;text-align:right}#hp-text{font-weight:900;font-size:13px;min-width:28px;text-align:right}#extras{display:flex;gap:10px;margin-top:4px;font-weight:900;font-size:15px;align-items:center}#dash-ind.cd{opacity:.3}.pw{background:#eef5ff;border-radius:10px;padding:1px 8px}#radar{position:absolute;right:16px;top:16px;width:180px;height:180px;border-radius:50%;background:#ffffffbf;border:4px solid #fff;box-shadow:0 4px #1e3c8259}#killfeed{position:absolute;left:16px;top:16px;display:flex;flex-direction:column;gap:4px;font-size:13px;max-width:38vw}#killfeed{pointer-events:none}#killfeed div{background:#14285a38;color:#fff;padding:3px 10px;border-radius:10px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.6);animation:feedfade 4.5s forwards}@keyframes feedfade{0%{opacity:0;translate:-10px 0}8%{opacity:.9;translate:0 0}70%{opacity:.85}to{opacity:0}}@keyframes fadeout{0%,80%{opacity:1}to{opacity:0}}#center-msg{position:absolute;left:50%;top:30%;transform:translate(-50%);text-align:center;font-size:24px;font-weight:900;text-shadow:0 3px 0 #1a2a55,0 0 8px rgba(0,0,0,.35);white-space:pre-line}#banner{pointer-events:none;position:absolute;left:50%;top:18%;transform:translate(-50%) scale(.6);font-size:48px;font-weight:900;letter-spacing:2px;color:#ffd23a;text-shadow:0 5px 0 #b35c00,0 0 18px rgba(0,0,0,.3);opacity:0;transition:opacity .5s,transform .3s;white-space:nowrap}#banner.show{opacity:.88;transform:translate(-50%) scale(1);transition:opacity .15s,transform .25s cubic-bezier(.3,1.8,.5,1)}#announcer{text-shadow:0 3px 6px rgba(0,0,0,.35);position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);font-size:54px;font-weight:900;opacity:0;pointer-events:none;white-space:nowrap}#announcer.show{animation:announce 1.1s forwards}@keyframes announce{0%{opacity:0;transform:translate(-50%,-50%) scale(2.4) rotate(-8deg)}15%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(-4deg)}75%{opacity:1;transform:translate(-50%,-60%) scale(1.05) rotate(-4deg)}to{opacity:0;transform:translate(-50%,-80%) scale(.9) rotate(-4deg)}}#popups{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.popup{position:absolute;font-weight:900;font-size:22px;color:#ffe066;text-shadow:0 2px 0 #7a4b00,0 0 4px rgba(0,0,0,.5);transform:translate(-50%,-50%);white-space:nowrap;will-change:transform,opacity}.popup.dmg{font-size:15px;color:#fff;text-shadow:0 2px 0 #333}.popup.big{font-size:30px;color:#ff6b8b;text-shadow:0 3px 0 #7a1030}.popup.green{color:#6dff8f;text-shadow:0 2px 0 #106b2a}#scoreboard{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fffffff2;color:#1f3566;border-radius:18px;padding:14px 18px;min-width:340px;box-shadow:0 6px #1e3c8259}#scoreboard table{width:100%;border-collapse:collapse;font-size:15px}#scoreboard th{color:#5a75a8;font-size:11px;letter-spacing:1px;text-align:left;padding:4px 8px}#scoreboard td{padding:5px 8px;border-top:1px solid #e3ecf8;font-weight:700}#scoreboard .dot{display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:6px;border:2px solid rgba(0,0,0,.15)}#scoreboard tr.me td{color:#e08a00}#pause-hint{position:absolute;left:50%;bottom:22%;transform:translate(-50%);background:#ffffffe6;color:#1f3566;font-weight:900;padding:10px 20px;border-radius:14px;font-size:17px}#cards{position:fixed;z-index:15;left:50%;top:50%;transform:translate(-50%,-38%);text-align:center;pointer-events:auto}.cards-title{font-size:28px;font-weight:900;color:#ffd23a;text-shadow:0 3px 0 #b35c00,0 0 10px rgba(0,0,0,.3);margin-bottom:10px}.cards-title small{font-size:14px;color:#fff;text-shadow:0 2px 0 #1a2a55}#card-list{display:flex;gap:14px;justify-content:center}.card{width:150px;padding:14px 10px;border-radius:20px;background:linear-gradient(170deg,#fff,#e3f0ff);color:#1f3566;box-shadow:0 7px #2c6fd1,0 12px 24px #00000040;cursor:pointer;animation:cardIn .35s cubic-bezier(.3,1.6,.5,1) backwards;transition:transform .1s;border:none;font-family:inherit}.card:nth-child(2){animation-delay:.08s}.card:nth-child(3){animation-delay:.16s}.card:hover{transform:translateY(-6px) rotate(-2deg)}.card .icon{font-size:42px}.card .name{font-weight:900;font-size:16px;margin:4px 0}.card .desc{font-size:13px;color:#4b6699}.card .lvl{margin-top:6px;font-size:12px;color:#e08a00;font-weight:900}.card .key{display:inline-block;margin-top:6px;background:#1f3566;color:#fff;border-radius:6px;padding:0 7px;font-size:12px;font-weight:900}body.touch .card .key{display:none}@keyframes cardIn{0%{opacity:0;transform:translateY(40px) scale(.6) rotate(8deg)}}#touch-ui{position:fixed;top:0;right:0;bottom:0;left:0;z-index:12;pointer-events:none}#touch-ui>*{pointer-events:auto}#look-zone{position:absolute;right:0;top:0;width:55%;height:100%}#joystick{position:absolute;left:calc(28px + env(safe-area-inset-left));bottom:28px;width:150px;height:150px;border-radius:50%;background:#ffffff38;border:3px solid rgba(255,255,255,.6)}#joystick-knob{position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;background:#2f9bffcc;border:3px solid #fff}#alt-buttons{position:absolute;left:calc(196px + env(safe-area-inset-left));bottom:28px;display:flex;flex-direction:column;gap:12px}.tbtn{border:3px solid rgba(255,255,255,.8);background:#ffffff40;color:#fff;font-weight:900;border-radius:50%;width:64px;height:64px;font-size:24px;touch-action:none;font-family:inherit;text-shadow:0 2px 0 rgba(0,0,0,.3)}.tbtn.active{background:#2f9bffa6}#btn-boost{position:absolute;left:calc(196px + env(safe-area-inset-left));bottom:180px;background:#3fd0ff59}#btn-fire{position:absolute;right:calc(36px + env(safe-area-inset-right));bottom:40px;width:112px;height:112px;font-size:20px;background:#ff4d6d8c}#btn-fire.active{background:#ff4d6de6}#btn-rocket{position:absolute;right:calc(160px + env(safe-area-inset-right));bottom:110px;background:#ffae0073}#btn-dash{position:absolute;right:calc(160px + env(safe-area-inset-right));bottom:30px;background:#80ed9966}.tbtn.small{position:absolute;width:44px;height:44px;font-size:20px}#btn-cam{right:136px;top:12px}#btn-score{right:136px;top:62px}body.touch #radar{width:110px;height:110px;right:12px;top:12px;border-width:3px}body.touch #status-panel{left:50%;transform:translate(-50%);bottom:8px;width:220px;padding:5px 10px}body.touch #extras{font-size:13px}body.touch #top-bar{top:6px;gap:5px}body.touch .stat{padding:2px 8px;min-width:52px}body.touch .stat span:last-child{font-size:16px}body.touch #killfeed{font-size:11px;top:60px;left:12px}body.touch #banner{font-size:30px}body.touch #announcer{font-size:36px}body.touch #center-msg{font-size:18px}body.touch #combo{right:190px;top:12px}body.touch #combo-x{font-size:30px}body.touch #boss-bar{top:56px}body.touch .card{width:120px;padding:10px 8px}body.touch .card .icon{font-size:32px}body.touch .cards-title{font-size:20px}#rotate-hint{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#3d9bff;align-items:center;justify-content:center;font-size:24px;font-weight:900;text-align:center;padding:20px}@media(orientation:portrait){body.touch.playing #rotate-hint{display:flex}}@media(max-height:500px){.menu-box{padding:12px 18px}.menu-drone{display:none}.menu-box h1{font-size:28px}.story{margin:4px 0 8px;font-size:13px}.enemy-guide{display:none}#joystick{width:120px;height:120px;bottom:18px}#alt-buttons{left:calc(160px + env(safe-area-inset-left));bottom:18px;gap:8px}#btn-boost{left:calc(160px + env(safe-area-inset-left));bottom:150px}.tbtn{width:54px;height:54px;font-size:20px}#btn-fire{width:96px;height:96px;bottom:24px}#btn-rocket{right:calc(140px + env(safe-area-inset-right));bottom:92px}#btn-dash{right:calc(140px + env(safe-area-inset-right));bottom:22px}body.touch #card-list{gap:8px}body.touch #cards{transform:translate(-50%,-45%)}}#chips{position:absolute;left:16px;bottom:140px;display:flex;flex-direction:column;gap:4px;align-items:flex-start}.chip{background:#ffffffe6;color:#1f3566;font-weight:900;font-size:13px;padding:3px 10px;border-radius:10px;box-shadow:0 3px #1e3c824d}.chip.yellow{background:#fff3b0;color:#7a5200}.chip.ghost{background:#e6e6ffeb;color:#5b4bb0}.chip.blue{background:#d4f1ff;color:#1b5fb3}.chip.orange{background:#ffe1c4;color:#a04a00}.chip.purple{background:#f0dcff;color:#7a2fb3}.chip.red{background:#ffd9de;color:#b3263a}.chip.green{background:#d6ffe1;color:#127a35}#ghost-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at center,transparent 45%,rgba(200,190,255,.45));opacity:0;transition:opacity .4s}#ghost-overlay.on{opacity:1}#white-flash{position:absolute;top:0;right:0;bottom:0;left:0;background:#fff;opacity:0}#white-flash.show{animation:wflash .6s forwards}@keyframes wflash{0%{opacity:.9}to{opacity:0}}.stat.room span:last-child{color:#2f9bff;letter-spacing:2px}img.flag{vertical-align:middle;border-radius:2px;box-shadow:0 0 0 1px #0003}body.freeze #game canvas{filter:saturate(.6) hue-rotate(-15deg) brightness(1.08)}.menu-box{width:min(560px,100%)}.menu-box.small{width:min(460px,100%)}.menu-box h2{font-size:26px;color:#2f9bff;margin-bottom:6px}.menu-head{position:relative}.badges{display:flex;gap:8px;justify-content:center;margin-top:6px}.badge{background:#eef5ff;border-radius:12px;padding:3px 12px;font-weight:900;font-size:15px}.badge.gold{background:#fff3c4;color:#8a5a00}.tabs{display:flex;gap:6px;margin:12px 0 6px}.tabs button{flex:1;padding:9px 4px;border:none;border-radius:12px;background:#e3eefc;color:#4b6699;font-weight:900;font-size:15px;cursor:pointer;font-family:inherit}.tabs button.active{background:#2f9bff;color:#fff;box-shadow:0 4px #1b5fb3}.sec-title{margin:14px 0 6px;font-weight:900;color:#5a75a8;font-size:13px;letter-spacing:1px;text-transform:uppercase;text-align:left}.name-row{display:flex;gap:8px}#flag-btn{width:64px;flex:none;border:3px solid #b9d6ff;border-radius:14px;background:#fff;cursor:pointer;padding:4px}#flag-btn img{width:100%;display:block;border-radius:3px}#flag-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(62px,1fr));gap:6px;margin-top:8px;background:#eef5ff;padding:8px;border-radius:14px}.flag-opt{border:3px solid transparent;background:#fff;border-radius:10px;padding:4px;cursor:pointer;font-family:inherit;color:#4b6699;font-size:11px;font-weight:700}.flag-opt img{width:100%;display:block;border-radius:2px}.flag-opt.sel{border-color:#2f9bff}#map-list{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.map-card{border:3px solid transparent;border-radius:14px;padding:8px 4px;cursor:pointer;font-family:inherit;font-weight:900;font-size:12px;color:#1f3566;display:flex;flex-direction:column;align-items:center;gap:2px}.map-card .mi{font-size:28px}.map-card.sel{border-color:#f57;transform:translateY(-2px);box-shadow:0 4px #b3264a}.map-city{background:linear-gradient(160deg,#bfe6ff,#8fd16a)}.map-desert{background:linear-gradient(160deg,#ffe2b0,#e8a066)}.map-snow{background:linear-gradient(160deg,#f0f8ff,#bfe9ff)}.map-candy{background:linear-gradient(160deg,#ffd1ec,#c7f9e4)}.play-row{display:flex;gap:8px;margin-top:12px}.big-btn{flex:1;padding:13px 8px;font-size:19px;font-weight:900;border:none;border-radius:16px;background:linear-gradient(180deg,#ffd23a,#ffae00);color:#6b3a00;cursor:pointer;box-shadow:0 6px #c77800;font-family:inherit;transition:transform .08s}.big-btn.alt{background:linear-gradient(180deg,#7cc4ff,#2f9bff);color:#fff;box-shadow:0 6px #1b5fb3}.big-btn:active{transform:translateY(4px);box-shadow:none}.big-btn:disabled{opacity:.6;cursor:default}.code-row{display:flex;gap:8px;margin-top:10px}#code-input{flex:1;padding:10px;font-size:18px;font-weight:900;letter-spacing:4px;text-transform:uppercase;text-align:center;border-radius:12px;border:3px solid #b9d6ff;color:#1f3566;outline:none;font-family:inherit;user-select:text;-webkit-user-select:text}#join-btn{padding:0 20px;border:none;border-radius:12px;background:#80ed99;color:#0f5a26;font-weight:900;font-size:16px;cursor:pointer;font-family:inherit;box-shadow:0 4px #3fae5a}#join-btn:disabled{opacity:.6}#room-list{display:flex;flex-direction:column;gap:6px;max-height:180px;overflow-y:auto}#room-list .empty{color:#6b82ad;font-size:13px;padding:8px}.room{display:grid;grid-template-columns:32px 60px 1fr auto;align-items:center;gap:8px;text-align:left;padding:7px 10px;border:none;border-radius:12px;background:#eef5ff;color:#1f3566;cursor:pointer;font-family:inherit;font-size:13px}.room:hover{background:#dcebff}.room:disabled{opacity:.5;cursor:default}.rm-map{font-size:22px}.rm-code{font-weight:900;letter-spacing:2px;color:#2f9bff}.rm-names{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rm-info{font-weight:700;color:#5a75a8;font-size:12px}.tips{margin-top:10px;font-size:13px;color:#4b6699;background:#fff8dc;border-radius:10px;padding:6px}#garage-preview{width:300px;height:170px;max-width:100%;margin:0 auto;display:block;background:radial-gradient(ellipse at center,#fff,#cfe6ff);border-radius:18px}#garage-msg{min-height:18px;color:#e0465f;font-weight:900;font-size:13px;margin-top:4px}.perm{display:flex;align-items:center;gap:10px;background:#eef5ff;border-radius:14px;padding:7px 10px;margin-bottom:6px;text-align:left}.perm .pi{font-size:26px}.perm .pt{flex:1;display:flex;flex-direction:column}.perm small{color:#5a75a8;font-size:12px}.pips{display:flex;gap:3px;margin-top:3px}.pips i{width:16px;height:6px;border-radius:3px;background:#c8d8ee}.pips i.on{background:#ffae00}.buy{border:none;border-radius:10px;padding:8px 10px;background:linear-gradient(180deg,#ffd23a,#ffae00);color:#6b3a00;font-weight:900;cursor:pointer;font-family:inherit;white-space:nowrap}.buy:disabled{background:#d9e2ef;color:#8a9bb8;cursor:default}.cos-list{display:flex;flex-wrap:wrap;gap:6px}.cos{border:3px solid transparent;background:#eef5ff;border-radius:12px;padding:5px;min-width:52px;cursor:pointer;font-family:inherit;color:#1f3566;display:flex;flex-direction:column;align-items:center;gap:2px;font-weight:700}.cos.eq{border-color:#2f9bff;background:#fff}.cos.locked{opacity:.75}.cos small{font-size:11px;color:#a06a00;font-weight:900;min-height:13px}.cos .sw{width:30px;height:30px;border-radius:50%;border:2px solid rgba(0,0,0,.15);display:block}.cos .hi{font-size:24px}.cos .cn{font-size:10px;max-width:76px}.settings-panel{display:flex;flex-direction:column;gap:6px;text-align:left}.set-row{display:flex;align-items:center;gap:10px;background:#eef5ff;border-radius:12px;padding:7px 12px;font-weight:700;font-size:14px}.set-row>span{flex:1}.set-row input[type=range]{width:42%;accent-color:#2f9bff}.set-row b{min-width:44px;text-align:right;font-size:13px;color:#2f9bff}.set-row select{padding:5px 8px;border-radius:8px;border:2px solid #b9d6ff;font-family:inherit;font-weight:700;color:#1f3566;background:#fff}.set-row input[type=checkbox]{width:22px;height:22px;accent-color:#2f9bff}.mini{border:none;border-radius:8px;padding:6px 10px;background:#80ed99;color:#0f5a26;font-weight:900;cursor:pointer;font-family:inherit}#pause-menu{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;align-items:center;justify-content:center;background:#14326e8c;padding:12px}#pause-note{font-weight:900;color:#2f9bff;margin-bottom:8px}#pause-note.warn{color:#e0465f}#emote-picker{position:fixed;z-index:16;right:190px;top:60px;display:flex;flex-direction:column;gap:6px}#emote-picker button{border:none;border-radius:12px;padding:8px 12px;background:#fffffff2;color:#1f3566;font-weight:900;font-size:15px;font-family:inherit;box-shadow:0 3px #1e3c824d}#btn-missile{position:absolute;right:calc(36px + env(safe-area-inset-right));bottom:168px;background:#c77dff73}#btn-settings{right:136px;top:112px}#btn-emote{right:136px;top:162px}body.touch #chips{left:12px;bottom:auto;top:150px}body.touch .chip{font-size:11px;padding:2px 8px}body.touch .bar-row .label{width:56px;font-size:10px}body.touch .stat.room{display:none}@media(max-height:500px){#btn-missile{bottom:130px}#map-list{grid-template-columns:repeat(4,1fr)}.map-card .mi{font-size:20px}#room-list{max-height:110px}}@media(max-width:480px){#map-list{grid-template-columns:repeat(2,1fr)}}.tbtn{background:#ffffff14!important;border:2px solid rgba(255,255,255,.38);opacity:.72;-webkit-backdrop-filter:none;backdrop-filter:none}.tbtn.active{background:#ffffff47!important;opacity:1}#btn-fire{border-color:#ff788c8c}#btn-fire.active{background:#ff4d6d59!important}#joystick{background:#ffffff0f;border:2px solid rgba(255,255,255,.32)}#joystick-knob{background:#ffffff47;border:2px solid rgba(255,255,255,.6)}#btn-turn{position:absolute;right:calc(250px + env(safe-area-inset-right));bottom:40px}#btn-form{position:absolute;right:calc(250px + env(safe-area-inset-right));bottom:120px}#btn-shop{right:136px;top:212px}@media(max-height:500px){#btn-turn{right:calc(214px + env(safe-area-inset-right));bottom:22px}#btn-form{right:calc(214px + env(safe-area-inset-right));bottom:92px}.tbtn.small{width:38px;height:38px;font-size:17px}#btn-cam{top:8px}#btn-score{top:50px}#btn-settings{top:92px}#btn-emote{top:134px}#btn-shop{top:176px}}#touch-ui>.tbtn,#joystick,#alt-buttons{scale:var(--tb-scale, 1)}.tbtn,#joystick{opacity:var(--tb-op, .72)}.tbtn.active{opacity:1}#btn-light{position:absolute;right:calc(330px + env(safe-area-inset-right));bottom:40px}#btn-zoom{position:absolute;right:calc(330px + env(safe-area-inset-right));bottom:120px}#btn-light.on{background:#fff09673!important;opacity:1}#btn-zoom.on{background:#78c8ff73!important;opacity:1}@media(max-height:500px){#btn-light{right:calc(284px + env(safe-area-inset-right));bottom:22px}#btn-zoom{right:calc(284px + env(safe-area-inset-right));bottom:92px}}#touch-ui.editing{z-index:60;background:#14285a40}#touch-ui.editing #look-zone{pointer-events:none}#touch-ui.editing .tbtn,#touch-ui.editing #joystick,#touch-ui.editing #alt-buttons{outline:2px dashed #ffd23a;outline-offset:3px;opacity:1;cursor:grab;touch-action:none}#touch-ui.editing .tbtn.hidden{display:block!important;opacity:.55}#touch-ui .dragging{outline-color:#80ed99!important}#layout-bar{position:fixed;left:50%;top:8px;translate:-50% 0;z-index:70;display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:center;max-width:96vw;background:#fffffff2;border-radius:14px;padding:6px 10px;font-weight:800;color:#1f3566;font-size:13px;box-shadow:0 4px #1e3c824d}#layout-bar input{width:90px;vertical-align:middle}#touch-ui .selected{outline:3px solid #2f9bff!important}#layout-bar button{border:0;border-radius:10px;padding:6px 12px;font-weight:900;font-family:inherit;cursor:pointer}#lay-reset{background:#ffd6dc;color:#a0213a}#lay-done{background:#2f9bff;color:#fff}#lb-maps{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:8px}#lb-maps button{border:0;border-radius:10px;padding:5px 9px;background:#e3eefc;color:#4b6699;font-weight:800;cursor:pointer;font-family:inherit}#lb-maps button.sel{background:#2f9bff;color:#fff}#lb-list{max-height:46vh;overflow:auto}.lb-row{display:grid;grid-template-columns:34px 1fr auto auto;gap:8px;align-items:center;padding:6px 8px;border-radius:10px;font-weight:700;color:#1f3566}.lb-row:nth-child(odd){background:#f1f6ff}.lb-row.me{background:#fff3c4;outline:2px solid #ffd23a}.lb-row .rk{font-weight:900;text-align:center}.lb-row .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lb-row .nm small{color:#6a7fa8;font-weight:700;margin-left:4px}.lb-row .sc{font-weight:900;color:#2f6bd6}.lb-row .wv{font-size:12px;color:#6a7fa8}#mini-board{position:absolute;right:16px;top:206px;min-width:150px;pointer-events:none;display:flex;flex-direction:column;gap:2px}#mini-board div{background:#14285a40;color:#fff;border-radius:8px;padding:2px 8px;font-size:12px;font-weight:800;text-shadow:0 1px 2px rgba(0,0,0,.6);display:flex;gap:6px;align-items:center;transition:transform .3s}#mini-board div.me{background:#ffd23a73}#mini-board div b{margin-left:auto}#mini-board .dot{width:8px;height:8px;border-radius:50%;display:inline-block}body.touch #mini-board{right:auto;left:12px;top:auto;bottom:46%;min-width:120px}body.touch #mini-board div{font-size:10px}#mission{pointer-events:none;position:absolute;left:50%;top:74px;transform:translate(-50%);background:#ffffff6b;border:2px solid rgba(255,255,255,.7);border-radius:16px;padding:6px 14px;min-width:200px;text-align:center;color:#234;font-weight:800;box-shadow:0 3px #1e3c824d}#mission .m-title{font-size:11px;letter-spacing:1px;color:#2f6bd6}#m-text{font-size:14px}.m-bar{height:8px;background:#0000001f;border-radius:6px;overflow:hidden;margin-top:4px}#m-fill{height:100%;width:0;background:linear-gradient(90deg,#ffd23a,#80ed99);transition:width .3s}#mission.done{background:#80ed998c}body.touch #mission{top:54px;transform:translate(-50%) scale(.85)}#nav-arrow{position:absolute;left:50%;top:50%;width:0;height:0;font-size:34px;color:#ffd23a;text-shadow:0 0 6px rgba(0,0,0,.6);pointer-events:none}#nav-arrow span{position:absolute;transform:translate(-50%,-50%);white-space:nowrap}#form-ind{position:absolute;left:16px;bottom:16px;font-weight:900;color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.35);font-size:14px}body.touch #form-ind{left:auto;right:14px;top:130px;bottom:auto;font-size:12px}#shop{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:40;width:min(560px,94vw);max-height:90vh;overflow:auto;background:#fffffff2;border:4px solid #fff;border-radius:22px;padding:12px;box-shadow:0 8px #1e3c8259;color:#234}.shop-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}.shop-head b{font-size:20px;color:#2f6bd6}.shop-head small{opacity:.7;flex:1}#shop-wallet{font-weight:900}#shop-close{border:0;background:#f57;color:#fff;font-weight:900;border-radius:50%;width:34px;height:34px;font-size:16px;cursor:pointer}#shop-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.shop-item{background:#eef6ff;border-radius:14px;padding:8px;text-align:center}.shop-item .ic{font-size:28px}.shop-item b{display:block}.shop-item small{display:block;opacity:.7;font-size:11px;margin-bottom:6px}.shop-item button{border:0;border-radius:10px;padding:6px 8px;margin:2px;font-weight:900;cursor:pointer;font-family:inherit;background:#ffd23a;color:#5a3b00}.shop-item button.coin{background:#ffb703}.shop-item button:disabled{opacity:.35;cursor:default}#try-bar{display:flex;gap:8px;align-items:center;justify-content:center;margin:6px 0;font-weight:800}#try-bar .buy{background:#ffb703;border:0;border-radius:10px;padding:6px 12px;font-weight:900;cursor:pointer;font-family:inherit}#try-bar .mini{background:#ddd;border:0;border-radius:10px;padding:6px 10px;font-weight:800;cursor:pointer;font-family:inherit}.cos.trying{outline:3px dashed #2f9bff}#fs-btn{margin-top:10px;width:100%}#ios-hint{margin-top:8px;font-size:13px;background:#fff7d6;border-radius:10px;padding:8px}#frame-stats{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;font-size:12px;font-weight:800;color:#1f3566;margin:4px 0}#frame-stats .st{display:flex;align-items:center;gap:4px}#frame-stats .st i{display:inline-block;width:60px;height:8px;border-radius:5px;background:#dde6f5;overflow:hidden;position:relative}#frame-stats .st i b{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,#2f9bff,#80ed99);border-radius:5px}#frame-stats .note{width:100%;text-align:center;color:#2f6bd6}#test-badge{text-align:center;background:#fff3c4;color:#8a5a00;border-radius:10px;padding:5px;font-weight:900;font-size:13px;margin:4px 0}.cos .fi{font-size:22px}#menu.preview-bg{background:transparent!important}#intro{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#050812;display:flex;align-items:center;justify-content:center;transition:opacity .45s;touch-action:none;-webkit-user-select:none;user-select:none}#intro.fade-out{opacity:0;pointer-events:none}#intro.hidden{display:none}.intro-stage{position:absolute;top:0;right:0;bottom:0;left:0}.intro-canvas,.intro-video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;transition:opacity .35s}.intro-canvas.fade{opacity:0}.intro-skip{position:absolute;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:2;background:#ffffff24;color:#fff;border:2px solid rgba(255,255,255,.35);border-radius:999px;padding:8px 18px;font:700 15px system-ui,sans-serif;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);cursor:pointer}.intro-skip.hidden,.boot-load.hidden{display:none}.boot-load{position:relative;z-index:1;width:min(440px,86vw);text-align:center;color:#e8f6ff;font-family:system-ui,sans-serif;animation:bootIn .4s ease-out}@keyframes bootIn{0%{opacity:0;transform:translateY(10px)}}.boot-logo span{display:block;font:900 clamp(54px,13vw,96px)/1 system-ui,sans-serif;background:linear-gradient(#ffe066,#ff8c1a);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 0 18px rgba(255,179,71,.55))}.boot-logo small{display:block;margin-top:4px;font-weight:800;letter-spacing:.45em;font-size:clamp(14px,3.6vw,22px);color:#bfe6ff;text-shadow:0 0 12px #3fa9f5}.boot-drone{font-size:34px;margin:14px 0 4px;animation:bootBob 1.1s ease-in-out infinite}@keyframes bootBob{50%{transform:translateY(-8px) rotate(-6deg)}}.boot-bar{height:14px;border-radius:999px;background:#ffffff1f;border:2px solid rgba(255,255,255,.25);overflow:hidden}.boot-fill{height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#3fa9f5,#7df9ff,#ffe066);box-shadow:0 0 14px #7df9ff}.boot-step{margin-top:10px;font-weight:700;font-size:15px}.boot-tip{margin-top:14px;font-size:13px;opacity:.8;min-height:2.6em}.save-box{margin-top:12px;padding:10px 12px;border-radius:14px;background:#3fa9f51f;border:2px solid rgba(63,169,245,.35)}.save-title{font-weight:800;margin-bottom:6px}.save-code-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.save-code{font:900 22px ui-monospace,monospace;letter-spacing:.12em;color:#1565c0;-webkit-user-select:all;user-select:all}.save-state{font-size:13px;margin:4px 0;color:#1b7f3a}.save-state.bad{color:#c0392b}.save-note{font-size:12px;opacity:.75}.save-restore{display:flex;gap:6px;margin-top:8px}.save-restore input{flex:1;min-width:0;font:700 16px ui-monospace,monospace;text-transform:uppercase;letter-spacing:.1em;padding:6px 8px;border-radius:10px;border:2px solid #9cc7ee}body.touch #btn-settings,body.touch #btn-turn,body.touch #btn-cam,body.touch #btn-emote,body.touch #btn-score,body.touch #btn-light,body.touch #btn-zoom,body.touch #btn-missile,body.touch #btn-rocket,body.touch #btn-form,body.touch #btn-shop,body.touch #btn-dash,body.touch #btn-boost,body.touch #alt-buttons{position:absolute;right:auto;left:auto;top:auto;bottom:auto}body.touch #btn-turn{width:44px;height:44px;font-size:20px}body.touch #btn-settings{left:calc(10px + env(safe-area-inset-left));top:8px}body.touch #btn-turn{left:calc(60px + env(safe-area-inset-left));top:8px}body.touch #btn-cam{left:calc(110px + env(safe-area-inset-left));top:8px}body.touch #btn-emote{left:calc(160px + env(safe-area-inset-left));top:8px}body.touch #btn-score{left:calc(210px + env(safe-area-inset-left));top:8px}body.touch #btn-light{left:calc(10px + env(safe-area-inset-left));top:60px}body.touch #btn-zoom{left:calc(72px + env(safe-area-inset-left));top:60px}body.touch #btn-missile{right:calc(132px + env(safe-area-inset-right));top:8px}body.touch #btn-rocket{right:calc(194px + env(safe-area-inset-right));top:8px}body.touch #btn-form{right:calc(132px + env(safe-area-inset-right));top:70px}body.touch #btn-shop{right:calc(198px + env(safe-area-inset-right));top:75px}body.touch #btn-fire{right:calc(24px + env(safe-area-inset-right));bottom:24px}body.touch #alt-buttons{right:calc(134px + env(safe-area-inset-right));bottom:18px}body.touch #btn-dash{right:calc(44px + env(safe-area-inset-right));bottom:136px}body.touch #btn-boost{left:calc(48px + env(safe-area-inset-left));bottom:156px}body.touch #killfeed{top:122px}body.touch #chips{top:200px}body.touch #combo{right:20px;top:132px}body.touch #emote-picker{right:auto;left:calc(160px + env(safe-area-inset-left));top:58px}body.touch #mini-board{left:calc(12px + env(safe-area-inset-left));right:auto;top:122px;bottom:auto}body.touch #killfeed{left:50%;top:96px;transform:translate(-50%);align-items:center;max-width:46vw}body.touch #chips{top:auto;bottom:64px;left:50%;transform:translate(-50%)}.tabs button{font-size:13px;position:relative}.tabs button[data-dot]:not([data-dot=""]):after{content:attr(data-dot);position:absolute;top:-5px;right:-3px;min-width:17px;height:17px;border-radius:9px;background:#ff4d6d;color:#fff;font-size:11px;line-height:17px;box-shadow:0 2px #0003}.badge.rank{position:relative;overflow:hidden;background:#fff4d6;color:#8a5a00}.badge.rank i{position:absolute;left:0;bottom:0;height:3px;background:linear-gradient(90deg,#ffb400,#ff7a00)}#diff-list{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.diff-btn{flex:1;min-width:80px;padding:7px 4px;border:2px solid #d5e4f7;border-radius:12px;background:#f4f8ff;color:#36507f;font-weight:800;font-size:14px;font-family:inherit;cursor:pointer}.diff-btn.sel.d-easy{background:#d9f7e3;border-color:#2ecc71}.diff-btn.sel.d-normal{background:#fff3c9;border-color:#f1c40f}.diff-btn.sel.d-hard{background:#ffd9de;border-color:#ff4d6d}.diff-note{width:100%;font-size:12px;color:#6b80a8;text-align:center}#lb-period{display:flex;gap:6px;margin-bottom:6px}#lb-period button{flex:1;padding:6px;border:none;border-radius:10px;background:#e3eefc;color:#4b6699;font-weight:900;font-family:inherit;cursor:pointer}#lb-period button.sel{background:#ffb400;color:#fff;box-shadow:0 3px #b37a00}.lb-lv{font-size:11px;font-weight:900;color:#8a5a00;background:#fff4d6;border-radius:6px;padding:0 4px}.xp-bar{height:12px;border-radius:999px;background:#dfe9f7;overflow:hidden;margin:4px 0 2px}.xp-bar i{display:block;height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#ffb400,#ff7a00)}.prof-card{display:flex;gap:12px;align-items:center;background:linear-gradient(135deg,#fff7df,#ffe9b8);border-radius:16px;padding:10px 14px;margin-bottom:6px}.prof-rank{font-size:44px}.prof-info{flex:1;display:flex;flex-direction:column;color:#5b3d00}.prof-info b{font-size:18px}.prof-info small{font-size:11px;opacity:.8}.reset-in{float:right;font-weight:700;opacity:.7;font-size:11px}.task{display:grid;grid-template-columns:1fr 80px 54px;gap:8px;align-items:center;padding:6px 10px;margin:4px 0;border-radius:12px;background:#f1f6ff;font-size:13px;font-weight:700;color:#2b4470}.task.done{background:#e2f8e9;color:#1b7f3a}.task.just{animation:taskPop .7s ease-out;box-shadow:0 0 0 2px #2ecc71}@keyframes taskPop{0%{transform:scale(1.06)}to{transform:scale(1)}}.tk-bar{height:8px;border-radius:4px;background:#d8e4f5;overflow:hidden}.tk-bar i{display:block;height:100%;background:linear-gradient(90deg,#2f9bff,#2ecc71)}.tk-num{text-align:right;font-size:12px}.badge-grid,.sum-badges{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:6px}.badge-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:8px 4px;border-radius:12px;background:#eef1f6;color:#8792a8;filter:grayscale(1);opacity:.7;position:relative}.badge-card span{font-size:26px}.badge-card b{font-size:12px}.badge-card small{font-size:10px;line-height:1.2}.badge-card em{font-style:normal;font-size:10px;font-weight:800;margin-top:2px;color:#4b6699}.badge-card.owned{filter:none;opacity:1;background:linear-gradient(160deg,#fff6d8,#ffe2a1);color:#6a4700;box-shadow:0 3px #b4780040}.badge-card.pop{animation:taskPop .8s ease-out}.life-stats,.sum-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:6px}.life-stats div,.sum-stats div{background:#f1f6ff;border-radius:12px;padding:6px;text-align:center;display:flex;flex-direction:column;color:#2b4470}.life-stats b,.sum-stats b{font-size:18px}.life-stats small,.sum-stats small{font-size:10px;opacity:.75}#summary{position:fixed;top:0;right:0;bottom:0;left:0;z-index:45;display:flex;align-items:center;justify-content:center;background:#0a14328c;padding:10px}#summary.hidden{display:none}.sum-box{width:min(560px,96vw);max-height:94vh;display:flex;flex-direction:column;background:#fff;border-radius:22px;padding:12px 16px;box-shadow:0 8px #1e3c8259;color:#1f3566;animation:bootIn .35s ease-out}#sum-body{overflow:auto;flex:1;padding-right:4px}.sum-head{text-align:center}.sum-head h2{margin:2px 0;font-size:26px;color:#ff4d6d;letter-spacing:1px}.sum-sub{font-size:13px;font-weight:700;color:#6b80a8;margin-bottom:8px}.sum-record{margin:8px 0;text-align:center;font-weight:900;color:#c47f00}.sum-xp{margin:10px 0 4px;padding:8px 12px;border-radius:14px;background:#fff7df}.xp-line{display:flex;justify-content:space-between;font-weight:900;color:#6a4700}.xp-gain{color:#ff7a00}.xp-num{font-size:11px;text-align:right;color:#8a6a2a}.sum-up{margin:4px 0;padding:6px 10px;border-radius:12px;background:#e2f8e9;color:#1b7f3a;font-weight:900;text-align:center;animation:taskPop .7s ease-out}.sum-up.rank{background:#fff0c2;color:#8a5a00}.sum-coins{text-align:center;font-weight:900;color:#c47f00;margin:4px 0}.sum-sec{margin:10px 0 4px;font-weight:900;font-size:14px;color:#36507f}.sum-awards{display:flex;flex-direction:column;gap:4px}.award{display:flex;gap:10px;align-items:center;padding:6px 10px;border-radius:12px;background:#f1f6ff}.award.me{background:#fff3c9;box-shadow:0 0 0 2px #ffb400}.aw-ic{font-size:24px}.award b{display:block;font-size:14px}.award small{font-size:11px;color:#5b6f96}.sum-goals div{padding:5px 10px;margin:3px 0;border-radius:10px;background:#f4f0ff;font-size:13px;font-weight:700;color:#4b3a8a}#summary .play-row{margin-top:10px}@media(max-height:500px){.sum-box{padding:8px 12px}.sum-head h2{font-size:20px}.life-stats b,.sum-stats b{font-size:15px}}#weather-ind{position:absolute;right:16px;top:204px;display:flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:#14285a59;color:#fff;font-weight:900;font-size:13px;text-shadow:0 1px 2px rgba(0,0,0,.6);pointer-events:none}#weather-ind.hidden{display:none}#weather-ind .wi-icon{font-size:18px}#weather-ind .wi-arrow{display:inline-block;font-size:16px;color:#bfe6ff;transition:transform .2s}#weather-ind.gust{background:#ff783c8c;animation:wiShake .25s infinite}@keyframes wiShake{50%{translate:2px 0}}body.touch #weather-ind{right:calc(12px + env(safe-area-inset-right));top:128px;font-size:11px;padding:2px 8px}body.touch #combo{top:168px}body:not(.touch) #mini-board{top:240px}
