#loading{z-index:99999;-webkit-user-select:none;user-select:none;pointer-events:auto;opacity:1;visibility:visible;background:radial-gradient(circle,#151e33 0%,#0c1221 50%,#050811 100%);flex-direction:column;justify-content:center;align-items:center;transition:opacity .65s cubic-bezier(.4,0,.2,1),visibility .65s;display:flex;position:fixed;top:0;bottom:0;left:0;right:0;overflow:hidden}#loading.loading-done{opacity:0;visibility:hidden;pointer-events:none}#loading.loading-done,#loading.loading-done *{animation:none!important}#loading.loading-done .loading-stage{filter:brightness(1.35)drop-shadow(0 0 30px #ffaa28cc);transition:transform .5s ease-out,filter .5s ease-out;transform:scale(1.12)}.loading-stage{flex-direction:column;justify-content:center;align-items:center;width:280px;height:240px;transition:transform .3s,filter .3s;display:flex;position:relative}.loading-ambient-glow{filter:blur(8px);pointer-events:none;background:radial-gradient(circle,#ff8c1447 0%,#ff50001f 40%,#ff320005 65%,#0000 80%);border-radius:50%;width:260px;height:260px;animation:2.4s ease-in-out infinite alternate flame-glow-pulse;position:absolute;top:50%;left:50%;transform:translate(-50%,-55%)}@keyframes flame-glow-pulse{0%{opacity:.75;transform:translate(-50%,-55%)scale(.92)}50%{opacity:1;transform:translate(-50%,-55%)scale(1.06)}to{opacity:.85;transform:translate(-50%,-55%)scale(.98)}}.loading-ripple-ring{pointer-events:none;border:1.5px solid #ffaa3273;border-radius:50%;width:90px;height:26px;animation:2.2s cubic-bezier(.1,.7,.4,1) infinite ground-ripple;position:absolute;bottom:28px;left:50%;transform:translate(-50%);box-shadow:0 0 12px #ff820052}.loading-ripple-ring:nth-child(2){animation-delay:1.1s}@keyframes ground-ripple{0%{opacity:.75;width:56px;height:16px;transform:translate(-50%)translateY(0)}to{opacity:0;width:150px;height:38px;transform:translate(-50%)translateY(4px)}}.loading-campfire-svg{z-index:2;filter:drop-shadow(0 8px 18px #000000b3)drop-shadow(0 0 25px #ff780073);width:160px;height:160px;position:relative}.flame-layer-outer{transform-origin:50% 82%;animation:1.6s ease-in-out infinite alternate flame-dance-outer}.flame-layer-mid{transform-origin:50% 82%;animation:1.2s ease-in-out infinite alternate-reverse flame-dance-mid}.flame-layer-core{transform-origin:50% 82%;animation:.8s ease-in-out infinite alternate flame-dance-core}.flame-tip-sparkle{transform-origin:50% 30%;animation:1s ease-in-out infinite alternate flame-sparkle}@keyframes flame-dance-outer{0%{transform:scale(1)skew(-1.5deg)}25%{transform:scale(1.04,.96)skew(2deg)}50%{transform:scale(.97,1.05)skew(-2deg)}75%{transform:scale(1.03,.98)skew(1deg)}to{transform:scale(.99,1.03)skew(-1deg)}}@keyframes flame-dance-mid{0%{transform:scale(1)skew(2deg)}33%{transform:scale(.95,1.06)skew(-2.5deg)}66%{transform:scale(1.06,.95)skew(1.5deg)}to{transform:scale(.98,1.02)skew(-1.5deg)}}@keyframes flame-dance-core{0%{opacity:.92;transform:scale(1)}50%{opacity:1;transform:scale(1.08,1.1)translateY(-1px)}to{opacity:.88;transform:scale(.94,.96)}}@keyframes flame-sparkle{0%{opacity:.6;transform:scale(.9)translateY(0)}50%{opacity:1;transform:scale(1.15)translateY(-2px)}to{opacity:.5;transform:scale(.85)translateY(1px)}}.loading-embers-field{pointer-events:none;z-index:3;position:absolute;top:0;bottom:0;left:0;right:0}.ember{pointer-events:none;opacity:0;--spawn-x:0px;--spawn-y:0px;background:#ffe57f;border-radius:50%;animation:linear infinite ember-rise;position:absolute;bottom:98px;left:50%;box-shadow:0 0 6px #ffab00,0 0 12px #ff3d00}.ember-1{--spawn-x:-14px;--spawn-y:4px;--drift-x:-24px;--drift-x2:-38px;width:4px;height:4px;animation-duration:2.2s;animation-delay:.1s}.ember-2{--spawn-x:16px;--spawn-y:-2px;--drift-x:18px;--drift-x2:32px;width:3px;height:3px;animation-duration:2.6s;animation-delay:.5s}.ember-3{--spawn-x:-6px;--spawn-y:10px;--drift-x:-8px;--drift-x2:-16px;width:5px;height:5px;animation-duration:1.9s;animation-delay:.9s}.ember-4{--spawn-x:22px;--spawn-y:6px;--drift-x:28px;--drift-x2:46px;width:3.5px;height:3.5px;animation-duration:2.5s;animation-delay:1.4s}.ember-5{--spawn-x:-22px;--spawn-y:0px;--drift-x:-32px;--drift-x2:-48px;width:4.5px;height:4.5px;animation-duration:2.1s;animation-delay:1.8s}.ember-6{--spawn-x:8px;--spawn-y:14px;--drift-x:12px;--drift-x2:22px;width:2.5px;height:2.5px;animation-duration:2.8s;animation-delay:2.2s}.ember-7{--spawn-x:-18px;--spawn-y:8px;--drift-x:-16px;--drift-x2:-28px;width:4px;height:4px;animation-duration:2.3s;animation-delay:2.7s}.ember-8{--spawn-x:12px;--spawn-y:-6px;--drift-x:36px;--drift-x2:52px;width:3px;height:3px;animation-duration:2.7s;animation-delay:.7s}@keyframes ember-rise{0%{opacity:0;transform:translate(calc(-50% + var(--spawn-x)), var(--spawn-y)) scale(.6)}12%{opacity:1;transform:translate(calc(-50% + var(--spawn-x) + var(--drift-x) * .25), calc(var(--spawn-y) - 28px)) scale(1.1)}60%{opacity:.85;transform:translate(calc(-50% + var(--drift-x)), calc(var(--spawn-y) - 88px)) scale(.9)}to{opacity:0;transform:translate(calc(-50% + var(--drift-x2)), calc(var(--spawn-y) - 158px)) scale(.3)}}.loading-energy-track{background:#ffffff14;border-radius:99px;flex-shrink:0;width:110px;height:3px;margin-top:28px;position:relative;overflow:hidden;box-shadow:0 0 10px #0009}.loading-energy-beam{background:linear-gradient(90deg,#0000 0%,#ff6e00cc 30%,#ffdc64 70%,#0000 100%);border-radius:99px;width:70%;height:100%;animation:1.8s cubic-bezier(.4,0,.2,1) infinite energy-sweep;position:absolute;top:0;left:-100%;box-shadow:0 0 8px #f90}@keyframes energy-sweep{0%{left:-70%}to{left:100%}}html,body{width:100%;height:100%;touch-action:none;overscroll-behavior:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background:#0b1020;height:100dvh;margin:0;padding:0;font-family:Microsoft YaHei,PingFang SC,sans-serif;overflow:hidden}#app{width:100%;height:100%;height:100dvh;position:fixed;top:0;bottom:0;left:0;right:0;overflow:hidden}canvas{display:block}#panel{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#eef2f8;z-index:20;background:#121826db;border:1px solid #ffffff1a;border-radius:14px;flex-direction:column;width:300px;max-height:calc(100vh - 28px);transition:width .25s;display:flex;position:fixed;top:14px;right:14px;overflow:hidden;box-shadow:0 10px 40px #00000073}#panel.collapsed{width:52px}#panel.collapsed .pbody,#panel.collapsed .ptitle-txt,#panel.collapsed .pfoot{display:none}.phead{cursor:pointer;-webkit-user-select:none;user-select:none;background:linear-gradient(90deg,#ff881a33,#17b8fd1f);align-items:center;gap:8px;padding:12px 14px;display:flex}.ptitle-txt{letter-spacing:1px;flex:1;font-size:14px;font-weight:700}.ptoggle{color:#ffd9a8;background:#ffffff1a;border-radius:8px;justify-content:center;align-items:center;width:26px;height:26px;font-size:16px;display:flex}.pbody{padding:6px 14px 4px;overflow-y:auto}.pbody::-webkit-scrollbar{width:8px}.pbody::-webkit-scrollbar-thumb{background:#ffffff29;border-radius:8px}.sec{color:#ffcf9e;letter-spacing:1px;border-left:3px solid #ff881a;margin:10px 0 4px;padding-left:8px;font-size:12px;font-weight:700}.row{align-items:center;gap:8px;margin:7px 0;font-size:12px;display:flex}.row label{color:#c7d2e2;flex:0 0 78px}.row input[type=range]{accent-color:#ff881a;flex:1;height:4px}.row input[type=color]{cursor:pointer;background:0 0;border:none;border-radius:5px;width:34px;height:22px;padding:0}.row .val{text-align:right;color:#9fe0ff;font-variant-numeric:tabular-nums;flex:0 0 44px;font-size:11px}.pfoot{gap:8px;padding:10px 14px 14px;display:flex}.btn{cursor:pointer;color:#1a2233;border:none;border-radius:9px;flex:1;padding:9px 0;font-size:12px;font-weight:700;transition:filter .15s}.btn:hover{filter:brightness(1.12)}.btn.reset{background:linear-gradient(90deg,#ffd27a,#ff9d4d)}.btn.export{background:linear-gradient(90deg,#8fe3ff,#4db8ff)}#tip{z-index:20;color:#cdd6e6;background:#121826b8;border:1px solid #ffffff14;border-radius:20px;padding:6px 14px;font-size:11px;position:fixed;bottom:12px;left:50%;transform:translate(-50%)}#mapbar{z-index:20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#eef2f8;background:#121826db;border:1px solid #ffffff1a;border-radius:14px;align-items:center;gap:10px;padding:8px 12px;display:flex;position:fixed;top:14px;left:50%;transform:translate(-50%);box-shadow:0 10px 40px #00000073}.mapbar-title{color:#ffcf9e;letter-spacing:1px;font-size:12px;font-weight:700}.mapchips{gap:6px;display:flex}.mapchip{cursor:pointer;color:#dbe4f2;white-space:nowrap;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:8px;padding:6px 12px;font-size:12px;transition:all .15s}.mapchip:hover{background:#ffffff24}.mapchip.on{color:#1a2233;background:linear-gradient(90deg,#ff9d4d,#ff881a);border-color:#0000;font-weight:700}#toolbox{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#eef2f8;z-index:20;background:#121826db;border:1px solid #ffffff1a;border-radius:14px;flex-direction:column;width:210px;max-height:calc(100vh - 28px);transition:width .25s;display:flex;position:fixed;top:14px;left:14px;overflow:hidden;box-shadow:0 10px 40px #00000073}#toolbox.collapsed{width:52px}#toolbox.collapsed .pbody,#toolbox.collapsed .ptitle-txt{display:none}.toolgrid{grid-template-columns:1fr 1fr;gap:6px;margin:4px 0 8px;display:grid}.toolbtn{cursor:pointer;color:#dbe4f2;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:8px;padding:7px 4px;font-size:12px;transition:all .15s}.toolbtn:hover{background:#ffffff24}.toolbtn.on{color:#1a2233;background:linear-gradient(90deg,#ff9d4d,#ff881a);border-color:#0000;font-weight:700}#placeHint{z-index:25;color:#1a2233;background:#ff881aeb;border-radius:20px;padding:8px 18px;font-size:12px;font-weight:700;display:none;position:fixed;bottom:52px;left:50%;transform:translate(-50%)}#selPanel{z-index:25;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#eef2f8;background:#121826eb;border:1px solid #ffffff1f;border-radius:12px;align-items:center;gap:12px;padding:10px 16px;font-size:12px;display:none;position:fixed;bottom:12px;left:50%;transform:translate(-50%)}#selPanel .selname{color:#ffcf9e;min-width:52px;font-weight:700}#selPanel label{color:#c7d2e2;align-items:center;gap:6px;display:flex}#selPanel input[type=range]{accent-color:#ff881a;width:110px}#selPanel .val{color:#9fe0ff;font-variant-numeric:tabular-nums;min-width:38px}#selPanel button{cursor:pointer;color:#1a2233;border:none;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:700}#selDel{background:linear-gradient(90deg,#ff8f8f,#ff5d5d)}#selClose{color:#dbe4f2;background:#ffffff38}#parts-lab-panel{z-index:45;color:#e8eef6;background:#0c121ce6;border:1px solid #ffffff1f;border-radius:10px;flex-direction:column;gap:8px;width:240px;max-height:calc(100vh - 24px);padding:10px 10px 8px;font:12px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;display:flex;position:fixed;top:12px;right:12px;box-shadow:0 8px 28px #0006}#parts-lab-panel .plp-head{letter-spacing:.02em;font-weight:700}#parts-lab-panel .plp-sec{flex-direction:column;gap:6px;min-height:0;display:flex}#parts-lab-panel .plp-sec--grow{flex:1;min-height:120px}#parts-lab-panel .plp-label{color:#e8eef6b3;font-size:11px}#parts-lab-panel .plp-hint{opacity:.55;font-weight:400}#parts-lab-panel .plp-views{flex-wrap:wrap;gap:4px;display:flex}#parts-lab-panel .plp-chip{-webkit-appearance:none;appearance:none;color:#e8eef6;font:inherit;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff24;border-radius:999px;padding:3px 9px}#parts-lab-panel .plp-chip--on{background:#7dce6a47;border-color:#7dce6a8c}#parts-lab-panel .plp-models{flex-direction:column;gap:2px;max-height:min(48vh,420px);padding-right:2px;display:flex;overflow:auto}#parts-lab-panel .plp-model-row{align-items:center;gap:4px;min-width:0;display:flex}#parts-lab-panel .plp-model{cursor:grab;-webkit-user-select:none;user-select:none;text-overflow:ellipsis;white-space:nowrap;background:#ffffff0a;border-radius:6px;flex:1;min-width:0;padding:5px 8px;overflow:hidden}#parts-lab-panel .plp-model:hover{background:#ffffff1a}#parts-lab-panel .plp-open{-webkit-appearance:none;appearance:none;color:#e8eef6;font:inherit;cursor:pointer;background:#ffffff14;border:1px solid #ffffff24;border-radius:6px;flex:none;padding:4px 7px;font-size:11px}#parts-lab-panel .plp-open:hover{background:#ffffff29}#parts-lab-panel .plp-model--on{outline:1px solid #ffe0668c}#parts-lab-panel .plp-id{box-sizing:border-box;-webkit-appearance:none;appearance:none;color:#e8eef6;width:100%;font:inherit;background:#00000040;border:1px solid #ffffff24;border-radius:6px;padding:6px 8px}#parts-lab-panel .plp-actions{gap:6px;display:flex}#parts-lab-panel .plp-btn{-webkit-appearance:none;appearance:none;color:#e8eef6;font:inherit;cursor:pointer;background:#ffffff14;border:1px solid #ffffff24;border-radius:6px;flex:1;padding:6px 8px}#parts-lab-panel .plp-btn:disabled{opacity:.35;cursor:not-allowed}#parts-lab-panel .plp-foot{color:#e8eef68c;font-size:11px}:root{--ui-bg-panel:#fdf6e3;--ui-cream:#fdf6e3;--ui-cream-lo:#f3e7cc;--ui-panel-grad:linear-gradient(#fdf6e3, #f3e7cc);--ui-stroke:#4f3b28;--ui-text-main:#4a3524;--ui-cocoa:#4a3524;--ui-text-muted:#8b7a63;--btn-green-top:#65be42;--btn-green-bottom:#4c962e;--btn-green-border:#2c5c1e;--btn-green-shadow:#2c6317;--btn-orange-top:#fa3;--btn-orange-bottom:#f58b12;--btn-orange-border:#a8650e;--btn-orange-shadow:#b36307;--btn-blue-top:#38bdf8;--btn-blue-bottom:#0284c7;--btn-blue-border:#0369a1;--btn-blue-shadow:#0369a1;--btn-olive-top:#bcae72;--btn-olive-bottom:#a99a5c;--btn-olive-border:#7d7142;--btn-rose-top:#e08e83;--btn-rose-bottom:#d3766a;--btn-rose-border:#a34b3d;--ui-cta-green:var(--btn-green-top);--ui-cta-green-d:var(--btn-green-bottom);--ui-cta-amber:var(--btn-orange-top);--ui-cta-amber-d:var(--btn-orange-bottom);--ui-cta-rose:var(--btn-rose-top);--ui-cta-rose-d:var(--btn-rose-bottom);--ui-hp-fill:#d63c2a;--ui-hud-hp-fill:#d94f3d;--ui-hud-hp-trough:#ead9c6;--ui-faction-blue:#2a82ff;--ui-threat-red:#d63c2a;--ui-disabled:#d8c9b4;--ui-gem:#a64fe8;--ui-enemy-purple:#9c27b0;--ui-world-grass:#88cf54;--ui-world-grass-bounce:#93c572;--ui-world-sky-ambient:#e6f2fd;--ui-world-sea:#40b4ed;--ui-world-sand:#f0d59d;--ui-world-wood:#bca780;--ui-world-sun:#fff9e6;--border-radius-panel:14px;--border-radius-btn:10px;--ui-radius-pill:14px;--ui-chrome-stroke:3px;--ui-chrome-stroke-color:#4f3b28;--ui-chrome-shadow:0 3px 0 #4f3b2824, 0 8px 18px #4f3b2829;--stroke-width:var(--ui-chrome-stroke);--ui-dock-accent:#cf8f4a;--ui-dock-ring:#55402c;--ui-dock-shadow:0 0 0 2px var(--ui-dock-ring), 0 4px 0 #4f3b2824, 0 10px 20px #4f3b282e;--ui-dock-rule:#e6d4ae;--ui-card-cream:#f8f3e5;--ui-card-cream-lo:#efe6d4;--ui-card-stroke:#e0d2b8;--ui-card-frame:#efe6d4;--ui-card-espresso:#3d352d;--ui-card-muted:#8a7460;--ui-card-gold:#e5b842;--ui-card-gold-d:#c9962e;--ui-card-peach:#f2a865;--ui-card-peach-hi:#f6ba7e;--ui-card-peach-d:#d48d45;--ui-card-shadow:-3px 6px 14px #50371e29, -8px 16px 32px #50371e2e;--ui-card-frame-shadow:inset 0 0 0 1px var(--ui-card-stroke), inset 0 0 0 calc(var(--ui-soft-frame-inset) - 1px) var(--ui-card-frame), inset 0 0 0 var(--ui-soft-frame-inset) var(--ui-card-stroke);--ui-card-btn-plate:var(--ui-card-peach-d);--ui-card-btn-shadow:0 5px 0 var(--ui-card-btn-plate), 0 10px 16px #00000047;--ui-card-chip-shadow:0 3px 0 var(--ui-card-gold-d), 0 6px 12px #00000038;--ui-soft-panel-radius:28px;--ui-soft-frame-inset:10px;--ui-soft-well-radius:8px;--ui-soft-bar-radius:var(--ui-soft-well-radius);--ui-soft-bar-shadow:var(--ui-soft-chrome-shadow);--ui-soft-bar-whisper-bg:#f8f3e5c7;--ui-soft-bar-whisper-shadow:0 2px 8px #50371e1f;--ui-soft-well-bg:var(--ui-card-cream-lo);--ui-soft-well-shadow:inset 0 2px 4px #28190a1f, inset 0 1px 2px #28190a0f, inset 1px 0 2px #28190a0a, inset -1px 0 2px #28190a0a;--ui-soft-chrome-plate:#d4c4a8;--ui-soft-chrome-shadow:0 3px 0 var(--ui-soft-chrome-plate), 0 7px 12px #0003;--ui-soft-chrome-radius:var(--ui-soft-well-radius);--ui-joy-size:min(clamp(104px, 26vmin, 148px), 30vh);--ui-joy-thumb:calc(var(--ui-joy-size) * .46);--ui-joy-inset:clamp(12px, 4vmin, 36px);--ui-joy-z:95;--ui-joy-ring-fill:#fff3;--ui-joy-ring-stroke:#ffffff47;--ui-joy-thumb-fill:#ffffffc7;--ui-joy-thumb-stroke:#ffffff85;--ui-joy-arrow-fill:#ffffff8c;--ui-joy-arrow-edge:#5c40331a;--ui-hud-inset:16px;--ui-dock-bottom:8px;--ba-dock-height:40px;--ui-stance-reserve:140px;--ui-rail-shift:28px;--ui-rail-top:calc(var(--ui-dock-bottom) + var(--ba-dock-height) + 4px + 40px);--ui-rail-bottom:calc(var(--ui-dock-bottom) + var(--ba-dock-height) + 4px - var(--ui-rail-shift));--ui-hud-cluster-h:40px;--ui-hud-bar-pad-y:4px;--ui-hud-bar-pad-x:6px;--ui-hud-bar-inner-h:calc(var(--ui-hud-cluster-h) - 2 * var(--ui-hud-bar-pad-y));--ui-hud-fl-pad-y:6px;--ui-hud-fl-pad-x:14px;--ui-hud-fl-badge-size:22px;--ui-hud-fl-tag-size:10px;--ui-hud-fl-mini-bar-mt:4px;--ui-hud-fl-mini-bar-h:5px;--ui-hud-fl-tag-mt:3px;--ui-hud-fl-stack-h:calc(var(--ui-hud-fl-badge-size) + var(--ui-hud-fl-mini-bar-mt) + var(--ui-hud-fl-mini-bar-h) + var(--ui-hud-fl-tag-mt) + calc(var(--ui-hud-fl-tag-size) * 1.1));--ui-hud-fl-track-h:var(--ui-hud-fl-stack-h);--ui-hud-fl-badge-center:calc(var(--ui-hud-fl-badge-size) / 2);--ui-hud-frontline-max-w:320px;--ui-quest-max-w:300px;--ui-quest-row-h:calc(var(--ui-hud-fl-track-h) + 2 * var(--ui-hud-fl-pad-y));--ui-quest-done-grad:linear-gradient(#f4fceb, #def5ce);--ui-quest-done-border:var(--btn-green-top);--ui-quest-done-ring:var(--btn-green-top);--ui-quest-done-ring-outer:var(--btn-green-border);--ui-quest-done-inset:#d2f0be;--ui-quest-done-plate:#2c5c1e59;--ui-quest-shimmer-hi:#ffffffa6;--ui-quest-done-shimmer:#8ce65fd9;--ui-quest-new-ring:var(--btn-orange-top);--ui-quest-new-ring-outer:var(--btn-orange-border);--ui-quest-bar-fill:var(--ui-cta-amber);--ui-shadow-hard:0 2px 0 #00000024;--ui-shadow-soft:var(--ui-chrome-shadow);--ui-chrome-btn-size:var(--ui-hud-cluster-h);--ui-resource-bar-bg:var(--ui-card-cream);--ui-resource-slot-bg:var(--ui-soft-well-bg);--ui-resource-slot-warn-bg:#f4b3aa;--ui-resource-bar-stroke:0px;--ui-resource-bar-stroke-color:transparent;--ui-resource-bar-shadow:var(--ui-soft-bar-shadow);--ui-resource-bar-radius:var(--ui-soft-bar-radius);--ui-resource-slot-radius:var(--ui-soft-well-radius);--ui-resource-bar-pad:4px;--ui-resource-slot-gap:4px;--ui-resource-slot-width:66px;--ui-resource-slot-min-width:66px;--ui-resource-troop-slot-width:66px;--ui-resource-troop-slot-min-width:66px;--ui-res-icon-size:18px;--ui-res-text-size:13.5px;--ui-res-label-size:11.5px;--ui-res-text-weight:800;--ui-res-wood-fill:#a9733c;--ui-res-stone-fill:#6f675c;--ui-res-food-fill:#e78d31;--ui-res-meat-fill:#f8312f;--ui-res-troop-fill:#5b4632;--ui-res-icon-stroke:transparent;--ui-hp-trough:#3f2d1f;--ui-text-shadow-on-color:0 1px 0 #0003;--ui-font:system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;--ui-font-display:system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;--ui-wood-hi:#a67c3c;--ui-wood-mid:#8b6530;--ui-wood-lo:#745428;--ui-wood-border:#d4aa5a;--ui-wood-text:#fff8ea;--ui-wood-tail:#8b6a3e;--ui-guide-pulse:#ffeb3b;--ui-guide-pulse-glow:#ffeb3bb8;--ui-guide-arrow-face:#ffe066;--ui-guide-arrow-shell:#c9a020;--ui-guide-outline:#ffe066;--ui-worker-bubble-fill:var(--ui-wood-text);--ui-wood-grad:linear-gradient(175deg, var(--ui-wood-hi) 0%, var(--ui-wood-mid) 60%, var(--ui-wood-lo) 100%);--ui-wood-hi-bright:#c4954a;--ui-wood-grad-action:linear-gradient(175deg, var(--ui-wood-hi-bright) 0%, var(--ui-wood-hi) 38%, var(--ui-wood-mid) 72%, var(--ui-wood-lo) 100%);--ui-action-bg:linear-gradient(180deg, var(--btn-green-top) 0%, var(--btn-green-bottom) 100%);--ui-action-border:var(--btn-green-border);--ui-action-text:#fff;--ui-action-cost:#fffffff2;--ui-action-shadow:var(--ui-shadow-hard);--ui-wood-hi-warm:#b48440;--ui-wood-lo-warm:#654820;--ui-wood-border-warm:#e0b860;--ui-wood-tail-warm:#7a5528;--ui-wood-grad-warm:linear-gradient(175deg, var(--ui-wood-hi-warm) 0%, var(--ui-wood-mid) 48%, var(--ui-wood-lo-warm) 100%);--ui-wood-grad-warm-flat:linear-gradient(175deg, var(--ui-wood-hi-warm) 0%, var(--ui-wood-mid) 100%);--ui-fire-lo:#ff4500;--ui-fire-hi:#fa0;--ui-fire-grad:linear-gradient(90deg, var(--ui-fire-lo), var(--ui-fire-hi));--ui-dmg-enemy:#ffe8a0;--ui-dmg-enemy-edge:#5a2a00;--ui-dmg-hero:#ff6b6b;--ui-dmg-hero-edge:#5a1010;--ui-dmg-soldier:#ff9ecd;--ui-dmg-soldier-edge:#6a2040;--ui-dmg-heart:#ff9a3c;--ui-dmg-heart-edge:#7a2808;--ui-hp-friendly-hi:#4caf50;--ui-hp-friendly-mid:#2e7d32;--ui-hp-friendly-lo:#1b5e20;--ui-hp-friendly-warn:#fbc02d;--ui-hp-enemy-hi:#e53935;--ui-hp-enemy-mid:#c62828;--ui-hp-enemy-lo:#8e0000;--ui-hp-structure-hi:#9e9e9e;--ui-hp-structure-mid:#757575;--ui-hp-structure-lo:#616161;--ui-icon-sm:14px;--ui-icon-md:18px;--ui-icon-lg:22px;--ui-icon-color:currentColor;--ui-dock-min-w:240px;--ui-dock-max-w:min(318px, calc(100vw - 32px));--ui-dock-pad:12px 14px 14px}@media (max-width:768px),(orientation:portrait){:root{--ui-hud-inset:10px;--ui-hud-bar-pad-y:3px;--ui-hud-bar-pad-x:5px;--ui-hud-cluster-h:40px;--ui-chrome-btn-size:var(--ui-hud-cluster-h);--ui-hud-bar-inner-h:calc(var(--ui-hud-cluster-h) - 2 * var(--ui-hud-bar-pad-y));--ui-hud-fl-pad-y:4px;--ui-hud-fl-pad-x:10px;--ui-hud-fl-badge-size:19px;--ui-hud-fl-tag-size:9px;--ui-resource-slot-width:52px;--ui-resource-slot-min-width:52px;--ui-resource-troop-slot-width:54px;--ui-resource-troop-slot-min-width:54px;--ui-resource-bar-pad:4px;--ui-resource-slot-gap:4px;--ui-soft-well-radius:6px;--ui-res-icon-size:15px;--ui-res-text-size:12px;--ui-dock-min-w:220px;--ui-dock-max-w:min(300px, calc(100vw - 24px));--ui-dock-pad:10px 12px 12px;--ui-quest-row-h:52px}}@media (max-width:390px),(max-height:450px){:root{--ui-hud-inset:8px;--ui-dock-bottom:6px;--ba-dock-height:36px;--ui-stance-reserve:118px;--ui-rail-shift:26px;--ui-rail-top:calc(var(--ui-dock-bottom) + var(--ba-dock-height) + 4px + 34px);--ui-rail-bottom:calc(var(--ui-dock-bottom) + var(--ba-dock-height) + 4px - var(--ui-rail-shift));--ui-hud-bar-pad-y:2px;--ui-hud-cluster-h:30px;--ui-chrome-btn-size:var(--ui-hud-cluster-h);--ui-hud-bar-inner-h:calc(var(--ui-hud-cluster-h) - 2 * var(--ui-hud-bar-pad-y));--ui-hud-fl-pad-y:3px;--ui-hud-fl-pad-x:10px;--ui-hud-frontline-max-w:236px;--ui-quest-max-w:220px;--ui-quest-row-h:48px;--ui-hud-fl-badge-size:16px;--ui-hud-fl-tag-size:8px;--ui-hud-fl-mini-bar-mt:1px;--ui-hud-fl-tag-mt:2px;--ui-resource-slot-width:50px;--ui-resource-slot-min-width:50px;--ui-resource-troop-slot-width:50px;--ui-resource-troop-slot-min-width:50px;--ui-resource-bar-pad:3px;--ui-resource-slot-gap:3px;--ui-res-icon-size:12px;--ui-res-text-size:9.5px;--ui-soft-well-radius:6px;--ui-joy-size:min(108px, 28vh);--ui-joy-thumb:calc(var(--ui-joy-size) * .46);--ui-joy-inset:12px;--ui-dock-min-w:176px;--ui-dock-max-w:min(228px, calc(100vw - 24px));--ui-dock-pad:8px 10px 10px}}.ui-icon{width:var(--ui-icon-md);height:var(--ui-icon-md);vertical-align:-.15em;color:var(--ui-icon-color);pointer-events:none;flex-shrink:0;display:inline-block;overflow:hidden}.ui-icon:not(.ui-icon--color){fill:currentColor}.ui-icon--sm{width:var(--ui-icon-sm);height:var(--ui-icon-sm)}.ui-icon--md{width:var(--ui-icon-md);height:var(--ui-icon-md)}.ui-icon--lg{width:var(--ui-icon-lg);height:var(--ui-icon-lg)}.ui-icon--color{overflow:visible}.ui-panel{background:var(--ui-panel-grad);border:var(--ui-chrome-stroke) solid var(--ui-chrome-stroke-color);border-radius:var(--border-radius-panel);box-shadow:var(--ui-chrome-shadow);color:var(--ui-text-main);font-family:var(--ui-font)}.ui-pill{background:var(--ui-panel-grad);border:var(--ui-chrome-stroke) solid var(--ui-chrome-stroke-color);border-radius:var(--ui-radius-pill);box-shadow:var(--ui-chrome-shadow);color:var(--ui-text-main);font-family:var(--ui-font);align-items:center;gap:8px;padding:6px 12px;display:inline-flex}.ui-shadow-hard{box-shadow:var(--ui-shadow-hard)}.ui-shadow-soft{box-shadow:var(--ui-chrome-shadow)}.ui-cta{font-family:var(--ui-font);color:#fff;cursor:pointer;border-radius:var(--border-radius-btn);text-shadow:0 1px #0003;box-shadow:var(--ui-shadow-hard);border:3px solid;font-weight:800;line-height:1.15}.ui-cta:active:not(:disabled){transform:translateY(1px);box-shadow:0 1px #00000024}.ui-cta--orange{background:linear-gradient(180deg, var(--btn-orange-top), var(--btn-orange-bottom));border-color:var(--btn-orange-border)}.ui-cta--green{background:linear-gradient(180deg, var(--btn-green-top), var(--btn-green-bottom));border-color:var(--btn-green-border)}.ui-cta--olive{background:linear-gradient(180deg, var(--btn-olive-top), var(--btn-olive-bottom));border-color:var(--btn-olive-border)}.ui-cta--rose{background:linear-gradient(180deg, var(--btn-rose-top), var(--btn-rose-bottom));border-color:var(--btn-rose-border)}.ui-cta:disabled,.ui-cta--disabled{cursor:not-allowed;opacity:.85;filter:saturate(.85)}.ui-chrome-btns{pointer-events:auto;align-items:center;gap:6px;display:flex}.ui-chrome-btn{box-sizing:border-box;width:var(--ui-chrome-btn-size,44px);height:var(--ui-chrome-btn-size,44px);min-width:var(--ui-chrome-btn-size,44px);min-height:var(--ui-chrome-btn-size,44px);background:var(--ui-card-cream);border-radius:var(--ui-soft-chrome-radius,12px);color:var(--ui-card-espresso);cursor:pointer;box-shadow:var(--ui-soft-chrome-shadow);border:none;place-items:center;padding:0;font-family:inherit;line-height:1;transition:transform 80ms,box-shadow 80ms,filter 80ms;display:inline-grid}.ui-chrome-btn:hover{filter:brightness(1.04)}.ui-chrome-btn:active,.ui-chrome-btn.ui-soft-chrome--down{box-shadow:0 1px 0 var(--ui-soft-chrome-plate,#d4c4a8), 0 3px 8px #0000002e;transform:translateY(2px)}.ui-chrome-btn:focus{outline:none}.ui-chrome-btn:focus-visible{outline:none}.ui-chrome-btn .ui-icon{pointer-events:none;width:clamp(18px,48%,22px);height:clamp(18px,48%,22px)}.ui-anchor-br,.ui-anchor-bl{right:max(16px, env(safe-area-inset-right,0px));bottom:max(16px, env(safe-area-inset-bottom,0px));z-index:140;width:max-content;max-width:var(--ui-dock-max-w);min-width:var(--ui-dock-min-w);pointer-events:auto;flex-direction:column;align-items:stretch;gap:0;padding:22px 22px 24px;display:flex;position:fixed;left:auto}@media (max-width:768px),(orientation:portrait){.ui-anchor-br,.ui-anchor-bl{right:max(12px, env(safe-area-inset-right,0px));left:auto;bottom:max(12px, env(safe-area-inset-bottom,0px))}}.ui-soft-panel{box-sizing:border-box;background:var(--ui-card-cream);border-radius:var(--ui-soft-panel-radius,28px);box-shadow:var(--ui-card-shadow), var(--ui-card-frame-shadow);color:var(--ui-card-espresso);font-family:var(--ui-font);border:none;position:relative}.ui-soft-panel:before{content:"";border-radius:calc(var(--ui-soft-panel-radius,28px) + 1px);pointer-events:none;z-index:0;border:2px solid #ffffffeb;position:absolute;top:-1px;bottom:-1px;left:-1px;right:-1px;-webkit-mask-image:linear-gradient(#000 0%,#000000bf 10%,#00000059 22%,#0000001a 34%,#0000 48%);mask-image:linear-gradient(#000 0%,#000000bf 10%,#00000059 22%,#0000001a 34%,#0000 48%)}.ui-soft-panel:after{content:"";inset:var(--ui-soft-frame-inset,10px);border-radius:calc(var(--ui-soft-panel-radius,28px) - var(--ui-soft-frame-inset,10px));pointer-events:none;z-index:0;position:absolute;box-shadow:inset 0 3px 5px #28190a17,inset 0 -2px 4px #28190a0a,inset 2px 0 4px #28190a0a,inset -2px 0 4px #28190a0a}.ui-soft-panel>*{z-index:1}.ui-soft-cta,.ui-soft-chrome,.ui-soft-rim{--ui-soft-rim-band:3px}.ui-soft-cta:after,.ui-soft-chrome:after,.ui-soft-rim:after{content:"";border-radius:inherit;pointer-events:none;z-index:0;border:var(--ui-soft-rim-band) solid #ffffff8c;position:absolute;top:0;bottom:0;left:0;right:0;-webkit-mask-image:linear-gradient(#000000eb 0%,#000000b3 10%,#0006 24%,#00000029 40%,#0000 54%);mask-image:linear-gradient(#000000eb 0%,#000000b3 10%,#0006 24%,#00000029 40%,#0000 54%)}.ui-soft-cta{box-sizing:border-box;-webkit-appearance:none;appearance:none;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;font-family:var(--ui-font);color:#fff;background:linear-gradient(180deg, var(--ui-card-peach-hi) 0%, var(--ui-card-peach) 70%);box-shadow:var(--ui-card-btn-shadow);text-shadow:0 1px 1px #783c002e;border:none;border-radius:999px;outline:none;font-weight:800;transition:transform 80ms,box-shadow 80ms,filter 80ms;position:relative;overflow:hidden}.ui-soft-cta:hover:not(:disabled):not(.ui-soft-cta--disabled){filter:brightness(1.04)}.ui-soft-cta:active:not(:disabled):not(.ui-soft-cta--disabled),.ui-soft-cta.ui-soft-cta--down:not(:disabled):not(.ui-soft-cta--disabled){box-shadow:0 2px 0 var(--ui-card-btn-plate), 0 5px 12px #00000038;transform:translateY(3px)}.ui-soft-cta>*{z-index:1;pointer-events:none;position:relative}.ui-soft-cta--wrap{white-space:normal;text-align:center;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto;min-width:0;max-width:100%;height:auto;line-height:1.2}.ui-soft-cta--amber{background:linear-gradient(180deg, var(--ui-card-peach-hi) 0%, var(--ui-card-peach) 70%);box-shadow:var(--ui-card-btn-shadow);text-shadow:0 1px 1px #783c002e}.ui-soft-cta--green{--ui-card-btn-plate:#15803d;text-shadow:0 1px 1px #0f41144d;background:linear-gradient(#4ade80 0%,#22c55e 70%);box-shadow:0 5px #15803d,0 10px 16px #00000047}.ui-soft-cta--green:active:not(:disabled):not(.ui-soft-cta--disabled),.ui-soft-cta--green.ui-soft-cta--down:not(:disabled):not(.ui-soft-cta--disabled){box-shadow:0 2px #15803d,0 5px 12px #00000038}.ui-soft-cta--rose{--ui-card-btn-plate:#2f87b8;text-shadow:0 1px 1px #0032642e;background:linear-gradient(#7ec8ef 0%,#5eb8e8 70%);box-shadow:0 5px #2f87b8,0 10px 16px #00000047}.ui-soft-cta--rose:active:not(:disabled):not(.ui-soft-cta--disabled),.ui-soft-cta--rose.ui-soft-cta--down:not(:disabled):not(.ui-soft-cta--disabled){box-shadow:0 2px #2f87b8,0 5px 12px #00000038}.ui-soft-cta--cream{--ui-card-btn-plate:#c4b49a;color:var(--ui-card-espresso);text-shadow:none;background:linear-gradient(#f5ead6 0%,#e8d7b8 70%);box-shadow:0 5px #c4b49a,0 10px 16px #00000038}.ui-soft-cta--cream:active:not(:disabled):not(.ui-soft-cta--disabled),.ui-soft-cta--cream.ui-soft-cta--down:not(:disabled):not(.ui-soft-cta--disabled){box-shadow:0 2px #c4b49a,0 5px 12px #0000002e}.ui-soft-cta--danger{--ui-card-btn-plate:#9a2f28;text-shadow:0 1px 1px #500a0040;background:linear-gradient(#f07868 0%,#d9432e 70%);box-shadow:0 5px #9a2f28,0 10px 16px #00000047}.ui-soft-cta--danger:active:not(:disabled):not(.ui-soft-cta--disabled),.ui-soft-cta--danger.ui-soft-cta--down:not(:disabled):not(.ui-soft-cta--disabled){box-shadow:0 2px #9a2f28,0 5px 12px #00000038}.ui-soft-cta--disabled,.ui-soft-cta:disabled{cursor:not-allowed;opacity:1;filter:none;color:#7d705c;text-shadow:none;background:#d8c9b4;box-shadow:0 4px #b8a88f,0 8px 14px #5a3c1e24}.ui-soft-cta--disabled:active,.ui-soft-cta:disabled:active{transform:none;box-shadow:0 4px #b8a88f,0 8px 14px #5a3c1e24}.ui-soft-cta--disabled:after,.ui-soft-cta:disabled:after{opacity:.25}.ui-soft-cta-guided-shell{box-sizing:border-box;transform-origin:50%;border-radius:999px;justify-content:center;align-items:center;display:flex;position:relative;overflow:visible}.ui-soft-cta-guided-shell:has(>.ui-soft-cta--guided:not(:disabled):not(.ui-soft-cta--disabled)):not(.ui-soft-cta-guided-shell--slot){animation:1.2s ease-in-out infinite uiSoftCtaGuidedBreathe}.ui-soft-cta-guided-shell--slot{transform-origin:50%;border-radius:16px;width:100%}.ui-soft-cta-guided-shell--slot.ui-soft-cta-guided-shell--active{animation:1.2s ease-in-out infinite baSlotGuidedBreathe}.ui-soft-cta-guided-shell--slot.ui-soft-cta-guided-shell--active:before{animation:1.2s ease-in-out infinite baSlotGuidedHalo}.ui-soft-cta-guided-shell--slot:not(.ui-soft-cta-guided-shell--active):before{opacity:0}@keyframes baSlotGuidedBreathe{0%,to{transform:scale(1)}50%{transform:scale(1.03)}}@keyframes baSlotGuidedHalo{0%,to{opacity:1;box-shadow:0 0 0 2px var(--ui-guide-pulse), 0 0 10px var(--ui-guide-pulse-glow)}50%{opacity:.92;box-shadow:0 0 0 2px var(--ui-guide-pulse), 0 0 18px var(--ui-guide-pulse-glow)}}.ui-soft-cta-guided-shell:before{content:"";border-radius:inherit;pointer-events:none;z-index:0;box-shadow:0 0 0 2px var(--ui-guide-pulse), 0 0 12px var(--ui-guide-pulse-glow);position:absolute;top:0;bottom:0;left:0;right:0}.ui-soft-cta-guided-shell>.ui-soft-cta--guided{z-index:1;border-radius:inherit;width:100%;position:relative}@keyframes uiSoftCtaGuidedBreathe{0%,to{transform:scale(1)}50%{transform:scale(1.04)}}.ui-soft-cta-guided-shell:has(>.ui-soft-cta--guided:active:not(:disabled):not(.ui-soft-cta--disabled)){animation:none}.ui-soft-cta-guided-shell:has(>.ui-soft-cta--guided.ui-soft-cta--down:not(:disabled):not(.ui-soft-cta--disabled)){animation:none}.ui-soft-fill{pointer-events:none;z-index:1;border-radius:inherit;opacity:0;background:linear-gradient(#ffa32b 0%,#ee7d13 70%);width:0;transition:width 80ms linear;position:absolute;top:0;bottom:0;left:0;box-shadow:inset -1px 0 #fff6}.ui-soft-fill--active{opacity:1}.ui-soft-chip{box-sizing:border-box;-webkit-appearance:none;appearance:none;cursor:pointer;background:var(--ui-card-gold);color:var(--ui-card-espresso);font-family:var(--ui-font);text-align:center;letter-spacing:0;box-shadow:var(--ui-card-chip-shadow);border:none;border-radius:50%;justify-content:center;align-items:center;margin:0;padding:1px 0 0;font-size:14px;font-style:normal;font-weight:800;line-height:1;transition:transform 80ms,box-shadow 80ms,filter 80ms,background .1s;display:inline-flex;position:relative;overflow:visible}.ui-soft-chip:hover{filter:brightness(1.06)}.ui-soft-chip:active{box-shadow:0 1px 0 var(--ui-card-gold-d), 0 3px 8px #0000002e;transform:translateY(1px)}.ui-soft-chip--pressed{box-shadow:0 2px 0 var(--ui-card-gold-d), 0 5px 10px #0003;transform:translateY(1px)}.ui-soft-chip--pressed:active{box-shadow:0 1px 0 var(--ui-card-gold-d), 0 3px 8px #0000002e;transform:translateY(2px)}.ui-soft-bar{box-sizing:border-box;background:var(--ui-card-cream);border-radius:var(--ui-soft-bar-radius,14px);box-shadow:var(--ui-soft-bar-shadow);color:var(--ui-card-espresso);font-family:var(--ui-font);border:none;position:relative}.ui-soft-bar--whisper{--ui-soft-bar-shadow:var(--ui-soft-bar-whisper-shadow);--ui-resource-bar-bg:var(--ui-soft-bar-whisper-bg);--ui-resource-bar-shadow:var(--ui-soft-bar-whisper-shadow);background:var(--ui-soft-bar-whisper-bg)}.ui-soft-well{box-sizing:border-box;background:var(--ui-soft-well-bg,var(--ui-card-cream-lo));border-radius:var(--ui-soft-well-radius,8px);box-shadow:var(--ui-soft-well-shadow);border:none}.ui-soft-well--warn{background:var(--ui-resource-slot-warn-bg,#f4b3aa)}.ui-soft-chrome{box-sizing:border-box;-webkit-appearance:none;appearance:none;border-radius:var(--ui-soft-chrome-radius,12px);cursor:pointer;background:var(--ui-card-cream);color:var(--ui-card-espresso);box-shadow:var(--ui-soft-chrome-shadow);border:none;place-items:center;margin:0;padding:0;transition:transform 80ms,box-shadow 80ms,filter 80ms;display:inline-grid;position:relative;overflow:visible}.ui-soft-chrome>*{z-index:1;position:relative}.ui-soft-chrome:hover{filter:brightness(1.04)}.ui-soft-chrome:active,.ui-soft-chrome.ui-soft-chrome--down{box-shadow:0 1px 0 var(--ui-soft-chrome-plate,#d4c4a8), 0 3px 8px #0000002e;transform:translateY(2px)}.ui-soft-chrome:focus{outline:none}.ui-soft-chrome:focus-visible{outline:none}.ui-soft-chrome>*{pointer-events:none}#game-hud{pointer-events:none;z-index:100;font-family:var(--ui-font);position:fixed;top:0;bottom:0;left:0;right:0}.hud-top-row{top:max(var(--ui-hud-inset), env(safe-area-inset-top,0px));left:max(var(--ui-hud-inset), env(safe-area-inset-left,0px));right:max(var(--ui-hud-inset), env(safe-area-inset-right,0px));pointer-events:none;z-index:101;grid-template-rows:auto;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:start;gap:10px;display:grid;position:fixed}.hud-anchor-main{display:contents}#game-hud .hud-frontline-panel{width:min(var(--ui-hud-frontline-max-w,320px), 36vw);grid-area:1/2;justify-self:center;min-width:170px}.hud-quest-stack{pointer-events:none;width:100%;min-width:0;max-width:min(var(--ui-quest-max-w,360px), calc(37vw - 6px));flex-direction:column;grid-area:1/1;align-items:stretch;gap:6px;display:flex}.hud-anchor-tr{pointer-events:none;flex-direction:column;grid-area:1/3;place-self:start end;align-items:flex-end;gap:6px;min-width:0;max-width:100%;display:flex}.hud-tr-row{pointer-events:none;flex-direction:row;align-items:center;gap:6px;display:flex}.hud-tr-row>*{pointer-events:auto}.hud-resource-strip{pointer-events:none;justify-content:flex-end;display:flex}:root{--ui-quest-max-w:360px;--ui-hud-frontline-max-w:320px}@media (max-width:900px){:root{--ui-quest-max-w:280px;--ui-hud-frontline-max-w:260px;--ui-resource-slot-width:52px;--ui-resource-slot-min-width:52px}.hud-top-row{gap:6px}#game-hud .hud-frontline-panel{width:min(var(--ui-hud-frontline-max-w,260px), 33vw)}.hud-quest-stack{max-width:min(var(--ui-quest-max-w,280px), calc(34vw - 4px))}}@media (max-width:720px){:root{--ui-quest-max-w:240px;--ui-hud-frontline-max-w:230px;--ui-quest-row-h:50px;--ui-resource-slot-width:48px;--ui-resource-slot-min-width:48px}.hud-top-row{gap:5px}#game-hud .hud-frontline-panel{width:min(var(--ui-hud-frontline-max-w,230px), 32vw)}.hud-quest-stack{max-width:min(var(--ui-quest-max-w,240px), calc(33vw - 4px))}}@media (max-width:680px){:root{--ui-quest-max-w:210px;--ui-hud-frontline-max-w:210px;--ui-quest-row-h:46px;--ui-resource-slot-width:44px;--ui-resource-slot-min-width:44px}.hud-top-row{gap:4px}#game-hud .hud-frontline-panel{width:min(var(--ui-hud-frontline-max-w,210px), 32vw)}.hud-quest-stack{max-width:min(var(--ui-quest-max-w,210px), calc(33vw - 4px))}}@media (max-height:450px){:root{--ui-quest-row-h:46px}.hud-top-row{gap:4px}}.hud-resource-strip.ui-resource-bar{width:auto;min-width:0;max-width:100%}.ui-resource-bar{box-sizing:border-box;width:auto;min-width:0;max-width:100%;min-height:var(--ui-chrome-btn-size,var(--ui-hud-cluster-h,40px));height:var(--ui-chrome-btn-size,var(--ui-hud-cluster-h,40px));align-items:center;gap:var(--ui-resource-slot-gap);padding:var(--ui-hud-bar-pad-y) var(--ui-resource-bar-pad);background:var(--ui-resource-bar-bg);border-radius:var(--ui-resource-bar-radius);box-shadow:var(--ui-resource-bar-shadow);color:var(--ui-card-espresso);font-family:var(--ui-font);pointer-events:none;border:none;display:inline-flex}.hud-res-slot{flex:0 0 var(--ui-resource-slot-width,66px);box-sizing:border-box;width:var(--ui-resource-slot-width,66px);min-width:var(--ui-resource-slot-width,66px);max-width:var(--ui-resource-slot-width,66px);height:100%;min-height:var(--ui-hud-bar-inner-h);background:var(--ui-resource-slot-bg);border-radius:var(--ui-resource-slot-radius);box-shadow:var(--ui-soft-well-shadow);border:none;flex-direction:row;justify-content:center;align-items:center;gap:0;padding:0 6px;transition:transform .1s ease-out;display:inline-flex;position:relative}.hud-res-slot--pulse{transform:scale(1.12)}.hud-res-float-layer{pointer-events:none;z-index:1000;position:fixed;top:0;bottom:0;left:0;right:0;overflow:visible}.hud-res-float{pointer-events:none;font-family:var(--ui-font-display,var(--ui-font,sans-serif));color:#fbbf24;text-shadow:0 1.5px #b45309,0 3px 6px #b4530940;filter:drop-shadow(0 1px 2px #78350f2e);-webkit-user-select:none;user-select:none;white-space:nowrap;letter-spacing:-.5px;justify-content:center;align-items:center;font-size:17px;font-weight:800;line-height:1;animation:.26s cubic-bezier(.175,.885,.32,1.275) forwards hud-res-pop-in;display:inline-flex;position:absolute}.hud-res-float--large{color:#fef08a;text-shadow:0 2px #d97706,0 0 8px #f59e0b8c,0 3px 6px #b453094d;font-size:21px}.hud-res-float--bump,.hud-res-float--bump-alt{animation:.18s cubic-bezier(.175,.885,.32,1.275) forwards hud-res-bump}.hud-res-float--fading{animation:.4s cubic-bezier(.22,.61,.36,1) forwards hud-res-fade-up!important}@keyframes hud-res-pop-in{0%{opacity:0;transform:translateY(4px)scale(.3)}65%{opacity:1;transform:translateY(-6px)scale(1.22)}to{opacity:1;transform:translateY(-8px)scale(1)}}@keyframes hud-res-bump{0%{transform:translateY(-8px)scale(1)}45%{transform:translateY(-12px)scale(1.32)}to{transform:translateY(-8px)scale(1)}}@keyframes hud-res-fade-up{0%{opacity:1;transform:translateY(-8px)scale(1)}to{opacity:0;transform:translateY(-38px)scale(.88)}}.hud-res-slot:has(#hud-res-troops){flex-basis:var(--ui-resource-troop-slot-width,auto);width:var(--ui-resource-troop-slot-width,auto);min-width:var(--ui-resource-troop-slot-min-width,66px)}.hud-res-slot:has(#hud-res-workers){flex-basis:var(--ui-resource-troop-slot-width,auto);width:var(--ui-resource-troop-slot-width,auto);min-width:var(--ui-resource-troop-slot-min-width,66px)}.hud-res-slot--clickable{-webkit-appearance:none;appearance:none;font:inherit;color:inherit;cursor:pointer;text-align:inherit;pointer-events:auto;border:none}.hud-res-slot--clickable:hover{filter:brightness(1.04)}.hud-res-slot--clickable:focus{outline:none}.hud-res-slot--clickable:focus-visible{outline:none}.hud-res-affordance{opacity:.55;color:var(--ui-text-muted,#7a6a55);flex:none;margin-left:2px;font-size:.65em;line-height:1}.hud-res-slot--clickable:hover .hud-res-affordance{opacity:.85}.hud-res-slot--warn{background:var(--ui-resource-slot-warn-bg)}.hud-res-slot--warn .hud-res-val{color:var(--ui-threat-red)}.hud-res-head{justify-content:center;align-items:center;gap:5px;width:100%;min-width:0;display:inline-flex}.hud-res-icon{flex-shrink:0;justify-content:center;align-items:center;line-height:1;display:inline-flex}.hud-res-icon .ui-icon--hud-res{width:var(--ui-res-icon-size);height:var(--ui-res-icon-size)}.hud-res-icon--wood,.hud-res-icon--stone,.hud-res-icon--food,.hud-res-icon--meat,.hud-res-icon--backpack{color:inherit}.hud-res-icon--soldier{color:var(--ui-res-troop-fill)}.hud-res-val{min-width:0;font-family:var(--ui-font);font-weight:var(--ui-res-text-weight);color:var(--ui-card-espresso);white-space:nowrap;line-height:1;font-size:var(--ui-res-text-size);font-variant-numeric:tabular-nums;text-align:left;flex:none}@media (max-width:720px){.hud-res-head{flex-direction:row;gap:3px}.hud-res-slot{flex:0 0 var(--ui-resource-slot-width,52px);width:var(--ui-resource-slot-width,52px);min-width:var(--ui-resource-slot-width,52px);max-width:var(--ui-resource-slot-width,52px);height:100%;min-height:var(--ui-hud-bar-inner-h);border-radius:var(--ui-resource-slot-radius,6px);padding:0 4px}.hud-res-slot:has(#hud-res-troops){flex:0 0 var(--ui-resource-slot-width,52px);width:var(--ui-resource-slot-width,52px);min-width:var(--ui-resource-slot-width,52px);max-width:var(--ui-resource-slot-width,52px);height:100%;min-height:var(--ui-hud-bar-inner-h);border-radius:var(--ui-resource-slot-radius,6px);padding:0 4px}.hud-res-slot:has(#hud-res-workers){flex:0 0 var(--ui-resource-slot-width,52px);width:var(--ui-resource-slot-width,52px);min-width:var(--ui-resource-slot-width,52px);max-width:var(--ui-resource-slot-width,52px);height:100%;min-height:var(--ui-hud-bar-inner-h);border-radius:var(--ui-resource-slot-radius,6px);padding:0 4px}.hud-res-slot:has(#hud-res-troops){min-width:var(--ui-resource-troop-slot-min-width,54px)}.hud-res-val{font-size:var(--ui-res-text-size,12px)}.hud-chrome-btns{gap:4px;margin-left:4px}}@media (max-width:680px){.ui-resource-bar{padding:var(--ui-hud-bar-pad-y,4px) 3px;gap:2px}.hud-res-head{gap:2px}.hud-res-slot{flex:0 0 var(--ui-resource-slot-width,50px);width:var(--ui-resource-slot-width,50px);min-width:var(--ui-resource-slot-width,50px);max-width:var(--ui-resource-slot-width,52px);padding:0 3px}.hud-res-slot:has(#hud-res-troops){flex:0 0 var(--ui-resource-slot-width,50px);width:var(--ui-resource-slot-width,50px);min-width:var(--ui-resource-slot-width,50px);max-width:var(--ui-resource-slot-width,52px);padding:0 3px}.hud-res-slot:has(#hud-res-workers){flex:0 0 var(--ui-resource-slot-width,50px);width:var(--ui-resource-slot-width,50px);min-width:var(--ui-resource-slot-width,50px);max-width:var(--ui-resource-slot-width,52px);padding:0 3px}.hud-res-val{font-size:var(--ui-res-text-size,10px);letter-spacing:-.3px}.hud-chrome-btns{gap:3px;margin-left:3px}}@media (max-width:390px),(max-height:450px){.hud-res-head{gap:2px}.hud-res-slot{flex:0 0 var(--ui-resource-slot-width,50px);width:var(--ui-resource-slot-width,50px);min-width:var(--ui-resource-slot-width,50px);max-width:var(--ui-resource-slot-width,52px);padding:0 3px}.hud-res-slot:has(#hud-res-troops){flex:0 0 var(--ui-resource-slot-width,50px);width:var(--ui-resource-slot-width,50px);min-width:var(--ui-resource-slot-width,50px);max-width:var(--ui-resource-slot-width,52px);padding:0 3px}.hud-res-slot:has(#hud-res-workers){flex:0 0 var(--ui-resource-slot-width,50px);width:var(--ui-resource-slot-width,50px);min-width:var(--ui-resource-slot-width,50px);max-width:var(--ui-resource-slot-width,52px);padding:0 3px}.hud-res-icon .ui-icon--hud-res{width:var(--ui-res-icon-size,12px);height:var(--ui-res-icon-size,12px)}.hud-res-val{font-size:var(--ui-res-text-size,9.5px);letter-spacing:-.3px}}.hud-chrome-btns{align-items:center;gap:6px;margin-left:6px;display:inline-flex}.hud-pause-btn{height:calc(var(--ui-chrome-btn-size,var(--ui-hud-cluster-h,40px)) - 3px);min-height:calc(var(--ui-chrome-btn-size,var(--ui-hud-cluster-h,40px)) - 3px);margin-bottom:3px}.ui-wood-panel{background:var(--ui-wood-grad);border:1.5px solid var(--ui-wood-border);color:var(--ui-wood-text)}.ui-wood-text{color:var(--ui-wood-text)}.ui-wood-border{border-color:var(--ui-wood-border)}.ui-bottom-dock{z-index:140;box-sizing:border-box;pointer-events:auto;width:max-content;max-width:min(640px,100vw - 48px);height:80px;font-family:var(--ui-font);filter:drop-shadow(0 4px 12px #0000004d);border-radius:12px;flex-direction:row;align-items:stretch;gap:8px;padding:8px 12px;display:flex;position:fixed;bottom:20px;left:50%;transform:translate(-50%)}@media (max-width:768px),(orientation:portrait){.ui-bottom-dock{left:12px;right:12px;bottom:max(12px, env(safe-area-inset-bottom,0px));width:auto;max-width:none;height:72px;padding:6px 8px;transform:none}}.ba-assign{color:var(--ui-card-espresso);background:0 0;border:none}.ba-intro.ui-soft-bar{color:var(--ui-card-espresso)}.hud-icon{color:#33241a;flex-shrink:0;justify-content:center;align-items:center;line-height:1;display:inline-flex}.hud-icon .ui-icon{width:22px;height:22px}.hud-bar{background:var(--ui-hud-hp-trough);border:none;border-radius:999px;width:140px;height:22px;position:relative;overflow:hidden}.hud-bar-fill{border-radius:inherit;height:100%;transition:width .3s;position:absolute;top:0;left:0}.hud-bar-fire{background:var(--ui-hud-hp-fill)}.hud-bar-wall{background:linear-gradient(90deg,#616161,#9e9e9e)}.hud-bar-text{text-align:center;color:#fff;text-shadow:0 1px #4f3b2847;font-size:13px;font-weight:800;line-height:22px;position:absolute;top:0;left:0;right:0}.hud-phase-cluster{color:var(--ui-card-espresso);font-family:var(--ui-font);pointer-events:auto;align-items:center;gap:12px;padding:7px 9px 7px 16px;display:inline-flex}.hud-frontline-panel{box-sizing:border-box;padding:var(--ui-hud-fl-pad-y,6px) var(--ui-hud-fl-pad-x,14px);width:min(var(--ui-hud-frontline-max-w), 100%);flex-direction:column;justify-content:center;align-items:stretch;gap:0;max-width:100%;display:flex;overflow:hidden}.hud-frontline-track-wrap{width:100%;height:var(--ui-hud-fl-track-h,48px);padding:0 calc(var(--ui-hud-fl-badge-size) * .55);box-sizing:border-box;align-items:center;display:flex;position:relative}.hud-frontline-track{align-items:center;width:100%;height:100%;display:flex;position:relative}.hud-frontline-groove{left:0;right:0;top:calc(var(--ui-hud-fl-badge-center,11px) - 2px);background:var(--ui-hud-hp-trough);border-radius:999px;height:4px;position:absolute}.hud-frontline-tokens{pointer-events:none;z-index:2;position:absolute;top:0;bottom:0;left:0;right:0}.hud-fl-token{top:var(--ui-hud-fl-badge-center,11px);border:1.5px solid #4f3b2859;border-radius:50%;justify-content:center;align-items:center;width:13px;height:13px;display:flex;position:absolute;transform:translate(-50%,-50%);box-shadow:0 2px 4px #00000038}.hud-fl-token--enemy{background:linear-gradient(180deg, var(--btn-rose-top), var(--btn-rose-bottom));border-color:var(--btn-rose-border)}.hud-fl-token--soldier{background:linear-gradient(#5ba4ff,#2a82ff);border-color:#1a56b2}.hud-fl-token--hero{background:linear-gradient(180deg, var(--btn-orange-top), var(--btn-orange-bottom));border-color:var(--btn-orange-border);z-index:3;width:15px;height:15px}.hud-fl-token-inner{background:#fff;border-radius:50%;width:3.5px;height:3.5px}.hud-fl-node{z-index:3;pointer-events:auto;cursor:pointer;flex-direction:column;align-items:center;transition:left .3s;display:flex;position:absolute;top:0;transform:translate(-50%)}.hud-fl-node:hover .hud-fl-node-badge{transform:scale(1.08)}.hud-fl-node:active .hud-fl-node-badge{transform:scale(.96)}.hud-fl-node:focus-visible{outline:none}.hud-fl-node:focus-visible .hud-fl-node-badge{box-shadow:0 0 0 2px var(--ui-card-cream), 0 0 0 4px #4f3b2873, var(--ui-soft-well-shadow)}.hud-fl-node-badge{width:var(--ui-hud-fl-badge-size,22px);height:var(--ui-hud-fl-badge-size,22px);background:var(--ui-card-cream);color:var(--ui-card-espresso);box-sizing:border-box;border-radius:50%;justify-content:center;align-items:center;display:flex}.hud-fl-node-badge .ui-icon{width:clamp(12px, calc(var(--ui-hud-fl-badge-size) * .62), 15px);height:clamp(12px, calc(var(--ui-hud-fl-badge-size) * .62), 15px)}.hud-fl-node--home .hud-fl-node-badge{color:var(--ui-threat-red);transition:transform .15s ease-out,background-color .15s ease-out,box-shadow .15s ease-out}.hud-fl-node--home.hud-fl-node--hit .hud-fl-node-badge{box-shadow:0 0 10px 2px #e62828a6, var(--ui-soft-well-shadow);background:#ffdede;transition:transform 40ms ease-in,background-color 40ms ease-in,box-shadow 40ms ease-in;transform:scale(1.22)}.hud-fl-node--home.hud-fl-node--hit .hud-fl-node-tag{color:var(--ui-threat-red);transform:scale(1.08)}.hud-fl-node--home.hud-fl-node--critical .hud-fl-node-badge{animation:.9s ease-in-out infinite hud-fl-home-pulse}.hud-fl-node--home.hud-fl-node--critical .hud-fl-node-tag{color:var(--ui-threat-red)}@keyframes hud-fl-home-pulse{0%,to{box-shadow:var(--ui-soft-well-shadow)}50%{box-shadow:0 0 0 2px var(--ui-threat-red), var(--ui-soft-well-shadow)}}@media (min-height:960px){:root{--ui-hud-cluster-h:44px;--ui-chrome-btn-size:44px;--ui-hud-bar-inner-h:32px;--ui-hud-bar-pad-y:6px}}.hud-fl-node--gate .hud-fl-node-badge{color:#6f675c}.hud-fl-node--portal .hud-fl-node-badge{color:#ff8a80;background:#4a2020}.hud-fl-node-badge--enemy{color:var(--ui-threat-red);box-shadow:inset 0 0 0 1.5px var(--ui-threat-red), var(--ui-soft-well-shadow)}.hud-fl-node-badge--player{color:var(--ui-hp-friendly-hi);box-shadow:inset 0 0 0 1.5px var(--ui-hp-friendly-hi), var(--ui-soft-well-shadow)}.hud-fl-mini-bar{width:32px;height:var(--ui-hud-fl-mini-bar-h,5px);background:var(--ui-hud-hp-trough);margin-top:var(--ui-hud-fl-mini-bar-mt,4px);box-sizing:border-box;box-shadow:var(--ui-soft-well-shadow);border:none;border-radius:999px;position:relative;overflow:hidden}.hud-fl-mini-bar-fill{border-radius:inherit;background:var(--ui-hp-friendly-hi);height:100%;transition:width .25s,background .25s;position:absolute;top:0;left:0}.hud-fl-mini-bar-fill--enemy{background:var(--ui-threat-red)}.hud-fl-mini-bar-fill--player{background:var(--ui-hp-friendly-hi)}.hud-fl-mini-bar-fill--low{background:var(--ui-hp-friendly-warn)}.hud-fl-node-tag{font-family:var(--ui-font);font-size:var(--ui-hud-fl-tag-size,10px);color:var(--ui-card-espresso);margin-top:var(--ui-hud-fl-tag-mt,3px);white-space:nowrap;text-overflow:ellipsis;text-align:center;text-shadow:0 1px #fff9;max-width:70px;font-weight:800;line-height:1.1;overflow:hidden}@media (max-width:390px),(max-height:450px){.hud-fl-mini-bar{width:28px}}.hud-timer-block{flex-direction:column;justify-content:center;align-items:flex-start;gap:0;min-width:0;padding:0;display:flex}#hud-timer-clock{font-family:var(--ui-font);font-variant-numeric:tabular-nums;color:var(--ui-text-main);font-size:18px;font-weight:800;line-height:1}#hud-timer-sub{font-family:var(--ui-font);letter-spacing:.02em;text-transform:none;color:var(--ui-text-muted);white-space:nowrap;font-size:10px;font-weight:700;line-height:1.15}.hud-timer-block.hud-day #hud-timer-clock{color:var(--ui-text-main)}.hud-timer-block.hud-night #hud-timer-sub{color:var(--ui-faction-blue)}.hud-timer-block.hud-win #hud-timer-clock{color:var(--btn-green-bottom);font-size:18px}.hud-timer-block.hud-fail #hud-timer-clock{color:var(--ui-threat-red);font-size:18px}.hud-wall{align-items:center;gap:8px;display:flex;position:fixed;top:60px;left:50%;transform:translate(-50%)}.hud-wall .hud-bar{width:160px;height:18px}.hud-wall .hud-bar-text{font-size:11px;line-height:18px}@media (max-width:768px){.hud-bar{width:110px}.hud-hp-pill .hud-bar-text{font-size:12px}#hud-timer-clock{font-size:18px}}.hud-quest{box-sizing:border-box;width:100%;min-height:var(--ui-quest-row-h);pointer-events:none;border-radius:var(--ui-soft-bar-radius,14px);flex-flow:wrap;align-content:center;align-items:center;gap:5px 8px;padding:6px 10px;display:none;position:relative;overflow:visible}.hud-quest-side{padding:6px 10px}.hud-quest-head{flex:100%;align-items:flex-start;gap:6px;width:100%;min-width:0;display:flex}.hud-quest-badge{box-sizing:border-box;letter-spacing:.04em;white-space:nowrap;height:18px;color:var(--ui-cta-amber-d);background:color-mix(in srgb, var(--ui-cta-amber) 22%, #fff);border:none;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;padding:0 7px;font-size:10px;font-weight:800;line-height:1;display:inline-flex;box-shadow:inset 0 1px #ffffffbf}.hud-quest-side .hud-quest-badge{color:var(--ui-faction-blue);background:color-mix(in srgb, var(--ui-faction-blue) 18%, #fff)}.hud-quest-title{min-width:0;color:var(--ui-card-espresso);-webkit-line-clamp:2;line-clamp:2;text-overflow:ellipsis;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;flex:1;font-size:13px;font-weight:800;line-height:1.2;display:-webkit-box;overflow:hidden}.hud-quest-progress{flex:1 1 0;align-items:center;gap:6px;min-width:36px;display:flex}.hud-quest-slot{flex-shrink:0;place-items:center end;min-width:18px;display:grid}.hud-quest-slot>*{grid-area:1/1}.hud-quest-status{visibility:hidden;opacity:0;box-sizing:border-box;background:linear-gradient(180deg, var(--btn-green-top), var(--btn-green-bottom));color:#fff;width:18px;height:18px;box-shadow:0 2px 0 var(--btn-green-border), 0 3px 6px #0000002e;pointer-events:none;border:none;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;position:relative;transform:scale(.4)}.hud-quest-status .ui-icon{color:#fff;flex-shrink:0;width:11px;height:11px}.hud-quest-status-label{display:none}.hud-quest--done .hud-quest-count{visibility:hidden;opacity:0;transform:scale(.6)}.hud-quest--done .hud-quest-status{visibility:visible;opacity:1;animation:.35s cubic-bezier(.34,1.56,.64,1) both hud-status-pop;transform:scale(1)}.hud-quest-bar{background:var(--ui-hud-hp-trough);border-radius:999px;flex:1 1 0;min-width:16px;height:7px;position:relative;overflow:hidden}.hud-quest-bar-fill{border-radius:inherit;background:var(--ui-quest-bar-fill);width:0;height:100%;transition:width .25s ease-out,background .2s ease-out;position:absolute;top:0;left:0}.hud-quest-side .hud-quest-bar-fill{background:var(--ui-faction-blue)}.hud-quest-count{font-variant-numeric:tabular-nums;color:var(--ui-card-muted);white-space:nowrap;flex-shrink:0;font-size:11px;font-weight:800;line-height:1;transition:opacity .15s ease-out,transform .15s ease-out}.hud-quest-rewards{flex:none;order:1;align-items:center;gap:6px;display:none}.hud-quest-rewards--filled{display:inline-flex}.hud-quest-reward{color:var(--ui-card-espresso);align-items:center;gap:2px;line-height:1;display:inline-flex}.hud-quest-reward .ui-icon{width:12px;height:12px}.hud-quest-reward-amt{font-variant-numeric:tabular-nums;font-size:11px;font-weight:800}.hud-quest-chip{z-index:130;background:var(--ui-card-bg,#fffef9);pointer-events:none;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;display:flex;position:fixed;top:0;left:0;box-shadow:0 2px 8px #00000040,0 0 0 1.5px #ffffffd9}.hud-quest-chip .ui-icon{width:16px;height:16px}.hud-quest-tools{pointer-events:auto;flex-shrink:0;align-items:center;gap:4px;margin-left:auto;padding-top:1px;display:inline-flex}.hud-quest-btn{width:20px;min-width:20px;height:18px;color:var(--ui-card-espresso);pointer-events:auto;border-radius:5px;font-size:10px;font-weight:800}.hud-quest-btn:disabled,.hud-quest-btn--disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.5)}.hud-quest-btn--active{color:var(--ui-cta-amber-d);filter:brightness(1.02)}.hud-quest-drawer{box-sizing:border-box;border-radius:var(--ui-soft-bar-radius,14px);pointer-events:auto;flex-direction:column;gap:4px;width:100%;padding:6px 10px;animation:.2s ease-out hud-drawer-slide;display:none}.hud-quest-drawer--open{display:flex}.hud-quest-drawer-item{border-bottom:1px dashed #0000001a;align-items:flex-start;gap:6px;padding:3px 0;display:flex}.hud-quest-drawer-item:last-child{border-bottom:none}.hud-quest-drawer-title{min-width:0;color:var(--ui-card-espresso);-webkit-line-clamp:2;line-clamp:2;text-overflow:ellipsis;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;flex:1;font-size:11.5px;font-weight:700;line-height:1.2;display:-webkit-box;overflow:hidden}.hud-quest-drawer-progress{font-variant-numeric:tabular-nums;color:var(--ui-card-muted);font-size:11px;font-weight:800}.hud-quest-drawer-item--done .hud-quest-drawer-title{color:var(--ui-card-muted);text-decoration:line-through}.hud-quest-drawer-item--done .hud-quest-drawer-progress{color:var(--btn-green-bottom,#2ea62c)}@keyframes hud-drawer-slide{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}@media (max-width:820px),(max-height:450px),(orientation:portrait){.hud-frontline-panel,#game-hud .hud-frontline-panel{min-height:var(--ui-quest-row-h)}.hud-quest,.hud-quest-side{height:var(--ui-quest-row-h);min-height:var(--ui-quest-row-h);max-height:var(--ui-quest-row-h);align-content:space-between;gap:2px 5px;padding:3px 7px;overflow:hidden}.hud-quest-head{gap:4px}.hud-quest-title{font-size:10.5px;line-height:1.15}.hud-quest-badge{height:15px;padding:0 5px;font-size:9px}.hud-quest-count,.hud-quest-reward-amt{font-size:10px}.hud-quest-reward .ui-icon{width:11px;height:11px}.hud-quest-btn{width:18px;min-width:18px;height:16px}}@media (max-width:390px),(max-height:450px){.hud-quest,.hud-quest-side{gap:1px 4px;padding:2px 5px}.hud-quest-title{font-size:10px;line-height:1.12}.hud-quest-badge{height:14px;padding:0 5px;font-size:8.5px}.hud-quest-count,.hud-quest-reward-amt{font-size:9px}.hud-quest-bar{display:none}.hud-quest-status{width:14px;height:14px}}.hud-quest-badge--new{color:var(--btn-orange-bottom);background:color-mix(in srgb, var(--btn-orange-top) 32%, #fff);animation:1s ease-in-out 2 hud-badge-new-pulse}.hud-quest-side .hud-quest-badge--new{color:var(--ui-faction-blue);background:color-mix(in srgb, var(--ui-faction-blue) 28%, #fff)}@keyframes hud-badge-new-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.85;transform:scale(1.08)}}.hud-quest--done{z-index:2;background:var(--ui-quest-done-grad);box-shadow:0 0 0 3px var(--ui-quest-done-ring), 0 0 0 6px var(--ui-quest-done-ring-outer), var(--ui-soft-bar-shadow)}.hud-quest--done .hud-quest-bar-fill{background:var(--btn-green-bottom);width:100%}.hud-quest--done.hud-quest--ring{animation:.5s cubic-bezier(.34,1.56,.64,1) hud-quest-done-punch,.4s ease-out 2 hud-quest-done-shock}.hud-quest--done.hud-quest--ring:before{content:"";border-radius:inherit;background:linear-gradient(105deg, transparent 20%, var(--ui-quest-shimmer-hi) 45%, var(--ui-quest-done-shimmer) 50%, var(--ui-quest-shimmer-hi) 55%, transparent 80%);pointer-events:none;z-index:5;background-size:250% 100%;animation:.75s ease-out forwards hud-quest-shimmer;position:absolute;top:0;bottom:0;left:0;right:0}.hud-quest--done.hud-quest--ring .hud-quest-status:after{content:"";border:2px solid var(--btn-green-top);box-sizing:border-box;pointer-events:none;opacity:0;border-radius:999px;animation:.45s ease-out hud-status-shock;position:absolute;top:-3px;bottom:-3px;left:-3px;right:-3px}@keyframes hud-status-pop{0%{opacity:0;transform:scale(2.4)rotate(-12deg)}50%{opacity:1;transform:scale(.92)rotate(2deg)}75%{transform:scale(1.08)rotate(-1deg)}to{opacity:1;transform:scale(1)rotate(0)}}@keyframes hud-status-shock{0%{opacity:1;transform:scale(.7)}to{opacity:0;transform:scale(2.2)}}@keyframes hud-quest-shimmer{0%{opacity:0;background-position:180% 0}15%{opacity:1}85%{opacity:1}to{opacity:0;background-position:-80% 0}}@keyframes hud-quest-done-punch{0%{transform:scale(1)}22%{transform:scale(1.12)}45%{transform:scale(.97)}70%{transform:scale(1.03)}to{transform:scale(1)}}@keyframes hud-quest-done-shock{0%{box-shadow:0 0 0 3px var(--ui-quest-done-ring), 0 0 0 6px var(--ui-quest-done-ring-outer), var(--ui-soft-bar-shadow)}to{box-shadow:0 0 0 12px transparent, 0 0 0 18px transparent, var(--ui-soft-bar-shadow)}}.hud-quest--exit{pointer-events:none;animation:.35s cubic-bezier(.4,0,.2,1) forwards hud-quest-exit!important}@keyframes hud-quest-exit{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-115%)}}.hud-quest--enter{animation:.55s cubic-bezier(.16,1,.3,1) both hud-quest-enter,2s ease-out forwards hud-quest-enter-ring,.4s ease-out 2 hud-quest-new-shock}@keyframes hud-quest-enter{0%{opacity:0;transform:translate(-115%)}70%{opacity:1;transform:translate(4px)}to{opacity:1;transform:translate(0)}}@keyframes hud-quest-enter-ring{0%{box-shadow:0 0 0 3px var(--ui-quest-new-ring), 0 0 0 6px var(--ui-quest-new-ring-outer), var(--ui-soft-bar-shadow)}65%{box-shadow:0 0 0 3px var(--ui-quest-new-ring), 0 0 0 6px var(--ui-quest-new-ring-outer), var(--ui-soft-bar-shadow)}to{box-shadow:0 0 0 0 transparent, 0 0 0 0 transparent, var(--ui-soft-bar-shadow)}}@keyframes hud-quest-new-shock{0%{box-shadow:0 0 0 3px var(--ui-quest-new-ring), 0 0 0 6px var(--ui-quest-new-ring-outer), var(--ui-soft-bar-shadow)}to{box-shadow:0 0 0 12px transparent, 0 0 0 18px transparent, var(--ui-soft-bar-shadow)}}.game-floaters{pointer-events:none;z-index:90;width:100%;height:100%;position:fixed;top:0;left:0}.floater{white-space:nowrap;display:none;position:absolute;top:0;left:0}.floater.enemy-hp .fl-bar{width:40px;height:5px;box-shadow:none;background:0 0;border:none;border-radius:0;outline:none;overflow:hidden}.floater.enemy-hp .fl-fill{background:var(--ui-hp-fill,#ff5252);border-radius:0}.floater.wall-hp .fl-bar,.floater.friendly-hp .fl-bar,.floater.heart-hp .fl-bar{background:#fff8e7eb;border:1.5px solid #4a2f1d8c;border-radius:4px;width:40px;height:6px;position:relative;overflow:hidden}.floater.friendly-hp .fl-bar{width:44px;box-shadow:none}.floater.heart-hp .fl-bar{width:72px;height:8px}.floater.heart-hp .fl-fill{background:var(--ui-fire-grad)}.floater .fl-ghost{pointer-events:none;display:none}.floater .fl-fill{transform-origin:0;z-index:1;border-radius:2px;width:100%;height:100%;position:relative}.floater .fl-shimmer{z-index:2;pointer-events:none;background:linear-gradient(90deg,#0000 0%,#ffffffa6 50%,#0000 100%);width:100%;height:100%;display:none;position:absolute;top:0;left:0;transform:translate(-100%)}.floater.friendly-hp.is-healing .fl-bar{border-color:#2e8b57d9;animation:1.2s ease-in-out infinite hp-heal-pulse;box-shadow:0 0 6px #4cd964cc,0 0 2px #ffffffe6}.floater.friendly-hp.is-healing .fl-shimmer{animation:1.1s cubic-bezier(.4,0,.2,1) infinite hp-heal-shimmer;display:block}.floater.friendly-hp.is-full .fl-bar{animation:.4s ease-out forwards hp-full-flash}@keyframes hp-heal-pulse{0%,to{filter:brightness();transform:scale(1)}50%{filter:brightness(1.15)drop-shadow(0 0 3px #4cd964e6);transform:scale(1.04)}}@keyframes hp-heal-shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@keyframes hp-full-flash{0%{filter:brightness(1.3);opacity:1;transform:scale(1);box-shadow:0 0 8px #4cd964e6,0 0 12px #ffdc64cc}50%{filter:brightness(1.4);opacity:1;transform:scale(1.08);box-shadow:0 0 10px #4cd964f2,0 0 16px #fff096e6}to{box-shadow:none;filter:brightness();opacity:0;transform:scale(1)}}.floater.wall-hp .fl-fill{background:var(--ui-hp-structure-hi)}.floater.resource-info .fl-text{font-family:var(--ui-font,sans-serif);color:#fff;text-shadow:0 1px 2px #000000f2,0 0 3px #000000d9,0 2px 4px #0009;filter:drop-shadow(0 2px 3px #00000080);background:0 0;border-radius:0;padding:0;font-size:14px;font-weight:800}.floater.site-cost .fl-text{letter-spacing:.02em;color:#ffe08a;text-shadow:0 1px 3px #000000f2;background:#1810069e;border:1px solid #ffd04073;border-radius:10px;padding:4px 12px;font-size:15px;font-weight:800}.floater.hero-respawn .fl-text{font-family:var(--ui-font);letter-spacing:.04em;color:var(--ui-card-espresso);text-shadow:none;background:var(--ui-card-cream);border-radius:var(--ui-soft-bar-radius,14px);box-shadow:var(--ui-soft-bar-shadow);border:none;padding:4px 10px;font-size:14px;font-weight:800}.floater.worker-emoji-bubble{background:var(--ui-card-cream);width:28px;height:28px;box-shadow:var(--ui-soft-chrome-shadow);pointer-events:none;z-index:100;border:none;border-radius:50%;justify-content:center;align-items:center;font-size:16px;line-height:1;transition:opacity .25s;display:flex;position:absolute}.floater.worker-emoji-bubble:before{content:"";border-left:4px solid #0000;border-right:4px solid #0000;border-top:5px solid var(--ui-soft-chrome-plate,#d4c4a8);width:0;height:0;position:absolute;bottom:-5px;left:50%;transform:translate(-50%)}.floater.worker-emoji-bubble:after{content:"";border-left:3px solid #0000;border-right:3px solid #0000;border-top:4px solid var(--ui-card-cream);width:0;height:0;position:absolute;bottom:-3px;left:50%;transform:translate(-50%)}.floater.worker-emoji-bubble .bubble-icon{justify-content:center;align-items:center;animation:.35s cubic-bezier(.18,.89,.32,1.28) forwards workerBubblePopIn;display:inline-flex}@keyframes workerBubblePopIn{0%{opacity:0;transform:scale(.3)}70%{opacity:1;transform:scale(1.25)}to{opacity:1;transform:scale(1)}}.recruitment-rail{left:50%;top:calc(100% - var(--ui-rail-top,92px) - env(safe-area-inset-bottom,0px));top:calc(100dvh - var(--ui-rail-top,92px) - env(safe-area-inset-bottom,0px));z-index:105;-webkit-user-select:none;user-select:none;pointer-events:none;font-family:var(--ui-font);flex-direction:row;align-items:flex-start;gap:10px;display:flex;position:fixed;bottom:auto;transform:translate(-50%)}body.has-building-dock .recruitment-rail{gap:8px;transform:translate(-50%)}body.has-building-dock .rr-tile{height:40px;max-height:40px}body.has-building-dock .rr-tile__avatar{flex:none;align-items:flex-start;height:20px;max-height:20px;padding-top:0;overflow:hidden}body.has-building-dock .rr-tile__avatar .armory-unit-img{object-fit:contain;width:33px;height:36px;transform:translateY(-2.5px)}body.has-building-dock .rr-tile__avatar .armory-unit-svg{width:29px;height:32px;transform:translateY(-2.2px)}body.has-building-dock .rr-tile__cost{height:17px;font-size:10px}body.has-building-dock .rr-tile__queue-badge{font-size:15px;top:11px}body.has-building-dock .rr-tile__cancel-btn{width:14px;height:14px;font-size:8px;top:-4px;right:-4px}body.has-building-dock .recruitment-rail.rr--has-workers.rr--has-troops .rr-section--troops:before{height:32px}.recruitment-rail:has(.rr-tile--guided){z-index:180}.recruitment-rail>*{pointer-events:auto}.rr-section{flex-direction:row;align-items:flex-start;gap:5px;display:flex}.recruitment-rail.rr--has-workers.rr--has-troops .rr-section--troops{padding-left:8px;position:relative}.recruitment-rail.rr--has-workers.rr--has-troops .rr-section--troops:before{content:"";pointer-events:none;background:linear-gradient(#0000,#d4c4a8d9 20% 80%,#0000);width:1.5px;height:48px;transition:height .22s cubic-bezier(.16,1,.3,1);position:absolute;top:4px;left:-2px}.rr-cap{box-sizing:border-box;width:20px;height:68px;color:var(--ui-card-espresso,#3b2a1a);font-variant-numeric:tabular-nums;pointer-events:none;-webkit-user-select:none;user-select:none;background:#ede3ce;border:1.5px solid #d4c4a8;border-radius:999px;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:3px;padding:5px 0;transition:height .22s cubic-bezier(.2,.9,.3,1),width .22s cubic-bezier(.2,.9,.3,1),padding .22s cubic-bezier(.2,.9,.3,1);display:inline-flex;box-shadow:inset 0 1px 2px #3c281438,0 1px #fff9}body.has-building-dock .rr-cap{gap:1px;height:40px;max-height:40px;padding:2px 0;overflow:hidden}.rr-cap__icon{flex-shrink:0;justify-content:center;align-items:center;line-height:1;display:inline-flex}.rr-cap__icon .ui-icon{width:12px;height:12px}body.has-building-dock .rr-cap__icon .ui-icon{width:10px;height:10px}.rr-cap__val{font-variant-numeric:tabular-nums;flex-direction:column;justify-content:center;align-items:center;gap:0;font-weight:900;line-height:1;display:flex}.rr-cap__num{color:var(--ui-card-espresso,#3b2a1a);font-size:10px;font-weight:900;line-height:1.1}.rr-cap__num--max{opacity:.75}.rr-cap__sep{opacity:.45;font-size:8px;line-height:.8;display:block;transform:scale(.85)}body.has-building-dock .rr-cap__num{font-size:8.5px;line-height:1}body.has-building-dock .rr-cap__sep{font-size:7px;line-height:.7;transform:scale(.75)}.rr-grid{flex-direction:row;align-items:flex-start;gap:5px;display:flex}.rr-tile{box-sizing:border-box;background:var(--ui-card-cream,#fdf8eb);width:50px;height:68px;color:var(--ui-card-espresso,#3b2a1a);cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:none;border:1.5px solid #d4c4a8;border-radius:7px;outline:none;flex-direction:column;justify-content:space-between;align-items:stretch;padding:0;transition:height .22s cubic-bezier(.2,.9,.3,1),transform .1s,filter .1s,box-shadow .1s;display:flex;position:relative;overflow:visible;box-shadow:0 3px 8px #00000029,0 1px 2px #00000014}.rr-tile:hover:not(.rr-tile--disabled){filter:brightness(1.04);transform:translateY(-1px);box-shadow:0 5px 12px #0003,0 1px 3px #0000001a}.rr-tile:active:not(.rr-tile--disabled){filter:brightness(.96);transform:translateY(1px)!important;box-shadow:0 1px 3px #00000038!important}.rr-tile>:not(.rr-tile__cancel-btn){pointer-events:none}.rr-tile__avatar{box-sizing:border-box;z-index:1;background:linear-gradient(#fdf8eb 0%,#f3e8d3 100%);border-radius:5px 5px 0 0;flex:1;justify-content:center;align-items:flex-start;width:100%;min-height:0;padding-top:1px;transition:height .22s cubic-bezier(.2,.9,.3,1),max-height .22s cubic-bezier(.2,.9,.3,1);display:flex;position:relative;overflow:hidden}.rr-tile__avatar .armory-unit-img{object-fit:contain;filter:drop-shadow(0 2px 3px #0000002e);-webkit-user-select:none;user-select:none;width:42px;height:46px;transition:width .22s cubic-bezier(.2,.9,.3,1),height .22s cubic-bezier(.2,.9,.3,1),transform .22s cubic-bezier(.2,.9,.3,1)}.rr-tile__avatar .armory-unit-svg{filter:drop-shadow(0 2px 2px #00000024);-webkit-user-select:none;user-select:none;width:38px;height:42px;transition:width .22s cubic-bezier(.2,.9,.3,1),height .22s cubic-bezier(.2,.9,.3,1)}.rr-tile__queue-badge{font-variant-numeric:tabular-nums;color:#fff;text-shadow:0 2px 4px #000000e6,0 0 3px #000,1.5px 1.5px #1b120c,-1.5px -1.5px #1b120c,1.5px -1.5px #1b120c,-1.5px 1.5px #1b120c;z-index:10;pointer-events:none;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;font-size:24px;font-weight:900;line-height:1;animation:.16s cubic-bezier(.175,.885,.32,1.275) rr-num-pop;display:none;position:absolute;top:27px;left:50%;transform:translate(-50%,-50%)}@keyframes rr-num-pop{0%{opacity:0;transform:translate(-50%,-50%)scale(.6)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}.rr-tile__progress-wrap{pointer-events:none;z-index:6;border-radius:5px 5px 0 0;width:100%;display:none;position:absolute;top:0;bottom:20px;left:0;overflow:hidden}.rr-tile__cancel-btn{box-sizing:border-box;color:#fff;cursor:pointer;touch-action:none;z-index:12;background:#d63c2a;border:1.5px solid #fff;border-radius:50%;outline:none;justify-content:center;align-items:center;width:18px;height:18px;padding:0;font-size:10px;font-weight:900;line-height:1;transition:transform 80ms,background-color 80ms;animation:.18s cubic-bezier(.175,.885,.32,1.275) rr-cancel-pop;display:inline-flex;position:absolute;top:-6px;left:auto;right:-6px;transform:none;box-shadow:0 2px 5px #00000059}@keyframes rr-cancel-pop{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.rr-tile__cancel-btn:hover{background:#ea4532;transform:scale(1.15)}.rr-tile__cancel-btn:active{transform:scale(.92)}.rr-tile--hit{animation:.28s cubic-bezier(.175,.885,.32,1.275) rr-tile-hit-punch}@keyframes rr-tile-hit-punch{0%{transform:scale(1)}35%{transform:scale(1.12)}to{transform:scale(1)}}.rr-tile__cost{box-sizing:border-box;width:100%;height:20px;color:var(--ui-card-espresso,#3b2a1a);font-variant-numeric:tabular-nums;white-space:nowrap;z-index:2;background:#e2ceb0;border-top:1.5px solid #d4c4a8;border-radius:0 0 5px 5px;justify-content:center;align-items:center;gap:3px;padding:0 4px;font-size:11px;font-weight:900;transition:height .22s cubic-bezier(.2,.9,.3,1),font-size .22s cubic-bezier(.2,.9,.3,1);display:inline-flex;position:relative}.rr-tile__cost .ui-icon,.rr-tile__cost-icon{flex-shrink:0;width:12px;height:12px}.rr-tile__cost-val{font-weight:900;line-height:1}.rr-tile--free .rr-tile__cost{color:var(--btn-green-bottom,#4c962e);background:#ddecd2;border-top-color:#bad3ab;font-weight:900}.rr-tile--disabled{opacity:.55;filter:grayscale(.5);cursor:not-allowed}.rr-tile--disabled:hover{filter:grayscale(.5);transform:none;box-shadow:0 3px 8px #00000029,0 1px 2px #00000014}.rr-tile--pending-arrival{opacity:0!important;visibility:hidden!important;pointer-events:none!important}.rr-tile--guided{z-index:10;animation:2s ease-in-out infinite rr-tile-guided-breathe;position:relative;border-color:#f5c842!important}.rr-tile--guided:after{content:"";pointer-events:none;z-index:12;filter:drop-shadow(0 3px 5px #0006)drop-shadow(0 0 8px #ffd700bf);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 36' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='16' y1='1' x2='16' y2='32' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0%25' stop-color='%23FFF9A6'/%3E%3Cstop offset='25%25' stop-color='%23FFD633'/%3E%3Cstop offset='80%25' stop-color='%23FF9E0D'/%3E%3Cstop offset='100%25' stop-color='%23E67300'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M 11.5 3 C 11.5 1.9 12.4 1 13.5 1 L 18.5 1 C 19.6 1 20.5 1.9 20.5 3 L 20.5 15.5 L 26.8 15.5 C 28.3 15.5 29.1 17.3 28.1 18.4 L 17.3 30.8 C 16.6 31.6 15.4 31.6 14.7 30.8 L 3.9 18.4 C 2.9 17.3 3.7 15.5 5.2 15.5 L 11.5 15.5 Z' fill='url(%23g)' stroke='%23FFFFFF' stroke-width='2.8' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") 50%/contain no-repeat;width:26px;height:30px;animation:1.1s cubic-bezier(.25,1,.5,1) infinite rr-tile-guide-arrow;position:absolute;bottom:calc(100% + 5px);left:50%;transform:translate(-50%)}body.has-building-dock .rr-tile--guided:after{width:20px;height:24px;bottom:calc(100% + 2px)}.rr-tile--guided:before{content:"";pointer-events:none;z-index:4;background:linear-gradient(115deg,#0000 0% 35%,#fff5b466 45%,#ffffffd9 50%,#fff5b466 55%,#0000 65% 100%) 0 0/250% 250%;border-radius:5px;animation:2.2s cubic-bezier(.4,0,.2,1) infinite rr-tile-shimmer-sweep;position:absolute;top:0;bottom:0;left:0;right:0}.rr-tile--guided .rr-tile__cost{animation:2s ease-in-out infinite rr-tile-cost-breathe;box-shadow:0 0 8px #ffd70080}@keyframes rr-tile-guide-arrow{0%,to{transform:translate(-50%)translateY(0)scale(1)}30%{transform:translate(-50%)translateY(-7px)scale(.96,1.04)}50%{transform:translate(-50%)translateY(-9px)scale(1)}75%{transform:translate(-50%)translateY(3px)scale(1.08,.92)}88%{transform:translate(-50%)translateY(-2px)scale(.98,1.02)}}@keyframes rr-tile-guided-breathe{0%,to{border-color:#f5c842;transform:scale(1);box-shadow:0 0 10px #ffd70080,0 3px 8px #00000029}50%{border-color:#ffe066;transform:scale(1.03);box-shadow:0 0 18px #ffd700d9,0 0 26px #ffbe1e73,0 5px 12px #00000038}}@keyframes rr-tile-shimmer-sweep{0%{opacity:0;background-position:200% 200%}15%{opacity:1}60%{opacity:1;background-position:-50% -50%}75%,to{opacity:0;background-position:-50% -50%}}@keyframes rr-tile-cost-breathe{0%,to{filter:brightness()}50%{filter:brightness(1.15)saturate(1.1)}}.res-flight-particle{z-index:9999;pointer-events:none;justify-content:center;align-items:center;display:inline-flex;position:fixed}.res-refund-float{z-index:9999;pointer-events:none;color:#44b826;text-shadow:0 1px 3px #0009,0 0 1px #fff;font-size:13px;font-weight:900;animation:.6s ease-out forwards res-refund-rise;position:fixed}@keyframes res-refund-rise{0%{opacity:0;transform:translate(-50%,-50%)translateY(0)scale(.8)}20%{opacity:1;transform:translate(-50%,-50%)translateY(-6px)scale(1.1)}to{opacity:0;transform:translate(-50%,-50%)translateY(-28px)scale(.95)}}.unlock-card-flight-token{z-index:9999;pointer-events:none;background:var(--ui-card-cream,#fdf8eb);box-sizing:border-box;opacity:1;contain:layout style paint;-webkit-backface-visibility:hidden;backface-visibility:hidden;border:2px solid #f0c84a;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;width:46px;height:62px;display:flex;position:fixed;top:0;left:0;overflow:hidden;transform:translate(0,0)translate(-50%,-50%)scale(.01);box-shadow:0 2px 6px #00000047}.unlock-card-flight-token .armory-unit-img,.unlock-card-flight-token .armory-unit-svg{object-fit:contain;filter:none;width:40px;height:44px}@media (max-width:600px),(max-height:450px){.recruitment-rail{top:calc(100% - var(--ui-rail-top,80px) - env(safe-area-inset-bottom,0px));top:calc(100dvh - var(--ui-rail-top,80px) - env(safe-area-inset-bottom,0px));gap:6px;bottom:auto;transform:translate(-50%)}body.has-building-dock .recruitment-rail{transform:translate(-50%)}.rr-tile{border-radius:6px;width:44px;height:60px}.rr-tile__avatar .armory-unit-img,.rr-tile__avatar .armory-unit-svg{width:36px;height:40px}.rr-tile__queue-badge{font-size:16px;top:20px}.rr-tile__cancel-btn{width:15px;height:15px;font-size:8px;top:-5px;right:-5px}.rr-tile__cost{gap:2px;height:15px;padding:0 2px;font-size:9px}.rr-tile__cost .ui-icon,.rr-tile__cost-icon{width:8px;height:8px}body.has-building-dock .rr-tile{width:38px;height:34px;max-height:34px}body.has-building-dock .rr-tile__avatar{align-items:flex-start;height:17px;max-height:17px;padding-top:0;overflow:hidden}body.has-building-dock .rr-tile__avatar .armory-unit-img{object-fit:contain;width:27px;height:30px;transform:translateY(-2px)}body.has-building-dock .rr-tile__avatar .armory-unit-svg{width:24px;height:26px;transform:translateY(-1.8px)}body.has-building-dock .rr-tile__cost{height:14px;font-size:8px}.rr-cap{width:18px;height:60px;padding:4px 0}.rr-cap__icon .ui-icon{width:10px;height:10px}.rr-cap__num{font-size:9px}body.has-building-dock .rr-cap{width:18px;height:34px;max-height:34px;padding:2px 0;overflow:hidden}body.has-building-dock .rr-cap__icon .ui-icon{width:9px;height:9px}body.has-building-dock .rr-cap__num{font-size:7.5px}}#heart-detail-panel,.hd-world-cta{top:auto;bottom:max(var(--ui-dock-bottom,8px), env(safe-area-inset-bottom,0px));z-index:190;pointer-events:none;font-family:var(--ui-font);-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;gap:6px;animation:.15s cubic-bezier(.16,1,.3,1) ba-context-bar-fade-in;display:flex;position:fixed;left:50%;transform:translate(-50%)}#heart-detail-panel>*,.hd-world-cta>*{pointer-events:auto}.hd-body{pointer-events:auto;justify-content:center;align-items:center;gap:6px;display:flex}#upgrade-success-toast.ui-soft-bar{z-index:500;pointer-events:none;border-radius:var(--ui-soft-bar-radius,14px);font:800 15px/1.25 var(--ui-font);color:#b35f14;opacity:0;padding:8px 18px;transition:opacity .2s,transform .2s;position:fixed;top:22%;left:50%;transform:translate(-50%)translateY(8px)}#upgrade-success-toast.ust--show{opacity:1;transform:translate(-50%)translateY(0)}#upgrade-success-toast.ust--hide{opacity:0;transform:translate(-50%)translateY(-6px)}#narrative-lighting-toast{z-index:146;pointer-events:none;border-radius:var(--ui-soft-bar-radius,14px);font:800 16px/1.25 var(--ui-font);color:#fff8f0;opacity:0;padding:10px 22px;transition:opacity .2s,transform .2s;position:fixed;top:12%;left:50%;transform:translate(-50%)translateY(-6px)}#narrative-lighting-toast.nlt--threat{background:linear-gradient(180deg, color-mix(in srgb, var(--ui-threat-red) 88%, #fff), var(--ui-threat-red));box-shadow:0 3px 0 color-mix(in srgb, var(--ui-threat-red) 55%, #3a1010), 0 8px 18px #00000059}#narrative-lighting-toast.nlt--dawn{color:#5a3a12;background:linear-gradient(180deg, color-mix(in srgb, var(--ui-cta-amber) 75%, #fff), var(--ui-cta-amber));box-shadow:0 3px 0 color-mix(in srgb, var(--ui-cta-amber) 45%, #6a4010), 0 8px 18px #00000038}#narrative-lighting-toast.nlt--show{opacity:1;transform:translate(-50%)translateY(0)}#narrative-lighting-toast.nlt--hide{opacity:0;transform:translate(-50%)translateY(-6px)}#raid-alert-banner{z-index:145;pointer-events:none;border-radius:var(--ui-soft-bar-radius,14px);font:800 16px/1.25 var(--ui-font);color:#fff8f0;background:linear-gradient(180deg, color-mix(in srgb, var(--ui-threat-red) 88%, #fff), var(--ui-threat-red));box-shadow:0 3px 0 color-mix(in srgb, var(--ui-threat-red) 55%, #3a1010), 0 8px 18px #00000059;opacity:0;border:none;padding:10px 22px;transition:opacity .2s,transform .2s;position:fixed;top:12%;left:50%;transform:translate(-50%)translateY(-6px)}#raid-alert-banner.raid-alert--show{opacity:1;transform:translate(-50%)translateY(0)}#base-alert-banner{z-index:146;pointer-events:none;border-radius:var(--ui-soft-bar-radius,14px);font:900 17px/1.25 var(--ui-font);letter-spacing:.5px;color:#fff;opacity:0;background:linear-gradient(#ff453a,#b81414);border:1.5px solid #ffffff73;padding:10px 24px;transition:opacity .2s,transform .2s,top .2s;position:fixed;top:12%;left:50%;transform:translate(-50%)translateY(-6px);box-shadow:0 4px #5c0b0b,0 0 20px #ff3b30a6,0 8px 24px #00000080}#base-alert-banner.base-alert--offset{top:calc(12% + 54px)}#base-alert-banner.base-alert--show{opacity:1;animation:.85s ease-in-out infinite alternate baseAlertPulse;transform:translate(-50%)translateY(0)}@keyframes baseAlertPulse{0%{transform:translate(-50%)scale(1);box-shadow:0 4px #5c0b0b,0 0 16px #ff3b3080,0 8px 20px #0006}to{transform:translate(-50%)scale(1.05);box-shadow:0 4px #5c0b0b,0 0 28px #ff3b30e6,0 8px 28px #0009}}.game-joystick{--joy-size:var(--ui-joy-size);--joy-thumb:var(--ui-joy-thumb);box-sizing:border-box;width:var(--joy-size);height:var(--joy-size);left:var(--ui-joy-inset);bottom:var(--ui-joy-inset);pointer-events:auto;z-index:var(--ui-joy-z);background:var(--ui-joy-ring-fill);border:2px solid var(--ui-joy-ring-stroke);box-shadow:none;touch-action:none;-webkit-user-select:none;user-select:none;cursor:pointer;opacity:.85;border-radius:50%;transition:opacity .2s;display:block;position:fixed;top:auto}@media (hover:hover) and (pointer:fine){.game-joystick{display:none!important}}.game-joystick:hover,.game-joystick.game-joystick--active{opacity:1}.game-joystick.game-joystick--active .game-joystick-thumb{will-change:transform}.game-joystick-arrows{pointer-events:none;position:absolute;top:0;bottom:0;left:0;right:0}.game-joystick-arrow{width:0;height:0;filter:drop-shadow(0 1px 0 var(--ui-joy-arrow-edge));border-style:solid;position:absolute}.game-joystick-arrow--n{border-width:0 7px 10px;border-color:transparent transparent var(--ui-joy-arrow-fill);top:12px;left:50%;transform:translate(-50%)}.game-joystick-arrow--e{border-width:7px 0 7px 10px;border-color:transparent transparent transparent var(--ui-joy-arrow-fill);top:50%;right:12px;transform:translateY(-50%)}.game-joystick-arrow--s{border-width:10px 7px 0;border-color:var(--ui-joy-arrow-fill) transparent transparent;bottom:12px;left:50%;transform:translate(-50%)}.game-joystick-arrow--w{border-width:7px 10px 7px 0;border-color:transparent var(--ui-joy-arrow-fill) transparent transparent;top:50%;left:12px;transform:translateY(-50%)}@media (max-width:390px),(max-height:430px){.game-joystick-arrow--n{border-width:0 5px 8px;top:8px}.game-joystick-arrow--e{border-width:5px 0 5px 8px;right:8px}.game-joystick-arrow--s{border-width:8px 5px 0;bottom:8px}.game-joystick-arrow--w{border-width:5px 8px 5px 0;left:8px}}.game-joystick-thumb{box-sizing:border-box;width:var(--joy-thumb);height:var(--joy-thumb);background:var(--ui-joy-thumb-fill);border:2px solid var(--ui-joy-thumb-stroke);border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 1px #5c40330f}#building-action-title,.ba-world-cta,#heart-detail-panel,.hd-world-cta{z-index:141;pointer-events:none;font-family:var(--ui-font);-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;gap:6px;margin:0;display:flex;position:fixed;top:0;left:0;transform:translate(-50%,-100%)}#building-action-title.ba-world-cta--bottom,.ba-world-cta--bottom,#heart-detail-panel.hd-world-cta--bottom,.hd-world-cta--bottom{top:auto;bottom:max(var(--ui-dock-bottom,8px), env(safe-area-inset-bottom,0px));z-index:190;width:max-content;max-width:calc(100vw - 16px);animation:.15s cubic-bezier(.16,1,.3,1) ba-context-bar-fade-in;position:fixed;left:50%;transform:translate(-50%)}#building-action-title.ba-world-cta--bottom.ba-dock--pending-layout,.ba-world-cta--bottom.ba-dock--pending-layout,#heart-detail-panel.hd-world-cta--bottom.ba-dock--pending-layout,.hd-world-cta--bottom.ba-dock--pending-layout{opacity:0;pointer-events:none;animation:none!important}@keyframes ba-context-bar-fade-in{0%{opacity:0;transform:translate(-50%)translateY(8px)scale(.96)}to{opacity:1;transform:translate(-50%)translateY(0)scale(1)}}#building-action-title>*,.ba-world-cta>*,#heart-detail-panel>*,.hd-world-cta>*{pointer-events:auto}.ba-world-plate{box-sizing:border-box;width:max-content;max-width:100%;height:var(--ba-dock-height,40px);background:var(--ui-card-cream,#fdf8eb);box-shadow:0 2px 0 var(--ui-soft-chrome-plate,#d4c4a8), 0 5px 14px #00000038;-webkit-user-select:none;user-select:none;pointer-events:auto;border-radius:999px;flex-shrink:0;align-items:center;gap:3px;padding:3px 4px;display:inline-flex}.ba-level-inset{box-sizing:border-box;height:34px;color:var(--ui-card-espresso,#3b2a1a);font-family:var(--ui-font);letter-spacing:.02em;font-variant-numeric:tabular-nums;pointer-events:auto;background:#ede3ce;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;gap:5px;padding:0 6px 0 10px;font-size:12px;font-weight:900;line-height:1;display:inline-flex;box-shadow:inset 0 1px 2px #3c281438,0 1px #fff9}.ba-level-name{letter-spacing:.01em;white-space:nowrap;text-overflow:ellipsis;max-width:9.5em;font-size:12px;font-weight:900;overflow:hidden}.ba-lv-badge{box-sizing:border-box;height:22px;color:var(--ui-card-espresso,#3b2a1a);font-family:var(--ui-font);font-variant-numeric:tabular-nums;letter-spacing:.02em;white-space:nowrap;background:#ffffff8c;border:none;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;gap:3px;padding:0 7px;font-size:11px;font-weight:900;line-height:1;display:inline-flex;box-shadow:inset 0 1px #ffffffb3}.ba-lv-badge--action,.ba-perk-toggle.ba-lv-badge{color:#fff;cursor:pointer;text-shadow:0 1px 1px #78320040;-webkit-tap-highlight-color:transparent;background:linear-gradient(#ffa32b 0%,#ee7d13 70%);padding:0 8px;transition:transform 80ms,filter 80ms,box-shadow 80ms;box-shadow:0 1px #a84e03}.ba-lv-badge--action:hover,.ba-perk-toggle.ba-lv-badge:hover{filter:brightness(1.06)}.ba-lv-badge--action:active,.ba-lv-badge--open,.ba-perk-toggle.ba-lv-badge:active{filter:brightness(.96);transform:translateY(1px);box-shadow:0 0 #0000}.ba-world-actions{pointer-events:auto;flex-shrink:0;justify-content:center;align-items:center;gap:3px;display:inline-flex}.ba-intro-row{justify-content:center;align-items:center;gap:4px;display:inline-flex}.ba-intro{background:var(--ui-card-cream,#fdf8eb);box-shadow:0 2px 0 var(--ui-soft-chrome-plate,#d4c4a8), 0 4px 10px #0003;color:var(--ui-card-espresso,#3b2a1a);font-family:var(--ui-font);white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:4px 10px;font-size:12px;font-weight:800;display:inline-flex}.ba-intro-name{letter-spacing:.02em;font-size:13px;font-weight:900}.ui-lv-pill{color:var(--ui-card-espresso,#3b2a1a);font-variant-numeric:tabular-nums;align-items:center;font-size:11px;font-weight:900;display:inline-flex}.ba-intro-sub{color:var(--ui-card-muted,#7e6f5d);margin-left:2px;font-size:11px;font-weight:700}.ba-perk-info{box-sizing:border-box;background:var(--ui-card-peach,#e07020);color:#fff;width:18px;min-width:18px;height:18px;min-height:18px;font-family:var(--ui-font);cursor:pointer;box-shadow:0 1px 0 var(--ui-card-btn-plate,#b04e0a);pointer-events:auto;-webkit-tap-highlight-color:transparent;border:none;border-radius:50%;outline:none;flex-shrink:0;justify-content:center;align-items:center;margin:0;padding:0;font-size:11px;font-style:italic;font-weight:900;line-height:1;transition:transform 80ms,background .15s,filter 80ms;display:inline-flex}.ba-perk-info:hover{filter:brightness(1.1);transform:scale(1.1)}.ba-perk-info:active,.ba-perk-info--open{background:var(--ui-cta-amber,#e8982c);transform:scale(.95)}.ba-perks-panel{box-sizing:border-box;background:var(--ui-card-cream,#fdf8eb);box-shadow:0 3px 0 var(--ui-soft-chrome-plate,#d4c4a8), 0 8px 20px #00000040;color:var(--ui-card-espresso,#3b2a1a);font-family:var(--ui-font);pointer-events:auto;border-radius:14px;flex-direction:column;align-items:stretch;gap:6px;min-width:200px;max-width:280px;padding:8px 10px;animation:.15s cubic-bezier(.16,1,.3,1) ba-perks-fade-in;display:flex}.ba-perks-panel[hidden]{display:none!important}@keyframes ba-perks-fade-in{0%{opacity:0;transform:translateY(-4px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}.ba-perks-group{flex-direction:column;gap:6px;display:flex}.ba-perks-title{color:var(--ui-card-muted,#7e6f5d);text-align:center;letter-spacing:.04em;font-size:11px;font-weight:900}.hd-perks{flex-direction:column;gap:4px;display:flex}.hd-perk-card{box-sizing:border-box;background:#0000000a;border:1px solid #0000000f;border-radius:8px;flex-direction:column;gap:2px;padding:5px 8px;display:flex}.hd-perk-head{align-items:center;gap:4px;line-height:1;display:flex}.hd-perk-icon{font-size:13px;line-height:1}.hd-perk-title{color:var(--ui-card-espresso,#3b2a1a);font-size:11px;font-weight:800}.hd-perk-val{font-variant-numeric:tabular-nums;align-items:center;gap:4px;padding-left:17px;font-size:12px;font-weight:900;display:flex}.hd-val-cur{color:var(--ui-card-muted,#7e6f5d)}.hd-val-arrow{color:var(--ui-cta-amber,#e8982c);font-size:10px}.hd-val-next{color:#3b9e1b}.hd-perk-sub{color:var(--ui-card-muted,#7e6f5d);padding-left:17px;font-size:10px;font-weight:700;line-height:1.2}.ba-action,.ba-action.ui-soft-cta{box-sizing:border-box;white-space:nowrap;color:#fff;height:34px;font-family:var(--ui-font);cursor:pointer;-webkit-tap-highlight-color:transparent;text-shadow:0 1px 1px #0f41144d;background:linear-gradient(#4ade80 0%,#22c55e 70%);border:none;border-radius:999px;outline:none;flex-direction:row;flex-shrink:0;justify-content:center;align-items:center;gap:5px;padding:0 10px;font-size:13px;line-height:1;transition:transform 80ms,filter 80ms,box-shadow 80ms;display:inline-flex;position:relative;overflow:hidden;min-height:34px!important;box-shadow:0 2px #15803d!important}.ba-dock--stack .ba-action,.ba-dock--stack .ba-action.ui-soft-cta{flex-direction:column;gap:1px;padding:2px 10px;font-size:12px}.ba-action-fill,.ui-soft-fill{pointer-events:none;z-index:1;border-radius:inherit;opacity:0;background:linear-gradient(#ffa32b 0%,#ee7d13 70%);width:0;transition:width 80ms linear;position:absolute;top:0;bottom:0;left:0;box-shadow:inset -1px 0 #fff6}.ba-action-fill--active,.ui-soft-fill--active{opacity:1}.ba-action>:not(.ba-action-fill):not(.ui-soft-fill){z-index:2;pointer-events:none;position:relative}.ba-action.ui-soft-cta--amber{text-shadow:0 1px 1px #78320040;background:linear-gradient(#ffa32b 0%,#ee7d13 70%);box-shadow:0 2px #a84e03!important}.ba-action.ui-soft-cta--rose{text-shadow:0 1px 1px #0032642e;background:linear-gradient(#7ec8ef 0%,#5eb8e8 70%);box-shadow:0 2px #2f87b8!important}.ba-action:hover:not(.ba-action--disabled):not(:disabled),.ba-action.ui-soft-cta:hover:not(.ba-action--disabled):not(:disabled){filter:brightness(1.04)}.ba-action:active:not(.ba-action--disabled):not(:disabled),.ba-action.ui-soft-cta:active:not(.ba-action--disabled):not(:disabled),.ba-action.ui-soft-cta--down:not(.ba-action--disabled):not(:disabled){filter:brightness(.96);transform:translateY(2px)!important;box-shadow:0 0 #0000!important}@keyframes baActionPulse{0%{transform:scale(.93)translateY(2px)}45%{filter:brightness(1.22);transform:scale(1.05)translateY(-1px)}to{filter:brightness();transform:scale(1)translateY(0)}}.ba-action--pulse:not(.ba-action--disabled):not(:disabled){animation:.3s cubic-bezier(.175,.885,.32,1.275) baActionPulse!important}.ba-action--disabled,.ba-action.ui-soft-cta--disabled,.ba-action:disabled{opacity:.6;filter:grayscale(.5);cursor:not-allowed;transform:none!important}.ba-action--disabled:hover,.ba-action.ui-soft-cta--disabled:hover,.ba-action:disabled:hover{filter:grayscale(.5);transform:none!important}.ba-title{white-space:nowrap;justify-content:center;align-items:center;gap:3px;line-height:1;display:inline-flex}.ba-cost{white-space:nowrap;justify-content:center;align-items:center;gap:4px;line-height:1;display:inline-flex}.ba-cost:empty{display:none}.ba-cost-item{font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:2px;font-size:12px;font-weight:800;display:inline-flex}.ba-dock--stack .ba-cost-item{font-size:10px}.ba-cost-icon-wrap{align-items:center;display:inline-flex}.ba-cost-icon-wrap .ui-icon{width:12px;height:12px}.ba-dock--stack .ba-cost-icon-wrap .ui-icon{width:11px;height:11px}.ba-cost-val{font-size:12px;font-weight:800}.ba-dock--stack .ba-cost-val{font-size:10px}.ba-detail{font-variant-numeric:tabular-nums;letter-spacing:.02em;opacity:.95;white-space:nowrap;font-size:12px;font-weight:800}.ba-dock--stack .ba-detail{font-size:10px}.ba-label{letter-spacing:.02em;white-space:nowrap;font-size:13px;font-weight:900;line-height:1}.ba-dock--stack .ba-label{font-size:11px}.ba-icon{white-space:nowrap;font-size:13px;line-height:1}.ba-dock--stack .ba-icon{font-size:11px}.ba-dock-hint--maxed{box-sizing:border-box;background:var(--ui-card-cream,#fdf8eb);height:44px;color:var(--ui-card-muted,#7e6f5d);box-shadow:0 2px 0 var(--ui-soft-chrome-plate,#d4c4a8), 0 4px 8px #00000026;border-radius:999px;justify-content:center;align-items:center;padding:0 16px;font-size:14px;font-weight:800;display:inline-flex}.ba-assign{background:var(--ui-card-cream,#fdf8eb);box-shadow:0 2px 0 var(--ui-soft-chrome-plate,#d4c4a8), 0 4px 10px #0000002e;border-radius:12px;flex-direction:column;align-items:center;gap:4px;padding:6px 10px;display:flex}.ba-assign-sum{color:var(--ui-card-espresso,#3b2a1a);font-size:11px;font-weight:800}.ba-assign-grid{align-items:center;gap:8px;display:flex}.ba-assign-row{align-items:center;gap:3px;display:flex}.ba-assign-label{color:var(--ui-card-espresso,#3b2a1a);align-items:center;gap:2px;font-size:11px;font-weight:800;display:inline-flex}.ba-assign-label .ui-icon{width:12px;height:12px}.ba-assign-btn{background:var(--ui-card-peach,#e07020);color:#fff;cursor:pointer;width:22px;height:22px;box-shadow:0 1px 0 var(--ui-card-btn-plate,#b04e0a);border:none;border-radius:6px;outline:none;justify-content:center;align-items:center;font-size:13px;font-weight:900;display:inline-flex}.ba-assign-val{text-align:center;min-width:12px;color:var(--ui-card-espresso,#3b2a1a);font-variant-numeric:tabular-nums;font-size:12px;font-weight:800}.ba-slot-card{align-items:center;gap:4px;display:inline-flex;position:relative}.ba-slot-btn{background:var(--ui-card-cream,#fdf8eb);height:36px;box-shadow:0 2px 0 var(--ui-soft-chrome-plate,#d4c4a8), 0 4px 8px #0000002e;color:var(--ui-card-espresso,#3b2a1a);font-family:var(--ui-font);cursor:pointer;border:none;border-radius:999px;align-items:center;gap:4px;padding:0 12px;font-size:14px;font-weight:800;display:inline-flex}@media (max-width:600px),(max-height:450px){#building-action-title.ba-world-cta--bottom,.ba-world-cta--bottom,#heart-detail-panel.hd-world-cta--bottom,.hd-world-cta--bottom{bottom:max(var(--ui-dock-bottom,6px), env(safe-area-inset-bottom,0px))}.ba-world-plate{gap:2px;height:36px;padding:3px}.ba-level-inset,.ba-action,.ba-action.ui-soft-cta{height:30px;padding:0 8px;font-size:12px;min-height:30px!important}.ba-label,.ba-icon{font-size:12px}.ba-title{gap:2px}.ba-cost{gap:3px}.ba-cost-item,.ba-cost-val,.ba-detail{font-size:11px}.ba-cost-icon-wrap .ui-icon{width:11px;height:11px}}.soldier-stance-segment{right:max(var(--ui-hud-inset,16px), env(safe-area-inset-right,0px));bottom:max(var(--ui-dock-bottom,8px), env(safe-area-inset-bottom,0px));box-sizing:border-box;background:var(--ui-card-cream,#fdf8eb);height:44px;box-shadow:0 2px 0 var(--ui-soft-chrome-plate,#d4c4a8), 0 5px 14px #00000038;z-index:102;-webkit-user-select:none;user-select:none;pointer-events:auto;border-radius:999px;align-items:center;gap:4px;padding:4px;display:inline-flex;position:fixed}.soldier-stance-tab{box-sizing:border-box;height:36px;color:var(--ui-card-muted,#7e6f5d);font-family:var(--ui-font);white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:none;-webkit-user-select:none;user-select:none;background:0 0;border:none;border-radius:999px;outline:none;justify-content:center;align-items:center;gap:6px;padding:0 16px;font-size:15px;font-weight:800;line-height:1;transition:background .15s,color .15s,box-shadow 80ms,transform 80ms,filter 80ms;display:inline-flex;position:relative}.soldier-stance-tab:focus{outline:none}.soldier-stance-tab:focus-visible{outline:none}.soldier-stance-tab:hover:not(.soldier-stance-tab--active){color:var(--ui-card-espresso,#3b2a1a);background:#0000000d}.soldier-stance-tab:active{filter:brightness(.96);transform:translateY(2px)!important}.soldier-stance-tab__icon{font-size:16px;line-height:1}.soldier-stance-tab__label{letter-spacing:.02em}.soldier-stance-tab>*{pointer-events:none}.soldier-stance-tab--defend.soldier-stance-tab--active{color:#fff;text-shadow:0 1px 1px #0f41144d;cursor:default;background:linear-gradient(#4ade80 0%,#22c55e 70%);box-shadow:0 2px #15803d}.soldier-stance-tab--defend.soldier-stance-tab--active:active{transform:translateY(2px)!important;box-shadow:0 0 #0000!important}.soldier-stance-tab--attack.soldier-stance-tab--active{color:#fff;text-shadow:0 1px 1px #78320040;cursor:default;background:linear-gradient(#ffa32b 0%,#ee7d13 70%);box-shadow:0 2px #a84e03}.soldier-stance-tab--attack.soldier-stance-tab--active:active{transform:translateY(2px)!important;box-shadow:0 0 #0000!important}.soldier-stance-segment:has(.soldier-stance-tab--guided){z-index:180}.soldier-stance-segment:has(.soldier-stance-tab--near){z-index:180}body.has-building-dock .soldier-stance-segment{z-index:102}body.has-building-dock .soldier-stance-segment:has(.soldier-stance-tab--guided){z-index:102}body.has-building-dock .soldier-stance-segment:has(.soldier-stance-tab--near){z-index:102}.soldier-stance-tab--near,.soldier-stance-tab--guided{color:#a84e03;background:#fef0c78c;animation:1.5s ease-in-out infinite soldier-tab-guided-breathe;position:relative}.soldier-stance-tab--guided:before,.soldier-stance-tab--near:before{content:"";pointer-events:none;z-index:4;background:linear-gradient(115deg,#0000 0% 35%,#fff5b466 45%,#ffffffd9 50%,#fff5b466 55%,#0000 65% 100%) 0 0/250% 250%;border-radius:999px;animation:2.2s cubic-bezier(.4,0,.2,1) infinite soldier-tab-shimmer-sweep;position:absolute;top:0;bottom:0;left:0;right:0}.soldier-stance-tab--guided:after,.soldier-stance-tab--near:after{content:"";pointer-events:none;z-index:12;filter:drop-shadow(0 3px 5px #0006)drop-shadow(0 0 8px #ffd700bf);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 36' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='16' y1='1' x2='16' y2='32' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0%25' stop-color='%23FFF9A6'/%3E%3Cstop offset='25%25' stop-color='%23FFD633'/%3E%3Cstop offset='80%25' stop-color='%23FF9E0D'/%3E%3Cstop offset='100%25' stop-color='%23E67300'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M 11.5 3 C 11.5 1.9 12.4 1 13.5 1 L 18.5 1 C 19.6 1 20.5 1.9 20.5 3 L 20.5 15.5 L 26.8 15.5 C 28.3 15.5 29.1 17.3 28.1 18.4 L 17.3 30.8 C 16.6 31.6 15.4 31.6 14.7 30.8 L 3.9 18.4 C 2.9 17.3 3.7 15.5 5.2 15.5 L 11.5 15.5 Z' fill='url(%23g)' stroke='%23FFFFFF' stroke-width='2.8' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") 50%/contain no-repeat;width:24px;height:28px;animation:1.1s cubic-bezier(.25,1,.5,1) infinite soldier-tab-guide-arrow;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%)}@keyframes soldier-tab-guided-breathe{0%,to{transform:scale(1);box-shadow:0 0 0 1.5px #f59e0b,inset 0 0 4px #f59e0b4d,0 0 8px #f59e0b73}50%{transform:scale(1.03);box-shadow:0 0 0 2px #fbbf24,inset 0 0 6px #fbbf24a6,0 0 14px #f59e0bbf}}@keyframes soldier-tab-shimmer-sweep{0%{opacity:0;background-position:200% 200%}15%{opacity:1}60%{opacity:1;background-position:-50% -50%}75%,to{opacity:0;background-position:-50% -50%}}@keyframes soldier-tab-guide-arrow{0%,to{transform:translate(-50%)translateY(0)scale(1)}30%{transform:translate(-50%)translateY(-7px)scale(.96,1.04)}50%{transform:translate(-50%)translateY(-9px)scale(1)}75%{transform:translate(-50%)translateY(3px)scale(1.08,.92)}88%{transform:translate(-50%)translateY(-2px)scale(.98,1.02)}}@media (max-width:600px),(max-height:450px){.soldier-stance-segment{right:max(var(--ui-hud-inset,10px), env(safe-area-inset-right,0px));bottom:max(var(--ui-dock-bottom,6px), env(safe-area-inset-bottom,0px));gap:3px;height:36px;padding:3px}.soldier-stance-tab{gap:4px;height:30px;padding:0 12px;font-size:13px}.soldier-stance-tab__icon{font-size:14px}}.juice-dmg-layer{pointer-events:none;z-index:95;position:fixed;top:0;bottom:0;left:0;right:0;overflow:hidden}.dmg-float{font:bold 20px/1 var(--ui-font);white-space:nowrap;margin-top:-.5em;margin-left:-.5em;position:absolute;top:0;left:0}.dmg-float--enemy{color:var(--ui-dmg-enemy);text-shadow:0 0 4px #000000bf, 0 2px 0 var(--ui-dmg-enemy-edge);font-size:30px}.dmg-float--hero{color:var(--ui-dmg-hero);text-shadow:0 0 5px #000c, 0 2px 0 var(--ui-dmg-hero-edge);font-size:22px}.dmg-float--soldier{color:var(--ui-dmg-soldier);text-shadow:0 0 4px #000000bf, 0 2px 0 var(--ui-dmg-soldier-edge);font-size:18px}.dmg-float--heart{color:var(--ui-dmg-heart);text-shadow:0 0 6px #ff500073, 0 2px 0 var(--ui-dmg-heart-edge);font-size:21px}.heart-damage-vignette{pointer-events:none;z-index:94;opacity:0;transition:opacity .35s ease-out;position:fixed;top:0;bottom:0;left:0;right:0;box-shadow:inset 0 0 120px 30px #ff1e1eb3}.heart-damage-vignette.heart-damage-vignette--active{opacity:.65;transition:opacity 50ms ease-in}.title-screen-container{z-index:250;box-sizing:border-box;font-family:var(--ui-font);pointer-events:none;-webkit-user-select:none;user-select:none;background:radial-gradient(circle at 50% 52%,#ffd77814 0%,#ffa00005 45%,#00000026 100%);flex-direction:column;justify-content:space-between;align-items:center;padding:clamp(16px,3vh,32px) clamp(16px,3vw,32px);transition:opacity .4s,visibility .4s;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.title-screen-container.hidden{opacity:0;visibility:hidden;pointer-events:none}.title-screen-container.hidden,.title-screen-container.hidden *{animation:none!important}body.in-title-screen #game-hud,body.in-title-screen #game-hud *,body.in-title-screen .hud-top-row,body.in-title-screen .hud-frontline-panel,body.in-title-screen .hud-anchor-tr,body.in-title-screen .hud-quest-stack,body.in-title-screen .hud-resource-strip,body.in-title-screen .hud-wall,body.in-title-screen .hud-pause-btn,body.in-title-screen .game-joystick,body.in-title-screen #game-floaters,body.in-title-screen #building-action-panel,body.in-title-screen #heart-detail-panel,body.in-title-screen #soldier-command-dock,body.in-title-screen #story-debug-panel,body.in-title-screen .fl-container{opacity:0!important;visibility:hidden!important;pointer-events:none!important;display:none!important}.title-top-bar{z-index:260;pointer-events:auto;position:absolute;top:clamp(16px,3vh,28px);right:clamp(16px,3vw,28px)}.title-top-chrome{--ui-chrome-btn-size:44px}.title-screen-container .ui-soft-chrome,.title-screen-container .ui-soft-cta{--ui-soft-rim-band:4px}.title-screen-container .ui-soft-chrome:after,.title-screen-container .ui-soft-cta:after{border-width:var(--ui-soft-rim-band);border-color:#ffffff52;-webkit-mask-image:linear-gradient(#000000bf 0%,#00000073 14%,#0000002e 32%,#0000 52%);mask-image:linear-gradient(#000000bf 0%,#00000073 14%,#0000002e 32%,#0000 52%)}.title-lang-dropdown-wrapper{display:inline-block;position:relative}.title-lang-flag{font-size:20px;line-height:1}.title-settings-btn{flex-shrink:0}.title-lang-menu{-webkit-backdrop-filter:blur(14px);opacity:0;visibility:hidden;z-index:300;pointer-events:none;background:#1e140feb;border:2px solid #ffffff4d;border-radius:16px;flex-direction:column;gap:3px;width:176px;max-height:280px;padding:6px;transition:all .18s cubic-bezier(.18,.89,.32,1.28);display:flex;position:absolute;top:calc(100% + 8px);right:0;overflow-y:auto;transform:translateY(-8px)scale(.94);box-shadow:0 10px 30px #00000080,0 2px #0003}.title-lang-menu.active{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)scale(1)}.title-lang-option{color:#ffffffeb;font-size:13px;font-weight:800;font-family:var(--ui-font);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;transition:all .12s;display:flex}.title-lang-option:hover{color:#fff;background:#ffffff24;transform:translate(2px)}.title-lang-option.active{color:#ffa726;background:#ffa72640;border-color:#ffa72680}.title-lang-option-left{align-items:center;gap:8px;display:flex}.title-lang-check{color:#ffa726;font-size:12px;font-weight:900}.title-hero-header{text-align:center;pointer-events:none;flex-direction:column;align-items:center;gap:4px;margin-top:clamp(12px,3vh,32px);display:flex}.title-logo-main{max-width:90vw;font-family:var(--ui-font-display);font-synthesis:weight;letter-spacing:.06em;background:linear-gradient(#fff8e1 0%,#ffcc4d 28%,#ff8f1f 62%,#e65100 100%);-webkit-text-fill-color:transparent;filter:drop-shadow(0 4px #541d00)drop-shadow(0 10px 20px #0000008c);-webkit-background-clip:text;background-clip:text;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin:0;font-size:clamp(40px,8.5vw,68px);font-weight:700;line-height:1.08;animation:3.5s ease-in-out infinite alternate title-flame-float;display:inline-flex}@keyframes title-flame-float{0%{transform:translateY(0)scale(1)}to{transform:translateY(-5px)scale(1.02)}}.title-level-selector{pointer-events:auto;align-items:center;gap:10px;margin-top:6px;display:inline-flex}.title-level-chip{-webkit-backdrop-filter:blur(8px);color:#fff;pointer-events:auto;background:#1e140f73;border:1.5px solid #ffffff59;border-radius:20px;align-items:center;gap:8px;padding:5px 14px;font-size:13px;font-weight:800;display:inline-flex;box-shadow:0 4px 14px #00000040}.title-level-nav-btn{-webkit-backdrop-filter:blur(8px);color:#fff;cursor:pointer;pointer-events:auto;-webkit-user-select:none;user-select:none;background:#1e140f8c;border:1.5px solid #fff6;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;transition:all .16s cubic-bezier(.18,.89,.32,1.28);display:inline-flex;box-shadow:0 3px 10px #0000004d}.title-level-nav-btn:hover:not(:disabled){background:#ffa726bf;border-color:#ffffffd9;transform:scale(1.12);box-shadow:0 4px 14px #ff8c0066}.title-level-nav-btn:active:not(:disabled){transform:scale(.92)}.title-level-nav-btn:disabled,.title-level-nav-btn.disabled{opacity:.3;cursor:not-allowed;pointer-events:none;box-shadow:none;border-color:#ffffff26}.title-level-switch-btn{color:#fff;cursor:pointer;background:linear-gradient(#ffa726 0%,#e65100 100%);border:1px solid #ffffff80;border-radius:12px;padding:3px 9px;font-size:11px;font-weight:800;transition:all .12s;box-shadow:0 2px 4px #0000004d}.title-level-switch-btn:hover{filter:brightness(1.1);transform:scale(1.06)}.title-screen-nav-arrow{-webkit-backdrop-filter:blur(12px);color:#fff;cursor:pointer;z-index:265;pointer-events:auto;-webkit-user-select:none;user-select:none;background:#1e140f85;border:2px solid #ffffff73;border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;transition:all .2s cubic-bezier(.18,.89,.32,1.28);display:flex;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 8px 24px #0006,0 0 12px #ffc86426}.title-screen-nav-arrow--prev{left:max(20px, env(safe-area-inset-left))}.title-screen-nav-arrow--next{right:max(20px, env(safe-area-inset-right))}.title-screen-nav-arrow:hover:not(:disabled){background:#ffa726c7;border-color:#fff;transform:translateY(-50%)scale(1.1);box-shadow:0 10px 28px #00000080,0 0 20px #ffa72699}.title-screen-nav-arrow:active:not(:disabled){transform:translateY(-50%)scale(.95)}.title-screen-nav-arrow:disabled,.title-screen-nav-arrow.disabled{opacity:.25;cursor:not-allowed;pointer-events:none;box-shadow:none;border-color:#ffffff26}.title-nav-chevron{pointer-events:none;display:block}.title-center-spacer{pointer-events:none;flex:1;width:100%;min-height:80px}.title-bottom-actions{z-index:260;pointer-events:auto;box-sizing:border-box;flex-direction:column;align-items:center;gap:14px;width:100%;max-width:380px;margin-bottom:clamp(10px,3vh,30px);padding:0 16px;display:flex}.title-bottom-row{justify-content:center;align-items:center;gap:12px;width:100%;display:flex}.title-btn-armory-square{box-sizing:border-box;cursor:pointer;border-radius:18px;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;width:56px;min-width:56px;height:56px;padding:4px 2px;transition:transform .12s,filter .12s;display:flex}.title-btn-armory-square .ui-icon{width:22px;height:22px;margin:0;display:block}.title-btn-armory__sublabel{color:#fff;text-shadow:0 1px 2px #0009;white-space:nowrap;margin-top:3px;font-size:10px;font-weight:800;line-height:1}.title-btn-armory-square:hover{filter:brightness(1.08)}.title-btn-start{box-sizing:border-box;min-height:56px;font-family:var(--ui-font);text-align:center;flex:1;justify-content:center;align-items:center;padding:0 24px;font-size:22px;font-weight:800;line-height:1;animation:2.2s ease-in-out infinite title-pulse;display:flex}.title-btn-start__inner{pointer-events:none;justify-content:center;align-items:center;gap:10px;max-width:100%;line-height:1;display:inline-flex}.title-btn-start__icon,.title-btn-start__label{justify-content:center;align-items:center;margin:0;padding:0;line-height:1;display:inline-flex}.title-btn-start__label{text-box:trim-both text}.title-btn-start__icon .ui-icon{vertical-align:0;width:22px;height:22px;margin:0;display:block}@keyframes title-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.03)}}.title-btn-start:hover{filter:brightness(1.06)}.title-btn-start:active,.title-btn-start.ui-soft-cta--down{animation:none}.level-select-grid{flex-direction:column;gap:8px;max-height:none;padding:4px;display:flex;overflow:hidden}.level-card{background:var(--ui-cream-lo);border:2px solid var(--ui-stroke);border-radius:var(--border-radius-btn);cursor:pointer;justify-content:space-between;align-items:center;padding:10px 14px;transition:all .15s;display:flex}.level-card:hover:not(.locked){border-color:var(--ui-cta-amber);background:#fff;transform:translate(3px)}.level-card.active{border-color:var(--ui-cta-amber);box-shadow:0 0 0 2px var(--ui-cta-amber);background:#fff7ea}.level-card.locked{opacity:.6;cursor:not-allowed}.level-card-info{flex-direction:column;gap:2px;display:flex}.level-card-name{color:var(--ui-text-main);font-size:14px;font-weight:800}.level-card-desc{color:var(--ui-text-muted);font-size:11px}@media (min-width:768px) and (min-height:520px){.title-hero-header{margin-top:clamp(24px,5vh,48px)}.title-logo-main{font-size:clamp(44px,4.8vw,68px)}.title-bottom-actions{max-width:420px;margin-bottom:clamp(32px,7vh,72px)}.title-btn-start{border-radius:22px;min-height:60px;padding:0 36px;font-size:24px}}@media (max-height:520px){.title-screen-container{padding:8px 16px}.title-top-bar{gap:8px;top:8px;right:12px}.title-top-chrome{--ui-chrome-btn-size:38px}.title-lang-flag{font-size:16px}.title-hero-header{gap:2px;margin-top:4px}.title-logo-main{letter-spacing:.05em;filter:drop-shadow(0 3px #541d00)drop-shadow(0 8px 16px #00000080);font-size:clamp(30px,9vh,44px)}.title-level-chip{border-radius:14px;margin-top:2px;padding:3px 12px;font-size:12px}.title-level-switch-btn{padding:2px 8px;font-size:11px}.title-bottom-actions{gap:8px;max-width:320px;margin-bottom:8px}.title-btn-armory-square{border-radius:14px;width:48px;min-width:48px;height:48px}.title-btn-armory-square .ui-icon{width:18px;height:18px}.title-btn-armory__sublabel{font-size:9px}.title-btn-start{border-radius:16px;min-height:48px;padding:0 20px;font-size:18px}}@media (max-height:360px){.title-hero-header{gap:1px;margin-top:2px}.title-logo-main{font-size:clamp(24px,8vh,32px)}.title-bottom-actions{gap:6px;max-width:280px;margin-bottom:4px}.title-btn-armory-square{width:42px;min-width:42px;height:42px}.title-btn-start{min-height:42px;padding:0 16px;font-size:15px}}
