/* SPDX-License-Identifier: AGPL-3.0-or-later */
.in-battle{overflow:hidden;overscroll-behavior:none}
.table-root{position:fixed!important;inset:0;z-index:100;margin:0!important;padding:0!important;touch-action:none;user-select:none;background:radial-gradient(ellipse at 50% 30%,#567788,#253e51 75%);color:#244252;--bench-h:95px;--active-h:114px;--hand-w:86px;--fan-step:38px;--fan-angle:4deg}
.table-root button{font:inherit;color:inherit;padding:0;border:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.table-root button:disabled{cursor:default;opacity:.45}.table-root button:focus-visible{outline:3px solid #22a8ad;outline-offset:4px}
.table-root svg{width:22px;height:22px;flex-shrink:0;display:block}
.table-game{position:relative;isolation:isolate;display:flex;flex-direction:column;width:min(100%,1120px);height:100dvh;margin:auto;padding:0 20px;overflow:hidden;background:linear-gradient(155deg,#f5fafc,#e6f2f5 50%,#dcecef);box-shadow:0 0 100px #152d4055}
.table-atmosphere{position:absolute;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 14% 45%,#b7e1e070,transparent 48%),radial-gradient(ellipse at 94% 20%,#c9d5fa55,transparent 48%)}
.table-atmosphere::after{content:'';position:absolute;inset:0;opacity:.18;background-image:radial-gradient(#668f9c 0.6px,transparent .6px);background-size:5px 5px;mask-image:linear-gradient(transparent,#000,transparent)}
.table-head{height:58px;flex:none;display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:env(safe-area-inset-top,0px);z-index:5;border-bottom:1px solid #aac4cf4d}
.table-head>button{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#ffffff99;box-shadow:0 2px 8px #52748912}
.table-head>div{display:flex;align-items:center;gap:12px}.table-mode-label{font-size:10px;letter-spacing:2px;color:#7b959f}.table-head b{font-size:12px;font-variant-numeric:tabular-nums}
.table-turn-pill{background:#ffffffd9;border:1px solid #dce8ea;border-radius:20px;padding:6px 13px;font-size:10px;font-weight:600;color:#267d87}
.table-opponent-row{height:60px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:8px 12px;gap:12px}
.table-profile{display:flex;align-items:center;gap:9px;min-width:0}.table-avatar{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:50%;color:#fff;border:2px solid #fff;background:linear-gradient(140deg,#9ab3c9,#54758f);box-shadow:0 2px 7px #42607022}
.own-profile .table-avatar{background:linear-gradient(140deg,#75d1c6,#359c9d)}.table-avatar svg{width:24px;height:24px}.profile-copy{display:flex;flex-direction:column;gap:3px;white-space:nowrap}.profile-copy b{font-size:11px;font-weight:650}.profile-copy small{font-size:9px;color:#8298a2}
.table-score{display:flex;align-items:center;gap:4px;margin-left:12px}.table-score i{display:grid;place-items:center;width:16px;height:16px;font-style:normal;border-radius:50%;background:#ffffffb0;border:1px solid #c5d6dc;box-shadow:inset 0 1px 3px #526f8312}.table-score i span{font-size:10px;line-height:1;color:#c5d6dc}.table-score i.earned{background:linear-gradient(#fff2b4,#edc65b);border-color:#d6b64e;box-shadow:0 0 12px #e3ce703f}.table-score i.earned span{color:#a38328}
.table-opponent-hand{display:flex;align-items:center;justify-content:flex-end;padding-right:5px;position:relative;min-width:60px;height:44px}.table-opponent-hand i{display:block;width:25px;aspect-ratio:367/512;margin-left:-10px;transform:rotate(calc(var(--fan)*3deg));transform-origin:50% 180%;box-shadow:0 2px 5px #24445a30;border-radius:3px}.table-opponent-hand img{display:block;width:100%;height:100%;border-radius:3px}.table-opponent-hand>span{font-size:9px;margin-left:9px;color:#758f9a;white-space:nowrap}
.table-field{position:relative;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) minmax(0,1.2fr) 26px minmax(0,1.2fr) minmax(0,1fr);gap:8px;flex:1;min-height:0;padding:8px 0;isolation:isolate}
.table-mat{position:absolute;inset:0 0 0;z-index:-1;border:1px solid #ffffffb3;border-radius:32px;background:linear-gradient(155deg,#ffffff45,#c7e4e74d);box-shadow:inset 0 0 45px #82b3c013,0 12px 32px #4f7c8c0b;overflow:hidden}
.table-mat::before,.table-mat::after{content:'';position:absolute;width:180px;aspect-ratio:1;border:1px solid #fff7;border-radius:50%;left:-100px;top:-70px;box-shadow:0 0 0 20px #ffffff1c,0 0 0 40px #ffffff0e}.table-mat::after{left:auto;top:auto;right:-100px;bottom:-70px}
.table-ring{position:absolute;left:50%;top:50%;width:min(65%,360px);aspect-ratio:1;transform:translate(-50%,-50%);border:1px solid #fff9;border-radius:50%;box-shadow:0 0 0 25px #ffffff1c,0 0 0 26px #ffffff4d}
.table-axis{position:absolute;top:50%;left:18px;right:18px;border-top:1px solid #fff8}.mat-ball{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#8eb5c022}.mat-ball svg{width:125px;height:125px;stroke-width:.7}
.table-bench{display:flex;align-items:center;justify-content:center;gap:clamp(16px,5vw,34px);grid-column:1;position:relative;align-self:center;padding:10px 0}
.opponent-bench{grid-row:1}.own-bench{grid-row:5}.table-active{grid-column:1;align-self:center;justify-self:center;padding:10px 0;position:relative}.opponent-active{grid-row:2}.own-active{grid-row:4}
.table-slot{position:relative;display:block;flex-shrink:0;width:calc(var(--bench-h)*367/512);height:var(--bench-h);border-radius:5px!important;box-shadow:0 4px 8px #2b597025,0 1px 2px #18384b24;transition:box-shadow .15s,filter .15s;touch-action:none;isolation:isolate}
.table-active .table-slot{width:calc(var(--active-h)*367/512);height:var(--active-h)}
.table-slot img,.table-hand-card img,.table-drag-ghost img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none;border-radius:4px}
.table-slot.empty{border:1px solid #8fafbc55!important;background:linear-gradient(140deg,#faffff55,#c6e0e733)!important;box-shadow:inset 0 1px 12px #a2c2ce1c,0 1px 0 #ffffff9c;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#90abb5}
.table-slot.empty::before{content:'';position:absolute;inset:4px;border-radius:3px;border:1px solid #fff5;pointer-events:none}.slot-emblem svg{width:23px;height:23px;opacity:.38;stroke-width:1}.slot-label{font-size:8px;letter-spacing:1px}
.table-hp{position:absolute;right:-3px;top:-10px;display:flex;align-items:baseline;gap:2px;padding:2px 5px;background:#fffffff2;border:1px solid #d9e6eb;border-radius:20px;color:#244c5b;box-shadow:0 2px 4px #21465e17;font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1;z-index:2}
.table-hp b{font-size:12px;letter-spacing:-.5px}.table-hp small{font-size:7px;color:#7e969e}.table-hp-bar{position:absolute;left:4px;right:4px;bottom:3px;height:3px;border-radius:4px;box-shadow:0 0 0 1px #fff9;background:linear-gradient(to right,var(--hp-color) calc(var(--hp)*100%),#d0dbe6 calc(var(--hp)*100%));pointer-events:none}
.table-attached{position:absolute;left:0;right:0;bottom:-11px;display:flex;justify-content:center;align-items:center;gap:1px;min-height:12px;pointer-events:none}.table-attached .energy{width:13px;height:13px;font-size:9px;border:1px solid #fff}.table-attached small{font-size:8px;padding:1px 3px;border-radius:8px;background:#fff;color:#66858f}.table-tool{position:absolute;right:-5px;bottom:-8px;width:14px;height:14px;background:#e3b65c;border:1px solid white;border-radius:50%;font-size:9px;color:white;z-index:2;text-align:center}
.table-status{position:absolute;top:20%;left:-5px;font-size:8px;padding:3px 6px;border-radius:7px;background:#725a92e6;color:white;box-shadow:0 2px 4px #0002}
.table-piles{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:54px;transform:translateY(-50%);z-index:1}.opponent-piles{right:12px;top:32%}.own-piles{left:12px;top:68%}
.table-deck{position:relative;width:32px;aspect-ratio:367/512;border-radius:3px;box-shadow:2px 2px 0 #eef5fb,3px 3px 0 #819faf,4px 4px 0 #eef5fb,0 5px 8px #22476526;transform:rotate(8deg)}.table-deck img{display:block;width:100%;border-radius:3px}.table-deck b{position:absolute;right:-8px;bottom:-4px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 3px;border-radius:50%;border:1px solid #d7e6ed;box-shadow:0 2px 4px #1a425222;background:#fff;color:#456676;font-size:10px;transform:rotate(-8deg);font-variant-numeric:tabular-nums}
.table-discard{display:flex;align-items:center;gap:3px;font-size:8px!important;color:#6f8995!important;padding:3px 0!important}.table-discard svg{width:13px;height:13px}.table-discard b{font-weight:500}
.table-center-label{position:relative;grid-row:3;grid-column:1;text-align:center;align-self:center;justify-self:stretch;display:flex;align-items:center;justify-content:center;gap:12px;height:26px;z-index:3}.table-center-label>span{font-size:9px;letter-spacing:3px;color:#83a5b5}.table-center-label>span b{font-weight:700}.table-center-label button{font-size:10px;border-radius:18px;padding:6px 12px;background:#ffffffd9;box-shadow:0 2px 5px #163e4914}
.table-trainer-target{position:absolute!important;left:50%;transform:translateX(-50%);white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s!important}.table-trainer-target.target{opacity:1;pointer-events:auto;background:#edfffa;min-width:150px;box-shadow:0 0 0 2px #4cbba9,0 0 22px #4cbba926}.table-center-label:has(.target)>span{visibility:hidden}
.table-controls{height:76px;flex:none;display:grid;grid-template-columns:98px minmax(0,1fr) 98px;align-items:center;gap:10px;padding:10px 4px}
.table-energy-zone{display:flex;align-items:center;gap:8px}.table-energy-zone #table-energy{width:45px;height:45px;flex:none;border:1px solid #fff;border-radius:50%;display:grid;place-items:center;background:linear-gradient(130deg,#fff,#e3f5f4);box-shadow:0 0 0 4px #ffffff60,0 4px 10px #214a651a;touch-action:none}
.table-energy-zone #table-energy .energy{width:35px;height:35px;box-shadow:inset 0 0 10px #fff5,0 1px 3px #0002;border:2px solid #fff}.table-energy-zone>span{display:flex;flex-direction:column;gap:5px}.table-energy-zone>span b{font-size:9px;font-weight:600;white-space:nowrap}.table-energy-zone small{display:flex;align-items:center;gap:3px;white-space:nowrap;font-size:8px;color:#7d959f}.table-energy-zone small .energy{width:13px;height:13px}.spent-orb{color:#97b7bf}.spent-orb svg{width:29px;height:29px;opacity:.55;stroke-width:1}
#table-end-turn{display:flex;align-items:center;justify-content:center;gap:6px;padding:12px 8px;border:1px solid #ffffffc0;border-radius:23px;background:linear-gradient(130deg,#479ca0,#297d88);color:#fff;box-shadow:0 4px 10px #246c7c29,inset 0 1px 0 #ffffff38;font-size:10px;white-space:nowrap;height:43px}#table-end-turn svg{width:15px;height:15px}#table-end-turn:not(:disabled):hover{background:linear-gradient(130deg,#55afb0,#2b8d9b)}
.table-caption{font-size:10px;line-height:1.65;color:#69838f;text-align:center;min-width:0;pointer-events:none;text-wrap:balance}
.table-hand-area{height:174px;flex:none;position:relative;padding-bottom:env(safe-area-inset-bottom,0px);margin:0 -20px;background:linear-gradient(#ffffff2b,#ffffff9c);border-top:1px solid #fff9;box-shadow:0 -6px 25px #375d7007}
.table-hand-area>.table-profile{height:34px;position:relative;z-index:2;margin:0 22px}.table-hand-area .table-avatar{width:26px;height:26px}.table-hand-area .table-avatar svg{width:19px;height:19px}.table-hand-area .profile-copy{flex-direction:row;align-items:center;gap:8px}.table-hand-area .table-score{margin-left:auto}.table-hand{position:absolute;top:35px;bottom:10px;left:12px;right:12px;touch-action:none}
.table-hand-card{position:absolute;left:calc(50% + var(--fan)*var(--fan-step));top:calc(12px + abs(var(--fan))*1px);width:var(--hand-w);aspect-ratio:367/512;transform:translateX(-50%) rotate(calc(var(--fan)*var(--fan-angle)));transform-origin:50% 115%;border-radius:5px!important;box-shadow:0 2px 7px #244a6540;transition:transform .15s,top .15s;touch-action:none}
.table-hand-card.playable{box-shadow:0 0 0 1px #70c3b8,0 3px 9px #2c61654d}.table-hand-card.selected{top:-12px;transform:translateX(-50%) rotate(0) scale(1.04);z-index:20;box-shadow:0 0 0 2px #2ba897,0 6px 20px #28576335}.table-hand-card.drag-origin{opacity:.25}
.table-slot.target{box-shadow:0 0 0 2px #59beae,0 0 18px #55bfad40;animation:target-pulse 1.6s ease-in-out infinite}.table-slot.hover-target{box-shadow:0 0 0 3px #fff,0 0 0 5px #35bdaa,0 0 25px #39c9ae66!important}.table-slot.empty.target .slot-label{color:#258e80}
.table-drag-ghost{position:fixed!important;width:var(--ghost-width,110px)!important;height:auto!important;aspect-ratio:367/512;transform:translate(-50%,-65%) rotate(-3deg);pointer-events:none!important;z-index:1000;border-radius:7px;filter:drop-shadow(0 14px 12px #1b456577);opacity:.98}.table-drag-ghost .table-hp,.table-drag-ghost .table-hp-bar,.table-drag-ghost .table-attached,.table-drag-ghost .table-status,.table-drag-ghost .table-tool{display:none}.energy-ghost{width:50px!important;aspect-ratio:1;display:grid;place-items:center}.energy-ghost .energy{width:45px;height:45px}
.table-effects-button{position:absolute;right:12px;top:50%;transform:translateY(-50%);padding:8px 10px!important;border-radius:20px!important;background:#fffef8!important;border:1px solid #dfcf9c!important;box-shadow:0 3px 8px #5b4d2320;font-size:9px!important;color:#8b7134!important;z-index:8}
.table-busy .table-slot,.table-busy .table-hand-card{cursor:wait}.table-busy .table-turn-pill::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#37a794;margin-right:5px;animation:table-settling 1s ease-in-out infinite}
.table-choice-overlay{position:absolute;inset:0;z-index:30;background:#173e514d;backdrop-filter:blur(5px);display:flex;align-items:flex-end;justify-content:center}
.table-choice{position:relative;width:100%;max-width:540px;max-height:75dvh;border:1px solid #fff;border-radius:26px 26px 0 0;padding:22px 22px calc(25px + env(safe-area-inset-bottom));background:linear-gradient(150deg,#fff,#eff7f8);box-shadow:0 -8px 40px #17374d26;overflow:auto;text-align:center;touch-action:pan-y}
.table-choice::before{content:'';display:block;width:35px;height:4px;background:#d5e2e7;border-radius:4px;margin:-12px auto 20px}.table-choice h3{margin:0 25px 18px;font-size:16px;font-weight:650}.table-choice-close{position:absolute;right:14px;top:8px;font-size:26px!important;width:36px;height:36px;color:#7f98a5!important}.table-choice-card{width:96px;margin:0 auto 15px;filter:drop-shadow(0 5px 8px #30586e26)}.table-choice-card img{width:100%;border-radius:5px}.table-choice-options{display:flex;flex-direction:column;gap:9px}.table-choice-options button{display:flex;align-items:center;justify-content:center;gap:12px;padding:13px 16px;border:1px solid #d7e5e9;border-radius:15px;background:linear-gradient(#fff,#edf6f7);box-shadow:0 2px 4px #52748612;font-size:12px;line-height:1.6;flex-shrink:0}.table-choice-options img{height:60px;width:auto}.table-inspect{margin-top:16px;padding:9px!important;font-size:12px!important;color:#357f8c!important}
.table-turn-notice{position:absolute;top:44%;left:50%;transform:translate(-50%,-50%);padding:14px 30px;background:linear-gradient(110deg,#fff0,#ffffffed 20%,#ffffffed 80%,#fff0);color:#3e8e95;text-align:center;white-space:nowrap;font-size:20px;font-weight:650;letter-spacing:3px;pointer-events:none;opacity:0;z-index:15}.table-turn-notice small{display:block;font-size:10px;letter-spacing:1px;margin-top:6px;font-weight:400;color:#7898a4}.table-turn-notice.show{animation:table-turn-in 1.7s both}
.table-result{position:absolute;inset:0;background:#27485459;backdrop-filter:blur(7px);z-index:40;display:grid;place-items:center}.table-result>div{text-align:center;background:linear-gradient(140deg,#fff,#e5f4f3);border:1px solid #fff;border-radius:28px;box-shadow:0 15px 70px #1b38543d;width:min(85%,390px);padding:38px 25px}.table-result>div>span{font-size:11px;letter-spacing:6px;color:#ad9149}.table-result h2{font-size:25px;margin-top:16px}.table-result b{display:block;font-size:48px;font-variant-numeric:tabular-nums;color:#367e82;margin:20px}.table-result b small{font-size:25px;color:#9bb4b9}.table-result .primary{padding:13px 30px;border-radius:24px;background:#32858d;color:#fff;font-size:12px}
.table-root #battle-error{position:absolute;top:68px;left:6%;right:6%;z-index:50;padding:12px 16px;border:1px solid #ecc7be;box-shadow:0 3px 20px #a23d2012;font-size:12px;text-align:center;background:#fff4ee}
.table-damage{position:absolute;left:50%;top:30%;transform:translateX(-50%);font-size:34px;font-weight:850;font-variant-numeric:tabular-nums;white-space:nowrap;color:#fff0ab;text-shadow:0 2px 0 #7d463b,2px 0 0 #7d463b,-2px 0 #7d463b;z-index:20;animation:table-number .8s forwards;pointer-events:none}.table-damage.healing{color:#c4ffe0;text-shadow:0 2px 0 #357b4d}.table-hit{animation:table-shake .3s}.table-heal{filter:drop-shadow(0 0 14px #57dd94)}.strike-up{animation:strike-up .25s}.strike-down{animation:strike-down .25s}.table-energy-flight{position:absolute;left:35%;top:45%;pointer-events:none;animation:table-attach .5s}.table-energy-flight .energy{width:32px;height:32px}
@keyframes target-pulse{50%{box-shadow:0 0 0 2px #9cded3,0 0 9px #2bac9225}}@keyframes table-turn-in{0%,100%{opacity:0;transform:translate(-50%,-40%)}20%,70%{opacity:1;transform:translate(-50%,-50%)}}@keyframes table-settling{50%{opacity:.25}}@keyframes table-number{to{transform:translate(-50%,-65px);opacity:0}}@keyframes table-shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}@keyframes strike-up{50%{transform:translateY(-22px) scale(1.04)}}@keyframes strike-down{50%{transform:translateY(22px) scale(1.04)}}@keyframes table-attach{from{transform:translate(-50px,50px) scale(1.5);opacity:0}to{transform:translate(0,0) scale(.3);opacity:0}}
.table-wide .table-field{grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr) minmax(0,1.5fr) minmax(0,1fr);gap:12px;padding:12px 0}.table-wide .table-bench{grid-column:1/-1;gap:42px}.table-wide .own-bench{grid-row:3}.table-wide .opponent-active{grid-column:1;grid-row:2;justify-self:end;margin-right:65px}.table-wide .own-active{grid-column:2;grid-row:2;justify-self:start;margin-left:65px}.table-wide .table-center-label{grid-row:auto;grid-column:auto;position:absolute;top:50%;left:50%;width:160px;transform:translate(-50%,-50%)}.table-wide .table-axis{left:50%;top:18px;bottom:18px;right:auto;border:0;border-left:1px solid #fff8}.table-wide .opponent-piles{left:40px;right:auto;top:50%}.table-wide .own-piles{left:auto;right:40px;top:50%}.table-wide .table-ring{width:320px}.table-wide .table-effects-button{right:18px;top:calc(50% + 70px)}
@media(min-width:900px){.table-game{padding:0 36px}.table-head{height:62px}.table-opponent-row{padding:8px 35px}.table-controls{padding:10px 40px;grid-template-columns:120px minmax(0,1fr) 135px}.table-caption{font-size:12px}.table-hand-area{margin:0 -36px}.table-hand-area>.table-profile{margin:0 48px}.table-hand{left:90px;right:90px}.table-mode-label{font-size:11px}}
@media(max-width:420px){.table-game{padding:0 12px}.table-head{height:50px}.table-mode-label{display:none}.table-opponent-row{height:51px;padding:6px}.table-profile{gap:6px}.table-score{margin-left:5px;gap:3px}.table-score i{width:14px;height:14px}.table-controls{grid-template-columns:86px minmax(0,1fr) 90px;gap:7px;padding:10px 0}.table-caption{font-size:9px}.table-energy-zone{gap:6px}.table-energy-zone #table-energy{width:39px;height:39px}.table-energy-zone #table-energy .energy{width:31px;height:31px}.table-hand-area{margin:0 -12px;height:153px}.table-hand-area>.table-profile{margin:0 18px}.table-piles{width:44px}.opponent-piles{right:7px}.own-piles{left:7px}.table-avatar{width:30px;height:30px}.table-opponent-hand i{width:21px;margin-left:-9px}.table-opponent-hand>span{font-size:8px;margin-left:6px}.table-profile .profile-copy b{font-size:10px}}
@media(max-height:720px){.table-head{height:46px}.table-opponent-row{height:43px}.table-hand-area{height:126px}.table-controls{height:63px}.table-hp b{font-size:10px}.table-hp small{font-size:6px}.table-opponent-hand{height:32px}.table-opponent-hand i{width:19px}.table-choice-card{width:76px}.table-choice{max-height:85dvh}.table-turn-notice{font-size:17px}}
@media(max-height:520px) and (min-width:650px){.table-game{display:grid;grid-template-columns:minmax(0,1fr) 196px;grid-template-rows:44px 39px minmax(0,1fr) 60px;padding:0 15px;gap:0 18px}.table-head{grid-column:1/-1}.table-opponent-row{grid-column:1;grid-row:2}.table-field{grid-column:1;grid-row:3;align-self:stretch}.table-controls{grid-column:1;grid-row:4;grid-template-columns:88px minmax(0,1fr) 90px;height:60px}.table-hand-area{grid-column:2;grid-row:2/5;margin:0;height:auto;align-self:stretch;border-radius:20px 20px 0 0;border:1px solid #fff;overflow:hidden}.table-hand-area>.table-profile{margin:4px 10px;height:34px;gap:5px;flex-wrap:wrap}.table-hand-area .profile-copy small{display:none}.table-hand-area .table-score{gap:2px}.table-hand-area .table-score i{width:12px;height:12px}.table-hand{top:43px;bottom:15px;left:10px;right:10px}.table-hand-card{left:50%;top:calc(50% + var(--fan)*var(--fan-step-y,15px));transform:translate(-50%,-50%) rotate(calc(var(--fan)*var(--fan-angle)))}.table-hand-card.selected{left:45%;top:calc(50% + var(--fan)*var(--fan-step-y,15px));transform:translate(-50%,-50%) scale(1.04)}.table-wide .table-bench{gap:18px}.table-wide .opponent-active{margin-right:38px}.table-wide .own-active{margin-left:38px}.table-wide .opponent-piles{left:9px}.table-wide .own-piles{right:9px}.table-wide .table-center-label{width:90px}.table-center-label>span{font-size:7px;letter-spacing:1px}.table-deck{width:22px}.table-piles{width:36px;gap:4px}.table-piles .table-discard{font-size:7px!important}.table-deck b{height:16px;min-width:16px;font-size:8px}.slot-emblem svg{width:15px;height:15px}.slot-label{font-size:6px}.table-hp{top:-7px;padding:1px 3px}.table-attached{bottom:-8px}.table-attached .energy{width:10px;height:10px}.table-slot.empty{gap:3px}.table-turn-notice{top:45%;left:40%;font-size:15px}}
@media(prefers-reduced-motion:reduce){.table-root *{animation-duration:1ms!important;transition:none!important}.table-turn-notice.show{display:none}}
.table-root .energy svg{width:75%;height:75%}

.table-card-fx{position:absolute;inset:-7px;pointer-events:none;border-radius:8px;z-index:6;animation:card-fx-fade .75s both}.impact-fx{background:radial-gradient(ellipse,#fffbdba8,transparent 65%);box-shadow:0 0 30px #fffbd8a8;animation:card-impact .55s both}.evolve-fx{border:2px solid #a8eee7;box-shadow:0 0 22px #71d6d7,inset 0 0 12px #9bd8ef;animation:card-evolve .85s both}.place-fx{border:1px solid #b7e3dc;box-shadow:0 0 15px #83d4c66b;animation:card-fx-fade .7s both}.table-attack-ray{position:absolute;height:3px;background:linear-gradient(90deg,transparent,#dbfcfa,#ffffff);box-shadow:0 0 8px #a6e9e7;transform-origin:0 50%;transform:rotate(var(--direction));z-index:7;pointer-events:none;animation:attack-ray .5s both}
@keyframes attack-ray{0%{opacity:0;transform:rotate(var(--direction)) scaleX(.08)}35%{opacity:1;transform:rotate(var(--direction)) scaleX(1)}100%{opacity:0;transform:rotate(var(--direction)) scaleX(1)}}@keyframes card-impact{0%,100%{opacity:0}30%{opacity:1;transform:scale(1.08)}}@keyframes card-evolve{0%{opacity:0;transform:scale(.9)}25%{opacity:1}100%{opacity:0;transform:scale(1.3)}}@keyframes card-fx-fade{from{opacity:1;transform:scale(.95)}to{opacity:0;transform:scale(1.12)}}
@media(prefers-reduced-motion:reduce){.table-card-fx,.table-attack-ray{display:none}}

.table-status{max-width:calc(100% + 10px);line-height:1.3}

.table-trainer-target.hover-target{box-shadow:0 0 0 2px #fff,0 0 0 4px #35bdaa,0 0 24px #39c9ae66}

.table-tool{right:-8px;bottom:13px;width:auto;height:27px;display:flex;gap:2px;border:0;background:none;box-shadow:none;z-index:3;pointer-events:none}.table-tool img{width:19px;height:27px;object-fit:contain;border:1px solid #e6bd71;border-radius:2px;box-shadow:0 2px 5px #37526444}.table-pending-tool{display:flex;gap:7px;align-items:center;padding:5px 9px;background:#fffdf5;border:1px solid #e3d3a9;border-radius:10px;box-shadow:0 3px 10px #755f2117;position:absolute;left:50%;transform:translateX(-50%);z-index:4;white-space:nowrap}.table-pending-tool>img{width:24px;height:34px;object-fit:contain;border-radius:2px}.table-pending-tool>span{display:flex;flex-direction:column;gap:3px;font-size:9px;color:#735e34}.table-pending-tool small{font-size:8px;color:#9e8e6b}.table-center-label:has(.table-pending-tool)>span{visibility:hidden}.table-equipped-list{display:flex;flex-direction:column;gap:8px;margin:16px 0 4px;text-align:left;padding:12px;border:1px solid #e8dfca;border-radius:12px;background:#fffdf8}.table-equipped-list h4{font-size:11px;color:#937438;margin:0 0 3px}.table-equipped-list button{display:flex;align-items:center;gap:10px;font-size:12px!important;padding:4px!important}.table-equipped-list img{width:29px;height:41px;object-fit:contain;border-radius:2px}
@media(max-height:720px){.table-tool{bottom:10px;height:21px}.table-tool img{width:15px;height:21px}}

.table-head-actions{display:flex!important;gap:5px!important}.table-head-actions button{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#ffffffa6;box-shadow:0 2px 8px #52748912}.table-head-actions svg{width:19px;height:19px}
.table-play-area{position:absolute;left:8%;right:8%;top:50%;height:22%;max-height:160px;min-height:56px;transform:translateY(-50%);border-radius:24px;pointer-events:none;opacity:0;z-index:-1;background:radial-gradient(ellipse,#e7fffaa8,#b2e4da40 70%,transparent);outline:1px dashed #5aac9d80;transition:opacity .15s}.table-field:has(.table-trainer-target.target) .table-play-area{opacity:1}.table-center-label .table-trainer-target.target{min-width:160px;padding:10px 16px}
.table-evolution-base{position:absolute;inset:0;z-index:-1;transform:translate(4px,5px) rotate(-3deg);border-radius:4px;box-shadow:0 3px 7px #29455555;pointer-events:none}.table-evolution-base img{width:100%;height:100%;object-fit:contain}.table-drag-ghost .table-evolution-base{display:none}
.table-evolution-stage{position:fixed;z-index:22;pointer-events:none;isolation:isolate}.table-evolution-stage img{display:block;width:100%;height:100%;object-fit:contain;border-radius:4px}.table-evolution-old,.table-evolution-incoming{position:absolute;inset:0;box-shadow:0 8px 24px #28586845;border-radius:4px}.table-evolution-old{animation:evolution-old .95s both}.table-evolution-incoming{z-index:3;animation:evolution-drop .95s both;filter:drop-shadow(0 0 12px #b7fff7)}.table-evolution-ring{position:absolute;inset:-45%;border-radius:50%;background:radial-gradient(ellipse,#fff 0%,#b7fff185 30%,transparent 65%);animation:evolution-burst .95s both;z-index:2}.table-evolution-ring::after{content:'';position:absolute;inset:10%;border:2px solid #e4fff7;border-radius:50%;box-shadow:0 0 25px #6bdacb,0 0 0 8px #befff133}.table-evolution-word{position:absolute;left:50%;top:-35px;transform:translateX(-50%);padding:5px 13px;background:#fffffff2;color:#188d91;box-shadow:0 3px 12px #32748540;border-radius:18px;font-size:14px;font-weight:750;white-space:nowrap;z-index:4;animation:evolution-word .95s both}
@keyframes evolution-drop{0%{transform:translate(var(--from-x),var(--from-y)) rotate(-8deg) scale(.85);opacity:.35}45%{transform:translate(0,-20px) rotate(1deg) scale(1.16);opacity:1}68%{transform:translate(0,3px) scale(.97)}82%{transform:translate(0,-2px) scale(1.03)}100%{transform:translate(0,0) scale(1)}}@keyframes evolution-old{0%,35%{transform:scale(1)}60%,100%{transform:translate(4px,5px) rotate(-3deg)}}@keyframes evolution-burst{0%,32%{opacity:0;transform:scale(.6)}62%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.35)}}@keyframes evolution-word{0%,25%{opacity:0;translate:0 10px}45%,85%{opacity:1;translate:0 0}100%{opacity:0}}
.table-action-reveal{position:absolute;left:50%;top:43%;transform:translate(-50%,-50%);z-index:18;display:flex;align-items:center;gap:18px;width:min(88%,470px);padding:18px 22px;border:1px solid #fff;border-radius:24px;box-shadow:0 10px 45px #224f7740;background:linear-gradient(145deg,#fafffff7,#eaf4fcf5);pointer-events:none;animation:action-reveal-in .2s both}.table-action-reveal>img{display:block;width:clamp(72px,26vw,140px);max-height:32dvh;height:auto;object-fit:contain;border-radius:5px;box-shadow:0 5px 16px #27586b33;flex-shrink:0}.table-reveal-copy{display:flex;flex-direction:column;gap:9px;min-width:0;flex:1}.table-reveal-copy small{font-size:10px;color:#698898;letter-spacing:2px}.table-reveal-copy b{font-size:18px;color:#284d68;line-height:1.4}.table-reveal-copy span{font-size:11px;line-height:1.7;color:#68828e}.table-history-list{display:flex;flex-direction:column;gap:10px}.table-history-entry{display:flex;gap:12px;align-items:center;padding:10px!important;border:1px solid #dbe7eb!important;border-radius:12px!important;background:#fff!important;text-align:left}.table-history-entry>img{width:35px;height:49px;object-fit:contain;flex-shrink:0}.table-history-entry>span:last-child{display:flex;flex-direction:column;gap:5px}.table-history-entry small{font-size:10px;color:#839ba7}.table-history-entry b{font-size:12px;font-weight:500;line-height:1.6}.history-no-card{display:grid;place-items:center;width:35px;height:49px;color:#94b1bd;flex-shrink:0}@keyframes action-reveal-in{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
@media(max-height:520px){.table-action-reveal{top:48%;max-width:380px;padding:10px 14px;gap:12px}.table-action-reveal>img{max-height:35dvh;width:82px}.table-reveal-copy b{font-size:14px}.table-reveal-copy span{font-size:10px}.table-evolution-word{top:-25px;font-size:11px}.table-head-actions button{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){.table-evolution-ring{display:none}.table-evolution-incoming{filter:none}}
.table-action-reveal.attack-reveal{top:23%;padding:12px 18px;gap:14px}.attack-reveal>img{width:65px;max-height:15dvh}.attack-reveal .table-reveal-copy b{font-size:15px}.attack-reveal .table-reveal-copy{gap:5px}@media(max-height:520px){.table-action-reveal.attack-reveal{top:30%;padding:8px 12px}.attack-reveal>img{width:42px}}
.table-history{display:flex;flex-direction:column;overflow:hidden}.table-history-list{overflow-y:auto;min-height:0;touch-action:pan-y}.table-history-entry{flex-shrink:0}
/* A view's entrance transform must not become the fixed board's containing block. */
.view.active.table-root{animation:none!important;transform:none!important;opacity:1}
.in-battle>.topbar,.in-battle>footer{visibility:hidden}
@media(max-width:640px){.table-head>div{gap:5px}.table-head-actions{gap:4px!important}.table-head>div:first-of-type{flex-wrap:wrap;max-width:105px}.table-turn-pill{padding:4px 6px}.table-profile .profile-copy b{max-width:145px;overflow:hidden;text-overflow:ellipsis}}
/* A physical playmat with a persistent, readable battle axis. */
.table-root{background:#080f1b;color:#dcebf0;--player:#6fe5cf;--opponent:#ee9fbc;--hand-area:174px}
.table-game{background:linear-gradient(150deg,#152739,#0e1929 60%,#152b35);box-shadow:0 0 100px #0008}
.table-atmosphere{background:radial-gradient(ellipse at 50% 15%,#6f3d752b,transparent 58%),radial-gradient(ellipse at 50% 90%,#2fc6b82b,transparent 65%)}
.table-atmosphere::after{opacity:.12;background-image:radial-gradient(#bfd8dc .6px,transparent .6px)}
.table-head{border-color:#98c4d31c}.table-head>button,.table-head-actions button{background:#ffffff0d;color:#bcd0de;box-shadow:inset 0 0 0 1px #a7c8d31c}.table-mode-label{color:#94b1bd;font-size:9px;letter-spacing:2.5px}
.table-turn-pill{background:#5bdcc515;color:#9fffe9;border-color:#67d6c435}.profile-copy small,.table-opponent-hand>span{color:#8ba8b8}.table-avatar{border-color:#ffffff6b;background:linear-gradient(130deg,#885b85,#323a63)}.own-profile .table-avatar{background:linear-gradient(130deg,#69c5ba,#23565e)}
.table-score i{background:#06152080;border-color:#819cac55;box-shadow:inset 0 1px 5px #0006}.table-score i span{color:#66838c}.table-score i.earned{box-shadow:0 0 12px #ffd87955}
.table-mat{border:1px solid #91b5c92e;border-radius:28px;background:radial-gradient(ellipse at 50% 12%,#70476c26,transparent 58%),radial-gradient(ellipse at 50% 88%,#3c9b9229,transparent 58%),linear-gradient(135deg,#172a3b,#102031 55%,#182f39);box-shadow:inset 0 0 60px #030a1555,0 15px 45px #0003}
.table-mat::before,.table-mat::after{width:75%;left:12%;top:-28%;border-color:#d8c49c16;box-shadow:0 0 0 18px #d8c49c05,0 0 0 19px #d8c49c14}.table-mat::after{left:12%;top:auto;right:auto;bottom:-28%}.table-ring{border-color:#c8b88922;box-shadow:0 0 0 18px #c8b88907,0 0 0 19px #c8b88918}.table-axis{border-color:#c8b88933!important}.mat-ball{color:#a2bccc12}
.table-slot{box-shadow:0 5px 12px #0006,0 0 0 1px #e6e3db26;transition:box-shadow .15s,filter .15s,translate .2s}.table-slot.occupied:hover{box-shadow:0 5px 18px #0008,0 0 0 1px #c4eadc99}
.table-slot.empty{background:linear-gradient(140deg,#ffffff05,#98ccd507)!important;border:1px solid #acc3d728!important;color:#8da9ba;box-shadow:inset 0 2px 12px #0002}.table-slot.empty::before{border-color:#c7d5e012}
.table-active::before{content:'';position:absolute;left:50%;top:50%;width:145%;height:92%;transform:translate(-50%,-50%);border-radius:50%;border:1px solid #65d6c230;box-shadow:0 0 18px #3cbdaa13,inset 0 0 16px #3cbdaa0e;pointer-events:none}.opponent-active::before{border-color:#eaa1bb30;box-shadow:0 0 18px #e78bac13,inset 0 0 16px #e78bac0e}
.table-hp{background:#102536f2;border-color:#a9c9d344;color:#f2fff9;box-shadow:0 2px 6px #0005;padding:3px 6px}.table-hp small{color:#a7c1ca}.table-hp-bar{height:4px;box-shadow:0 0 0 1px #0a1c28e6;background:linear-gradient(to right,var(--hp-color) calc(var(--hp)*100%),#243646 calc(var(--hp)*100%))}.table-attached .energy{box-shadow:0 2px 4px #0007;border-color:#d9edeea6}.table-attached small{background:#163043;color:#ceecea}
.table-center-label>.table-versus{font-size:12px;font-weight:750;letter-spacing:4px;color:#afbdc05c}.table-center-label #table-trainer-zone{visibility:hidden;opacity:0;position:absolute;left:50%;transform:translateX(-50%);transition:opacity .15s;white-space:nowrap}.table-center-label #table-trainer-zone.target{visibility:visible;opacity:1;background:#173f42f2;color:#b5ffee;border:1px solid #68d8be8c;box-shadow:0 0 20px #57d3b82b}
.table-play-area{z-index:0;background:radial-gradient(ellipse,#65e7cd20,transparent 70%);outline:1px dashed #6cd9c553}.table-piles .table-discard{color:#9cb3c0!important}.table-deck b{background:#193448;color:#e1f1f7;border-color:#95b1c34d}.table-deck{box-shadow:2px 2px 0 #698391,3px 3px 0 #1a3040,4px 4px 0 #a5b6bc,0 5px 8px #0005}
.table-controls{border-color:#a3d2d01a;background:linear-gradient(#10273500,#132e3833)}.table-caption{color:#a8c3ce}.table-energy-zone>b,.table-energy-zone b{color:#d1eae9}.table-energy-zone small{color:#95b8c0}.table-energy-zone #table-energy{background:radial-gradient(#7be8d82e,#162f3c);border-color:#87ddcd55;box-shadow:0 0 15px #70e4ce15,inset 0 0 8px #a0ffdc0c}
.table-root #table-end-turn{background:linear-gradient(140deg,#4fbaa9,#328e91);border:1px solid #9fffe54a;color:#f0fffa;box-shadow:0 3px 14px #0321225c}.table-root #table-end-turn:disabled{background:#253846;border-color:#71899333;color:#8da5af;opacity:.65}
.table-hand-area{height:var(--hand-area);background:linear-gradient(#132c3933,#0c1828e8 75%);border-color:#b0d9d126;box-shadow:0 -8px 30px #030a141a}.table-hand-card{box-shadow:0 4px 10px #0008,0 0 0 1px #c9e2e11a;transition:transform .18s,top .18s,box-shadow .18s}.table-hand-card.playable{box-shadow:0 0 0 1px #8ee7cd99,0 3px 10px #0009}.table-hand-card.selected{top:-42px;transform:translateX(-50%) rotate(0) scale(1.28);z-index:25;box-shadow:0 0 0 2px #a7ffe7,0 0 28px #5bd9c35c,0 12px 24px #0009}.table-hand-card:focus-visible{z-index:26}
.table-slot.target{animation:none;box-shadow:0 0 0 2px #8af6d8,0 0 20px #60dfbb4d}.table-slot.empty.target{background:#4ad3ac17!important}.table-slot.empty.target .slot-label{color:#a4ffe4}.table-slot.hover-target{translate:0 -3px;box-shadow:0 0 0 3px #f0fff7,0 0 0 5px #54d6ac,0 0 30px #4bd7b477!important}
.table-drag-ghost{transform:translate(-50%,-65%) rotate(var(--drag-angle,-3deg));filter:drop-shadow(0 18px 14px #0008)}
.table-aim{position:fixed;inset:0;width:100vw!important;height:100dvh!important;pointer-events:none;z-index:19;overflow:visible;filter:drop-shadow(0 0 5px #61dec788)}.table-aim>path{fill:none;stroke:#a8fff0bb;stroke-width:3;stroke-linecap:round;stroke-dasharray:5 7}
.table-turn-notice{background:linear-gradient(110deg,#132d4200,#132d42f2 20%,#132d42f2 80%,#132d4200);color:#b3fff0}.table-turn-notice small{color:#a3becb}
/* Ordinary card actions occupy a small dock; the playmat remains touchable. */
.table-context-overlay{inset:auto 0 0;display:flex;align-items:flex-end;background:none;backdrop-filter:none;pointer-events:none;z-index:30}
.table-context-overlay .table-choice{pointer-events:auto;display:grid;grid-template-columns:50px minmax(0,1fr);gap:6px 12px;max-width:620px;max-height:var(--hand-area);padding:12px 16px calc(12px + env(safe-area-inset-bottom));border:1px solid #9fc9cf55;border-bottom:0;border-radius:20px 20px 0 0;background:linear-gradient(130deg,#203c4efc,#102836fc);color:#ddf0f5;box-shadow:0 -12px 35px #0005;text-align:left}
.table-context-overlay .table-choice::before{display:none}.table-context-overlay .table-choice h3{grid-column:2;grid-row:1;margin:0 30px 2px 0;font-size:12px;line-height:1.5}.table-context-overlay .table-choice-card{grid-column:1;grid-row:1/4;width:50px;margin:0;align-self:center}.table-context-overlay .table-choice-options{grid-column:2;grid-row:2;display:flex;flex-direction:row;flex-wrap:wrap;gap:6px}.table-context-overlay .table-choice-options button{flex:1 1 120px;justify-content:flex-start;gap:7px;min-height:38px;padding:7px 10px;border-radius:10px;background:#122732;border-color:#8faebb55;color:#e4f3f9;font-size:11px;line-height:1.4}.table-context-overlay .table-choice-options button.action-attack{background:linear-gradient(120deg,#286b65,#23485e);border-color:#7bdac780}.action-symbol{font-size:18px;color:#a0f5db;font-style:normal}.action-damage{margin-left:auto;color:#fff4b7;font-size:20px}.table-context-overlay .table-choice-options img{width:25px;height:35px}.table-context-overlay .table-inspect{grid-column:2;margin:0;justify-self:start;font-size:10px!important;color:#9acccf!important;padding:4px!important}.table-context-overlay .table-choice-close{color:#c2dce3!important;top:2px;right:7px}.table-context-overlay .table-equipped-list{grid-column:1/-1;margin:0;background:#15313b;border-color:#6d919b55;padding:6px}.table-context-overlay .table-equipped-list h4{color:#dbbf83}
.table-context-overlay .table-choice:not(:has(.table-choice-card)){grid-template-columns:1fr}.table-context-overlay .table-choice:not(:has(.table-choice-card)) :is(h3,.table-choice-options,.table-inspect){grid-column:1}
.table-action-reveal{border-color:#a9cbd863;background:linear-gradient(135deg,#254359f7,#152a3ef7);box-shadow:0 12px 50px #0008}.table-reveal-copy small{color:#ecaec5}.table-reveal-copy b{color:#f2f8ff}.table-reveal-copy span{color:#bed5e4}.attack-reveal .table-reveal-copy b{color:#fff2bb}
.table-physical-flight{position:fixed;aspect-ratio:367/512;z-index:21;pointer-events:none;transform:translate(-50%,-50%);animation:physical-flight .36s cubic-bezier(.2,.65,.3,1) both;filter:drop-shadow(0 12px 10px #0007)}.table-physical-flight>img{width:100%;height:100%;object-fit:contain;border-radius:5px}.table-physical-flight.energy-flight{aspect-ratio:1;display:grid;place-items:center}.energy-flight>.energy{width:100%;height:100%;box-shadow:0 0 25px #a4ffeeaa}.card-in-flight{opacity:.4}.table-attack-ray{height:7px;background:linear-gradient(90deg,#63d9ff00,#c5fff2,#fff8c9);box-shadow:0 0 15px #a6ffe6,0 0 35px #72dbef77}.impact-fx{background:radial-gradient(ellipse,#fff8cdd9,#ffd78344 35%,transparent 70%);box-shadow:0 0 40px #ffdf8199}
@keyframes physical-flight{0%{transform:translate(-50%,-50%) rotate(-7deg) scale(.8);opacity:.7}35%{opacity:1}100%{transform:translate(calc(-50% + var(--fly-x)),calc(-50% + var(--fly-y))) rotate(0) scale(1);opacity:1}}
.table-wide:not(.table-landscape) .table-field{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) minmax(0,1.3fr) 26px minmax(0,1.3fr) minmax(0,1fr);gap:8px;padding:8px 0}.table-wide:not(.table-landscape) .table-bench{grid-column:1;gap:42px}.table-wide:not(.table-landscape) .opponent-bench{grid-row:1}.table-wide:not(.table-landscape) .own-bench{grid-row:5}.table-wide:not(.table-landscape) .table-active{grid-column:1;justify-self:center;margin:0;padding:10px 0}.table-wide:not(.table-landscape) .opponent-active{grid-row:2}.table-wide:not(.table-landscape) .own-active{grid-row:4}.table-wide:not(.table-landscape) .table-center-label{position:relative;grid-row:3;grid-column:1;top:auto;left:auto;width:auto;transform:none;justify-self:stretch}.table-wide:not(.table-landscape) .table-axis{left:18px;right:18px;top:50%;bottom:auto;border:0;border-top:1px solid}.table-wide:not(.table-landscape) .opponent-piles{left:auto;right:15%;top:30%}.table-wide:not(.table-landscape) .own-piles{left:15%;right:auto;top:70%}
@media(max-width:420px){.table-root{--hand-area:153px}.table-context-overlay .table-choice{padding:10px 12px;gap:4px 9px}.table-context-overlay .table-choice-options button{padding:6px 8px;min-height:34px}.table-context-overlay .table-choice-card{width:46px}.table-context-overlay .table-choice{grid-template-columns:46px minmax(0,1fr)}}
@media(max-height:720px){.table-root{--hand-area:126px}.table-hand-card.selected{top:-30px;transform:translateX(-50%) scale(1.18)}.table-context-overlay .table-choice{padding:8px 12px;gap:3px 8px}.table-context-overlay .table-choice-options button{min-height:32px;padding:5px 8px}.table-context-overlay .table-choice-card{width:40px}.table-context-overlay .table-choice{grid-template-columns:40px minmax(0,1fr)}}
@media(max-height:520px) and (min-width:650px){.table-hand-area{height:auto}.table-context-overlay{left:auto;right:15px;width:196px;bottom:0}.table-context-overlay .table-choice{max-height:80dvh;grid-template-columns:1fr}.table-context-overlay .table-choice :is(h3,.table-choice-options,.table-inspect){grid-column:1}.table-context-overlay .table-choice-card{display:none}.table-hand-card.selected{left:45%;top:calc(50% + var(--fan)*var(--fan-step-y,15px));transform:translate(-50%,-50%) scale(1.12)}.table-active::before{width:125%}}
@media(prefers-reduced-motion:reduce){.table-physical-flight,.table-aim{display:none}.table-slot.hover-target{translate:none}}

.table-game:not(.table-landscape) .table-field{grid-template-rows:minmax(0,1fr) minmax(0,var(--active-row,1.8fr)) 26px minmax(0,var(--active-row,1.8fr)) minmax(0,1fr)}
.table-mat::before,.table-mat::after{box-shadow:0 0 0 18px #d8c49c03,0 0 0 19px #d8c49c14}.table-ring{box-shadow:0 0 0 18px #c8b88903,0 0 0 19px #c8b88918}
.action-energy{display:flex;gap:2px;margin-bottom:3px}.action-energy .energy{width:13px;height:13px}.table-context-overlay .table-choice-options .action-attack>span{flex:1}
@media(min-width:900px) and (min-height:721px){.table-hp b{font-size:14px}.table-hp small{font-size:8px}.table-slot.empty .slot-label{font-size:9px}.table-attached .energy{width:16px;height:16px}}
/* A finished match still exposes history and export in the header. */
.table-head{z-index:41}.table-choice-overlay:not(.table-context-overlay){z-index:45}.table-result>div{background:linear-gradient(140deg,#25465a,#142b3c);border-color:#c2dacf55;color:#f0fbff;box-shadow:0 15px 70px #0008}.table-result b{color:#a1ffe3}.table-result>div>span{color:#ecd298}
