.kill-race{display:grid;grid-template-columns:minmax(0,1.1fr) auto minmax(0,1fr);align-items:center;gap:5px;height:14px;min-width:0}.kill-race-side{display:flex;align-items:center;gap:5px;min-width:0;height:100%}.kill-race-white{justify-content:flex-end}.kill-race-black{justify-content:flex-start}.kill-race-recap{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#94a3b8}.kill-race-white .kill-race-recap{margin-right:auto}.kill-race-black .kill-race-recap{margin-left:auto}.mined-total{flex:none;display:inline-flex;align-items:center;gap:2px;height:14px;padding:0 5px 0 4px;border-radius:7px;font-size:11px;line-height:14px;font-variant-numeric:tabular-nums}.mined-total b{font-weight:800}.mined-total-white{background:#f0ece2;color:#182430}.mined-total-black{background:#05070a;color:#eef3fa;box-shadow:inset 0 0 0 1px #eef3fa66}.mined-total.is-ahead{box-shadow:inset 0 0 0 2px #f59e0b}.mined-gem{flex:none;width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linejoin:round}.mined-gem path+path{stroke-width:.7;opacity:.8}.kill-clock{flex:none;display:inline-flex;align-items:center;gap:2px;font-size:11px;line-height:14px;color:#94a3b8;font-variant-numeric:tabular-nums;white-space:nowrap}.kill-dial-face{flex:none;width:12px;height:12px}.kill-dial-rim{fill:none;stroke:currentColor;stroke-width:1.1}.kill-dial-fill{fill:none;stroke:currentColor;stroke-width:5.2}.kill-clock-count{font-weight:650}.kill-clock.rent-warning .kill-clock-count{font-weight:800}.kill-clock-pointer{flex:none;width:6px;height:9px;fill:currentColor}.kill-clock-tied{font-style:normal;font-weight:750}.kill-race.has-secured-lead{height:44px;gap:3px}.secured-lock{width:10px;height:12px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}.kill-race .mined-total.is-secured{border:0;height:44px;padding:0 5px 0 4px;font-size:11px;cursor:pointer;box-shadow:inset 0 0 0 2px #42bda0}.kill-race .mined-total-white.is-secured{background:#f0ece2;color:#182430}.kill-race .mined-total-black.is-secured{background:#05070a;color:#eef3fa}.kill-race .kill-clock.is-secured{border:1px solid #42bda0;border-radius:7px;background:#102d28;color:#b8f5dd;height:44px;padding:2px 4px;flex-direction:column;justify-content:center;cursor:pointer}.kill-clock-timing,.secured-caption{display:inline-flex;align-items:center;gap:2px}.secured-caption{font-size:10px;font-weight:750}.kill-race button:focus-visible{outline:2px solid #f8fafc;outline-offset:2px}.kill-race .play-dialog{white-space:normal;font-size:16px;line-height:1.5}.progress-clock.has-kill-race{display:block;padding:0;overflow:visible}.progress-clock.has-kill-race .clock-rule{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.kill-race-key .kill-race{display:inline-grid;grid-template-columns:auto auto auto;height:auto;padding:4px 0}@media(min-width:960px)and (min-height:601px)and (orientation:landscape){.kill-race{height:24px;gap:6px}.mined-total{height:22px;padding:0 8px 0 6px;border-radius:11px;gap:4px;font-size:14px;line-height:22px}.mined-gem{width:13px;height:13px}.mined-total.is-ahead{box-shadow:inset 0 0 0 2.5px #f59e0b}.kill-clock{font-size:13px;gap:3px;line-height:22px}.kill-dial-face{width:15px;height:15px}.kill-clock-pointer{width:8px;height:11px}.progress-clock.has-kill-race{padding:0}.kill-race{grid-template-columns:repeat(2,minmax(0,1fr));height:auto;row-gap:4px}.kill-race-side{display:contents}.kill-race-white .mined-total{grid-column:1;grid-row:1;justify-self:end}.kill-race-black .mined-total{grid-column:2;grid-row:1;justify-self:start}.kill-clock{grid-column:1 / -1;grid-row:2;justify-self:center}.kill-race-recap{grid-column:1 / -1;grid-row:3;text-align:center;margin:0!important}}.regional-fill[data-terrain]{background-size:100% 100%;background-repeat:no-repeat}.regional-fill[data-terrain=grass]{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20d='M9%2018q0-5-3-8m3%208%202-10m-2%2010q2-4%205-5M43%2013q0-4-3-6m3%206%201-7m-1%207%204-4M29%2038q0-5-3-8m3%208%201-10m-1%2010q3-4%205-5M10%2056l-3-6m3%206%201-8m-1%208%204-4M50%2051q0-5-3-8m3%208%202-10m-2%2010%205-5'%20stroke='%2315252b'%20stroke-opacity='.18'%20stroke-width='1.2'/%3e%3cpath%20d='m11%2019%202-6m32%201%201-5m-15%2030%202-5m-20%2023%202-4m38-1%203-6'%20stroke='%23fff'%20stroke-opacity='.14'%20stroke-width='1'/%3e%3c/svg%3e")}.regional-fill[data-terrain=sand]{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20stroke-linecap='round'%3e%3cpath%20d='M5%2013c9-6%2017-6%2026-2m8%2014c7-4%2013-4%2021-1M5%2042c11-6%2023-5%2033%201m-14%2013c10-5%2021-5%2033%200'%20stroke='%2315252b'%20stroke-opacity='.14'%20stroke-width='1.2'/%3e%3cpath%20d='M7%2016c8-5%2015-5%2022-2m12%2014c6-3%2012-3%2017-1M7%2045c10-5%2020-4%2029%201m-10%2013c10-4%2019-4%2029%200'%20stroke='%23fff'%20stroke-opacity='.16'%20stroke-width='1'/%3e%3cpath%20d='M10%2029h.2m24%202h.2m16-19h.2M13%2054h.2m38-14h.2'%20stroke='%2315252b'%20stroke-opacity='.12'%20stroke-width='1.5'/%3e%3c/svg%3e")}.regional-fill[data-terrain=stone]{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20d='m8%2011%207-3%206%204-2%206-9-1Zm34%200%207-2%205%205-3%205-8-2ZM25%2032l5-4%208%203%201%206-8%203-6-3ZM6%2049l5-3%207%203-2%207-8-1Zm39-4%208%201%204%206-5%205-9-4Z'%20stroke='%2315252b'%20stroke-opacity='.16'%20stroke-width='1.1'/%3e%3cpath%20d='m10%2012%205-2%204%203m25-1%205-1%203%203m-25%2019%204-3%205%202M8%2050l4-2%204%202m30-3%206%201%203%204'%20stroke='%23fff'%20stroke-opacity='.14'%20stroke-width='1'/%3e%3cpath%20d='M8%2032h.2m28-16h.2m18%2018h.2M30%2055h.2'%20stroke='%2315252b'%20stroke-opacity='.12'%20stroke-width='1.7'/%3e%3c/svg%3e")}.regional-fill[data-terrain=water]{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20stroke-linecap='round'%3e%3cpath%20d='M7%2012q5%203%2010%200t10%200m12%2014q5%203%2010%200t10%200M5%2041q5%203%2010%200t10%200m7%2013q5%203%2010%200t10%200'%20stroke='%2315252b'%20stroke-opacity='.16'%20stroke-width='1.2'/%3e%3cpath%20d='M10%2016q4%202%208%200t7%200m17%2014q4%202%208%200t7%200M8%2045q4%202%208%200t7%200m12%2013q4%202%208%200t7%200'%20stroke='%23fff'%20stroke-opacity='.17'%20stroke-width='1'/%3e%3c/svg%3e")}@media(forced-colors:active){.regional-fill[data-terrain]{background-image:none}}.music-trigger{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:6px 12px;border:1px solid #42576c;border-radius:9px;background:#253448;color:#d5e4ef;font:inherit}.music-trigger>span:first-child{font-size:19px;line-height:1}.music-trigger.is-playing{color:#bfe9ca}.music-playing-dot{position:absolute;right:5px;top:5px;width:5px;height:5px;border-radius:50%;background:#bfe9ca}.game-header-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.game-header .music-trigger{width:44px;letter-spacing:normal}.game-header .music-trigger-label{display:none}.music-lobby-nav{display:flex;justify-content:space-between;align-items:center;gap:12px}.music-panel{display:flex;flex-direction:column;gap:16px;min-width:0}.sound-settings{display:grid;gap:8px;padding-bottom:16px;border-bottom:1px solid #42576c}.sound-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.sound-settings-heading strong{font-size:14px}.sound-settings-heading button{min-width:56px}.play-dialog:has(.music-panel) .dialog-content>header>button{min-width:44px;min-height:44px;border-radius:9px;background:#253448;font-size:22px}.music-panel .music-caption{color:#bfe9ca;font-size:12px}.music-panel label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#b6c9d7}.music-panel select{width:100%;min-width:0;min-height:44px;padding:8px;border:1px solid #4c6578;border-radius:8px;background:#111f2d;color:#edf4f7;font:inherit;font-size:14px}.music-panel input[type=range]{display:block;width:100%;min-width:0;height:26px;accent-color:#bfe9ca;cursor:pointer}.music-panel button{min-height:44px;padding:8px 12px;border:1px solid #42576c;border-radius:9px;color:#e8edf5;background:#253448;font-size:13px}.music-panel .music-play{background:#bfe9ca;color:#153525;font-weight:700}.music-transport{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:8px}.music-time{display:flex;justify-content:space-between;margin-top:-15px;color:#a1b7c6;font-size:11px;font-variant-numeric:tabular-nums}.music-volume{display:flex;align-items:center;gap:14px}.music-volume label{flex:1}.music-repeat{display:flex;gap:8px}.music-repeat button{flex:1}.music-panel button[aria-pressed=true]{border-color:#bfe9ca;color:#bfe9ca;background:#243e3c}.music-panel .music-help{font-size:12px;line-height:1.5;color:#99aebf}.music-panel input:focus-visible,.music-panel select:focus-visible{outline:2px solid #67e8f9;outline-offset:2px}@media(max-width:380px){.game-header .music-trigger-label{display:none}.game-header .music-trigger{width:40px}.music-transport{gap:5px}.music-panel button{padding-inline:7px}}@media(min-width:960px)and (min-height:601px)and (orientation:landscape){.game-shell .game-header{grid-template-columns:minmax(0,1fr) auto}}.crystal-surface.board-cell{background:linear-gradient(#10192566,#10192566),var(--seam-color, #192a38)}.crystal-lights{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;overflow:hidden;z-index:1;opacity:.5;transition:opacity .16s ease}.has-selection .crystal-lights{opacity:.1}.crystal-board .board-square:after{border-color:#556c79}.crystal-style-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;padding:4px 0}.crystal-style-setting select{min-height:44px;min-width:0;max-width:65%;padding:8px;color:#eef4fa;background:#0f1a26;border:1px solid #526477;border-radius:8px}.stat-badge-layer{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:12}.unit-token.stat-badge-anchor{container-type:size;filter:none}.stat-chip{--chip: clamp(14px, 38cqmin, 24px);--over: calc(var(--chip) * .3);--over-x: max(var(--over), calc(var(--chip) * 2 + 6px - 100cqw));--over-y: max(var(--over), calc(var(--chip) * 2 + 6px - 100cqh));position:absolute;box-sizing:border-box;min-width:var(--chip);height:var(--chip);padding:0 calc(var(--chip) * .2);display:flex;align-items:center;justify-content:center;gap:1px;border-radius:999px;font:800 clamp(11px,24cqmin,15px)/1 system-ui,-apple-system,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:-.01em;color:#fff;white-space:nowrap;box-shadow:0 0 0 1.5px #0b1220,0 1px 3px #000a}.stat-atk{left:calc(var(--over) * -1);top:calc(var(--over) * -1);background:#d6343c}.stat-def{right:calc(var(--over) * -1);top:calc(var(--over) * -1);background:#2563eb}.stat-spd{left:calc(var(--over) * -1);bottom:calc(var(--over) * -1);background:#f5a524;color:#1a1100}.stat-mine{right:calc(var(--over) * -1);bottom:calc(var(--over) * -1);background:#15803d}.edge-top .stat-atk,.edge-top .stat-def{top:0}.edge-top .stat-spd,.edge-top .stat-mine{bottom:calc(var(--over-y) * -1)}.edge-bottom .stat-spd,.edge-bottom .stat-mine{bottom:0}.edge-bottom .stat-atk,.edge-bottom .stat-def{top:calc(var(--over-y) * -1)}.edge-left .stat-atk,.edge-left .stat-spd{left:0}.edge-left .stat-def,.edge-left .stat-mine{right:calc(var(--over-x) * -1)}.edge-right .stat-def,.edge-right .stat-mine{right:0}.edge-right .stat-atk,.edge-right .stat-spd{left:calc(var(--over-x) * -1)}.stat-badge-layer.is-pair.edge-top .stat-atk,.stat-badge-layer.is-pair.edge-top .stat-def{top:auto;bottom:calc(var(--over-y) * -1)}.stat-badge-layer.is-pair:not(.edge-top) .stat-chip{--over: max(calc(var(--chip) * .3), calc(var(--chip) + 3.5px - 50cqw))}.stat-badge-selected .stat-atk:only-child{left:0}.stat-badge-selected.edge-right .stat-atk:only-child{left:auto;right:0}.stat-badge-selected.edge-bottom .stat-atk:only-child{top:calc(var(--over) * -1)}.stat-badge-target .stat-def{right:calc(var(--chip) * .2)}.stat-chip.is-zero{background:#1f2937;color:#9aa4b5;box-shadow:0 0 0 1.5px #0b1220,inset 0 0 0 1.5px #4b5563}.stat-chip s{opacity:.7;font-weight:700;margin-right:1px;text-decoration-thickness:1.5px}@container (max-width: 40px){.stat-chip:has(>s){padding:0 1px;gap:0}.stat-chip s{font-size:.7em;margin-right:.5px;text-decoration-thickness:1px}}.stat-chip-delta{font-weight:700;opacity:.92}.stat-chip.is-kill{box-shadow:0 0 0 1.5px #0b1220,0 0 0 3px #fff,0 0 10px 2px #ffffffb0}.board-square:has(>.stat-badge-layer) .piece-damage{visibility:hidden}.stat-key-examples{display:grid;grid-template-columns:1fr 1.6fr;gap:14px;margin:14px 0;align-items:end}.stat-key-examples figcaption{text-align:center;font-size:11px;margin-top:8px}.stat-key-pair{display:flex;justify-content:center;gap:14px}.stat-key-example{position:relative;width:56px;height:60px;margin:10px auto 0}.stat-key-example .unit-art{width:100%;height:100%}.stat-key-example .stat-badge-layer{z-index:1}.stat-key-example .unit-wrap.stat-badge-wrap{width:100%;height:100%;transform:none}.stat-key-example .unit-token.stat-badge-anchor{width:100%;height:100%;max-width:none;max-height:none}.enemy-trail{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;z-index:2;overflow:visible;--trail: #cfa2ff;--trail-edge: #12081f;--trail-scale: 1}.enemy-trail.trail-white{--trail: #6fd8ff;--trail-edge: #04131c}@media(max-width:600px){.board-size-8 .enemy-trail,.board-size-9 .enemy-trail,.board-size-10 .enemy-trail{--trail-scale: 1.55}}.enemy-trail line{fill:none;stroke-linecap:round;stroke-dasharray:0 12.5;stroke-dashoffset:-6.25}.enemy-trail .trail-wash{fill:var(--trail);opacity:.14}.enemy-trail .trail-dots{stroke:var(--trail);stroke-width:calc(5.5px * var(--trail-scale))}.enemy-trail .trail-under{stroke:var(--trail-edge);stroke-width:calc(9.5px * var(--trail-scale));opacity:.7}.enemy-trail .trail-start{transform-box:view-box;transform-origin:50% 50%;transform:scale(var(--trail-scale))}.enemy-trail .trail-start rect{fill:#0b141c66;stroke:var(--trail);stroke-width:4px;filter:drop-shadow(0 0 1.5px var(--trail-edge))}.enemy-trail .trail-start text{fill:var(--trail);font:800 17px/1 system-ui,sans-serif;text-anchor:middle;dominant-baseline:central;paint-order:stroke;stroke:var(--trail-edge);stroke-width:3px}.enemy-trail .trail-arrow{fill:none;stroke:var(--trail);stroke-width:calc(6px * var(--trail-scale));stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 1.5px var(--trail-edge))}.enemy-trail .trail-strike{transform-box:view-box;transform-origin:0 0;transform:scale(calc(.45 + .55 * var(--trail-scale)));fill:var(--trail);stroke:var(--trail-edge);stroke-width:2px;stroke-linejoin:round;paint-order:stroke}.enemy-trail .trail-arrival{fill:none;stroke:var(--trail);stroke-width:calc(5px * var(--trail-scale));stroke-linecap:round;filter:drop-shadow(0 0 1.5px var(--trail-edge))}.enemy-trail.on-home .trail-start rect{fill:none}@media(prefers-reduced-motion:no-preference){.enemy-trail{animation:enemy-trail-in .35s ease-out}.enemy-trail.is-revealing{animation:enemy-trail-in .14s ease-out var(--trail-reveal, 0ms) backwards}}@keyframes enemy-trail-in{0%{opacity:0}}.trail-key-examples{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:14px 0}.trail-key-examples figure{margin:0}.trail-key-example{position:relative;width:44px;height:44px;margin:auto;background:#192a38}.trail-key-examples figcaption{text-align:center;font-size:11px;margin-top:6px;line-height:1.3}.spawn-rects{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;z-index:3;overflow:visible;--spawn-clear: #8fe3b4;--spawn-blocked: #b7c4cf;--spawn-halo: #08131c}.spawn-rects path{fill:none;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}.spawn-rects .spawn-halo{stroke:var(--spawn-halo);opacity:.6}.spawn-rect-clear .spawn-line{stroke:var(--spawn-clear)}.spawn-rect-blocked .spawn-line{stroke:var(--spawn-blocked)}.spawn-rect-blocked path{stroke-dasharray:5 4}.spawn-rects.is-phone .spawn-rect-blocked path{stroke-dasharray:4 3.5}.spawn-rects.is-enemy{--spawn-clear: #dfbca2;--spawn-blocked: #c5a8b8}.spawn-rects.is-enemy .spawn-rect-blocked path{stroke-dasharray:2 4}.spawn-block-layer.is-enemy .spawn-line{stroke:#c5a8b8}@media(prefers-reduced-motion:no-preference){.spawn-rects,.spawn-block-layer{animation:spawn-rects-in .15s ease-out}}@keyframes spawn-rects-in{0%{opacity:0}}.coordinate-board .board-square>.absolute,.coordinate-board .board-square>.summon-ghost:not(.occupied){z-index:4}.coordinate-board .board-square>.absolute:has(>.learn-hint-piece,>.learn-spotlight-piece){z-index:9}.spawn-block-layer{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:5}.spawn-block-mark{--chip: clamp(12px, 38cqmin, 21px);position:absolute;right:calc(var(--chip) * -.25);top:calc(var(--chip) * -.25);width:var(--chip);height:var(--chip);overflow:visible}.spawn-block-layer.edge-top .spawn-block-mark,.spawn-block-layer.tuck-top .spawn-block-mark{top:0}.spawn-block-layer.edge-right .spawn-block-mark,.spawn-block-layer.tuck-right .spawn-block-mark{right:0}.spawn-block-mark rect,.spawn-block-mark path{fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round}.spawn-block-mark .spawn-line{stroke:#b7c4cf;stroke-width:1.5px}.spawn-block-mark .spawn-line.spawn-slash{stroke-width:1.75px}.spawn-block-mark .spawn-halo{stroke:#08131c;stroke-width:3px;opacity:.6}.spawn-block-mark .spawn-halo.spawn-slash{stroke-width:3.25px}.unit-token.spawn-block-anchor{container-type:size;filter:none}.board-square:has(>.spawn-block-layer) .piece-damage{right:auto;top:auto;left:-1px;bottom:-2px}.spawn-key-examples{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:12px 0}.spawn-key-examples figure{display:flex;flex-direction:column;align-items:center;gap:6px}.spawn-key-examples figcaption{font-size:11px;text-align:center}.spawn-key-example{position:relative;width:64px;height:64px;border-radius:6px;background:#20343f}.spawn-key-example .spawn-rects{z-index:0}.spawn-key-example .unit-art{position:absolute;top:14%;right:14%;bottom:14%;left:14%;width:72%;height:72%}.spawn-key-example .spawn-block-layer{z-index:1}.home-clock-layer{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:11}.unit-token.home-clock-anchor{container-type:size;filter:none}.oc-own{--oc: #f2c14e;--oc-face: #14110a;--oc-pulse: #f2c14e80}.oc-enemy{--oc: #ff4f5a;--oc-face: #1c0a0d;--oc-pulse: #ff4f5a80}.home-clock{--oc-hand: #f3efe4;--chip: clamp(16px, 46cqmin, 27px);--rim: 2px;--hand: 2px;position:absolute;width:var(--chip);height:var(--chip);right:calc(var(--chip) * -.3);top:calc(var(--chip) * -.3);animation:home-clock-land .18s ease-out}.edge-top .home-clock,.tuck-top .home-clock{top:0}.edge-right .home-clock,.tuck-right .home-clock{right:0}.beside-atk .home-clock{--atk: clamp(14px, 38cqmin, 24px);top:auto;right:0;bottom:0}.beside-atk.edge-bottom .home-clock{bottom:max(var(--sink),min(-1.5px,calc(100cqh - var(--chip) - var(--atk) * .7 - .5px)))}.tier-1>.home-clock{--sink: -12%}.tier-2>.home-clock{--sink: -9.5%}.tier-3>.home-clock{--sink: -7%}.beside-atk.edge-top .home-clock{bottom:max(calc(var(--chip) * -.5),min(0px,calc(100cqh - var(--chip) - var(--atk) - .5px)))}.beside-atk.edge-left .home-clock{right:min(0px,100cqw - var(--chip))}@container (max-height: 31px){.beside-atk.edge-top.tuck-bottom .home-clock{display:none}}@container (min-width: 47.9px){.home-clock{--rim: 2.5px}}@container (max-width: 43.4px){.home-clock{--hand: 1.5px}}.home-clock-face{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;background:var(--oc-face);box-shadow:inset 0 0 0 var(--rim) var(--oc),0 0 0 1.5px #0b1220,0 0 0 1.5px transparent,0 1px 3px #000a}.home-clock svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible}.home-clock-tick{stroke:var(--oc);stroke-width:1px;vector-effect:non-scaling-stroke}.home-clock-hand{stroke:var(--oc-hand);stroke-width:var(--hand);stroke-linecap:round;vector-effect:non-scaling-stroke;transform-box:view-box;transform-origin:50% 50%}.home-clock-hour{transform:rotate(355deg)}.home-clock-minute{transform:rotate(300deg)}.home-clock-pin{fill:var(--oc-hand)}.home-clock.is-ticking .home-clock-hour{transform:rotate(359deg)}.home-clock.is-ticking .home-clock-minute{transform:rotate(348deg);animation:home-clock-tick 2s linear infinite}.home-clock.is-ticking .home-clock-face{animation:home-clock-pulse 1s ease-in-out infinite alternate}@keyframes home-clock-tick{0%,49.9%{transform:rotate(342deg)}50%,to{transform:rotate(348deg)}}@keyframes home-clock-pulse{to{box-shadow:inset 0 0 0 var(--rim) var(--oc),0 0 0 1.5px #0b1220,0 0 0 4.5px var(--oc-pulse),0 1px 3px #000a}}.home-clock>.attack-frontier-marker.on-clock{top:85.4%;left:14.6%;width:clamp(6px,calc(var(--chip) * .4),8px);height:clamp(6px,calc(var(--chip) * .4),8px);z-index:1}.home-clock.is-checkmate .home-clock-face{background:var(--oc)}.home-clock-ink{fill:var(--oc-face)}.home-clock-shackle{fill:none;stroke:var(--oc-face);stroke-width:9;stroke-linecap:round}.home-clock.is-won{animation:home-clock-crown .3s ease-out}.home-clock.is-won .home-clock-face{background:var(--oc);box-shadow:0 0 0 1.5px #fff,0 0 12px 3px #ffffffb0}@keyframes home-clock-land{0%{transform:scale(.6)}to{transform:scale(1)}}@keyframes home-clock-crown{0%{transform:scale(.6)}60%{transform:scale(1.15)}to{transform:scale(1)}}.board-square.is-moving>.home-clock-layer,.board-square.is-gliding>.home-clock-layer{display:none}.board-square:has(>.home-clock-layer) .piece-damage{--hang-x: 2px;--hang-y: 3px;right:auto;top:auto;line-height:10px;padding:0 1px;left:max(calc(-1 * var(--hang-x)),calc(var(--room-x, -9.5%) + 1px));bottom:max(calc(-1 * var(--hang-y)),calc(var(--room-y, -7.5%) + 1px))}.board-square:has(>.home-clock-layer) .tier-1>.piece-damage{--room-x: -15%;--room-y: -12.5%}.board-square:has(>.home-clock-layer) .tier-2>.piece-damage{--room-x: -12%;--room-y: -10%}.board-square:has(>.home-clock-layer) .tier-3>.piece-damage{--room-x: -9.5%;--room-y: -7.5%}.board-square:has(>.home-clock-layer) [data-motion-unit] .unit-token{container-type:size}@container (max-width: 25.5px){.board-square:has(>.home-clock-layer) .piece-damage{--hang-x: 3px;--hang-y: 4px;font-size:8px;line-height:8px;border-radius:3px}}.board-square:has(>.home-clock-layer)>.board-cell .ko-badge-threat{left:auto;right:1px;bottom:0;font-size:11px}.board-square:has(>.home-clock-layer)>.board-cell{container-type:size}.board-square:has(>.home-clock-layer.tuck-bottom)>.board-cell .ko-badge-threat{bottom:2px;font-size:clamp(9px,30cqh,11px)}.board-square.learn-flag:has(>.home-clock-layer):before{display:none}.stat-badge-layer.has-home-clock .stat-def:not(.is-kill){box-shadow:0 0 0 2.5px var(--oc),0 1px 3px #000a}.home-clock.home-clock-panel{--chip: 18px;--rim: 2px;--hand: 1.5px;position:relative;display:inline-block;flex:none;right:auto;top:auto;margin-left:4px;vertical-align:middle}.unit-clock-line{margin:0;min-height:12px;line-height:12px;font-size:10px;font-weight:700;color:var(--oc);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-clock-key{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.home-clock-key figcaption{text-align:center;font-size:11px;margin-top:8px}.home-clock-key-token{position:relative;width:56px;height:60px;margin:12px auto 0}.home-clock-key-token .unit-art{width:100%;height:100%}.home-clock-key-token .home-clock-layer{z-index:1}.home-clock-key-token .unit-wrap.home-clock-wrap{width:100%;height:100%;transform:none}.home-clock-key-token .unit-token.home-clock-anchor{width:100%;height:100%;max-width:none;max-height:none}.upkeep-layer{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:11}.upkeep-layer *{pointer-events:none}.unit-token.upkeep-anchor{filter:none}.board-square.is-moving .upkeep-layer{visibility:hidden}.upkeep-layer{container-type:size}.upkeep-anchor.tier-1{--fw: .7654;--fh: .7921}.upkeep-anchor.tier-2{--fw: .7998;--fh: .8277}.upkeep-anchor.tier-3{--fw: .8342;--fh: .8633}.upkeep-anchor{--tok-w: min(56px, calc(var(--fw, .7998) * 100cqw));--tok-h: min(58px, calc(var(--fh, .8277) * 100cqh));--room-x: calc((100cqw - var(--tok-w)) / 2 - 1.5px);--room-y: calc((100cqh - var(--tok-h)) / 2 - 1.5px)}.upkeep-risk{--quarter: calc(50cqw - 2.5px) ;--chip: max(min(calc(var(--tok-w) * .38), 24px, var(--quarter)), min(14px, calc(var(--tok-w) * .7), var(--quarter)), min(8px, calc(var(--tok-w) * .7)));--over: calc(var(--chip) * .3);position:absolute;left:max(calc(var(--over) * -1),calc(var(--room-x) * -1));top:max(calc(var(--over) * -1),calc(var(--room-y) * -1));width:var(--chip);height:var(--chip);display:flex;align-items:center;justify-content:center}.upkeep-risk:before{content:"";position:absolute;top:14.6%;right:14.6%;bottom:14.6%;left:14.6%;transform:rotate(45deg);border-radius:2px;background:#f59e0b;box-shadow:0 0 0 1.5px #0b1220,0 1px 3px #000a}.upkeep-risk-bang{position:relative;font:800 calc(var(--chip) * .62)/1 system-ui,-apple-system,sans-serif;color:#1a1100}.upkeep-badge{--quarter: calc(50cqw - 2.5px) ;--badge: max(min(calc(var(--tok-w) * .66), 29px, var(--quarter)), min(18px, calc(var(--tok-w) * .75), var(--quarter)), min(10px, calc(var(--tok-w) * .75)));--over: calc(var(--badge) * .3);position:absolute;left:max(calc(var(--over) * -1),calc(var(--room-x) * -1));top:max(calc(var(--over) * -1),calc(var(--room-y) * -1));width:var(--badge);height:var(--badge);display:flex;align-items:center;justify-content:center;border-radius:50%;box-shadow:0 0 0 1.5px #0b1220,0 1px 3px #000a}.upkeep-badge svg{width:62%;height:62%;display:block;overflow:visible;fill:none;stroke-linecap:round;stroke-linejoin:round}.upkeep-badge path{vector-effect:non-scaling-stroke;stroke-width:2px}.upkeep-layer .upkeep-badge.is-tappable{pointer-events:auto;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.upkeep-badge.is-x{background:#e5e7eb}.upkeep-badge.is-x svg{stroke:#111827}.upkeep-badge.is-check{background:#16a34a}.upkeep-badge.is-check svg{stroke:#fff}@container (max-width: 45px){.upkeep-badge path{stroke-width:1.5px}}.board-square.upkeep-marked .piece-damage{display:none}.board-square.upkeep-released>[data-motion-unit]>.unit-wrap{opacity:.35;filter:grayscale(1)}.upkeep-sigil{position:absolute;left:18%;top:18%;width:64%;height:64%;overflow:visible;fill:none}.upkeep-sigil circle,.upkeep-sigil path{vector-effect:non-scaling-stroke;stroke-linecap:round}.upkeep-sigil-halo{stroke:#0b1220;stroke-width:5px;opacity:.7}.upkeep-sigil-line{stroke:#e2e8f0;stroke-width:2px}@container (max-width: 62px){.board-square .upkeep-sigil-line{stroke-width:1.5px}.board-square .upkeep-sigil-halo{stroke-width:4px}}.board-square.upkeep-kept.upkeep-over .unit-token{animation:upkeep-jiggle .34s linear infinite;transform-origin:50% 55%;animation-delay:calc(var(--jiggle-phase, 0) * -70ms)}@keyframes upkeep-jiggle{0%{transform:rotate(-1.8deg)}25%{transform:rotate(1.6deg) translateY(-.6px)}50%{transform:rotate(-1.4deg)}75%{transform:rotate(1.8deg) translateY(.4px)}to{transform:rotate(-1.8deg)}}@media(prefers-reduced-motion:reduce){.board-square.upkeep-kept.upkeep-over>.board-cell{box-shadow:inset 0 0 0 3px #f59e0b}}.board-square.upkeep-owed>.board-cell{cursor:pointer}.upkeep-risk-note{color:#f59e0b;font-weight:700;text-transform:none;white-space:nowrap}.upkeep-choice{padding:6px 10px;height:100%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;gap:4px;min-height:0}.upkeep-choice h2{display:none}.upkeep-tally{font-size:14px;font-weight:700;color:#eef3f9;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upkeep-hint{margin:0;font-size:11px;line-height:1.3;color:#a9bccd}.upkeep-buttons{display:grid;grid-template-columns:1fr 1.6fr;gap:8px}.upkeep-buttons.is-single{grid-template-columns:1fr}.game-shell .upkeep-buttons button{min-height:40px;padding:4px 8px;font-size:13px}.upkeep-tally,.upkeep-hint{flex:none}@media(max-width:380px){.upkeep-choice{padding-inline:8px}.game-shell .upkeep-buttons button{padding-inline:5px;font-size:12px;white-space:nowrap}}@media(min-width:960px)and (min-height:601px)and (orientation:landscape){.decision-panel .upkeep-choice{height:auto;min-height:100%;padding:12px;gap:10px;justify-content:flex-start}.upkeep-choice h2{display:block;font-size:16px;font-weight:700;color:#eef3f9}.upkeep-tally{font-size:15px;white-space:normal}.upkeep-hint{font-size:12px;line-height:1.5}.upkeep-buttons{margin-top:auto;grid-template-columns:1fr}.game-shell .upkeep-buttons button{min-height:44px}}.upkeep-key-examples{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:12px 0}.upkeep-key-examples figure{display:flex;flex-direction:column;align-items:center;gap:8px}.upkeep-key-examples figcaption{font-size:11px;text-align:center;line-height:1.4}.upkeep-key-example{position:relative;width:56px;height:60px;margin:8px auto 0}.upkeep-key-piece,.upkeep-key-piece .unit-art{width:100%;height:100%}.upkeep-key-example.is-released .upkeep-key-piece{opacity:.35;filter:grayscale(1)}.upkeep-key-example .upkeep-layer{z-index:1}.upkeep-key-example .unit-wrap.upkeep-wrap{width:100%;height:100%}.upkeep-key-example .unit-token.upkeep-anchor{width:100%;height:100%;max-width:none;max-height:none}.upkeep-key-example .upkeep-anchor{--tok-w: 56px;--tok-h: 60px;--room-x: 100px;--room-y: 100px}.upkeep-key-example .upkeep-risk,.upkeep-key-example .upkeep-badge{--quarter: 100px}.game-shell .board-key button.board-expand-toggle{min-height:28px;padding:3px 8px;background:#253448;white-space:nowrap;font-size:11px}@media(orientation:portrait),(min-height:601px)and (max-width:959px){.game-shell .play-area,.game-shell .play-area.is-placing{grid-template-rows:minmax(0,1fr) 28px var(--decision-height, 100px)}}.game-shell.is-board-expanded{padding-inline:max(2px,env(safe-area-inset-left)) max(2px,env(safe-area-inset-right))}.game-shell.is-board-expanded .game-header,.game-shell.is-board-expanded .income-recap-slot,.game-shell.is-board-expanded .instant-replay-launcher,.game-shell.is-board-expanded .reference-bar,.game-shell.is-board-expanded .progress-clock .clock-rule{display:none}.game-shell.is-board-expanded .board-key{gap:2px}.game-shell.is-board-expanded .board-key>span{flex:1}.game-shell.is-board-expanded .board-key button{flex:none;min-height:28px}.game-shell.is-board-expanded .play-footer{gap:2px}@media(orientation:landscape)and (max-height:600px){.game-shell.is-board-expanded{grid-template-columns:minmax(0,1fr) minmax(230px,.72fr);column-gap:6px}.game-shell.is-board-expanded .board-stage{padding:0 0 28px}.game-shell.is-board-expanded .battle-board{width:min(100cqw,100cqh);height:min(100cqw,100cqh)}}@media(min-width:960px)and (min-height:601px)and (orientation:landscape){.game-shell .board-expand-toggle{grid-column:1 / -1}.game-shell.is-board-expanded{--sidebar-width: 144px;max-width:none;gap:6px;padding-block:max(2px,env(safe-area-inset-top)) max(2px,env(safe-area-inset-bottom))}}.board-square.is-moving{z-index:10}.board-square.is-moving .stat-badge-layer{visibility:hidden}.unit-detail .unit-heading{min-height:24px}.unit-detail .unit-heading .unit-art{width:22px;height:24px}.game-shell .unit-detail .unit-heading button{min-height:26px;height:26px}.unit-main{display:flex;align-items:center;gap:8px}.unit-cards{flex:none;display:flex;align-items:center;gap:4px}.unit-tile{display:grid;grid-template-columns:auto auto;gap:3px;padding:3px;border-radius:9px;background:#0f1a27;box-shadow:inset 0 0 0 1px #2c3b4c}.panel-chip{box-sizing:border-box;min-width:24px;height:20px;padding:0 6px;display:flex;align-items:center;justify-content:center;border-radius:999px;font:800 12px/1 system-ui,-apple-system,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:-.01em;color:#fff;white-space:nowrap;box-shadow:0 0 0 1.5px #0b1220,0 1px 3px #000a}.panel-chip-atk{background:#d6343c}.panel-chip-def{background:#2563eb}.panel-chip-spd{background:#f5a524;color:#1a1100}.panel-chip-mine{background:#15803d}.panel-chip.is-zero{background:#1f2937;color:#9aa4b5;box-shadow:0 0 0 1.5px #0b1220,inset 0 0 0 1.5px #4b5563}.panel-chip s{opacity:.7;font-size:.84em;font-weight:700;margin-right:1px;text-decoration-thickness:1.5px}.panel-chip.is-gain{box-shadow:0 0 0 1.5px #0b1220,0 0 0 3px #fff,0 0 8px 1px #ffffff90}.panel-chip-gain{margin-left:2px;padding:1px 2px;border-radius:999px;background:#fff;color:#0b1220;font:900 10px/1 system-ui,-apple-system,sans-serif;letter-spacing:-.02em}.panel-chip[role=button]{cursor:help;-webkit-tap-highlight-color:transparent;touch-action:manipulation;-webkit-user-select:none;user-select:none}.panel-chip[role=button]:focus{outline:none}.panel-chip[role=button]:focus-visible{outline:2px solid #67e8f9;outline-offset:2px}.panel-chip.is-explained{outline:2px solid #ffffffcc;outline-offset:1px}.chip-tip{position:fixed;z-index:60;max-width:min(240px,calc(100vw - 12px));box-sizing:border-box;padding:6px 9px;border-radius:9px;background:#f4f7fb;color:#0f1a27;box-shadow:0 4px 14px #000a,0 0 0 1px #0b1220;font:600 12px/1.3 system-ui,-apple-system,sans-serif;text-align:left;white-space:normal;pointer-events:none}.chip-tip b{font-weight:800}.chip-tip-atk b{color:#b4232b}.chip-tip-def b{color:#1d4ed8}.chip-tip-spd b{color:#8a5a00}.chip-tip-mine b{color:#15803d}.unit-arrow{color:#f0cd7e;font:800 16px/1 system-ui,-apple-system,sans-serif;padding:0 1px}.unit-max{display:flex;flex-direction:column;align-items:center;padding:0 4px;line-height:1.15}.unit-max b{color:#f0cd7e;font-size:12px;font-weight:700}.unit-max small{color:#b1c0d0;font-size:10px;font-weight:700}.unit-slot{flex:1 1 0;min-width:0;min-height:40px;display:flex;align-items:center;gap:8px}.unit-slot p{flex:1;min-width:0;margin:0;font-size:10px;line-height:1.25;color:#becddb;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;max-height:3.75em}.game-shell .unit-detail button.unit-reach{flex:none;min-height:32px;padding-block:3px;font-size:12px;white-space:nowrap}.game-shell .unit-detail button.unit-promote{flex:1;min-width:0;height:40px;min-height:40px;padding:3px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;white-space:nowrap;border-radius:9px;background:#f0cd7e;color:#2a1d05;font-weight:800;box-shadow:0 1px #fff6 inset,0 2px 6px #0006}.unit-promote>span{font-size:13px;line-height:1.1}.unit-promote>small{font-size:10px;line-height:1.1;font-weight:650;opacity:.85}.unit-promote>span,.unit-promote>small{max-width:100%;overflow:hidden;text-overflow:ellipsis}.game-shell .unit-detail button.unit-promote:hover{background:#f6d994}.game-shell .unit-detail button.unit-promote:active{background:#e2bb66}.game-shell .unit-detail button.unit-promote[aria-disabled=true]{cursor:default;background:transparent;color:#b1c0d0;box-shadow:inset 0 0 0 1.5px #4a5a6c}.unit-promote[aria-disabled=true]>small{color:#f0cd7e;opacity:1}@media(max-width:380px){.unit-detail,.game-shell .unit-detail{padding-inline:8px}.unit-main{gap:6px}.unit-cards{gap:2px}.unit-tile{column-gap:2px;padding-inline:2px}.panel-chip{min-width:21px;padding:0 4px}.unit-arrow{font-size:14px;padding:0}.game-shell .unit-detail button.unit-promote{padding-inline:4px}.unit-promote>span{font-size:12px}.game-shell .unit-detail button.unit-reach{padding-inline:8px}}@media(max-width:340px){.panel-chip-gain{padding-inline:1.5px}.unit-main{gap:5px}.unit-arrow{font-size:12px}.game-shell .unit-detail button.unit-promote{padding-inline:3px}.unit-promote>span{font-size:11.5px;letter-spacing:-.015em}.unit-promote-per{display:none}}.unit-upgrade-price{display:block;color:#ebd29e;font-weight:650}.unit-detail .unit-income{margin:0;min-height:12px;line-height:12px}@media(min-width:960px)and (min-height:601px)and (orientation:landscape){.decision-panel .unit-detail .unit-heading .unit-art{width:25px;height:27px}.game-shell .decision-panel .unit-detail .unit-heading button{height:auto;min-height:44px}.decision-panel .unit-main{flex-wrap:wrap;gap:8px}.decision-panel .unit-cards{flex-direction:column;align-items:center;gap:2px}.decision-panel .unit-arrow{display:block;transform:rotate(90deg);padding:0;line-height:16px}.decision-panel .unit-max{flex-direction:row;gap:6px;padding:2px 0 0}.decision-panel .unit-tile{gap:4px;padding:4px}.decision-panel .panel-chip{min-width:30px;height:24px;padding:0 6px;font-size:14px}.decision-panel .unit-slot{flex:1 1 100%;min-height:44px}.decision-panel .unit-slot p{font-size:12px;line-height:1.2;max-height:3.6em}.game-shell .decision-panel .unit-detail button.unit-reach{min-height:44px}.game-shell .decision-panel .unit-detail button.unit-promote{height:auto;min-height:44px;padding-block:5px;white-space:normal;text-align:center}.decision-panel .unit-promote>span,.decision-panel .unit-promote>small{overflow:visible;text-overflow:clip}.decision-panel .unit-promote>span{font-size:14px}.decision-panel .unit-promote>small{font-size:11px}.decision-panel .unit-detail .unit-income{line-height:1.5}}@media(min-width:960px)and (max-width:1199px)and (min-height:601px)and (orientation:landscape){.game-shell .decision-panel .unit-detail{gap:8px;padding-inline:10px}.decision-panel .unit-main{gap:6px}}.guide-tiles{display:flex;align-items:center;gap:6px;margin-top:6px}.guide-tiles .unit-tile,.guide-line .unit-tile{gap:4px;padding:4px}.guide-tiles .panel-chip{min-width:32px;height:26px;padding:0 7px;font-size:15px}.guide-tiles .unit-arrow{font-size:18px}.guide-line{--guide-head: 52px;--guide-tile: 60px;display:flex;align-items:flex-start;justify-content:center;gap:4px;margin-top:2px}.guide-step{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}.guide-step .guide-piece{height:var(--guide-head);display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:2px}.guide-step .guide-piece .unit-art{width:32px;height:34px}.guide-step .guide-piece b{font-size:13px;font-weight:750;line-height:16px;white-space:nowrap;color:#f2f5f9}.guide-line .panel-chip{min-width:28px;height:24px;padding:0 6px;font-size:14px}.guide-line .unit-tile{min-height:var(--guide-tile);box-sizing:border-box}.guide-price{display:block;font-size:11px;line-height:14px;font-weight:650;color:#ebd29e;white-space:nowrap}.guide-price>span{display:block}.guide-upkeep,.guide-max{color:#b1c0d0;font-size:10px}.guide-step-arrow{flex:none;height:var(--guide-tile);margin-top:calc(var(--guide-head) + 4px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.guide-arrow{display:block;color:#f0cd7e;font:800 18px/18px system-ui,-apple-system,sans-serif}.unit-shop.guide-shop{justify-content:flex-start;gap:14px}@media(min-width:540px){.guide-line{--guide-tile: 64px;gap:8px}.guide-line .panel-chip{min-width:32px;height:26px;padding:0 7px;font-size:15px}}@media(max-width:379px){.guide-line{flex-direction:column;align-items:stretch;gap:2px}.guide-step,.guide-step-arrow{display:grid;grid-template-columns:minmax(0,1.2fr) auto minmax(0,.8fr);align-items:center;column-gap:8px;height:auto;margin:0}.guide-step .guide-piece{height:auto;justify-self:start;justify-content:center}.guide-step .guide-piece .unit-art{width:28px;height:30px}.guide-step .guide-piece b{font-size:12px;line-height:14px}.guide-step>.guide-price{justify-self:end;text-align:right;white-space:normal}.guide-step>.guide-price>span{white-space:normal}.guide-arrow{grid-column:2;height:18px;transform:rotate(90deg);justify-self:center}}.shop-pick{display:flex;align-items:center;gap:8px;min-height:0}.shop-pick p{flex:1;min-width:0;margin:0}.shop-pick .unit-tile{flex:none;gap:2px;padding:2px;border-radius:8px}.shop-pick .panel-chip{min-width:22px;height:17px;padding:0 5px;font-size:11px}.purchase-shop .element-picker small{display:inline;margin-left:3px}@media(min-width:960px)and (min-height:601px)and (orientation:landscape){.decision-panel .shop-pick{flex-direction:column;align-items:flex-start;gap:12px}.decision-panel .shop-pick .unit-tile{gap:4px;padding:4px;border-radius:9px}.decision-panel .shop-pick .panel-chip{min-width:30px;height:24px;padding:0 6px;font-size:14px}.decision-panel .purchase-shop .element-picker small{display:block;margin-left:0}}.unit-release-menu{position:relative;flex:none}.unit-release-menu>summary{list-style:none;cursor:pointer;width:36px;height:40px;display:grid;place-items:center;border-radius:9px;background:#243547;font-size:22px}.unit-release-menu>summary::-webkit-details-marker{display:none}.unit-release-menu>summary:focus-visible{outline:2px solid #67e8f9;outline-offset:2px}.game-shell .unit-detail button.unit-release{position:absolute;z-index:40;right:0;bottom:calc(100% + 6px);width:220px;max-width:calc(100vw - 32px);min-height:44px;padding:8px;white-space:normal;background:#243547;box-shadow:0 3px 12px #0009;border:1px solid #6c8097}.explorer{max-width:1560px;margin:auto;padding:24px;color:#e2e8f0;font:15px/1.5 system-ui}.explorer-header{display:flex;justify-content:space-between;color:#94a3b8}.explorer a{color:#7dd3fc}.explorer h1{font-size:clamp(26px,4vw,40px);font-weight:700;margin:24px 0 8px}.explorer h2{font-size:19px;font-weight:650;margin-bottom:12px}.explorer h3{font-weight:600;text-transform:capitalize}.explorer-intro{color:#a9b9ce;max-width:750px;margin-bottom:24px}.explorer button,.explorer input,.explorer select,.explorer textarea{border:1px solid #40516a;background:#172238;color:#e2e8f0;border-radius:8px;padding:9px 12px}.explorer button{cursor:pointer}.explorer button:disabled{opacity:.5;cursor:wait}.explorer label{display:flex;flex-direction:column;gap:6px}.explorer button:hover{border-color:#7dd3fc}.explorer button:focus-visible,.explorer input:focus-visible,.explorer select:focus-visible,.explorer textarea:focus-visible{outline:2px solid #7dd3fc;outline-offset:2px}.explorer-setup{max-width:680px;display:grid;gap:20px;padding:24px;border:1px solid #31415b;border-radius:14px;background:#10192a}.explorer-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.explorer .explorer-primary{background:#d9edff;color:#11243c;font-weight:700}.explorer-muted{color:#96a8c0}.explorer-error{background:#451f2b;padding:14px;border-radius:8px;margin:12px 0;white-space:pre-wrap}.explorer-stats,.explorer-toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:16px}.explorer-stats>*{background:#162339;padding:8px 14px;border-radius:20px}.explorer-stats strong{text-transform:capitalize;color:#7dd3fc}.explorer-connect{border:1px solid #31415b;border-radius:10px;padding:16px;margin-bottom:24px}.explorer-connect summary{cursor:pointer;font-weight:650}.explorer-connect p{margin:12px 0;max-width:850px}.explorer pre{padding:14px;background:#0b1323;overflow:auto;margin:12px 0}.explorer textarea{min-height:90px;width:100%;margin:8px 0}.explorer-layout{display:grid;grid-template-columns:205px minmax(320px,1fr) 320px;gap:24px;align-items:start}.explorer-tree{display:grid;gap:10px}.explorer-tree>button{text-align:left;display:grid;gap:5px}.explorer-tree>button.selected{border-color:#fbbf24;background:#282638}.explorer-tree small{font-size:12px;color:#b6c4d7;max-height:110px;overflow:auto}.explorer-board{margin-top:12px}.explorer-position>p{margin-top:10px}.explorer-assessments>p{font-size:13px;color:#b1bfd2}.explorer-assessments svg{width:100%;margin-top:16px}.explorer-assessments svg text{fill:#94a3b8;font-size:14px}.forecast-white{color:#fbbf24}.forecast-black{color:#38bdf8}.explorer-assessments article{padding:14px;border:1px solid #31415b;border-radius:10px;margin-top:15px;overflow-wrap:anywhere}.explorer-assessments article p{margin-top:8px}.explorer-assessments article strong{font-size:13px;color:#b7d5ec}.explorer-review{margin-top:28px;border-top:1px solid #31415b;padding-top:24px;max-width:950px}.explorer blockquote{border-left:3px solid #7dd3fc;padding-left:16px;white-space:pre-wrap;margin:12px 0}@media(max-width:1150px){.explorer-layout{grid-template-columns:180px minmax(300px,1fr)}.explorer-assessments{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px}.explorer-assessments h2,.explorer-assessments>p,.explorer-assessments svg{grid-column:1/-1}.explorer-assessments svg{max-width:600px}}@media(max-width:650px){.explorer{padding:14px}.explorer-layout{display:flex;flex-direction:column;gap:22px}.explorer-tree,.explorer-position,.explorer-assessments{width:100%}.explorer-tree{grid-template-columns:1fr 1fr}.explorer-tree h2{grid-column:1/-1}.explorer-two{grid-template-columns:1fr}.explorer-setup{padding:18px}.explorer-assessments{display:block}.explorer-stats{font-size:12px;gap:6px}.explorer-connect pre{font-size:12px}}.explorer .battle-board{width:100%;height:auto;max-width:650px}.explorer-position{min-width:0}.explorer-tree button{overflow-wrap:anywhere}.auto-advance{position:relative;isolation:isolate;overflow:hidden}.auto-advance-fill{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;transform:scaleX(0);transform-origin:left center;background:var(--auto-advance-fill, #ffffff40)}.progress-card{width:100%;display:flex;align-items:center;gap:12px;padding:12px 10px 12px 12px;border-radius:16px;border:2px solid #3d6b53;background:linear-gradient(180deg,#183a30,#122a24);color:#fff;text-align:left;--auto-advance-fill: #bfe9ca3d;transition:border-color .15s ease,box-shadow .15s ease}.progress-card:hover{border-color:#6ee7b7}.progress-card-companion{flex:none;width:52px;height:56px;display:grid;place-items:end center}.companion{display:grid;place-items:end center}.companion .unit-art{width:44px;height:46px;display:block}.companion-hop{display:block;transform-origin:50% 100%;animation:companion-hop 2.8s ease-in-out infinite}@keyframes companion-hop{0%,60%,to{transform:none}66%{transform:translateY(0) scale(1.07,.92)}76%{transform:translateY(-10px) scale(.96,1.05)}86%{transform:translateY(0) scale(1.05,.94)}92%{transform:none}}.progress-card-body{flex:1;min-width:0;display:grid;gap:7px}.progress-card-title{font-size:21px;font-weight:750;line-height:1.1;letter-spacing:-.2px}.progress-card-stats{display:grid;gap:5px}.progress-stat{position:relative;display:block;height:20px;border-radius:10px;overflow:hidden;background:#0b1a16;box-shadow:inset 0 0 0 1px #2f5545;font-size:12px;line-height:20px;white-space:nowrap;font-variant-numeric:tabular-nums}.progress-stat-text,.progress-stat-fill{position:absolute;top:0;right:0;bottom:0;left:0;padding:0 9px}.progress-stat-text{color:#a7c4b4}.progress-stat-fill{background:#bfe9ca;color:#2f5a43;clip-path:inset(0 calc((1 - var(--progress, 0)) * 100%) 0 0)}.progress-stat b{font-weight:750;font-size:13px;color:#e7f7ec}.progress-stat-fill b{color:#153525}.progress-card-arrow{flex:none;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#bfe9ca;color:#153525;font-size:28px;font-weight:800;line-height:1;padding-bottom:3px}.progress-card.is-lit{border-color:#bfe9ca;animation:progress-card-glow 2.2s ease-in-out infinite}@keyframes progress-card-glow{0%,to{box-shadow:0 0 #bfe9ca00,0 0 16px #bfe9ca30}50%{box-shadow:0 0 0 4px #bfe9ca30,0 0 30px #bfe9ca66}}@media(prefers-reduced-motion:reduce){.progress-card.is-lit{box-shadow:0 0 0 3px #bfe9ca40,0 0 24px #bfe9ca55}}.room-history{position:fixed;z-index:60;inset:0 0 0 auto;width:min(390px,94vw);height:100dvh;display:flex;flex-direction:column;background:#142230;color:#e8edf5;border-left:1px solid #456070;box-shadow:-12px 0 40px #06111c66;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) 16px}.room-history>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.room-history h2{font-size:19px;font-weight:700}.room-history header p{color:#9eb4c4;font-size:12px;margin-top:3px}.room-history button{border:1px solid #456070;border-radius:7px;background:#22394a;color:#e8edf5;padding:7px 10px;font-size:12px;min-height:36px}.room-history header button{font-size:25px;width:40px;height:40px;line-height:1}.room-history nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:16px}.room-history nav span{color:#9eb4c4;font-size:11px}.history-update{min-height:26px;font-size:11px;color:#9eb4c4;padding-top:6px}.history-error,.history-start{font-size:12px;line-height:1.6;padding:10px 0;color:#c8d8e2}.history-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:5px}.history-turn{margin:8px 0 18px}.history-turn h3{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:700;border-bottom:1px solid #39505f;padding:8px 0}.history-turn h3 span{margin-left:auto;color:#9eb4c4;font-size:11px;font-weight:400;overflow-wrap:anywhere}.history-turn ol,.history-turn ul{list-style:none;padding:0;margin:0}.history-event{padding:10px 0;border-bottom:1px solid #263c4b}.history-event code{display:block;font-size:14px;font-family:ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.history-event>a{display:block;color:inherit;text-decoration:none}.history-event>a:hover{text-decoration:underline;text-underline-offset:3px}.history-analysis-link{color:#b5e5e4;font-size:12px;padding:6px 0 10px}.history-event>p{color:#b4c6d2;font-size:11px;margin-top:4px;line-height:1.6}.history-event details{font-size:11px;color:#9eb4c4;margin-top:6px}.room-history summary{cursor:pointer;padding:4px 0}.history-event details p{line-height:1.8;overflow-wrap:anywhere}.history-event details li{padding:5px 0 5px 10px;color:#c6d8e2}.history-event small{display:block;color:#9eb4c4;padding-top:2px}.history-mining code{color:#b8ddce}.history-result code{color:#f0d287;font-weight:700}.room-history>footer{border-top:1px solid #39505f;padding-top:8px;font-size:11px;color:#b4c6d2;max-height:35%;overflow-y:auto}.room-history footer p{line-height:1.6;margin:6px 0}.game-shell .reference-bar{flex-wrap:wrap}.fork-room{line-height:1.5}.fork-room fieldset{min-width:0;border:0;padding:0}.fork-room p{margin:12px 0}.fork-room label{display:flex;flex-direction:column;gap:6px;margin:14px 0}.fork-room input,.fork-room select,.fork-room textarea{width:100%;min-width:0;padding:10px;border:1px solid #64748b;border-radius:6px;background:#172033;color:#f1f5f9;font-size:16px}.fork-room textarea{min-height:180px;font-family:monospace}.fork-room button,.fork-open{display:inline-block;padding:10px 14px;margin:4px 8px 4px 0;border:1px solid #64748b;border-radius:6px;background:#1e3a5f;color:#f1f5f9}.fork-room button:disabled{opacity:.5}.fork-room [role=alert]{color:#fda4af}.fork-room details{margin-top:16px}.active-games-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.active-games-count{margin-left:8px;padding:2px 8px;border-radius:20px;background:#1e3a5f;font-size:.8rem}.active-games-list{display:grid;gap:12px;padding:0;margin:16px 0 0;list-style:none}.active-game{display:flex;align-items:center;gap:16px;padding:16px;border:1px solid #334155;border-radius:10px;background:#172033}.active-game-info{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere;font-size:.85rem;color:#cbd5e1}.active-game-info strong{color:#f1f5f9;font-size:1rem}.active-game-versus,.active-game-info small{color:#94a3b8}.active-game-status{font-size:.75rem;color:#cbd5e1}.active-game-playing{color:#67e8f9}.active-game button{flex:none;min-height:44px}.active-games-heading button{min-height:44px}@media(max-width:440px){.active-game{align-items:stretch;flex-direction:column;gap:12px;padding:12px}}.your-games-content{color:#e2e8f0;text-align:left}.your-games-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.your-games-heading h3{margin:4px 0;font-size:1.1rem}.your-games-heading h3 span{color:#94a3b8;font-size:.9rem}.your-games-content .your-games-eyebrow{margin:0;color:#67e8f9;font-size:.75rem;font-weight:700;letter-spacing:.04em}.your-games-content .your-games-help{margin:12px 0 16px;font-size:.8rem;line-height:1.5;color:#94a3b8}.your-games-content button{min-height:44px;padding:9px 12px;border-radius:8px;border:1px solid #475569;background:#1e293b;color:#e2e8f0;cursor:pointer}.your-games-content button:disabled{opacity:.55;cursor:default}.your-games-content button:focus-visible,.your-games-trigger:focus-visible{outline:3px solid #67e8f9;outline-offset:3px}.your-games-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;padding:0;margin:0;list-style:none}.your-game{min-width:0;border:1px solid #334155;border-radius:12px;background:#111c2e;padding:14px;overflow-wrap:anywhere}.your-game-turn{border-color:#22d3ee;background:linear-gradient(135deg,#11313b,#111c2e 65%)}.your-game-current{box-shadow:inset 0 0 0 1px #64748b}.your-game-top{display:flex;justify-content:space-between;align-items:start;gap:8px;font-size:.76rem;margin-bottom:8px}.your-game-label{color:#cbd5e1;font-weight:650}.your-game-turn .your-game-label{color:#67e8f9}.your-game-current-label{border-radius:4px;background:#334155;padding:1px 6px;flex-shrink:0}.your-game-opponent{display:block;font-size:1.05rem}.your-games-content .your-game-meta{font-size:.72rem;color:#94a3b8;line-height:1.5;margin:6px 0 12px}.your-game-meta span{white-space:nowrap}.your-game-clocks{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.your-game-clock{display:flex;flex-direction:column;min-width:0;border:1px solid #334155;background:#0c1423;border-radius:8px;padding:8px 10px}.your-game-clock>span{color:#94a3b8;font-size:.7rem}.your-game-clock strong{font-size:1.5rem;line-height:1.4;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.your-game-clock small{font-size:.65rem;color:#94a3b8}.your-game-clock.is-running{border-color:#0e7490;background:#102c36}.your-game-clock.is-running>span{color:#67e8f9}.your-game-clock.is-low strong{color:#fda4af}.your-games-content .your-game-stale{color:#fcd34d;font-size:.75rem;line-height:1.5;margin:8px 0}.your-games-content .your-game-untimed{color:#94a3b8;font-size:.8rem;margin:12px 0}.your-games-content .your-game-open{width:100%;font-size:.8rem;font-weight:600}.your-game-turn .your-game-open:not(:disabled){background:#155e75;border-color:#0e7490}.your-games-trigger{white-space:nowrap;position:relative}.your-games-trigger>span{margin-left:3px;font-variant-numeric:tabular-nums}.your-games-trigger>i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#67e8f9;margin-left:5px;vertical-align:middle}@media(max-width:440px){.your-game{padding:12px}.your-games-list{grid-template-columns:1fr}}.play-dialog.your-games-dialog{width:min(94vw,850px)}.your-games-dialog .dialog-content>header{position:sticky;top:-16px;z-index:1;background:#192636;padding:4px 0}.your-games-dialog .dialog-content>header button{min-width:44px;min-height:44px;border-radius:8px;font-size:1.2rem}.map-painter{width:min(100%,708px);margin:0 auto;padding:28px 24px 36px;color:#e8edf5}.painter-header{position:relative;margin-bottom:24px}.painter-header>a{color:#a3bac9;font-size:13px;text-decoration:none}.painter-header>a:hover{color:#b5e5e4}.painter-secret{float:right;color:#8fbabf;font-size:10px;letter-spacing:.12em;text-transform:uppercase;line-height:20px}.painter-header h1{margin:24px 0 6px;font-size:clamp(27px,5vw,34px);letter-spacing:-.04em;font-weight:650}.painter-header p{margin:0;color:#a3bac9;font-size:14px}.map-painter button{cursor:pointer}.map-painter button:disabled{cursor:default}.painter-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.painter-history,.painter-export{display:flex;gap:8px}.painter-history button,.painter-export button,.painter-copy-fallback button{border:1px solid #39515f;border-radius:7px;padding:9px 13px;background:#1b2b38;color:#e8edf5;font-size:13px;line-height:20px}.painter-history button:hover:enabled,.painter-export button:hover,.painter-copy-fallback button:hover{border-color:#8fbabf}.painter-history button[aria-pressed=true]{background:#334e63;border-color:#a2d5e5}.painter-total{color:#a3bac9;font-size:12px;white-space:nowrap}.painter-total strong{color:#d1eeee;font-size:19px;font-variant-numeric:tabular-nums}.painter-mode{display:flex;gap:8px;margin-top:14px}.painter-mode button{flex:1;min-height:44px;border:1px solid #39515f;border-radius:7px;background:#1b2b38;color:#e8edf5;font-size:16px;font-weight:650;touch-action:manipulation}.painter-mode button[aria-pressed=true]{background:#b5e5e4;border-color:#b5e5e4;color:#122d38}.painter-mode button:focus-visible{outline:2px solid #eefafa;outline-offset:2px}.painter-instructions{margin:16px 0 12px;font-size:12px;color:#a3bac9;text-align:center}.painter-instructions b{color:#e8edf5;font-weight:600}.painter-instructions>span{margin:0 7px}.painter-size{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:0 0 12px}.painter-size button{border:1px solid #39515f;border-radius:7px;padding:5px 9px;background:#1b2b38;color:#c1d4df;font-size:12px;font-variant-numeric:tabular-nums}.painter-size button:hover{border-color:#8fbabf}.painter-size button[aria-pressed=true]{background:#334e63;border-color:#a2d5e5;color:#eefafa}.painter-symmetry{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 12px;color:#c1d4df;font-size:12px;cursor:pointer}.painter-symmetry input{width:16px;height:16px;margin:0;accent-color:#b5e5e4}.painter-board-frame{display:grid;grid-template-columns:18px minmax(0,1fr);grid-template-rows:18px auto;padding-right:18px}.painter-column-labels{grid-column:2;display:grid;grid-template-columns:repeat(10,1fr);padding:0 4px;text-align:center}.painter-row-labels{grid-column:1;grid-row:2;display:grid;grid-template-rows:repeat(10,1fr);padding:4px 0;align-items:center}.painter-column-labels,.painter-row-labels{color:#829da9;font-size:10px;font-variant-numeric:tabular-nums}.battle-board.painter-board{grid-column:2;grid-row:2;width:100%;max-width:none}.painter-cell{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.painter-cell:hover{box-shadow:inset 0 0 0 2px #fff;z-index:9}.painter-cell:focus-visible{z-index:9}.painter-count{position:relative;z-index:1;display:inline-flex;justify-content:center;align-items:center;min-width:23px;height:23px;border-radius:5px;background:#102330ed;color:#eefafa;font-size:12px;font-weight:650;font-variant-numeric:tabular-nums;pointer-events:none}.painter-count{opacity:0}.painter-cell:is(:hover,:focus-visible) .painter-count{opacity:1}.painter-map-actions{display:flex;align-items:center;gap:18px;min-height:42px;font-size:12px}.painter-map-actions button{background:none;border:none;color:#a3bac9;padding:10px 0}.painter-map-actions button:hover{color:#eefafa}.painter-map-actions>span{margin-left:auto;color:#829da9;white-space:nowrap}.painter-footer{padding-top:14px;border-top:1px solid #2d4351}.painter-export .painter-primary{background:#b5e5e4;border-color:#b5e5e4;color:#122d38;font-weight:650}.painter-footer p{color:#829da9;font-size:11px;line-height:1.6;margin:8px 0 0}.painter-footer .painter-save-status{min-height:20px;color:#b5d9d9;font-size:12px}.painter-copy-fallback{margin-top:12px}.painter-copy-fallback label{display:block;font-size:12px;margin-bottom:6px}.painter-copy-fallback textarea{width:100%;padding:10px;background:#152b37;border:1px solid #39515f;border-radius:7px;color:#e8edf5;font-family:monospace;font-size:12px}@media(max-width:480px){.map-painter{padding:20px 12px 24px}.painter-header{margin-bottom:18px}.painter-history button{padding-inline:8px}.painter-instructions{font-size:11px}.painter-instructions>span{margin:0 4px}.painter-count{min-width:18px;height:18px;font-size:10px;border-radius:4px}.painter-map-actions{gap:12px;font-size:11px}.painter-size button{padding:5px 7px;font-size:11px}}.painter-tools{display:flex;gap:8px;margin-top:14px}.painter-tools button{flex:1;min-height:44px;background:#152b37;border:1px solid #39515f;border-radius:7px;color:#c1d4df;font-size:14px}.painter-tools button[aria-pressed=true]{background:#334e63;border-color:#a2d5e5;color:#eefafa}.painter-region-controls{margin-top:10px}.painter-region-row{display:flex;gap:8px;margin-top:8px}.painter-region-row select,.painter-region-row input:not([type=color]){flex:1;width:0;min-width:0}.painter-region-row select,.painter-region-row input,.painter-region-row button{min-height:44px;border:1px solid #39515f;border-radius:7px;padding:8px;background:#1b2b38;color:#eefafa;font-size:14px}.painter-region-row input[type=color]{width:44px;padding:4px;flex-shrink:0}.painter-region-row button{white-space:nowrap}.painter-region-controls .painter-mode{margin-top:8px}.painter-region-overlay{position:absolute;top:0;right:0;bottom:0;left:0;border-style:solid;border-color:currentColor;pointer-events:none;z-index:8}.painter-region-mode .painter-count{opacity:1;z-index:9}.painter-region-legend{display:flex;flex-wrap:wrap;gap:5px 14px;list-style:none;padding:0;margin:10px 0;color:#c1d4df;font-size:12px}.painter-region-legend li{display:flex;align-items:center;gap:5px;overflow-wrap:anywhere}.painter-region-swatch{width:10px;height:10px;border-radius:2px;flex-shrink:0}.painter-export{flex-wrap:wrap}.onboarding{--display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;position:fixed;top:0;right:0;bottom:0;left:0;display:grid;grid-template-rows:64px minmax(0,1fr) 56px;background:radial-gradient(120% 90% at 50% 40%,#17283a,#0c141e 70%);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);overflow:hidden;color:#f2efe4;animation:onboarding-in .6s ease-out both}.onboarding[data-stage=out]{animation:onboarding-out .5s ease-in forwards}.onboarding-skip-band{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:0 max(10px,env(safe-area-inset-right)) env(safe-area-inset-bottom) 10px;position:relative;z-index:60}.onboarding-skip{min-height:44px;padding:0 14px;border-radius:22px;background:transparent;color:#8fa1b4;font-size:14px;font-weight:500;letter-spacing:.01em}.onboarding-skip:hover{color:#f2efe4}.onboarding-word-band{position:relative;z-index:50;display:flex;align-items:flex-end;justify-content:center;pointer-events:none}.onboarding-word{margin:0;font-family:var(--display);font-weight:600;font-size:clamp(30px,8vw,44px);line-height:1;letter-spacing:.02em;color:#fff3cf;text-shadow:0 2px 22px #f5d78088;animation:onboarding-word 2s ease-in-out both}.onboarding-stage{position:relative;min-height:0;container-type:size;padding:8px;overflow:hidden}.onboarding-layer{position:absolute;top:8px;right:8px;bottom:8px;left:8px;display:flex;align-items:center;justify-content:center}.onboarding .zoom-board{width:min(100cqw - 16px,100cqh - 16px,640px);aspect-ratio:1;will-change:transform}.onboarding .zoom-old{z-index:2;pointer-events:none}.onboarding .puzzle-board{width:100%;height:100%}.onboarding .battle-board.coordinate-board{width:100%;padding:4px}.onboarding .board-column-labels,.onboarding .board-row-labels{display:none}.onboarding .board-effects{top:0;right:0;bottom:0;left:0}.onboarding[data-stage=intro] .unit-wrap{animation:tutorial-fade-in .8s .25s ease-out both}.unit-wrap.tutorial-active{animation:tutorial-bob 1.6s ease-in-out infinite;filter:drop-shadow(0 0 6px #f5d780cc)}.board-square:has(.tutorial-active) .board-cell{box-shadow:inset 0 0 0 2px #f5d780;animation:tutorial-ring 1.6s ease-in-out infinite}.unit-wrap.tutorial-glider{transition:transform .22s ease-out,filter .22s ease-out}.unit-wrap.tutorial-lifted{transform:translateY(-9%) scale(1.18);filter:drop-shadow(0 9px 8px #000b) drop-shadow(0 0 12px #ffe08a)}.board-square:has(.tutorial-lifted:not(.is-gliding)) .board-cell{box-shadow:inset 0 0 0 3px #ffe08a,inset 0 0 0 999px #f5d78026,0 0 20px #f5d78088}.puzzle-muju .unit-wrap{width:74%;height:76%}.puzzle-muju .unit-token{max-width:none;max-height:none}.unit-wrap.tutorial-inert{opacity:.6;filter:saturate(.6)}.unit-wrap.tutorial-prey{animation:tutorial-prey 1.1s ease-in-out infinite}.tutorial-goal .board-cell{box-shadow:inset 0 0 0 2px #f5d78088}.tutorial-goal.is-lit .board-cell{animation:tutorial-goal 1.1s ease-in-out infinite}.puzzle-board .range-marker.near{width:22%;height:22%;background:#f5d780;box-shadow:0 0 10px #f5d780;animation:tutorial-dot .35s ease-out both}.tutorial-wrong .board-cell,.tutorial-wrong .unit-wrap{animation:tutorial-shake .32s ease-in-out}.tutorial-wrong.wrong-1 .board-cell,.tutorial-wrong.wrong-1 .unit-wrap{animation-name:tutorial-shake-b}.ghost-pointer{position:absolute;z-index:45;width:clamp(24px,calc(var(--cell) * .62),60px);pointer-events:none;transform:translate(-47.5%);animation:ghost-tap 1.5s ease-in-out infinite}.ghost-pointer svg{display:block;width:100%;fill:#ffffffd9;stroke:#0c141e;stroke-width:1.5;filter:drop-shadow(0 3px 6px #0008)}.ghost-pointer:before{content:"";position:absolute;left:47.5%;top:0;width:calc(var(--cell) * .55);height:calc(var(--cell) * .55);border-radius:50%;border:2px solid #fff;transform:translate(-50%,-50%) scale(.3);opacity:0;animation:ghost-ripple 1.5s ease-out infinite}@keyframes onboarding-in{0%{opacity:0}}@keyframes onboarding-out{to{opacity:0}}@keyframes onboarding-word{0%{opacity:0;transform:translateY(-10px)}22%,72%{opacity:1;transform:none}to{opacity:0;transform:translateY(-4px)}}@keyframes tutorial-fade-in{0%{opacity:0;transform:scale(.92)}}@keyframes tutorial-bob{0%,to{transform:none}50%{transform:translateY(-6%)}}@keyframes tutorial-ring{0%,to{box-shadow:inset 0 0 0 2px #f5d780}50%{box-shadow:inset 0 0 0 4px #f5d780,0 0 18px #f5d78099}}@keyframes tutorial-prey{0%,to{filter:drop-shadow(0 0 0 #f5d780)}50%{filter:drop-shadow(0 0 8px #f5d780)}}@keyframes tutorial-goal{0%,to{box-shadow:inset 0 0 0 2px #f5d780,0 0 #f5d780}50%{box-shadow:inset 0 0 0 4px #f5d780,0 0 22px #f5d780aa}}@keyframes tutorial-dot{0%{transform:translate(-50%,-50%) scale(0)}70%{transform:translate(-50%,-50%) scale(1.3)}}@keyframes tutorial-shake{0%,to{translate:0}20%{translate:-4px}40%{translate:4px}60%{translate:-3px}80%{translate:2px}}@keyframes tutorial-shake-b{0%,to{translate:0}20%{translate:-4px}40%{translate:4px}60%{translate:-3px}80%{translate:2px}}@keyframes ghost-tap{0%,to{translate:18% 40%;opacity:0}15%{opacity:1}45%{translate:0 0}55%{translate:0 5%}70%{translate:0 0;opacity:1}90%{opacity:0}}@keyframes ghost-ripple{0%,50%{opacity:0;transform:translate(-50%,-50%) scale(.3)}55%{opacity:.9}to{opacity:0;transform:translate(-50%,-50%) scale(1.4)}}.onboarding .puzzle-board{position:relative}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-600:oklch(57.7% .245 27.325);--color-orange-300:oklch(83.7% .128 66.29);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-800:oklch(47.3% .137 46.201);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-emerald-700:oklch(50.8% .118 165.612);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-300:oklch(86.5% .127 207.078);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-700:oklch(52% .105 223.128);--color-cyan-800:oklch(45% .085 224.283);--color-sky-300:oklch(82.8% .111 230.318);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-gray-950:oklch(13% .028 261.692);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-md:28rem;--container-5xl:64rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5 / 2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-6xl:3.75rem;--text-6xl--line-height:1;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-out:cubic-bezier(0, 0, .2, 1);--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.top-4{top:calc(var(--spacing) * 4)}.left-1\/2{left:50%}.isolate{isolation:isolate}.z-50{z-index:50}.col-span-2{grid-column:span 2/span 2}.row-1{grid-row:1}.row-10{grid-row:10}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mx-1{margin-inline:var(--spacing)}.mx-auto{margin-inline:auto}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.size-1{width:var(--spacing);height:var(--spacing)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.max-h-32{max-height:calc(var(--spacing) * 32)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-screen{min-height:100vh}.w-4{width:calc(var(--spacing) * 4)}.w-full{width:100%}.w-px{width:1px}.max-w-5xl{max-width:var(--container-5xl)}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:var(--spacing)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-amber-600{border-color:var(--color-amber-600)}.border-amber-800{border-color:var(--color-amber-800)}.border-blue-500{border-color:var(--color-blue-500)}.border-cyan-700{border-color:var(--color-cyan-700)}.border-cyan-800{border-color:var(--color-cyan-800)}.border-emerald-700{border-color:var(--color-emerald-700)}.border-gray-500{border-color:var(--color-gray-500)}.border-gray-600{border-color:var(--color-gray-600)}.border-gray-700{border-color:var(--color-gray-700)}.border-green-500{border-color:var(--color-green-500)}.border-purple-500{border-color:var(--color-purple-500)}.border-red-600\/50{border-color:#e4001480}@supports (color:color-mix(in lab,red,red)){.border-red-600\/50{border-color:color-mix(in oklab,var(--color-red-600) 50%,transparent)}}.bg-amber-600{background-color:var(--color-amber-600)}.bg-black\/80{background-color:#000c}@supports (color:color-mix(in lab,red,red)){.bg-black\/80{background-color:color-mix(in oklab,var(--color-black) 80%,transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-500\/20{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/20{background-color:color-mix(in oklab,var(--color-blue-500) 20%,transparent)}}.bg-blue-600{background-color:var(--color-blue-600)}.bg-cyan-700{background-color:var(--color-cyan-700)}.bg-cyan-800{background-color:var(--color-cyan-800)}.bg-gray-600{background-color:var(--color-gray-600)}.bg-gray-700{background-color:var(--color-gray-700)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-gray-800\/80{background-color:#1e2939cc}@supports (color:color-mix(in lab,red,red)){.bg-gray-800\/80{background-color:color-mix(in oklab,var(--color-gray-800) 80%,transparent)}}.bg-gray-900{background-color:var(--color-gray-900)}.bg-gray-900\/70{background-color:#101828b3}@supports (color:color-mix(in lab,red,red)){.bg-gray-900\/70{background-color:color-mix(in oklab,var(--color-gray-900) 70%,transparent)}}.bg-gray-900\/95{background-color:#101828f2}@supports (color:color-mix(in lab,red,red)){.bg-gray-900\/95{background-color:color-mix(in oklab,var(--color-gray-900) 95%,transparent)}}.bg-gray-950{background-color:var(--color-gray-950)}.bg-green-300{background-color:var(--color-green-300)}.bg-green-500{background-color:var(--color-green-500)}.bg-green-500\/20{background-color:#00c75833}@supports (color:color-mix(in lab,red,red)){.bg-green-500\/20{background-color:color-mix(in oklab,var(--color-green-500) 20%,transparent)}}.bg-orange-300{background-color:var(--color-orange-300)}.bg-orange-600{background-color:var(--color-orange-600)}.bg-purple-400{background-color:var(--color-purple-400)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-purple-500\/20{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.bg-purple-500\/20{background-color:color-mix(in oklab,var(--color-purple-500) 20%,transparent)}}.bg-purple-600{background-color:var(--color-purple-600)}.bg-rose-300{background-color:var(--color-rose-300)}.bg-rose-500{background-color:var(--color-rose-500)}.bg-yellow-200{background-color:var(--color-yellow-200)}.bg-yellow-400{background-color:var(--color-yellow-400)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-8{padding:calc(var(--spacing) * 8)}.px-1{padding-inline:var(--spacing)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pt-10{padding-top:calc(var(--spacing) * 10)}.text-center{text-align:center}.text-left{text-align:left}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.break-all{word-break:break-all}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-100{color:var(--color-amber-100)}.text-amber-200{color:var(--color-amber-200)}.text-blue-400{color:var(--color-blue-400)}.text-blue-500{color:var(--color-blue-500)}.text-cyan-200{color:var(--color-cyan-200)}.text-cyan-300{color:var(--color-cyan-300)}.text-gray-100{color:var(--color-gray-100)}.text-gray-200{color:var(--color-gray-200)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-green-400{color:var(--color-green-400)}.text-green-500{color:var(--color-green-500)}.text-orange-500{color:var(--color-orange-500)}.text-purple-500{color:var(--color-purple-500)}.text-red-400{color:var(--color-red-400)}.text-rose-500{color:var(--color-rose-500)}.text-sky-300{color:var(--color-sky-300)}.text-white{color:var(--color-white)}.text-yellow-400{color:var(--color-yellow-400)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.accent-blue-500{accent-color:var(--color-blue-500)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.focus-within\:border-cyan-400:focus-within{border-color:var(--color-cyan-400)}.focus-within\:ring-2:focus-within{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-within\:ring-blue-300:focus-within{--tw-ring-color:var(--color-blue-300)}@media(hover:hover){.hover\:border-amber-400:hover{border-color:var(--color-amber-400)}.hover\:border-cyan-400:hover{border-color:var(--color-cyan-400)}.hover\:border-gray-400:hover{border-color:var(--color-gray-400)}.hover\:border-gray-500:hover{border-color:var(--color-gray-500)}.hover\:bg-amber-500:hover{background-color:var(--color-amber-500)}.hover\:bg-blue-500:hover{background-color:var(--color-blue-500)}.hover\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\:bg-cyan-800:hover{background-color:var(--color-cyan-800)}.hover\:text-white:hover{color:var(--color-white)}}.disabled\:text-gray-500:disabled{color:var(--color-gray-500)}@media(min-width:40rem){.sm\:pt-10{padding-top:calc(var(--spacing) * 10)}}}:root{color:#e8edf5;color-scheme:dark;background:#101925;font-family:Inter,ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible{outline-offset:-3px;outline:3px solid #67e8f9}.game-shell{max-width:900px;height:100dvh;padding:env(safe-area-inset-top) max(8px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px,env(safe-area-inset-left));flex-direction:column;gap:4px;margin:auto;font-size:13px;display:flex}.game-shell button:not(.board-cell){color:#e8edf5;background:#253448;border-radius:9px;min-height:40px;padding:5px 10px;font-weight:650}.game-shell button.primary{color:#153525;background:#bfe9ca}.game-shell button[aria-pressed=true]:not(.board-cell){background:#334e63;box-shadow:inset 0 0 0 2px #a2d5e5}.game-header{flex:none;justify-content:space-between;align-items:center;gap:8px;min-height:42px;display:flex}.game-header a{color:#a9bccf;padding:12px 0;font-size:12px}.game-header h1{letter-spacing:-.5px;font-size:16px;font-weight:750}.game-header button{letter-spacing:2px;width:44px}.game-overview{display:contents}.turn-strip{flex:none;justify-content:space-between;align-items:center;gap:4px;min-height:30px;display:flex}.turn-strip strong{font-size:12px}.turn-strip strong span{color:#a9bacb;font-weight:400}.phase-steps{color:#8fa0b3;align-items:center;gap:4px;font-size:11px;display:flex}.phase-steps span{border-radius:5px;padding:4px 5px}.phase-steps [aria-current=step]{color:#c5f0dd;background:#294c4c;font-weight:750}.score-strip{flex:none;grid-template-columns:1.1fr 1fr;gap:6px;display:grid}.score-strip>div{background:#1a2737;border-radius:8px;min-width:0;padding:6px 8px}.score-strip strong{align-items:center;gap:5px;font-size:12px;display:flex}.score-strip .player-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.score-strip b{color:#f0cd7e;font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;margin-left:auto}.score-strip small{color:#abc;white-space:nowrap;margin-top:3px;font-size:10px;display:block}.player-dot{border:1px solid #bdcbd9;border-radius:50%;flex:none;width:9px;height:9px}.player-dot.white{background:#fff}.player-dot.black{background:#101722}.vh-label{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.player-card{transition:box-shadow .15s;position:relative;box-shadow:0 0 0 1px #ffffff14}.player-card-active{box-shadow:0 0 0 2px #f0cd7e,0 0 12px 1px #f0cd7e8c}.player-card.player-card-white{color:#182430;background:#f0ece2}.player-card.player-card-white b{color:#8a5a00}.player-card.player-card-white small{color:#51606f}.player-card.player-card-white .rent-warning{color:#b3261e!important}.player-card-white .player-dot{border-color:#182430}.player-card.player-card-black{color:#eef3fa;background:#05070a}.player-card.player-card-black b{color:#f0cd7e}.player-card.player-card-black small{color:#abc}.player-card-black .player-dot{border-color:#eef3fa}.play-area{grid-template-rows:minmax(0,1fr) 26px var(--decision-height,116px);flex:1;gap:3px;min-height:0;display:grid}.board-stage{justify-content:center;align-items:center;min-width:0;min-height:0;padding:2px;display:flex;container-type:size}.battle-board{aspect-ratio:1;background:#152b37;border-radius:10px;width:min(100cqw,100cqh,650px);padding:4px;box-shadow:0 4px 16px #0004}.battle-grid{aspect-ratio:1;grid-template-columns:repeat(var(--board-size,10),minmax(0,1fr));grid-template-rows:repeat(var(--board-size,10),minmax(0,1fr));border-radius:6px;gap:1px;width:100%;display:grid;overflow:hidden}.battle-board.coordinate-board{box-shadow:none;background:0 0;padding:22px 4px 4px 22px;position:relative}.coordinate-board:before{content:"";background:#152b37;border-radius:10px;position:absolute;top:18px;right:0;bottom:0;left:18px;box-shadow:0 4px 16px #0004}.coordinate-board .battle-grid{position:relative}.board-column-labels,.board-row-labels{color:#829da9;font-variant-numeric:tabular-nums;text-align:center;pointer-events:none;-webkit-user-select:none;user-select:none;gap:1px;font-size:10px;display:grid;position:absolute}.board-column-labels{grid-template-columns:repeat(var(--board-size,10),minmax(0,1fr));align-items:center;height:18px;top:0;left:22px;right:4px}.board-row-labels{grid-template-rows:repeat(var(--board-size,10),minmax(0,1fr));align-items:center;width:18px;top:22px;bottom:4px;left:0}.board-square{min-width:0;min-height:0;position:relative}.board-square:after{content:"";pointer-events:none;z-index:8;border:1px solid #b5e5e4;position:absolute;top:0;right:0;bottom:0;left:0}.board-cell{color:#243c44;touch-action:manipulation;border:0;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:relative}.board-key{color:#acbfcd;justify-content:space-between;align-items:center;gap:4px;font-size:10px;display:flex}.game-shell .board-key button{background:0 0;min-height:26px;padding:2px 8px;font-size:10px}.decision-panel{background:#1b2939;border:1px solid #3b4b5b;border-radius:11px;min-width:0;min-height:0}.unit-detail,.action-preview,.selection-hint{flex-direction:column;justify-content:space-between;height:100%;padding:6px 10px;display:flex}.unit-heading{justify-content:space-between;align-items:center;min-height:28px;display:flex}.unit-heading strong{font-size:14px}.unit-heading small{color:#b1c0d0;text-transform:capitalize;margin-left:5px;font-size:11px;font-weight:400}.game-shell .unit-heading button{background:0 0;width:30px;height:28px;min-height:28px;padding:0;font-size:20px}.unit-stats{color:#afbdce;grid-template-columns:repeat(4,1fr);gap:8px;font-size:11px;display:grid}.unit-stats b{color:#eef3f9;font-variant-numeric:tabular-nums;margin-left:3px;font-size:13px}.cleave-status{color:#bfe9ca;margin:0;font-size:10px;line-height:1.25;display:block}.preview-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.preview-heading strong{font-size:15px}.preview-heading span{color:#b5e2d0;font-size:12px}.action-preview p{color:#bfcedb;font-size:11px}.preview-buttons{grid-template-columns:1fr 1.6fr;gap:8px;display:grid}.selection-hint{justify-content:center;gap:6px}.selection-hint strong{font-size:15px}.selection-hint p{color:#c0ced9;font-size:12px}.selection-hint small{color:#91a5b7;font-size:11px}.selection-hint.is-thinking{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:2px 10px;display:grid}.selection-hint.is-thinking .ai-thinking-timer{grid-row:1/span 2}.ai-thinking-timer{flex:none;display:block}.ai-timer-face{fill:#10202e}.ai-timer-ring{fill:none;stroke:#45596c;stroke-width:1.5px}.ai-timer-hand{stroke:#eef6ff;stroke-width:1px;stroke-linecap:round}.ai-timer-hand-shadow{stroke:#0b141f;stroke-width:2.75px;stroke-linecap:round}.ai-timer-seconds{fill:#f2f8ff;stroke:#0e1a27;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums;font-size:13px;font-weight:700}.play-footer{flex:none}.context-status{color:#aebfcd;text-align:center;min-height:18px;font-size:10px}.action-bar{align-items:center;gap:6px;display:flex}.action-budget{min-width:85px;margin-right:auto}.action-budget strong{font-size:12px}.action-budget>span{gap:4px;margin-top:3px;display:flex}.action-budget i{background:#405266;border-radius:50%;width:8px;height:8px}.action-budget i.available{background:#a9dfc4}.game-shell .action-bar button{min-height:44px;font-size:12px}.reference-bar{justify-content:center;gap:14px;display:flex}.game-shell .reference-bar button{color:#b1c1d1;background:0 0;min-height:32px;padding:4px;font-size:11px}.unit-shop{flex-direction:column;justify-content:space-between;gap:4px;height:100%;padding:6px 8px;display:flex}.element-picker{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;display:grid}.game-shell .element-picker button{text-transform:capitalize;min-height:42px;padding:3px 0;font-size:9px;font-weight:500}.element-picker span{font-size:17px;line-height:20px;display:block}.tier-picker{grid-template-columns:repeat(3,1fr);gap:4px;display:grid}.game-shell .tier-picker button{min-height:30px;padding:2px;font-size:11px}.shop-detail strong{justify-content:space-between;margin-bottom:2px;font-size:14px;display:flex}.shop-detail small{color:#ebd29e;font-size:11px;font-weight:500}.shop-action{justify-content:space-between;align-items:center;gap:8px;display:flex}.shop-action p{color:#c0cedb;flex:1;font-size:10px}.shop-action button{white-space:nowrap;font-size:12px}.play-dialog{color:#e8edf5;background:#192636;border:1px solid #546478;border-radius:16px;width:min(94vw,500px);max-height:90dvh;margin:auto;padding:0}.play-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#06111dcc}.dialog-content{flex-direction:column;gap:12px;padding:16px;display:flex}.dialog-content header{justify-content:space-between;align-items:center;display:flex}.dialog-content h2{font-size:18px;font-weight:700}.dialog-content p{color:#bbcad9;font-size:13px}.dialog-content a{color:#acdaef;padding:12px}.dialog-content .unit-shop{min-height:220px}.mode-select{min-height:100dvh;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom))}@media(min-width:700px){.game-shell{gap:6px;max-width:760px}.score-strip small{font-size:12px}.game-header h1{font-size:20px}.board-key{font-size:12px}.unit-stats{font-size:13px}.unit-detail,.action-preview{padding-inline:16px}}@media(max-height:620px)and (orientation:portrait){.game-header{min-height:36px}.game-header h1{font-size:14px}.turn-strip{min-height:25px}.game-shell{gap:2px}.score-strip>div{padding-block:4px}.play-area{grid-template-rows:minmax(0,1fr) 24px 106px}.context-status{display:none}.unit-heading strong{font-size:12px}}@media(orientation:landscape)and (max-height:600px){.game-shell{grid-template-rows:38px 28px 45px minmax(0,1fr) auto;grid-template-columns:minmax(230px,1fr) minmax(280px,.9fr);column-gap:12px;max-width:1100px;display:grid}.game-header,.turn-strip,.score-strip,.play-footer{grid-column:2}.game-header{grid-row:1}.turn-strip{grid-row:2}.score-strip{grid-row:3}.play-area{display:contents}.board-stage{grid-area:1/1/-1;padding-bottom:28px}.board-key{z-index:1;grid-area:5/1;align-self:end}.decision-panel{height:var(--decision-height,116px);grid-area:4/2;align-self:end}.play-footer{grid-row:5}.context-status{display:none}}@media(prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.help-navigation{justify-content:space-between;align-items:center;gap:8px;display:flex}.help-navigation span{color:#aebdd0;font-size:12px}.help-body{overscroll-behavior:contain;max-height:60dvh;overflow-y:auto}.help-body h3{color:#b7e8e8;margin-bottom:14px;font-size:17px;font-weight:700}@media(orientation:portrait),(min-height:601px){.game-shell{gap:3px}.game-header{min-height:36px}.game-header a{padding-block:8px}.game-shell .game-header button{min-height:36px}.turn-strip{min-height:24px}.score-strip>div{padding-block:4px}.play-area{grid-template-rows:minmax(0,1fr) 24px 104px;gap:2px}.context-status{display:none}}.game-shell .reference-bar .counter-key{letter-spacing:-.3px;font-size:12px}.counter-key span{color:#b8ddce;font-size:10px}.home-marker{pointer-events:none;stroke-width:1.3px;stroke-linejoin:round;width:12px;height:12px;position:absolute;top:1px;left:2px}.home-white{fill:#f7f3e8;stroke:#0c141e}.home-black{fill:#0b1119;stroke:#e8edf5}.reserve-0{--seam-color:#192a38}.reserve-1{--seam-color:#263b4b}.reserve-2{--seam-color:#334d5d}.reserve-3{--seam-color:#405f6f}.reserve-4{--seam-color:#4e7181}.reserve-5{--seam-color:#5d8393}.reserve-6{--seam-color:#6d96a4}.reserve-7{--seam-color:#7eabb6}.reserve-8{--seam-color:#90bec7}.reserve-9{--seam-color:#a2d1d6}.reserve-10{--seam-color:#b5e5e4}.reserve-11{--seam-color:#c1e9e9}.reserve-12{--seam-color:#ceeeed}.reserve-13{--seam-color:#daf2f2}.reserve-14{--seam-color:#e6f6f6}.reserve-15{--seam-color:#f3fbfb}.reserve-16{--seam-color:#fff}.board-cell{background:var(--seam-color);color:#fff;isolation:isolate}.board-cell:after{content:"";pointer-events:none;z-index:4;position:absolute;top:0;right:0;bottom:0;left:0}.editor-board .board-cell.selected:after{box-shadow:inset 0 0 0 2px #f9db86}.board-cell.path-cell:after{background:#ffee9d22}.board-cell.preview-cell:after{background:#ffeca322;box-shadow:inset 0 0 0 2px #f5d780}.board-cell.attack-target:after{border:2px solid #ff7b82;border-radius:35%}.board-cell.attack-target.preview-cell:after{background:#ff575733;border-color:#ffbeac}.board-cell.ko-target:after{border:3px solid #ff1f2d;border-radius:30%;box-shadow:inset 0 0 0 1px #ff1f2d,inset 0 0 6px #ff1f2daa}.board-cell.ko-target.preview-cell:after{border-color:#ff6a5a}.board-cell.ko-threat:after{border:3px solid #ffb454;border-radius:30%;box-shadow:inset 0 0 0 1px #ffb454}.board-cell.ko-target,.board-cell.ko-threat{z-index:4}.ko-badge{z-index:6;pointer-events:none;text-shadow:0 1px 2px #000,0 0 2px #000;font-size:13px;line-height:1;position:absolute;bottom:1px}.ko-badge-target{color:#ff2d3a;right:2px}.ko-badge-threat{color:#ffb454;left:2px}.range-marker,.destination-marker{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.range-marker{pointer-events:none;z-index:2;--move-ink:#fff;--move-edge:#183549;border-radius:0;width:6px;height:6px}.range-marker.army-black{--move-ink:#000;--move-edge:#fff9}.range-marker.near{background:var(--move-ink);box-shadow:0 0 0 1px var(--move-edge)}.range-marker.far{border:1px solid var(--move-ink);width:6px;height:6px;box-shadow:0 0 0 .5px var(--move-edge)}.attack-frontier-marker{pointer-events:none;z-index:7;background:#ff4659;border-radius:50%;width:8px;height:8px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #211321,0 0 0 2px #ffd1d666}.attack-frontier-marker.on-unit{top:14%;left:86%}.spawn-marker{color:#fff2b4;text-shadow:0 1px 2px #092035;z-index:2;font-size:20px;font-weight:650}.spawn-marker.on-home-white{color:#0d1823;text-shadow:none}.destination-marker{color:#fff1b4;text-shadow:0 1px 2px #092035;z-index:2;font-size:24px;line-height:1}.invalid-marker{color:#ffb7b2;text-shadow:0 1px 2px #092035;z-index:5;font-size:24px;position:absolute}.home-marker{z-index:6}.board-key>span{margin-right:auto}.game-shell .board-key .visual-key-trigger{text-underline-offset:3px;text-decoration:underline}.unit-wrap{pointer-events:none;justify-content:center;align-items:center;width:86%;height:89%;display:flex}.unit-token{pointer-events:none;filter:drop-shadow(0 1px 1px #0007);width:100%;max-width:56px;height:100%;max-height:58px;position:relative}.unit-token.tier-1{width:89%;height:89%}.unit-token.tier-2{width:93%;height:93%}.unit-token.tier-3{width:97%;height:97%}.unit-art{width:100%;height:100%;display:block;overflow:visible}.piece-glyph{fill:var(--glyph);--glyph-vein:var(--vein);stroke:var(--glyph-outline);stroke-width:.7px;stroke-linejoin:round}.army-white{--vein:#f6ebcd;--glyph-outline:#132a3e44}.army-black{--vein:#172334;--glyph-outline:#f4ffff44}.element-fire{--glyph:#a9233f}.element-lightning{--glyph:#9c8400}.element-water{--glyph:#1763a9}.element-shadow{--glyph:#7947aa}.element-plant{--glyph:#2b713a}.element-metal{--glyph:#ae5718}.army-black.element-fire{--glyph:#ff6c79}.army-black.element-lightning{--glyph:#f5ef55}.army-black.element-water{--glyph:#7bbfff}.army-black.element-shadow{--glyph:#cfabff}.army-black.element-plant{--glyph:#9ddd8a}.army-black.element-metal{--glyph:#f2a54c}.rank-pips{fill:#63502d}.army-black .rank-pips{fill:#e2eafa}.elite-crest{stroke:#b4822e}.army-black .elite-crest{stroke:#f2d9a0}.piece-selected{filter:drop-shadow(0 0 2px #ffe6a7)}.piece-resting{filter:saturate(.5)drop-shadow(0 1px 1px #0007)}.piece-damage{color:#fff;background:#a72440;border:1px solid #ffbdc3;border-radius:4px;padding:0 2px;font:800 9px/12px system-ui;position:absolute;top:-2px;right:-1px}.element-icon{width:24px;height:24px;fill:var(--glyph);--glyph-vein:#1b2939;vertical-align:middle;display:inline-block}.element-icon.element-fire{--glyph:#ff6c79}.element-icon.element-lightning{--glyph:#f5ef55}.element-icon.element-water{--glyph:#7bbfff}.element-icon.element-shadow{--glyph:#cfabff}.element-icon.element-plant{--glyph:#9ddd8a}.element-icon.element-metal{--glyph:#f2a54c}.element-picker .element-icon{height:22px;margin:auto;display:block}.unit-heading strong{align-items:center;gap:3px;min-width:0;display:flex}.unit-heading .unit-art{flex:none;width:25px;height:27px}.shop-piece-name{align-items:center;gap:5px;display:flex}.shop-piece-name .unit-art{width:24px;height:26px}.shop-detail strong{align-items:center}.visual-key{flex-direction:column;gap:20px;display:flex}.visual-key h3{color:#d6eee8;margin-bottom:8px;font-size:16px;font-weight:750}.visual-key p{font-size:12px;line-height:1.55}.reserve-examples{grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0;display:grid}.reserve-example{border:1px solid #274252;width:64px;height:64px;margin:auto}.reserve-examples figcaption{text-align:center;margin-top:5px;font-size:11px}.reserve-examples figcaption small{color:#a3bac9;font-size:10px;display:block}.army-examples{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px;display:grid}.army-examples figure>div{justify-content:center;display:flex}.army-examples .unit-art{width:40px;height:44px}.army-examples figcaption{text-align:center;text-transform:capitalize;font-size:11px}.army-examples .element-icon{width:16px;height:16px}.rank-examples{text-align:center;grid-template-columns:repeat(4,1fr);gap:10px;margin-block:12px;font-size:11px;display:grid}.rank-examples .unit-art{width:45px;height:50px;margin:auto}.ko-key-examples{grid-template-columns:repeat(2,1fr);gap:14px;margin:14px 0;display:grid}.ko-key-example{background:#192a38;width:44px;height:44px;margin:auto}.ko-key-examples figcaption{text-align:left;margin-top:6px;font-size:11px;line-height:1.4}.rent-warning{color:#f59e0b!important}.score-strip .rent-warning{color:#f87171!important}.progress-clock{color:#94a3b8;justify-content:space-between;gap:.5rem;padding:2px 8px;font-size:.7rem;display:flex}.score-strip small{white-space:normal}@media(orientation:landscape)and (max-height:600px){.game-shell{grid-template-rows:38px 28px 62px 18px minmax(0,1fr) auto}.progress-clock{grid-area:4/2}.decision-panel{grid-row:5}.play-footer,.board-key{grid-row:6}}.income-status{color:#bfe9ca;text-align:center;padding:2px;font-size:11px}.income-recap{color:#afc1d2;text-align:center;font-size:10px}.income-recap summary{cursor:pointer}.income-recap[open]{z-index:20;background:#192636;border:1px solid #546478;border-radius:8px;width:90%;max-height:35dvh;padding:12px;position:absolute;bottom:100px;left:5%;overflow:auto}.play-area.is-placing{grid-template-rows:minmax(0,1fr) 24px var(--decision-height,116px)}.is-placing .decision-panel{flex-direction:column;display:flex}.purchase-shop{flex:none;height:100%}.purchase-shop p{color:#becddb;font-size:10px}.purchase-shop small{display:block}.is-placing .unit-detail,.is-placing .selection-hint{flex:1;min-height:0}.game-shell-observer{--decision-height:140px}.unit-income{color:#bfe9ca!important;font-size:10px!important}@media(orientation:landscape)and (max-height:600px){.is-placing .decision-panel{height:var(--decision-height,116px)}}.score-strip small{display:inline-block}.score-strip small+small{margin-left:8px}.tutorial-copy{flex-direction:column;gap:14px;line-height:1.55;display:flex}@media(min-width:960px)and (min-height:601px)and (orientation:landscape){.game-shell{--sidebar-width:clamp(144px, calc((100vw - 100dvh - 40px)/2) , 224px);max-width:calc(100dvh + 480px);padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));grid-template-columns:var(--sidebar-width) minmax(0,1fr) var(--sidebar-width);grid-template-rows:minmax(0,1fr) auto auto;gap:12px 8px;display:grid}.game-overview{overscroll-behavior:contain;scrollbar-width:thin;flex-direction:column;grid-area:1/1/3;gap:16px;min-height:0;display:flex;overflow-y:auto}.game-header{grid-template-columns:minmax(0,1fr) 44px;gap:12px 4px;display:grid}.game-header h1{text-wrap:balance;grid-area:2/1/auto/-1;font-size:21px;line-height:1.15}.game-header a{padding-block:12px;font-size:12px}.game-shell .game-header button{min-height:44px}.turn-strip{flex-direction:column;align-items:flex-start;gap:8px}.turn-strip strong{font-size:13px}.phase-steps{gap:6px;width:100%}.phase-steps span{text-align:center;flex:1;padding:8px}.score-strip{grid-template-columns:minmax(0,1fr);gap:8px}.score-strip>div{border:1px solid #2d3f50;padding:12px 10px}.score-strip strong{font-size:13px}.score-strip b{font-size:16px}.score-strip small{margin-top:6px;font-size:11px;display:inline-block}.score-strip small+small{margin-left:10px}.progress-clock{flex-direction:column;gap:4px;padding:0 4px;font-size:11px}.play-area{display:contents}.board-stage{grid-area:1/2/-1;padding:0}.battle-board{border-radius:12px;width:min(100cqw,100cqh);padding:5px}.board-key{grid-area:3/1;grid-template-columns:1fr 1fr;align-self:end;gap:8px;font-size:11px;line-height:1.5;display:grid}.board-key>span{grid-column:1/-1;margin:0 0 4px}.game-shell .board-key button{background:#1a2737;min-height:44px;padding:6px 4px;font-size:11px}.decision-panel,.is-placing .decision-panel{overscroll-behavior:contain;scrollbar-width:thin;grid-area:1/3;height:auto;overflow-y:auto}.decision-panel .unit-shop,.decision-panel .unit-detail,.decision-panel .action-preview,.decision-panel .selection-hint{justify-content:flex-start;gap:16px;height:auto;min-height:100%;padding:12px}.decision-panel .selection-hint{justify-content:center}.decision-panel .selection-hint.is-thinking{text-align:center;align-items:center;display:flex}.decision-panel .purchase-shop{flex:1}.decision-panel .element-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.game-shell .decision-panel .element-picker button{min-height:66px;font-size:11px}.decision-panel .purchase-shop p,.decision-panel .action-preview p{font-size:12px;line-height:1.5}.decision-panel .unit-heading{align-items:flex-start;gap:4px}.decision-panel .unit-heading strong{flex-wrap:wrap;font-size:16px}.decision-panel .unit-heading small{flex-basis:100%;margin:4px 0 0;line-height:1.5}.game-shell .decision-panel .unit-heading button{min-width:36px;min-height:44px}.decision-panel .unit-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;font-size:11px}.decision-panel .unit-stats span{background:#152332;border-radius:6px;padding:8px}.decision-panel .unit-stats b{margin:2px 0 0;font-size:17px;display:block}.decision-panel .unit-income{font-size:11px!important}.decision-panel .cleave-status{font-size:11px;line-height:1.5}.preview-heading{flex-direction:column;align-items:flex-start;gap:6px}.preview-heading span{font-size:11px}.preview-buttons{grid-template-columns:minmax(0,1fr);margin-top:auto}.game-shell .preview-buttons button{min-height:44px}.play-footer{flex-direction:column;grid-area:2/3/4;gap:10px;min-width:0;display:flex;position:relative}.income-status,.income-recap{text-align:left;font-size:11px}.income-recap[open]{width:100%;max-height:55dvh;bottom:0;left:auto;right:0}.action-bar{grid-template-columns:minmax(0,1fr);gap:6px;display:grid}.action-budget{margin:0 0 4px}.action-budget strong{font-size:13px}.action-budget>span{gap:6px;margin-top:6px}.game-shell .action-bar button{width:100%;font-size:13px}.reference-bar{grid-template-columns:1fr 1fr;gap:4px;display:grid}.game-shell .reference-bar button{min-height:44px;padding:4px 0;font-size:11px}.game-shell .reference-bar .counter-key{letter-spacing:-.5px;grid-area:2/1/auto/-1;font-size:11px}.game-overview>[role=alert],.game-overview>[role=status]{background:#253448;border-radius:8px;flex:none;padding:8px}}.online-lobby{color:#e2e8f0;max-width:640px;margin:0 auto;padding:32px 20px 64px}.online-lobby h1{margin-top:24px;font-size:1.8rem;font-weight:700}.online-lobby h2{margin:8px 0;font-size:1.4rem}.online-lobby h3{font-size:1.15rem;font-weight:650}.online-lobby p{margin:12px 0;line-height:1.6}.online-lobby section{background:#0f172a;border:1px solid #334155;border-radius:12px;margin-top:24px;padding:20px}.online-lobby label,.online-banner label{flex-direction:column;gap:6px;margin:14px 0;display:flex}.online-lobby input,.online-lobby select,.online-lobby textarea,.online-banner input,.online-banner textarea{color:#f1f5f9;background:#172033;border:1px solid #475569;border-radius:6px;width:100%;min-width:0;padding:10px}.online-lobby textarea{resize:vertical;min-height:170px;font-family:monospace;font-size:16px}.online-lobby button,.online-banner button{cursor:pointer;background:#1e3a5f;border:1px solid #475569;border-radius:6px;padding:9px 14px}.online-lobby button.primary{background:#0e7490}.online-lobby button:disabled{opacity:.5;cursor:default}.online-help,.online-banner details{color:#94a3b8;font-size:.82rem}.archived-retired{color:#94a3b8;flex:none;max-width:12rem;font-size:.78rem;line-height:1.25}.online-banner{overflow-wrap:anywhere;background:#0d2230;border:1px solid #28576c;border-radius:10px;margin-bottom:10px;padding:12px}.online-banner>strong,.online-banner>span{display:block}.online-banner>span{color:#a5d9e9;margin:4px 0;font-size:.85rem}.online-banner details{margin-top:10px}.online-banner textarea{min-height:150px;font-size:.7rem}.clock-summary{color:#cbd5e1;margin:8px 0;font-size:.82rem}.clock-seats,.clock-custom{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.clock-seat{background:#102131;border:1px solid #3c5062;border-radius:8px;flex-direction:column;gap:4px;padding:10px;display:flex}.clock-seat strong{font-variant-numeric:tabular-nums;font-size:1.8rem;line-height:1.2}.clock-seat span{color:#b8c5d5;font-size:.72rem}.clock-seat .clock-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.clock-active{background:#123d4b;border-color:#67e8f9}.clock-low{border-color:#fbbf24}.clock-low strong{color:#fcd34d}.clock-help{color:#94a3b8;margin-top:8px;font-size:.72rem;line-height:1.4}.game-shell-online .income-status{display:none}.online-banner [role=alert],.online-lobby [role=alert]{color:#fda4af}@media(min-width:960px)and (min-height:601px)and (orientation:landscape){.game-shell-online .game-overview{gap:10px}.game-shell-online .online-banner{flex:none;margin-bottom:0}.game-shell-online .game-header{gap:4px}.game-shell-online .score-strip>div{padding:8px}}.unit-wrap.preview-origin{opacity:.35}.unit-wrap.preview-ghost{opacity:.75;filter:drop-shadow(0 0 3px #f5d780)}.game-shell,.play-footer,.board-key{min-width:0}.turn-strip strong{white-space:nowrap;text-overflow:ellipsis;min-width:0;max-width:100%;overflow:hidden}.phase-steps{flex:none}.context-status,.income-status,.income-recap summary{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.income-recap-slot{flex:none;min-width:0;height:16px}.board-key>span{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.play-area,.play-area.is-placing{grid-template-rows:minmax(0,1fr) 24px var(--decision-height,116px)}.instant-replay-launcher{flex:none;grid-template-columns:minmax(0,1fr) 62px;height:40px;margin-top:8px;display:grid}.game-shell button.instant-replay-button{border-radius:9px 0 0 9px;width:100%;height:40px;padding:4px 6px;font-size:12px;line-height:14px}.replay-mode{background:#253448;border-left:1px solid #546478;border-radius:0 9px 9px 0;justify-content:center;align-items:center;font-size:12px;font-weight:650;display:flex;position:relative;overflow:hidden}.replay-mode select{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0}.replay-mode:focus-within{outline-offset:-3px;outline:3px solid #67e8f9}.turn-replay{grid-template-rows:18px minmax(28px,1fr) 36px;gap:4px;min-width:0;height:100%;padding:6px 10px;display:grid}.replay-heading{align-items:center;gap:6px;min-width:0;font-size:12px;display:flex}.replay-heading strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.replay-heading span{font-variant-numeric:tabular-nums;color:#bdd8dd;flex:none;margin-left:auto}.replay-caption{-webkit-line-clamp:2;-webkit-box-orient:vertical;align-self:center;min-width:0;margin:0;font-size:12px;line-height:14px;display:-webkit-box;overflow:hidden}.replay-controls{grid-template-columns:28px minmax(0,1fr) 28px minmax(0,1fr);gap:4px;display:grid}.replay-controls.is-manual{grid-template-columns:repeat(3,minmax(0,1fr))}.game-shell .replay-controls button{min-height:36px;padding:3px;font-size:12px}@media(min-width:960px)and (min-height:601px)and (orientation:landscape){.board-key>span{white-space:normal;height:3em;margin-bottom:4px}.turn-replay{grid-template-rows:20px 56px auto;gap:12px;height:auto;padding:12px}.replay-caption{-webkit-line-clamp:3;line-height:18px}.replay-controls{grid-template-columns:28px minmax(0,1fr) 28px}.replay-controls.is-manual{grid-template-columns:repeat(2,minmax(0,1fr))}.replay-controls .primary{grid-column:1/-1}.game-shell .replay-controls button{min-height:40px}}@media(max-height:620px)and (orientation:portrait){.turn-replay{grid-template-rows:16px minmax(24px,1fr) 36px;gap:3px;padding-block:4px}}@media(max-height:600px)and (orientation:landscape){.game-shell{grid-template-rows:38px 28px 62px 18px var(--decision-height,116px) auto;height:auto;min-height:100dvh}.board-stage{align-items:flex-start}.battle-board{width:min(100cqw,100cqh,100dvh - 32px)}}.action-budget>span[data-active=false]{visibility:hidden}.ruleset-badge{color:#bfe5ed;font-size:.65rem;font-weight:500;display:inline-block}.summon-ghost{pointer-events:none;background:#12253290;border:2px dashed #c5f5ff;border-radius:50%;place-items:center;display:grid;position:absolute;top:9%;right:9%;bottom:9%;left:9%}.summon-ghost.black{background:#271b3690;border-color:#d8b9f2}.summon-ghost>svg,.summon-ghost>img{opacity:.58;width:82%;height:82%}.summon-ghost>span,.game-shell button.summon-inspect{box-sizing:border-box;aspect-ratio:1;background:#122532;border:1.5px dashed #c5f5ff;border-radius:50%;width:clamp(12px,26%,18px);height:auto;min-height:0;padding:0;font-size:0;line-height:0;position:absolute;bottom:-4%;right:-4%;box-shadow:0 0 0 1.5px #0b1620}.summon-ghost.black>span,.game-shell .summon-ghost.black button.summon-inspect{background:#271b36;border-color:#d8b9f2}.summon-ghost.occupied{background:0 0;top:2%;right:2%;bottom:2%;left:2%}.summon-ghost.occupied>svg,.summon-ghost.occupied>img{opacity:.15}.summon-ghost.doomed{opacity:.3;filter:blur(.6px);animation:2.6s ease-in-out infinite summon-doomed-drift}.summon-ghost.doomed>svg,.summon-ghost.doomed>img{opacity:.5}.summon-ghost.doomed>span,.game-shell .summon-ghost.doomed button.summon-inspect{opacity:.6}@keyframes summon-doomed-drift{0%,to{opacity:.3;transform:translateY(0)scale(1)}50%{opacity:.2;transform:translateY(-3%)scale(.96)}}.summoning-status{color:#c7d9e7;width:100%;font-size:.8rem}.summoning-status:empty{display:none}.summoning-status>p{background:#17333e;border-left:2px solid #8acdd8;margin:.35rem 0;padding:.5rem .75rem}.summoning-status summary{cursor:pointer;color:#cfecf3;padding:.4rem 0}.summoning-status details>p{margin:.2rem 0 .5rem;font-size:.75rem}.summoning-status ul{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.5rem;padding:0;list-style:none;display:grid}.summoning-status li{background:#15202e;border:1px dashed #637f93;border-radius:.4rem;align-items:center;gap:.5rem;padding:.45rem .65rem;display:flex}.summoning-status li>svg{flex-shrink:0;width:24px;height:24px}.summoning-status small{font-size:.7rem;display:block}@media(max-width:420px){.ruleset-badge{display:block}.summoning-status ul{grid-template-columns:1fr}}.compact-online-banner{flex:none;margin:0;padding:3px 6px}.online-summary{align-items:center;gap:6px;min-width:0;font-size:10px;display:flex}.online-summary strong,.online-summary>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.online-summary>span{color:#a5d9e9;margin-left:auto}.game-shell .online-summary button{min-height:26px;padding:2px 6px;font-size:10px}.compact-clocks .clock-summary,.compact-clocks .clock-help{display:none}.compact-clocks .clock-pause-help{margin-top:4px;display:block}.compact-clocks .clock-seats{gap:6px}.compact-clocks .clock-seat{grid-template-columns:minmax(0,1fr) auto;gap:0 4px;padding:2px 5px;display:grid}.compact-clocks .clock-seat strong{grid-area:1/2/3;align-self:center;font-size:18px}.compact-clocks .clock-seat span{white-space:nowrap;font-size:9px;line-height:12px}.room-details{margin:0}.play-footer{position:relative}.summoning-status{align-items:center;gap:6px;height:22px;font-size:10px;display:flex}.summoning-status>p{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;margin:0;padding:2px 4px;overflow:hidden}.summoning-status details{flex:none;margin-left:auto}.summoning-status summary{padding:2px 0}.summoning-status details[open]{z-index:20;background:#192636;border:1px solid #546478;border-radius:9px;width:min(100%,420px);max-height:45dvh;padding:10px;position:absolute;bottom:100%;right:0;overflow:auto}.summoning-status>p{cursor:help}@media(orientation:portrait),(min-height:601px)and (max-width:959px){.game-shell{gap:2px}.game-header h1{font-size:15px}.ruleset-badge{margin-left:3px;display:inline-block}.score-strip small{margin-top:1px;font-size:9px}.score-strip small+small{margin-left:5px}.progress-clock{white-space:nowrap;padding-block:0;font-size:9px;overflow:hidden}.progress-clock>span{text-overflow:ellipsis;overflow:hidden}.play-area,.play-area.is-placing{grid-template-rows:minmax(0,1fr) 20px var(--decision-height,100px)}.game-shell-observer{--decision-height:116px}.game-shell .board-key button{min-height:20px}.selection-hint{gap:3px}.selection-hint small{font-size:10px}.unit-heading strong{font-size:13px}.unit-heading small{font-size:10px}.instant-replay-launcher{height:32px;margin-top:3px}.game-shell button.instant-replay-button{height:32px;min-height:32px}.reference-bar{gap:8px}.game-shell .reference-bar button{min-height:28px;font-size:10px}.game-shell .reference-bar .counter-key{font-size:10px}.income-recap-slot{height:14px}}@media(max-height:620px)and (orientation:portrait){.game-shell{gap:1px}.turn-strip{min-height:20px}.score-strip>div{padding:2px 5px}.score-strip strong{font-size:11px}.selection-hint small{display:none}}.summoning-slot{height:22px}.game-shell button.summon-inspect{z-index:9;pointer-events:auto;cursor:pointer}.game-shell button.summon-inspect:hover,.game-shell button.summon-inspect:focus-visible{border-style:solid}.summoning-status li button{text-align:left;font-size:11px}@media(orientation:portrait),(min-height:601px)and (max-width:959px){.score-strip>div{line-height:1.2}.score-strip strong{line-height:18px}.score-strip small{line-height:12px}.score-strip small,.score-strip small+small{margin-left:0;margin-right:5px}.game-shell-phasing .income-status{display:none}}@media(orientation:portrait),(max-height:600px){.game-shell .play-footer{grid-template-columns:minmax(0,1fr) auto;gap:0 6px;display:grid}.play-footer>.summoning-slot{grid-area:1/2}.play-footer>.income-recap-slot{grid-area:1/1}.play-footer>.action-bar,.play-footer>.instant-replay-launcher,.play-footer>.reference-bar{grid-column:1/-1}.summoning-slot,.income-recap-slot,.summoning-status{height:18px}.income-recap{text-align:left}.summoning-status>p,.play-footer>.income-status{display:none}.game-shell .action-bar button{min-height:40px}.action-bar>*{min-width:0}.action-budget{flex:1 4 auto}.action-budget strong{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.game-shell .action-bar button{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.game-shell .reference-bar button{min-height:26px}.instant-replay-launcher{height:30px;margin-top:2px}.game-shell button.instant-replay-button{height:30px;min-height:30px}.game-header{min-height:32px}.game-shell .game-header button{height:32px;min-height:32px;padding-block:2px}.turn-strip{min-height:20px}.phase-steps span,.compact-online-banner{padding-block:2px}.game-shell .online-summary button{min-height:22px}}@media(orientation:landscape)and (max-height:600px){.game-shell{grid-template-rows:minmax(0,1fr) 116px auto;gap:2px 10px;height:100dvh;min-height:0}.game-overview{flex-direction:column;grid-area:1/2;gap:2px;min-height:0;display:flex}.game-header,.turn-strip,.score-strip,.progress-clock{flex:none}.game-header a{white-space:nowrap}.game-header h1{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:16px;overflow:hidden}.ruleset-badge{margin-left:3px;display:inline-block}.score-strip>div{padding-block:2px;line-height:1.2}.score-strip small{margin-top:1px;font-size:9px}.progress-clock{padding-block:0;font-size:9px}.board-stage{grid-area:1/1/-1;align-items:center}.board-key{grid-area:3/1}.decision-panel,.is-placing .decision-panel{grid-area:2/2;height:100%}.play-footer{grid-area:3/2}.game-header a{padding-block:4px}.selection-hint{gap:4px}.selection-hint small{font-size:10px}}@media(orientation:portrait),(min-height:601px)and (max-width:959px){.unit-detail{padding-block:4px}}@media(orientation:landscape)and (max-height:600px){.board-stage{align-items:flex-start}.battle-board{flex:none;height:min(100cqw,100cqh,100dvh - 32px)}}.micro-rules-summary{gap:.35rem;margin:0;padding-left:1.1rem;list-style:outside;display:grid}.micro-piece-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.micro-piece-table th,.micro-piece-table td{text-align:center;border-bottom:1px solid #ffffff14;padding:.3rem .35rem}.micro-piece-table thead th{color:#9fb4c3;font-size:.8em;font-weight:500}.micro-piece-table tbody th{text-align:left;white-space:nowrap;font-weight:600}.micro-piece-name{align-items:center;gap:.35em;display:flex}.micro-piece-name>:first-child{flex:none;width:1.8em;height:1.8em}.micro-piece-table tbody th small{color:#9fb4c3;margin-left:.2em;font-weight:400}.board-stage{position:relative}.board-effects{pointer-events:none;z-index:40;width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0}.mode-select-welcome{animation:.8s ease-out both mode-welcome}.mode-select-welcome .mode-title{animation:1s ease-out both mode-welcome-title}@keyframes mode-welcome{0%{opacity:0}}@keyframes mode-welcome-title{0%{opacity:0;transform:translateY(-8px)scale(1.15)}}.effects-gallery{max-width:720px;margin:auto;padding:12px}.effects-gallery h1{margin-bottom:8px;font-size:18px;font-weight:700}.effects-gallery-stage{height:min(80vw,420px)}.effects-gallery-controls{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;margin-top:10px;font-size:12px;display:grid}.effects-gallery-controls fieldset{border:1px solid #334155;border-radius:8px;flex-wrap:wrap;gap:4px;padding:6px;display:flex}.effects-gallery-controls legend{color:#94a3b8;text-transform:capitalize;padding:0 4px}.effects-gallery-controls button{background:#253448;border-radius:6px;padding:4px 8px}.mode-chevron{font-size:18px;line-height:1;transition:transform .2s;display:inline-block;transform:translateY(-3px)}.mode-chevron.is-open{transform:translateY(3px)rotate(180deg)}.battle-board.coordinate-board .home-marker{z-index:0;width:52%;height:52%;top:50%;left:50%;transform:translate(-50%,-50%)}.game-notices:empty,.online-banner-notices:empty{display:none}.game-notices,.online-banner-notices{z-index:45;top:var(--notice-top,auto);bottom:auto;left:var(--notice-left,8px);width:var(--notice-width, calc(100% - 16px) );max-height:var(--notice-height,none);box-sizing:border-box;pointer-events:none;flex-direction:column;gap:3px;padding:3px;display:flex;position:fixed;right:auto}.game-notices>*,.online-banner-notices>*{pointer-events:auto;box-sizing:border-box;color:#e8edf5;text-align:left;background:#253448;border:1px solid #546478;border-radius:9px;flex:none;align-items:center;gap:6px;min-height:34px;margin:0;padding:2px 3px 2px 10px;font-size:12px;line-height:1.3;display:flex;box-shadow:0 0 0 3px #1b2939,0 4px 16px #000a}.game-notices>[role=alert]{border-color:#ff7b82aa}.game-shell .game-notices>[role=alert] button{color:#ffd5d8;background:#3b2630;flex:none;min-height:30px;margin-left:auto;padding:4px 12px}.game-notices>small[role=status]{pointer-events:none;padding-block:6px;animation:.4s ease-in 6s forwards board-toast-out}.online-banner-notices>*{background:#0d2230;border-color:#28576c}.online-banner-notices>.banner-notice.is-tucked{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;min-height:0;box-shadow:none;pointer-events:none;border:0;margin:-1px;padding:0;position:absolute;overflow:hidden}.banner-notice>p{overflow-wrap:normal;flex-wrap:wrap;flex:1;align-items:center;gap:6px;min-width:0;margin:0;display:flex}.game-shell .banner-notice button{flex:none;min-height:30px;padding:4px 12px;font-size:12px}.game-shell .banner-notice>p>button{margin-left:auto}.banner-notice.is-invite{justify-content:flex-end}.game-shell .banner-notice.is-invite>button:first-child{background:#1e3a5f}.game-shell .banner-notice .notice-dismiss{color:#a5d9e9;background:0 0;border:0;width:30px;min-width:30px;padding:0;font-size:13px;line-height:30px;display:block}.game-shell .game-notices button,.game-shell .banner-notice button{position:relative}.game-shell .game-notices button:after,.game-shell .banner-notice button:after{content:"";position:absolute;top:-8px;right:-4px;bottom:-8px;left:-4px}.game-shell .banner-notice .notice-dismiss:after{top:-8px;right:-8px;bottom:-8px;left:-8px}.online-summary.has-notice>span{flex:none}.game-shell .online-summary button.has-notice{text-align:left;border-color:#8a6d3b;flex:auto;align-items:center;gap:6px;min-width:0;display:flex}.banner-notice-line{text-overflow:ellipsis;white-space:nowrap;color:#fde68a;flex:1;min-width:0;overflow:hidden}.online-summary button.has-notice>span:last-child{flex:none}@media(orientation:portrait),(min-height:601px)and (max-width:959px){.score-strip>div{white-space:nowrap;overflow:hidden}}@keyframes board-toast-out{to{opacity:0;visibility:hidden}}@media(prefers-reduced-motion:reduce){.game-shell .game-notices>small[role=status]{animation:1ms linear 6s forwards board-toast-out!important}}.online-lobby .komi-setup{margin-top:12px;padding:16px}.komi-setup h2{font-size:1.2rem}.komi-setup p{margin:10px 0;font-size:14px;line-height:1.4}.komi-setup button,.komi-setup select{min-height:44px}.komi-colours{flex-wrap:wrap;gap:8px;display:flex}.komi-colours button{flex:140px}.komi-provenance{color:#cbd5e1;overflow-wrap:anywhere;margin:2px 0;font-size:11px}@media(max-height:620px)and (orientation:portrait),(max-height:600px)and (orientation:landscape){.compact-online-banner>.komi-provenance{display:none}}@media(max-height:620px)and (orientation:portrait){.game-shell-online .game-header a{white-space:nowrap}.game-shell-online .game-header h1{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.game-shell-online:not(.game-shell-observer){--decision-height:92px}.game-shell-online .turn-replay{gap:2px;padding-block:3px}.game-shell-online .reference-bar{flex-wrap:nowrap;gap:4px}.game-shell-online .reference-bar button{white-space:nowrap;flex:none}.game-shell-online .reference-bar .counter-key{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}}.regional-fill{pointer-events:none;z-index:0;position:absolute;top:0;right:0;bottom:0;left:0}.regional-outline{pointer-events:none;z-index:9;border:solid;position:absolute;top:1px;right:1px;bottom:1px;left:1px}.regional-outline.is-depleted{opacity:.2}.regional-pill{--pill-shift-x:-50%;--pill-shift-y:-50%;transform:translate(var(--pill-shift-x),var(--pill-shift-y));pointer-events:none;z-index:9;white-space:nowrap;text-align:center;font-variant-numeric:tabular-nums;border-radius:999px;width:max-content;min-width:1.8em;padding:1px 2px;font-size:clamp(10px,2.3vw,13px);font-weight:800;line-height:1.1;position:absolute;top:50%;left:50%;box-shadow:0 0 0 1px #101827,0 1px 3px #0009}.regional-pill[data-edge-x=left]{--pill-shift-x:0%;left:2px}.regional-pill[data-edge-x=right]{--pill-shift-x:0%;left:auto;right:2px}.regional-pill[data-edge-y=top]{--pill-shift-y:0%;top:2px}.regional-pill[data-edge-y=bottom]{--pill-shift-y:0%;top:auto;bottom:2px}.regional-pill.occupied{padding:0 2px;font-size:clamp(10px,1.9vw,11px);inset:auto auto -1px 50%;transform:translate(-50%)}.regional-pill[data-contained]{left:var(--pill-bound-left);top:var(--pill-bound-top);bottom:auto;right:auto;transform:none}.regional-selected .regional-outline{opacity:1;filter:brightness(1.2);box-shadow:inset 0 0 0 1px var(--region-color)}.region-relevant:after{content:"";pointer-events:none;border:2px solid;border-radius:50%;position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;box-shadow:0 0 0 1px #111}.region-relevant-white:after{border-color:#fff}.region-relevant-black:after{border-color:#111;box-shadow:0 0 0 1px #fff}.region-reachable:after{border-style:dashed}.region-inspection-content{overscroll-behavior:contain;min-height:0;max-height:100%;overflow:auto}.region-inspector{border-left:4px solid;padding:4px 8px;font-size:12px;line-height:1.35}.region-inspector header{justify-content:space-between;align-items:center;gap:8px;display:flex}.region-inspector header button{padding:1px 9px;font-size:20px}.region-inspector-totals{flex-wrap:wrap;gap:3px 14px;display:flex}.region-inspector .player-dot{margin-right:4px;display:inline-block}.region-inspector p{margin:3px 0}.region-inspector small{color:#cbd5e1;display:block}.region-piece-list{flex-wrap:wrap;gap:3px 10px;margin:4px 0;display:flex}.region-piece-row{white-space:nowrap}.regional-mining{margin-top:5px;font-size:12px}.regional-race{background:#132c31;border-radius:5px;justify-content:space-between;gap:6px;padding:5px;display:flex}.regional-drought{color:#fdba74;text-align:center;background:#4a2a12;border-radius:5px;margin-top:4px;padding:3px 6px;font-size:12px}.regional-race b{font-variant-numeric:tabular-nums}.regional-details-button{cursor:pointer;text-align:left;width:100%;min-height:36px;padding:8px 4px}.regional-income-details{font-size:13px}.regional-mining p{color:#cbd5e1;margin:6px 0}.regional-income-heading,.regional-income-row{justify-content:space-between;gap:6px;padding:4px;display:flex}.regional-income-row{border-left:3px solid;margin:3px 0}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}
