:root{--bg0: #0e1b33;--safe-top: 0px;--safe-bottom: 0px;--safe-left: 0px;--safe-right: 0px;--bg1: #1a3058;--panel: rgba(29, 50, 88, .88);--panel-2: #1c3256;--line: rgba(148, 163, 184, .28);--line-strong: rgba(148, 163, 184, .45);--text: #e6edf7;--muted: #a8b8cf;--accent: #38bdf8;--gold: #fbbf24;--gold-dark: #d97706;--blue: #3b82f6;--blue-light: #60a5fa;--red: #ef4444;--red-light: #f87171;--green: #34d399;--yellow: #eab308;--yellow-light: #facc15;--emerald: #16a34a;--emerald-light: #4ade80;--purple: #a855f7;--purple-light: #c084fc;--radius: 12px}*{box-sizing:border-box}html,body{margin:0}body{font-family:Hiragino Sans,Yu Gothic UI,Meiryo,sans-serif;color:var(--text);background:radial-gradient(1100px 520px at 50% -12%,rgba(59,130,246,.4),transparent 65%),linear-gradient(180deg,var(--bg1),var(--bg0)) fixed;min-height:100vh;line-height:1.6;-webkit-font-smoothing:antialiased}body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;background-image:linear-gradient(rgba(56,189,248,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(56,189,248,.07) 1px,transparent 1px);background-size:32px 32px;-webkit-mask-image:radial-gradient(ellipse at center,#000 30%,transparent 80%);mask-image:radial-gradient(ellipse at center,#000 30%,transparent 80%)}app-root{position:relative;z-index:1;display:block}button{font:inherit;cursor:pointer}a{color:var(--accent)}.muted{color:var(--muted);font-size:13px}.row{display:flex;flex-wrap:wrap;gap:8px}.row.end{justify-content:flex-end}.num{font-variant-numeric:tabular-nums}.btn{border:1px solid var(--line-strong);background:linear-gradient(180deg,#172741,#101c31);color:var(--text);padding:8px 16px;border-radius:8px;font-weight:700;letter-spacing:.04em;transition:border-color .15s,box-shadow .15s,transform .1s,filter .15s}.btn:hover:not(:disabled){border-color:var(--accent);box-shadow:0 0 0 3px #38bdf826}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{opacity:.4;cursor:default}.btn.primary,.btn.end{background:linear-gradient(180deg,#fde68a,var(--gold) 45%,var(--gold-dark));border-color:#fcd34d;color:#1c1300;box-shadow:0 4px 14px #fbbf2440,inset 0 1px #fff9}.btn.primary:hover:not(:disabled),.btn.end:hover:not(:disabled){filter:brightness(1.08);border-color:#fef3c7;box-shadow:0 6px 20px #fbbf2466}.btn.danger{background:linear-gradient(180deg,#f87171,#dc2626);border-color:#fca5a5;color:#fff;box-shadow:0 4px 14px #ef44444d,inset 0 1px #ffffff59}.btn.danger:hover:not(:disabled){filter:brightness(1.1);border-color:#fecaca}.btn.ghost{background:transparent}.btn.big{padding:12px 22px;font-size:16px}.btn.small{padding:4px 10px;font-size:12px;font-weight:400}.btn:focus-visible,.shop-item:focus-visible,.stage-item:focus-visible{outline:3px solid var(--gold);outline-offset:2px}.title-card,.map-select,.hud,.panel,.rules{background:var(--panel);border:1px solid var(--line);box-shadow:0 20px 50px #0000004d,inset 0 1px #ffffff14;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.title{min-height:100vh;display:grid;place-items:center;padding:24px 16px;position:relative;overflow:hidden}.lang-switch{position:absolute;top:14px;right:14px;z-index:2}.title-card{position:relative;max-width:540px;width:100%;text-align:center;border-radius:20px;padding:30px 28px 24px;border-color:#fbbf2459}.title-card:before,.title-card:after{content:"";position:absolute;width:26px;height:26px;border:2px solid var(--gold);pointer-events:none}.title-card:before{top:10px;left:10px;border-right:0;border-bottom:0}.title-card:after{bottom:10px;right:10px;border-left:0;border-top:0}.emblem{width:112px;height:112px;display:block;margin:0 auto 4px;filter:drop-shadow(0 6px 18px rgba(251,191,36,.3))}.emblem .e-ring{fill:none;stroke:var(--gold);stroke-width:2}.emblem .e-dash{fill:none;stroke:#fbbf2480;stroke-width:2;stroke-dasharray:3 7;transform-origin:60px 60px;animation:spin 24s linear infinite}.emblem .e-sea{fill:#1b5fa6}.emblem .e-island{fill:#4f8b3b}.emblem .e-wing{fill:#dbe4ef}.emblem .e-wing-dark{fill:#9fb0c6}.emblem .e-star{fill:var(--gold)}@keyframes spin{to{transform:rotate(360deg)}}.title-kicker{margin:0;color:var(--accent);font-weight:700;font-size:12px;letter-spacing:.18em}.title h1{margin:4px 0 10px;font-size:46px;letter-spacing:.14em;line-height:1.25;background:linear-gradient(180deg,#ffffff 10%,#cbd5e1 55%,var(--gold) 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 3px 10px rgba(56,189,248,.25))}.title-lead{margin:0 0 22px;color:var(--muted);font-size:14px}.title-buttons{display:flex;flex-direction:column;gap:10px;align-items:center}.title-buttons .btn.big{width:100%;max-width:290px}.title-row{display:flex;gap:10px;width:100%;max-width:290px}.title-row .btn{flex:1 1 0}.title-foot{margin:22px 0 0;font-size:12px;color:var(--muted);display:flex;justify-content:center;flex-wrap:wrap;gap:6px 18px}.map-select{position:relative;max-width:780px;width:100%;border-radius:20px;padding:22px 20px}.map-select-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.map-select-head h2{margin:0;font-size:20px;letter-spacing:.12em}.map-select-head h2:before{content:"";display:inline-block;width:4px;height:18px;background:var(--gold);margin-right:10px;vertical-align:-3px}.level-pick{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:14px}.level-btn{font:inherit;font-weight:700;letter-spacing:.14em;min-width:96px;padding:9px 16px;border-radius:8px;cursor:pointer;color:var(--muted);background:#182a4abf;border:1px solid var(--line);transition:all .15s}.level-btn:hover{color:var(--text);border-color:var(--accent)}.level-btn.on{color:#1c1404;background:linear-gradient(180deg,#fde68a,var(--gold));border-color:#fde68a;box-shadow:0 0 14px #fbbf2459}.level-btn.on:last-of-type{color:#fff;background:linear-gradient(180deg,#f87171,#dc2626);border-color:#fca5a5;box-shadow:0 0 14px #ef444466}.level-note{font-size:12px;color:var(--muted);margin-left:4px}.stage-select{display:grid;grid-template-columns:220px minmax(0,1fr);gap:14px;align-items:start}.stage-list{list-style:none;margin:0;padding:8px;display:flex;flex-direction:column;gap:2px;background:linear-gradient(180deg,#24395f,var(--panel-2));border:1px solid var(--line-strong);border-radius:12px}.stage-item{width:100%;display:flex;align-items:center;gap:8px;font:inherit;color:var(--muted);background:transparent;border:1px solid transparent;border-radius:8px;padding:8px 10px;cursor:pointer;text-align:left;transition:all .12s}.stage-item:hover{color:var(--text);background:#38bdf814}.stage-item.locked .stage-num{opacity:.5}.stage-locked-note{margin:0;text-align:center;font-size:13px;font-weight:700;line-height:1.5;min-height:1.5em;color:var(--gold-text, var(--gold))}.stage-lock{width:13px;height:13px;flex:none}.stage-item.on{color:var(--text);border-color:#fbbf248c;background:#fbbf241a}.stage-cursor{width:12px;font-size:11px;color:var(--gold);visibility:hidden}.stage-item.on .stage-cursor{visibility:visible;animation:blink 1s steps(2) infinite}@keyframes blink{50%{opacity:.25}}.stage-num{flex:1;font-size:17px;font-weight:700;letter-spacing:.12em;font-variant-numeric:tabular-nums}.stage-done{color:var(--gold);font-size:14px;text-shadow:0 0 8px rgba(251,191,36,.6)}.stage-side{display:flex;flex-direction:column;gap:8px}.stage-pager{display:flex;align-items:center;justify-content:space-between;gap:8px}.stage-pager .btn{min-width:44px;padding:6px 0;font-size:20px;line-height:1}.stage-page{font-weight:700;letter-spacing:.1em;font-variant-numeric:tabular-nums}.stage-tag{font-size:11px;padding:1px 6px;border-radius:999px;letter-spacing:.04em;white-space:nowrap;color:var(--gold);border:1px solid rgba(251,191,36,.5)}.stage-feature{color:var(--gold)}.stage-detail{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.stage-preview{display:flex;justify-content:center;align-items:center;padding:14px;min-height:240px;background:#12223f;border:1px solid var(--line-strong);border-radius:12px}.stage-preview svg{width:100%;max-width:300px;height:300px;shape-rendering:crispEdges}.mm-unit{stroke:#fff;stroke-width:.12}.mm-unit.mm-blue{fill:var(--blue)}.mm-unit.mm-red{fill:var(--red)}.stage-info{margin:0;padding:12px 16px;display:flex;flex-direction:column;gap:4px;font-size:16px;background:linear-gradient(180deg,#24395f,var(--panel-2));border:1px solid var(--line-strong);border-radius:12px}.stage-info div{display:flex}.stage-info dt{width:6em;color:var(--muted);letter-spacing:.08em}.stage-info dd{margin:0;font-weight:700}.stage-info dd.best{color:var(--gold)}.stage-desc{margin:0;font-size:13px;color:var(--muted);line-height:1.5;min-height:3em}.stage-go{justify-self:end;min-width:160px;letter-spacing:.3em}.map-clear{display:inline-block;margin-top:4px;font-size:11px;color:var(--muted)}.map-clear.done{color:var(--gold);font-weight:700}.mm-plain{fill:#5f9e45}.mm-forest{fill:#2f7a2f}.mm-mountain{fill:#9a9184}.mm-sea{fill:#1b5fa6}.mm-bridge{fill:#8b5a2b}.mm-city{fill:#fff}.mm-hq{fill:#64748b}.mm-city.mm-blue{fill:var(--blue-light)}.mm-city.mm-red{fill:var(--red-light)}.mm-hq.mm-blue{fill:var(--blue)}.mm-hq.mm-red{fill:var(--red)}.mm-base{fill:#7c8668}.mm-airport{fill:#3b4250}.mm-port{fill:#6f8fa8}.rules{color:var(--text);background:#1a2d50;border-radius:16px;padding:0;max-width:580px;width:calc(100vw - 24px);max-height:calc(100vh - 24px - var(--safe-top) - var(--safe-bottom))}.rules::backdrop{background:#02060eb3;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.rules-body{padding:22px 24px}.rules h2{margin:0 0 6px;letter-spacing:.1em}.rules h3{margin:18px 0 6px;font-size:14px;color:var(--gold);letter-spacing:.08em}.rules ul,.rules ol{padding-left:20px;margin:0;font-size:14px}.rules p{font-size:14px}.rules-table{width:100%;border-collapse:collapse;font-size:13px}.rules-table th,.rules-table td{border-bottom:1px solid var(--line);padding:6px 4px;text-align:left}.rules-table th{color:var(--muted);font-weight:400}.mini-mark{display:inline-grid;place-items:center;width:26px;height:26px;margin-right:8px;border-radius:50%;vertical-align:middle;background:radial-gradient(circle at 40% 35%,#2a4a78,#0f1d36);border:1px solid var(--line-strong)}.battle{max-width:1040px;margin:0 auto;padding:12px}.hud{display:flex;align-items:center;gap:14px;border-radius:var(--radius);padding:8px 12px}.hud small{display:block;font-size:10px;color:var(--muted);line-height:1.2;letter-spacing:.12em}.hud b{font-size:20px;line-height:1.2;font-variant-numeric:tabular-nums}.hud-turn{text-align:center;min-width:50px;padding-right:12px;border-right:1px solid var(--line)}.hud-side{display:flex;align-items:center;gap:8px;font-weight:700;font-size:13px;letter-spacing:.08em;padding:5px 14px 5px 10px;border-radius:6px;border:1px solid rgba(96,165,250,.5);background:linear-gradient(90deg,#3b82f659,#3b82f614)}.hud-side:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--blue-light);box-shadow:0 0 8px var(--blue-light)}.hud-side.enemy{border-color:#f8717180;background:linear-gradient(90deg,#ef444459,#ef444414)}.hud-side.enemy:before{background:var(--red-light);box-shadow:0 0 8px var(--red-light)}.hud-map{font-size:12px;color:var(--muted)}.hud-money{margin-left:auto;text-align:right}.hud-money b{color:var(--gold)}.hud-money b span{font-size:12px;margin-left:2px}.hud-money em{display:block;font-style:normal;font-size:11px;color:var(--green)}.btn.end.pulse{animation:pulse 1.4s ease-in-out infinite}@keyframes pulse{50%{box-shadow:0 0 0 6px #fbbf2440,0 4px 18px #fbbf2473}}.field{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:12px;margin-top:12px;align-items:start}.board-wrap{position:relative;padding:6px;border-radius:14px;background:linear-gradient(180deg,#213860,#142849);border:1px solid rgba(251,191,36,.25);box-shadow:0 24px 60px #0000008c}.board{display:block;width:100%;max-height:calc(100vh - 124px);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border-radius:8px;clip-path:inset(0 round 8px)}.board-col{min-width:0;display:flex;flex-direction:column;gap:6px}.board-stage{position:relative}.board-wrap.large{overflow:auto;max-height:calc(100dvh - 160px - var(--safe-top) - var(--safe-bottom));cursor:grab;overscroll-behavior:contain}.board-wrap.large.dragging{cursor:grabbing}.board-wrap.large.dragging .board{pointer-events:none}.board-wrap.large .board{max-height:none;clip-path:none;width:calc(var(--cols) * var(--cell));max-width:none}.board-wrap{touch-action:pan-x pan-y}.board-wrap.pinching:not(.zoomed,.large){overflow:hidden}.board-wrap.pinching .board{will-change:transform}.board-wrap.zoomed{overflow:auto;max-height:calc(100dvh - 160px - var(--safe-top) - var(--safe-bottom));overscroll-behavior:contain}.board-wrap.zoomed .board{width:calc(var(--zoom) * 100%);max-width:none;max-height:none;clip-path:none}.board-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 8px}.board-hint{font-size:12px;color:var(--muted)}.danger-toggle{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;font-size:13px}.danger-dot{width:10px;height:10px;border-radius:2px;background:#dc262673;border:1px solid rgba(248,113,113,.8)}.units-toggle{padding:5px 12px;font-size:13px}.units-toggle.on{color:var(--gold);border-color:#fbbf24b3;background:#fbbf2424}.danger-toggle.on{color:#fecaca;border-color:#f87171cc;background:#dc262638}.zoom{display:flex;align-items:center;gap:6px;margin-left:auto}.zoom .btn{min-width:40px;padding:4px 0;font-size:18px;line-height:1}.zoom .btn:disabled{opacity:.35;cursor:default}.zoom-value{min-width:46px;text-align:center;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.t-sea{fill:#1b5fa6}.t-wave{fill:none;stroke:#4f97dc;stroke-width:1.3;stroke-linecap:round}.t-glint{fill:#cfe8ff;opacity:.8}.t-shallow{fill:#3a8bd3;opacity:.8}.t-foam{stroke:#e0f2fe;stroke-width:1.4;opacity:.85}.t-deck{fill:#8b5a2b}.t-plank{stroke:#65401d;stroke-width:1}.t-rail{fill:#4a2f17}.t-bridge-shadow{fill:#00000040}.t-grass{fill:#5f9e45}.t-grass-forest{fill:#4c8739}.t-grass-rock{fill:#6c8a50}.t-grass-light{fill:#6cae50;opacity:.7}.t-tuft{fill:none;stroke:#3d7a2c;stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round}.t-tree-shadow{fill:#00000047}.t-tree{fill:#1f5422}.t-tree-mid{fill:#2e7a2e}.t-tree-light{fill:#5db04a}.t-rock-light{fill:#cfc7b8}.t-rock-dark{fill:#857d70}.t-snow{fill:#f8fafc}.t-pavement{fill:#8f968d;stroke:#0003;stroke-width:.8}.t-bld{fill:#e9eef4}.t-bld-shade{fill:#9eabbd}.t-win{fill:#60a5fa}.t-win-dark{fill:#3a6aa3}.t-gold{fill:var(--gold);stroke:var(--gold-dark);stroke-width:.5}.t-pole{stroke:#475569;stroke-width:1.2}.t-beacon{fill:#f43f5e}.t-door{fill:#334155}.t-radar{fill:#cbd5e1;stroke:#64748b;stroke-width:.6}.own-blue .t-roof,.own-blue .t-flag{fill:var(--blue)}.own-red .t-roof,.own-red .t-flag{fill:var(--red)}.own-blue .t-bld-shade{fill:#86a8d8}.own-red .t-bld-shade{fill:#d49a9a}.own-red .t-win{fill:#fca5a5}.own-red .t-win-dark{fill:#b14a4a}.own-none .t-roof,.own-none .t-flag{fill:#fff;stroke:#94a3b8;stroke-width:.6}.own-none .t-bld{fill:#fff}.own-none .t-bld-shade{fill:#dde3ea}.own-none .t-win{fill:#cbd5e1}.own-none .t-win-dark{fill:#a3afbf}.own-none .t-pole{stroke:#f8fafc;stroke-width:1.6}.t-pavement[data-owner=blue]{fill:#7d90aa;stroke:var(--blue-light);stroke-width:1.6}.t-pavement[data-owner=red]{fill:#a98b88;stroke:var(--red-light);stroke-width:1.6}.t-pavement[data-owner=yellow]{fill:#a69d6c;stroke:var(--yellow-light);stroke-width:1.6}.t-pavement[data-owner=green]{fill:#71997c;stroke:var(--emerald-light);stroke-width:1.6}.t-pavement[data-owner=purple]{fill:#9586a8;stroke:var(--purple-light);stroke-width:1.6}.t-mil{fill:#7c8668}.t-mil[data-owner=blue]{fill:#6f8296}.t-mil[data-owner=red]{fill:#927a6c}.t-mil[data-owner=yellow]{fill:#938c5a}.t-mil[data-owner=green]{fill:#638d60}.t-mil[data-owner=purple]{fill:#877a8c}.t-fence{fill:none;stroke:#f1f5f9bf;stroke-width:.8;stroke-dasharray:2 1.6}.t-door-line{stroke:#ffffff40;stroke-width:.6}.t-star{fill:#fff}.t-runway{fill:#3b4250}.t-runway-line{stroke:#f8fafc;stroke-width:1;stroke-dasharray:3.5 2.5}.grid{fill:none;stroke:#0003;stroke-width:.6;pointer-events:none}.lv-badge rect{fill:#080f1ecc;stroke:#ffffff4d;stroke-width:.5}.lv-badge.max rect{fill:#b45309;stroke:var(--gold)}.lv-badge text,.cap-badge text{fill:#fff;font-size:6px;font-weight:700;text-anchor:middle;dominant-baseline:middle}.cap-badge rect{fill:#2563eb;stroke:#bfdbfe;stroke-width:.5}.cap-badge.red rect{fill:#dc2626;stroke:#fecaca}.hl-move{fill:#38bdf84d;stroke:#bae6fdf2;stroke-width:1;pointer-events:none}.hl-join{fill:#facc1547;stroke:#fef08af2;stroke-width:1.2;stroke-dasharray:3 2;pointer-events:none}.hl-danger{fill:#dc262642;stroke:#f871718c;stroke-width:.8;pointer-events:none}.hl-threat{fill:#ef444452;stroke:#fecacae6;stroke-width:1;pointer-events:none}.hl-cursor{fill:none;stroke:var(--gold);stroke-width:2.4;stroke-linecap:square;pointer-events:none;animation:blink 1.2s ease-in-out infinite}@keyframes blink{50%{opacity:.45}}.unit{pointer-events:none;transition:transform .25s ease}.unit.walking{transition-timing-function:linear}.fog{fill:#0509118c;pointer-events:none}.side-mark{fill:var(--blue-light);stroke:#0b1220;stroke-width:1.4;pointer-events:none}.side-mark[data-side=red]{fill:var(--red-light)}.side-mark[data-side=yellow]{fill:var(--yellow-light)}.side-mark[data-side=green]{fill:var(--emerald-light)}.side-mark[data-side=purple]{fill:var(--purple-light)}.u-shadow{fill:#0000004d}.u-ring{stroke-width:2}.unit.blue .u-ring{fill:#3b82f640;stroke:var(--blue-light)}.unit.red .u-ring{fill:#ef444440;stroke:var(--red-light)}.unit.done{filter:grayscale(.85) brightness(.72)}.unit.selected .u-ring{stroke:var(--gold);stroke-width:2.8}.unit.target .u-ring{animation:target .8s ease-in-out infinite}@keyframes target{50%{stroke:#fff;stroke-width:3.5}}.side-blue .team{fill:var(--blue)}.side-red .team{fill:var(--red)}.unit.red .u-pic:not([data-type=infantry]):not([data-type=sniper]):not([data-type=rider]){transform:rotate(180deg)}.unit.red .u-pic[data-type=rider]{transform:scaleX(-1)}.hl-rotor rect{fill:#1e293b8c}.aa-dish{fill:#cbd5e1;stroke:#64748b;stroke-width:.5}.sn-beret{fill:#3d4a32;stroke:#1c2416;stroke-width:.6}.sh-hull{fill:#6b7787;stroke:#2b3440;stroke-width:.8}.aa-radar{fill:#e2e8f0;stroke:#334155;stroke-width:.6}.aa-dish{fill:none;stroke:#0f172a;stroke-width:.8}.aa-missile{fill:#f8fafc;stroke:#64748b;stroke-width:.5}.sh-deck{fill:#c7d0da}.sh-dark{fill:#3a4452}.sh-wake{fill:none;stroke:#ffffff8c;stroke-width:1.2;stroke-linecap:round}.sb-hull{fill:#2e3a48;stroke:#10161e;stroke-width:.8}.sf-glow{fill:#fbbf2440}.sf-edge{fill:none;stroke:var(--gold);stroke-width:.9;stroke-linejoin:round}.sf-engine{fill:#7dd3fc;stroke:#e0f2fe;stroke-width:.5}.u-cargo rect{fill:#f5c542;stroke:#3b2a05;stroke-width:.6}.u-cargo text{font-size:6px;font-weight:700;fill:#3b2a05;text-anchor:middle;dominant-baseline:central}.hl-load{fill:#f5c54247;stroke:#f5c542;stroke-width:1.4;stroke-dasharray:3 2}.md-box{fill:#e9eef2;stroke:#9aa7b1;stroke-width:.6}.ip-tube{fill:#3b4423}.ip-tube-end{fill:#262c15}.rd-wheel{fill:#1f2937;stroke:#0b1220;stroke-width:1}.rd-hub{fill:#9ca3af}.rd-frame{fill:none;stroke:#d1d5db;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.rd-tank{fill:#475569;stroke:#0b1220;stroke-width:.8}.rd-arm{fill:none;stroke:#3f5a2e;stroke-width:2.4;stroke-linecap:round}.rd-visor{fill:#7dd3fc}.ip-body{fill:#55663a}.ip-vest{fill:#6b7d45}.ip-face{fill:#f1c9a2}.ip-eye{fill:#1f2937}.ip-helmet{fill:#4d5b30}.ip-brim{fill:#39451f}.ip-shine{fill:none;stroke:#8aa05e;stroke-width:1.2;stroke-linecap:round}.tk-track{fill:#20252a}.tk-tread{stroke:#48515a;stroke-width:.9}.tk-hull{fill:#46562d}.tk-plate{fill:#667a41}.tk-barrel{fill:#36411e}.tk-muzzle{fill:#252c14}.tk-turret-rim{fill:#3a4723}.tk-turret{fill:#7b8f50}.tk-shine{fill:#a2b873}.ft-wing{fill:#9aa6b6}.ft-wing-dark{fill:#748198}.ft-body{fill:#dbe2ea}.ft-body-dark{fill:#aab5c4}.ft-canopy{fill:#112a45}.ft-glint{fill:#8cc4f0}.ft-flame{fill:var(--gold)}.u-hp rect{fill:#0b1220;stroke:#ffffff8c;stroke-width:.6}.u-hp text{fill:#fff;font-size:7.5px;font-weight:700;text-anchor:middle;dominant-baseline:middle}.fx{fill:#fff;stroke:#0b1220;stroke-width:3;paint-order:stroke;font-size:12px;font-weight:700;text-anchor:middle;pointer-events:none;animation:rise 1.1s ease-out forwards}@keyframes rise{0%{opacity:1;transform:translateY(4px)}to{opacity:0;transform:translateY(-14px)}}.hit{fill:transparent;cursor:pointer}@media(prefers-reduced-motion:reduce){.unit{transition:none}.fx,.btn.end.pulse,.unit.target .u-ring,.hl-cursor,.emblem .e-dash{animation:none}}.banner{position:absolute;left:6px;right:6px;top:42%;transform:translateY(-50%);text-align:center;white-space:nowrap;background:linear-gradient(90deg,transparent,rgba(29,78,216,.95) 18%,rgba(29,78,216,.95) 82%,transparent);border-top:1px solid rgba(251,191,36,.7);border-bottom:1px solid rgba(251,191,36,.7);color:#fff;font-weight:700;font-size:22px;letter-spacing:.25em;padding:10px 0;text-shadow:0 2px 8px rgba(0,0,0,.5);pointer-events:none;animation:sweep 1.3s ease forwards}.banner.enemy{background:linear-gradient(90deg,transparent,rgba(185,28,28,.95) 18%,rgba(185,28,28,.95) 82%,transparent)}@keyframes sweep{0%{opacity:0;clip-path:inset(0 50%)}20%,75%{opacity:1;clip-path:inset(0 0)}to{opacity:0}}.thinking{position:absolute;left:50%;bottom:14px;transform:translate(-50%);background:#080f1ed9;border:1px solid rgba(248,113,113,.5);color:#fecaca;font-size:12px;padding:4px 14px;border-radius:999px;letter-spacing:.06em}.bulk-up{width:100%;margin-bottom:10px;font-size:13px;color:var(--gold);border-color:#fbbf2473}.bulk-up:disabled{color:var(--muted);border-color:var(--line);opacity:.6;cursor:default}.panel{border-radius:var(--radius);padding:14px;display:flex;flex-direction:column;gap:12px}.map-label{margin:0;font-size:11px;color:var(--accent);letter-spacing:.12em;padding-bottom:8px;border-bottom:1px solid var(--line)}.level-tag{margin-left:8px;padding:1px 7px;border-radius:4px;font-size:10px;font-weight:700;color:#1c1404;background:var(--gold)}.level-tag.hard{color:#fff;background:#dc2626}.hint{margin:0;font-size:14px}.actions{display:flex;flex-direction:column;gap:10px}.forecast{display:grid;grid-template-columns:1fr 1fr;gap:8px}.forecast div{background:#172a4a;border:1px solid var(--line);border-radius:10px;padding:8px;text-align:center}.forecast small{display:block;font-size:11px;color:var(--muted)}.forecast b{font-size:26px;font-variant-numeric:tabular-nums}.good{color:var(--blue-light)}.bad{color:var(--red-light)}.shop-tabs{display:flex;align-items:center;gap:8px}.shop-tabs .btn{min-width:44px;padding:6px 0;font-size:20px;line-height:1}.shop-tab-name{flex:1;text-align:center;font-weight:700;color:var(--gold);letter-spacing:.1em}.shop-tab-name small{color:var(--muted);font-weight:400;letter-spacing:0;margin-left:2px}.shop{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.shop-item{display:flex;align-items:center;gap:10px;width:100%;text-align:left;color:var(--text);border:1px solid var(--line);background:#1a2d4e;border-radius:10px;padding:8px 10px;transition:border-color .15s,background .15s}.shop-item:hover:not(:disabled){border-color:var(--gold);background:#13213a}.shop-item:disabled{opacity:.4;cursor:default}.shop-mark{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:50%;background:radial-gradient(circle at 40% 35%,#2a4a78,#0f1d36);border:1px solid rgba(96,165,250,.5)}.shop-mark svg,.mini-mark svg{width:86%;height:86%}.shop-text{flex:1;min-width:0}.shop-text b{display:block;font-size:14px}.shop-text small{display:block;font-size:11px;color:var(--muted);line-height:1.4}.shop-cost{font-weight:700;color:var(--gold);font-variant-numeric:tabular-nums}.info p{margin:0}.info-title{font-weight:700;display:flex;align-items:center;gap:6px}.info-sub{font-size:13px;margin-top:4px!important;color:#c3cfdf}.info-sub.warn{color:#fb923c;font-weight:700}.levelup{margin-top:10px;display:grid;gap:6px;justify-items:start}.levelup .muted{font-size:12px}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--blue-light);margin-right:4px;box-shadow:0 0 6px var(--blue-light)}.dot.red{background:var(--red-light);box-shadow:0 0 6px var(--red-light)}.score{margin:0;display:flex;flex-direction:column;gap:4px;font-size:12px;border-top:1px solid var(--line);padding-top:10px}.score div{display:flex;justify-content:space-between;gap:8px}.score dt{font-weight:700}.score dd{margin:0;color:var(--muted);text-align:right}.quit{align-self:center;color:var(--muted)}.result{text-align:center}.result h2{margin:0;font-size:34px;letter-spacing:.2em;background:linear-gradient(180deg,#fff,var(--gold));-webkit-background-clip:text;background-clip:text;color:transparent}.result.lose h2{background:linear-gradient(180deg,#fff,var(--red-light));-webkit-background-clip:text;background-clip:text}.result p{margin:6px 0}.result .row{justify-content:center;margin-top:10px}.update-banner{position:fixed;left:50%;bottom:calc(12px + env(safe-area-inset-bottom));transform:translate(-50%);z-index:60;display:flex;align-items:center;gap:8px;padding:8px 10px 8px 14px;border-radius:12px;background:var(--panel-2);border:1px solid rgba(251,191,36,.45);box-shadow:0 10px 30px #00000073;font-size:14px;white-space:nowrap;max-width:calc(100vw - 16px)}[data-theme=light] .update-banner{background:#fff;box-shadow:0 10px 30px #1e3a5f40}@media(max-width:820px){.battle{padding:8px}.stage-select{grid-template-columns:1fr}.stage-list{flex-direction:row;flex-wrap:wrap}.stage-list li{flex:1 1 40%}.stage-tag{font-size:10px;padding:0 4px}.stage-item{padding:8px 6px;justify-content:center;gap:4px}.stage-num{flex:none;font-size:14px;letter-spacing:.02em}.stage-cursor{display:none}.stage-preview{min-height:0;padding:10px}.stage-preview svg{max-width:220px;height:220px}.stage-info{font-size:14px;min-height:calc(8em + 38px)}.stage-desc{min-height:4.5em}.stage-go{justify-self:stretch}.map-select{padding:16px 12px}.field{grid-template-columns:minmax(0,1fr);gap:8px;margin-top:8px}.field>*{min-width:0}.board-col{display:contents}.board-tools{position:sticky;top:calc(4px + var(--safe-top) + var(--hud-h, 56px) + 4px);z-index:4;padding:4px 6px;border-radius:10px;background:var(--panel);border:1px solid var(--line);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.board{max-height:none}.board-wrap{padding:4px}.board-wrap.large{max-height:calc(100dvh - 150px - var(--safe-top) - var(--safe-bottom));-webkit-overflow-scrolling:touch}.board-hint{display:none}.hud{gap:6px;padding:6px 8px;position:sticky;top:calc(4px + var(--safe-top));z-index:5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.hud .btn{white-space:nowrap}.hud-side{min-width:0;line-height:1.25}.hud-turn{min-width:34px;padding-right:6px}.btn.undo{padding:8px 10px}.hud b{font-size:17px}.hud-side{font-size:11px;padding:3px 8px 3px 6px;gap:5px;letter-spacing:0}.btn.end{padding:8px 10px}.title h1{font-size:36px}.banner{font-size:18px}}@media(max-width:360px){.stage-info{min-height:calc(9.6em + 38px)}.stage-desc{min-height:6em}}.record{margin:8px 0 4px;padding:8px 10px;border-radius:10px;border:1px solid rgba(148,163,184,.3);background:#182a4aa6;display:flex;flex-direction:column;gap:2px;font-size:13px}.record b{font-size:16px;letter-spacing:.08em}.record.new{border-color:var(--gold);background:linear-gradient(135deg,#fbbf2438,#fbbf240f);animation:record-glow 1.6s ease-in-out infinite}.record.new b{color:var(--gold);text-shadow:0 0 10px rgba(251,191,36,.6)}@keyframes record-glow{50%{box-shadow:0 0 0 4px #fbbf242e,0 0 18px #fbbf2459}}[data-side=yellow]{--side: var(--yellow);--side-light: var(--yellow-light);--side-rgb: 234, 179, 8;--side-dark: 161, 98, 7}[data-side=green]{--side: var(--emerald);--side-light: var(--emerald-light);--side-rgb: 22, 163, 74;--side-dark: 21, 128, 61}[data-side=purple]{--side: var(--purple);--side-light: var(--purple-light);--side-rgb: 168, 85, 247;--side-dark: 126, 34, 206}.unit:is([data-side=yellow],[data-side=green],[data-side=purple]) .u-ring{fill:rgba(var(--side-rgb),.25);stroke:var(--side-light)}.hud-side.enemy:is([data-side=yellow],[data-side=green],[data-side=purple]){border-color:rgba(var(--side-rgb),.5);background:linear-gradient(90deg,rgba(var(--side-rgb),.35),rgba(var(--side-rgb),.08))}.hud-side.enemy:is([data-side=yellow],[data-side=green],[data-side=purple]):before,.dot:is([data-side=yellow],[data-side=green],[data-side=purple]){background:var(--side-light);box-shadow:0 0 6px var(--side-light)}.banner.enemy:is([data-side=yellow],[data-side=green],[data-side=purple]){background:linear-gradient(90deg,transparent,rgba(var(--side-dark),.95) 18%,rgba(var(--side-dark),.95) 82%,transparent)}.cap-badge:is([data-side=yellow],[data-side=green],[data-side=purple]) rect{fill:rgb(var(--side-dark));stroke:var(--side-light)}.side-yellow .team{fill:var(--yellow)}.side-green .team{fill:var(--emerald)}.side-purple .team{fill:var(--purple)}.own-yellow .t-roof,.own-yellow .t-flag{fill:var(--yellow)}.own-yellow .t-bld-shade{fill:#d8c486}.own-yellow .t-win{fill:#fde68a}.own-yellow .t-win-dark{fill:#a16207}.own-green .t-roof,.own-green .t-flag{fill:var(--emerald)}.own-green .t-bld-shade{fill:#8fc79f}.own-green .t-win{fill:#bbf7d0}.own-green .t-win-dark{fill:#15803d}.own-purple .t-roof,.own-purple .t-flag{fill:var(--purple)}.own-purple .t-bld-shade{fill:#bfa2d8}.own-purple .t-win{fill:#e9d5ff}.own-purple .t-win-dark{fill:#7e22ce}.mm-unit.mm-yellow,.mm-hq.mm-yellow{fill:var(--yellow)}.mm-unit.mm-green,.mm-hq.mm-green{fill:var(--emerald)}.mm-unit.mm-purple,.mm-hq.mm-purple{fill:var(--purple)}.mm-city.mm-yellow{fill:var(--yellow-light)}.mm-city.mm-green{fill:var(--emerald-light)}.mm-city.mm-purple{fill:var(--purple-light)}.score .out{opacity:.5}.score .out dd{color:var(--red-light)}.settings-backdrop{position:fixed;inset:0;z-index:50;background:#02060eb3;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.settings{position:fixed;z-index:51;left:50%;top:50%;transform:translate(-50%,-50%);width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 24px - var(--safe-top) - var(--safe-bottom));overflow:auto;color:var(--text);background:#1a2d50;border:1px solid var(--line);border-radius:16px;padding:20px 22px;box-shadow:0 20px 50px #00000080}.settings h2{margin:0 0 14px;letter-spacing:.1em}.setting-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}.setting-name{flex:0 0 auto;min-width:5em;font-weight:700}.setting-name small{font-weight:400;color:var(--muted)}.setting-group{margin:14px 0 2px;font-size:12px;letter-spacing:.1em;color:var(--accent)}.setting-row input[type=range]{flex:1;min-width:0;accent-color:var(--gold)}.setting-value{width:2.5em;text-align:right;font-variant-numeric:tabular-nums;color:var(--gold)}.setting-note{margin:6px 0 0;font-size:12px;color:var(--muted)}.setting-choices{display:flex;gap:6px;margin-left:auto}.setting-choice{padding:5px 12px;border:1px solid var(--line);border-radius:999px;cursor:pointer;font-size:13px}.setting-choice.on{border-color:var(--gold);color:var(--gold);background:#fbbf241f}.setting-choice input{position:absolute;opacity:0;pointer-events:none}.setting-check{cursor:pointer}.setting-check input{width:18px;height:18px;accent-color:var(--gold)}.settings-foot{display:flex;justify-content:flex-end;margin-top:16px}.setting-reset{margin-top:18px;padding-top:12px;border-top:1px solid var(--line)}.reset-data{color:var(--muted)}.reset-confirm{margin-top:10px;padding:12px;border:1px solid rgba(248,113,113,.6);border-radius:10px;background:#7f1d1d40}.reset-confirm .reset-title{margin:0 0 6px;font-weight:700;color:#fca5a5}.reset-confirm .muted{margin:0 0 10px;font-size:13px}.btn.danger{background:#b91c1c;border-color:#ef4444;color:#fff}@media(max-width:420px){.setting-row[role=radiogroup]{flex-wrap:wrap}.setting-choices{margin-left:0}}.tutorial{margin-bottom:8px;padding:10px 14px;border:1px solid rgba(251,191,36,.55);border-radius:var(--radius);background:linear-gradient(135deg,#fbbf2424,#1d3258eb);box-shadow:0 0 18px #fbbf2426}.tutorial-head{display:flex;justify-content:space-between;align-items:center;margin:0;font-size:11px}.tutorial-tag{color:var(--gold);font-weight:700;letter-spacing:.12em}.tutorial-count{color:var(--muted);font-variant-numeric:tabular-nums}.tutorial h3{margin:4px 0 2px;font-size:15px}.tutorial-text{margin:0;font-size:13px;line-height:1.6}.tutorial-buttons{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.hl-tutorial{fill:#fbbf242e;stroke:var(--gold);stroke-width:3;pointer-events:none;animation:tutorial-pulse 1s ease-in-out infinite}@keyframes tutorial-pulse{50%{stroke:#fff;fill:#fbbf2452}}.link-btn{padding:0;border:0;background:none;color:var(--accent);font:inherit;text-decoration:underline;cursor:pointer}.licenses{width:min(560px,calc(100vw - 24px))}.license-list{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}.license-list summary{cursor:pointer;padding:8px 10px;border:1px solid var(--line);border-radius:8px;font-size:14px}.license-kind{margin-left:8px;padding:1px 8px;border-radius:999px;font-size:11px;color:var(--gold);border:1px solid rgba(251,191,36,.5)}.license-text{margin:6px 0 0;padding:10px;max-height:240px;overflow:auto;white-space:pre-wrap;word-break:break-word;font-size:11px;line-height:1.5;color:var(--muted);background:#00000040;border-radius:8px}.thinking{display:flex;align-items:center;gap:10px;white-space:nowrap}.skip-btn{padding:3px 12px;border:1px solid var(--gold);border-radius:999px;background:#fbbf2426;color:var(--gold);font:inherit;font-weight:700;cursor:pointer;pointer-events:auto}.skip-btn:hover{background:#fbbf244d}.turn-report{position:absolute;top:10px;left:50%;transform:translate(-50%);z-index:5;width:min(340px,calc(100% - 20px));padding:10px 14px;border-radius:var(--radius);background:#080f1ef0;border:1px solid rgba(251,191,36,.55);box-shadow:0 10px 30px #00000080}.turn-report h3{margin:0 0 6px;font-size:14px;color:var(--gold);letter-spacing:.08em}.turn-report ul{margin:0;padding:0;list-style:none;font-size:13px;line-height:1.7}.turn-report-foot{display:flex;justify-content:flex-end;margin-top:6px}.turn-report{cursor:pointer}.turn-report-backdrop{position:fixed;inset:0;z-index:4}.always-skip{width:100%}.always-skip.on{border-color:var(--gold);color:var(--gold)}.end-confirm{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:6;width:min(340px,calc(100% - 20px));padding:14px 16px;border-radius:var(--radius);background:#080f1ef5;border:1px solid rgba(251,191,36,.6);box-shadow:0 12px 34px #0000008c}.end-confirm h3{margin:0 0 6px;font-size:15px}.end-confirm p{margin:0;font-size:13px}.end-confirm b{color:var(--gold)}.end-confirm-buttons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;margin-top:12px}.next-ready{width:100%;margin-top:6px;font-size:13px}[data-theme=light]{--bg0: #c3d5ec;--bg1: #eef4fb;--panel: rgba(255, 255, 255, .92);--panel-2: #f1f6fc;--line: rgba(30, 58, 95, .18);--line-strong: rgba(30, 58, 95, .32);--text: #14233d;--muted: #4a5d7a;--accent: #0369a1;--green: #047857;--gold-text: #a35708;color-scheme:light}[data-theme=light] body{background:radial-gradient(1100px 520px at 50% -12%,rgba(59,130,246,.2),transparent 65%),linear-gradient(180deg,var(--bg1),var(--bg0)) fixed}[data-theme=light] body:before{background-image:linear-gradient(rgba(30,64,175,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(30,64,175,.07) 1px,transparent 1px)}[data-theme=light] .btn:not(.primary,.end,.danger){background:linear-gradient(180deg,#fff,#e6edf7)}[data-theme=light] .btn.ghost:not(.primary,.end,.danger){background:#ffffff80}[data-theme=light] .btn.primary,[data-theme=light] .btn.end{border-color:#f59e0b}[data-theme=light] :is(.title-card,.map-select,.hud,.panel,.rules){box-shadow:0 14px 34px #1e3a5f29,inset 0 1px #ffffffe6}[data-theme=light] .title-card{border-color:#d9770680}[data-theme=light] .title-card:before,[data-theme=light] .title-card:after{border-color:#d97706}[data-theme=light] .title h1{background:linear-gradient(180deg,#1e3a6e 15%,#1d4ed8 60%,#b45309);-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 2px 6px rgba(37,99,235,.18))}[data-theme=light] .level-btn:not(.on){background:#fff}[data-theme=light] :is(.stage-list,.stage-info){background:linear-gradient(180deg,#ffffff,var(--panel-2))}[data-theme=light] .stage-item.on{background:#fbbf2433;border-color:#d9770699}[data-theme=light] .stage-item:hover{background:#0369a112}[data-theme=light] .stage-preview{background:#dde7f3}[data-theme=light] :is(.rules,.settings){background:#f8fbff}[data-theme=light] .rules::backdrop,[data-theme=light] .settings-backdrop{background:#0f1e3c59}[data-theme=light] .settings{box-shadow:0 20px 50px #0f1e3c40}[data-theme=light] .board-wrap{background:linear-gradient(180deg,#d3dff0,#bccde5);border-color:#d9770659;box-shadow:0 16px 40px #1e3a5f38}[data-theme=light] .thinking{background:#fffffff0;color:#b91c1c}[data-theme=light] .forecast div{background:#f1f5fb}[data-theme=light] .shop-item{background:#f6f9fd}[data-theme=light] .shop-item:hover:not(:disabled){background:#fff7e3}[data-theme=light] .info-sub{color:#3a4c68}[data-theme=light] .info-sub.warn{color:#c2410c}[data-theme=light] .good{color:#1d4ed8}[data-theme=light] .bad,[data-theme=light] .score .out dd{color:#dc2626}[data-theme=light] .danger-toggle.on{color:#b91c1c;background:#dc26261f}[data-theme=light] .hud-side{background:linear-gradient(90deg,#3b82f638,#3b82f60a)}[data-theme=light] .hud-side.enemy{background:linear-gradient(90deg,#ef444433,#ef44440a)}[data-theme=light] .result h2{background:linear-gradient(180deg,#1e3a6e,#b45309);-webkit-background-clip:text;background-clip:text}[data-theme=light] .result.lose h2{background:linear-gradient(180deg,#1e3a6e,#dc2626);-webkit-background-clip:text;background-clip:text}[data-theme=light] .record{background:#ffffffbf;border-color:var(--line-strong)}[data-theme=light] .reset-confirm{background:#fef2f2}[data-theme=light] .reset-confirm .reset-title{color:#b91c1c}[data-theme=light] .tutorial{background:linear-gradient(135deg,#fbbf2433,#fffffff5);border-color:#d977068c}[data-theme=light] .license-text{background:#1e3a5f0f}[data-theme=light] :is(.turn-report,.end-confirm){background:#fffffff7;box-shadow:0 12px 30px #1e3a5f40}[data-theme=light] :is(.hud-money b,.stage-done,.stage-tag,.stage-info dd.best,.map-clear.done,.rules h3,.shop-tab-name,.shop-cost,.setting-value,.setting-choice.on,.tutorial-tag,.turn-report h3,.end-confirm b,.bulk-up,.units-toggle.on,.always-skip.on,.license-kind,.record.new b,.skip-btn,.stage-cursor){color:var(--gold-text)}[data-theme=light] :is(.stage-done,.record.new b){text-shadow:none}.shop-head{display:flex;flex-direction:column;gap:8px}.shop-title{display:flex;align-items:flex-start;gap:8px}.shop-title .hint{flex:1}.shop-grip{display:none}.shop-close{flex:none;width:34px;height:34px;margin:-4px -4px 0 0;border-radius:50%;border:1px solid var(--line-strong);background:transparent;color:var(--text);font-size:20px;line-height:1;cursor:pointer}.shop-close:hover{border-color:var(--accent)}.shop-backdrop{display:none}@media(max-width:820px){.panel{-webkit-backdrop-filter:none;backdrop-filter:none}.shop-backdrop{display:block;position:fixed;inset:0;z-index:40;background:#02060e73}.shop-panel{position:fixed;z-index:41;left:8px;right:8px;top:calc(120px + var(--safe-top));max-height:calc(100dvh - 128px - var(--safe-top) - var(--safe-bottom));display:flex;flex-direction:column;gap:10px;overflow:hidden;padding:4px 12px 12px;border-radius:14px;border:1px solid rgba(251,191,36,.55);background:#1a2d50;box-shadow:0 10px 40px #0000008c}.shop-head{flex:none;touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}.shop-grip{display:flex;justify-content:center;padding:6px 0 2px}.shop-grip span{width:44px;height:5px;border-radius:999px;background:var(--line-strong)}.shop-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}[data-theme=light] .shop-panel{background:#f8fbff;box-shadow:0 10px 40px #1e3a5f4d}[data-theme=light] .shop-backdrop{background:#0f1e3c4d}}html.ios-app{--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-left: env(safe-area-inset-left, 0px);--safe-right: env(safe-area-inset-right, 0px);-webkit-touch-callout:none}html.ios-app body{padding:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left)}html.ios-app body:after{content:"";position:fixed;left:0;right:0;top:0;height:var(--safe-top);background:var(--bg1);z-index:100;pointer-events:none}
