:root{color-scheme:dark;font-family:Outfit,Noto Sans TC,system-ui,sans-serif;--bg: #07130f;--panel: rgba(14, 36, 30, .92);--panel-2: rgba(23, 55, 45, .9);--line: rgba(165, 232, 188, .24);--gold: #f8d66a;--mint: #67f2be;--text: #f7fff7;--muted: #b9d3c4}*{box-sizing:border-box}body{margin:0;min-height:100svh;background:radial-gradient(circle at top,#194d3e 0,#07130f 48%,#050807);color:var(--text);overflow-y:auto}button,select{font:inherit}.rune-app{width:min(100%,920px);min-height:100svh;margin:0 auto;padding:max(12px,env(safe-area-inset-top)) 14px max(18px,env(safe-area-inset-bottom))}.topbar{display:grid;grid-template-columns:58px 1fr minmax(132px,190px);align-items:center;gap:12px;margin-bottom:12px}.back-btn,.primary-btn,.secondary-btn,.actions button,.diamond-card button{border:0;cursor:pointer;touch-action:manipulation}.back-btn{display:grid;grid-template-columns:16px 24px;place-items:center;gap:4px;width:54px;height:54px;border-radius:16px;color:#261907;text-decoration:none;font-size:2rem;font-weight:900;background:linear-gradient(#fff6a8,#f6a51f);box-shadow:0 8px #8a551b}.back-btn img{width:24px;height:24px;object-fit:contain}.back-btn span{display:block}.pause-toggle{display:none}body.is-rune-playing .topbar{grid-template-columns:46px minmax(0,1fr);min-height:46px;margin-bottom:8px}body.is-rune-playing .topbar .brand,body.is-rune-playing .topbar .locale,body.is-rune-playing .game-page-info{display:none!important}body.is-rune-playing .back-btn{grid-template-columns:1fr;gap:0;width:44px;height:44px;border-radius:12px;box-shadow:0 5px #8a551b}body.is-rune-playing .back-btn img{display:none}body.is-rune-playing .back-btn span{display:block}body.is-rune-playing .pause-toggle{position:fixed;z-index:85;top:4px;right:4px;display:grid;place-items:center;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px;border:1px solid var(--line);border-radius:12px;color:var(--text);background:#173f35;font-size:20px;font-weight:900;line-height:1;cursor:pointer;touch-action:manipulation}.brand span,.locale span,.hud span,.profile-grid span{display:block;color:var(--muted);font-size:.78rem;font-weight:800}.brand h1{margin:2px 0 0;font-size:clamp(1.2rem,4.4vw,2rem);line-height:1.1}.locale{display:grid;gap:4px}.locale select{width:100%;min-height:38px;border:1px solid var(--line);border-radius:10px;color:var(--text);background:#04120fdb;padding:0 8px}.panel{border:1px solid var(--line);border-radius:18px;background:linear-gradient(160deg,#133127f0,#071412f0);box-shadow:0 18px 60px #00000052}.is-hidden{display:none!important}.menu-panel{display:grid;grid-template-columns:minmax(240px,38%) 1fr;gap:18px;padding:18px}.cover{width:100%;aspect-ratio:1;object-fit:cover;border-radius:16px;border:1px solid var(--line)}.menu-copy{display:grid;align-content:start;gap:14px}.menu-copy>strong{font-size:clamp(1.5rem,4vw,2.3rem)}.menu-copy>span,.status-line,.section-head small,.diamond-card small{color:var(--muted);line-height:1.45}.profile-grid,.hud{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.profile-grid>div,.hud>div,.selected-card,.diamond-card,.section-head,.reward-card,.result-plan{border:1px solid var(--line);border-radius:14px;background:#ffffff0e;padding:12px}.profile-grid b,.hud b{display:flex;align-items:center;gap:5px;min-height:28px;color:var(--gold);font-size:1.15rem}.growth-summary{display:grid;gap:5px;border:1px solid rgba(103,242,190,.25);border-radius:14px;background:#67f2be14;padding:12px}.result-plan strong{display:block;margin-bottom:4px;color:var(--mint)}.growth-summary strong{color:var(--gold);font-size:.95rem}.growth-summary span,.growth-summary em{color:#d8f5e6;font-size:.82rem;font-style:normal;line-height:1.35}.growth-summary em{color:var(--mint);font-weight:900}.hud img,.diamond-card img,.secondary-btn img{width:20px;height:20px}.diamond-card{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.hero-upgrade-list{display:grid;gap:8px}.hero-upgrade-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.hero-upgrade-card{display:grid;grid-template-columns:48px 1fr;gap:8px;align-items:center;border:1px solid var(--line);border-radius:12px;background:#ffffff0e;padding:9px}.hero-upgrade-card img{width:48px;height:48px;object-fit:contain}.hero-upgrade-card strong,.hero-upgrade-card span,.hero-upgrade-card small,.hero-upgrade-card em{display:block}.hero-upgrade-card span,.hero-upgrade-card small{color:var(--muted);font-size:.78rem;line-height:1.25}.hero-upgrade-card em{margin-top:3px;color:var(--mint);font-size:.72rem;font-style:normal;font-weight:900}.hero-upgrade-card button{grid-column:1 / -1;min-height:34px;border:1px solid var(--line);border-radius:10px;color:#102317;background:linear-gradient(135deg,#89ffc1,#f8d66a);font-weight:900}.diamond-card button,.primary-btn,.secondary-btn{min-height:48px;border-radius:13px;font-weight:900}.diamond-card button,.secondary-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:var(--text);background:#ffffff17;border:1px solid var(--line)}.primary-btn{color:#102317;background:linear-gradient(135deg,#89ffc1,#f8d66a)}.game-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,320px);align-items:stretch;gap:12px;padding:12px}.game-panel>.hud{grid-column:1 / -1}.battle-shell{position:relative;width:100%;aspect-ratio:4 / 3;margin:0;overflow:hidden;border:1px solid rgba(248,214,106,.42);border-radius:18px;background:#152820}.arena-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.tactic-grid{position:absolute;inset:8%;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(4,1fr);gap:8px}.tile{position:relative;border:2px solid rgba(210,255,220,.22);border-radius:12px;background:#0c362829;min-width:0}.tile:focus-visible{outline:4px solid #f8d66a;outline-offset:2px}.tile.is-move{border-color:#67f2bed9;background:#67f2be26}.tile.is-attack{border-color:#ffcd57f2;background:#ffcd5729}.tile.is-selected{box-shadow:inset 0 0 0 3px #f8d66a8c}.tile.is-acted{border-color:#a5e8bc29;background:#02080761}.tile.is-positioned{border-color:#67f2beeb;box-shadow:inset 0 0 0 2px #67f2be47}.tile[class*=has-terrain-]:before{content:"";position:absolute;inset:4px;border-radius:8px;opacity:.72;pointer-events:none}.tile.has-terrain-rubble:before{background:repeating-linear-gradient(135deg,#524d44eb 0 8px,#272622e6 8px 16px)}.tile.has-terrain-snare:before{background:radial-gradient(circle at 50% 50%,transparent 22%,rgba(107,174,75,.8) 24% 31%,transparent 33%),#265b2c47}.tile.has-terrain-tide:before{background:linear-gradient(145deg,#40bfe038,#2569bcc7)}.tile.has-terrain-burn:before{background:radial-gradient(circle at 50% 72%,rgba(255,237,90,.9),rgba(244,91,33,.72) 35%,transparent 68%)}.tile.has-terrain-cooling:before{background:radial-gradient(circle,rgba(155,247,255,.9),rgba(42,133,197,.54) 42%,transparent 68%)}.tile.has-terrain-orbit:before{background:conic-gradient(from 25deg,rgba(188,134,255,.74),transparent 22%,rgba(89,221,226,.72),transparent 55%,rgba(188,134,255,.74))}.tile.has-terrain-seal:before{background:radial-gradient(circle,transparent 25%,rgba(255,206,76,.82) 27% 32%,transparent 34% 48%,rgba(127,85,218,.7) 50% 55%,transparent 57%)}.terrain-mark{position:absolute;z-index:1;left:4px;right:4px;bottom:3px;overflow:hidden;color:#ffffffe0;font-size:clamp(6px,1.45vw,9px);font-style:normal;font-weight:900;line-height:1;text-align:center;text-overflow:ellipsis;text-shadow:0 1px 3px #000,0 0 2px #000;white-space:nowrap;pointer-events:none}.unit{position:absolute;left:50%;top:50%;width:min(86%,74px);aspect-ratio:1;transform:translate(-50%,-50%);object-fit:contain;filter:drop-shadow(0 8px 9px rgba(0,0,0,.45));pointer-events:none;z-index:2}.hero,.enemy{position:absolute;inset:0;z-index:2;pointer-events:none;transform-origin:center}.hero.is-moving,.enemy.is-moving{z-index:8;will-change:transform}.enemy.is-boss .unit{width:min(98%,86px)}.enemy.is-boss .hpbar{left:4%;right:4%;height:9px}.hpbar{position:absolute;left:10%;right:10%;bottom:4px;height:7px;border-radius:999px;overflow:hidden;background:#00000073;z-index:3}.hpbar span{display:block;height:100%;background:linear-gradient(90deg,#5dff9b,#f8d66a)}.enemy .hpbar span{background:linear-gradient(90deg,#ff5d5d,#ffbf61)}.enemy-trait-badge{position:absolute;top:3px;right:3px;z-index:2;max-width:calc(100% - 6px);overflow:hidden;padding:2px 4px;border:1px solid rgba(255,255,255,.42);border-radius:4px;color:#fff;background:#200d2be6;font-size:clamp(7px,1.8vw,10px);font-weight:900;line-height:1;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.enemy-trait-badge--wolf{background:#852537eb}.enemy-trait-badge--raven{background:#383697eb}.enemy-trait-badge--stag{background:#54472ff0}.enemy-trait-badge--stag.is-spent{opacity:.42}.enemy-trait-badge--boar,.enemy-trait-badge--rhinoBoss{background:#6b3a1ef0}.enemy-trait-badge--runeFox,.enemy-trait-badge--salamander,.enemy-trait-badge--emberLionBoss{background:#b0451ff0}.enemy-trait-badge--tideTurtle,.enemy-trait-badge--heron,.enemy-trait-badge--serpentBoss{background:#1b7084f0}.enemy-trait-badge--moth,.enemy-trait-badge--archiveOwl,.enemy-trait-badge--griffinBoss{background:#4b3991f0}.enemy-trait-badge--mirrorWolf,.enemy-trait-badge--sealRaven,.enemy-trait-badge--chimeraBoss{background:#7a3082f0}.hero.has-acted .unit{opacity:.48;filter:grayscale(.4) drop-shadow(0 5px 7px rgba(0,0,0,.35))}.turn-badge{position:absolute;top:4px;left:50%;transform:translate(-50%);padding:2px 7px;border-radius:999px;color:#102317;background:var(--gold);font-style:normal;font-size:.66rem;font-weight:900;white-space:nowrap;pointer-events:none}.hero.has-acted .turn-badge{color:#e2f5e9;background:#0c1915d1;border:1px solid rgba(255,255,255,.16)}.hero.is-positioned .turn-badge{color:#06261d;background:#67f2be}.fx-layer{position:absolute;inset:0;pointer-events:none}.fx{position:absolute;width:110px;height:110px;object-fit:contain;transform:translate(-50%,-50%) scale(.55);filter:drop-shadow(0 7px 10px rgba(0,0,0,.38));animation:fx-pop .56s ease-out forwards}.fx-attack-hit{animation:fx-impact .44s cubic-bezier(.2,.8,.25,1) forwards}.fx-rune-burst{animation:fx-rune .62s cubic-bezier(.15,.8,.2,1) forwards}.fx-guard-shield,.fx-healing-swirl{animation:fx-protect .68s ease-out forwards}.fx-dust-burst{animation:fx-dust .42s ease-out forwards}.fx-value{position:absolute;z-index:3;min-width:34px;color:#fff5be;font:1000 clamp(18px,5vw,28px)/1 ui-rounded,system-ui,sans-serif;letter-spacing:-.04em;text-align:center;text-shadow:0 3px 0 #27140d,0 0 12px rgba(0,0,0,.72);transform:translate(-50%,-50%);animation:fx-value-rise .76s cubic-bezier(.2,.82,.3,1) forwards}.fx-value.is-damage{color:#ffcf78}.fx-value.is-positive{color:#7dffd0;text-shadow:0 3px 0 #0a3a2d,0 0 12px rgba(66,246,181,.42)}.fx-value.is-chain{color:#8fe8ff;text-shadow:0 3px 0 #13365c,0 0 16px rgba(88,198,255,.7);animation-delay:80ms}@keyframes fx-pop{0%{opacity:0;transform:translate(-50%,-50%) scale(.35)}35%{opacity:1}to{opacity:0;transform:translate(-50%,-50%) scale(1.1)}}@keyframes fx-impact{0%{opacity:0;transform:translate(-50%,-50%) scale(.25) rotate(-10deg)}25%{opacity:1;transform:translate(-50%,-50%) scale(.98) rotate(4deg)}46%{opacity:1;transform:translate(-50%,-50%) scale(.82) rotate(-2deg)}to{opacity:0;transform:translate(-50%,-50%) scale(1.23) rotate(0)}}@keyframes fx-rune{0%{opacity:0;transform:translate(-50%,-46%) scale(.22)}30%{opacity:1;transform:translate(-50%,-52%) scale(.88)}56%{opacity:.92;transform:translate(-50%,-56%) scale(.76)}to{opacity:0;transform:translate(-50%,-72%) scale(1.32)}}@keyframes fx-protect{0%{opacity:0;transform:translate(-50%,-45%) scale(.35)}34%{opacity:1;transform:translate(-50%,-51%) scale(.92)}to{opacity:0;transform:translate(-50%,-68%) scale(1.18)}}@keyframes fx-dust{0%{opacity:0;transform:translate(-50%,-35%) scale(.28)}38%{opacity:.8;transform:translate(-50%,-47%) scale(.74)}to{opacity:0;transform:translate(-50%,-58%) scale(1.2)}}@keyframes fx-value-rise{0%{opacity:0;transform:translate(-50%,-20%) scale(.65)}18%{opacity:1;transform:translate(-50%,-65%) scale(1.12)}72%{opacity:1;transform:translate(-50%,-118%) scale(1)}to{opacity:0;transform:translate(-50%,-145%) scale(.92)}}@media(prefers-reduced-motion:reduce){.fx,.fx-value{animation-duration:1ms!important;animation-iteration-count:1!important}.hero,.enemy{transition:none!important}}.battle-info{display:grid;align-content:start;gap:10px}.selected-card{min-height:70px;display:grid;gap:6px;line-height:1.35}.enemy-trait-guide{display:grid;gap:2px;min-width:0;padding:5px 7px;border-left:2px solid var(--gold);border-radius:6px;background:#f8d66a14;color:#f8e8a2;font-size:.72rem;line-height:1.25;overflow-wrap:anywhere}.enemy-trait-guide b{color:var(--gold);font-size:.68rem;font-weight:900}.enemy-trait-guide span{min-width:0;color:#e8f5e8!important;overflow-wrap:anywhere}.selected-card span,.selected-card small{color:var(--muted)}.turn-roster{display:grid;gap:8px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#04100db3}.turn-roster-title{color:var(--gold);font-size:.82rem;font-weight:900}.turn-roster>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.turn-roster-item{min-width:0;min-height:48px;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:6px;padding:6px;border:1px solid var(--line);border-radius:12px;color:var(--text);background:#091e19db;text-align:left}.turn-roster-item img{width:32px;height:32px;object-fit:contain}.turn-roster-item strong,.turn-roster-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.turn-roster-item strong{font-size:.78rem}.turn-roster-item small{color:var(--mint);font-size:.66rem}.turn-roster-item.is-selected{border-color:var(--gold);box-shadow:inset 0 0 0 2px #ffd55a38}.turn-roster-item.is-done{opacity:.72;background:#02080780}.turn-roster-item.is-done small{color:#d8e2dc}.turn-roster-item.is-positioned{border-color:#67f2be;background:#1974574d}.turn-roster-item.is-fallen{opacity:.45}.skill-help{display:grid;gap:3px;padding:8px 10px;border:1px solid rgba(103,242,190,.22);border-radius:10px;color:#d7fbe9!important;background:#67f2be1a}.skill-help b{color:var(--gold);font-size:.72rem;text-transform:uppercase}.skill-help i{color:#67f2be;font-size:.7rem;font-style:normal;font-weight:800}.actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.actions button{min-height:48px;border-radius:12px;color:var(--text);background:var(--panel-2);border:1px solid var(--line);font-weight:900}.actions button:disabled{opacity:.45}.battle-log{min-height:28px;margin:0;color:#d8ffe5;text-align:center}.overlay-panel{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:18px;background:#010705bd}.overlay-card{width:min(100%,620px);max-height:calc(100svh - 36px);overflow:auto;border:1px solid var(--line);border-radius:18px;background:#10241e;padding:18px}#resultPanel .overlay-card{position:relative;isolation:isolate}#resultPanel .overlay-card>:not(.result-squad-art){position:relative;z-index:2}.result-squad-art{position:absolute;z-index:1;top:0;right:0;width:min(42%,228px);height:126px;overflow:hidden;opacity:.54;pointer-events:none}.result-squad-art img{position:absolute;object-fit:contain;filter:drop-shadow(0 7px 9px rgba(0,0,0,.42))}.result-clear-fx{top:-28px;right:42px;width:126px;height:126px;opacity:.72}.result-hero{bottom:-10px;width:72px;height:86px}.result-hero-lion{right:-2px}.result-hero-owl{right:48px}.result-hero-turtle{right:98px}.pause-card{width:min(100%,340px);text-align:center}.pause-card p{color:var(--muted);line-height:1.45}.pause-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.pause-actions button{min-height:48px}.pause-toggle:focus-visible,.pause-actions button:focus-visible{outline:3px solid #fff2a1;outline-offset:2px}.reward-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.reward-card{display:grid;gap:8px;color:var(--text);text-align:left;min-height:172px}.reward-card:focus,.result-actions button:focus{outline:3px solid #fff2a1;outline-offset:2px;box-shadow:0 0 0 5px #06110d}.reward-card b{width:max-content;border-radius:999px;background:#67f2be24;color:var(--mint);font-size:.72rem;line-height:1;padding:5px 7px}.reward-card img{width:64px;height:64px;object-fit:contain}.result-progress{display:grid;gap:5px;margin-top:12px;border:1px solid rgba(103,242,190,.28);border-radius:14px;background:#67f2be14;padding:12px}.result-progress strong,.result-progress em{color:var(--mint)}.result-progress em{font-style:normal}.result-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}.result-actions button{min-height:58px}@media(max-height:560px){html body.wp-logical-battle-active.is-rune-playing #resultPanel.overlay-panel{padding:24px 80px!important}html body.wp-logical-battle-active.is-rune-playing #resultPanel .overlay-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) 120px;column-gap:28px;row-gap:12px;width:min(100%,1180px);max-height:620px;padding:24px;overflow:hidden}html body.wp-logical-battle-active.is-rune-playing #resultPanel h2{grid-column:1;grid-row:1;margin:0;font-size:44px;line-height:52px}html body.wp-logical-battle-active.is-rune-playing #resultPanel #resultText{grid-column:1;grid-row:2;margin:0;font-size:24px;line-height:30px}html body.wp-logical-battle-active.is-rune-playing #resultPanel .result-progress{grid-column:1;grid-row:3;align-self:stretch;margin:0;padding:14px;font-size:22px;line-height:28px}html body.wp-logical-battle-active.is-rune-playing #resultPanel .result-plan{grid-column:2;grid-row:1 / 4;align-self:end;padding:18px;font-size:22px;line-height:30px}html body.wp-logical-battle-active.is-rune-playing #resultPanel .result-actions{grid-column:1 / -1;grid-row:4;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}html body.wp-logical-battle-active.is-rune-playing #resultPanel .result-actions button{min-height:120px;padding:10px;font-size:24px;line-height:30px}html body.wp-logical-battle-active.is-rune-playing #resultPanel .result-squad-art{width:340px;height:210px;opacity:.38}}@media(max-width:720px){.rune-app{padding-inline:10px}.topbar{grid-template-columns:50px 1fr}.locale{grid-column:1 / -1}.menu-panel{grid-template-columns:1fr}.cover{max-width:280px;margin:0 auto}.battle-shell{aspect-ratio:1 / 1}.game-panel{display:block}.game-panel .battle-shell{margin:12px auto}.tactic-grid{inset:6%;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,1fr);gap:6px}.reward-cards,.result-actions{grid-template-columns:1fr 1fr}.battle-info{gap:8px}.turn-roster{gap:6px;padding:8px}.turn-roster>div{gap:6px}.turn-roster-item{min-height:40px;grid-template-columns:26px minmax(0,1fr);gap:5px;padding:5px}.turn-roster-item img{width:26px;height:26px}.turn-roster-item strong{font-size:.68rem}.turn-roster-item small{font-size:.58rem}.selected-card{min-height:0;gap:5px}.skill-help{padding:7px 8px}.actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.actions button{min-height:42px;padding-inline:4px;font-size:.78rem}.profile-grid,.hud{grid-template-columns:1fr 1fr}.hero-upgrade-grid{grid-template-columns:1fr}}body.is-rune-playing{position:fixed;inset:0;width:100vw;height:100dvh;overflow:hidden;overscroll-behavior:none}body.is-rune-playing .rune-app{position:fixed;inset:0;display:block;width:100vw;height:100dvh;padding:0;overflow:hidden}body.is-rune-playing .topbar{position:absolute;top:var(--rune-battle-top, 8px);left:var(--rune-battle-left, 4px);width:390px;height:48px;padding:4px;transform:scale(var(--rune-battle-scale, 1));transform-origin:top left;z-index:20}body.is-rune-playing #gamePanel.game-panel{position:absolute;top:calc(var(--rune-battle-top, 8px) + 50px * var(--rune-battle-scale, 1));left:var(--rune-battle-left, 4px);display:grid;grid-template-columns:1fr;grid-template-rows:56px 288px minmax(0,1fr);gap:6px;width:390px;max-width:none;height:738px;margin:0;padding:6px;overflow:hidden;transform:scale(var(--rune-battle-scale, 1));transform-origin:top left}body.is-rune-playing .game-panel>.hud{grid-column:1;min-height:0}body.is-rune-playing .battle-shell{width:100%;height:100%;aspect-ratio:4 / 3;margin:0}body.is-rune-playing .battle-ad-reserve{position:absolute;top:calc(var(--rune-battle-top, 8px) + var(--rune-battle-content-height, 772px));left:var(--rune-battle-left, 4px);display:block;width:var(--rune-battle-width, 382px);height:var(--wp-ad-reserve-height, 0px);min-height:var(--wp-ad-reserve-height, 0px);background:#041611b8;border-top:1px solid rgba(248,214,106,.3);pointer-events:none}html:has(body.is-rune-playing),body.is-rune-playing{width:100%;height:var(--rune-vh,100dvh);-webkit-text-size-adjust:100%;text-size-adjust:100%}body.is-rune-playing .rune-app{width:var(--rune-vw,100vw);height:var(--rune-vh,100dvh);min-height:0;padding:0;overflow:hidden}body.is-rune-playing .topbar{position:fixed;z-index:20;top:4px;left:50%;width:min(calc(var(--rune-vw,100vw) - 8px),612px);height:48px;padding:4px;transform:translate(-50%)}body.is-rune-playing .topbar .brand,body.is-rune-playing .topbar .locale,body.is-rune-playing .game-page-info,body.is-rune-playing .wp-tutorial-button,body.is-rune-playing .wp-tutorial-backdrop{display:none!important}body.is-rune-playing #gamePanel.game-panel{container-type:size;position:fixed;top:54px;left:50%;display:grid;grid-template-columns:1fr;grid-template-rows:56px minmax(0,1fr) minmax(180px,.45fr);gap:6px;width:min(calc(var(--rune-vw,100vw) - 8px),612px);max-width:none;height:min(calc(var(--rune-vh,100dvh) - 114px),738px);min-height:0;margin:0;padding:6px;overflow:hidden;transform:translate(-50%)}body.is-rune-playing .battle-shell{width:min(100%,calc((100cqh - 250px) * 4 / 3));max-width:100%;height:auto;max-height:100%;aspect-ratio:4/3;align-self:center;justify-self:center;margin:0}body.is-rune-playing .battle-info{min-height:0;overflow:hidden}body.is-rune-playing .turn-roster{max-height:112px;overflow-y:auto}body.is-rune-playing .battle-log{min-height:42px;max-height:58px;overflow-y:auto}body.is-rune-playing .battle-ad-reserve{position:fixed;top:auto;bottom:4px;left:50%;display:block;width:min(calc(var(--rune-vw,100vw) - 8px),612px);height:var(--wp-ad-reserve-height, 0px);min-height:var(--wp-ad-reserve-height, 0px);transform:translate(-50%)}body.is-rune-playing .rune-app[data-wp-logical-battle-canvas]{position:fixed;inset:4px auto auto max(4px,calc((var(--rune-vw, 100vw) - 612px) / 2));width:min(calc(var(--rune-vw, 100vw) - 8px),612px);height:calc(var(--rune-vh, 100dvh) - 64px);min-height:0}@media(max-width:560px),(max-height:560px){body.is-rune-playing .topbar,body.is-rune-playing #gamePanel.game-panel,body.is-rune-playing .battle-ad-reserve{width:calc(var(--rune-vw,100vw) - 8px)}body.is-rune-playing #gamePanel.game-panel{height:calc(var(--rune-vh,100dvh) - 114px)}}@media(max-height:560px){body.is-rune-playing .topbar{top:4px;left:4px;width:48px;height:calc(var(--rune-vh,100dvh) - 64px);padding:4px;transform:none}body.is-rune-playing .topbar .back-btn{width:40px;min-width:0}body.is-rune-playing #gamePanel.game-panel{top:4px;left:58px;grid-template-columns:140px minmax(0,1fr) 230px;grid-template-rows:minmax(0,1fr);width:calc(var(--rune-vw,100vw) - 62px);height:calc(var(--rune-vh,100dvh) - 64px);transform:none}body.is-rune-playing .game-panel>.hud{grid-column:1;grid-row:1}body.is-rune-playing .battle-shell{grid-column:2;grid-row:1;align-self:center}body.is-rune-playing .battle-shell{width:min(100%,calc(100cqh * 4 / 3))}body.is-rune-playing .battle-info{grid-column:3;grid-row:1}body.is-rune-playing .battle-info{display:grid;grid-template-rows:76px minmax(0,1fr) 54px 34px;align-content:stretch;gap:4px}body.is-rune-playing .hud{grid-template-columns:1fr;align-content:start}body.is-rune-playing .turn-roster{max-height:76px}body.is-rune-playing .selected-card{min-height:0;overflow:hidden;font-size:13px}body.is-rune-playing .actions{min-height:0;gap:4px}body.is-rune-playing .actions button{min-height:0;padding:4px}body.is-rune-playing .battle-log{min-height:0;max-height:none;overflow:hidden}}@media(min-height:561px){body.is-rune-playing .game-panel>.hud{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;height:56px;min-height:56px;max-height:56px;gap:6px;overflow:hidden}body.is-rune-playing .game-panel>.hud>div{min-width:0;height:56px;min-height:56px;max-height:56px;padding:6px 8px;overflow:hidden}body.is-rune-playing .game-panel>.hud :is(span,b){overflow:hidden;font-size:13px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}body.is-rune-playing #gamePanel.game-panel{grid-template-rows:56px minmax(0,1fr) 310px}body.is-rune-playing .battle-info{display:grid;grid-template-rows:64px minmax(0,1fr) 48px 34px;align-content:stretch;gap:6px;min-height:0;padding:8px;overflow:hidden}body.is-rune-playing .turn-roster{width:100%;height:64px;min-height:64px;max-height:64px;overflow-x:auto;overflow-y:hidden}body.is-rune-playing .selected-card{min-height:0;padding:8px 10px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}body.is-rune-playing .actions{grid-template-columns:repeat(4,minmax(0,1fr));width:100%;height:48px;min-height:48px;max-height:48px;gap:6px}body.is-rune-playing .actions button{width:100%;height:48px;min-height:48px;max-height:48px;padding:4px;overflow:hidden;font-size:13px;line-height:16px}body.is-rune-playing .battle-log{width:100%;height:34px;min-height:34px;max-height:34px;padding:4px 6px;overflow-x:hidden;overflow-y:auto;font-size:12px;line-height:16px}}.rune-stage-workspace{min-width:0;min-height:0;overflow:hidden}.rune-stage-view{display:none;width:100%;height:100%;min-width:0;min-height:0}.rune-stage-view.is-active{display:grid}.rune-stage-view[data-rune-stage-view=missions]{grid-template-rows:minmax(0,1fr)}#stagePanel .mission-list{display:block;position:relative;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden}.rune-stage-view[data-rune-stage-view=heroes]{grid-template-rows:auto minmax(0,1fr);gap:8px;overflow:hidden}#stagePanel .growth-summary,#stagePanel .hero-upgrade-list,#stagePanel .diamond-card{width:min(100%,720px);justify-self:center;background:#071914eb}#stagePanel .hero-upgrade-list{min-height:0;padding:10px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.rune-stage-view[data-rune-stage-view=training]{align-content:start;overflow-y:auto}#stagePanel .diamond-card{padding:14px}body.wp-standard-stage-page .sound-toggle,body.is-rune-playing .sound-toggle{display:none!important}body.is-rune-playing .game-panel>.hud{display:grid;grid-template-columns:1fr;width:100%;height:48px;min-height:48px;max-height:48px;gap:0}body.is-rune-playing .game-panel>.hud>div{display:grid;grid-template-columns:auto auto;align-items:center;justify-content:center;gap:8px;width:100%;height:48px;min-height:48px;max-height:48px;padding:4px 10px}body.is-rune-playing .game-panel>.hud :is(span,b){font-size:16px;line-height:20px;white-space:nowrap}body.is-rune-playing .battle-status-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;height:34px;padding:0 6px;overflow:hidden;border:1px solid rgba(248,214,106,.24);border-radius:8px;background:#071914f0}body.is-rune-playing .battle-status-row .battle-log{width:auto;height:auto;min-height:0;max-height:none;margin:0;padding:0;overflow:hidden;color:#f8d66a;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}body.is-rune-playing .battle-secondary{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;white-space:nowrap}body.is-rune-playing .battle-secondary b{color:var(--text)}body.is-rune-playing .tactic-grid{inset:3%;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:6px}body.is-rune-playing .battle-info{display:grid;grid-template-columns:108px minmax(0,1fr);grid-template-rows:64px 48px;gap:4px;min-height:0;height:120px;padding:4px;overflow:hidden}body.is-rune-playing .turn-roster{grid-column:1;grid-row:1 / 3;display:grid;grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(0,1fr));gap:2px;width:108px;height:112px;min-height:0;max-height:none;overflow:hidden}body.is-rune-playing .turn-roster-item{min-height:0;padding:2px 4px}body.is-rune-playing .turn-roster-item img{width:26px;height:26px}body.is-rune-playing .turn-roster-item small{font-size:8px;line-height:10px}body.is-rune-playing .selected-card{grid-column:2;grid-row:1;min-height:0;padding:4px 6px;overflow:auto;font-size:11px}body.is-rune-playing .selected-card .skill-help{margin-top:2px}body.is-rune-playing .actions{grid-column:2;grid-row:2;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;height:48px;min-height:48px;max-height:48px;gap:4px}body.is-rune-playing .actions button{height:48px;min-height:48px;max-height:48px;padding:3px;font-size:11px;line-height:13px}html body.wp-logical-battle-active.is-rune-playing #gamePanel.game-panel{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:48px 34px 432px minmax(176px,1fr)!important;gap:4px!important;width:382px!important;height:730px!important;padding:4px!important}html body.wp-logical-battle-active.is-rune-playing .game-panel>.hud{grid-column:1!important;grid-row:1!important;grid-template-columns:minmax(0,1fr)!important}html body.wp-logical-battle-active.is-rune-playing .battle-status-row{grid-column:1!important;grid-row:2!important}html body.wp-logical-battle-active.is-rune-playing .battle-shell{grid-column:1!important;grid-row:3!important;width:368px!important;height:432px!important;max-height:none!important;aspect-ratio:17 / 20!important;align-self:center!important;justify-self:center!important}html body.wp-logical-battle-active.is-rune-playing .tactic-grid{inset:.8%!important}html body.wp-logical-battle-active.is-rune-playing .battle-info{grid-column:1!important;grid-row:4!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:44px minmax(64px,1fr) 54px!important;gap:4px!important;width:100%!important;height:100%!important;padding:4px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster{grid-column:1!important;grid-row:1!important;display:block!important;width:100%!important;height:44px!important;max-height:44px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster>div{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;width:100%!important;height:44px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster-item{min-width:0!important;min-height:44px!important;padding:3px 5px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster-item img{width:32px!important;height:32px!important}html body.wp-logical-battle-active.is-rune-playing .selected-card{grid-column:1!important;grid-row:2!important;padding:6px 8px!important;overflow:hidden!important;font-size:12px!important}html body.wp-logical-battle-active.is-rune-playing .selected-card>strong,html body.wp-logical-battle-active.is-rune-playing .selected-card>span{display:block;overflow:hidden;line-height:14px;text-overflow:ellipsis;white-space:nowrap}html body.wp-logical-battle-active.is-rune-playing .selected-card .skill-help{display:grid;grid-template-columns:auto minmax(0,1fr);gap:1px 6px;margin-top:2px;padding:3px 6px;overflow:hidden;line-height:12px}html body.wp-logical-battle-active.is-rune-playing .selected-card .skill-help b,html body.wp-logical-battle-active.is-rune-playing .selected-card .skill-help span{overflow:hidden;font-size:10px;line-height:12px;text-overflow:ellipsis;white-space:nowrap}html body.wp-logical-battle-active.is-rune-playing .selected-card .skill-help i{grid-column:1 / -1;overflow:hidden;font-size:9px;line-height:11px;text-overflow:ellipsis;white-space:nowrap}html body.wp-logical-battle-active.is-rune-playing .actions{grid-column:1!important;grid-row:3!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;height:54px!important;min-height:54px!important;max-height:54px!important;gap:4px!important}html body.wp-logical-battle-active.is-rune-playing .actions button{height:54px!important;min-height:54px!important;max-height:54px!important;padding:5px!important;font-size:12px!important;line-height:14px!important}@media(min-width:900px)and (min-height:600px){html body.wp-logical-battle-active.is-rune-playing #gamePanel.game-panel{grid-template-columns:minmax(520px,1.2fr) minmax(360px,.8fr)!important;grid-template-rows:54px 38px minmax(0,1fr)!important;gap:10px!important;width:100%!important;height:100%!important;padding:12px!important}html body.wp-logical-battle-active.is-rune-playing .game-panel>.hud,html body.wp-logical-battle-active.is-rune-playing .battle-status-row{grid-column:1 / -1!important}html body.wp-logical-battle-active.is-rune-playing .game-panel>.hud{grid-row:1!important}html body.wp-logical-battle-active.is-rune-playing .battle-status-row{grid-row:2!important}html body.wp-logical-battle-active.is-rune-playing .battle-shell{grid-column:1!important;grid-row:3!important;width:auto!important;height:min(100%,calc(100cqh - 130px))!important;max-width:100%!important;max-height:100%!important;aspect-ratio:17 / 20!important;align-self:center!important;justify-self:center!important}html body.wp-logical-battle-active.is-rune-playing .battle-info{grid-column:2!important;grid-row:3!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:144px minmax(0,1fr) 64px!important;gap:8px!important;width:100%!important;height:100%!important;padding:8px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster{grid-column:1!important;grid-row:1!important;width:100%!important;height:144px!important;max-height:none!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster>div{grid-template-columns:1fr!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;height:144px!important;gap:6px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster-item{min-height:0!important;padding:6px 8px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster-item img{width:40px!important;height:40px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster-item strong{font-size:13px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster-item small{font-size:11px!important;line-height:13px!important}html body.wp-logical-battle-active.is-rune-playing .selected-card{grid-column:1!important;grid-row:2!important;padding:12px!important;overflow:hidden!important;font-size:15px!important}html body.wp-logical-battle-active.is-rune-playing .selected-card>strong,html body.wp-logical-battle-active.is-rune-playing .selected-card>span{line-height:19px!important}html body.wp-logical-battle-active.is-rune-playing .selected-card .skill-help{gap:4px 8px!important;margin-top:8px!important;padding:8px 10px!important;line-height:17px!important}html body.wp-logical-battle-active.is-rune-playing .selected-card .skill-help b,html body.wp-logical-battle-active.is-rune-playing .selected-card .skill-help span{font-size:13px!important;line-height:17px!important}html body.wp-logical-battle-active.is-rune-playing .selected-card .skill-help i{font-size:12px!important;line-height:16px!important}html body.wp-logical-battle-active.is-rune-playing .actions{grid-column:1!important;grid-row:3!important;height:64px!important;min-height:64px!important;max-height:64px!important;gap:6px!important}html body.wp-logical-battle-active.is-rune-playing .actions button{height:64px!important;min-height:64px!important;max-height:64px!important;font-size:14px!important;line-height:16px!important}}#stagePanel .mission-list{grid-template-rows:190px minmax(0,1fr)}html body.wp-logical-battle-active.is-rune-playing #gamePanel.game-panel{top:52px!important;left:0!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:48px 34px minmax(0,1fr) minmax(176px,.42fr)!important;width:100%!important;height:calc(100% - 52px)!important;transform:none!important}html body.wp-logical-battle-active.is-rune-playing .overlay-panel{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}@media(min-width:560px)and (min-height:561px){html body.wp-logical-battle-active.is-rune-playing #gamePanel.game-panel{grid-template-columns:minmax(250px,.9fr) minmax(250px,1.1fr)!important;grid-template-rows:48px 34px minmax(0,1fr)!important;gap:8px!important;padding:8px!important}html body.wp-logical-battle-active.is-rune-playing .game-panel>.hud,html body.wp-logical-battle-active.is-rune-playing .battle-status-row{grid-column:1 / -1!important}html body.wp-logical-battle-active.is-rune-playing .game-panel>.hud{grid-row:1!important}html body.wp-logical-battle-active.is-rune-playing .battle-status-row{grid-row:2!important}html body.wp-logical-battle-active.is-rune-playing .battle-shell{grid-column:1!important;grid-row:3!important;width:min(100%,calc((100cqh - 106px) * 17 / 20))!important;height:auto!important;max-height:100%!important;aspect-ratio:17 / 20!important;align-self:center!important;justify-self:center!important}html body.wp-logical-battle-active.is-rune-playing .battle-info{grid-column:2!important;grid-row:3!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:144px minmax(0,1fr) 64px!important;width:100%!important;height:100%!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster{grid-column:1!important;grid-row:1!important;width:100%!important;height:144px!important;max-height:144px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster>div{grid-template-columns:1fr!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;height:144px!important}html body.wp-logical-battle-active.is-rune-playing .selected-card{grid-column:1!important;grid-row:2!important}html body.wp-logical-battle-active.is-rune-playing .actions{grid-column:1!important;grid-row:3!important;height:64px!important}}@media(max-height:560px){html body.wp-logical-battle-active.is-rune-playing #gamePanel.game-panel{top:0!important;left:52px!important;grid-template-columns:108px minmax(220px,.8fr) minmax(280px,1.2fr)!important;grid-template-rows:34px minmax(0,1fr)!important;width:calc(100% - 52px)!important;height:100%!important}html body.wp-logical-battle-active.is-rune-playing .game-panel>.hud{grid-column:1!important;grid-row:1 / 3!important}html body.wp-logical-battle-active.is-rune-playing .battle-status-row{grid-column:2 / 4!important;grid-row:1!important}html body.wp-logical-battle-active.is-rune-playing .battle-shell{grid-column:2!important;grid-row:2!important;width:min(100%,calc((100cqh - 34px) * 17 / 20))!important;height:auto!important;max-height:100%!important;aspect-ratio:17 / 20!important;align-self:center!important;justify-self:center!important}html body.wp-logical-battle-active.is-rune-playing .battle-info{grid-column:3!important;grid-row:2!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:64px minmax(0,1fr) 54px!important;width:100%!important;height:100%!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster{grid-column:1!important;grid-row:1!important;width:100%!important;height:64px!important;max-height:64px!important}html body.wp-logical-battle-active.is-rune-playing .selected-card{grid-column:1!important;grid-row:2!important}html body.wp-logical-battle-active.is-rune-playing .actions{grid-column:1!important;grid-row:3!important;height:54px!important}}body.wp-standard-stage-page .rune-app>.topbar{display:none!important}body.wp-standard-stage-page #stagePanel.wp-standard-stage-panel{position:fixed;inset:0 0 var(--wp-ad-reserve-height, 0px);display:grid;grid-template-rows:58px minmax(0,1fr) 58px;width:min(100%,920px);max-width:920px;margin:0 auto;border-radius:0;overflow:hidden}body.wp-standard-stage-page .rune-stage-workspace{overflow:hidden}body.wp-standard-stage-page .rune-stage-view[data-rune-stage-view=heroes]{grid-template-rows:auto auto minmax(0,1fr);gap:10px;padding:12px}body.wp-standard-stage-page #stagePanel .profile-grid,body.wp-standard-stage-page #stagePanel .growth-summary,body.wp-standard-stage-page #stagePanel .hero-upgrade-list{width:min(100%,720px);justify-self:center}html body.wp-logical-battle-active.is-rune-playing .rune-app{position:fixed!important;inset:auto!important;display:block!important;padding:0!important;overflow:hidden!important}html body.wp-logical-battle-active.is-rune-playing .topbar{position:absolute!important;inset:8px 8px auto!important;display:grid!important;grid-template-columns:48px minmax(0,1fr) 48px!important;width:auto!important;height:48px!important;margin:0!important;padding:0!important;transform:none!important;z-index:20}html body.wp-logical-battle-active.is-rune-playing .topbar :is(.brand,.locale,.wp-generated-main-title,.wp-shell-main-title){display:none!important}html body.wp-logical-battle-active.is-rune-playing :is(.wp-generated-main-header,.wp-generated-main-title,.wp-shell-main-title){display:none!important}html body.wp-logical-battle-active.is-rune-playing .pause-toggle{position:static!important;top:auto!important;right:auto!important;grid-column:3!important;justify-self:end!important}html body.wp-logical-battle-active.is-rune-playing #gamePanel.game-panel{position:absolute!important;inset:62px 0 0!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:46px 34px minmax(0,1fr) 244px!important;gap:8px!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:8px!important;transform:none!important;overflow:hidden!important}html body.wp-logical-battle-active.is-rune-playing .game-panel>.hud,html body.wp-logical-battle-active.is-rune-playing .battle-status-row{grid-column:1!important}html body.wp-logical-battle-active.is-rune-playing .game-panel>.hud{grid-row:1!important}html body.wp-logical-battle-active.is-rune-playing .battle-status-row{grid-row:2!important}html body.wp-logical-battle-active.is-rune-playing .battle-shell{grid-column:1!important;grid-row:3!important;width:min(100%,calc((100cqh - 334px) * 4 / 3))!important;height:auto!important;max-height:100%!important;aspect-ratio:4 / 3!important;align-self:center!important;justify-self:center!important}html body.wp-logical-battle-active.is-rune-playing .battle-info{grid-column:1!important;grid-row:4!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:64px minmax(96px,1fr) 54px!important;gap:6px!important;width:100%!important;height:244px!important;min-height:0!important;padding:6px!important;overflow:hidden!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster,html body.wp-logical-battle-active.is-rune-playing .turn-roster>div{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:1fr!important;width:100%!important;height:64px!important;min-height:0!important;max-height:64px!important;gap:5px!important;overflow:hidden!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster-title{display:none!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster-item{display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;min-height:0!important;padding:3px 5px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster-item img{width:30px!important;height:30px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster-item strong{font-size:11px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster-item small{font-size:9px!important;line-height:11px!important}html body.wp-logical-battle-active.is-rune-playing .selected-card{min-height:0!important;padding:7px 10px!important;overflow:hidden!important;font-size:12px!important}html body.wp-logical-battle-active.is-rune-playing .actions{grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;height:54px!important;min-height:54px!important;max-height:54px!important;gap:6px!important}html body.wp-logical-battle-active.is-rune-playing .actions button{height:54px!important;min-height:54px!important;max-height:54px!important;padding:4px!important;font-size:13px!important}html body.wp-logical-battle-active.is-rune-playing .battle-ad-reserve{position:fixed!important;inset:auto 0 0!important;width:100vw!important;height:var(--wp-ad-reserve-height, 0px)!important;min-height:var(--wp-ad-reserve-height, 0px)!important;transform:none!important}@media(min-width:700px)and (min-height:600px){html body.wp-logical-battle-active.is-rune-playing #gamePanel.game-panel{grid-template-columns:minmax(360px,.9fr) minmax(300px,.72fr)!important;grid-template-rows:50px 36px minmax(0,1fr)!important}html body.wp-logical-battle-active.is-rune-playing .game-panel>.hud,html body.wp-logical-battle-active.is-rune-playing .battle-status-row{grid-column:1 / -1!important}html body.wp-logical-battle-active.is-rune-playing .game-panel>.hud{grid-row:1!important}html body.wp-logical-battle-active.is-rune-playing .battle-status-row{grid-row:2!important}html body.wp-logical-battle-active.is-rune-playing .battle-shell{grid-column:1!important;grid-row:3!important;width:min(100%,calc((100cqh - 112px)*.85))!important}html body.wp-logical-battle-active.is-rune-playing .battle-info{grid-column:2!important;grid-row:3!important;height:100%!important;grid-template-rows:132px minmax(0,1fr) 60px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster,html body.wp-logical-battle-active.is-rune-playing .turn-roster>div{grid-template-columns:1fr!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;height:132px!important;max-height:132px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster-item img{width:34px!important;height:34px!important}}@media(max-width:560px){body.wp-standard-stage-page #stagePanel.wp-standard-stage-panel{width:100%}}@media(min-width:561px)and (max-width:699px)and (min-height:561px){html body.wp-logical-battle-active.is-rune-playing .battle-shell{width:min(100%,calc((100cqh - 334px) * 4 / 3))!important;aspect-ratio:4 / 3!important}}@media(min-width:700px)and (min-height:600px){html body.wp-logical-battle-active.is-rune-playing .battle-shell{width:min(100%,calc((100cqh - 112px) * 4 / 3))!important;aspect-ratio:4 / 3!important}}@media(max-height:560px){html body.wp-logical-battle-active.is-rune-playing #pausePanel.overlay-panel{padding:24px 80px!important}html body.wp-logical-battle-active.is-rune-playing #pausePanel .pause-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);align-items:center;column-gap:48px;row-gap:20px;width:min(100%,1180px);max-height:620px;padding:40px;overflow:hidden;text-align:left}html body.wp-logical-battle-active.is-rune-playing #pausePanel .pause-card h2{grid-column:1;grid-row:1;margin:0;font-size:48px;line-height:56px}html body.wp-logical-battle-active.is-rune-playing #pausePanel .pause-card p{grid-column:1;grid-row:2;margin:0;font-size:32px;line-height:42px}html body.wp-logical-battle-active.is-rune-playing #pausePanel .pause-actions{grid-column:2;grid-row:1 / 3;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,108px);gap:20px;margin:0}html body.wp-logical-battle-active.is-rune-playing #pausePanel .pause-actions button{width:100%;min-height:108px;padding:12px 20px;font-size:30px;line-height:36px}html body.wp-logical-battle-active.is-rune-playing .topbar{inset:0 0 auto!important;grid-template-columns:96px minmax(0,1fr) 96px!important;width:100%!important;height:112px!important;padding:8px!important}html body.wp-logical-battle-active.is-rune-playing .topbar :is(.back-btn,.pause-toggle){position:static!important;width:96px!important;min-width:96px!important;height:96px!important;min-height:96px!important;font-size:40px!important}html body.wp-logical-battle-active.is-rune-playing .pause-toggle{grid-column:3!important}html body.wp-logical-battle-active.is-rune-playing #gamePanel.game-panel{inset:112px 0 0!important;grid-template-columns:360px minmax(740px,1fr) 520px!important;grid-template-rows:minmax(0,1fr)!important;gap:12px!important;padding:12px!important}html body.wp-logical-battle-active.is-rune-playing .game-panel>.hud{grid-column:1!important;grid-row:1!important;height:100%!important;padding:12px!important}html body.wp-logical-battle-active.is-rune-playing .game-panel>.hud :is(span,b){font-size:24px!important;line-height:30px!important}html body.wp-logical-battle-active.is-rune-playing .battle-status-row{display:none!important}html body.wp-logical-battle-active.is-rune-playing .battle-shell{grid-column:2!important;grid-row:1!important;width:min(100%,calc(100cqh * 4 / 3))!important;height:auto!important;aspect-ratio:4 / 3!important}html body.wp-logical-battle-active.is-rune-playing .battle-info{grid-column:3!important;grid-row:1!important;grid-template-rows:140px minmax(0,1fr) 96px!important;gap:10px!important;width:100%!important;height:100%!important;padding:12px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster,html body.wp-logical-battle-active.is-rune-playing .turn-roster>div{height:140px!important;max-height:140px!important}html body.wp-logical-battle-active.is-rune-playing :is(.turn-roster-item strong,.selected-card,.skill-help,.battle-log){font-size:22px!important;line-height:28px!important}html body.wp-logical-battle-active.is-rune-playing .actions{height:96px!important;min-height:96px!important;max-height:96px!important;gap:8px!important}html body.wp-logical-battle-active.is-rune-playing .actions button{height:96px!important;min-height:96px!important;max-height:96px!important;padding:8px!important;font-size:26px!important;line-height:30px!important}}html body.wp-logical-battle-active.is-rune-playing .turn-roster{display:block!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster>div{width:100%!important;height:100%!important;max-height:100%!important}.back-btn[hidden]{display:none!important}body.wp-shell-battle-active.is-rune-playing .rune-app:not([data-wp-logical-battle-canvas]){position:fixed!important;inset:0 0 var(--wp-ad-reserve-height, 0px)!important;display:block!important;width:100vw!important;height:calc(100dvh - var(--wp-ad-reserve-height, 0px))!important;min-height:1px!important}html body.wp-logical-battle-active.is-rune-playing .selected-card{overflow-x:hidden!important;overflow-y:auto!important;scrollbar-width:thin}html body.wp-logical-battle-active.is-rune-playing .enemy-trait-guide{gap:1px;padding:3px 5px;font-size:12px!important;line-height:14px!important}html body.wp-logical-battle-active.is-rune-playing .enemy-trait-guide b{font-size:10px!important;line-height:12px!important}html body.wp-logical-battle-active.is-rune-playing .enemy-trait-guide span{line-height:14px!important}html body.wp-logical-battle-active.is-rune-playing .selected-card>strong,html body.wp-logical-battle-active.is-rune-playing .selected-card>span,html body.wp-logical-battle-active.is-rune-playing .selected-card .skill-help,html body.wp-logical-battle-active.is-rune-playing .selected-card .skill-help b,html body.wp-logical-battle-active.is-rune-playing .selected-card .skill-help span,html body.wp-logical-battle-active.is-rune-playing .selected-card .skill-help i{min-width:0!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}html body.wp-logical-battle-active.is-rune-playing .selected-card .skill-help{display:block!important}html body.wp-logical-battle-active.is-rune-playing .selected-card .skill-help>*{display:block;margin-top:4px}@media(max-height:560px)and (orientation:landscape){html body.wp-logical-battle-active.is-rune-playing .topbar :is(.back-btn,.pause-toggle){width:104px!important;min-width:104px!important;height:104px!important;min-height:104px!important}html body.wp-logical-battle-active.is-rune-playing .actions button{height:104px!important;min-height:104px!important;max-height:104px!important}}html body.wp-logical-battle-active.is-rune-playing .tactic-grid{inset:8px!important;direction:ltr;grid-template-columns:repeat(var(--board-cols, 4),minmax(0,1fr))!important;grid-template-rows:repeat(var(--board-rows, 5),minmax(0,1fr))!important;gap:4px!important}html body.wp-logical-battle-active.is-rune-playing .battle-shell{aspect-ratio:var(--board-ratio, .8)!important;width:min(100%,calc((100cqh - 268px) * var(--board-ratio, .8)))!important;border-radius:12px;box-shadow:0 12px 36px #0006,inset 0 0 0 3px #b49b54}html body.wp-logical-battle-active.is-rune-playing #gamePanel.game-panel{grid-template-rows:38px 34px minmax(0,1fr) 174px!important;gap:6px!important}html body.wp-logical-battle-active.is-rune-playing .battle-info{height:174px!important;grid-template-rows:44px minmax(0,1fr) 54px!important;padding:0!important;border:0}html body.wp-logical-battle-active.is-rune-playing .turn-roster,html body.wp-logical-battle-active.is-rune-playing .turn-roster>div{height:44px!important;max-height:44px!important}html body.wp-logical-battle-active.is-rune-playing .tile{border-radius:5px;border:1px solid #9ab79990;background:linear-gradient(145deg,#58816aa8,#193d34d9);box-shadow:inset 0 -4px #051d2955;min-height:0}html body.wp-logical-battle-active.is-rune-playing .tile:nth-child(2n){background-color:#83a08455}html body.wp-logical-battle-active.is-rune-playing .tile.is-move{background:#237f70ca;border-color:#8affe0}html body.wp-logical-battle-active.is-rune-playing .tile.is-move:after{content:"";position:absolute;inset:43%;border-radius:50%;background:#b4ffde;pointer-events:none}html body.wp-logical-battle-active.is-rune-playing .tile.is-attack{background:#906126c9;border-color:#ffd569}html body.wp-logical-battle-active.is-rune-playing .tile.is-selected{background:#727242a6;box-shadow:inset 0 0 0 3px #ffe19a}html body.wp-logical-battle-active.is-rune-playing .unit{width:96%!important;height:88%!important;max-width:none!important;object-fit:contain}html body.wp-logical-battle-active.is-rune-playing .hpbar{left:8%;right:8%;bottom:5%;height:6px}html body.wp-logical-battle-active.is-rune-playing .enemy-trait-badge,html body.wp-logical-battle-active.is-rune-playing .turn-badge{display:none}html body.wp-logical-battle-active.is-rune-playing .terrain-mark{font-size:9px;bottom:6px}html body.wp-logical-battle-active.is-rune-playing .arena-bg{opacity:.42}@media(min-width:700px)and (min-height:600px){html body.wp-logical-battle-active.is-rune-playing #gamePanel.game-panel{grid-template-columns:minmax(0,2.5fr) minmax(205px,1fr)!important;grid-template-rows:38px 34px minmax(0,1fr)!important}html body.wp-logical-battle-active.is-rune-playing .battle-shell{width:min(100%,calc((100cqh - 98px) * var(--board-ratio, .8)))!important}html body.wp-logical-battle-active.is-rune-playing .battle-info{height:100%!important;grid-template-rows:156px minmax(0,1fr) 112px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster,html body.wp-logical-battle-active.is-rune-playing .turn-roster>div{height:156px!important;max-height:156px!important}html body.wp-logical-battle-active.is-rune-playing .actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;height:112px!important;max-height:112px!important}html body.wp-logical-battle-active.is-rune-playing .selected-card{font-size:15px!important}}@media(max-height:560px)and (orientation:landscape){html body.wp-logical-battle-active.is-rune-playing #gamePanel.game-panel{grid-template-columns:minmax(0,1fr) 600px!important;grid-template-rows:92px minmax(0,1fr)!important}html body.wp-logical-battle-active.is-rune-playing .game-panel>.hud{grid-column:2!important;grid-row:1!important}html body.wp-logical-battle-active.is-rune-playing .battle-shell{grid-column:1!important;grid-row:1 / 3!important;width:min(100%,calc((100cqh - 24px) * var(--board-ratio, .8)))!important}html body.wp-logical-battle-active.is-rune-playing .battle-info{grid-column:2!important;grid-row:2!important;height:100%!important;grid-template-rows:108px minmax(0,1fr) 218px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster,html body.wp-logical-battle-active.is-rune-playing .turn-roster>div{height:108px!important;max-height:108px!important}html body.wp-logical-battle-active.is-rune-playing .actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;height:218px!important;max-height:218px!important}html body.wp-logical-battle-active.is-rune-playing .actions button{font-size:28px!important}html body.wp-logical-battle-active.is-rune-playing .tactic-grid{gap:6px!important}}html body.wp-logical-battle-active.is-rune-playing .selected-card{display:block!important}html body.wp-logical-battle-active.is-rune-playing .selected-card>*+*{margin-top:5px}html body.wp-logical-battle-active.is-rune-playing .selected-card:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}@media(max-height:560px)and (orientation:landscape){html body.wp-logical-battle-active.is-rune-playing .turn-roster-item{grid-template-columns:56px minmax(0,1fr)!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster-item img{width:56px!important;height:56px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster-item strong{font-size:26px!important}html body.wp-logical-battle-active.is-rune-playing .turn-roster-item small{font-size:24px!important;line-height:28px!important}html body.wp-logical-battle-active.is-rune-playing .selected-card,html body.wp-logical-battle-active.is-rune-playing .selected-card :is(strong,span,b,i,small),html body.wp-logical-battle-active.is-rune-playing .enemy-trait-guide{font-size:28px!important;line-height:34px!important}html body.wp-logical-battle-active.is-rune-playing .terrain-mark{font-size:24px!important}}.rune-chain-link{position:absolute;height:4px;transform-origin:left center;background:#e8ffff;box-shadow:0 0 8px 3px #65d9ff,0 0 18px #8972ff;pointer-events:none;animation:rune-chain-fade .45s ease-out forwards}@keyframes rune-chain-fade{0%{opacity:1}55%{opacity:.9}to{opacity:0}}@media(prefers-reduced-motion:reduce){.rune-chain-link{animation-duration:.12s}}html body.wp-logical-battle-active.is-rune-playing .turn-roster{padding:0!important;border:0!important}#runeBattleScene{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}html body .rune-app #runeBattleScene>#gamePanel.game-panel{position:relative!important;inset:auto!important;grid-row:2!important;width:100%!important;height:100%!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:34px 28px minmax(0,1fr) 188px!important;padding:0!important;margin:0!important;gap:6px!important;container-type:size}html body .rune-app #runeBattleScene .battle-shell{grid-column:1!important;grid-row:3!important;width:min(100%,calc((100cqh - 268px)*var(--board-ratio,.8)))!important;height:auto!important;align-self:center!important;justify-self:center!important}html body .rune-app #runeBattleScene .battle-info{grid-column:1!important;grid-row:4!important;width:100%!important;height:188px!important;grid-template-rows:48px minmax(0,1fr) 54px!important}html body .rune-app #runeBattleScene .turn-roster,html body .rune-app #runeBattleScene .turn-roster>div{height:48px!important;max-height:48px!important}html body .rune-app #runeBattleScene .actions{height:54px!important;max-height:54px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}html body .rune-app #runeBattleScene .actions button{height:54px!important;min-height:54px!important;max-height:54px!important;font-size:14px!important}html body .rune-app #runeBattleScene .battle-status-row{display:flex!important;grid-row:2!important;grid-column:1!important}html body .rune-app #runeBattleScene .game-panel>.hud{grid-row:1!important;grid-column:1!important}html body .rune-app #runeBattleScene :is(.pause-panel,.result-panel,.reward-panel){position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;transform:none!important}html body .rune-app [data-wp-frame-copy]>[hidden]{display:none!important}html body #stagePanel .mission-list{display:block!important;position:relative!important;width:100%!important;height:100%!important;padding:0!important;overflow:hidden!important}html body #runeBattleScene .damage-preview{position:absolute;inset:4px 4px auto auto;padding:2px 5px;border-radius:4px;background:#122c25;color:#ffe9a2;font:700 12px/1.2 system-ui;pointer-events:none}@media(min-width:700px){html body .rune-app #runeBattleScene>#gamePanel.game-panel{grid-template-columns:minmax(0,1fr) minmax(230px,.8fr)!important;grid-template-rows:34px 28px minmax(0,1fr)!important}html body .rune-app #runeBattleScene .battle-shell{grid-column:1!important;grid-row:1/4!important;width:min(100%,calc((100cqh - 16px)*var(--board-ratio,.8)))!important}html body .rune-app #runeBattleScene .game-panel>.hud{grid-column:2!important}html body .rune-app #runeBattleScene .battle-status-row{grid-column:2!important}html body .rune-app #runeBattleScene .battle-info{grid-column:2!important;grid-row:3!important;height:100%!important;grid-template-rows:68px minmax(0,1fr) 116px!important}html body .rune-app #runeBattleScene .turn-roster,html body .rune-app #runeBattleScene .turn-roster>div{height:68px!important;max-height:68px!important}html body .rune-app #runeBattleScene .actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;height:116px!important;max-height:116px!important}}@media(max-height:560px)and (orientation:landscape){html body .rune-app #runeBattleScene .battle-info{grid-template-rows:44px minmax(0,1fr) 98px!important}html body .rune-app #runeBattleScene .turn-roster,html body .rune-app #runeBattleScene .turn-roster>div{height:44px!important;max-height:44px!important}html body .rune-app #runeBattleScene .turn-roster-item{grid-template-columns:28px minmax(0,1fr)!important;padding:2px!important}html body .rune-app #runeBattleScene .turn-roster-item img{width:28px!important;height:28px!important}html body .rune-app #runeBattleScene .turn-roster-item :is(strong,small){font-size:12px!important;line-height:14px!important}html body .rune-app #runeBattleScene .selected-card,html body .rune-app #runeBattleScene .selected-card :is(strong,span,b,i,small),html body .rune-app #runeBattleScene .enemy-trait-guide{font-size:13px!important;line-height:16px!important}html body .rune-app #runeBattleScene .actions{height:98px!important;max-height:98px!important;gap:4px!important}html body .rune-app #runeBattleScene .actions button{height:46px!important;min-height:46px!important;max-height:46px!important}html body .rune-app #runeBattleScene .terrain-mark{font-size:9px!important}html body #stagePanel #rune-stage-view-missions{grid-template-rows:minmax(0,1fr)!important}}@media(prefers-reduced-motion:reduce){.rune-app *,.rune-app *:before,.rune-app *:after{scroll-behavior:auto!important}}html body .rune-app #runeBattleScene>.overlay-panel{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;transform:none!important}html body[data-screen=main] [data-wp-frame-scene=main] [data-wp-frame-progress]{box-sizing:border-box!important;height:42px!important;min-height:40px!important;max-height:44px!important}.campaign-help{margin:4px 0 0;color:#ffd980;font-size:12px;line-height:1.4}.tile.is-map-area{box-shadow:inset 0 0 0 3px #6cf6ef!important;background:#277e85!important}.tile.is-map-center{outline:3px solid #fff2a0;outline-offset:-6px}.map-pulse{position:absolute;pointer-events:none;border:2px solid #ffffd0;border-radius:5px;background:#ffc44699;box-shadow:inset 0 0 18px #fff4a9}.map-pulse-owl{background:#7bd8ff99;box-shadow:inset 0 0 18px #bceeff}.map-pulse-turtle{background:#69efb199;box-shadow:inset 0 0 18px #bfffda}html body .rune-app #runeBattleScene .actions .map-ready{color:#fff3ad;border-color:#eec867;background:linear-gradient(130deg,#69542b,#264f4b)}#gamePanel .reinforcement-entry{background:#654c14;color:#fff2ba;top:auto;bottom:3px}#gamePanel .tile.is-threatened{box-shadow:inset 0 0 0 3px #ff786c;background-color:#542e40}#gamePanel .tile.is-tracked{box-shadow:inset 0 0 0 3px #ffc95e;background-color:#594423}#gamePanel .tile.is-tracked .intent-cell{background:#7a520c}#gamePanel .tile.is-skill-target{outline:3px solid #b4a2ff;outline-offset:-5px}#gamePanel .intent-cell{position:absolute;inset-inline-start:3px;bottom:3px;z-index:5;padding:1px 5px;border-radius:4px;color:#fff;background:#982d31;font:800 12px/1.25 system-ui;pointer-events:none}#gamePanel .intent-badge{position:absolute;inset-inline-end:1px;top:1px;z-index:5;padding:1px 4px;border-radius:4px;color:#fff4d0;background:#37274f;font:800 12px/1.25 system-ui;pointer-events:none}#gamePanel .is-rune-marked .unit{filter:drop-shadow(0 0 5px #bc93ff)}#gamePanel .is-disrupted .intent-badge{background:#20695c;color:#d7fff0}#gamePanel .is-warded .unit{filter:drop-shadow(0 0 5px #68e9ff)}#gamePanel #skillBtn[aria-pressed=true]{box-shadow:inset 0 0 0 3px #aa89ff}#gamePanel .unit{left:2%;top:6%;transform:none}html body .rune-app #runeBattleScene .turn-roster>div{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:minmax(0,1fr)!important}html body .rune-app #runeBattleScene .turn-roster-item{height:100%;overflow:hidden;align-items:center}html body .rune-app #runeBattleScene .turn-roster-item span{min-width:0}html body .rune-app #runeBattleScene .turn-roster-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html body #runeBattleScene .damage-preview{inset:4px auto auto 4px;z-index:7}html body .rune-app #runeBattleScene #resultPanel .result-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px;width:100%}html body .rune-app #runeBattleScene #resultPanel .result-actions button{grid-column:auto!important;min-width:0;height:54px;min-height:54px;padding-inline:4px;font-size:14px;white-space:normal}@media(max-height:560px)and (orientation:landscape){html body .rune-app #runeBattleScene #resultPanel{padding:12px!important}html body .rune-app #runeBattleScene #resultPanel .overlay-card{width:min(100%,720px);height:100%;max-height:100%;min-height:0;grid-template-rows:auto auto minmax(0,1fr) 54px;gap:8px 16px;padding:12px;overflow:hidden}html body .rune-app #runeBattleScene #resultPanel h2{font-size:22px;line-height:26px}html body .rune-app #runeBattleScene #resultPanel #resultText{font-size:14px;line-height:18px}html body .rune-app #runeBattleScene #resultPanel :is(.result-progress,.result-plan){min-height:0;max-height:100%;padding:10px;font-size:14px;line-height:20px;align-self:stretch;overflow:auto}html body .rune-app #runeBattleScene #resultPanel .result-actions{height:54px}html body .rune-app #runeBattleScene #resultPanel .result-actions button{line-height:18px}html body .rune-app #runeBattleScene .battle-log{font-size:14px!important;line-height:18px!important}}#battleLog.is-sweep{color:#fff0a0;text-shadow:0 1px 6px #945c13}.special-sequence{position:absolute;inset:0;z-index:12;overflow:hidden;pointer-events:none;isolation:isolate;--special-color:#ffcc5f}.special-lion{--special-color:#ffcc5f}.special-owl{--special-color:#7fe9ff}.special-turtle{--special-color:#9effb2}.special-cut-in{position:absolute;z-index:5;inset:5% 3% auto;height:29%;min-height:84px;max-height:160px;overflow:hidden;border-block:2px solid var(--special-color);border-radius:5px;background:linear-gradient(108deg,#091c29 5%,#19313be8 62%,#10272dd9);box-shadow:0 8px 28px #0009,inset 0 0 30px #ffffff0a}.special-cut-in:after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(-24deg,transparent 0 32px,#ffffff08 33px 35px,transparent 36px 60px)}.special-portrait{position:absolute;inset-inline-start:-4%;top:-24%;width:48%;height:162%;object-fit:contain;filter:drop-shadow(0 0 12px var(--special-color))}.special-cut-copy{position:absolute;inset:0 4% 0 43%;display:flex;flex-direction:column;justify-content:center;gap:4px;color:#fff9df;text-align:start;z-index:1;min-width:0}.special-cut-copy small{font:700 clamp(10px,1.8vw,15px)/1.2 system-ui;color:var(--special-color)}.special-cut-copy strong{font:900 clamp(17px,3.4vw,30px)/1.12 system-ui;overflow-wrap:anywhere;text-shadow:0 3px 0 #081419,0 0 14px var(--special-color)}.special-cut-copy span{font:700 clamp(10px,1.9vw,14px)/1.2 system-ui;color:#d5e8e9;letter-spacing:.04em}.special-charge-flare{position:absolute;object-fit:contain;opacity:.8;mix-blend-mode:screen}.special-charge-spark,.special-shard{position:absolute;width:7px;height:7px;border:1px solid #fff7;background:var(--special-color);box-shadow:0 0 7px var(--special-color)}.special-beam{position:absolute;border-radius:50%;background:linear-gradient(to bottom,transparent,var(--special-color) 18%,#fffbe8 47%,#fff 50%,#fffbe8 53%,var(--special-color) 82%,transparent);box-shadow:0 0 16px var(--special-color);opacity:.84}.special-beam.is-vertical{background:linear-gradient(to right,transparent,var(--special-color) 18%,#fffbe8 47%,#fff 50%,#fffbe8 53%,var(--special-color) 82%,transparent)}.special-meteor{position:absolute;width:12px;border-radius:70% 70% 40% 40%;background:linear-gradient(transparent 2%,#7fe9ff88 38%,#e4ffff 82%,#fff);box-shadow:0 4px 9px #51dbf9;transform-origin:50% 100%}.special-shockwave{position:absolute;border:5px double var(--special-color);border-radius:50%;box-shadow:inset 0 0 25px #81ffa544,0 0 18px #81ffa588;background:radial-gradient(transparent 52%,#9effb21a 64%,transparent 70%)}.special-verdict{position:absolute;z-index:14;left:16%;right:16%;bottom:8%;display:grid;justify-items:center;gap:2px;padding:8px 12px;border-block:1px solid var(--special-color,#ffcc5f);border-radius:5px;background:#0b242cf0;color:var(--special-color,#ffcc5f);box-shadow:0 5px 18px #0008;text-align:center;pointer-events:none}.special-verdict strong{font:900 clamp(18px,3.8vw,30px)/1.15 system-ui;text-shadow:0 2px 0 #05161a}.special-verdict small{font:600 clamp(10px,1.6vw,14px)/1.15 system-ui;color:#fff2d2}.special-verdict.is-multi{border-block-width:2px;background:linear-gradient(90deg,#102d36f5,#324030f5,#102d36f5)}@media(prefers-reduced-motion:reduce){.special-verdict{text-shadow:none;box-shadow:none}}html body .rune-app #runeBattleScene>#gamePanel.game-panel{background:radial-gradient(ellipse at 35% 30%,#243e55,#101c30 70%)!important;grid-template-rows:58px 30px minmax(0,1fr) 222px!important;gap:6px!important;padding:8px!important;border:0!important;border-radius:0!important}html body .rune-app #runeBattleScene .battle-shell{width:min(100%,calc(100cqh - 336px))!important;aspect-ratio:1!important;background:radial-gradient(ellipse at 50% 70%,#46859b35,transparent 68%)!important;border:0!important;box-shadow:none!important;border-radius:14px!important;overflow:visible!important}html body .rune-app #runeBattleScene .arena-bg{opacity:.12!important;mix-blend-mode:screen}.rune-world{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}html body .rune-app #runeBattleScene .has-rune-world .arena-bg{display:none!important}html body .rune-app #runeBattleScene .has-rune-world #grid{display:block!important;inset:0!important;padding:0!important;gap:0!important}html body .rune-app #runeBattleScene .has-rune-world .tile{position:absolute!important;min-width:0!important;min-height:0!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;border:1px solid transparent!important;background:transparent!important;border-radius:3px!important;box-shadow:none!important;overflow:visible!important}html body .rune-app #runeBattleScene .has-rune-world .tile.is-move{border-color:#94d0da70!important;background:#83d7e10b!important}html body .rune-app #runeBattleScene .has-rune-world .tile.is-selected{border-color:#bdfff0!important;box-shadow:inset 0 0 12px #5cd9e15c!important}html body .rune-app #runeBattleScene .has-rune-world .tile.is-map-area{border-color:#ffe5a1!important;background:#ffca5629!important;box-shadow:inset 0 0 12px #ffc44c4a!important}html body .rune-app #runeBattleScene .has-rune-world .tile.is-threatened{border-color:#ff8d86!important}html body .rune-app #runeBattleScene .has-rune-world .tile.is-tracked{border-color:#ffd57d!important}html body .rune-app #runeBattleScene .has-rune-world .tile:focus-visible{outline:3px solid #fff!important;outline-offset:1px!important}html body .rune-app #runeBattleScene .has-rune-world .unit{width:112%!important;height:134%!important;max-width:none!important;left:-6%!important;top:-35%!important;object-fit:contain!important;filter:drop-shadow(0 5px 3px #0009)}html body .rune-app #runeBattleScene .has-rune-world .hero,html body .rune-app #runeBattleScene .has-rune-world .enemy{overflow:visible!important}html body .rune-app #runeBattleScene .has-rune-world .hpbar{height:4px!important;bottom:1px!important;left:12%!important;width:76%!important;border:1px solid #0a172a!important}html body .rune-app #runeBattleScene .terrain-mark{font-size:9px!important;line-height:11px!important;bottom:0!important;color:#d2e8ee!important;background:#102032c9!important}.relay-marker{position:absolute;inset:3px auto auto 3px;color:#ffcf69;font:900 16px/1 system-ui;pointer-events:none}.relay-captured .relay-marker{color:#80f5ca}.captain-badge{position:absolute;left:2px;top:-6px;z-index:7;border:1px solid #ffdc8d;border-radius:4px;background:#50382a;color:#ffdb77;font:900 14px/18px system-ui;padding:0 3px;pointer-events:none}#gamePanel .is-guard-captain .unit{filter:drop-shadow(0 0 5px #ffd076)!important}.world-fallback{position:absolute;bottom:0;left:0;right:0;text-align:center;color:#e2eaf4;background:#132338;font:11px/20px system-ui}.world-fallback[hidden]{display:none}html body .rune-app #runeBattleScene .game-panel>.hud{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important;padding:6px 10px!important;border:1px solid #60778b59!important;background:#0c1b2cbf!important;border-radius:10px!important}html body .rune-app #runeBattleScene .hud>div{background:none!important;border:0!important;padding:0!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;grid-template-columns:minmax(0,1fr)!important;justify-content:start!important;gap:2px!important}html body .rune-app #runeBattleScene .hud>div:not(.command-strip){text-align:end;max-width:140px}html body .rune-app #runeBattleScene .hud b{font-size:12px!important;line-height:15px!important;color:#dceaf7!important}html body .rune-app #runeBattleScene .hud span{font-size:10px!important;line-height:13px!important}html body .rune-app #runeBattleScene .command-strip{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:5px!important;text-align:start!important}.command-strip>strong{font:700 12px/15px system-ui;color:#eaf4ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}html body .rune-app #runeBattleScene .command-resonance{display:flex;align-items:center;gap:6px}.command-resonance>i{width:42px;flex-shrink:0;height:5px;border-radius:4px;background:linear-gradient(90deg,#a997ff var(--charge),#3a3d55 var(--charge))}html body .rune-app #runeBattleScene .command-resonance b{font-size:10px!important;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#c5b7ff!important}html body .rune-app #runeBattleScene .command-resonance.is-full b{color:#ffe19a!important}html body .rune-app #runeBattleScene .battle-status-row{padding:0 4px!important;color:#c1d7e9!important;overflow:auto!important}html body .rune-app #runeBattleScene #battleLog{font:12px/15px system-ui!important;color:#c1d7e9!important;max-height:30px!important;overflow:auto!important}html body .rune-app #runeBattleScene .battle-info{height:222px!important;grid-template-rows:70px minmax(0,1fr) 54px!important;gap:6px!important;padding:0!important;background:none!important;border:0!important}html body .rune-app #runeBattleScene .turn-roster,html body .rune-app #runeBattleScene .turn-roster>div{height:70px!important;max-height:70px!important;gap:5px!important}html body .rune-app #runeBattleScene .turn-roster-item{display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;gap:4px!important;padding:6px 4px!important;border:1px solid #536880!important;border-radius:9px!important;background:linear-gradient(145deg,#2a3c52,#17263a)!important;color:#e9f4ff!important}html body .rune-app #runeBattleScene .turn-roster-item.is-selected{border-color:#8af0e0!important;background:linear-gradient(145deg,#2b555b,#193748)!important;box-shadow:inset 0 -2px #7cf4dd!important}html body .rune-app #runeBattleScene .turn-roster-item.is-done{opacity:.55!important}html body .rune-app #runeBattleScene .turn-roster-item img{width:36px!important;height:48px!important;object-fit:contain!important}html body .rune-app #runeBattleScene .turn-roster-item strong{font-size:11px!important;line-height:14px!important}html body .rune-app #runeBattleScene .turn-roster-item small{font-size:11px!important;line-height:14px!important;color:#d9ebee!important}.roster-health{display:block;height:3px;margin:3px 0;background:#091b2b;border-radius:3px}.roster-health>i{display:block;height:100%;background:#7fe3bd;border-radius:3px}.roster-energy{display:flex;gap:2px;height:4px;margin-top:4px}.roster-energy>i{flex:1;background:#475160;border-radius:1px}.roster-energy>i.charged{background:#ffd980;box-shadow:0 0 3px #edbf6766}html body .rune-app #runeBattleScene .selected-card{display:block!important;padding:8px 10px!important;border:1px solid #516b824d!important;border-radius:9px!important;background:#101f32bd!important;overflow:auto!important;color:#c7d9e8!important}html body .rune-app #runeBattleScene .selected-card :is(strong,span,b,i,small,p,summary){font:12px/16px system-ui!important;letter-spacing:0!important}.command-selected{display:flex;justify-content:space-between;gap:10px}html body .rune-app #runeBattleScene .command-selected strong{font-weight:750!important;color:#ffe4a6!important}.command-selected>span{white-space:nowrap;color:#98d9cf!important}.command-preview{margin:5px 0!important;color:#ecf3ff!important}.rune-app :is(button,h1,h2,h3,p,small,strong,span,em,summary){overflow-wrap:anywhere}@layer wp-frame-contract{html body .rune-app #menuPanel [data-wp-frame-title]{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:clamp(16px,4.1vw,20px)!important;line-height:1.15!important}}html body .rune-app #runeBattleScene .turn-roster-item{grid-template-columns:28px minmax(0,1fr)!important}html body .rune-app #runeBattleScene .turn-roster-item img{width:28px!important}html body .rune-app #runeBattleScene .turn-roster-item strong{white-space:normal!important;text-overflow:clip!important;overflow:visible!important}html body .rune-app #runeBattleScene .command-selected{flex-wrap:wrap;gap:2px 8px}html body .rune-app #runeBattleScene .command-strip>strong,html body .rune-app #runeBattleScene .command-resonance b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}html body .rune-app #runeBattleScene .command-resonance>i{width:24px}.command-rules summary{cursor:pointer;color:#91bed1!important;min-height:24px}.command-rules .enemy-trait-guide{margin-top:8px}.command-rules .skill-help{display:block!important;margin-top:8px!important}html body .rune-app #runeBattleScene .actions button{border:1px solid #69849a!important;border-radius:9px!important;background:linear-gradient(#30465d,#1e3047)!important;color:#eaf6ff!important;box-shadow:0 2px #081423!important;font-weight:750!important}html body .rune-app #runeBattleScene .actions button:disabled{opacity:.38!important}html body .rune-app #runeBattleScene .actions .map-ready{border-color:#edc97a!important;background:linear-gradient(#826738,#4b4233)!important;color:#fff0c0!important}html body .rune-app #runeBattleScene .actions .is-overdrive{border-color:#cfb8ff!important;background:linear-gradient(#73558d,#453b62)!important;box-shadow:inset 0 0 12px #ccacff33,0 0 8px #b28be633!important}.special-sequence.is-overdrive .special-cut-in{border-color:#e9bfff;box-shadow:0 0 28px #ce9bff66}@media(min-width:700px){html body .rune-app #runeBattleScene>#gamePanel.game-panel{grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr)!important;grid-template-rows:64px 36px minmax(0,1fr)!important;padding:12px!important;gap:10px!important}html body .rune-app #runeBattleScene .battle-shell{grid-row:1/4!important;width:min(100%,calc(100cqh - 24px))!important}html body .rune-app #runeBattleScene .battle-info{height:100%!important;grid-template-rows:80px minmax(0,1fr) 116px!important}html body .rune-app #runeBattleScene .turn-roster,html body .rune-app #runeBattleScene .turn-roster>div{height:80px!important;max-height:80px!important}html body .rune-app #runeBattleScene .turn-roster-item{grid-template-columns:1fr!important;grid-template-rows:32px 1fr!important;gap:0!important;padding:4px 6px!important}html body .rune-app #runeBattleScene .turn-roster-item img{width:36px!important;height:32px!important;justify-self:center}html body .rune-app #runeBattleScene .turn-roster-item strong{display:none!important}html body .rune-app #runeBattleScene .turn-roster-item small{text-align:center}}@media(max-height:560px)and (orientation:landscape){html body .rune-app #runeBattleScene>#gamePanel.game-panel{grid-template-rows:50px 24px minmax(0,1fr)!important;padding:4px!important;gap:4px!important;grid-template-columns:minmax(0,1fr) minmax(300px,1.1fr)!important}html body .rune-app #runeBattleScene .battle-info{grid-template-rows:58px minmax(0,1fr) 98px!important;gap:4px!important}html body .rune-app #runeBattleScene .turn-roster,html body .rune-app #runeBattleScene .turn-roster>div{height:58px!important;max-height:58px!important}html body .rune-app #runeBattleScene .turn-roster-item{grid-template-columns:28px minmax(0,1fr)!important;grid-template-rows:1fr!important;gap:3px!important}html body .rune-app #runeBattleScene .turn-roster-item img{width:28px!important;height:36px!important}html body .rune-app #runeBattleScene .turn-roster-item strong{display:block!important}html body .rune-app #runeBattleScene .selected-card{padding:4px 8px!important}html body .rune-app #runeBattleScene .command-rules summary{min-height:20px}}html body .rune-app #runeBattleScene .battle-shell{width:100%!important;height:100%!important;max-height:100%!important;min-height:0!important;aspect-ratio:auto!important;align-self:stretch!important;justify-self:stretch!important;overflow:hidden!important;border:1px solid #66878e!important;border-radius:10px!important;background:#182d3b!important;box-shadow:inset 0 0 0 3px #101d2b!important}html body .rune-app #runeBattleScene .arena-bg{display:none!important}html body .rune-app #runeBattleScene #grid{position:absolute!important;inset:5px!important;display:grid!important;padding:0!important;gap:3px!important;grid-template-columns:repeat(var(--board-cols,6),minmax(0,1fr))!important;grid-template-rows:repeat(var(--board-rows,6),minmax(0,1fr))!important;transform:none!important;direction:ltr}html body .rune-app #runeBattleScene .tile{position:relative!important;inset:auto!important;width:auto!important;height:auto!important;min-height:0!important;min-width:0!important;margin:0!important;padding:0!important;aspect-ratio:auto!important;overflow:hidden!important;border:1px solid #48656e!important;border-radius:5px!important;background:#29434f!important;box-shadow:inset 0 0 0 3px #ffffff03!important}html body .rune-app #runeBattleScene .tile:nth-child(12n+2),html body .rune-app #runeBattleScene .tile:nth-child(12n+4),html body .rune-app #runeBattleScene .tile:nth-child(12n+6),html body .rune-app #runeBattleScene .tile:nth-child(12n+7),html body .rune-app #runeBattleScene .tile:nth-child(12n+9),html body .rune-app #runeBattleScene .tile:nth-child(12n+11){background:#304c56!important}html body .rune-app #runeBattleScene .tile[class*=has-terrain-]:before{display:none!important}.ground-art{display:block;background:center/contain no-repeat;pointer-events:none}.tile>.ground-art{position:absolute;inset:8%;opacity:.92}.ground-rubble{background-image:url(art/ground-rubble.svg)}.ground-snare{background-image:url(art/ground-snare.svg)}.ground-tide{background-image:url(art/ground-tide.svg);transform:rotate(var(--flow-angle,0deg))}.ground-burn{background-image:url(art/ground-burn.svg)}.ground-cooling{background-image:url(art/ground-cooling.svg)}.ground-orbit{background-image:url(art/ground-orbit.svg)}.ground-seal{background-image:url(art/ground-seal.svg)}.ground-relay{background-image:url(art/ground-relay.svg)}html body .rune-app #runeBattleScene .tile.has-terrain-rubble{background:#323f4d!important}html body .rune-app #runeBattleScene .tile.has-terrain-snare{background:#294d45!important;border-color:#688876!important}html body .rune-app #runeBattleScene .tile.has-terrain-tide{background:#244b64!important;border-color:#6196ac!important}html body .rune-app #runeBattleScene .tile.has-terrain-burn{background:#643e38!important;border-color:#ae7a58!important}html body .rune-app #runeBattleScene .tile.has-terrain-cooling{background:#2b5961!important;border-color:#75b1b4!important}html body .rune-app #runeBattleScene .tile.has-terrain-orbit,html body .rune-app #runeBattleScene .tile.has-terrain-seal{background:#4a405d!important;border-color:#9680b2!important}html body .rune-app #runeBattleScene .tile.relay-tile{border-color:#d1ae6a!important;background:#514e3e!important}.tile:has(.hero,.enemy)>.ground-art{opacity:.3}.ground-spent>.ground-art,.relay-captured>.ground-art,.ground-art.is-used{opacity:.28;filter:grayscale(1)}html body .rune-app #runeBattleScene .tile.is-move{border-color:#77bfb2!important;box-shadow:inset 0 0 0 1px #77bfb250!important}html body .rune-app #runeBattleScene .tile.is-move:after{inset:auto auto 5px 5px!important;width:5px;height:5px;background:#9ce8ce!important}html body .rune-app #runeBattleScene .tile.is-selected{border-color:#c0ffee!important;box-shadow:inset 0 0 0 2px #8cddc9!important}html body .rune-app #runeBattleScene .tile.is-threatened{border-color:#eb9d89!important}html body .rune-app #runeBattleScene .tile.is-map-area{background:#756345!important;border-color:#ffdb8d!important;box-shadow:inset 0 0 0 2px #ffdb8d66!important}html body .rune-app #runeBattleScene .tile.is-map-center{outline:2px solid #ffedb5!important;outline-offset:-5px!important}html body .rune-app #runeBattleScene .tile:focus-visible{outline:3px solid #fff!important;outline-offset:-4px!important}html body .rune-app #runeBattleScene .unit{left:3%!important;top:2%!important;width:94%!important;height:88%!important;max-width:none!important;transform:none!important;object-fit:contain!important;filter:drop-shadow(0 3px 2px #10202e80)}html body .rune-app #runeBattleScene .hpbar{left:12%!important;right:auto!important;width:64%!important;bottom:5px!important;height:5px!important;border:1px solid #182d3b!important}html body .rune-app #runeBattleScene .terrain-mark{inset:auto 2px 2px auto!important;width:16px!important;height:16px!important;line-height:16px!important;font-size:13px!important;font-weight:600!important;border-radius:50%;color:#e5f3f1!important;background:#182d3bcc!important}.relay-marker{font-size:12px;inset:3px auto auto 3px}.ground-dialog{box-sizing:border-box;width:min(430px,calc(100vw - 24px));max-height:calc(100dvh - 32px);margin:auto;padding:20px;border:1px solid #8cb5b8;border-radius:16px;background:#162b3b;color:#edf5f1;box-shadow:0 20px 80px #0009;overflow:auto}.ground-dialog::backdrop{background:#06131bbd}.ground-dialog h2{font:800 20px/1.3 system-ui;margin:0 0 18px}.ground-effect{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:14px;margin:0 0 18px}.ground-effect>.ground-art{width:64px;height:64px;border:1px solid #67828e;border-radius:12px;background-color:#2a4352}.ground-dialog h3{font:750 16px/1.4 system-ui;margin:0 0 4px;color:#ffe6b1}.ground-dialog p{font:500 14px/1.6 system-ui;margin:0;overflow-wrap:anywhere}.ground-actions{display:flex;flex-wrap:wrap;gap:10px}.ground-actions button{flex:1;min-width:90px;min-height:46px;height:auto;padding:10px 14px;border:1px solid #829da8;border-radius:9px;background:#263f51;color:#edf5f1;font:700 14px/1.4 system-ui;white-space:normal;overflow-wrap:anywhere;cursor:pointer}.ground-actions .ground-confirm{color:#112d31;background:#a6dbc8;border-color:#d0f6e5}.ground-actions button:focus-visible{outline:3px solid #ffe6b1;outline-offset:3px}html body .rune-app #runeBattleScene .aim-ground-help{color:#b2dfdb!important;font-size:11px!important;margin:4px 0!important}.special-cut-in{height:36%;min-height:112px;max-height:184px;inset:8% 3% auto;border-radius:8px}.special-cut-copy{gap:6px}@media(max-height:560px)and (orientation:landscape){.special-cut-in{min-height:104px;height:40%}.ground-dialog{padding:16px}}@media(max-height:560px)and (orientation:landscape){html body .rune-app #runeBattleScene .battle-info{grid-template-rows:58px minmax(0,1fr) 50px!important}html body .rune-app #runeBattleScene .actions{height:50px!important;max-height:50px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:50px!important}html body .rune-app #runeBattleScene .actions button{height:50px!important;min-height:50px!important;max-height:50px!important;font-size:12px!important;line-height:15px!important;padding:4px!important}}html body .rune-app #runeBattleScene .captain-badge{top:auto;bottom:13px;left:3px;font-size:11px;line-height:14px}html body .rune-app #runeBattleScene .intent-cell{top:2px;bottom:auto}#resultPanel.is-save-failed .result-squad-art{display:none}
