/* Viewport composition, scoped to battle so the lobby stays independent. */
body:has(.battle-screen){overflow:hidden;background:#4b302b}
/* Keep labels close to the artwork and all card corners inside the screen. */
.battle-screen.battle-view{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;padding:0;margin:0;--dock-height:clamp(145px,29dvh,235px);--card-height:calc(var(--dock-height) - 28px);--card-width:clamp(90px,10.3vw,145px)}
.battle-screen .card-stage{position:absolute;inset:0;border:0;border-radius:0;overflow:hidden;box-shadow:none;background:#dca45e}
.battle-screen .card-stage .battlefield{position:absolute;inset:0;height:100%;border:0;border-radius:0;background:url('assets/battlefield.webp') center/cover;box-shadow:none}
.battle-screen .battlefield:before{content:'';position:absolute;inset:0;background:linear-gradient(#34212548,transparent 22%,transparent 64%,#593c3055);pointer-events:none}
.battle-screen .battle-hud{position:absolute;top:10px;left:14px;right:14px;display:flex;align-items:flex-start;justify-content:center;gap:12px;z-index:30}
.battle-screen .arena-menu{width:34px;height:34px;border:2px solid #6b3d25;border-radius:11px;color:#fff0c6;background:linear-gradient(#bb784b,#855132);box-shadow:inset 0 2px #e5b17a,0 3px #633a27;font-size:21px;font-weight:900;flex-shrink:0}
.battle-screen .combatant-plate{display:flex;align-items:center;gap:9px;width:clamp(145px,22vw,280px);height:47px;padding:5px 13px;border:2px solid #73432d;border-radius:8px 8px 20px 20px;box-shadow:inset 0 2px #dfae79,0 4px #59382775;background:linear-gradient(#c2844e,#98532e);color:#fff1d1;text-shadow:0 2px #673b2a}
.battle-screen .combatant-plate div{display:flex;flex:1;flex-direction:column;gap:2px}.battle-screen .combatant-plate b{font-size:12px;letter-spacing:1px}.battle-screen .combatant-plate small{font-size:9px;opacity:.85}.battle-screen .foe-plate{text-align:right;background:linear-gradient(#a66b6d,#744259);border-color:#633b4d;box-shadow:inset 0 2px #d59c90,0 4px #50303c75}
.battle-screen .plate-icon{display:grid;place-items:center;width:37px;height:37px;background:radial-gradient(circle at 30% 20%,#bdf8ff,#2d91b5);border:3px solid #f7cc7b;border-radius:50%;color:white;font-size:25px;box-shadow:0 2px #673e32}.battle-screen .foe-plate .plate-icon{background:radial-gradient(circle at 30% 20%,#edc9ff,#8e56b6)}
.battle-screen .round-pill{background:linear-gradient(#54454c,#302d3b);color:#fff4d6;border:2px solid #d4a56b;box-shadow:0 3px #563c2c;border-radius:0 0 17px 17px;padding:12px 9px;min-width:85px;text-align:center;font-size:13px;white-space:nowrap}
.battle-screen .arena-top{position:absolute;top:72px;left:25%;right:25%;padding:0;display:flex;justify-content:center;z-index:10}.battle-screen .phase{background:#392c36cf;color:#fff3cc;border:1px solid #e5be7955;font-size:11px;padding:6px 16px;box-shadow:0 3px 9px #392a2422}
.battle-screen .battle-toolbar{position:absolute;top:70px;right:14px;display:flex;flex-direction:column;gap:5px;z-index:32;margin:0}.battle-screen .battle-toolbar button{font-size:9px;background:#67442bc9;color:#fff4d6;border:1px solid #e0a46c;border-radius:7px;padding:4px 7px;min-height:25px}
.battle-screen .card-stage .teams{position:absolute;inset:25% 7% calc(var(--dock-height) + 36px);gap:7%;align-items:stretch}
.battle-screen .card-stage .battlefield .side{width:46.5%;height:100%}
.battle-screen .card-stage .battlefield .side .unit{width:33%;padding:0 2px;top:auto;bottom:0}
.battle-screen .card-stage .battlefield .allies .unit:nth-child(1){right:-3%;left:auto;bottom:6px;top:auto}.battle-screen .card-stage .battlefield .allies .unit:nth-child(2){left:0;right:auto;bottom:19px;top:auto}.battle-screen .card-stage .battlefield .allies .unit:nth-child(3){left:33%;right:auto;bottom:0;top:auto}
.battle-screen .card-stage .battlefield .enemies .unit:nth-child(1){left:-3%;right:auto;bottom:6px;top:auto}.battle-screen .card-stage .battlefield .enemies .unit:nth-child(2){right:0;left:auto;bottom:19px;top:auto}.battle-screen .card-stage .battlefield .enemies .unit:nth-child(3){right:33%;left:auto;bottom:0;top:auto}
.battle-screen .card-stage .battle-body{height:clamp(62px,12vw,155px)}
.battle-screen .card-stage .unit-label{font-size:9px;padding:2px 4px;background:#fff5d1d9}.battle-screen .card-stage .unit-label span{font-size:8px}.battle-screen .hp-track{height:5px;margin:3px 5px}.battle-screen .card-stage .status-line{font-size:7px;line-height:11px;min-height:11px;background:#f9e4a5a6}
.battle-screen .versus{display:none}.battle-screen .card-stage .arena-tip{position:absolute;left:28%;right:28%;bottom:calc(var(--dock-height) + 8px);font-size:9px;padding:3px;background:#fff1c36b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.battle-screen .plan-wrap{position:absolute;left:50%;top:109px;transform:translateX(-50%);z-index:20;width:min(430px,60vw);text-align:center}.battle-screen .plan-wrap>b{font-size:8px;letter-spacing:1px;margin:0 0 3px;color:#fff5d0;text-shadow:0 1px 3px #3c2b29}
.battle-screen #plan{display:flex;flex-wrap:nowrap;justify-content:center;gap:4px;min-height:30px}.battle-screen .empty-plan{color:#fff4d5;font-size:9px;background:#65432b55;padding:4px 8px;border-radius:8px;align-self:flex-start}
.battle-screen #plan .queued-thumbnail{position:relative;flex:0 1 43px;width:43px;height:49px;min-width:24px;padding:0;border:2px solid #e0ae6a;border-radius:7px;background:linear-gradient(var(--hero-color),#724e3c);overflow:visible;box-shadow:0 3px #64462e;cursor:pointer}
.battle-screen #plan .mini-art{position:absolute;inset:4px 0 0;overflow:hidden}.battle-screen #plan .mini-art .sprite{position:absolute;width:110%;bottom:0;left:-5%;height:auto;aspect-ratio:var(--ratio)}
.battle-screen #plan .mini-title,.battle-screen #plan .mini-values,.battle-screen #plan .mini-owner,.battle-screen #plan .mini-energy{display:none}.battle-screen #plan .queue-order{position:absolute;left:-6px;top:-5px;width:17px;height:17px;line-height:15px;border:1px solid #fff6d1;border-radius:50%;background:#3b8998;color:white;font-size:10px;z-index:2}.battle-screen #plan .mini-remove{position:absolute;right:-4px;top:-6px;font-size:12px;color:white;background:#9b5145;border-radius:50%;width:14px;height:14px;z-index:3;line-height:12px}
.battle-screen .card-dock{position:absolute;left:0;right:0;bottom:0;height:var(--dock-height);padding:0;background:linear-gradient(#ddab5b88,#85502bde);border-top:3px solid #f3cc7f;box-shadow:0 -5px #8c5b3770,0 -12px 40px #67472a38;isolation:auto;z-index:28}
.battle-screen .card-dock:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(6deg,transparent 0 32px,#f4c48020 33px 35px);z-index:-1}
.battle-screen .card-dock .hand-heading{position:absolute;top:4px;left:15%;right:15%;padding:0;display:flex;justify-content:space-between;align-items:center;gap:10px;color:#fff4cd;font-size:8px;text-shadow:0 1px #77492b;z-index:1}.battle-screen .card-dock .hand-heading h3{margin:0;font-size:9px}.battle-screen .card-dock #hand-count{font-size:8px}.battle-screen .card-dock #target-hint{font-size:8px;display:block}
.battle-screen .card-dock .hand{position:absolute;left:14%;right:14%;bottom:0;height:calc(var(--dock-height) - 19px);min-height:0;padding:12px 8px 3px;margin:0;gap:0;overflow:visible;display:flex;justify-content:center;align-items:flex-end}
.battle-screen .card-dock .ability,.battle-screen .card-dock .hand[data-crowded='true'] .ability{flex:0 0 var(--card-width);width:var(--card-width);height:var(--card-height);margin:0 calc(var(--card-width) * -.13);transform:translateY(calc(var(--fan-drop) * .3)) rotate(var(--fan-angle));transform-origin:50% 100%;border:0}
.battle-screen .card-dock .hand[data-crowded='true'] .ability{margin:0 calc(var(--card-width) * -.24)}
.battle-screen .card-dock .card-face{border-width:3px;border-bottom-width:4px}.battle-screen .card-dock .card-art{flex:0 0 37%;height:auto}.battle-screen .card-dock .ability h4{font-size:clamp(8px,.85vw,11px);min-height:23px;padding:3px;line-height:1.1}.battle-screen .card-dock .card-class{font-size:7px;height:12px;padding:1px}.battle-screen .card-dock .card-values{padding:2px 4px 0}.battle-screen .card-dock .card-values span{font-size:11px;padding:0 3px}.battle-screen .card-dock .ability p{font-size:clamp(7px,.7vw,9px);line-height:1.2;padding:3px 5px;min-height:0}.battle-screen .card-dock .ability small{font-size:7px;padding:2px}.battle-screen .card-dock .card-energy{width:29px;height:29px;font-size:18px;top:-9px;left:-9px}
.battle-screen .card-dock .ability.queued-card{transform:translateY(-11px) rotate(var(--fan-angle))}.battle-screen .card-dock .ability:hover,.battle-screen .card-dock .ability:focus-visible,.battle-screen .card-dock .ability.queued-card:hover{transform:translateY(-30px) rotate(0) scale(1.27);z-index:100}
.battle-screen .energy{position:absolute;left:20px;top:20px;width:75px;height:75px;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:1px;border:5px solid #d4ad5a;border-radius:50%;background:radial-gradient(circle at 35% 23%,#5cdbff,#157bcf 50%,#263e96 80%);box-shadow:inset 0 0 0 3px #adf0ff,0 5px #715137,0 0 0 3px #85623e;color:white;text-shadow:0 2px #1d3e8c}
.battle-screen .energy .energy-icon{display:none}.battle-screen .energy b{font-size:19px;line-height:1.1}.battle-screen .energy small{font-size:8px;letter-spacing:1px;color:#bceaff}
.battle-screen .turn-controls{position:absolute;right:17px;top:14px;width:82px;display:flex;align-items:center;flex-direction:column;gap:19px}.battle-screen .commit{width:77px;height:77px;padding:0;border:3px solid #ffb5a8;border-radius:50%;background:radial-gradient(circle at 30% 20%,#ff8e9d,#ea3e68 55%,#ba254c);box-shadow:0 5px #822b36,inset 0 2px #ffc1b0,0 0 0 2px #9c493b;color:#fff8dd;font-size:17px;line-height:1;font-weight:900;text-shadow:0 2px #aa3552;transform:none}.battle-screen .commit:hover:not(:disabled){filter:brightness(1.12);transform:translateY(-2px)}.battle-screen .commit:disabled{opacity:.6;filter:saturate(.5);cursor:wait}
.battle-screen .deck-counters{display:flex;gap:8px;color:#fff4cf;text-shadow:0 2px #583b28;font-size:15px}.battle-screen .deck-counters b{font-size:13px}
.battle-screen .card-dock .selection-notice{position:absolute;left:50%;bottom:calc(100% + 10px);transform:translateX(-50%);max-width:68%;width:max-content;min-height:0;padding:5px 14px;gap:7px;margin:0;border:1px solid #e7bd6f;border-radius:12px;background:#67432ad9;box-shadow:0 3px #4f372653;color:#fff4d6;pointer-events:none;z-index:30}
.battle-screen .selection-notice strong{font-size:11px;letter-spacing:.8px}.battle-screen .selection-notice #selection-detail{font-size:9px;max-width:580px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#f5ddb7}.battle-screen .selection-notice .selection-icon{font-size:21px;color:#ffd76d}.battle-screen .arena-tip{visibility:hidden}
.battle-screen #log-panel{position:absolute;top:110px;right:14px;bottom:calc(var(--dock-height) + 20px);width:min(340px,85%);overflow-y:auto;padding:14px;z-index:50;border:2px solid #bd8a56;border-radius:12px;background:#fff2d4ed;box-shadow:0 9px 25px #392e3d66;font-size:11px}.battle-screen #log-panel[hidden]{display:none}
@media(max-height:650px) and (min-width:601px){.battle-screen.battle-view{--dock-height:clamp(135px,29dvh,185px);--card-width:clamp(85px,10vw,125px)}.battle-screen .battle-hud{top:6px}.battle-screen .combatant-plate{height:39px}.battle-screen .round-pill{font-size:11px;padding:9px}.battle-screen .arena-top{top:56px}.battle-screen .plan-wrap{top:85px}.battle-screen .battle-toolbar{top:56px}.battle-screen .card-stage .teams{inset:23% 6% calc(var(--dock-height) + 29px)}.battle-screen .card-stage .battle-body{height:clamp(60px,10vw,110px)}.battle-screen .card-dock .ability h4{font-size:8px;min-height:20px}.battle-screen .card-dock .card-class{font-size:6px;height:10px}.battle-screen .card-dock .card-values span{font-size:9px}.battle-screen .card-dock .ability p{font-size:7px;padding:2px 4px}.battle-screen .card-dock .ability small{font-size:6px;padding:1px}.battle-screen .energy{width:62px;height:62px;left:15px;top:18px}.battle-screen .energy b{font-size:15px}.battle-screen .commit{width:64px;height:64px;font-size:15px}.battle-screen .turn-controls{right:12px;width:68px;top:14px}.battle-screen .card-dock .card-energy{width:25px;height:25px;font-size:16px}}
@media(max-width:600px){.battle-screen.battle-view{--dock-height:clamp(160px,26dvh,220px);--card-width:105px}.battle-screen .battle-hud{top:8px;left:7px;right:7px;gap:4px}.battle-screen .combatant-plate{width:calc((100vw - 125px)/2);padding:5px;height:44px;gap:4px}.battle-screen .combatant-plate b{font-size:8px;letter-spacing:.3px}.battle-screen .combatant-plate small{font-size:7px}.battle-screen .plate-icon{width:24px;height:24px;font-size:17px;border-width:2px}.battle-screen .arena-menu{width:24px;height:28px;font-size:17px}.battle-screen .round-pill{min-width:55px;font-size:9px;padding:13px 4px}.battle-screen .arena-top{top:67px;left:15%;right:15%}.battle-screen .battle-toolbar{top:65px;right:7px}.battle-screen .battle-toolbar button{font-size:7px;padding:3px;min-height:22px}.battle-screen .plan-wrap{top:105px;width:60%}.battle-screen .plan-wrap>b{font-size:7px}.battle-screen .card-stage .teams{inset:30% 3% calc(var(--dock-height) + 52px);gap:5%}.battle-screen .card-stage .battlefield .side .unit{width:43%}.battle-screen .card-stage .battlefield .allies .unit:nth-child(2){left:0;bottom:34px}.battle-screen .card-stage .battlefield .allies .unit:nth-child(3){left:15%;bottom:0}.battle-screen .card-stage .battlefield .allies .unit:nth-child(1){right:-8%;bottom:18px}.battle-screen .card-stage .battlefield .enemies .unit:nth-child(2){right:0;bottom:34px}.battle-screen .card-stage .battlefield .enemies .unit:nth-child(3){right:15%;bottom:0}.battle-screen .card-stage .battlefield .enemies .unit:nth-child(1){left:-8%;bottom:18px}.battle-screen .card-stage .battle-body{height:63px}.battle-screen .card-stage .unit-label{font-size:6px;padding:2px;flex-direction:column;gap:0}.battle-screen .card-stage .unit-label span{font-size:6px}.battle-screen .card-stage .status-line{font-size:5px;min-height:9px;line-height:9px}.battle-screen .card-dock .hand-heading{left:66px;right:66px;justify-content:center}.battle-screen .card-dock #target-hint{display:none}.battle-screen .card-dock .hand-heading h3{font-size:8px}.battle-screen .card-dock #hand-count{font-size:7px}.battle-screen .card-dock .hand{left:62px;right:62px;overflow-x:auto;overflow-y:hidden;justify-content:flex-start;gap:7px;scroll-snap-type:x proximity;padding:18px 8px 5px}.battle-screen .card-dock .ability,.battle-screen .card-dock .hand[data-crowded='true'] .ability{margin:0;transform:none;scroll-snap-align:center}.battle-screen .card-dock .ability:hover,.battle-screen .card-dock .ability:focus-visible,.battle-screen .card-dock .ability.queued-card:hover{transform:translateY(-6px)}.battle-screen .energy{left:8px;top:28px;width:47px;height:47px;border-width:3px}.battle-screen .energy b{font-size:12px}.battle-screen .energy small{font-size:6px}.battle-screen .turn-controls{right:5px;top:25px;width:53px;gap:15px}.battle-screen .commit{width:49px;height:49px;font-size:12px;border-width:2px}.battle-screen .deck-counters{font-size:12px;gap:5px;flex-direction:column}.battle-screen .deck-counters b{font-size:11px}.battle-screen .card-dock .selection-notice{max-width:90%;bottom:calc(100% + 10px);padding:5px 8px}.battle-screen .selection-notice #selection-detail{max-width:270px;font-size:8px}.battle-screen .selection-notice strong{font-size:10px}}
@media(max-height:420px) and (min-width:601px){.battle-screen.battle-view{--dock-height:118px;--card-width:79px}.battle-screen .battle-hud{top:3px}.battle-screen .combatant-plate{height:33px}.battle-screen .combatant-plate b{font-size:9px}.battle-screen .plate-icon{height:27px;width:27px;font-size:20px}.battle-screen .round-pill{padding:7px;font-size:10px}.battle-screen .arena-top{top:44px}.battle-screen .phase{font-size:9px;padding:3px 10px}.battle-screen .battle-toolbar{top:45px}.battle-screen .plan-wrap{top:68px}.battle-screen .plan-wrap>b{display:none}.battle-screen #plan .queued-thumbnail{height:30px;flex-basis:28px;width:28px}.battle-screen .card-stage .teams{inset:26% 7% calc(var(--dock-height) + 20px)}.battle-screen .card-stage .battle-body{height:55px}.battle-screen .card-stage .unit-label{font-size:7px}.battle-screen .card-stage .unit-label span{font-size:6px}.battle-screen .card-stage .status-line{font-size:5px;line-height:8px;min-height:8px}.battle-screen .card-dock .hand-heading{display:none}.battle-screen .card-dock .hand{height:100%;padding-top:10px;bottom:-4px}.battle-screen .card-dock .ability{height:108px}.battle-screen .card-dock .card-art{flex-basis:33%}.battle-screen .card-dock .ability h4{font-size:7px;min-height:17px;padding:1px}.battle-screen .card-dock .card-class{font-size:5px;height:8px;padding:0}.battle-screen .card-dock .card-values span{font-size:8px}.battle-screen .card-dock .ability p{font-size:6px;line-height:1.1;padding:2px 3px}.battle-screen .card-dock .ability small{font-size:5px}.battle-screen .card-dock .card-energy{width:22px;height:22px;font-size:13px}.battle-screen .energy{height:50px;width:50px}.battle-screen .commit{height:52px;width:52px;font-size:13px}.battle-screen .deck-counters{font-size:12px}.battle-screen .card-dock .selection-notice{bottom:calc(100% + 3px);padding:2px 10px}.battle-screen .selection-notice strong{font-size:8px}.battle-screen .selection-notice #selection-detail{font-size:7px}.battle-screen .selection-notice .selection-icon{font-size:15px}}

.battle-screen .card-stage .battle-body{height:auto;aspect-ratio:1.6}.battle-screen .card-stage .battle-motion{height:100%;position:absolute;inset:0}.battle-screen .card-dock .hand{bottom:12px}.battle-screen .card-dock .selection-notice strong{color:#fff2c3}.battle-screen .selection-notice.resolving strong{color:#ddffe0}.battle-screen .selection-notice div>span{margin-top:2px}
@media(max-width:600px){.battle-screen .card-dock .hand{bottom:4px}}
@media(max-height:420px) and (min-width:601px){.battle-screen .card-dock .hand{bottom:5px}.battle-screen .card-dock .ability,.battle-screen .card-dock .hand[data-crowded='true'] .ability{height:103px}}

.battle-screen .card-dock .selection-notice{animation:none}
@media(max-width:600px) and (max-height:420px){.battle-screen.battle-view{--dock-height:105px;--card-width:60px;--card-height:92px}.battle-screen .battle-hud{top:3px;gap:3px}.battle-screen .combatant-plate{height:30px;padding:2px 4px}.battle-screen .combatant-plate b{font-size:7px}.battle-screen .combatant-plate small{font-size:6px}.battle-screen .plate-icon{width:19px;height:19px;font-size:13px}.battle-screen .round-pill{font-size:8px;min-width:48px;padding:8px 2px}.battle-screen .arena-menu{width:21px;height:24px}.battle-screen .arena-top{top:39px}.battle-screen .phase{font-size:8px;padding:3px 8px}.battle-screen .battle-toolbar{top:38px;right:4px;gap:3px}.battle-screen .battle-toolbar button{font-size:6px;min-height:17px;padding:2px}.battle-screen .plan-wrap{top:62px}.battle-screen .plan-wrap>b,.battle-screen .empty-plan{display:none}.battle-screen #plan{padding:0;min-height:0}.battle-screen #plan .queued-thumbnail{width:22px;height:26px;flex-basis:22px;min-width:16px}.battle-screen .card-stage .teams{inset:25% 3% calc(var(--dock-height) + 24px);gap:6%}.battle-screen .card-stage .battlefield .side .unit{width:33%}.battle-screen .card-stage .battlefield .allies .unit:nth-child(2){left:0;bottom:12px}.battle-screen .card-stage .battlefield .allies .unit:nth-child(3){left:33%;bottom:0}.battle-screen .card-stage .battlefield .allies .unit:nth-child(1){right:-3%;bottom:6px}.battle-screen .card-stage .battlefield .enemies .unit:nth-child(2){right:0;bottom:12px}.battle-screen .card-stage .battlefield .enemies .unit:nth-child(3){right:33%;bottom:0}.battle-screen .card-stage .battlefield .enemies .unit:nth-child(1){left:-3%;bottom:6px}.battle-screen .card-stage .unit-label b{display:none}.battle-screen .card-stage .unit-label{flex-direction:row;justify-content:center;padding:1px;background:transparent;color:#fff9d6;text-shadow:0 1px #61442b}.battle-screen .card-stage .unit-label span{font-size:7px}.battle-screen .hp-track{height:3px;margin:1px 3px}.battle-screen .card-stage .status-line{font-size:4px;line-height:6px;min-height:6px}.battle-screen .card-dock .hand-heading{display:none}.battle-screen .card-dock .hand{left:14%;right:14%;height:100%;bottom:6px;overflow:visible;justify-content:center;gap:0;padding:8px 3px 0}.battle-screen .card-dock .ability,.battle-screen .card-dock .hand[data-crowded='true'] .ability{flex-basis:60px;width:60px;height:92px;margin:0 -9px;transform:rotate(var(--fan-angle))}.battle-screen .card-dock .hand[data-crowded='true'] .ability{margin:0 -18px}.battle-screen .card-dock .ability h4{font-size:6px;min-height:16px;padding:1px}.battle-screen .card-dock .card-art{flex-basis:32%}.battle-screen .card-dock .card-class{height:7px;font-size:4px;padding:0}.battle-screen .card-dock .card-values{padding:1px 2px 0;gap:1px}.battle-screen .card-dock .card-values span{font-size:6px;padding:0}.battle-screen .card-dock .ability p{font-size:5px;line-height:1.1;padding:1px 2px}.battle-screen .card-dock .ability small{font-size:4px;padding:1px}.battle-screen .card-dock .card-face{border-width:2px;border-radius:6px}.battle-screen .card-dock .card-energy{width:19px;height:19px;top:-7px;left:-7px;font-size:11px;border-width:2px}.battle-screen .energy{width:36px;height:36px;top:16px;left:6px}.battle-screen .energy b{font-size:9px}.battle-screen .energy small{font-size:5px}.battle-screen .turn-controls{top:10px;right:3px;width:42px;gap:8px}.battle-screen .commit{width:38px;height:38px;font-size:10px}.battle-screen .deck-counters{gap:4px;font-size:9px;flex-direction:row}.battle-screen .deck-counters b{font-size:8px}.battle-screen .card-dock .selection-notice{bottom:calc(100% + 3px);padding:2px 6px}.battle-screen .selection-notice strong{font-size:7px;letter-spacing:.3px}.battle-screen .selection-notice #selection-detail{font-size:6px;max-width:220px}.battle-screen .selection-notice .selection-icon{font-size:12px}.battle-screen .card-dock .ability:hover,.battle-screen .card-dock .ability:focus-visible{transform:translateY(-7px) rotate(0) scale(1.2)}}
