:root{--team:#2fd14a;--font:"PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;--num:"DIN Alternate", "Avenir Next Condensed", "Bahnschrift", "Arial Black", var(--font);--text:#f4f7ff;--dim:#a7b4d0;--faint:#8b9ab8;--ink:#0d1424;--panel:linear-gradient(180deg, #22304ef0, #10182af2);--panel-solid:linear-gradient(180deg, #24324f, #141d33);--panel-line:#96b9ff33;--panel-hi:inset 0 1px 0 #ffffff1a;--shadow:0 10px 30px #03081473;--gold:#ffc83a;--gold-2:#ff9a1a;--gold-edge:#b35f00;--green:#3ddc84;--red:#ff4b55;--blue:#4da3ff;--cyan:#33d6e6;--purple:#a57bff;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{height:100%;color:var(--text);font-family:var(--font);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;overscroll-behavior:none;background:#0d1424;margin:0;overflow:hidden}#app{touch-action:none;position:fixed;inset:0}#game{width:100%;height:100%;display:block;position:absolute;inset:0}#fx,#ui,#vignette{pointer-events:none;position:absolute;inset:0}#boot{color:var(--dim);letter-spacing:2px;background:radial-gradient(circle at 50% 40%,#22345a,#0d1424 70%);place-items:center;font-size:18px;font-weight:800;transition:opacity .5s;display:grid;position:absolute;inset:0}.boot-box{flex-direction:column;align-items:center;gap:14px;display:flex}.boot-box b{letter-spacing:6px;color:var(--gold);text-shadow:0 3px #6b3500;font-size:34px;font-weight:900}.boot-box span{letter-spacing:1px;font-size:13px}.boot-bar{background:#00000073;border-radius:6px;width:220px;height:10px;overflow:hidden}.boot-bar i{border-radius:inherit;background:linear-gradient(#ffe07a,#ff9a1a);width:0;height:100%;transition:width .2s;display:block}#boot.done{opacity:0;pointer-events:none}button{color:inherit;cursor:pointer;touch-action:manipulation;background:0 0;border:none;padding:0;font-family:inherit}button:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:2px}svg{display:block}.num{font-family:var(--num);letter-spacing:.3px;font-weight:800}.panel{background:var(--panel);border:1px solid var(--panel-line);box-shadow:var(--panel-hi), var(--shadow);-webkit-backdrop-filter:blur(10px);border-radius:18px}.btn{letter-spacing:1px;border-radius:14px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:0 22px;font-size:18px;font-weight:900;transition:transform 80ms,filter .15s;display:inline-flex;position:relative}.btn:active{transform:translateY(2px)scale(.98)}.btn-gold{color:#3a1d00;background:linear-gradient(180deg, #ffe58a 0%, var(--gold) 38%, var(--gold-2) 100%);box-shadow:inset 0 2px 0 #fff9, inset 0 -3px 0 #a0460059, 0 5px 0 var(--gold-edge), 0 10px 22px #ff8c0059;text-shadow:0 1px #ffffff73}.btn-gold:active{box-shadow:inset 0 2px 0 #fff9, 0 2px 0 var(--gold-edge)}.btn-blue{color:#fff;text-shadow:0 1px 2px #00002866;background:linear-gradient(#7cc0ff,#3d7ff0 60%,#2c63d6);box-shadow:inset 0 2px #fff6,0 4px #1d4196,0 8px 18px #2864e659}.btn-ghost{color:var(--dim);min-height:40px;font-size:15px;font-weight:800}.btn-ghost:active{color:var(--text)}.btn.disabled,.btn:disabled{filter:grayscale(.85)brightness(.7);pointer-events:none}.btn .sub{opacity:.75;letter-spacing:0;font-size:12px;font-weight:800}.icon-btn{background:var(--panel);border:1px solid var(--panel-line);width:42px;height:42px;box-shadow:var(--panel-hi), 0 4px 12px #0000004d;border-radius:13px;place-items:center;display:grid}.icon-btn svg{width:22px;height:22px}.icon-btn:active{transform:scale(.94)}.pill{border:1px solid var(--panel-line);height:34px;box-shadow:var(--panel-hi);font-family:var(--num);background:#0a101eb8;border-radius:17px;align-items:center;gap:6px;padding:0 12px 0 4px;font-size:17px;font-weight:800;display:inline-flex}.coin-ico{flex:none;width:26px;height:26px}.coin-ico.small{width:18px;height:18px}.badge-dot{background:var(--red);border-radius:50%;width:9px;height:9px;position:absolute;top:4px;right:14px;box-shadow:0 0 0 2px #141d33}.bar{background:#00000073;border-radius:6px;height:10px;position:relative;overflow:hidden;box-shadow:inset 0 1px 2px #0009}.bar>i{border-radius:inherit;background:linear-gradient(#8fd0ff,#3d8bff);width:0;transition:width .25s ease-out;position:absolute;inset:0 auto 0 0;box-shadow:inset 0 1px #ffffff73}.screen{pointer-events:auto;display:none;position:absolute;inset:0}.screen.visible{display:flex}.screen.passthrough{pointer-events:none}.screen.passthrough button,.screen.passthrough .interactive{pointer-events:auto}#menu{padding:calc(var(--safe-top) + 10px) 14px 0;background:linear-gradient(#080e1c8c 0%,#080e1c00 22% 55%,#080e1cbf 100%);flex-direction:column}.topbar{align-items:center;gap:8px;display:flex}.player{border:1px solid var(--panel-line);box-shadow:var(--panel-hi);background:#0a101eb8;border-radius:24px;align-items:center;gap:8px;padding:4px 12px 4px 4px;display:flex}.rank{place-items:center;width:38px;height:42px;display:grid;position:relative}.rank svg{width:100%;height:100%;position:absolute;inset:0}.rank b{font-family:var(--num);color:#3a1d00;margin-top:-2px;font-size:16px;position:relative}.player-name{font-size:14px;font-weight:900;line-height:1.1}.player-name small{white-space:nowrap;color:var(--dim);font-size:11px;font-weight:700;display:block}.topbar .spacer{flex:1}.logo{flex-direction:column;align-items:center;margin:3.5vh auto 0;animation:4s ease-in-out infinite float;display:flex}.logo-emblem{filter:drop-shadow(0 6px 10px #00000073);width:64px;height:64px}.logo-title{letter-spacing:6px;background:linear-gradient(110deg,#0000 42%,#fffffff2 50%,#0000 58%) 150% 0/260% 100% no-repeat,linear-gradient(#fff 0%,#ffe9a8 45%,#ffb21f 100%) 0 0/100% 100%;color:#0000;filter:drop-shadow(0 3px #6b3500)drop-shadow(0 8px 14px #00000080);-webkit-background-clip:text;background-clip:text;margin-top:2px;font-size:clamp(44px,12vw,64px);font-weight:900;line-height:1.05;animation:4.5s ease-in-out 1s infinite logo-shine}.logo-sub{font-family:var(--num);letter-spacing:6px;color:#d9e4ff;text-shadow:0 2px 4px #0009;margin-top:4px;font-size:12px;font-weight:800}.logo-sub:before,.logo-sub:after{content:"";vertical-align:middle;background:linear-gradient(90deg, transparent, var(--gold));width:26px;height:2px;margin:0 10px 4px;display:inline-block}.logo-sub:after{background:linear-gradient(90deg, var(--gold), transparent)}.menu-dock{flex-direction:column;align-self:center;gap:12px;width:100%;max-width:460px;margin-top:auto;padding-bottom:10px;display:flex}.mode-card{text-align:left;align-items:center;gap:12px;padding:10px 12px;display:flex}.mode-tile{border-radius:14px;flex:none;place-items:center;width:52px;height:52px;display:grid;box-shadow:inset 0 2px #ffffff59,inset 0 -3px #0003,0 4px 10px #00000059}.mode-tile svg{width:30px;height:30px}.mode-text{flex:1;min-width:0}.mode-title{align-items:baseline;gap:8px;font-size:19px;font-weight:900;display:flex}.mode-title .tag{color:var(--gold);font-size:12px;font-weight:800}.mode-desc{color:var(--dim);margin-top:2px;font-size:12px;font-weight:600;line-height:1.35}.mode-switch{color:var(--dim);flex:none;align-items:center;gap:2px;font-size:13px;font-weight:800;display:flex}.mode-switch svg{width:16px;height:16px}.start-btn{letter-spacing:6px;border-radius:18px;flex-direction:column;gap:0;width:100%;min-height:64px;font-size:24px;animation:2.4s ease-in-out infinite breathe;overflow:hidden}.start-btn .sub{letter-spacing:1px}.nav{width:calc(100% + 28px);padding:6px 8px calc(var(--safe-bottom) + 6px);border-top:1px solid var(--panel-line);background:linear-gradient(#141e34f5,#0a101efa);grid-template-columns:repeat(4,minmax(0,120px));justify-content:center;margin:0 -14px;display:grid;box-shadow:0 -8px 24px #00000059}.nav-item{color:var(--dim);flex-direction:column;align-items:center;gap:3px;padding:4px 0;font-size:12px;font-weight:800;display:flex;position:relative}.nav-item i{border-radius:12px;place-items:center;width:44px;height:34px;display:grid}.nav-item svg{width:26px;height:26px}.nav-item i{transition:transform .12s cubic-bezier(.2,1.6,.4,1),background .12s}.nav-item:active i{background:#ffffff14;transform:scale(.86)}.home-ups{grid-template-columns:repeat(5,1fr);gap:6px;display:grid}.up-card{isolation:isolate;text-align:center;background:var(--panel);border:1px solid var(--panel-line);box-shadow:var(--panel-hi), var(--shadow);border-radius:14px;flex-direction:column;align-items:center;gap:2px;padding:5px 4px 0;transition:transform 80ms;display:flex;position:relative;overflow:hidden}.up-card.bought{animation:.5s cubic-bezier(.2,1.4,.4,1) card-bought}.up-card.bought:after{content:"LEVEL UP";font-family:var(--num);letter-spacing:.5px;color:#fff;text-shadow:0 2px #0006;pointer-events:none;background:radial-gradient(circle,#ffd65a8c,#ffd65a00 70%);place-items:center;font-size:12px;font-weight:900;animation:.7s ease-out forwards level-up;display:grid;position:absolute;inset:0}.up-card.evolve{border-color:#ffc83ad9;animation:1.6s ease-in-out infinite evolve-glow}.up-card.recommend:before{content:"推荐";text-align:center;color:#fff;z-index:1;background:linear-gradient(#ff6b6b,#d92b3a);width:52px;padding:1px 0;font-size:9px;font-weight:900;position:absolute;top:6px;left:-14px;transform:rotate(-38deg);box-shadow:0 2px 4px #0000004d}.up-card:active{transform:translateY(2px)scale(.97)}.up-ico{color:#fff;border-radius:10px;flex:none;place-items:center;width:34px;height:34px;display:grid;position:relative;box-shadow:inset 0 2px #ffffff59,inset 0 -2px #0003}.up-ico svg{width:21px;height:21px}.up-lv{min-width:18px;height:18px;font-style:normal;font-family:var(--num);color:#3a1d00;background:var(--gold);border-radius:9px;padding:0 4px;font-size:11px;font-weight:900;line-height:18px;position:absolute;top:-6px;right:-7px;box-shadow:0 0 0 2px #141d33}.up-name{margin-top:1px;font-size:13px;font-weight:900;line-height:1.1}.up-val{font-family:var(--num);color:var(--green);white-space:nowrap;font-size:12px;font-weight:800}.up-next{max-width:100%;min-height:22px;color:var(--gold);white-space:normal;justify-content:center;align-items:center;gap:2px;font-size:9.5px;font-weight:800;line-height:1.15;display:flex}.up-cost{height:26px;font-family:var(--num);color:#3a1d00;background:linear-gradient(180deg, #ffe58a 0%, var(--gold) 45%, var(--gold-2) 100%);justify-content:center;align-self:stretch;align-items:center;gap:2px;margin:1px -4px 0;font-size:13px;font-weight:900;display:flex;box-shadow:inset 0 2px #ffffff8c}.up-card.gems .up-cost{color:#fff;text-shadow:0 1px #001e5a80;background:linear-gradient(#8fe3ff 0%,#47a8ff 45%,#2a5fe0 100%)}.up-card.gems.disabled .up-cost{color:var(--dim);text-shadow:none;background:#ffffff0f}.up-evo{flex-direction:column;align-items:center;gap:2px;width:100%;min-height:32px;margin-top:0;display:flex}.evo-pips{justify-content:center;gap:2px;display:flex}.evo-pips i{background:#ffffff24;border-radius:2px;width:6px;height:6px;box-shadow:inset 0 0 0 1px #ffffff14}.evo-pips i.on{background:var(--gold);box-shadow:0 0 4px #ffc83ab3}.evo-bar{background:#ffffff1f;border-radius:3px;width:80%;height:6px;overflow:hidden}.evo-bar i{border-radius:inherit;background:linear-gradient(90deg, #ffe58a, var(--gold));height:100%;display:block}.up-card.evolve .evo-pips i:not(.on):first-of-type,.up-card.evolve .evo-pips i:not(.on){animation:.9s ease-in-out infinite pip-blink}.evo-progress{color:var(--gold);align-items:center;gap:8px;margin-top:6px;font-size:12px;font-weight:800;display:flex}.evo-progress .evo-pips i{width:9px;height:9px}.evo-progress .evo-bar{width:90px}.up-cost .coin-ico.small{width:14px;height:14px}.up-card.disabled .up-cost{color:var(--dim);box-shadow:none;background:#ffffff0f}.up-card.disabled .up-cost .coin-ico{filter:grayscale(.8)}.upgrade-row .row-title{flex-wrap:wrap}.up-now{font-family:var(--num);color:var(--dim);margin-left:auto;font-size:13px;font-weight:800}.up-now b{color:var(--green)}.evo-track{flex-wrap:wrap;gap:4px;margin-top:6px;display:flex}.evo{height:20px;color:var(--faint);background:#ffffff0d;border:1px solid #ffffff14;border-radius:10px;align-items:center;gap:4px;padding:0 7px;font-size:11px;font-weight:800;display:inline-flex}.evo b{font-family:var(--num);font-size:10px}.evo.done{color:#3a1d00;background:linear-gradient(180deg, #ffe58a, var(--gold));border-color:#0000}.evo.next{color:var(--gold);border-color:#ffc83ab3}.up-next>span{overflow-wrap:anywhere;min-width:0}.gun-img{object-fit:contain;filter:drop-shadow(0 2px 2px #00000073);display:inline-block}span.gun-img svg{width:100%;height:100%}.gun-img.tiny{flex:none;width:30px;height:14px}.gun-img.card{width:48px;height:16px}.evo .gun-img.tiny{width:34px;height:16px}.evo.done .gun-img{filter:drop-shadow(0 1px #fff9)}.toast{z-index:70;letter-spacing:.5px;white-space:normal;text-align:center;color:#3a1d00;background:linear-gradient(180deg, #ffe58a, var(--gold) 50%, var(--gold-2));opacity:0;pointer-events:none;border-radius:16px;width:max-content;max-width:min(92vw,420px);padding:10px 20px;font-size:clamp(14px,4.2vw,18px);font-weight:900;line-height:1.35;position:absolute;top:30%;left:50%;transform:translate(-50%);box-shadow:inset 0 0 0 2px #fff6,0 10px 30px #ff960073}.upgrade-row.recommend{background:#ffc83a0f;border-color:#ffc83a8c}.rec-tag{color:#3a1d00;background:var(--gold);border-radius:6px;padding:1px 6px;font-size:11px;font-weight:900}.toast.show{animation:2.2s ease-out forwards toast}@keyframes toast{0%{opacity:0;transform:translate(-50%)scale(.6)}12%{opacity:1;transform:translate(-50%)scale(1.08)}20%{transform:translate(-50%)scale(1)}80%{opacity:1}to{opacity:0;transform:translate(-50%)translateY(-20px)}}.sheet-wrap{z-index:50;pointer-events:auto;background:#0408128c;justify-content:center;align-items:flex-end;display:none;position:absolute;inset:0}.sheet-wrap.visible{animation:.2s ease-out fade-in;display:flex}.sheet-wrap.updating{animation:none}.sheet{background:var(--panel-solid);border:1px solid var(--panel-line);width:100%;max-width:520px;max-height:82%;padding-bottom:calc(var(--safe-bottom) + 14px);border-bottom:none;border-radius:22px 22px 0 0;flex-direction:column;animation:.28s cubic-bezier(.2,.9,.3,1) sheet-up;display:flex;box-shadow:0 -12px 40px #00000080}.sheet-wrap.updating .sheet{animation:none}.sheet-head{align-items:center;gap:10px;padding:14px 16px 10px;display:flex}.sheet-head h2{flex:1;margin:0;font-size:20px;font-weight:900}.sheet-head .pill{height:30px;font-size:15px}.sheet-head .icon-btn{width:36px;height:36px}.sheet-body{flex-direction:column;gap:10px;padding:2px 14px 4px;display:flex;overflow-y:auto}.row{background:#ffffff0a;border:1px solid #ffffff0f;border-radius:16px;align-items:center;gap:12px;padding:12px;display:flex}.row.active{background:#ffc83a14;border-color:#ffc83ab3}.row.locked{opacity:.55}.row-main{flex:1;min-width:0}.row-title{align-items:center;gap:8px;font-size:16px;font-weight:900;display:flex}.row-title .lv{font-family:var(--num);color:var(--gold);background:#ffffff1a;border-radius:8px;padding:1px 7px;font-size:12px}.row-sub{color:var(--dim);margin-top:2px;font-size:12px;font-weight:700}.row-sub b{color:var(--green)}.pips{gap:3px;margin-top:7px;display:flex}.pips i{background:#ffffff1a;border-radius:3px;flex:1;height:5px}.pips i.on{background:linear-gradient(90deg,#ffd65a,#ff9a1a)}.buy{min-width:92px;min-height:42px;font-size:16px;font-family:var(--num);border-radius:12px;flex:none;padding:0 12px}.buy .coin-ico{width:20px;height:20px}.skin-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.skin{background:#ffffff0a;border:1px solid #ffffff14;border-radius:16px;flex-direction:column;align-items:center;gap:6px;padding:12px 6px 10px;display:flex;position:relative}.skin.active{border-color:var(--gold);background:radial-gradient(circle at 50% 30%,#ffc83a2e,#ffffff08 70%)}.skin-name{font-size:14px;font-weight:900}.skin-price{font-family:var(--num);color:var(--gold);align-items:center;gap:4px;font-size:14px;font-weight:800;display:flex}.skin.active .skin-price{color:var(--green)}.skin.poor .skin-price{color:var(--faint)}.skin-portrait{object-fit:contain;filter:drop-shadow(0 6px 8px #00000059);width:84px;height:103px;transition:transform .2s}.skin.active .skin-portrait{transform:scale(1.08)}.skin-figure{width:48px;height:70px;position:relative}.skin-figure i{display:block;position:absolute;left:50%;transform:translate(-50%)}.skin-figure .helmet{background:var(--c);z-index:2;border-radius:16px 16px 4px 4px;width:32px;height:17px;top:0;box-shadow:inset 0 -3px #0003,inset 0 3px #ffffff59}.skin-figure .head{background:#f2c6a0;border-radius:50%;width:24px;height:20px;top:9px}.skin-figure .body{background:var(--s);border-radius:11px;width:30px;height:24px;top:28px;box-shadow:inset 0 -3px #0000001f}.skin-figure .legs{background:var(--c);border-radius:5px;width:22px;height:20px;top:50px}.stat-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.stat{background:#ffffff0a;border:1px solid #ffffff0f;border-radius:16px;align-items:center;gap:10px;padding:12px;display:flex}.stat-ico{border-radius:12px;flex:none;place-items:center;width:38px;height:38px;display:grid}.stat-ico svg{width:22px;height:22px}.stat span{color:var(--dim);font-size:12px;font-weight:700;display:block}.stat b{font-family:var(--num);font-size:20px}.danger-row .row-title{color:#ff8a8a}.danger-row.armed{background:#ff3c3c2e;border-color:#ff5a5ae6;animation:.3s shake-x}.danger-row.armed .row-title{color:#fff}.credits{color:var(--faint);text-align:center;margin-top:6px;font-size:11px;font-weight:700}.toggle{background:#ffffff1f;border-radius:15px;flex:none;width:52px;height:30px;transition:background .2s;position:relative}.toggle:after{content:"";background:#fff;border-radius:50%;width:24px;height:24px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 2px 4px #00000059}.toggle.on{background:var(--green)}.toggle.on:after{transform:translate(22px)}#hud{padding:calc(var(--safe-top) + 8px) 10px 0;flex-direction:column;align-items:center;gap:8px}#hud>*{width:100%;max-width:560px}.hud-bar{border-radius:18px;align-items:center;gap:8px;padding:6px;display:flex}.hud-bar .icon-btn{border-radius:12px;width:38px;height:38px}.hud-mid{flex:1;min-width:0}.hud-title{justify-content:space-between;align-items:baseline;padding:0 2px 4px;font-size:13px;font-weight:900;display:flex}.hud-title .num{color:var(--dim);font-size:13px}.hud-track{height:12px;position:relative}.hud-track .bar{height:12px}.hud-track .bar>i{background:linear-gradient(#ffe07a,#ff9a1a)}.hud-skull{filter:drop-shadow(0 2px 2px #0009);width:24px;height:24px;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}.hud-coins{height:38px}.hud-wallet{flex-direction:column;align-items:flex-end;gap:3px;display:flex}.hud-wallet .hud-coins{height:30px}.hud-gems{height:24px;padding:0 9px 0 3px;font-size:14px}.hud-gems.bump .gem-ico{animation:.3s ease-out pop}.gem-ico{flex:none;place-items:center;width:24px;height:24px;display:inline-grid}.gem-ico svg{width:100%;height:100%}.gem-ico.small{width:14px;height:14px}.hud-gems .gem-ico{width:18px;height:18px}.gem-pill{color:#bfe6ff}.hud-coins.bump .coin-ico{animation:.25s ease-out pop}.hud-mark{filter:drop-shadow(0 1px 2px #000000b3);width:18px;height:18px;transition:opacity .3s,filter .3s;position:absolute;top:50%;transform:translate(-50%,-50%)}.hud-mark svg{width:100%;height:100%}.hud-mark.past{opacity:.45;filter:grayscale()}.fly-coin{pointer-events:none;z-index:35;filter:drop-shadow(0 2px 3px #00000073);width:26px;height:26px;position:absolute;top:-13px;left:-13px}.hud-row{left:0;right:0;bottom:calc(var(--safe-bottom) + 14px);pointer-events:none;justify-content:center;align-items:center;gap:6px;margin:0 auto;display:flex;position:absolute}.chip{border:1px solid var(--panel-line);background:#0a101eb3;border-radius:13px;align-items:center;gap:5px;height:26px;padding:0 10px;font-size:12px;font-weight:900;display:inline-flex}.chip svg{width:15px;height:15px}.chip.gold{color:var(--gold);border-color:#ffc83a99}.chip.ammo{color:var(--ammo,#fff);border-color:var(--ammo,var(--panel-line))}.chip.pop{animation:.45s ease-out pop}.boss-bars{flex-direction:column;gap:6px;display:none}.boss-bars.visible{display:flex}.boss-bar{background:linear-gradient(90deg,#5a0a14d9,#1e0a14d9);border:1px solid #ff5a5a59;border-radius:14px;align-items:center;gap:8px;padding:6px 10px 6px 6px;display:flex;box-shadow:0 6px 16px #00000059}.boss-face{background:linear-gradient(#ff5a5a,#a3151f);border-radius:10px;flex:none;place-items:center;width:34px;height:34px;display:grid;box-shadow:inset 0 2px #ffffff4d}.boss-face svg{width:22px;height:22px}.boss-info{flex:1;min-width:0}.boss-name{justify-content:space-between;align-items:baseline;font-size:13px;font-weight:900;display:flex}.boss-name small{color:#ffb3b3;white-space:nowrap;text-overflow:ellipsis;margin-left:8px;font-size:10px;font-weight:700;overflow:hidden}.boss-hp{background:#00000080;border-radius:6px;height:12px;margin-top:4px;position:relative;overflow:hidden}.boss-hp .ghost,.boss-hp .fill{position:absolute;inset:0 auto 0 0}.boss-hp .ghost{background:#fff3c4}.boss-hp .fill{background:linear-gradient(#ff7a7a,#e0202d);box-shadow:inset 0 1px #fff6}.boss-hp .seg{background:repeating-linear-gradient(90deg,#0000 0 calc(10% - 1px),#00000059 calc(10% - 1px) 10%);position:absolute;inset:0}.boss-hp span{font-family:var(--num);text-shadow:0 1px 2px #000;place-items:center;font-size:10px;font-weight:800;display:grid;position:absolute;inset:0}.boss-bars.multi{flex-direction:row}.boss-bars.multi .boss-bar{flex:1;gap:6px;min-width:0;padding:5px 8px 5px 5px}.boss-bars.multi .boss-face{border-radius:8px;width:26px;height:26px}.boss-bars.multi .boss-face svg{width:17px;height:17px}.boss-bars.multi .boss-name small{display:none}.banner{letter-spacing:4px;white-space:nowrap;color:#fff;text-shadow:0 3px #00000059;clip-path:polygon(0 0,100% 0,94% 50%,100% 100%,0 100%,6% 50%);opacity:0;pointer-events:none;background:linear-gradient(#4da3ff,#1f5fd1);padding:10px 46px;font-size:30px;font-weight:900;position:absolute;top:27%;left:50%;transform:translate(-50%);width:auto!important}.banner.show{animation:1.7s ease-out forwards banner}.banner.danger{background:linear-gradient(#ffb13d,#e06a00)}.banner.boss{background:linear-gradient(#ff4b55,#a30f1c);padding:10px 54px;font-size:34px;top:40%}.tip{left:0;right:0;bottom:calc(var(--safe-bottom) + 64px);opacity:0;border-radius:16px;align-items:center;gap:10px;margin:0 auto;padding:10px 16px;font-size:14px;font-weight:800;line-height:1.4;transition:opacity .4s;display:flex;position:absolute;width:-moz-fit-content!important;width:fit-content!important;max-width:min(88%,420px)!important}.tip.visible{opacity:1}.tip svg{flex:none;width:34px;height:34px;animation:1.4s ease-in-out infinite swipe}.squad-badge{border:1.5px solid var(--team);height:28px;font-family:var(--num);opacity:0;will-change:transform;background:linear-gradient(#141e34eb,#0a101eeb);border-radius:14px;align-items:center;gap:4px;padding:0 10px 0 4px;font-size:18px;font-weight:800;display:flex;position:absolute;top:0;left:0;box-shadow:0 4px 10px #0006}.squad-badge:before{content:"";background:var(--team) radial-gradient(circle at 50% 70%, #ffffffd9 0 28%, transparent 30%);border-radius:50%;width:20px;height:20px;box-shadow:inset 0 -3px #0003}.squad-badge.pulse{animation:.25s ease-out pop}.float-text{color:#fff;font-family:var(--num);white-space:nowrap;-webkit-text-stroke:5px #080e1cd9;paint-order:stroke fill;text-shadow:0 4px 8px #00000059;will-change:transform, opacity;font-size:28px;font-weight:900;position:absolute;top:0;left:0}.float-text.big{font-size:36px}.float-text.good{color:#6dffa0}.float-text.bad{color:#ff6b6b}.float-text.gold{color:#ffd64a}.float-text.gem{color:#8fe3ff}.float-text.dmg{color:#ffe58a;-webkit-text-stroke-width:4px;font-size:18px}#vignette.bad{animation:.5s ease-out vignette-red}#vignette.boss{animation:1.2s ease-out vignette-red}.modal{z-index:20;background:radial-gradient(circle at 50% 40%,#0a122480,#040812d1);justify-content:center;align-items:center;animation:.25s ease-out fade-in}.dialog{flex-direction:column;align-items:center;gap:12px;width:min(88vw,360px);padding:46px 18px 16px;animation:.38s cubic-bezier(.2,1.3,.4,1) pop-in;display:flex;position:relative}.ribbon{text-align:center;letter-spacing:8px;color:#fff;text-shadow:0 3px #0000004d;clip-path:polygon(0 0,100% 0,92% 50%,100% 100%,0 100%,8% 50%);background:linear-gradient(#4da3ff,#1f5fd1);min-width:220px;padding:10px 48px 12px;font-size:30px;font-weight:900;position:absolute;top:-22px;left:50%;transform:translate(-50%)}.ribbon.win{color:#4a2300;text-shadow:0 2px #ffffff80;background:linear-gradient(#ffd65a,#ff8a00)}.ribbon.lose{background:linear-gradient(#ff6b6b,#b5121f)}.stars{gap:6px;margin-top:-6px;display:flex}.stars svg{filter:drop-shadow(0 3px 4px #0006);width:44px;height:44px}.stars svg:nth-child(2){width:56px;height:56px;margin-top:-10px}.stars .on{animation:.45s cubic-bezier(.2,1.5,.4,1) both star-in}.stars .on:nth-child(2){animation-delay:.15s}.stars .on:nth-child(3){animation-delay:.3s}.result-sub{color:var(--dim);text-align:center;font-size:14px;font-weight:800}.result-stats{flex-direction:column;gap:6px;width:100%;display:flex}.result-stats div{color:var(--dim);background:#ffffff0d;border-radius:12px;justify-content:space-between;align-items:center;padding:9px 12px;font-size:14px;font-weight:800;display:flex}.result-stats b{font-family:var(--num);color:var(--text);font-size:18px}.result-ups-title{width:100%;color:var(--dim);justify-content:space-between;align-items:center;margin-top:2px;font-size:14px;font-weight:900;display:flex}.result-ups-title .pill.bump{animation:.3s ease-out pop}.result-ups-title .wallet{gap:4px;display:flex}.result-ups-title .pill{height:26px;padding:0 10px 0 4px;font-size:14px}.result-ups{gap:4px;width:100%}.result-ups .up-card{padding-top:6px}.result-ups .up-ico{width:28px;height:28px}.result-ups .up-ico svg{width:17px;height:17px}.result-ups .up-next{display:none}.result-ups .up-evo{min-height:10px}.reward{background:radial-gradient(circle,#ffc83a38,#ffc83a0d 70%);border:1px solid #ffc83a59;border-radius:14px;justify-content:center;align-items:center;gap:8px;width:100%;padding:10px;display:flex}.reward .coin-ico{width:34px;height:34px}.reward b{font-family:var(--num);color:var(--gold);text-shadow:0 2px #6b3500;font-size:34px}.dialog .btn-gold,.dialog .btn-blue{width:100%;min-height:54px;font-size:20px}@keyframes fade-in{0%{opacity:0}}@keyframes pop-in{0%{opacity:0;transform:scale(.7)}}@keyframes sheet-up{0%{transform:translateY(100%)}}@keyframes pop{40%{transform:scale(1.25)}}@keyframes float{50%{transform:translateY(-6px)}}@keyframes star-in{0%{opacity:0;transform:scale(0)rotate(-40deg)}}@keyframes swipe{0%,to{transform:translate(-8px)}50%{transform:translate(8px)}}@keyframes banner{0%{opacity:0;transform:translate(-50%)scale(1.8)}12%{opacity:1;transform:translate(-50%)scale(1)}82%{opacity:1;transform:translate(-50%)scale(1)}to{opacity:0;transform:translate(-50%)translateY(-16px)scale(.92)}}@keyframes pip-blink{50%{background:#ffc83a99}}@keyframes evolve-glow{50%{box-shadow:var(--panel-hi), 0 0 0 1px #ffc83a99, 0 0 18px #ffc83a73}}@keyframes card-bought{0%{transform:scale(1)}35%{box-shadow:0 0 0 2px var(--gold), 0 0 24px #ffc83a99;transform:scale(1.08)}to{transform:scale(1)}}@keyframes level-up{0%{opacity:0;transform:translateY(8px)scale(.8)}25%{opacity:1;transform:translateY(0)scale(1.1)}to{opacity:0;transform:translateY(-16px)scale(1)}}@keyframes shake-x{25%{transform:translate(-4px)}75%{transform:translate(4px)}}@keyframes vignette-red{0%{box-shadow:inset 0 0 120px 40px #ff1e1eb3}to{box-shadow:inset 0 0 120px 40px #ff1e1e00}}.weapon-badge{--wc:#fff1b0;border:1.5px solid color-mix(in srgb, var(--wc) 70%, transparent);height:40px;box-shadow:0 0 14px color-mix(in srgb, var(--wc) 35%, transparent), var(--panel-hi);background:linear-gradient(#141e34d9,#080c18d9);border-radius:12px;align-items:center;gap:6px;padding:0 12px 0 6px;display:flex;position:relative}.weapon-badge .wb-gun{place-items:center;width:58px;height:28px;display:grid}.weapon-badge .wb-gun .gun-img{width:58px;height:28px}.weapon-badge .wb-gun>svg{width:20px;height:20px;color:var(--wc)}.weapon-badge .wb-text{flex-direction:column;gap:3px;display:flex}.weapon-badge b{color:var(--wc);text-shadow:0 1px #0009;font-size:13px;font-weight:900;line-height:1}.wb-pips,.wu-pips{gap:2px;display:flex}.wb-pips i{background:#ffffff26;border-radius:1px;width:7px;height:4px}.wb-pips i.on{background:var(--wc);box-shadow:0 0 4px var(--wc)}.weapon-badge.charge{animation:.7s ease-out badge-charge}@keyframes badge-charge{0%{filter:brightness();transform:scale(1)}30%{filter:brightness(2.2);transform:scale(1.22)}to{filter:brightness();transform:scale(1)}}.weapon-up{--wc:#ffd34d;background:radial-gradient(120% 90% at 50% 30%, color-mix(in srgb, var(--wc) 30%, #16223c) 0%, #0c1324 72%);border:2px solid var(--wc);box-shadow:0 0 0 4px #00000040, 0 0 40px color-mix(in srgb, var(--wc) 60%, transparent);opacity:0;pointer-events:none;z-index:12;border-radius:20px;flex-direction:column;align-items:center;gap:4px;padding:14px 18px 12px;display:flex;position:absolute;top:21%;left:50%;overflow:hidden;transform:translate(-50%)scale(0);width:260px!important}.weapon-up.show{animation:.24s cubic-bezier(.2,1.25,.4,1) forwards wu-in}.weapon-up.show.leave{animation:.28s ease-in forwards wu-out}.wu-rays{background:repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--wc) 40%, transparent) 0deg 9deg, transparent 9deg 24deg);opacity:.8;width:460px;height:460px;margin:-230px 0 0 -230px;animation:6s linear infinite spin;position:absolute;top:45%;left:50%;-webkit-mask:radial-gradient(circle,#000 15%,#0000 60%);mask:radial-gradient(circle,#000 15%,#0000 60%)}.wu-label{letter-spacing:4px;color:#241300;background:linear-gradient(180deg, #fff1a8, var(--gold));border-radius:9px;padding:2px 14px;font-size:13px;font-weight:900;position:relative}.wu-gun{place-items:center;width:210px;height:92px;display:grid;position:relative;overflow:hidden}.wu-gun .gun-img{width:210px;height:92px;filter:drop-shadow(0 0 10px var(--wc)) drop-shadow(0 4px 2px #00000080)}.weapon-up.show .wu-gun .gun-img{animation:.22s ease-out 30ms both wu-gun}.wu-gun:after{content:"";mix-blend-mode:overlay;background:linear-gradient(105deg,#0000 35%,#ffffffd9 50%,#0000 65%);position:absolute;inset:0;transform:translate(-120%)}.weapon-up.show .wu-gun:after{animation:.36s ease-out .12s shine}.wu-name{letter-spacing:2px;color:#fff;text-shadow:0 0 12px var(--wc), 0 3px 0 #00000080;font-size:30px;font-weight:900;line-height:1.05;position:relative}.wu-pips{gap:4px;position:relative}.wu-pips i{background:#ffffff26;border-radius:3px;width:22px;height:6px}.wu-pips i.on{background:var(--wc);box-shadow:0 0 6px var(--wc)}.wu-pips i.new{animation:.28s ease-out .1s both pip-new}.wu-stats{color:var(--dim);gap:8px;margin-top:2px;font-size:12px;font-weight:800;display:flex;position:relative}.wu-stats span{background:#ffffff14;border-radius:8px;padding:2px 8px}.wu-stats b{font-family:var(--num);color:var(--wc);font-size:15px}@keyframes wu-in{0%{opacity:0;transform:translate(calc(-50% + var(--wu-enter-x,0px)), var(--wu-enter-y,12vh)) scale(.22)}to{opacity:1;transform:translate(-50%)scale(1)}}@keyframes wu-out{0%{opacity:1;transform:translate(-50%)scale(1)}to{opacity:0;transform:translate(calc(-50% + var(--wu-exit-x,0px)), var(--wu-exit-y,46vh)) scale(.18)}}@keyframes wu-gun{0%{opacity:0;transform:translate(-70px)scale(.7)}to{opacity:1;transform:translate(0)scale(1)}}@keyframes pip-new{0%{filter:brightness(3);transform:scaleX(0)}60%{transform:scaleX(1.3)}to{filter:brightness();transform:scaleX(1)}}@keyframes shine{0%{transform:translate(-120%)}to{transform:translate(120%)}}@keyframes spin{to{transform:rotate(360deg)}}.evo-pop{--ec:#ffd34d;z-index:60;background:radial-gradient(circle at 50% 45%,#0a101e8c,#03060ee0);place-items:center;display:none;position:absolute;inset:0}.evo-pop.show{pointer-events:auto;cursor:pointer;animation:.2s ease-out fade-in;display:grid}.ev-rays{background:repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--ec) 30%, transparent) 0deg 7deg, transparent 7deg 20deg);pointer-events:none;width:900px;height:900px;margin:-450px 0 0 -450px;animation:9s linear infinite spin;position:absolute;top:45%;left:50%;-webkit-mask:radial-gradient(circle,#000 10%,#0000 55%);mask:radial-gradient(circle,#000 10%,#0000 55%)}.ev-card{background:var(--panel-solid);border:2px solid var(--ec);width:min(340px,88vw);box-shadow:0 0 50px color-mix(in srgb, var(--ec) 55%, transparent), var(--shadow);border-radius:22px;flex-direction:column;align-items:center;gap:8px;padding:18px 18px 14px;display:flex;position:relative}.evo-pop.show .ev-card{animation:.55s cubic-bezier(.2,1.6,.4,1) both wu-in-center}.ev-label{letter-spacing:4px;color:#241300;background:linear-gradient(180deg, #fff1a8, var(--gold) 55%, var(--gold-2));box-shadow:0 6px 0 var(--gold-edge), 0 10px 20px #0006;border-radius:12px;margin-top:-36px;padding:6px 26px;font-size:22px;font-weight:900}.ev-pair{grid-template-columns:1fr auto 1fr;align-items:center;gap:6px;width:100%;margin-top:6px;display:grid}.ev-from,.ev-to{background:#ffffff0d;border-radius:14px;flex-direction:column;align-items:center;gap:4px;padding:8px 4px 6px;display:flex}.ev-from{opacity:.6;filter:saturate(.5)}.ev-to{background:radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--ec) 35%, transparent), #ffffff0f 70%);box-shadow:0 0 0 1.5px var(--ec) inset}.evo-pop.show .ev-to{animation:.7s cubic-bezier(.2,1.5,.4,1) .35s both ev-to}.ev-from small,.ev-to small{color:var(--dim);font-size:12px;font-weight:900}.ev-to small{color:var(--ec)}.ev-from .gun-img,.ev-to .gun-img{width:120px;height:54px}.ev-to .gun-img{filter:drop-shadow(0 0 8px var(--ec)) drop-shadow(0 3px 2px #00000080)}.ev-arrow svg{width:26px;height:26px;filter:drop-shadow(0 0 6px var(--ec))}.evo-pop.show .ev-arrow{animation:.9s ease-in-out .3s infinite ev-arrow}.ev-ico{border-radius:14px;place-items:center;width:54px;height:54px;display:grid}.ev-ico svg{width:32px;height:32px}.ev-bullet{align-items:center;gap:6px;height:54px;display:flex}.ev-bullet i{background:linear-gradient(90deg, transparent, var(--bc) 40%, #fff);width:26px;height:9px;box-shadow:0 0 10px var(--bc);border-radius:5px}.ev-name{letter-spacing:1px;color:#fff;text-shadow:0 0 14px var(--ec);font-size:26px;font-weight:900}.ev-desc{text-align:center;color:var(--dim);font-size:13px;font-weight:700;line-height:1.45}.ev-tap{color:var(--faint);margin-top:4px;font-size:11px;font-weight:800;animation:1.2s ease-in-out infinite blink}@keyframes blink{50%{opacity:.35}}@keyframes wu-in-center{0%{opacity:0;transform:scale(.3)rotate(-5deg)}to{opacity:1;transform:scale(1)rotate(0)}}@keyframes ev-to{0%{filter:brightness(3);transform:scale(.4)}to{filter:brightness();transform:scale(1)}}@keyframes ev-arrow{0%,to{transform:translate(-3px)}50%{transform:translate(4px)}}.start-btn:after{content:"";pointer-events:none;background:linear-gradient(105deg,#0000,#ffffffbf,#0000);width:40%;animation:3.2s ease-in-out .8s infinite btn-shine;position:absolute;top:0;bottom:0;left:-60%;transform:skew(-18deg)}@keyframes btn-shine{0%{left:-60%}35%,to{left:130%}}@keyframes breathe{0%,to{filter:brightness()}50%{filter:brightness(1.12)saturate(1.1)}}#menu.visible .menu-dock>.start-btn:active{animation:none}@keyframes logo-shine{0%{background-position:150% 0,0 0}40%,to{background-position:-50% 0,0 0}}#menu.visible .topbar{animation:.45s cubic-bezier(.2,1.2,.4,1) both drop-in}#menu.visible .menu-dock>*{animation:.5s cubic-bezier(.2,1.3,.4,1) both rise-in}#menu.visible .menu-dock>:nth-child(2){animation-delay:60ms}#menu.visible .menu-dock>.brief-actions{animation-delay:90ms}#menu.visible .menu-dock>.start-btn{animation:.5s cubic-bezier(.2,1.3,.4,1) .12s both rise-in,2.4s ease-in-out .7s infinite breathe}#menu.visible .nav{animation:.4s ease-out both rise-in}#hud.visible .hud-bar{animation:.4s cubic-bezier(.2,1.2,.4,1) both drop-in}#hud.visible .hud-row{animation:.4s cubic-bezier(.2,1.2,.4,1) .1s both rise-in}@keyframes drop-in{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}@keyframes rise-in{0%{opacity:0;transform:translateY(36px)}to{opacity:1;transform:translateY(0)}}.up-card.ready:not(.bought):after{content:"";pointer-events:none;z-index:2;background:linear-gradient(115deg,#0000 35%,#ffffff29 50%,#0000 65%);animation:4s ease-in-out infinite card-shimmer;position:absolute;inset:0;transform:translate(-110%)}.up-card.ready:not(.bought):nth-child(2):after{animation-delay:.15s}.up-card.ready:not(.bought):nth-child(3):after{animation-delay:.3s}.up-card.ready:not(.bought):nth-child(4):after{animation-delay:.45s}.up-card.ready:not(.bought):nth-child(5):after{animation-delay:.6s}@keyframes card-shimmer{0%{transform:translate(-110%)}30%,to{transform:translate(110%)}}.sheet-wrap.visible:not(.updating) .sheet-body>*{animation:.35s cubic-bezier(.2,1.2,.4,1) both rise-in}.sheet-wrap.visible:not(.updating) .sheet-body>:nth-child(2){animation-delay:40ms}.sheet-wrap.visible:not(.updating) .sheet-body>:nth-child(3){animation-delay:80ms}.sheet-wrap.visible:not(.updating) .sheet-body>:nth-child(4){animation-delay:.12s}.sheet-wrap.visible:not(.updating) .sheet-body>:nth-child(5){animation-delay:.16s}.sheet-wrap.visible:not(.updating) .sheet-body>:nth-child(n+6){animation-delay:.2s}.confetti{--dx:0px;--r:360deg;pointer-events:none;z-index:5;border-radius:2px;width:8px;height:12px;animation:2.4s cubic-bezier(.25,.6,.5,1) both confetti;position:absolute;top:-12px}@keyframes confetti{0%{opacity:1;transform:translate(0)rotate(0)}85%{opacity:1}to{opacity:0;transform:translate(var(--dx), 105vh) rotate(var(--r))}}@media (max-height:700px){.logo{margin-top:4px}.logo-emblem,.logo-sub,.mode-desc{display:none}.logo-title{letter-spacing:3px;font-size:34px}.menu-dock{gap:6px}.mode-card{padding:6px 10px}.mode-tile{width:40px;height:40px}.start-btn{min-height:52px;font-size:20px}.nav{padding-top:2px;padding-bottom:calc(var(--safe-bottom) + 2px)}.nav-item i{height:26px}.nav-item svg{width:21px;height:21px}}@media (max-width:360px){.topbar{gap:5px}.topbar .player-name{display:none}}@media (max-height:700px) and (max-width:599px){#result{touch-action:pan-y;align-items:flex-start;padding:28px 0 8px;overflow-y:auto}#result .dialog{flex:none;gap:5px;width:min(100vw - 24px,360px);margin:auto;padding:30px 12px 10px}#result .ribbon{letter-spacing:4px;min-width:190px;padding:6px 30px 8px;font-size:26px;top:-19px}#result .stars{margin-top:0}#result .stars svg{width:30px;height:30px}#result .stars svg:nth-child(2){width:38px;height:38px;margin-top:-6px}#result .result-stats{gap:3px}#result .result-stats div{padding:4px 9px;font-size:12px}#result .result-stats b{font-size:15px}#result .reward{padding:5px}#result .reward .coin-ico{width:24px;height:24px}#result .reward b{font-size:26px}#result .result-ups-title{font-size:12px}#result .result-ups-title .pill{height:22px;font-size:12px}#result .result-ups .up-card{padding-top:3px}#result .result-ups .up-ico{width:24px;height:24px}#result .result-ups .up-evo{display:none}#result .dialog .btn-gold{min-height:44px;font-size:17px}}@media (max-height:500px) and (min-width:600px){#menu{padding:calc(var(--safe-top) + 6px) 12px 0}#menu .logo{width:40%;margin:0;position:absolute;top:30%;left:3vw}#menu .menu-dock{top:calc(var(--safe-top) + 58px);right:2vw;bottom:calc(var(--safe-bottom) + 64px);grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:end;gap:6px;width:min(50vw,460px);margin:0;padding:0;display:grid;position:absolute;overflow-y:auto}#menu .mode-card,#menu .home-ups{grid-column:1/-1}#menu .brief-actions{gap:4px}#menu .brief-actions button{min-width:0;padding:5px;font-size:11px}#menu .start-btn{letter-spacing:2px;font-size:18px}#menu .nav{width:min(50vw,460px);margin:0;position:absolute;bottom:0;right:2vw}#result{touch-action:pan-y;align-items:flex-start;padding:22px 0 10px;overflow-y:auto}#result .dialog{flex:none;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start;gap:5px 12px;width:min(96vw,800px);margin:auto;padding:26px 14px 10px;display:grid}#result .ribbon{letter-spacing:4px;min-width:180px;padding:6px 26px 8px;font-size:25px;top:-18px;left:23%}#result .stars{grid-area:1/1;justify-self:center}#result .result-sub{grid-area:2/1}#result .result-stats{grid-area:3/1/span 2}#result .reward{grid-area:5/1}#result .result-ups-title{grid-area:1/2}#result .result-ups{grid-area:2/2/span 3;align-self:start}#result #btn-next{grid-area:5/2}#result #btn-home{grid-area:6/2}#result .result-stats{gap:3px}#result .result-stats div{padding:4px 10px}#result .reward{padding:4px}#result .reward .coin-ico{width:24px;height:24px}#result .reward b{font-size:27px}#result .dialog .btn-gold{min-height:40px;font-size:17px}}.brief-actions{gap:8px;width:100%;display:flex}.brief-actions button,.result-tactic{color:#e4edfa;min-height:44px;font:700 13px var(--font);cursor:pointer;background:#182a43dc;border:1px solid #ffffff24;border-radius:12px;flex:1;padding:8px 12px}.result-tactic{flex:none;width:100%}.guide-note{color:#c3d1e3;padding:12px 4px;font-size:13px;line-height:1.7}.guide{color:#d7e2f0;padding:0 6px 12px;font-size:14px;line-height:1.8}.guide h3{color:#ffd34d;margin:18px 0 5px;font-size:16px}.guide p{margin:0}.tactic-row{text-align:left;width:100%;min-height:76px}.tactic-row .row-sub{white-space:normal;line-height:1.6}.tactic-row.active{background:#ffd34d12;border-color:#ffd34d}.practice-row{background:#ffffff08;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:8px;padding:14px;display:grid}.practice-row label{color:#d7e2f0;align-self:center;font-size:13px}.practice-stepper{align-items:center;gap:4px;display:inline-flex}.practice-stepper .step-btn{color:#fff;width:36px;min-height:44px;font:900 18px var(--num);cursor:pointer;background:#182a43;border:1px solid #ffffff30;border-radius:8px}.practice-stepper .step-btn:active{transform:scale(.95)}.practice-row input{text-align:center;color:#fff;width:58px;min-width:0;min-height:44px;font:800 16px var(--num);background:#0d182b;border:1px solid #ffffff40;border-radius:8px;padding:6px}.practice-row .btn{grid-column:1/-1;min-height:44px;font-size:14px}.upgrade-gain{color:#8fe1bd;white-space:normal;margin-top:6px;font-size:12px;line-height:1.55}.result-advice{color:#cce1ff;background:#21395688;border:1px solid #8bbdff40;border-radius:12px;width:100%;padding:10px 12px;font-size:12px;line-height:1.65}.result-detail{color:#adbdd2;text-align:center;font-size:11px;line-height:1.5}#result{touch-action:pan-y;padding-top:max(32px, calc(var(--safe-top) + 26px));padding-bottom:max(16px,var(--safe-bottom));align-items:flex-start;overflow-y:auto}#result .dialog{flex:none;gap:8px;margin:auto}#result .result-stats b{text-align:right;font-size:15px}#result .result-stats div{gap:10px}.hud-cue{bottom:calc(var(--safe-bottom) + 74px);color:#c6f6e0;opacity:0;pointer-events:none;background:#112c2ee8;border:1px solid #6ce0b1a0;border-radius:10px;width:max-content;max-width:94vw;padding:8px 12px;font-size:12px;font-weight:800;position:absolute;left:50%;transform:translate(-50%)}.hud-cue.visible{opacity:1}.hud-cue.danger{color:#ffe6dc;background:#661e21ed;border-color:#ffaba0}.resume-count{color:#fff2ba;background:#101c31eb;border-radius:18px;padding:18px 30px;font-size:24px;font-weight:900;position:absolute;top:42%;left:50%;transform:translate(-50%)}.resume-count[hidden]{display:none}#ui.reduced-motion *,#ui.reduced-motion :before,#ui.reduced-motion :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important;animation-delay:0s!important}@media (max-height:700px) and (orientation:portrait){.brief-actions{gap:5px}.brief-actions button{padding:4px}#result .dialog{gap:5px}#result .result-advice{padding:6px 9px;font-size:11px}}@media (orientation:landscape) and (max-height:600px){#result .result-advice{grid-area:6/1}#result .result-detail{grid-area:7/1}#result .result-tactic{grid-area:5/2}#result #btn-next{grid-area:6/2}#result #btn-home{grid-area:7/2}}@media (min-height:701px) and (orientation:portrait){#result .result-stats div{padding:6px 10px}#result .dialog{gap:7px;padding-top:38px}#result .stars svg{width:36px;height:36px}#result .stars svg:nth-child(2){width:46px;height:46px}}#ui.reduced-motion .start-btn,#ui.reduced-motion .start-btn:after,#ui.reduced-motion .logo-title,#ui.reduced-motion .up-card.ready:not(.bought):after,#ui.reduced-motion .wu-rays,#ui.reduced-motion .ev-rays{animation:none!important}#ui.reduced-motion .confetti,#carnage-hud[hidden]{display:none}.carnage-score{left:calc(14px + var(--safe-left));bottom:calc(32px + var(--safe-bottom));color:#fff;text-shadow:0 2px 5px #201642;pointer-events:none;background:#11192cba;border-radius:10px;padding:8px 10px;position:absolute}.carnage-score small{letter-spacing:1px;color:#ffe298;font-size:8px;display:block}.carnage-score b{color:#ffe098;font-size:19px;line-height:1.2;display:block}.carnage-score span{font-size:10px;display:block}#btn-nova{right:calc(15px + var(--safe-right));bottom:calc(30px + var(--safe-bottom));color:#fff;text-align:left;pointer-events:auto;background:linear-gradient(130deg,#173a63eb,#45296aeb);border:1px solid #aef5ff88;border-radius:18px;grid-template-columns:minmax(0,1fr) auto;column-gap:5px;width:164px;min-height:68px;padding:12px 15px;display:grid;position:absolute;overflow:hidden;box-shadow:0 5px 25px #06182a77}#btn-nova span{white-space:nowrap;z-index:1;font-size:14px;font-weight:900;position:relative}#btn-nova b{color:#aef5ff;z-index:1;font-size:18px;position:relative}#btn-nova small{z-index:1;grid-column:1/-1;margin-top:8px;font-size:9px;display:block;position:relative}#btn-nova i{background:linear-gradient(90deg,#64daff,#e2a0ff);height:5px;transition:width .15s;position:absolute;bottom:0;left:0}#btn-nova:disabled{opacity:.78}#btn-nova.ready{background:linear-gradient(130deg,#a64819,#7431a9);border-color:#fff1b0;box-shadow:0 0 25px #eea85388}.carnage-note{color:#ffe29e}@media (max-height:600px){.carnage-score{bottom:calc(18px + var(--safe-bottom))}#btn-nova{bottom:calc(15px + var(--safe-bottom));min-height:62px}}.carnage-mode #hud .hud-wallet,.carnage-mode #hud .hud-row,.carnage-mode #hud .boss-bars{display:none!important}.carnage-mode .hud-bar{padding:6px 8px}.carnage-mode .hud-title{font-size:11px}.carnage-mode #tip{bottom:calc(var(--safe-bottom) + 110px);padding:6px 10px;font-size:10px;max-width:94%!important}.carnage-mode #hud-cue{top:calc(var(--safe-top) + 72px);max-width:88vw;padding:6px 10px;font-size:11px;display:block;bottom:auto}.carnage-mode #home-ups,.carnage-mode #home-tactic{display:none}.carnage-loadout{color:#c6d9f2;text-align:center;font-size:11px;line-height:1.5}.carnage-loadout[hidden]{display:none}.carnage-mode #result .dialog{flex-direction:column;width:min(92vw,420px);padding-top:40px;display:flex}.carnage-mode #result .ribbon{white-space:nowrap;letter-spacing:2px;width:max-content;min-width:0;max-width:90%;padding:8px 26px 10px;font-size:clamp(20px,6vw,27px);left:50%}.carnage-mode #result #btn-next,.carnage-mode #result #btn-home{width:100%}.banner{white-space:normal;text-align:center;letter-spacing:1px;max-width:94vw;padding:10px 18px;font-size:clamp(17px,5vw,30px);width:max-content!important}.carnage-mode .banner,.carnage-mode .banner.boss{max-width:96vw;padding:6px 16px;font-size:13px;top:11%}
