:root{font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:#e6f4f3;background:#0a1a23;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 50% 50%,#254657,#0a1a23 75%)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:0}button:focus-visible,a:focus-visible{outline:3px solid #b6f8ec;outline-offset:3px}button:disabled{cursor:default;filter:grayscale(.8);opacity:.5}button:hover:not(:disabled){filter:brightness(1.15)}button{transition:filter .15s,transform .15s}button:active:not(:disabled){transform:translateY(1px)}a{text-decoration:none;color:inherit}.page-top{max-width:1480px;height:74px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;margin:auto}#brand{display:flex;align-items:center;gap:13px}#brand b{font-size:22px;letter-spacing:2px}#brand>span:last-child{font-size:11px;letter-spacing:2px;border-left:1px solid #4e6971;padding-left:15px;color:#9bb7c0}.brand-icon{background:#bcdb72;color:#24483e;font-size:25px;display:grid;place-items:center;width:34px;height:34px;clip-path:polygon(22% 0,78% 0,100% 22%,100% 78%,78% 100%,22% 100%,0 78%,0 22%)}.top-actions{display:flex;align-items:center;gap:9px;color:#8daab4;font-size:12px}.status-dot,.ready i,.server-pill i,footer i{display:inline-block;width:6px;height:6px;border-radius:100%;background:#82db9c;box-shadow:0 0 9px #82db9c66}.top-actions button{margin-left:25px;background:none;font-size:12px;color:#c4d9de}kbd{display:inline-block;min-width:20px;line-height:20px;text-align:center;border:1px solid #5b767c;border-bottom-width:2px;border-radius:3px;background:#193039;color:#c3d6d6;font-family:inherit;font-size:11px;margin:0 2px}#viewport{width:calc(100% - 48px);max-width:1440px;aspect-ratio:16/9;margin:0 auto;position:relative;border:1px solid #597a83;box-shadow:0 24px 80px #0008,0 0 0 5px #172d37,0 0 0 6px #3d5861;border-radius:7px;overflow:hidden}#game{position:absolute;width:1280px;height:720px;left:0;top:0;transform-origin:top left;overflow:hidden;background:#9cd5d8}#cityView{width:1280px;height:720px;position:relative;background:linear-gradient(#60b9d3,#b7e3e6 60%,#388999)}#island{position:absolute;left:125px;top:40px;width:1030px;height:640px}.city-bg{width:1030px;height:640px;object-fit:cover}.building{position:absolute;background:none;padding:0;transform-origin:50% 75%;filter:drop-shadow(0 5px 4px #173b4733);transition:filter .2s,transform .2s}.building:hover{transform:translateY(-7px)!important;filter:drop-shadow(0 0 15px #7ff8f3)!important;z-index:4}.building>img{width:100%;height:100%;object-fit:contain;pointer-events:none}.building .building-label{position:absolute;left:50%;bottom:31%;transform:translateX(-50%);white-space:nowrap;font-size:19px;font-weight:900;text-shadow:2px 2px #183e44,-1px -1px #183e44,0 3px 3px #10303e;color:#fafff1;letter-spacing:2px}.building .building-label small{display:block;color:#d8fe9c;font-size:9px;letter-spacing:1px;padding-top:3px}.building .building-tag{position:absolute;left:50%;bottom:calc(31% - 26px);transform:translateX(-50%);white-space:nowrap;font-size:10px;background:#143e48d9;padding:3px 8px;border:1px solid #93cc8a;border-radius:3px;color:#ccedb4}.game-top{position:absolute;top:0;left:0;width:100%;height:73px;display:flex;gap:16px;align-items:center;background:linear-gradient(#103845f5,#103845c9 80%,#10384500);padding:10px 20px;z-index:8}.commander{background:linear-gradient(115deg,#254f5b,#163543);display:flex;align-items:center;text-align:left;border:1px solid #608e97;position:relative;width:244px;padding:4px 10px 4px 4px;gap:11px;clip-path:polygon(0 0,94% 0,100% 25%,100% 100%,6% 100%,0 75%)}.avatar{height:44px;width:45px;display:grid;place-items:center;background:linear-gradient(#ccdfa0,#739665);font-size:32px;color:#2e5c54;text-shadow:0 1px #fff}.commander strong{font-size:14px;display:block}.commander span{font-size:10px;color:#a8c1c3}.commander em{font-style:normal;background:#d7da8a;color:#344833;padding:2px 6px;font-size:11px;margin-left:auto;align-self:start}.xpbar{width:128px;background:#0e2831;height:3px;margin-top:4px}.xpbar i{display:block;height:100%;width:0;background:#c4df78}.wallet{height:36px;padding:4px 12px 4px 7px;display:flex;align-items:center;gap:8px;background:#0a283ab5;border:1px solid #47717c;border-radius:5px;font-size:14px}.wallet b{min-width:56px}.wallet small{font-size:10px;color:#89aeb5}.wallet button{background:#567c63;color:#deedac;border:1px solid #8fa568;height:23px;width:23px;font-size:19px;line-height:19px;border-radius:3px}.coin{color:#f1d374;font-size:28px;text-shadow:1px 2px #8c6b38}.gem{color:#7be9ec;font-size:24px;text-shadow:1px 2px #297b9c}.server-pill{font-size:11px;color:#b1cfd4;margin-left:auto;margin-right:10px}.server-pill i{margin-right:8px}.square{height:32px;width:32px;background:#234b59;border:1px solid #5d8792;border-radius:5px;font-size:17px}.activities{position:absolute;left:282px;top:81px;display:flex;gap:22px;z-index:5}.activities button{display:flex;flex-direction:column;align-items:center;background:none;position:relative}.activities button>span{font-size:33px;filter:drop-shadow(0 3px 2px #284b59)}.activities b{font-size:11px;text-shadow:0 2px 2px #000;padding-top:3px}.activities i{position:absolute;top:0;right:5px;background:#ed634d;border:2px solid #fff3;width:8px;height:8px;border-radius:100%}.deploy-card{position:absolute;width:230px;right:24px;top:137px;background:linear-gradient(145deg,#183f4aef,#0d2938f2);border:1px solid #7a9c9a;padding:20px 18px 12px;box-shadow:0 12px 20px #123c4e44;clip-path:polygon(0 0,90% 0,100% 7%,100% 100%,0 100%)}.tiny-label{font-size:9px;letter-spacing:1.5px;color:#b2d5c4}.deploy-card>img{height:113px;width:190px;object-fit:contain;margin:15px 0 8px;filter:drop-shadow(0 10px 5px #0005)}.deploy-name{display:flex;align-items:center;justify-content:space-between}.deploy-name strong{font-size:18px;letter-spacing:1px}.deploy-name>span{font-size:12px;color:#d6e79b}.deploy-stats{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8eabb4;margin-top:12px;border-bottom:1px solid #64828a5c;padding-bottom:15px}.deploy-stats b{font-size:15px;color:#d5eaae;padding-left:4px}.ready{font-size:9px;color:#93c8b1}.ready i{margin-right:5px;width:4px;height:4px}.primary{background:linear-gradient(#dae991,#95b950);border:1px solid #e5edab;box-shadow:inset 0 0 0 2px #b6d569,0 3px #3f622e;color:#23452e;font-weight:900;font-size:16px;letter-spacing:2px;height:43px;border-radius:3px;padding:0 24px}.deploy-card>.primary{width:100%;margin-top:17px;display:flex;justify-content:space-between;align-items:center}.subtle{background:none;color:#9abfc4;font-size:11px;padding:12px 0 0;width:100%}.city-notice{position:absolute;bottom:95px;left:24px;display:flex;gap:12px;align-items:center;width:280px;padding:14px 16px;background:#123745e8;border:1px solid #6a99a27a;border-left:3px solid #b5da83;border-radius:4px}.city-notice>span{font-size:24px}.city-notice strong{font-size:11px;letter-spacing:2px;color:#d9ebc0}.city-notice p{font-size:10px;line-height:1.7;color:#a5c6cb;margin:6px 0 0}.game-nav{position:absolute;bottom:0;left:0;width:100%;height:73px;background:linear-gradient(#173c49e0,#0a2531);border-top:2px solid #87b7b3;display:flex;align-items:stretch;justify-content:center;padding:0 16px;gap:4px;z-index:7;box-shadow:0 -5px 22px #124d5a55}.game-nav button{min-width:138px;border:0;border-right:1px solid #466875;display:flex;gap:4px;flex-direction:column;justify-content:center;align-items:center;color:#bcdadd;font-size:13px;font-weight:bold;background:linear-gradient(#234f5c66,#122b3766);letter-spacing:2px}.game-nav button>span{font-size:25px;color:#c0d9ae;height:30px}.game-nav button:hover{background:linear-gradient(#3e7282,#214751)}footer{max-width:1450px;padding:22px 20px 16px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:15px;color:#78939e;font-size:10px}footer i{width:4px;height:4px;margin-right:6px}footer button{background:none;color:#9db6bc;font-size:10px}#modalLayer{position:absolute;inset:0;z-index:20;display:grid;place-items:center}#modalLayer[hidden],section[hidden]{display:none!important}.modal-backdrop{position:absolute;inset:0;background:#071e30b5;backdrop-filter:blur(4px)}.panel{position:relative;width:950px;max-height:620px;background:linear-gradient(130deg,#194550f8,#102d3cfb);border:1px solid #99bcbc;box-shadow:0 0 0 4px #244b57,0 0 0 5px #64848e,0 30px 90px #0008;clip-path:polygon(0 0,97% 0,100% 5%,100% 100%,3% 100%,0 95%);padding:0 30px 28px}.panel-top{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #69969a77;margin-bottom:22px}.panel-top small{font-size:9px;letter-spacing:3px;color:#87bcb9}.panel-top h1{font-size:24px;letter-spacing:4px;margin:4px 0 0;font-weight:700}.close{font-size:30px;background:#1f4a58;border:1px solid #729a9d;border-radius:3px;width:34px;height:34px;line-height:25px;color:#c9dedc}#panelContent{overflow:auto;max-height:465px;padding:0 2px 5px;scrollbar-width:thin;scrollbar-color:#537f87 #163b46}.panel-intro{font-size:12px;color:#a4c1c7;margin:0 0 20px;line-height:1.7}.panel-intro b{color:#dbeda3}.level-map{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.level-card{background:linear-gradient(140deg,#315762,#173d49);border:1px solid #638d91;border-radius:5px;overflow:hidden;position:relative;text-align:left;padding:0}.level-card.locked{opacity:.5}.level-art{height:88px;position:relative;overflow:hidden;background:linear-gradient(25deg,#446d58,#a8b78a)}.level-art:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 42px,#d4d3ad20 43px 44px),repeating-linear-gradient(0deg,transparent 0 42px,#d4d3ad20 43px 44px);transform:rotate(-12deg) scale(1.5)}.level-art:after{content:"";position:absolute;left:38%;top:15%;width:32px;height:60px;background:#7e8a56;border-left:9px solid #31483c;border-right:9px solid #31483c;transform:rotate(30deg);box-shadow:40px 18px 0 -5px #2f5146,-60px 3px 0 -3px #c0ac77}.level-card:nth-child(2) .level-art{background:linear-gradient(25deg,#7c897c,#bdc6b1)}.level-card:nth-child(3) .level-art{background:linear-gradient(25deg,#675b44,#c0ad7e)}.level-card:nth-child(4) .level-art{background:linear-gradient(25deg,#273f4e,#677b8d)}.level-card:nth-child(5) .level-art{background:linear-gradient(25deg,#485a3d,#95b598)}.level-card:nth-child(6) .level-art{background:linear-gradient(25deg,#48393d,#b18360)}.level-art .level-number{position:absolute;left:12px;top:8px;font-size:30px;font-weight:900;color:#f5f6d9;z-index:1}.level-art .stars{position:absolute;right:11px;bottom:8px;z-index:1;font-size:17px;color:#f2d585;letter-spacing:2px}.level-card-text{padding:13px 13px 12px}.level-card-text strong{font-size:15px}.level-card-text p{font-size:10px;color:#96b4bb;margin:6px 0 10px}.card-bottom{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#d6df9c}.card-bottom b{color:#cde5d9;background:#4c6f60;padding:4px 8px;border-radius:3px}.garage-layout{display:grid;grid-template-columns:190px 1fr 215px;gap:22px}.tank-list{display:flex;flex-direction:column;gap:7px}.tank-option{display:flex;align-items:center;text-align:left;gap:8px;padding:7px;background:#143744;border:1px solid #527481;border-radius:3px;height:58px}.tank-option.selected{background:#3b6059;border-color:#c5da83;box-shadow:inset 3px 0 #d5e895}.tank-option img{width:65px;height:45px;object-fit:contain}.tank-option strong{display:block;font-size:12px}.tank-option small{font-size:9px;color:#a2bbbd}.garage-stage{text-align:center;display:flex;flex-direction:column;align-items:center}.garage-stage .tank-hero{width:290px;height:207px;object-fit:contain;filter:drop-shadow(0 14px 7px #0006);margin-top:20px}.platform{width:235px;height:40px;border:1px solid #86c9b5;border-radius:50%;background:radial-gradient(#8cdbba44,#3a686522,#071f30);transform:translateY(-25px);box-shadow:0 0 30px #71c8ac22}.tank-title{font-size:21px;margin:0 0 8px;color:#dfedb6;letter-spacing:3px}.garage-stage>p{font-size:11px;color:#95b6bc;line-height:1.8;margin:0}.tank-rarity{font-size:9px;color:#a8d7c1;letter-spacing:3px;margin:10px}.stat-label{display:flex;justify-content:space-between;font-size:11px;margin-bottom:7px;color:#a5c4c7}.stat-label b{color:#e2eab1}.stat-bar{height:5px;background:#0a2937;margin-bottom:20px}.stat-bar i{display:block;height:100%;background:linear-gradient(90deg,#3d9583,#c7df88)}.stat-title{margin:5px 0 21px;font-size:13px;letter-spacing:2px}.secondary{background:linear-gradient(#467887,#28545f);border:1px solid #6d9b9f;padding:9px 16px;border-radius:3px;color:#d7eeed;font-size:12px}.garage-stats .primary,.garage-stats .secondary{width:100%;margin-top:8px}.price{font-size:10px;color:#c7dc9b;text-align:center;margin:8px 0 2px}.shop-grid,.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.shop-item,.info-card{background:#0e2e3b99;border:1px solid #547d85;border-radius:5px;padding:20px;text-align:center}.shop-item .item-icon{font-size:40px;margin:10px 0 20px;display:block}.shop-item h3,.info-card h3{font-size:15px;margin:10px 0}.shop-item p,.info-card p{color:#9cbdc4;font-size:11px;line-height:1.9}.shop-item button{width:100%;margin-top:12px}.inventory-count{font-size:24px;color:#d3e7a4;display:block;margin:10px}.task-row{display:flex;align-items:center;gap:15px;background:#123441;border:1px solid #4c747f;padding:17px;margin-bottom:10px;border-radius:4px}.task-icon{font-size:24px;background:#2b5358;padding:10px;border-radius:5px}.task-detail{flex:1}.task-detail strong{font-size:13px}.task-detail p{font-size:10px;color:#99b7bd;margin:7px 0 0}.task-row .reward{font-size:11px;color:#dbe5a0;margin:0 10px}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.mode-card{padding:26px;border:1px solid #547b80;background:linear-gradient(150deg,#244f5c,#173441);border-radius:5px}.mode-card h2{font-size:20px;color:#d4e8ad;margin:0 0 10px}.mode-card p{font-size:12px;color:#a4c3c8;line-height:1.9;margin:0 0 25px}.mode-card>span{color:#7daab3;font-size:10px;display:block;letter-spacing:2px;margin-bottom:15px}.mode-card .primary{width:100%;font-size:14px}.settings-row{display:flex;align-items:center;justify-content:space-between;padding:21px 10px;border-bottom:1px solid #50798277}.settings-row strong{display:block;font-size:14px}.settings-row p{font-size:11px;color:#9cbac1;margin:7px 0 0}.toggle{background:#436e62;border:1px solid #96bf91;border-radius:4px;padding:8px 20px;font-size:12px}.guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.guide-row{background:#11303f;padding:14px;border:1px solid #436873;display:flex;align-items:center;gap:15px;font-size:12px;color:#a8c6cc}.guide-row b{color:#e1edc5}.guide-row>span:first-child{font-size:18px;min-width:75px}.result{text-align:center;padding:4px 0 12px}.result .result-symbol{font-size:65px;color:#d7df95;text-shadow:0 0 40px #bfe88555}.result h2{font-size:31px;letter-spacing:8px;margin:10px 0;color:#dfedaf}.result>p{font-size:12px;color:#9cbdc4}.result-stats{display:flex;justify-content:center;gap:60px;margin:30px 0}.result-stats b{display:block;color:#d2e2b9;font-size:27px}.result-stats span{font-size:11px;color:#94b5bc}.result-buttons{display:flex;justify-content:center;gap:15px}.result-buttons button{min-width:170px}.pause-content{text-align:center;padding:25px}.pause-content h2{letter-spacing:4px;font-size:25px;color:#dae9bd}.pause-content p{font-size:12px;color:#a6c1c7}.pause-content button{margin:20px 10px}#toast{position:absolute;top:93px;left:50%;transform:translateX(-50%) translateY(-8px);z-index:40;pointer-events:none;opacity:0;background:#102e3bf2;border:1px solid #b1d291;color:#e1eabf;padding:13px 25px;border-radius:4px;font-size:13px;box-shadow:0 8px 20px #0004;transition:.2s}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}#battleView,#battleCanvas{position:absolute;inset:0;width:1280px;height:720px}#battleCanvas{outline:none;cursor:none}.battle-top{pointer-events:none;position:absolute;left:0;right:0;top:0;height:78px;background:linear-gradient(#092737fa,#102e4299,#102e4200);display:flex;align-items:start;justify-content:space-between;padding:15px 22px}.battle-player{display:flex;gap:10px;align-items:center}.battle-player img{width:62px;height:45px;object-fit:contain;background:#183b4ac7;border:1px solid #608c99;border-radius:5px}.battle-player strong{font-size:11px;letter-spacing:1px}.hp-track{width:190px;height:17px;background:#112633;border:1px solid #648b91;border-radius:2px;position:relative;margin-top:6px;overflow:hidden}.hp-track i{height:100%;display:block;width:100%;background:linear-gradient(#b2d66d,#64a855);transition:width .1s}.hp-track span{position:absolute;inset:0;text-align:center;font-size:10px;line-height:15px;text-shadow:0 1px #234}.mission{text-align:center;background:#133849d9;border:1px solid #5d8c98;padding:8px 28px;border-radius:4px;min-width:245px}.mission strong{font-size:14px;color:#e4edbc;display:block;letter-spacing:3px}.mission span{font-size:10px;color:#a2c1c8}.battle-counts{display:flex;gap:15px;align-items:center;font-size:12px}.battle-counts>b{font-size:21px;letter-spacing:2px}.battle-counts span{color:#c4d9cc;font-size:11px}.battle-counts button{pointer-events:auto;background:#234b5add;border:1px solid #719295;width:32px;height:32px;border-radius:3px}.battle-bottom{pointer-events:none;position:absolute;bottom:0;left:0;right:0;height:95px;background:linear-gradient(#102a3700,#092435f7);display:flex;align-items:end;justify-content:space-between;padding:0 23px 15px}.battle-keys{display:flex;gap:17px;font-size:9px;color:#abc3c3;line-height:2;min-width:248px}.battle-keys>span:first-child{text-align:center}.battle-keys kbd{font-size:9px;min-width:16px;line-height:14px;margin:1px}.battle-side{text-align:right;width:200px;padding:10px}.battle-side span{display:block;font-size:11px;color:#aac9c8}.battle-side b{font-size:20px;letter-spacing:2px;color:#dbe4ac;display:block;padding-top:7px}#skills{display:flex;gap:8px;pointer-events:auto}.skill{width:58px;height:62px;background:linear-gradient(#235163ee,#153543);border:1px solid #6a9b9d;border-radius:5px;position:relative;padding:3px 0 0;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 3px #0b202b}.skill:first-child{width:76px;border-color:#bbcf91;background:linear-gradient(#507256ee,#284c46)}.skill>span{font-size:22px;display:block;line-height:26px}.skill small{font-size:8px;color:#b9d4cc}.skill kbd{position:absolute;top:-10px;left:50%;transform:translateX(-50%);background:#192f3a;font-size:8px;min-width:18px;line-height:14px;border:1px solid #76969a;margin:0}.skill .cooldown{position:absolute;inset:0;display:none;place-items:center;background:#0a1e2dd9;border-radius:4px;font-size:20px;color:#b2c6c7}.skill.cooling .cooldown{display:grid}.skill.cooling{border-color:#496572}#waveMessage{position:absolute;top:29%;left:0;right:0;text-align:center;color:#fff2b9;font-size:28px;letter-spacing:8px;font-weight:900;text-shadow:0 2px 5px #000;pointer-events:none}#waveMessage:empty{display:none}.pause-small{font-size:11px;color:#a1c2c7}.warning{color:#efb390!important}#game:fullscreen{transform:none!important;width:100vw;height:100vh}@media(max-width:800px){.page-top{height:58px;padding:0 18px}#brand b{font-size:16px}#brand>span:last-child,.top-actions>span,.top-actions>i{display:none}.top-actions button{margin-left:0;font-size:10px}#viewport{width:calc(100% - 20px);border-radius:4px}footer{padding:18px 13px;font-size:8px;flex-wrap:wrap}footer>span:nth-child(2){display:none}footer button{font-size:8px}.brand-icon{width:27px;height:27px;font-size:22px}}
#island{left:55px}.level-card:focus-visible{outline-offset:-4px}.skill>img{width:32px;height:32px;object-fit:contain;border-radius:3px;margin-bottom:1px}

.skill.aiming{border-color:#86fff6;box-shadow:0 0 13px #59e9ee,inset 0 0 9px #59e9ee}.skill.rage-ready{border-color:#ffdc71;box-shadow:0 0 12px #ffc951aa}.skill.rage-locked .cooldown{font-size:17px;background:linear-gradient(to top,#227b98bb var(--rage-fill),#081622dd var(--rage-fill))}

#battleBuffs{font-size:11px;color:#83eeff;margin-top:5px;text-shadow:0 1px 3px #001b2d;white-space:nowrap}#battleBuffs:empty{display:none}

.pilot-grid{grid-template-columns:.9fr 1.25fr 1.25fr .9fr}.pilot-grid .mode-card{display:flex;flex-direction:column;gap:2px;padding:20px}.pilot-grid .mode-card button{margin-top:auto}.pilot-grid .mode-card p{margin:6px 0}
.pilot-new{border-color:#b49bff;background:linear-gradient(150deg,#2f2a6e,#16143a);box-shadow:0 0 18px #7a5cff44}.pilot-new h2{color:#f1cf6b}.pilot-new small{color:#cdb8ff}.pilot-preview{width:120px;height:96px;align-self:center}img.pilot-preview{object-fit:contain}
.pilot-yanshi{border-color:#e0646e;background:linear-gradient(150deg,#5a1822,#1d0a10);box-shadow:0 0 18px #c8283a44}.pilot-yanshi h2{color:#f0c75e}.pilot-yanshi small{color:#ffc2c8}.pilot-yanshi .pilot-skills{color:#ffe0e3}
.pilot-skills{margin:4px 0;padding-left:18px;font-size:13px;line-height:1.6;color:#dcd2ff}.pilot-skills b{color:#ffe7a3}
#modalLayer:has(.pilot-grid){z-index:60}
.pilot-grid.pve-pilot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.pilot-levels{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0 2px}.pilot-level{min-width:30px;padding:3px 6px;border:1px solid #7d68c8;border-radius:4px;background:#1d1848;color:#cdbdff;font-size:12px;cursor:pointer}.pilot-level.active{background:linear-gradient(#ecd07c,#b98a35);color:#2a1d08;border-color:#f1d68f;font-weight:900}.pilot-stats{font-size:12px;color:#ffe7a3;margin:2px 0 4px!important}

/* Phone controls (touch-controls.js), stage coordinates. */
.touch-layer{position:absolute;inset:0;pointer-events:none;z-index:30;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.touch-layer>*{pointer-events:auto}.touch-layer[hidden]{display:none!important}.touch-layer img{pointer-events:none;-webkit-user-drag:none}#battleView.touch-mode,#battleView.touch-mode #battleCanvas{touch-action:none}
.touch-stick-zone{position:absolute;left:0;top:300px;width:560px;height:420px;touch-action:none}
.touch-stick{position:absolute;width:150px;height:150px;margin:-75px 0 0 -75px;border-radius:50%;border:3px solid #6fd3ff80;background:radial-gradient(#0a2a3a66,#0a2a3a22);box-shadow:inset 0 0 18px #3ac0ff44;opacity:.75}
.touch-stick.active{border-color:#9fe8ff;opacity:1}
.touch-stick-knob{position:absolute;left:50%;top:50%;width:66px;height:66px;margin:-33px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#c8f3ff,#2a8fc0 60%,#0c4a6a);box-shadow:0 0 14px #5fd0ffaa}
.touch-attack{position:absolute;left:1088px;top:540px;width:130px;height:130px;border-radius:50%;border:4px solid #ffd27a;background:radial-gradient(circle at 40% 35%,#ffb070,#d0461f 68%,#7a1f0c);box-shadow:0 0 18px #ff9a5a66;touch-action:none;padding:0}
.touch-attack.pressed{transform:scale(.92);filter:brightness(1.25)}
.touch-attack-icon{position:absolute;left:50%;top:50%;width:54px;height:54px;margin:-27px;border:5px solid #fff4dc;border-radius:50%}
.touch-attack-icon::before,.touch-attack-icon::after{content:'';position:absolute;background:#fff4dc;left:50%;top:50%}
.touch-attack-icon::before{width:5px;height:74px;margin:-37px 0 0 -2.5px}.touch-attack-icon::after{width:74px;height:5px;margin:-2.5px 0 0 -37px}
.touch-skill{position:absolute;width:88px;height:88px;border-radius:50%;border:3px solid #7fd8ff;padding:0;overflow:hidden;background:#0b2533;touch-action:none;box-shadow:0 0 10px #000a}
.touch-skill-cancel{position:absolute;left:820px;top:605px;width:138px;height:64px;border:2px dashed #ff8c8c;border-radius:12px;background:#501d2bcc;color:#ffd5d5;font:900 15px "Microsoft YaHei",sans-serif;opacity:.9;touch-action:none}
.touch-skill-cancel.active{background:#b52f3dcc;border-color:#fff;color:#fff;box-shadow:0 0 18px #ff5a6a}
.touch-skill-e{left:972px;top:598px}.touch-skill-space{left:990px;top:466px}.touch-skill-f{left:1118px;top:414px;width:80px;height:80px}
.touch-skill-icon{width:100%;height:100%;object-fit:cover;display:block}
.touch-skill-cd{position:absolute;inset:0;border-radius:50%;background:conic-gradient(#000b var(--left,0deg),transparent 0)}
.touch-skill.followup{border-color:#ffe08a;box-shadow:0 0 18px #ffd56a}
.touch-skill.aiming{border-color:#fff;transform:scale(1.12)}.touch-skill.cancel{border-color:#ff6b6b;filter:grayscale(.6)}
.touch-skill-key{position:absolute;bottom:5px;left:0;right:0;text-align:center;font:900 15px "Microsoft YaHei",sans-serif;color:#fff;text-shadow:0 0 3px #000,0 0 3px #000}
.touch-auto{position:absolute;left:1112px;top:350px;width:150px;height:44px;border-radius:8px;border:2px solid #6fd3ff;background:linear-gradient(#1c4a5e,#0d2633);color:#a9ecff;font:900 17px "Microsoft YaHei",sans-serif;touch-action:manipulation}
.touch-auto.on{border-color:#7dffb0;color:#c9ffd9}
.touch-layer{--touch-size:1;--touch-opacity:.85;--touch-x:0px;--touch-y:0px}.touch-layer .touch-skill,.touch-layer .touch-attack{scale:var(--touch-size);translate:var(--touch-x) var(--touch-y);opacity:var(--touch-opacity)}.touch-layer .touch-stick{scale:var(--touch-size);opacity:var(--touch-opacity)}
.touch-settings-toggle{position:absolute;right:18px;top:307px;padding:7px 12px;border:1px solid #73b6bc;border-radius:6px;background:#12343ee8;color:#d6fff2;font:13px Microsoft YaHei;pointer-events:auto}.touch-settings{position:absolute;right:230px;top:190px;width:340px;padding:14px;background:#081e2af5;border:1px solid #79b5b1;border-radius:9px;color:#e0fff5;pointer-events:auto;z-index:80;font:14px Microsoft YaHei}.touch-settings[hidden]{display:none}.touch-settings label{display:flex;align-items:center;gap:8px;margin:12px 0}.touch-settings label span{width:112px}.touch-settings input{width:140px}.touch-settings output{width:35px;text-align:right}.touch-settings button{padding:7px 18px;background:#204a51;color:#e0fff5;border:1px solid #75a99f;border-radius:5px;margin-right:10px}
#battleView.touch-mode #skills,#battleView.touch-mode .city-chat{display:none}

/* Holding the fire button and dragging must not select HUD text (it shows as blue boxes). Typing and chat stay selectable. */
#battleView{user-select:none;-webkit-user-select:none}
#battleView input,#battleView textarea,#battleView [contenteditable="true"]{user-select:text;-webkit-user-select:text}

/* Game UI selection policy: preserve editable text entry while preventing drag highlights. */
html,body,#game,#game *,#battleView,#battleView *{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
#game input,#game textarea,#game [contenteditable="true"],#battleView input,#battleView textarea,#battleView [contenteditable="true"]{user-select:text;-webkit-user-select:text;-webkit-touch-callout:default}
#game img,#battleView img{-webkit-user-drag:none;user-drag:none}

/* ===== 主城高级化（2026-11 视觉升级：仅覆盖质感，不改布局与钩子） ===== */
.panel{background:linear-gradient(155deg,#1e5768f9,#0e2c3efb 55%,#0a2033fc);border-color:#c3ddd2;box-shadow:0 0 0 4px #1b4150,0 0 0 5px #86aca2,0 34px 90px #000a,inset 0 1px 0 #ffffff30,inset 0 0 42px #0a2438}
.panel-top{border-bottom:1px solid #8fb8a866}
.panel-top small{color:#b7dcb0;letter-spacing:4px}
.panel-top h1{color:#f4ecc0;text-shadow:0 2px 10px #0009,0 0 22px #d8c98a33}
.close{background:linear-gradient(#2c5d6d,#17394a);border-color:#8fb0ac;border-radius:5px;box-shadow:inset 0 1px 0 #ffffff2b,0 3px 8px #0006;color:#e6f2e4}
.primary{background:linear-gradient(#e9f29c,#a9c95e 55%,#87ab47);border-color:#f0f5b8;box-shadow:inset 0 1px 0 #ffffff75,inset 0 0 0 2px #c4dc76,0 5px 14px #14290f59,0 3px #3f622e;text-shadow:0 1px 0 #eef7c4}
.secondary{background:linear-gradient(#527f8f,#2a5563);border-color:#84adb0;box-shadow:inset 0 1px 0 #ffffff2e,0 3px 8px #0005}
.level-card,.shop-item,.info-card,.mode-card{background:linear-gradient(150deg,#35606d,#15333f);border-color:#7ba3a3;border-radius:7px;box-shadow:inset 0 1px 0 #ffffff22,0 8px 18px #04141f40}
.level-card:hover,.tank-option:hover,.shop-item:hover,.task-row:hover{border-color:#d8c98a}
.tank-option{background:linear-gradient(#1a4152,#122e3d);border-color:#5f8894;border-radius:5px;box-shadow:inset 0 1px 0 #ffffff1f}
.tank-option.selected{background:linear-gradient(#46685c,#2a4a41);border-color:#e3ef9f;box-shadow:inset 3px 0 #e3ef9f,inset 0 1px 0 #ffffff2b,0 0 14px #c4dc7640}
.task-row{background:linear-gradient(#17394a,#102a38);border-color:#5b8791;border-radius:6px;box-shadow:inset 0 1px 0 #ffffff1c}
.stat-bar{border-radius:3px;box-shadow:inset 0 1px 2px #0009}
.stat-bar i{background:linear-gradient(90deg,#3d9583,#d3e58c);border-radius:3px}
.toggle{box-shadow:inset 0 1px 0 #ffffff2b}
.guide-row{border-radius:5px;background:linear-gradient(#143342,#102a38)}
#toast{background:linear-gradient(#173d4df5,#0d2838f5);border:1px solid #d8c98a;color:#f2ecc8;border-radius:6px;box-shadow:0 12px 28px #0008,inset 0 1px 0 #ffffff2b;letter-spacing:1px}
#panelContent{scrollbar-color:#6f9a94 #122f3d}
.result h2{text-shadow:0 0 34px #cfe88566}
/* 战备背包页半透明（第十轮 UI）：只动背包页的面板与卡片背景，文字与图标保持不透明；其余主城页面不受影响 */
.panel[data-screen="bag"]{background:linear-gradient(155deg,#1e5768b3,#0e2c3ec2 55%,#0a2033cc)}
.panel[data-screen="bag"] .info-card{background:linear-gradient(150deg,#35606da6,#15333fc2)}

/* Round38: background surfaces only; original native windows keep their art. */
.panel:not([data-screen="bag"]){background:#1e353d url('assets/backgrounds/matte-cloth.png') repeat;box-shadow:0 0 0 4px #1b4150,0 0 0 5px #86aca2,0 24px 60px #0008}
.pilot-grid .mode-card,.mode-grid .mode-card{background:#293d42 url('assets/backgrounds/matte-cloth.png') repeat;background-blend-mode:soft-light;box-shadow:inset 0 0 0 1px #81918233}
.pilot-grid .pilot-new{background-color:#35334f}.pilot-grid .pilot-yanshi{background-color:#4b3036}
