.battle-presentation{z-index:90;pointer-events:none;contain:layout style paint;position:fixed;inset:0;overflow:hidden}.battle-presentation *,.battle-motion{-webkit-user-select:none;user-select:none;pointer-events:none!important}.battle-motion{will-change:transform, opacity;position:absolute}.battle-motion-card{aspect-ratio:868/1212;filter:drop-shadow(0 8px 14px #00181688);transform:translate(-50%,-50%)}.battle-motion-card-face{border:2px solid color-mix(in srgb, var(--motion-color) 75%, white);width:100%;height:100%;box-shadow:0 0 15px color-mix(in srgb, var(--motion-color) 38%, transparent);background:repeating-linear-gradient(135deg,#103c43,#103c43 7px,#17464d 7px 9px);border-radius:7px;position:relative;overflow:hidden}.battle-motion-card-face img{object-fit:cover;border-radius:4px;width:100%;height:100%;position:absolute;inset:0}.battle-motion-card-fallback{text-align:center;color:#d9fff0;border:1px solid #c3f8e656;border-radius:50% 50% 45% 45%;place-content:center;font-size:11px;font-weight:800;line-height:1.4;display:grid;position:absolute;inset:7px}.battle-motion-ring{border:3px solid var(--motion-color);width:110px;height:110px;box-shadow:0 0 18px color-mix(in srgb, var(--motion-color) 55%, transparent), inset 0 0 20px color-mix(in srgb, var(--motion-color) 22%, transparent);border-radius:50%;transform:translate(-50%,-50%)}.battle-motion-ring:after{content:"";border:1px solid var(--motion-color);border-radius:inherit;opacity:.55;position:absolute;inset:10px}.battle-motion-evolution{border-style:dashed;border-width:4px;width:145px;height:145px}.battle-motion-evolution:after{border-width:2px;border-radius:24%;inset:22px;transform:rotate(45deg)}.battle-motion-projectile{background:radial-gradient(circle, #fff 0%, var(--motion-color) 40%, transparent 73%);width:27px;height:27px;box-shadow:0 0 25px var(--motion-color);border-radius:50%}.battle-motion-number{color:#fff3d4;-webkit-text-stroke:1px #68462a;text-shadow:0 3px #2c211e,0 6px 15px #000b;font-variant-numeric:tabular-nums;font:900 43px/1 system-ui,sans-serif}.battle-motion-number.is-heal{color:#c4ffa5;-webkit-text-stroke-color:#286147}.battle-motion-banner{color:#e5ffd1;letter-spacing:.13em;text-align:center;text-wrap:balance;text-shadow:0 2px 12px #0009;background:linear-gradient(100deg,#092a3300,#092a33f5 17%,#15454af7 83%,#092a3300);border-block:1px solid #bafaab80;max-width:min(580px,75vw);padding:18px 48px;font:800 24px/1.3 system-ui,sans-serif;transform:translate(-50%,-50%)}.battle-motion-banner-victory{color:#efffbc;background:linear-gradient(100deg,#19343600,#193436f5 15%,#365044f7 85%,#19343600);border-color:#dded97;font-size:32px}.battle-motion-tag{white-space:nowrap;border:1px solid var(--motion-color);color:#fff;letter-spacing:.14em;background:#172b35ef;border-radius:20px;padding:5px 12px;font:800 10px/1.3 system-ui,sans-serif;box-shadow:0 4px 14px #0006}.battle-motion-spark{background:var(--motion-color);width:9px;height:16px;box-shadow:0 0 9px var(--motion-color);border-radius:3px}.match-app .opponent-board .pokemon-slot>.card-button>.card-face,.match-app .opponent-board .pokemon-slot>.card-back{transform:rotate(180deg)}.presentation-settings-toggle{white-space:nowrap;color:#ccebe5;background:#101e25;border:1px solid #304850;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:34px;padding:6px 11px;font-size:12px;display:inline-flex}.presentation-settings-toggle:hover{color:#fff;border-color:#71d3bb}.presentation-settings{color:#e9f4f2;text-align:left;background:#101d25;border:1px solid #3e605f;border-radius:18px;width:min(370px,100vw - 32px);margin:auto;padding:24px;position:fixed;inset:0;box-shadow:0 24px 100px #0009}.presentation-settings::backdrop{background:#050c14a8}.presentation-settings-heading{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.presentation-settings-heading h2{margin:0;font-size:19px}.presentation-settings-heading button{color:#eef8f5;background:#24363e;border:0;border-radius:50%;width:32px;height:32px;font-size:22px}.presentation-setting-row,.presentation-volume>span{justify-content:space-between;align-items:center;display:flex}.presentation-setting-row{padding:9px 0;font-size:14px}.presentation-setting-row input{accent-color:#8adcc1;width:20px;height:20px}.presentation-volume{margin:12px 0 6px;font-size:13px;display:block}.presentation-volume output{color:#a3c7c3;font-variant-numeric:tabular-nums}.presentation-volume input{accent-color:#8adcc1;width:100%;margin:14px 0 7px}.presentation-sound-preview{color:#d2f6ea;background:#203a3b;border:1px solid #38534f;border-radius:6px;padding:7px 10px;font-size:12px}.presentation-sound-preview:disabled{opacity:.45}.presentation-motion-choice{gap:10px;margin-top:23px;font-size:14px;display:grid}.presentation-motion-choice select{color:#e6f2ef;width:100%;font:inherit;background:#192d34;border:1px solid #3b5657;border-radius:8px;padding:10px}.presentation-settings-note{color:#9cb5b6;margin:14px 0 0;font-size:12px;line-height:1.8}:is(.presentation-settings :focus-visible,.presentation-settings-toggle:focus-visible){outline-offset:4px;outline:2px solid #a0ebc5}.room-list{background:#fff;border:1px solid #d4ddd0;border-radius:12px;grid-column:1/-1;min-width:0;padding:24px}.room-list-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px;display:flex}.room-list-heading h2{margin:0 0 7px;font-size:21px}.room-list-heading p{color:#6b7765;margin:0;font-size:12px;line-height:1.7}.room-list-refresh{flex:none;min-width:74px;font-size:12px}.room-list ul{gap:10px;margin:0;padding:0;list-style:none;display:grid}.room-list li{background:#f6f9f1;border:1px solid #dce4d5;border-radius:8px;justify-content:space-between;align-items:center;gap:20px;padding:15px 17px;display:flex}.room-list-host{flex-wrap:wrap;align-items:center;gap:12px;min-width:0;display:flex}.room-list-host strong{overflow-wrap:anywhere;font-size:15px}.room-list-host span{color:#526e39;white-space:nowrap;font-size:11px}.room-list li>button{flex:none;font-size:12px}.room-list-empty{color:#6b7765;margin:0;padding:14px 0;font-size:13px;line-height:1.8}.room-list-error{color:#8b452d;font-size:12px;line-height:1.7}.room-id-entry{border-top:1px solid #dce4d5;margin-top:22px;padding-top:16px}.room-id-entry summary{cursor:pointer;color:#526a44;font-size:12px}.room-id-entry[open] summary{margin-bottom:16px}.waiting-room .waiting-list-note{max-width:430px;margin:0 auto 20px;line-height:1.8}.waiting-room .withdraw-room{margin-top:10px}@media (max-width:700px){.room-list{padding:18px}.room-list li{gap:12px;padding:12px}.room-list-heading{gap:12px}}.match-app:has(.battle-main){--bench-card:clamp(70px, 8.5dvh, 90px);--active-card:clamp(86px, 10.4dvh, 110px);--hand-card:116px;min-height:760px;overflow:auto}.match-app .match-layout:has(.battle-main){grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:12px;min-height:0;padding:10px 12px;display:grid}.battle-main{grid-template-rows:minmax(0,1fr) 220px;gap:8px;min-width:0;min-height:0;display:grid}.match-app .battle-main .table-surface{border:1px solid #315468;border-radius:14px;height:auto;min-height:0}.match-app .battle-main .table-surface:before{inset:24px 10%}.match-app .battle-main .table-surface:after{top:calc(50% - 95px)}.match-app .battle-main .arena-boards{gap:38px;inset:22px 16px 12px}.match-app .battle-main .player-board{grid-template-columns:90px minmax(0,1fr) 96px;column-gap:12px}.match-app .battle-main .bench-line{gap:clamp(14px,1.6vw,24px)}.match-app .battle-main .zone-column{width:86px}.match-app .battle-main .zone-buttons,.match-app .battle-main .public-zones{flex-wrap:wrap;place-content:center flex-end;gap:7px;display:flex}.match-app .battle-main .zone-icon-button,.match-app .battle-main .prize-rack{color:#d3e9f1;background:#112f41;border:1px solid #416778;border-radius:9px;grid-template-rows:28px auto;grid-template-columns:26px 1fr;place-items:center;gap:2px 4px;width:86px;min-height:57px;padding:7px 8px;display:grid;position:relative;box-shadow:0 2px 6px #0002}.match-app .battle-main .zone-icon-button.lost-zone{background:#2b2943;border-color:#705d89}.match-app .battle-main .zone-icon{color:#9dcbd6;width:25px;height:25px}.match-app .battle-main .zone-count{color:#f2fbff;font-variant-numeric:tabular-nums;font-size:21px;font-weight:750;line-height:1}.match-app .battle-main .zone-label{color:#bcd3df;letter-spacing:0;grid-column:1/-1;font-size:10px;line-height:1.3}.match-app .battle-main .prize-rack{background:#253c37;border-color:#698264}.match-app .battle-main .prize-rack .zone-count{color:#d6f88f}.match-app .battle-main .turn-indicator{z-index:3;background:#102b3ee8;border:1px solid #47788b;border-left:4px solid #69bcd6;border-radius:8px;width:155px;padding:9px 11px;animation:none;top:50%;left:14px}.match-app .battle-main .turn-indicator.is-your-turn{background:#274237;border-color:#a4ca6e;box-shadow:0 0 16px #b7e77610}.match-app .battle-main .turn-indicator.is-opponent-turn{background:#193447;border-color:#6296ba}.match-app .battle-main .turn-indicator.is-setup{border-color:#b5a576}.match-app .battle-main .turn-indicator.is-finished{border-color:#b49cc8}.match-app .battle-main .turn-owner-name{color:#eff9ff;overflow-wrap:anywhere;font-size:14px;font-weight:700;display:block}.match-app .battle-main .turn-owner-label{color:#c8dfeb;font-size:12px;line-height:1.5;display:block}.match-app .battle-main .is-your-turn .turn-owner-label{color:#ddf9ab;font-weight:800}.match-app .battle-main .stadium-slot{width:145px;top:50%;left:auto;right:14px}.match-app .battle-main .arena-mark{gap:100px;font-size:28px;top:50%}.match-app .battle-main .event-toast{max-width:48%;top:3px}.match-app .hand-tray,.match-app .battle-main .hand-area{pointer-events:auto;z-index:auto;background:linear-gradient(#102b3a,#0a1c2b);border:1px solid #304c5f;border-radius:12px;min-width:0;height:220px;padding:8px 12px 0;position:relative;inset:auto}.match-app .hand-tray .hand-heading,.match-app .battle-main .hand-area .hand-heading{flex-direction:row;justify-content:space-between;align-items:center;gap:10px;max-width:none;height:23px;font-size:11px;position:static}.match-app .hand-tray .hand-heading b{font-size:16px}.match-app .hand-tray .hand-heading small{font-size:10px}.match-app .hand-tray .hand-cards,.match-app .battle-main .hand-area .hand-cards{overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#5f8791 #102431;pointer-events:auto;justify-content:flex-start;align-items:flex-start;width:100%;height:188px;min-height:0;padding:10px 5px 12px;scroll-padding-inline:8px;display:flex;position:relative;inset:auto;overflow:auto hidden;transform:none}.match-app .hand-tray .hand-cards .card-button{--fan-rest:none;--fan-angle:0deg;width:82px;height:calc(var(--hand-card) * 88 / 63);transform-origin:50%;z-index:auto;flex:0 0 82px;scroll-margin-inline:8px;position:relative;inset:auto;transform:none}.match-app .hand-tray .hand-cards .card-button:last-child{flex-basis:var(--hand-card);width:var(--hand-card)}.match-app .hand-tray .hand-cards .card-button:is(.selected,:hover,:focus-visible){z-index:auto;transform:none}.match-app .hand-tray .hand-cards .card-button>.card-face{pointer-events:none;transform:none}.match-app .hand-tray .hand-cards .card-button.selected>.card-face,.match-app .hand-tray .hand-cards .card-button:hover:not(:disabled)>.card-face{transform:translateY(-6px)}.match-app .hand-tray .hand-cards .card-button:focus-visible>.card-face{transform:translateY(-6px)}.match-app .battle-main .selection-hint{border-radius:6px;width:auto;max-width:none;margin:0;font-size:10px;position:static;transform:none}.match-app .battle-main .pokemon-slot .card-button{transition:transform .16s,box-shadow .16s,outline-color .16s}.match-app .battle-main .pokemon-slot .card-button.selected{z-index:9;outline:2px solid #d9ffa3;transform:translateY(-10px)scale(1.035);box-shadow:0 15px 20px #0008,0 0 22px #b9ed7555}.match-app .hand-tray .hand-cards .card-button.selected>.card-face{filter:drop-shadow(0 9px 7px #0008);transform:translateY(-10px)}.match-app .hand-tray .hand-cards{padding-top:14px}.hand-scroll-controls{gap:5px;display:flex}.match-app .hand-scroll-controls button{width:32px;height:25px;padding:0;font-size:21px;line-height:1}.match-app .battle-main .player-heading{padding-right:104px}.match-app .battle-main .player-heading>div{min-width:0}.match-app .battle-main .player-counts{flex:none;gap:6px}.match-app .battle-main .player-counts .hand-count-icon{align-items:center;gap:5px;display:inline-flex}.match-app .battle-main .player-counts .zone-icon{width:19px;height:19px}.match-app .battle-main .own-board .public-zones{transform:translateY(-16px)}.card-context-menu{z-index:90;scrollbar-width:thin;color:#edf8ff;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(145deg,#173a49f7,#0b2133fc);border:1px solid #699391;border-radius:12px;width:210px;max-width:calc(100vw - 20px);max-height:min(410px,100dvh - 24px);padding:9px;font-family:inherit;font-size:12px;animation:.13s ease-out context-appear;position:fixed;overflow:auto;box-shadow:0 14px 32px #0008,inset 0 0 0 1px #c5f57c12}.card-context-heading{border-bottom:1px solid #426171;justify-content:space-between;align-items:center;gap:8px;padding:1px 2px 7px;display:flex}.card-context-heading h2,.card-context-heading strong{margin:0;font-size:12px;font-weight:750;line-height:1.5}.card-context-menu button{color:#e9f8ff;min-height:30px;font:inherit;text-align:left;cursor:pointer;background:#1d4559;border:1px solid #497081;border-radius:7px;padding:6px 8px}.card-context-menu button:hover:not(:disabled){background:#326178;border-color:#a4d2c4}.card-context-menu button:focus-visible{outline-offset:2px;outline:2px solid #d0f887}.card-context-menu button:disabled{opacity:.46;cursor:not-allowed}.card-context-heading button{text-align:center;background:0 0;border:0;min-width:27px;min-height:27px;padding:0;font-size:19px}.card-context-actions{gap:5px;padding-top:8px;display:grid}.card-context-actions .action-option{gap:2px;display:grid}.card-context-actions .action-token{cursor:grab;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:2px 5px;width:100%;display:grid}.card-context-actions .action-token:active{cursor:grabbing}.card-context-actions .action-ability button{border-left:3px solid #92dca8}.card-context-actions .action-attack button{border-left:3px solid #e0b479}.card-context-actions .action-retreat button{border-left:3px solid #9abae7}.card-context-actions small{color:#b3cbd4;font-size:9px;line-height:1.4}.card-context-actions .action-kind{color:#afd4bc;letter-spacing:.06em;grid-area:1/1;font-size:9px}.card-context-actions .action-label{grid-area:1/2;font-size:11px;font-weight:650}.card-context-actions .attack-cost{grid-area:2/2}.card-context-actions .action-option>small{padding:0 5px 2px}.card-context-menu p{color:#b7d0d6;margin:7px 2px;font-size:10px;line-height:1.5}.card-context-menu .detail-link{text-align:center;color:#b5dce6;background:0 0;border-color:#0000;width:100%;margin-top:7px;font-size:10px}@keyframes context-appear{0%{opacity:0;translate:0 4px}to{opacity:1;translate:0}}.match-app .battle-controls{z-index:5;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;width:185px;display:flex;position:absolute;top:50%;right:178px;transform:translateY(-50%)}.match-app .battle-controls .turn-controls{background:0 0;gap:6px;width:auto;padding:0;display:flex;position:static;inset:auto;transform:none}.match-app .battle-controls .action-option{min-width:0}.match-app .battle-controls .action-option>button{color:#21391f;background:#c1ed7e;border-color:#c9f393;border-radius:18px;min-height:33px;padding:7px 14px;font-weight:750}.match-app .battle-controls .action-option>small{display:none}.match-app .battle-controls .dnd-hint{color:#b2d1d9;text-align:center;flex:0 0 100%;margin:0;font-size:10px}.match-app .execute-pill{color:#def5c5;background:#203e32eb;border:1px dashed #a2c779;border-radius:18px;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:6px 14px;font-size:11px;display:flex}.match-app .execute-pill small{display:none}.match-app .execute-pill.drop-ready{outline-offset:2px;background:#3d6546;outline:2px solid #dcffa4}.setup-status{color:#d3e8d7;text-align:center;font-size:10px;line-height:1.4}.setup-status>strong{font-size:11px}.setup-status p{margin:3px 0;font-size:10px}.setup-status>div{justify-content:center;gap:10px;font-size:9px;display:flex}.match-app .app-header .arena-toolbar{align-items:center;gap:6px;margin:0;padding:0;display:flex;position:static;inset:auto;transform:none}.match-app .app-header .arena-toolbar button{min-height:28px;padding:5px 9px;font-size:10px}.context-shelf[hidden],.context-shelf [hidden]{display:none!important}.context-shelf{color:#edf8ff;background:#102a3b;border:1px solid #466b79;border-radius:12px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.match-app .match-layout:has(.context-shelf:not([hidden])){grid-template-rows:minmax(0,1fr) auto}.match-app:has(.context-shelf:not([hidden])){--bench-card:clamp(52px, 6.5dvh, 74px);--active-card:clamp(68px, 8dvh, 92px);--hand-card:66px}.match-app:has(.context-shelf:not([hidden])) .battle-main{grid-template-rows:minmax(355px,1fr) 132px}.match-app:has(.context-shelf:not([hidden])) .hand-tray{height:132px}.match-app:has(.context-shelf:not([hidden])) .hand-tray .hand-cards{height:100px;padding-top:10px}.match-app:has(.context-shelf:not([hidden])) .hand-tray .hand-cards .card-button{flex-basis:54px;width:54px}.match-app:has(.context-shelf:not([hidden])) .hand-tray .hand-cards .card-button:last-child{flex-basis:var(--hand-card);width:var(--hand-card)}.match-app .context-shelf{flex:none;height:224px}.context-shelf .dock-content{flex:auto;min-height:0;position:relative;overflow:auto}.context-shelf .shelf-tabs{background:#173a49;border-bottom:1px solid #416171;flex:none;gap:6px;padding:5px 10px;display:flex;overflow-x:auto}.context-shelf .shelf-tabs button{white-space:nowrap;min-height:25px;padding:4px 9px;font-size:10px}.context-shelf .shelf-tabs button[aria-pressed=true]{color:#25432c;background:#c4e990}.context-shelf .dock-panel.modal,.context-shelf .dock-panel.account-dialog,.context-shelf .dock-panel.presentation-settings{color:#edf8ff;width:100%;min-width:0;max-width:none;height:100%;min-height:0;max-height:100%;box-shadow:none;background:0 0;border:0;border-radius:0;margin:0;padding:12px;position:relative;inset:auto;overflow:auto;transform:none}.context-shelf .dock-panel:focus{outline:none}.context-shelf .dock-panel h2{margin:0 0 6px;font-size:15px}.context-shelf .dock-panel p{margin:4px 0;font-size:11px;line-height:1.6}.context-shelf .dock-panel-toolbar{justify-content:space-between;align-items:center;gap:10px;padding:0 0 7px;font-size:11px;display:flex}.match-app .context-shelf .detail-layout,.context-shelf .detail-layout{align-items:flex-start;gap:18px;display:flex}.context-shelf .detail-layout>.card-face{flex:0 0 104px;width:104px;min-width:104px;margin:0}.context-shelf .detail-layout>div:not(.card-face){flex:auto}.context-shelf:has(.shelf-tabs) .detail-layout>.card-face{flex-basis:80px;width:80px;min-width:80px}.context-shelf .detail-rule{margin:4px 0;font-size:11px}.context-shelf .detail-rule p{margin:2px 0}.context-shelf .zone-card-grid{scrollbar-width:thin;gap:10px;padding:5px 3px 10px;display:flex;overflow-x:auto}.context-shelf .zone-card-grid>*{flex:0 0 82px;min-width:0}.context-shelf .zone-card-grid .card-face{width:82px}.context-shelf .log-panel,.context-shelf .result-strip{width:auto;max-height:none;box-shadow:none;background:0 0;border:0;padding:0;position:static;inset:auto}.context-shelf .log-panel ol{max-height:150px;margin:4px 0}.context-shelf .log-panel li{padding:4px 0;font-size:11px}.context-shelf .result-strip{align-items:center;gap:30px;display:flex}.context-shelf .modal-footer{background:0 0;margin:8px 0 0;padding:6px 0;position:static}.context-shelf .presentation-settings{grid-template-columns:1fr 1fr 1fr;gap:8px 24px;display:grid}.context-shelf .presentation-settings-heading,.context-shelf .presentation-settings-note{grid-column:1/-1}.lobby-app .context-shelf{width:min(100% - 32px,880px);max-height:70dvh;margin:14px auto}.context-shelf .dock-panel:has(.choice-panel):not(:has(.choice-detail)){height:100%;padding:8px 10px;overflow:hidden}.context-shelf .choice-panel:not(:has(.choice-detail)){flex-direction:column;height:100%;min-height:0;display:flex}.context-shelf .choice-header{flex-wrap:wrap;flex:none;align-items:baseline;gap:10px;display:flex}.context-shelf .choice-header h2{margin:0;font-size:13px}.context-shelf .choice-header p{margin:0;font-size:10px}.context-shelf .choice-progress{color:#bcd4dc;margin-left:auto;font-size:10px}.context-shelf .choice-progress.selection-valid{color:#d6f6a7}.context-shelf .choice-header .eyebrow{display:none}.context-shelf .choice-body{flex-direction:row;flex:auto;align-items:stretch;gap:10px;min-height:0;padding:7px 2px;display:flex;overflow:hidden}.context-shelf .choice-body>.choice-options{overscroll-behavior:contain;scrollbar-width:thin;flex:auto;align-items:flex-start;gap:7px;min-width:0;min-height:0;padding:3px 3px 7px;display:flex;overflow:auto}.context-shelf .choice-options .choice-item{flex:0 0 74px;width:74px;min-width:0;padding:0}.context-shelf .choice-options .choice-card,.context-shelf .choice-options .attachment-source{width:100%;padding:3px}.context-shelf .choice-options .card-face{width:62px;margin:auto}.context-shelf .choice-options .choice-label{padding:3px 0 0;font-size:9px;line-height:1.3}.context-shelf .choice-inspect{min-height:18px;padding:1px 6px;font-size:9px}.context-shelf .choice-options.attach .choice-item{flex-basis:91px;width:91px}.context-shelf .choice-options.attach .card-face{width:44px}.context-shelf .choice-options.attach label{font-size:9px}.context-shelf .choice-options.attach select{max-width:100%;min-height:25px;padding:3px;font-size:9px}.context-shelf .choice-drop-target{color:#d2e9df;background:#1a3c38;border:1px dashed #638e86;border-radius:7px;margin:0;padding:6px 8px;font-size:10px;line-height:1.4}.context-shelf .choice-body>.choice-tray{flex:0 0 190px;overflow:auto}.context-shelf .choice-selected-cards{flex-wrap:wrap;gap:4px;margin-top:5px;display:flex}.context-shelf .choice-selected-card{text-align:left;cursor:grab;align-items:center;gap:5px;width:calc(50% - 2px);min-width:0;padding:3px;font-size:9px;display:flex}.context-shelf .choice-selected-card>.card-face{width:23px;min-width:23px}.context-shelf .choice-selected-card>span{overflow-wrap:anywhere;font-size:9px}.context-shelf .choice-body>.choice-return-target{text-align:center;flex:0 0 66px;align-content:center;gap:5px;display:grid}.context-shelf .choice-return-target{color:#bfd4de;background:#203948;border-color:#718999}.context-shelf .attachment-targets{flex:52%;gap:6px;min-width:0;display:flex;overflow:auto}.context-shelf .attachment-targets>p{display:none}.context-shelf .choice-attachment-target{flex:0 0 102px;min-width:0;padding:5px}.context-shelf .choice-attachment-target .target-choice{width:100%;padding:2px;font-size:9px}.context-shelf .choice-attachment-target .target-choice .card-face{width:43px}.context-shelf .choice-assigned-energies{flex-wrap:nowrap;gap:3px;margin-top:3px;display:flex;overflow-x:auto}.context-shelf .choice-assigned-energy{cursor:grab;min-width:0;padding:3px;font-size:9px}.context-shelf .choice-counter-supply{flex-direction:column;flex:0 0 90px;justify-content:center;align-items:center;gap:4px;font-size:10px;display:flex}.context-shelf .choice-options.distribute .choice-item{flex-basis:120px;width:120px;padding:3px}.context-shelf .choice-options.distribute .card-face{width:44px}.context-shelf .choice-options.distribute label{font-size:9px}.context-shelf .counter-control{gap:4px;margin:3px 0}.context-shelf .counter-control button{width:26px;height:23px;padding:0;font-size:12px}.context-shelf .choice-damage-token{color:#fff3dc;cursor:grab;background:#99463b;border:1px solid #e9af88;border-radius:50%;place-items:center;min-width:36px;height:36px;padding:4px;font-size:12px;font-weight:800;display:inline-grid}.context-shelf .choice-damage-token.assigned{min-width:22px;height:22px;padding:1px;font-size:9px}.context-shelf .choice-assigned-counters{flex-wrap:nowrap;gap:2px;margin-top:3px;display:flex;overflow-x:auto}.context-shelf .choice-destination{flex:none;margin:0;padding:2px 0;font-size:10px}.context-shelf .choice-footer{background:0 0;border-top:1px solid #345665;flex:none;justify-content:flex-end;align-items:center;gap:10px;margin:0;padding:5px 0 0;font-size:10px;display:flex;position:static}.context-shelf .choice-footer>button{flex:none;min-height:28px;padding:5px 15px;font-size:11px}.context-shelf .choice-footer>.choice-return-target{text-align:center;min-width:62px;margin-right:auto}.context-shelf .choice-confirm-target{text-align:center;opacity:.5;flex:0 0 140px;min-height:28px;padding:5px 9px}.context-shelf .choice-confirm-target.is-ready{opacity:1;color:#e3f7c3;background:#2b4c39;border-color:#b5da80}.context-shelf .choice-confirm-token:not(:disabled){cursor:grab}.context-shelf .choice-panel>.selection-help{margin:2px 0 0;font-size:10px}.context-shelf .deck-inspection{flex:0 0 165px;min-width:0;max-height:100%;margin:0;font-size:10px;overflow:auto}.context-shelf .deck-inspection .zone-card-grid{flex-wrap:wrap}.context-shelf .deck-inspection .zone-card-grid>*{flex-basis:56px}.context-shelf .deck-inspection .card-face{width:56px}.context-shelf .is-drag-over{outline-offset:1px;background:#375740;outline:2px solid #dcffa4}.context-shelf .choice-detail{align-items:flex-start;gap:16px;display:flex}.context-shelf .choice-detail>.card-face{width:105px;min-width:105px}.context-shelf .choice-detail>button{flex:none}.context-shelf .choice-detail-card{flex:0 0 105px}.context-shelf .choice-detail-card>.card-face{width:105px}.context-shelf .choice-detail-card>button{width:100%;margin-top:5px;padding:5px;font-size:10px}.context-shelf .choice-detail-rules{flex:auto;min-width:0}.context-shelf:has(.shelf-tabs) .choice-detail-card{flex-basis:80px}.context-shelf:has(.shelf-tabs) .choice-detail-card>.card-face{width:80px}@media (min-width:1600px){.match-app .hand-tray{--hand-card:120px}.match-app:has(.context-shelf:not([hidden])) .hand-tray{--hand-card:66px}}@media (max-width:1400px){.match-app .app-header{gap:10px;padding-inline:14px}.match-app .wordmark{width:auto}.match-app .header-right{gap:8px}.match-app .private-label{display:none}}@media (max-height:820px) and (min-width:961px){.match-app:has(.context-shelf:not([hidden])){--bench-card:49px;--active-card:64px}.match-app:has(.context-shelf:not([hidden])) .battle-main{grid-template-rows:minmax(330px,1fr) 115px}.match-app:has(.context-shelf:not([hidden])) .hand-tray{height:115px}.match-app:has(.context-shelf:not([hidden])) .hand-tray .hand-cards{height:83px}.match-app:has(.context-shelf:not([hidden])){--hand-card:54px}.match-app .context-shelf{height:210px}}@media (max-width:960px){.match-app:has(.battle-main){height:auto;min-height:100dvh;overflow:visible}.match-app .match-layout:has(.battle-main){flex:none}.battle-main{grid-template-rows:590px 220px}.match-app:has(.context-shelf:not([hidden])) .battle-main{grid-template-rows:430px 132px}.match-app .context-shelf{height:250px}.context-shelf .choice-body>.choice-tray{flex-basis:145px}.match-app .battle-controls{width:145px;right:160px}.match-app .app-header .arena-toolbar button{padding:4px 6px}.match-app .battle-main .player-board{grid-template-columns:76px minmax(0,1fr) 80px;gap:8px}.match-app .battle-main .bench-line{gap:10px}.match-app .battle-main .zone-icon-button,.match-app .battle-main .prize-rack{width:74px}}@media (max-width:620px){.match-app:has(.battle-main){--bench-card:48px;--active-card:70px}.match-app .battle-main .player-board{grid-template-columns:50px minmax(0,1fr) 50px;gap:5px}.match-app .battle-main .arena-boards{inset-inline:7px}.match-app .battle-main .bench-line{gap:6px}.match-app .battle-main .zone-column{width:48px}.match-app .battle-main .zone-icon-button,.match-app .battle-main .prize-rack{grid-template-columns:1fr;width:48px;padding:4px}.match-app .battle-main .zone-icon{display:none}.match-app .battle-main .zone-count{font-size:18px}.match-app .battle-main .turn-indicator{width:115px;left:8px}.match-app .battle-main .stadium-slot{width:110px;right:8px}.match-app .battle-main .player-heading{padding-right:53px}.match-app .battle-main .player-heading strong{max-width:80px}.match-app .battle-main .player-counts{gap:3px}.match-app .hand-tray .hand-heading small{display:none}.context-shelf .choice-body>.choice-tray{flex-basis:110px}.context-shelf .choice-body>.choice-return-target{flex-basis:45px}}@media (prefers-reduced-motion:reduce){.card-context-menu{animation:none}.match-app .battle-main .pokemon-slot .card-button{transition:none}}.account-shell{color:#e5f4f7;background:radial-gradient(at 50% 20%,#184b53 0,#071825 65%);place-items:center;min-height:100dvh;padding:40px 24px;display:grid}.account-card{background:#102b3ce8;border:1px solid #436572;border-radius:18px;width:min(100%,450px);padding:42px;box-shadow:0 24px 80px #00101888}.account-card h1{letter-spacing:-.06em;margin:10px 0 18px;font-size:40px}.account-card h1 em{color:#c5f57c;font-style:normal}.account-card form,.account-dialog form{gap:12px;display:grid}.account-card form h2{margin-top:14px;font-size:19px}.account-card p,.account-dialog p{line-height:1.65}.account-card input,.account-dialog input{color:#edf9fb;background:#081c2b;border:1px solid #557785;border-radius:8px;width:100%;padding:11px 13px}.account-card button,.account-dialog button{color:#eaf9fa;cursor:pointer;background:#234556;border:1px solid #557785;border-radius:8px;min-height:38px;padding:9px 15px}.account-card button.primary,.account-dialog button.primary{color:#17321d;background:#c4f277;border-color:#c4f277;font-weight:800}.account-card button:disabled,.account-dialog button:disabled{opacity:.55;cursor:wait}.account-card .text-button{background:0 0;margin-top:10px}.account-error{color:#ffced2;background:#5b233455;border-left:3px solid #df8492;padding:10px 12px}.account-menu-trigger{text-overflow:ellipsis;white-space:nowrap;flex-direction:column;gap:2px;max-width:180px;display:flex;overflow:hidden}.account-menu-trigger span{opacity:.7;font-size:9px}.account-sign-out{white-space:nowrap;flex-shrink:0;justify-content:center;align-items:center;gap:7px;display:inline-flex}.account-sign-out svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}@media (max-width:1400px){.app-header .header-right{gap:12px}.app-header .private-label{display:none}}.account-dialog{color:#effbfa;background:#102d3f;border:1px solid #547985;border-radius:14px;width:min(620px,90vw);max-height:82dvh;margin:auto;padding:26px;box-shadow:0 24px 80px #0008}.account-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#020c18b3}.account-dialog-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.account-dialog-heading h2{margin:0}.account-tabs{flex-wrap:wrap;gap:8px;margin:20px 0;display:flex}.account-tabs button[aria-pressed=true]{color:#d4ffac;background:#315647;border-color:#bce689}.account-results{padding:0;list-style:none}.account-results li{border-bottom:1px solid #48626e80;align-items:center;gap:18px;padding:15px 0;display:flex}.account-results li>div{flex:1}.account-results small{opacity:.7;margin-top:4px;display:block}.account-results time{opacity:.75;font-size:12px}.account-results .result-win{color:#caf797}.account-invitation{border:1px solid #557785;border-radius:10px;margin-top:18px;padding:16px}.account-invitation input{letter-spacing:.07em;margin-top:8px;font-family:ui-monospace,monospace}.account-login-options{gap:12px;margin-top:20px;display:grid}.account-login-options button{width:100%;min-height:44px}.account-card button.account-apple-login{color:#fff;background:#111;border-color:#b9c4cb;font-weight:700}.account-card button.account-apple-login:hover:not(:disabled){background:#292929}
