.app-main:has(.battle-app)>.container{padding:10px 18px}.app-main:has(.battle-app)>footer{display:none}.battle-topbar{padding:0 0 10px}.battle-topbar h1{font-size:15px}.battle-topbar .battle-eyebrow{font-size:8px}.battle-workspace{position:relative;padding-right:78px}.battle-sidebar{display:none}.battle-table{height:clamp(570px,calc(100dvh - 315px),900px);padding:0;border:3px solid #78829d;border-radius:48px;background:radial-gradient(ellipse at center,#463655 0,#202740 57%,#101b2c 100%);box-shadow:inset 0 0 0 8px #131c30,inset 0 0 0 10px #92acd52b,0 14px 45px #0006;overflow:visible}.battle-table:before{inset:13% 4%;border:2px solid #d5b5ff20;-webkit-clip-path:polygon(9% 0,91% 0,100% 21%,100% 79%,91% 100%,9% 100%,0 79%,0 21%);clip-path:polygon(9% 0,91% 0,100% 21%,100% 79%,91% 100%,9% 100%,0 79%,0 21%);border-radius:0;background:radial-gradient(ellipse at center,#a585b022,transparent 65%);pointer-events:none;z-index:-1}.battle-table-watermark{font-size:360px;color:#b89adb0b}.battle-player{position:relative;display:grid;grid-template-columns:140px minmax(0,1fr) 145px;grid-template-rows:42% 58%;padding:15px 30px;grid-gap:0 18px;gap:0 18px}.battle-player.upper{background:linear-gradient(180deg,#923d5525,transparent 65%);border-radius:43px 43px 0 0}.battle-player.lower{background:linear-gradient(0deg,#3979bc25,transparent 65%);border-radius:0 0 43px 43px}.battle-player-heading{position:absolute;left:20px;top:12px;z-index:3;gap:6px;padding:0;font-size:10px}.battle-player-heading strong{font-size:10px}.battle-avatar{width:25px;height:25px;border-radius:50%}.battle-player-heading button{font-size:9px;padding:3px 7px}.battle-player.lower .battle-player-heading{bottom:12px;margin:0}.battle-bench{grid-column:2;align-items:center;gap:clamp(12px,2vw,30px);border:1px solid #ffffff17;border-bottom:3px solid #b370873b;background:#11172969;border-radius:8px;padding:7px 12px;justify-self:center}.battle-player.lower .battle-bench{border-bottom:3px solid #62b0eb57}.battle-empty-slot,.battle-pokemon{width:clamp(64px,5.8vw,88px)}.battle-pokemon.is-active{width:clamp(110px,10vw,150px)}.battle-active-slot{grid-column:2;align-self:center;margin:0;z-index:2}.battle-active-slot:before{inset:-12px;border:1px solid #ffffff14;border-radius:12px;box-shadow:0 0 30px #ccb0ff08}.battle-active-slot>.battle-empty-slot{width:130px}.battle-pokemon>img{position:relative;z-index:2}.battle-app .battle-pokemon{background:none;isolation:isolate}.battle-behind{position:absolute;inset:0;z-index:0;pointer-events:none}.battle-behind img{display:block;width:100%;height:100%;filter:brightness(.65)}.battle-behind.tool{transform:translate(19px,-12px) rotate(8deg)}.battle-hp{z-index:4;bottom:auto;top:-6px;height:4px}.battle-hp-label{z-index:4;bottom:auto;top:-23px;color:#fff;font-size:11px;font-weight:800;text-shadow:0 1px 3px #000;background:#15243ad9;width:auto;padding:2px 6px;border-radius:5px;left:50%;transform:translateX(-50%);white-space:nowrap}.battle-energy-orbs{position:absolute;bottom:1px;left:0;right:0;z-index:4;display:flex;justify-content:center;gap:2px;flex-wrap:wrap;transform:translateY(40%);pointer-events:none}.battle-energy-orb{width:20px;height:20px;display:block;flex:none;border-radius:50%;background-size:240% auto;background-position:50% 43%;background-color:#605084;border:1px solid #fff8;box-shadow:0 2px 5px #000a}.battle-pokemon.is-active .battle-energy-orb{width:25px;height:25px}.battle-stage{z-index:4;font-size:10px}.battle-condition{z-index:4;font-size:9px}.battle-prizes{grid-column:1;grid-row:1/3;align-self:center;width:100%;transform:rotate(-5deg)}.battle-prizes>div{grid-template-columns:repeat(3,30px);gap:5px;min-height:100px;padding:10px;border:solid #e28d9a75;border-width:1px 1px 3px;background:#451e3933;transform:skewY(-3deg)}.battle-mini-back{width:30px;height:43px;opacity:1;background:radial-gradient(circle,#bd718e 0,#3f2550 18%,#182439 22%,#1d2138 60%);border:1px solid #aa98c9;box-shadow:3px 2px 0 #162336,4px 3px 0 #a8a1c555}.lower .battle-prizes>div{border-color:#69bae0;background:#10416233}.lower .battle-mini-back{background:radial-gradient(circle,#6cd7ef 0,#255e84 18%,#182439 22%,#1d2138 60%)}.battle-piles{grid-column:3;grid-row:1/3;align-self:center;display:flex;align-items:center;justify-content:center;border:solid #e28d9a75;border-width:1px 1px 3px;background:#451e3933;padding:12px 8px;border-radius:5px;transform:rotate(5deg)}.lower .battle-piles{border-color:#69bae0;background:#10416233;transform:rotate(-5deg)}.battle-pile{width:53px;gap:0}.battle-card-back,.battle-pile-icon,.battle-pile>img{width:53px;height:74px;border-radius:4px}.battle-pile>img{object-fit:contain}.battle-card-back{background:radial-gradient(circle,#9c83d8 0,#383154 20%,#162a45 22%,#17263b 60%);border-color:#8c9ebd;font-size:10px}.battle-pile strong{position:absolute;bottom:-9px;right:-6px;border-radius:4px;background:#223653;border:1px solid #95aacb75;color:white;padding:1px 5px;font-size:12px}.battle-centerline{position:absolute;top:50%;left:0;right:0;height:0;min-height:0;margin:0;border:0;background:none;pointer-events:none;z-index:3}.battle-centerline>span{position:absolute;left:30px;font-size:8px;letter-spacing:1px;background:#1b2136;padding:5px 8px;border-radius:4px}.battle-stadium-empty{display:none}.battle-app button.battle-stadium{pointer-events:auto;right:65px;width:52px;padding:0;border:0;top:-37px}.battle-stadium img{height:74px;width:52px}.battle-controls{justify-content:center;padding:8px 0 0;font-size:10px;gap:8px}.battle-controls label{margin-right:0}.battle-controls button{font-size:10px;padding:5px 10px}.battle-hand{justify-content:center;min-height:156px;padding:20px 15px 12px;gap:0;border:0;overflow-x:auto;overflow-y:clip;background:none}.battle-app button.battle-hand-card{width:96px;margin-left:-15px;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:-webkit-grab;cursor:grab;transition:filter .15s,box-shadow .15s,transform .15s}.battle-hand-card:first-child{margin-left:0!important}.battle-app button.battle-hand-card:hover{z-index:5;transform:translateY(-12px) scale(1.05)}.battle-hand-card.is-drag-source{opacity:.25}.battle-playable-dot{display:none}.battle-playable-arrow{position:absolute;top:-16px;left:50%;transform:translateX(-50%);color:#b8ffff;font-size:22px;text-shadow:0 0 8px #56e6e4;pointer-events:none}.battle-app .is-usable{box-shadow:0 0 0 1px #9ffaffbb,0 0 12px #78ebd467,0 3px 14px #0007}.battle-app .drop-ready{box-shadow:0 0 0 3px #a9ffe8,0 0 30px #74e8cd88;border-color:#a9ffe8;animation:battle-target-pulse 1s ease-in-out infinite}.battle-turn-limits{display:none}.battle-other-hand{justify-content:center}.battle-rail{position:absolute;right:0;top:0;bottom:160px;width:68px;justify-content:center;gap:18px}.battle-rail,.battle-score{display:flex;flex-direction:column;align-items:center}.battle-score>span{font-size:8px;letter-spacing:1px;color:#9aaac1}.battle-score b{font-size:30px;line-height:1;border-radius:50%;background:#317eb341;border:2px solid #83d6ed;width:48px;height:48px;display:grid;place-items:center;color:#c7f5ff}.battle-score b.opponent{border-color:#e79db2;background:#ac3d643b;color:#ffcbde}.battle-app .battle-end-turn{padding:12px 4px;background:linear-gradient(135deg,#e7e4ff,#a0ddeb);color:#1e2543;font-size:10px;font-weight:900;border:0;-webkit-clip-path:polygon(15% 0,85% 0,100% 22%,100% 78%,85% 100%,15% 100%,0 78%,0 22%);clip-path:polygon(15% 0,85% 0,100% 22%,100% 78%,85% 100%,15% 100%,0 78%,0 22%);border-radius:0;width:68px}.battle-end-turn span{display:block;font-size:20px}.battle-rail>button:last-child{width:45px;height:42px;padding:0;font-size:23px;background:#1c2b45}.battle-history-drawer{position:absolute;right:76px;top:0;bottom:0;width:320px;z-index:9;box-shadow:-15px 0 50px #0007;border:1px solid #b9a3ff45;border-radius:14px;background:#121a2cf5;padding:14px}.battle-history-drawer .battle-log{padding:10px 0;background:none;border:0;height:100%}.battle-log-scroll{max-height:calc(100% - 40px);height:100%;padding:5px}.battle-drawer-close{position:absolute;top:5px;right:5px;padding:0 6px!important;z-index:1}.battle-history-drawer .battle-inspector-title{padding-right:25px}.battle-card-overlay{background:#080e20a6;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.battle-card-dialog{width:min(850px,94vw);max-height:90dvh;overflow:auto;border-radius:22px;box-shadow:0 30px 100px #0009}.battle-card-dialog .battle-inspector{display:grid;grid-template-columns:minmax(180px,1fr) minmax(230px,1fr);grid-gap:0 28px;gap:0 28px;padding:28px;background:linear-gradient(145deg,#263450f5,#131a2afc);border:1px solid #c4b3ff50;border-radius:22px}.battle-card-dialog .battle-inspector-title{grid-column:1/3}.battle-card-dialog .battle-inspector-art{grid-column:1;grid-row:2/20;width:100%;max-width:330px;align-self:start;position:-webkit-sticky;position:sticky;top:0;margin:0 auto}.battle-card-dialog .battle-inspector-art img{width:100%;box-shadow:0 15px 40px #0008}.battle-card-dialog .battle-attachments,.battle-card-dialog .battle-effect,.battle-card-dialog .battle-inspector>h2,.battle-card-dialog .battle-inspector>p,.battle-card-dialog .battle-inspector>small{grid-column:2}.battle-card-dialog .battle-effect h3{font-size:15px}.battle-card-dialog .battle-effect p,.battle-card-dialog .battle-rule{font-size:12px}.battle-card-dialog .battle-effect button{font-size:12px;padding:10px}.battle-card-dialog .battle-effect button:not(:disabled){background:#a5f3e51c;border-color:#96eedd;color:#c4ffee;box-shadow:0 0 14px #8de2d320}.battle-attachments button{width:52px}.battle-drag-ghost{position:fixed;pointer-events:none;z-index:1500;width:130px;transform:translate(-50%,-55%) rotate(4deg);filter:drop-shadow(0 12px 18px #0008)}.battle-drag-ghost img{width:100%;border-radius:7px;outline:2px solid #b1ffee}.battle-action-flash{font-size:12px;padding:10px 16px;background:#242035c9}.battle-action-flash>span{font-size:20px}@keyframes battle-target-pulse{50%{filter:brightness(1.18)}}.battle-drag-ghost{will-change:transform;filter:none;contain:layout style}.battle-drag-ghost img{box-shadow:0 12px 18px #0008}@media(hover:none),(pointer:coarse){.battle-card-overlay,.battle-history-drawer,.battle-options-drawer{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:#111a2af5}.battle-app .drop-ready,.battle-field-arrow{animation:none!important}}@media(max-height:800px) and (min-width:1001px){.battle-table{height:520px}.battle-pokemon.is-active{width:112px}.battle-empty-slot,.battle-pokemon{width:64px}.battle-hand{min-height:130px}.battle-app button.battle-hand-card{width:80px}.battle-player{grid-template-rows:42% 58%;padding-top:9px;padding-bottom:9px}}@media(max-width:1100px){.battle-player{grid-template-columns:100px minmax(0,1fr) 105px;padding:18px;gap:0 10px}.battle-bench{gap:14px}.battle-empty-slot,.battle-pokemon{width:60px}.battle-pokemon.is-active{width:110px}.battle-prizes>div{grid-template-columns:repeat(3,22px);padding:6px;gap:3px;min-height:80px}.battle-mini-back{width:22px;height:32px}.battle-piles{gap:6px;padding:8px 4px}.battle-pile{width:40px}.battle-card-back,.battle-pile-icon,.battle-pile>img{width:40px;height:56px}.battle-stadium{right:25px!important}}@media(max-width:650px){.app-main:has(.battle-app)>.container{padding:8px}.battle-topbar{flex-direction:row;align-items:center;gap:6px}.battle-topbar h1{font-size:11px;max-width:150px}.battle-top-actions{justify-content:flex-end;gap:4px}.battle-top-actions select{display:none}.battle-top-actions button{font-size:9px;padding:5px}.battle-eyebrow{font-size:7px!important;letter-spacing:1px}.battle-workspace{padding-right:46px}.battle-table{height:570px;border-radius:24px;border-width:2px;box-shadow:inset 0 0 0 4px #131c30}.battle-player{grid-template-columns:40px minmax(0,1fr) 43px;padding:16px 8px;gap:0 4px}.battle-bench{gap:5px;padding:5px 3px}.battle-empty-slot,.battle-pokemon{width:clamp(28px,6.7vw,43px)}.battle-active-slot>.battle-empty-slot,.battle-pokemon.is-active{width:88px}.battle-prizes>div{grid-template-columns:repeat(2,15px);gap:2px;padding:2px;min-height:72px}.battle-mini-back{width:15px;height:22px}.battle-piles{flex-direction:column;gap:15px;padding:6px 2px}.battle-pile{width:30px}.battle-card-back,.battle-pile-icon,.battle-pile>img{width:30px;height:42px}.battle-pile strong{font-size:9px;right:-3px}.battle-player-heading{left:9px;top:8px;gap:4px}.battle-player-heading strong{display:none}.battle-player-heading button{font-size:8px;padding:2px}.battle-player.lower .battle-player-heading{bottom:6px}.battle-avatar{width:19px;height:19px;font-size:8px}.battle-centerline>span{left:8px;font-size:6px;padding:3px;letter-spacing:0;margin:0}.battle-app button.battle-stadium{right:5px!important;width:30px;top:-22px}.battle-stadium img{height:42px;width:30px}.battle-rail{width:40px;gap:14px;bottom:155px}.battle-score b{width:34px;height:34px;font-size:23px}.battle-score>span{font-size:6px}.battle-app .battle-end-turn{width:42px;font-size:7px;padding:10px 0}.battle-rail>button:last-child{width:32px;height:32px;font-size:19px}.battle-hp-label{font-size:8px;top:-17px;padding:1px 3px}.battle-energy-orb{width:13px;height:13px}.battle-pokemon.is-active .battle-energy-orb{width:19px;height:19px}.battle-controls{gap:4px}.battle-controls label{width:auto;order:0;font-size:8px}.battle-controls button{font-size:8px;padding:4px 6px}.battle-app button.battle-hand-card{width:66px;margin-left:-15px}.battle-hand{min-height:125px;padding:18px 10px 12px;justify-content:safe center}.battle-history-drawer{right:44px;width:min(280px,calc(100vw - 65px))}.battle-card-dialog .battle-inspector{display:block;padding:18px}.battle-card-dialog .battle-inspector-art{position:static;width:180px;margin-bottom:16px}.battle-card-dialog .battle-effect h3{font-size:13px}.battle-card-dialog .battle-effect p{font-size:11px}.battle-behind.tool{transform:translate(9px,-8px) rotate(8deg)}}.battle-table{container-type:size}.battle-player.lower{grid-template-rows:58% 42%}@media(min-width:651px){.battle-empty-slot,.battle-pokemon{width:min(88px,12cqh)}.battle-pokemon.is-active{width:min(150px,18cqh)}}@media(max-width:650px){.battle-table{height:clamp(460px,calc(100dvh - 235px),700px)}.battle-player.upper{grid-template-rows:42% 58%}.battle-player.lower{grid-template-rows:58% 42%}.battle-piles,.battle-prizes{grid-row:1;align-self:start}.battle-player.lower .battle-piles,.battle-player.lower .battle-prizes{grid-row:2;align-self:end}.battle-prizes>div{display:flex;flex-direction:column;align-items:center;padding:8px 3px 5px;min-height:0}.battle-mini-back{width:28px;height:39px;margin-top:-24px}.battle-mini-back:first-child{margin-top:0}.battle-active-slot{align-self:end;margin-bottom:14px}.battle-player.lower .battle-active-slot{align-self:start;margin-bottom:0;margin-top:14px}.battle-pokemon.is-active{width:min(108px,22cqh)}.battle-table{height:clamp(360px,calc(100dvh - 300px),700px)}.battle-app button.battle-hand-card{margin-left:-24px}.battle-bench{padding-top:13px}.battle-player-heading{top:5px}.battle-player.lower .battle-player-heading{bottom:4px}.battle-hand{padding-left:5px;padding-right:5px;min-height:116px}}@media(max-width:650px){.battle-hp-label{z-index:5}}@media(prefers-reduced-motion:reduce){.battle-app *{animation:none!important;transition:none!important}}@media(max-width:360px){.battle-bench{gap:3px}.battle-empty-slot,.battle-pokemon{width:25px}.battle-pokemon.is-active{width:min(90px,22cqh)}.battle-app button.battle-hand-card{width:60px;margin-left:-25px}.battle-topbar h1{max-width:130px}.battle-top-actions button{font-size:8px}}.battle-app .battle-end-turn{display:block;text-align:center;overflow:hidden}.battle-end-turn span{width:100%}.battle-pokemon{touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.battle-pokemon.is-drag-source{opacity:.3}.battle-bench.drop-ready{border-color:#a9ffe8;box-shadow:0 0 0 2px #a9ffe8,0 0 25px #74e8cd55}.battle-app .battle-pokemon.field-eligible{box-shadow:0 0 0 3px #a4ffe3,0 0 28px #64edc988;cursor:pointer;z-index:5}.battle-app .battle-pokemon.field-picked{box-shadow:0 0 0 3px #fff0b0,0 0 28px #ffe99488}.battle-field-arrow{position:absolute;top:-44px;left:50%;transform:translateX(-50%);color:#bdffe9;text-shadow:0 0 12px #63ffd9,0 2px 4px #000;font-size:28px;font-weight:900;z-index:8;pointer-events:none;animation:battle-field-point 1s ease-in-out infinite}.battle-field-choice{position:absolute;top:50%;left:70%;transform:translate(-50%,-50%);z-index:7;display:flex;flex-direction:column;align-items:center;gap:7px;width:min(260px,42%);pointer-events:none}.battle-field-choice p{font-size:12px;line-height:1.45;margin:0;padding:9px 12px;background:#0f1b30ee;border:1px solid #a4ffe35c;border-radius:10px;color:#d7fff3;text-align:center;box-shadow:0 6px 20px #0005}.battle-field-source{width:64px;transform:rotate(5deg);filter:drop-shadow(0 6px 12px #0009)}.battle-field-source img{width:100%;display:block;border-radius:4px}.battle-field-choice button{pointer-events:auto;font-size:11px;padding:7px 12px}.battle-table:has(.battle-field-choice) .battle-action-flash{display:none}@keyframes battle-field-point{50%{margin-top:-5px}}@media(max-width:650px){.battle-field-choice{left:50%;width:78%;gap:4px}.battle-field-choice p{font-size:9px;padding:5px 8px;max-width:100%}.battle-field-source{width:38px}.battle-field-arrow{top:-35px;font-size:23px}.battle-field-choice button{font-size:9px;padding:5px 8px}}@media(prefers-reduced-motion:reduce){.battle-field-arrow{animation:none}}.battle-field-choice{translate:-50% -50%;transform:none}.battle-field-choice:has(.battle-field-source){left:50%}.app-shell:has(.battle-app){display:block}.app-shell:has(.battle-app) .sidebar-backdrop,.app-shell:has(.battle-app) .topbar,.app-shell:has(.battle-app)>.sidebar{display:none!important}.app-main:has(.battle-app){width:100%;min-height:0}.app-main:has(.battle-app)>.container{padding:0;max-width:none;margin:0;width:100%}.battle-app{height:100dvh;padding:8px;background:#0b1323;overflow:hidden}.battle-workspace{height:100%;padding:0;display:block}.battle-main{height:100%;display:flex;flex-direction:column;min-height:0}.battle-table{height:auto;min-height:0;flex:1 1;width:100%;border-radius:28px;overflow:hidden}.battle-player{height:50%;grid-template-columns:1fr;grid-template-rows:46% 54%;padding:40px 20px 24px;gap:0}.battle-player.lower{grid-template-rows:54% 46%;padding:24px 20px 20px}.battle-player.upper{border-radius:24px 24px 0 0}.battle-player.lower{border-radius:0 0 24px 24px}.battle-bench{grid-column:1;grid-row:1;align-self:start;gap:clamp(10px,2vw,28px);padding:20px 18px 12px;width:max-content;max-width:100%}.battle-player.lower .battle-bench{grid-row:2;align-self:end}.battle-empty-slot,.battle-pokemon{width:min(110px,14cqh)}.battle-active-slot>.battle-empty-slot,.battle-pokemon.is-active{width:min(176px,20cqh)}.battle-active-slot{grid-column:1;grid-row:2;align-self:end;margin:0 0 10px;justify-self:center}.battle-player.lower .battle-active-slot{grid-row:1;align-self:start;margin:10px 0 0}.battle-piles,.battle-prizes{position:absolute;grid-area:auto;top:62%;translate:0 -50%;align-self:auto;width:auto}.battle-player.lower .battle-piles,.battle-player.lower .battle-prizes{grid-area:auto;top:38%;align-self:auto}.battle-prizes{left:6%;width:110px}.battle-piles{right:6%;gap:12px}.battle-player-heading,.battle-player.lower .battle-player-heading{left:16px;top:10px;bottom:auto;margin:0}.battle-player.lower .battle-player-heading{top:auto;bottom:8px}.battle-player-heading button{display:none}.battle-field-toolbar{position:absolute;inset:8px 12px auto;display:flex;align-items:center;justify-content:space-between;pointer-events:none;z-index:10}.battle-field-toolbar>span{margin-left:92px;font-size:10px;letter-spacing:2px;color:#d5c7e5}.battle-field-toolbar b{font-weight:500;letter-spacing:0;color:#9ca5bf}.battle-field-toolbar>div{display:flex;gap:6px;pointer-events:auto}.battle-field-toolbar button{width:34px;height:32px;padding:0;font-size:19px;background:#111c31d9}.battle-rail{right:16px;top:50%;bottom:auto;translate:0 -50%;width:auto;flex-direction:row;gap:10px;z-index:6}.battle-score{flex-direction:row;gap:5px}.battle-score>span{display:none}.battle-score b{width:33px;height:33px;font-size:21px}.battle-app .battle-end-turn{width:60px;font-size:8px;padding:7px 2px}.battle-end-turn span{font-size:16px}.battle-rail>.battle-end-turn:last-child{width:60px;height:auto;font-size:8px;background:linear-gradient(135deg,#e7e4ff,#a0ddeb)}.battle-centerline>span{left:18px;translate:0 -50%;margin:0}.battle-app button.battle-stadium{right:auto!important;left:25%;top:-32px;width:44px}.battle-stadium img{width:44px;height:62px}.battle-hand{flex:none;height:clamp(110px,19dvh,180px);min-height:0;padding:23px 16px 8px;justify-content:safe center;background:radial-gradient(ellipse at bottom,#38578f2b,transparent 75%)}.battle-app button.battle-hand-card{width:clamp(65px,12dvh,108px)!important;margin-left:-12px}.battle-other-hand{position:absolute;left:12px;right:12px;bottom:0;background:#172337f5;z-index:12;padding:12px;border-radius:14px}.battle-history-drawer,.battle-options-drawer{position:absolute;right:12px;top:48px;bottom:auto;max-height:calc(100% - 60px);overflow:auto;z-index:20;width:min(350px,calc(100vw - 32px));padding:22px;background:#121d30f5;border:1px solid #a4b4da40;border-radius:16px;box-shadow:0 15px 60px #0009;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.battle-history-drawer{height:calc(100% - 62px)}.battle-options-drawer .battle-topbar{display:block;padding:0 0 14px}.battle-options-drawer .battle-topbar h1{max-width:none;font-size:18px;margin:10px 0 16px}.battle-options-drawer .battle-top-actions{justify-content:flex-start;gap:8px}.battle-options-drawer .battle-top-actions select{display:block}.battle-options-drawer .battle-controls{justify-content:flex-start;gap:10px;padding:15px 0;border-block:1px solid #ffffff15}.battle-options-drawer .battle-controls label{width:100%;font-size:11px}.battle-options-drawer .battle-controls button{font-size:11px;padding:8px}.battle-options-drawer a{display:block;font-size:12px;color:#b8dce9;margin-top:18px}.battle-menu-status{display:grid;grid-gap:8px;gap:8px;color:#b3bdd3;font-size:11px;padding-top:16px}.battle-search-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px;background:#ffffff07;border-radius:10px;font-size:12px}.battle-search-tools label{display:flex;align-items:center;gap:8px}.battle-search-tools input{accent-color:#b9a3ff}.battle-search-tools select{background:#182238;color:#eee;padding:8px;border-radius:6px;border:1px solid #ffffff25}.battle-search-tools small{width:100%;color:#a8acc0}.battle-search-entry{display:contents}.battle-search-category{width:100%;margin:12px 0 0;border-bottom:1px solid #ffffff18;padding:0 4px 8px;font-size:13px;color:#b9d6e9}.battle-choice-grid button:disabled{opacity:.6;cursor:default;filter:saturate(.4)}@media(max-width:650px){.battle-app{padding:3px}.battle-table{border-radius:18px}.battle-player{padding:38px 5px 16px;grid-template-rows:45% 55%}.battle-player.lower{padding:16px 5px 24px;grid-template-rows:55% 45%}.battle-bench{gap:6px;padding:17px 7px 10px;max-width:100%;width:max-content}.battle-empty-slot,.battle-pokemon{width:min(16vw,12.5cqh)}.battle-active-slot>.battle-empty-slot,.battle-pokemon.is-active{width:min(29vw,20cqh)}.battle-active-slot{margin-bottom:12px}.battle-player.lower .battle-active-slot{margin-top:12px}.battle-prizes{left:4%;width:auto}.battle-prizes>div{padding:8px 5px 6px}.battle-mini-back{width:34px;height:47px;margin-top:-28px}.battle-piles{right:5%;padding:6px 4px;gap:12px}.battle-pile{width:35px}.battle-card-back,.battle-pile-icon,.battle-pile>img{width:35px;height:49px}.battle-field-toolbar{inset:6px 7px auto}.battle-field-toolbar>span{margin-left:29px;font-size:8px;letter-spacing:1px}.battle-player-heading{left:8px;top:8px}.battle-player.lower .battle-player-heading{left:8px;bottom:5px}.battle-rail{right:8px;gap:5px;flex-direction:column}.battle-score{gap:4px}.battle-score b{width:25px;height:25px;font-size:17px}.battle-rail>.battle-end-turn:last-child{width:54px;font-size:7px;padding:6px 2px}.battle-end-turn span{font-size:13px}.battle-centerline>span{left:8px;font-size:7px;padding:4px;max-width:85px}.battle-app button.battle-stadium{left:20%;width:30px;top:-21px}.battle-stadium img{width:30px;height:42px}.battle-hand{height:clamp(100px,17dvh,145px);padding:21px 6px 6px}.battle-app button.battle-hand-card{width:clamp(62px,11dvh,88px)!important;margin-left:-18px}.battle-hp-label{font-size:9px}.battle-energy-orb{width:16px;height:16px}.battle-pokemon.is-active .battle-energy-orb{width:21px;height:21px}.battle-field-choice p{max-width:78%}.battle-field-choice{width:78%}.battle-history-drawer,.battle-options-drawer{right:7px;top:44px}.battle-field-arrow{top:-33px}}@media(max-height:650px){.battle-player{padding-top:34px;padding-bottom:16px}.battle-player.lower{padding-top:16px;padding-bottom:18px}.battle-bench{padding-top:16px;padding-bottom:8px}.battle-empty-slot,.battle-pokemon{width:min(16vw,11cqh)}.battle-active-slot>.battle-empty-slot,.battle-pokemon.is-active{width:min(29vw,18cqh)}}@media(min-width:651px){.battle-hand{height:clamp(100px,16dvh,150px)}.battle-player{padding:34px 20px 6px}.battle-player.lower{padding:6px 20px 24px}.battle-empty-slot,.battle-pokemon{width:min(110px,calc((50cqh - 82px)/3.84))}.battle-active-slot>.battle-empty-slot,.battle-pokemon.is-active{width:min(190px,calc((50cqh - 82px)/2.195))}.battle-player.upper .battle-active-slot{margin-bottom:10px}.battle-player.lower .battle-active-slot{margin-top:10px}}.battle-player.upper{grid-template-rows:auto minmax(0,1fr)}.battle-player.lower{grid-template-rows:minmax(0,1fr) auto}.battle-active-slot{display:flex}@media(max-width:650px){.battle-player.upper{padding-top:32px;padding-bottom:0}.battle-player.lower{padding-top:0;padding-bottom:22px}.battle-active-slot>.battle-empty-slot,.battle-pokemon.is-active{width:clamp(55px,calc((50cqh - 162px)/1.396),29vw)}}@media(min-width:651px){.battle-active-slot>.battle-empty-slot,.battle-pokemon.is-active{width:min(190px,calc((50cqh - 112px)/2.195))}.battle-app button.battle-hand-card{width:clamp(55px,calc((16dvh - 32px)/1.396),84px)!important}}@media(max-width:650px){.battle-app button.battle-hand-card{width:clamp(55px,calc((17dvh - 28px)/1.396),82px)!important}}.battle-inventory-overlay{padding:12px}.battle-choice.battle-inventory{width:min(1240px,100%);height:94dvh;padding:16px 20px;display:flex;flex-direction:column;border-radius:18px}.battle-inventory-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex:none}.battle-inventory-heading>div{min-width:0}.battle-inventory-heading .battle-eyebrow{font-size:8px;letter-spacing:1px}.battle-inventory h2{font-size:13px;line-height:1.35;margin:5px 0;letter-spacing:0}.battle-inventory-heading p{font-size:9px;color:#a5aec3;margin:3px 0 8px}.battle-inventory-heading>button{padding:0;width:30px;height:30px;font-size:22px;background:transparent}.battle-inventory .battle-search-tools{justify-content:flex-start;padding:8px 0;gap:18px;background:none;flex:none}.battle-app .battle-slide-toggle{display:inline-flex;align-items:center;gap:7px;padding:2px 0;border:0;background:none;font-size:10px;color:#bbc6da}.battle-slide-toggle small{width:auto;color:#8995af;font-size:9px}.battle-toggle-track{display:block;width:28px;height:16px;border-radius:12px;background:#364054;box-shadow:inset 0 0 0 1px #ffffff20;position:relative}.battle-toggle-track i{position:absolute;left:3px;top:3px;width:10px;height:10px;border-radius:50%;background:#a5b0c4;transition:translate .18s,background .18s}.battle-slide-toggle[aria-checked=true] .battle-toggle-track{background:#718f99}.battle-slide-toggle[aria-checked=true] i{translate:12px 0;background:#d5fff0}.battle-inventory .battle-catalog-grid,.battle-inventory .battle-choice-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));grid-gap:10px;gap:10px;align-content:start;margin:8px 0;min-height:0;max-height:none;flex:1 1;overflow:auto;padding:5px 6px 10px;overscroll-behavior:contain}.battle-inventory .battle-choice-grid button{width:100%;padding:0!important;border:1px solid transparent!important;background:transparent!important;border-radius:6px!important;gap:0;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-touch-callout:none}.battle-inventory .battle-choice-grid button.chosen{border-color:#bbffe8!important;box-shadow:0 0 0 2px #91edd7,0 0 18px #81e2c330}.battle-inventory .battle-choice-grid button[aria-disabled=true]{filter:saturate(.6);cursor:zoom-in;opacity:.85}.battle-inventory .battle-choice-grid img{display:block;width:100%;border-radius:5px}.battle-inventory .battle-search-category{grid-column:1/-1;font-size:10px;margin:5px 0 0;padding:0 0 5px;letter-spacing:1px;color:#9aabc4}.battle-inventory .battle-choice-footer{flex:none;flex-direction:row;justify-content:flex-end;align-items:center;padding:8px 0 0;gap:10px}.battle-choice-footer small{margin-right:auto;font-size:9px;color:#9aabc4}.battle-inventory .battle-choice-footer button{font-size:10px;padding:6px 10px;background:transparent}.battle-search-empty{grid-column:1/-1;font-size:11px;padding:20px;color:#b2bad0}.battle-inventory .battle-choice-grid.text-only{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start}.battle-inventory .battle-choice-grid.text-only button{width:auto;min-width:140px;padding:16px!important}.battle-inventory .battle-catalog-grid button{touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-touch-callout:none}.battle-inventory .battle-catalog-grid span{font-size:8px;margin:4px 0}.battle-inventory>a{font-size:10px;color:#9faec8}.battle-inventory-preview{z-index:1250}.battle-inventory-preview .battle-inspector-art{max-width:390px}.battle-resume-choice{position:fixed;z-index:1050;left:50%;bottom:calc(18dvh + 12px);translate:-50% 0;display:flex;gap:10px;align-items:center;white-space:nowrap;background:#172d3cf5!important;border-color:#a0ebd4!important;box-shadow:0 5px 30px #0009;font-size:12px!important;padding:10px 15px!important}.battle-resume-choice span{font-size:9px;color:#98c6bd}.battle-field-choice .battle-inline-minimize{position:absolute;right:0;top:-15px;padding:0;width:24px;height:24px;font-size:19px;background:#172437}@media(max-width:650px){.battle-inventory-overlay{padding:5px}.battle-choice.battle-inventory{height:97dvh;max-height:97dvh;padding:12px 10px;border-radius:14px}.battle-inventory h2{font-size:11px}.battle-inventory-heading p{font-size:8px}.battle-inventory .battle-catalog-grid,.battle-inventory .battle-choice-grid{grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px;padding:4px}.battle-inventory-preview .battle-inspector-art{width:min(270px,70vw)}.battle-resume-choice{font-size:11px!important;gap:7px;max-width:94vw}.battle-field-choice .battle-inline-minimize{right:-15px}}.battle-app.is-opening .battle-hand{display:none}.battle-opening-hand,.battle-opening-sorteio{position:absolute;inset:48px 20px 20px;z-index:8;border-radius:18px;background:radial-gradient(ellipse at 50% 35%,#4f487d99,transparent 65%),#111d30f5;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px;overflow:auto}.battle-opening-sorteio h2{font-size:clamp(23px,3vw,38px);letter-spacing:-1px;margin:15px 0;text-align:center}.battle-opening-sorteio p{font-size:13px;max-width:380px;text-align:center;line-height:1.6;color:#bdc8dd}.battle-opening-options{display:flex;gap:12px;margin-top:14px;flex-wrap:wrap;justify-content:center}.battle-opening-options button{min-width:120px;padding:13px 22px}.battle-dice-stage{perspective:600px;width:130px;height:145px;display:grid;place-items:center;position:relative}.battle-dice-stage:after{content:"";position:absolute;width:95px;height:20px;border-radius:50%;bottom:9px;background:#0005;filter:blur(8px)}.battle-dice{width:72px;height:72px;position:relative;transform-style:preserve-3d;z-index:1}.battle-dice-face{position:absolute;inset:0;border-radius:12px;border:2px solid #c5d3e8;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);grid-gap:5px;gap:5px;padding:11px;background:linear-gradient(135deg,#fff,#b9d7df);-webkit-backface-visibility:hidden;backface-visibility:hidden;box-shadow:inset 0 0 12px #788fa344}.battle-dice-face i{border-radius:50%;display:block}.battle-dice-face .pip{background:#243555;box-shadow:inset 0 2px 3px #0004}.battle-dice-face.face-0{transform:translateZ(36px)}.battle-dice-face.face-1{transform:rotateY(90deg) translateZ(36px)}.battle-dice-face.face-2{transform:rotateY(180deg) translateZ(36px)}.battle-dice-face.face-3{transform:rotateY(-90deg) translateZ(36px)}.battle-dice-face.face-4{transform:rotateX(90deg) translateZ(36px)}.battle-dice-face.face-5{transform:rotateX(-90deg) translateZ(36px)}.battle-opening-hand{justify-content:center;gap:20px}.battle-opening-hand header{width:100%;max-width:1060px;text-align:center}.battle-opening-hand h2{font-size:25px;margin:10px 0}.battle-opening-hand p{font-size:12px;color:#b6c3d8;line-height:1.5;margin:0}.battle-opening-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));align-content:center;grid-gap:14px;gap:14px;width:min(1060px,100%);padding:20px 4px;overflow:auto;min-height:0}.battle-app .battle-opening-cards button{position:relative;padding:0;background:none;border:0;border-radius:6px;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-touch-callout:none}.battle-opening-cards img{display:block;width:100%;aspect-ratio:245/342;border-radius:6px}.battle-opening-cards .opening-muted{filter:saturate(.55);opacity:.75}.battle-opening-cards .chosen{outline:3px solid #c7ffe8;outline-offset:2px}.battle-opening-cards button>span{position:absolute;top:-22px;left:50%;translate:-50% 0;color:#c1ffeb;font-size:23px;text-shadow:0 0 14px #69ffc0}.battle-opening-hand footer{display:flex;gap:14px;align-items:center}.battle-opening-hand footer small{font-size:10px;color:#a9bad0}.battle-opening-hand footer button{font-size:11px}.battle-setup-notice{position:absolute;z-index:8;left:20px;top:50%;translate:0 -50%;width:210px;padding:15px;border-radius:14px;background:#15273beb;border:1px solid #a7d3d83f;box-shadow:0 8px 30px #0005;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.battle-setup-notice>span{font-size:8px;letter-spacing:1px;color:#9bdbd1}.battle-setup-notice h2{font-size:15px;line-height:1.4;margin:8px 0}.battle-setup-notice p{font-size:10px;line-height:1.5;color:#b7c8da;margin:6px 0 12px}.battle-ready-status{display:flex;flex-direction:column;gap:4px;font-size:10px;color:#8b9bb3;margin:12px 0}.battle-ready-status .ready{color:#b5ffe1}.battle-setup-notice>.battle-primary{width:100%;font-size:11px;padding:9px 6px}.battle-bonus-options{display:flex;gap:5px;flex-wrap:wrap;max-height:140px;overflow:auto}.battle-bonus-options button{padding:5px 7px;font-size:10px}@media(max-width:650px){.battle-opening-hand,.battle-opening-sorteio{inset:43px 7px 7px;padding:16px 12px;border-radius:13px}.battle-opening-hand{gap:10px}.battle-opening-hand h2{font-size:18px;margin:8px 0}.battle-opening-hand p{font-size:10px}.battle-opening-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 9px;padding:18px 4px 8px}.battle-opening-hand footer{flex-direction:column;gap:5px}.battle-opening-hand footer small{font-size:9px;text-align:center}.battle-opening-cards button>span{font-size:19px;top:-20px}.battle-opening-sorteio p{font-size:11px}.battle-opening-options button{min-width:100px;padding:11px 14px;font-size:12px}.battle-setup-notice{left:7px;top:50%;width:122px;padding:9px 7px;border-radius:10px}.battle-setup-notice h2{font-size:10px;margin:5px 0}.battle-setup-notice p{font-size:8px;margin:5px 0}.battle-setup-notice>span{font-size:7px;letter-spacing:0}.battle-ready-status{font-size:8px;margin:7px 0}.battle-setup-notice>.battle-primary{font-size:9px;padding:7px 2px}}.battle-start-ready{position:absolute;z-index:9;left:50%;top:46px;translate:-50% 0;padding:9px 14px;border-radius:10px;background:#152d3ced;border:1px solid #a1e4ca55;color:#bfffde;font-size:11px;pointer-events:none;white-space:nowrap}.battle-start-ready b{display:block;text-align:center;font-size:10px;margin-top:3px}.battle-damage-counter{position:absolute;z-index:6;top:8%;right:-9px;min-width:29px;height:29px;display:grid;place-items:center;padding:0 3px;border-radius:50%;border:2px solid #ffe9a4;background:radial-gradient(circle at 35% 25%,#ffda65,#eaa323 65%,#c97b14);color:#58300b;font-size:12px;font-weight:900;line-height:1;box-shadow:0 2px 5px #0009,inset 0 0 0 1px #fff5;pointer-events:none}.battle-pokemon.is-active .battle-damage-counter{min-width:36px;height:36px;font-size:15px;right:-12px}@media(max-width:650px){.battle-damage-counter{min-width:20px;height:20px;font-size:8px;border-width:1px;right:-4px}.battle-pokemon.is-active .battle-damage-counter{min-width:28px;height:28px;font-size:11px;right:-7px}}.battle-app button.battle-stadium,.battle-app button.battle-stadium:hover{left:calc(50% + 156px);right:auto!important;top:0;translate:-50% -50%;width:82px!important;height:auto;display:block;padding:0;background:transparent;border:0;border-radius:6px;box-shadow:0 5px 16px #0006}.battle-stadium img{display:block;width:100%;height:auto;aspect-ratio:245/342}.battle-stadium-ready{position:absolute;bottom:-19px;left:50%;translate:-50% 0;white-space:nowrap;padding:2px 7px;border-radius:5px;background:#173b35;color:#c4ffea;font-size:10px!important;font-weight:800}.battle-app button.battle-stadium.is-usable{outline:2px solid #a9ffe8;outline-offset:3px;box-shadow:0 0 24px #74e8cd88}.battle-field-toolbar{justify-content:flex-start;gap:12px}.battle-field-toolbar>span{margin-left:0;font-size:12px}.battle-field-toolbar>div{margin-left:auto}.battle-field-toolbar .battle-navigation-toggle{pointer-events:auto;display:flex;align-items:center;gap:7px;width:auto;padding:0 10px}.battle-navigation-toggle span{font-size:12px}.app-shell.battle-nav-open:has(.battle-app)>.sidebar{display:flex!important;position:fixed;inset:0 auto 0 0;height:100dvh;width:min(280px,84vw);margin-left:0;transform:none;z-index:1400;box-shadow:12px 0 45px #0007}.app-shell.battle-nav-open:has(.battle-app)>.sidebar-backdrop{display:block!important;position:fixed;inset:0;z-index:1390;background:#04060a99;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.battle-pokemon-slot{position:relative;display:grid;width:max-content;flex-shrink:0;line-height:normal}.battle-app .battle-pokemon-slot>.battle-tool{position:absolute;z-index:5;top:22%;left:auto;right:6%;width:28%;padding:0;display:block;overflow:visible;border:0;border-radius:5px;background:transparent;box-shadow:0 0 0 1px #f5e7cacc,0 3px 8px #0009;pointer-events:auto;touch-action:manipulation;line-height:0}.battle-tool-art{display:block;position:relative;overflow:hidden;width:100%;aspect-ratio:1.15;border-radius:5px;pointer-events:none}.battle-tool-art img{position:absolute;left:-36%;top:-40%;width:172%;max-width:none;height:auto;border-radius:0;display:block}.battle-app .battle-pokemon-slot>.battle-tool.on-bench{width:36%;top:22%}.battle-tool-preview{position:fixed;z-index:110;width:min(260px,calc(100vw - 32px));pointer-events:none;filter:drop-shadow(0 12px 24px #000b);transform-origin:left center}.battle-tool-preview img{display:block;width:100%;height:auto;border-radius:10px}@media(pointer:coarse){.battle-tool:after{content:"";position:absolute;inset:-8px}}.battle-hand-art{display:block;position:relative;transform-origin:50% 100%;transition:transform .22s cubic-bezier(.2,.8,.2,1),filter .22s}.battle-app button.battle-hand-card:hover{transform:none}.battle-app button.battle-hand-card{overflow:visible}.battle-hand-card:focus-visible{z-index:15}.battle-hand-card:focus-visible .battle-hand-art{transform:translateY(-12px) scale(1.65);filter:drop-shadow(0 12px 15px #0009)}@media(hover:hover) and (pointer:fine){.battle-app button.battle-hand-card:hover{z-index:15}.battle-hand-card:hover .battle-hand-art{transform:translateY(-12px) scale(1.65);filter:drop-shadow(0 12px 15px #0009)}.battle-hand-card:has(+.battle-hand-card:hover) .battle-hand-art{transform:translateX(-10px) rotate(-4deg)}.battle-hand-card:hover+.battle-hand-card .battle-hand-art{transform:translateX(10px) rotate(4deg)}}.battle-hand:has(.is-drag-source) .battle-hand-art{transform:none}@media(min-width:651px){.battle-workspace{max-width:1500px;margin-inline:auto}.battle-hand{position:relative;z-index:11;height:230px;margin-top:-95px;padding:100px 72px 12px;align-items:flex-end;scroll-padding-inline:72px}.battle-app button.battle-hand-card{width:82px!important;margin-left:-10px}.battle-hp-label{font-size:13px}.battle-player-heading strong{font-size:12px}.battle-score b{width:40px;height:40px;font-size:26px}.battle-rail{right:24px;gap:12px}.battle-rail>.battle-end-turn:last-child{width:80px;font-size:10px;padding:10px 4px}}@media(min-width:1001px){.battle-player.upper{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);padding:34px 20px 6px;gap:0}.battle-player.lower{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;padding:6px 20px 24px;gap:0}.battle-bench{display:flex;grid-column:1;grid-row:1;align-self:start;justify-self:center;gap:clamp(10px,2vw,28px);padding:18px 18px 8px}.battle-player.lower .battle-bench{grid-column:1;grid-row:2;align-self:end;justify-self:center}.battle-empty-slot,.battle-pokemon{width:min(100px,calc((50cqh - 80px)/4.5))}.battle-active-slot>.battle-empty-slot,.battle-pokemon.is-active{width:min(190px,calc((50cqh - 80px)/2.15))}.battle-player.upper .battle-active-slot{grid-column:1;grid-row:2;align-self:end;margin:0 0 10px}.battle-player.lower .battle-active-slot{grid-column:1;grid-row:1;align-self:start;margin:10px 0 0}.battle-centerline>span{font-size:10px}}@media(min-width:651px) and (max-width:1000px){.battle-active-slot>.battle-empty-slot,.battle-pokemon.is-active{width:min(164px,calc((50cqh - 100px)/2.05))}.battle-app button.battle-stadium{width:64px!important;left:calc(50% - 118px)}}@media(min-width:1001px) and (max-width:1200px){.battle-player.lower .battle-prizes,.battle-prizes{left:18px;width:66px}.battle-prizes>div{grid-template-columns:repeat(2,22px);padding:6px;gap:4px;min-height:0}.battle-mini-back{width:22px;height:31px}}@media(max-width:650px){.battle-app button.battle-stadium{width:40px!important;left:calc(50% - 76px)}.battle-stadium-ready{bottom:-16px;font-size:8px!important;padding:2px 4px}.battle-centerline>span{width:50px;font-size:6px;background:transparent}.battle-field-toolbar{gap:7px}.battle-field-toolbar>span{font-size:8px;letter-spacing:0}.battle-field-toolbar .battle-navigation-toggle{padding:0 7px;font-size:16px}.battle-navigation-toggle span{font-size:9px}.battle-hand{position:relative;z-index:11;height:clamp(160px,25dvh,220px);margin-top:calc(clamp(100px,17dvh,145px) - clamp(160px,25dvh,220px));padding-top:65px;align-items:flex-end;padding-inline:26px}.battle-hand-card:focus-visible .battle-hand-art{transform:translateY(-6px) scale(1.4)}}@media(prefers-reduced-motion:reduce){.battle-hand-art{transition:none}}@media(max-width:650px) and (max-height:650px){.battle-piles{top:79%;padding:3px 2px;gap:6px}.battle-player.lower .battle-piles{top:42%}.battle-pile{width:24px}.battle-card-back,.battle-pile-icon,.battle-pile>img{width:24px;height:34px}}@media(min-width:1001px){.battle-workspace{max-width:1280px}.battle-table{--bench-size:min(96px,calc((50cqh - 84px)/4.15));--active-size:min(180px,calc((50cqh - 84px)/1.396 - var(--bench-size)))}.battle-empty-slot,.battle-pokemon{width:var(--bench-size)}.battle-active-slot>.battle-empty-slot,.battle-pokemon.is-active{width:var(--active-size)}.battle-bench{display:flex;gap:12px;padding:18px 14px 8px;background:#11172969;border:1px solid #ffffff17;border-bottom:2px solid #9e7ab233}.battle-player.upper .battle-player-heading{top:50px;left:18px}.battle-app button.battle-stadium,.battle-app button.battle-stadium:hover{left:calc(50% - var(--active-size)/2 - 66px);width:94px!important}}.battle-hand{pointer-events:none}.battle-hand-card,.battle-hand-empty{pointer-events:auto}.battle-hand-art{pointer-events:none}@media(hover:hover) and (pointer:fine) and (max-width:650px){.battle-hand-card:hover .battle-hand-art{transform:translateY(-6px) scale(1.4)}}@media(max-width:650px) and (max-height:650px){.battle-player.upper .battle-piles{top:66%}}.battle-energy-orbs{gap:3px;flex-wrap:nowrap;overflow:visible}.battle-app button.battle-energy-badge{position:relative;display:block;flex:none;padding:0;border:0;border-radius:50%;background:transparent;line-height:0;pointer-events:auto;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-touch-callout:none;cursor:zoom-in;filter:drop-shadow(0 2px 3px #0009)}.battle-energy-orb.basic-energy{background-size:100% 100%;background-position:50%;background-repeat:no-repeat}.battle-energy-orb.special-energy{background-size:164% auto;background-position:50% 31%;background-repeat:no-repeat}.battle-energy-orbs.on-active .battle-energy-orb{width:25px;height:25px}.battle-energy-count{position:absolute;right:1px;bottom:1px;min-width:10px;padding:1px;font-size:7px;line-height:1;font-weight:850;color:#fff;background:#172237db;border-radius:5px;text-shadow:0 1px 1px #000;pointer-events:none}.battle-energy-orbs.on-active .battle-energy-count{font-size:8px}.battle-app button.battle-energy-badge:focus-visible{outline:2px solid #e1d4ff;outline-offset:2px}@media(max-width:650px){.battle-energy-orbs.on-active .battle-energy-orb{width:21px;height:21px}.battle-energy-orbs{gap:2px}.battle-energy-count{font-size:6px;min-width:8px}.battle-energy-orbs.on-active .battle-energy-count{font-size:7px}}.battle-app button.battle-stadium{touch-action:manipulation}.battle-stadium img,.battle-stadium-ready{pointer-events:none}.battle-prize-overlay{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;background:#080e204d}.battle-prize-picker{width:min(390px,94vw);padding:14px;border-radius:18px;background:linear-gradient(145deg,#263450f5,#131a2afc);border:1px solid #c4b3ff50;box-shadow:0 20px 65px #0008}.battle-prize-picker header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:12px;color:#ece9f8}.battle-prize-picker header small{margin-left:8px;color:#ada6c3;font-size:10px}.battle-app .battle-prize-picker header button{padding:0 7px;font-size:20px;line-height:1.2;background:transparent;border:0}.battle-prize-grid{display:grid;grid-gap:12px;gap:12px}.battle-app .battle-prize-grid button{position:relative;padding:0;border-radius:9px;cursor:pointer}.battle-prize-card-back{display:flex;aspect-ratio:245/342;align-items:center;justify-content:center;flex-direction:column;gap:10px;border-radius:9px;border:3px solid #8c9ebd;background:radial-gradient(circle,#9c83d8 0,#383154 20%,#162a45 22%,#17263b 60%);box-shadow:0 5px 12px #0006;color:#ded5ff}.battle-prize-card-back i{font-size:40px;font-style:normal}.battle-prize-card-back b{font-size:12px;letter-spacing:3px}.battle-prize-grid .picked{outline:3px solid #a9ffe8;outline-offset:3px}.battle-prize-selected{right:5px;top:5px;padding:2px 5px;background:#a9ffe8;color:#152b2a;font-weight:900}@media(max-width:650px){.battle-prize-overlay{background:#101a2af5}.battle-prize-picker{width:100%;height:100dvh;border:0;border-radius:0;padding:20px;display:flex;flex-direction:column;justify-content:center;box-shadow:none}.battle-prize-picker header{font-size:14px;margin-bottom:20px}.battle-prize-grid{gap:15px;max-width:480px;width:100%;margin:0 auto}.battle-prize-card-back{max-height:34dvh}.battle-prize-picker header{width:100%;max-width:480px;margin-left:auto;margin-right:auto}}@media(hover:none),(pointer:coarse){.battle-hand{pointer-events:auto;justify-content:safe center;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.battle-app button.battle-hand-card,.battle-hand{touch-action:pan-x}}.battle-resolving-card{right:auto;z-index:13;text-align:center;filter:drop-shadow(0 8px 18px #0008)}.battle-resolution-dock,.battle-resolving-card{position:absolute;left:71%;top:50%;translate:-50% -50%;width:clamp(120px,22cqh,190px);pointer-events:none}.battle-resolution-dock{z-index:14;display:flex;flex-direction:column;align-items:center;gap:10px}.battle-resolution-dock .battle-field-choice,.battle-resolution-dock .battle-resolving-card{position:relative;inset:auto;translate:none;width:100%}.battle-resolution-dock .battle-field-choice{gap:8px}.battle-app .battle-resolution-dock button.battle-field-ok{width:100%;min-width:0;min-height:52px;padding:10px 16px;font-size:23px;pointer-events:auto}.battle-app .battle-resolution-dock button.battle-field-ok:disabled{background:#68717b;color:#d0d5da;border-color:#8a939c;box-shadow:none;opacity:1;cursor:default}@media(max-width:650px){.battle-resolution-dock{left:77%;width:clamp(85px,23vw,110px);gap:7px}.battle-resolution-dock .battle-field-choice p{font-size:10px;line-height:1.35;padding:7px}.battle-app .battle-resolution-dock button.battle-field-ok{min-height:48px;font-size:22px}}.battle-resolving-card img{display:block;width:100%;border-radius:5px}.battle-resolving-card small{display:block;font-size:10px;letter-spacing:1px;color:#dacfff;margin-bottom:5px}.battle-resolving-card>span{display:block;font-size:11px;background:#172439e8;border-radius:4px;padding:3px;margin-top:4px;color:#eee}.battle-app .battle-tool.field-eligible,.battle-app button.battle-stadium.field-eligible{outline:3px solid #9ffff0;outline-offset:3px;box-shadow:0 0 20px #65edd6;cursor:pointer}.battle-stadium.field-eligible:after,.battle-tool.field-eligible:after{content:"↓";position:absolute;top:-25px;left:50%;translate:-50% 0;color:#b8fff1;font-size:22px;text-shadow:0 0 7px #5fdbc6;pointer-events:none}.battle-app .battle-tool.field-picked,.battle-app button.battle-stadium.field-picked{outline-color:#ffd781;box-shadow:0 0 20px #ffd78199}.battle-stadium.field-picked:after,.battle-tool.field-picked:after{content:"✓";color:#ffd781}.battle-bench-zoom,.battle-orientation-overlay{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;padding:16px;background:#071223a8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.battle-bench-zoom section,.battle-orientation-picker{width:min(780px,96vw);max-height:94dvh;overflow:auto;padding:22px;background:linear-gradient(145deg,#263450f5,#131a2afc);color:#eee;border:1px solid #c4b3ff55;border-radius:18px;box-shadow:0 20px 60px #0008}.battle-bench-zoom header,.battle-orientation-picker header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.battle-bench-zoom h2,.battle-orientation-picker h2{font-size:17px;margin:0;line-height:1.4}.battle-bench-zoom small{font-size:11px;color:#b6cad5}.battle-orientation-picker>div{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px}.battle-orientation-picker>div>button{padding:15px;border-radius:12px;background:#ffffff06;border:1px solid #a9ffe855;color:#eee}.battle-orientation-picker img{display:block;width:110px;margin:8px auto 18px;border-radius:6px}.battle-orientation-picker strong{display:block;font-size:14px;line-height:1.4}.battle-orientation-picker small{display:block;font-size:10px;margin-top:8px;color:#b9c4d5;line-height:1.5}.battle-bench-zoom-cards{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin:20px 0}.battle-bench-zoom-cards button{width:min(110px,16vw);padding:0!important;border:2px solid #a9ffe8!important;border-radius:8px;background:transparent!important;box-shadow:0 0 12px #a9ffe844}.battle-bench-zoom-cards img{display:block;width:100%;border-radius:5px}.battle-bench-zoom-cards span{font-size:10px;display:block;padding:4px;color:#c0fce9}.battle-bench-zoom-cards .picked{border-color:#ffd781!important;box-shadow:0 0 20px #ffd78188}.battle-bench-zoom>section>.battle-primary{display:block;margin:0 auto}.battle-reveal-stage{position:fixed;inset:0;z-index:1400;pointer-events:none;background:#06102055}.battle-reveal-stage img{position:absolute;border-radius:10px;box-shadow:0 15px 55px #0009}.battle-reveal-stage>span{position:absolute;left:50%;bottom:12%;translate:-50% 0;font-size:12px;color:#fff;background:#15243af0;padding:8px 12px;border-radius:8px;max-width:90vw;text-align:center}.battle-orientation-notice{position:fixed;left:50%;top:18%;translate:-50% 0;z-index:1300;padding:12px;background:#15243aef;border-radius:10px;color:#ddfff0;pointer-events:none;font-size:12px}@media(max-width:650px){.battle-resolving-card{width:clamp(72px,22vw,100px);left:76%;right:auto;top:50%}.battle-resolving-card small{font-size:7px}.battle-resolving-card>span{font-size:8px}.battle-bench-zoom section,.battle-orientation-picker{padding:15px}.battle-bench-zoom h2,.battle-orientation-picker h2{font-size:14px}.battle-bench-zoom-cards{gap:12px}.battle-bench-zoom-cards button{width:25vw}.battle-orientation-picker>div{gap:8px}.battle-orientation-picker>div>button{padding:8px}.battle-orientation-picker img{width:85px}.battle-orientation-picker strong{font-size:12px}.battle-orientation-picker small{font-size:9px}}.battle-app .battle-orientation-picker>div>button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.battle-app .battle-bench-zoom-cards button{display:block}.battle-bench-zoom,.battle-inventory-overlay,.battle-orientation-overlay,.battle-prize-overlay{background:#07101d38;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}.battle-choice.battle-inventory{width:min(1400px,96vw);height:min(900px,94dvh);max-height:94dvh;padding:12px 8px;background:transparent;border:0;box-shadow:none;border-radius:0;color:#fff;overflow:hidden}.battle-inventory-heading .battle-eyebrow,.battle-inventory-heading h2,.battle-inventory-heading p{text-shadow:0 2px 6px #000}.battle-inventory-heading h2{font-size:15px;margin:4px 0}.battle-inventory-heading p{font-size:10px;margin:3px 0}.battle-inventory-heading>button{background:#172438b8;border-radius:50%;flex:none}.battle-inventory .battle-search-tools{padding:6px 0;margin:0;min-height:25px}.battle-inventory-browser{display:flex;flex-direction:column;flex:1 1;min-height:0;width:100%;container-type:size;--inventory-card-width:min(190px,calc((100cqh - 85px)/4.188))}.battle-floating-grid{display:grid;grid-auto-flow:column;grid-template-rows:repeat(3,max-content);grid-auto-columns:var(--inventory-card-width);grid-gap:14px 16px;gap:14px 16px;align-content:start;overflow-x:auto;overflow-y:hidden;padding:4px 8px 14px;min-height:0;flex:1 1;overscroll-behavior-x:contain;touch-action:pan-x;scroll-padding-inline:8px;scrollbar-width:thin;scrollbar-color:#b4c9e780 #18283d40;-webkit-overflow-scrolling:touch}.battle-floating-entry{position:relative;min-width:0;display:flex;flex-direction:column;gap:3px}.battle-inventory-category{font-size:8px;height:10px;line-height:10px;color:#d8e3f8;text-shadow:0 2px 4px #000;letter-spacing:.4px}.battle-app .battle-floating-entry>button{position:relative;display:block;width:100%;padding:0;background:transparent;border:0;border-radius:7px;touch-action:pan-x;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-touch-callout:none;box-shadow:0 4px 9px #0006}.battle-floating-entry img{display:block;width:100%;aspect-ratio:245/342;border-radius:7px}.battle-floating-entry .battle-choice-back{width:100%;height:auto;aspect-ratio:245/342}.battle-floating-entry button.chosen{outline:3px solid #b8ffe5;outline-offset:2px;box-shadow:0 0 18px #8ff5d54d}.battle-floating-entry button.view-only{opacity:.68;cursor:zoom-in}.battle-inventory-quantity{position:absolute;bottom:5px;right:5px;background:#122139e8;padding:3px 7px;border-radius:7px;color:white;font-size:12px}.battle-floating-grid.text-only{display:flex;flex-wrap:wrap;align-content:center;justify-content:center;overflow:auto;touch-action:pan-y}.battle-floating-grid.text-only .battle-floating-entry{width:auto;min-width:150px}.battle-app .battle-floating-grid.text-only button{padding:20px;background:#172a40c4;min-height:80px}.battle-inventory .battle-choice-footer{padding:6px 0;min-height:30px;text-shadow:0 2px 5px #000}.battle-bench-zoom section,.battle-orientation-picker,.battle-prize-picker{background:transparent;border:0;box-shadow:none;text-shadow:0 2px 6px #000}.battle-bench-zoom-cards{max-height:65dvh;overflow:auto;padding:7px}.battle-opening-hand,.battle-opening-sorteio{background:#09172535;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);text-shadow:0 2px 7px #000}.battle-opening-wait{position:absolute;z-index:8;left:50%;top:50%;translate:-50% -50%;width:min(680px,86%);text-align:center;padding:20px;border-radius:16px;background:#0c1b3066;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);color:#e1ebfa;pointer-events:none}.battle-opening-wait:not(.waiting-hand){left:20px;translate:0 -50%;width:210px;text-align:left}.battle-mulligan-overlay{position:absolute;inset:0;z-index:18;display:grid;place-items:center;padding:24px;background:#07111e55;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}.battle-mulligan-choice{width:min(440px,100%);max-height:100%;overflow-y:auto;text-align:center;padding:28px 22px;border-radius:22px;background:#1322389c;border:1px solid #b7d9ec30;box-shadow:0 18px 55px #0005;color:#eff7ff}.battle-mulligan-choice h2{font-size:clamp(22px,3vw,30px);margin:12px 0}.battle-mulligan-choice p{font-size:13px;color:#b9ccdd;margin:0 0 22px}.battle-mulligan-buy{display:grid;grid-gap:12px;gap:12px}.battle-app .battle-mulligan-buy .battle-ok{width:100%;min-height:62px;font-size:20px;justify-content:center}.battle-app .battle-mulligan-skip{display:inline-flex;align-items:center;justify-content:center;margin-top:16px;min-height:40px;padding:9px 20px;border:1px solid #ff879b66;border-radius:12px;background:#a42d43;color:#fff;font-size:13px;box-shadow:0 4px 12px #0003}.battle-setup-ready{position:absolute;z-index:9;left:50%;top:50%;translate:-50% -50%;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;pointer-events:none}.battle-setup-ready small{padding:5px 10px;border-radius:8px;background:#0b1727ba;color:#e0edfa;font-size:11px}.battle-app .battle-setup-ready .battle-ok{pointer-events:auto;min-width:190px;min-height:60px;font-size:22px;justify-content:center}@media(max-width:650px){.battle-mulligan-overlay{padding:18px}.battle-mulligan-choice{padding:24px 16px}.battle-app .battle-mulligan-buy .battle-ok{min-height:58px;font-size:18px}.battle-app .battle-setup-ready .battle-ok{min-width:150px;min-height:52px;font-size:19px}.battle-setup-ready small{max-width:210px;font-size:10px}}.battle-opening-wait h2{font-size:20px;margin:10px 0}.battle-opening-wait p{font-size:11px}.battle-opening-hidden-hand{display:flex;justify-content:center;gap:8px;margin:20px 0;flex-wrap:wrap}.battle-opening-hidden-hand .battle-choice-back{width:65px;height:auto;aspect-ratio:245/342;font-size:9px}.battle-opening-wait .battle-ready-status{justify-content:center;flex-direction:row;gap:15px}@media(max-width:650px){.battle-inventory-overlay{padding:5px}.battle-choice.battle-inventory{width:100%;height:94dvh;padding:8px 5px}.battle-inventory-browser{--inventory-card-width:min(140px,calc((100cqh - 85px)/4.188))}.battle-floating-grid{gap:11px 12px;padding-inline:6px}.battle-inventory-heading h2{font-size:13px}.battle-inventory-heading p{font-size:9px}.battle-inventory-category{font-size:7px}.battle-prize-picker{height:auto;max-height:90dvh;padding:12px}.battle-prize-grid{gap:12px}.battle-opening-wait h2{font-size:16px}.battle-opening-hidden-hand{gap:5px}.battle-opening-hidden-hand .battle-choice-back{width:40px}.battle-opening-wait:not(.waiting-hand){left:7px;width:125px;padding:9px}.battle-opening-wait:not(.waiting-hand) h2{font-size:11px}.battle-opening-wait:not(.waiting-hand) p{font-size:9px}.battle-opening-wait .battle-ready-status{flex-wrap:wrap;gap:6px}}.battle-app button.battle-ok{min-width:130px;min-height:52px;padding:10px 25px;font-size:22px;font-weight:900;background:linear-gradient(#79db72,#359447);border:2px solid #a6f4a0;border-radius:14px;color:white;box-shadow:0 4px 0 #1b6332,0 6px 18px #0005;text-shadow:0 1px 2px #165b2c}.battle-ok>span{margin-left:12px}.battle-app button.battle-ok:disabled{opacity:.45;filter:grayscale(.5)}.battle-reveal-group{position:absolute;left:50%;top:50%;translate:-50% -50%;display:grid;grid-gap:12px;gap:12px}.battle-reveal-stage .battle-reveal-group img{position:relative;display:block;object-fit:contain}@media(hover:hover) and (pointer:fine){.battle-bench>.battle-pokemon-slot{position:relative;transition:transform .2s cubic-bezier(.2,.8,.2,1);transform-origin:center top}.battle-player.lower .battle-bench>.battle-pokemon-slot{transform-origin:center bottom}.battle-table:not(.is-dragging) .battle-bench>.battle-pokemon-slot:focus-within,.battle-table:not(.is-dragging) .battle-bench>.battle-pokemon-slot:hover{transform:scale(1.55);z-index:20}.battle-bench:has(>.battle-pokemon-slot:focus-within),.battle-bench:has(>.battle-pokemon-slot:hover){position:relative;z-index:16}}@media(prefers-reduced-motion:reduce){.battle-bench>.battle-pokemon-slot{transition:none}}.battle-inventory .battle-choice-footer{min-height:62px}.battle-inventory .battle-slide-toggle{gap:11px;min-height:44px;font-size:14px;font-weight:700;color:#eef9ef;padding:6px 12px;border-radius:12px;background:#133723ab;border:1px solid #89db955c}.battle-inventory .battle-toggle-track{width:48px;height:28px;background:#475a50;border:1px solid #bdebc67a;box-shadow:inset 0 2px 4px #0004;flex:none}.battle-inventory .battle-toggle-track i{width:20px;height:20px;left:3px;top:3px;background:#e7f3ea;box-shadow:0 2px 4px #0004}.battle-inventory .battle-slide-toggle[aria-checked=true] .battle-toggle-track{background:#45bc60;box-shadow:0 0 12px #54d67155}.battle-inventory .battle-slide-toggle[aria-checked=true] i{translate:20px 0;background:white}.battle-inventory .battle-slide-toggle small{font-size:11px;color:#d0e6d6}.battle-resolving-card.text-resolution{width:clamp(160px,21vw,260px);filter:none;text-align:center}.text-resolution p{margin:0;font-size:14px;color:#f0eafa;padding:12px;border-radius:12px;background:#14263b9c;box-shadow:0 3px 12px #0003;line-height:1.5}@media(max-width:650px){.battle-resolving-card.text-resolution{width:100px;left:77%;top:48%}.text-resolution p{font-size:10px;padding:8px}.battle-app button.battle-ok{min-width:115px;min-height:48px;font-size:20px}.battle-app button.battle-stadium,.battle-app button.battle-stadium:hover{left:calc(50% - 76px);right:auto!important;width:40px!important}}.battle-choice.battle-inventory.has-resolution{position:relative;padding-right:220px}.battle-inventory-resolution{position:absolute;right:12px;top:50%;translate:0 -50%;width:180px;pointer-events:none}.battle-inventory-resolution .battle-resolving-card,.battle-inventory-resolution .battle-resolving-card.text-resolution{position:relative;inset:auto;translate:none;width:100%}.battle-inventory-resolution .battle-resolving-card img{max-height:45dvh;object-fit:contain}.battle-player-heading{display:flex;align-items:center;max-width:calc(50% - 30px)}.battle-player-heading strong{display:block;max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.battle-avatar{flex-shrink:0;display:grid;place-items:center;overflow:hidden}.battle-avatar img{width:100%;height:100%;object-fit:cover}.battle-player-heading button.battle-hand-count{display:flex;align-items:center;gap:7px;background:transparent;border:0;opacity:1;padding:4px 6px;color:#edf4ff;font-size:12px}.battle-hidden-hand{display:flex;width:30px;height:24px;align-items:center;padding-left:7px}.battle-hidden-hand i{width:14px;height:21px;flex-shrink:0;margin-left:-8px;border:1px solid #ccd3f3;border-radius:3px;background:radial-gradient(circle,#bfa4ff 7%,#433566 17%,#15283c 60%);transform-origin:50% 100%}.battle-lost-zones{position:absolute;left:12%;top:50%;translate:-50% -50%;z-index:15;display:flex;gap:12px}.battle-app button.battle-lost-portal{position:relative;width:48px;height:55px;display:grid;place-items:center;isolation:isolate}.battle-lost-portal>span{position:absolute;inset:1px 3px 12px;border-radius:50%;background:conic-gradient(from 0deg,#20133f,#9367ee,#d4beff,#382960,#a878fb,#20133f);box-shadow:0 0 13px #a47be966;opacity:.35}.battle-lost-portal.has-cards>span{opacity:1;animation:battle-vortex 7s linear infinite}.battle-lost-portal>span:after{content:"";position:absolute;inset:7px;border-radius:50%;background:radial-gradient(circle,#060914 30%,#3a2564 65%,#d1afff);box-shadow:inset 0 0 7px #060914}.battle-lost-portal b{z-index:1;align-self:start;margin-top:11px;font-size:14px;color:white;text-shadow:0 1px 3px #000}.battle-lost-portal small{position:absolute;bottom:0;font-size:9px;color:#ded5f7}@keyframes battle-vortex{to{rotate:1turn}}.battle-lost-sections{flex:1 1;min-height:0;display:grid;grid-template-columns:1fr 1fr;grid-gap:22px;gap:22px}.battle-lost-sections>section{display:flex;flex-direction:column;min-width:0;min-height:0}.battle-lost-sections>section+section{border-left:1px solid #ffffff45;padding-left:22px}.battle-lost-sections h3{font-size:15px;margin:8px 0 14px}.battle-lost-sections h3 small{font-size:11px;color:#c0c7dd}@media(max-width:650px){.battle-choice.battle-inventory.has-resolution{padding-right:5px;padding-top:8px}.has-resolution>.battle-inventory-heading{min-height:112px;padding-right:92px;align-items:flex-start}.has-resolution>.battle-search-tools{margin-top:0}.battle-inventory-resolution{right:10px;top:8px;translate:none;width:70px}.battle-inventory-resolution .battle-resolving-card>small,.battle-inventory-resolution .battle-resolving-card>span{font-size:6px}.battle-inventory-resolution .text-resolution p{font-size:9px;padding:4px}.battle-player-heading,.battle-player.lower .battle-player-heading{max-width:calc(100% - 110px)}.battle-player.upper .battle-player-heading{top:40px;left:8px}.battle-player-heading strong{display:block;font-size:9px;max-width:95px}.battle-player-heading button.battle-hand-count{gap:4px;font-size:10px;padding:2px 4px}.battle-hidden-hand{width:23px;height:19px}.battle-hidden-hand i{width:11px;height:17px;margin-left:-7px}.battle-lost-zones{left:11%;gap:3px}.battle-app button.battle-lost-portal{width:30px;height:39px}.battle-lost-portal>span{inset:0 1px 10px}.battle-lost-portal>span:after{inset:5px}.battle-lost-portal b{font-size:10px;margin-top:6px}.battle-lost-portal small{font-size:7px}.battle-lost-sections{grid-template-columns:1fr;grid-template-rows:1fr 1fr;gap:10px}.battle-lost-sections>section+section{border-left:0;padding-left:0;border-top:1px solid #ffffff45;padding-top:8px}.battle-lost-sections h3{font-size:12px;margin:0 0 6px}.battle-lost-sections .battle-inventory-browser{--inventory-card-width:min(120px,calc((100cqh - 45px)/2.792))}.battle-lost-sections .battle-floating-grid{grid-template-rows:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.battle-lost-portal.has-cards>span{animation:none}}.battle-player-heading button.battle-hand-count{box-shadow:none;gap:9px}.battle-hidden-hand{width:40px}.battle-hand-count b{position:relative;z-index:2;min-width:18px;text-align:center;font-size:13px;line-height:20px;background:#142039;border:1px solid #c5d0ee66;border-radius:6px}@media(max-width:650px){.battle-player-heading button.battle-hand-count{gap:6px}.battle-hidden-hand{width:29px}.battle-hand-count b{font-size:11px;line-height:17px;min-width:16px}}.battle-prize-picker .battle-prize-confirm{display:block;margin:18px auto 0;min-width:230px;font-size:18px}.battle-mobile-toolbar,.battle-prize-mobile{display:none}.battle-rail>.battle-end-turn:last-child{display:inline-flex;align-items:center;justify-content:center;gap:8px;-webkit-clip-path:none;clip-path:none;border-radius:999px;background:#47bd7b;color:#071f13;border:1px solid #86e8b0;width:auto;min-width:104px;height:43px;padding:10px 16px;font-size:14px;line-height:1;font-weight:800;box-shadow:0 3px 12px #03170b45}.battle-end-turn span{font-size:18px;line-height:1}.battle-end-turn.no-actions{animation:battle-pass-pulse 1.5s ease-in-out infinite}@keyframes battle-pass-pulse{0%,to{box-shadow:0 0 0 0 #68e99c88;filter:brightness(1)}50%{box-shadow:0 0 0 7px #68e99c00,0 0 20px #68e99c88;filter:brightness(1.18)}}.battle-pass-confirm .battle-ok{font-size:16px;margin-bottom:12px}@media(max-width:650px){.battle-app>.battle-room-controls,.battle-field-toolbar{display:none}.battle-mobile-toolbar{display:block;position:absolute;right:7px;top:6px;z-index:50}.battle-mobile-toolbar>button{display:grid;place-items:center;width:40px;height:40px;min-width:40px;background:#122137cc;border:1px solid #c5d6ec55;border-radius:12px;color:#edf5ff;font-size:18px;box-shadow:none;padding:0}.battle-quick-menu{position:absolute;right:0;top:46px;min-width:190px;padding:7px;border-radius:13px;border:1px solid #ffffff35;background:#101e32f5;box-shadow:0 10px 24px #0008;display:flex;flex-direction:column;gap:4px}.battle-quick-menu button{background:transparent;border:0;color:#f2f5fc;padding:12px;text-align:left;border-radius:7px;font-size:13px;box-shadow:none;min-height:42px}.battle-quick-menu button:hover{background:#ffffff15}.battle-prizes>div{display:none}.battle-prizes{width:32px!important;rotate:0deg!important;transform:none!important;padding:0!important;border:0!important;background:transparent!important}.battle-prize-mobile{display:block;position:relative;width:29px;height:42px}.battle-prize-mobile .battle-mini-back{display:block;width:29px;height:42px;margin:0;rotate:0deg!important;transform:none!important}.battle-prize-mobile b{position:absolute;right:-5px;bottom:-4px;min-width:19px;height:20px;border-radius:6px;border:1px solid #c1dbf4;background:#122740;color:white;font-size:12px;display:grid;place-items:center}.battle-player .battle-piles,.battle-player.lower .battle-piles{flex-direction:row;gap:6px;right:7px;padding:3px;rotate:0deg;transform:none}.battle-pile{width:29px}.battle-card-back,.battle-pile-icon,.battle-pile>img{width:29px;height:41px}.battle-rail{right:7px;top:50%;bottom:auto;translate:0 -50%;flex-direction:column;gap:9px}.battle-score{display:flex;flex-direction:column;gap:5px}.battle-score>span{display:none}.battle-rail>.battle-end-turn:last-child{min-width:68px;width:auto!important;height:36px;padding:9px 10px;font-size:11px;gap:4px}.battle-end-turn span{font-size:15px}.battle-player.upper .battle-player-heading{top:9px}}@media(prefers-reduced-motion:reduce){.battle-end-turn.no-actions{animation:none;outline:2px solid #b2ffd3;outline-offset:3px}}@media(max-width:650px){.battle-mobile-toolbar{right:5px}.battle-mobile-toolbar>button{width:28px;min-width:28px;height:32px;font-size:16px}.battle-player .battle-pile{padding:0;border:0;background:transparent;box-shadow:none}.battle-mobile-toolbar{z-index:105;top:6px}}.battle-rail .battle-score{display:contents}.battle-rail .battle-score>span{display:none}.battle-rail .battle-score>b.opponent{order:0}.battle-rail>.battle-end-turn:last-child{order:1}.battle-rail .battle-score>b:not(.opponent){order:2}.battle-prize-overlay{background:#07101d88;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.battle-prize-picker{--prize-width:min(180px,calc((100dvh - 260px)*.3582),calc((100vw - 72px)/3));width:min(640px,96vw);max-height:96dvh;height:auto;padding:24px;background:transparent;border:0;box-shadow:none;display:flex;flex-direction:column;align-items:center;overflow:auto}.battle-prize-picker header{width:100%;margin:0 0 20px;align-items:flex-start}.battle-prize-picker h2{font-size:clamp(24px,3.5vw,36px);line-height:1.15;margin:0 0 8px;color:#f4f7ff}.battle-prize-picker header small{font-size:12px;margin:0;color:#c6d2e4}.battle-prize-grid{width:calc(3*var(--prize-width) + 32px);max-width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 auto;align-items:start;flex:none}.battle-app .battle-prize-grid button,.battle-prize-empty{display:block;box-sizing:border-box;position:relative;width:100%;height:auto;min-height:0;aspect-ratio:245/342;margin:0;padding:0;border-radius:9px;overflow:visible;flex:none;box-shadow:none}.battle-app .battle-prize-grid button{border:0;background:transparent;line-height:normal;touch-action:manipulation}.battle-prize-grid .battle-prize-card-back{position:absolute;inset:0;display:flex;box-sizing:border-box;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;padding:0;border-radius:9px;border:3px solid #9baed0;overflow:hidden;pointer-events:none}.battle-prize-card-back i{font-size:clamp(28px,5vw,54px)}.battle-prize-card-back b{font-size:clamp(12px,2vw,20px)}.battle-prize-grid .picked{outline:3px solid #93f3c0;outline-offset:4px}.battle-prize-selected{position:absolute;right:7px;top:7px;display:grid;place-items:center;width:28px;height:28px;padding:0;border-radius:50%;background:#93f3c0;color:#0c2c1a;font-size:19px;line-height:1;pointer-events:none;box-shadow:0 2px 8px #0006}.battle-prize-empty{border:1px dashed #c4d5ee25;background:#ffffff02}.battle-prize-picker .battle-prize-confirm{margin:24px auto 0;min-width:160px;min-height:52px;font-size:23px;flex:none}@media(max-width:650px){.battle-prize-overlay{background:#07101dbb}.battle-prize-picker{--prize-width:min(140px,calc((100dvh - 260px)*.3582),calc((100vw - 56px)/3));width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:24px 12px;justify-content:center}.battle-prize-picker header{margin-bottom:22px;max-width:480px}.battle-prize-picker h2{font-size:28px}.battle-prize-grid{gap:12px;width:calc(3*var(--prize-width) + 24px)}.battle-prize-grid .battle-prize-card-back{border-width:2px}.battle-prize-selected{width:24px;height:24px;font-size:17px;right:5px;top:5px}}.battle-app .battle-card-back,.battle-app .battle-choice-back,.battle-app .battle-hidden-hand i,.battle-app .battle-mini-back,.battle-app .battle-prize-card-back{background-image:var(--battle-sleeve,url("/sleeves/glc-purple.webp"));background-size:100% 100%;background-position:50%;background-repeat:no-repeat;color:transparent;border-radius:5px}.battle-sleeve-selection{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin:15px}.battle-sleeve-selection button{background:transparent;border:1px solid #ffffff40;padding:8px;border-radius:10px;display:grid;grid-gap:6px;gap:6px}.battle-sleeve-selection button[aria-pressed=true]{border-color:#a7efc8;box-shadow:0 0 8px #a7efc840}.battle-sleeve-selection img{width:65px;height:91px;border-radius:5px}.battle-knockout-stage{position:fixed;inset:0;z-index:165;pointer-events:none}.battle-knockout-stage img{border-radius:8px;object-fit:contain;filter:drop-shadow(0 6px 10px #0007)}@media(max-width:650px){.battle-bench-zoom,.battle-card-overlay,.battle-history-drawer,.battle-inventory-overlay,.battle-mulligan-overlay,.battle-opening-hand,.battle-opening-sorteio,.battle-opening-wait,.battle-options-drawer,.battle-orientation-overlay,.battle-prize-overlay,.battle-setup-notice{backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.battle-end-turn.no-actions{animation:none;position:relative;isolation:isolate;filter:none}.battle-end-turn.no-actions:after{content:"";position:absolute;inset:-2px;border:2px solid #b2ffd3;border-radius:inherit;pointer-events:none;animation:battle-mobile-ring 1.5s ease-in-out infinite}.battle-app .drop-ready{animation:none;box-shadow:0 0 0 2px #a9ffe8,0 0 10px #74e8cd66}.battle-pokemon.drop-ready:after{content:"";position:absolute;inset:-3px;border:2px solid #a9ffe8;border-radius:inherit;pointer-events:none;animation:battle-mobile-ring 1s ease-in-out infinite}.battle-knockout-stage img{filter:none;box-shadow:0 3px 8px #0005;will-change:transform,opacity}.battle-attacking-card{box-shadow:0 0 10px #a79aff70,0 6px 12px #0006}.battle-floating-entry{contain:layout style}.battle-floating-grid,.battle-hand{overscroll-behavior-x:contain}.battle-coin{filter:none;will-change:transform}}@keyframes battle-mobile-ring{0%,to{opacity:.45;transform:scale(1)}50%{opacity:1;transform:scale(1.07)}}@media(max-width:650px) and (prefers-reduced-motion:reduce){.battle-end-turn.no-actions:after,.battle-pokemon.drop-ready:after{animation:none}}.battle-app .battle-energy-badge.field-eligible{outline:3px solid #9ffff0;outline-offset:2px;box-shadow:0 0 16px #65edd6;cursor:pointer;z-index:12}.battle-app .battle-energy-badge.field-picked{outline-color:#ffd781;box-shadow:0 0 16px #ffd78199}.battle-mini-back img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.battle-app :is(.battle-choice,.battle-card-dialog,.battle-options-drawer,.battle-history-drawer){border-radius:8px;box-shadow:0 8px 24px #0004}.battle-app .battle-choice.battle-inventory{background:transparent;box-shadow:none;border:0}.battle-app :is(.battle-choice,.battle-options-drawer,.battle-history-drawer) :is(button,select,input){border-radius:6px}.battle-app .battle-inventory-heading h2{font-weight:650;letter-spacing:0}.battle-app button.battle-ok{border-radius:8px;box-shadow:0 3px 0 #1b6332;background:#3f9d50;border-width:1px}.battle-card-overlay,.battle-inventory-overlay,.battle-prize-overlay{backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}body:has(.battle-inventory-overlay,.battle-card-focus-backdrop) .platform-arena-actions,body:has(.battle-inventory-overlay,.battle-card-focus-backdrop) .platform-arena-menu-toggle{visibility:hidden;pointer-events:none}.battle-inventory .battle-inventory-close-footer{padding:10px 0 max(4px,env(safe-area-inset-bottom));min-height:0}.battle-inventory .battle-inventory-close{width:100%;min-height:48px;padding:12px 18px;font-size:15px;font-weight:750;border:1px solid #22efa5;border-radius:12px;background:#16e99c;color:#04271d;box-shadow:0 4px 16px #16e99c20}.battle-inventory .battle-inventory-close:hover{background:#4bf6ba}.battle-inventory .battle-inventory-close:focus-visible{outline:3px solid #effff9;outline-offset:3px}@media(max-width:650px){.battle-card-overlay,.battle-inventory-overlay,.battle-prize-overlay{backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}}.battle-app :is(.battle-inspector-art,.battle-hand-art,.battle-opening-cards button,.battle-floating-entry button)>img,.battle-resolving-card>img{height:auto}.battle-centerline{--stadium-center:calc(50% - 118px);--stadium-card-width:64px;--lost-portal-size:56px;--lost-portal-gap:12px}.battle-app button.battle-stadium,.battle-app button.battle-stadium:hover{left:var(--stadium-center);width:var(--stadium-card-width)!important}.battle-app button.battle-lost-portal{position:absolute;left:calc(var(--stadium-center) - var(--stadium-card-width)/2 - var(--lost-portal-gap) - var(--lost-portal-size)/2);top:0;translate:-50% -50%;width:var(--lost-portal-size);height:var(--lost-portal-size);display:block;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;z-index:15;pointer-events:auto;touch-action:manipulation;cursor:pointer}.battle-lost-portal>img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 5px #aa7bff65);animation:battle-lost-orbit 20s linear infinite;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.battle-lost-portal>.battle-lost-anchor{position:absolute;inset:0;background:none;box-shadow:none;opacity:0;pointer-events:none}.battle-lost-anchor:after{display:none}.battle-app button.battle-lost-portal:hover{background:transparent;box-shadow:0 0 0 1px #c6a7ff55}.battle-app button.battle-lost-portal:focus-visible{outline:2px solid #d7baff;outline-offset:3px}@keyframes battle-lost-orbit{to{transform:rotate(1turn)}}@media(min-width:1001px){.battle-centerline{--stadium-center:calc(50% - var(--active-size)/2 - 66px);--stadium-card-width:94px}}@media(max-width:650px){.battle-centerline{--stadium-center:calc(50% - 76px);--stadium-card-width:40px;--lost-portal-size:44px;--lost-portal-gap:8px}.battle-centerline>span{top:48px}}@media(prefers-reduced-motion:reduce){.battle-lost-portal>img{animation:none}}.battle-app .battle-choice.battle-lost-inventory{position:relative;isolation:isolate;width:min(1120px,96vw);height:min(760px,90dvh);padding:40px 34px;border:1px solid transparent;border-radius:6px;background:linear-gradient(145deg,#11192bf2,#111325f7);box-shadow:0 0 18px #9761d71c,0 20px 60px #02061599;overflow:hidden}.battle-lost-inventory:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border:32px solid transparent;border-image:url(/battle/lost-zone-smoke-frame-v2.webp) 200 160/32px 26px/0 stretch;background:none;opacity:1}.battle-lost-inventory>.battle-inventory-heading{align-items:center;padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid #c6b3ff55}.battle-lost-inventory>.battle-inventory-heading h2{font-size:22px;font-weight:650;letter-spacing:.3px;margin:0;color:#f2eaff}.battle-lost-inventory>.battle-inventory-heading>button{width:38px;height:38px;color:#e4d6ff;border:1px solid #b298d65c;background:#141a2ab8}.battle-lost-inventory .battle-lost-sections{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;position:relative}.battle-lost-inventory .battle-lost-sections:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:2px;background:linear-gradient(transparent,#b4a2e9 14%,#74c9de 50%,#bc8bc7 86%,transparent);opacity:.8}.battle-lost-inventory .battle-lost-sections>section{padding:14px 10px 4px;border:1px solid #c4a7ef3b;border-radius:12px;background:#0c1325ad;overflow:hidden}.battle-lost-player{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;padding:0 4px 14px;margin-bottom:10px;border-bottom:1px solid #bba0e44d}.battle-lost-player>div{min-width:0}.battle-lost-sections .battle-lost-player h3{font-size:15px;margin:0 0 5px;color:#f1e8ff}.battle-lost-player small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:35vw;font-size:11px;color:#b0b8cf}.battle-lost-player>b{display:grid;place-items:center;flex:none;min-width:30px;height:30px;padding:0 5px;border:1px solid #ba9cdf73;border-radius:8px;background:#9274cb20;color:#e9dfff;font-size:14px}.battle-lost-inventory .battle-inventory-browser{--inventory-card-width:min(168px,calc((100cqh - 50px)/2.792))}.battle-lost-inventory .battle-floating-grid{grid-template-rows:repeat(2,max-content);gap:12px;scrollbar-color:#bca4de88 transparent}.battle-lost-inventory .battle-search-empty{align-self:center;color:#b5abc9;font-size:12px}@media(max-width:650px){.battle-app .battle-choice.battle-lost-inventory{width:100%;height:94dvh;max-height:94dvh;padding:28px 22px;border-radius:6px}.battle-lost-inventory:before{border-width:24px;border-image-width:24px 19px}.battle-lost-inventory>.battle-inventory-heading{padding-bottom:12px;margin-bottom:12px}.battle-lost-inventory>.battle-inventory-heading h2{font-size:19px}.battle-lost-inventory .battle-lost-sections{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:22px}.battle-lost-inventory .battle-lost-sections:before{left:0;right:0;top:50%;bottom:auto;width:auto;height:2px;background:linear-gradient(90deg,transparent,#b4a2e9 15%,#74c9de 50%,#bc8bc7 85%,transparent)}.battle-lost-inventory .battle-lost-sections>section{padding:10px 6px 2px}.battle-lost-player{padding-bottom:8px;margin-bottom:4px}.battle-lost-sections .battle-lost-player h3{font-size:13px;margin-bottom:3px}.battle-lost-player small{max-width:65vw;font-size:10px}.battle-lost-player>b{height:26px;min-width:26px;font-size:12px}.battle-lost-inventory .battle-inventory-browser{--inventory-card-width:min(125px,calc((100cqh - 44px)/2.792))}.battle-lost-inventory .battle-floating-grid{grid-template-rows:repeat(2,max-content);gap:8px}}@media(any-pointer:coarse),(max-width:900px){.battle-bench-zoom,.battle-card-overlay,.battle-inventory-overlay,.battle-mulligan-overlay,.battle-opening-hand,.battle-opening-sorteio,.battle-orientation-overlay,.battle-prize-overlay{backdrop-filter:none;-webkit-backdrop-filter:none;background-color:#07111ef0}.battle-history-drawer,.battle-opening-wait,.battle-options-drawer,.battle-setup-notice{backdrop-filter:none;-webkit-backdrop-filter:none}}