:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#050507;--glass:#09090cc2;--glass-strong:#0a0a0eeb;--glass-soft:#ffffff0b;--border:#ffffff1f;--border-strong:#fff3;--text:#f7f7f8;--muted:#9b9ba5;--accent:#ffb000;--accent-2:#ff5d00;--danger:#ff6577;--success:#9ae66e;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body{width:100%;height:100%}body{min-width:320px;color:var(--text);background:var(--bg);margin:0;overflow:hidden}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.38}.hidden{display:none!important}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute!important}#game{width:100%;height:100%;display:block;position:fixed;inset:0}#ui{pointer-events:none;position:fixed;inset:0}#ui button,#ui input,#ui select,#ui label,#ui dialog,#ui .lobby-panel,#ui .pokemon-picker,#ui .builder-sidebar,#ui .set-editor,#ui .log-panel,#ui #battle-log{pointer-events:auto}.panel,.compact-section,.command-panel,.log-panel,.fighter-hud,.battle-topbar,.waiting-banner{border:1px solid var(--border);background:linear-gradient(145deg, #fff1, #ffffff04 42%, #00000014), var(--glass);-webkit-backdrop-filter:blur(22px)saturate(125%);box-shadow:inset 0 1px #ffffff17,0 22px 70px #0000006b}.lobby-panel{background:radial-gradient(circle at 88% 0,#ff5d001a,#0000 33%),radial-gradient(circle at 0 100%,#ffb00012,#0000 28%),#050507d1;border-radius:24px;grid-template-rows:auto minmax(0,1fr);gap:16px;max-width:1480px;margin:auto;padding:18px;display:grid;position:absolute;inset:18px;overflow:hidden}.workspace-header{justify-content:space-between;align-items:center;gap:16px;min-height:54px;padding:0 4px;display:flex}.workspace-header h1{letter-spacing:-.03em;margin:0;font-size:clamp(1.35rem,2.5vw,2rem)}.workspace-header small{color:var(--muted);margin-top:3px;display:block}.team-counter{background:#ffb00014;border:1px solid #ffb00047;border-radius:999px;justify-content:center;align-items:baseline;gap:4px;min-width:76px;padding:9px 14px;display:flex}.team-counter strong{color:#ffd36a;font-size:1.45rem}.team-counter span{color:var(--muted)}.lobby-grid{grid-template-columns:minmax(0,1fr) minmax(340px,410px);gap:14px;min-height:0;display:grid;overflow:hidden}.catalog-panel{border:1px solid var(--border);background:#00000047;border-radius:18px;grid-template-rows:auto minmax(0,1fr);gap:10px;min-width:0;min-height:0;padding:14px;display:grid;overflow:hidden}.section-heading{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.section-heading strong{font-size:.95rem}.section-heading small{color:var(--muted);font-size:.7rem}.inline-heading{align-items:center}.pokemon-picker{overscroll-behavior:contain;scrollbar-gutter:stable;touch-action:pan-y;grid-template-columns:repeat(auto-fill,minmax(116px,1fr));align-content:start;gap:9px;min-height:0;padding-right:5px;display:grid;overflow-y:auto}.pokemon-picker::-webkit-scrollbar{width:9px}.builder-sidebar::-webkit-scrollbar{width:9px}.set-editor::-webkit-scrollbar{width:9px}#battle-log::-webkit-scrollbar{width:9px}.pokemon-picker::-webkit-scrollbar-track{background:0 0}.builder-sidebar::-webkit-scrollbar-track{background:0 0}.set-editor::-webkit-scrollbar-track{background:0 0}#battle-log::-webkit-scrollbar-track{background:0 0}.pokemon-picker::-webkit-scrollbar-thumb{background:#fff3 padding-box padding-box;border:3px solid #0000;border-radius:999px}.builder-sidebar::-webkit-scrollbar-thumb{background:#fff3 padding-box padding-box;border:3px solid #0000;border-radius:999px}.set-editor::-webkit-scrollbar-thumb{background:#fff3 padding-box padding-box;border:3px solid #0000;border-radius:999px}#battle-log::-webkit-scrollbar-thumb{background:#fff3 padding-box padding-box;border:3px solid #0000;border-radius:999px}.pokemon-option{min-height:136px;color:var(--text);text-align:center;background:linear-gradient(155deg,#fff1,#ffffff05);border:1px solid #ffffff17;border-radius:15px;padding:9px;transition:border-color .15s,background .15s,transform .15s;position:relative;overflow:hidden}.pokemon-option:hover:not(:disabled){border-color:#ffffff40;transform:translateY(-2px)}.pokemon-option.selected{border-color:color-mix(in srgb, var(--pokemon-color) 75%, white 25%);background:color-mix(in srgb, var(--pokemon-color) 12%, #ffffff06);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--pokemon-color) 42%, transparent)}.pokemon-option img{object-fit:contain;filter:drop-shadow(0 8px 12px #00000061);width:84px;height:84px;margin:0 auto 3px;display:block}.pokemon-option strong,.pokemon-option small{display:block}.pokemon-option strong{text-overflow:ellipsis;white-space:nowrap;font-size:.84rem;overflow:hidden}.pokemon-option small{color:var(--muted);margin-top:2px;font-size:.65rem}.builder-sidebar{overscroll-behavior:contain;scrollbar-gutter:stable;touch-action:pan-y;flex-direction:column;align-items:stretch;gap:10px;min-height:0;padding-right:4px;display:flex;overflow-y:auto}.compact-section{border-radius:16px;padding:13px}.team-section{flex:none;min-height:0;overflow:visible}label{color:#d0d0d5;gap:6px;font-size:.75rem;font-weight:700;display:grid}input,select{width:100%;min-width:0;color:var(--text);background:#00000061;border:1px solid #ffffff1f;border-radius:10px;outline:none;padding:10px 11px}input:focus,select:focus{border-color:#ffb000b3;box-shadow:0 0 0 3px #ffb0001a}#room-code{text-transform:uppercase;letter-spacing:.18em;font-weight:900}button{color:#eeeef1;background:#fff1;border:1px solid #ffffff1f;border-radius:10px;min-height:38px;padding:9px 12px;font-weight:800;transition:transform .15s,background .15s,border-color .15s}button:hover:not(:disabled){background:#ffffff1a;border-color:#ffffff38;transform:translateY(-1px)}button.primary{color:#130d00;background:linear-gradient(135deg,#ffd452,#ff9800);border-color:#ffb000}button.primary:hover:not(:disabled){background:linear-gradient(135deg,#ffe078,#ffad25)}.danger-button{color:#ffadb8;background:#ff657714;border-color:#ff657742}.icon-button{border-radius:999px;place-items:center;width:34px;min-width:34px;min-height:34px;padding:0;display:grid}.team-library{gap:9px;display:grid}.library-count{color:#ffd36a;background:#ffb00014;border:1px solid #ffb0003d;border-radius:999px;place-items:center;min-width:25px;height:25px;padding:0 7px;font-size:.7rem;font-weight:900;display:grid}.library-actions{grid-template-columns:1.25fr 1fr 1fr;gap:6px;display:grid}.library-actions button{min-width:0;padding-inline:7px;font-size:.69rem}.library-status{min-height:1em;color:var(--muted)}.library-status.error-text{color:var(--danger)}.team-slots{gap:7px;margin-top:9px;display:grid}.team-slot{color:#6f6f79;background:#00000038;border:1px dashed #ffffff1f;border-radius:13px;justify-content:center;align-items:center;gap:8px;min-height:62px;padding:7px;display:flex}.team-slot.filled{color:var(--text);background:#ffffff0a;border-style:solid;grid-template-columns:26px minmax(0,1fr) auto;place-items:center stretch;display:grid;position:relative}.empty-slot-number{color:#8a8a94;border:1px solid #ffffff24;border-radius:50%;place-items:center;width:26px;height:26px;display:grid}.slot-drag-handle{color:#787883;cursor:grab;touch-action:none;background:0 0;border:0;width:24px;min-width:24px;min-height:46px;padding:0}.slot-drag-handle:active{cursor:grabbing}.slot-main{grid-template-columns:52px minmax(0,1fr);align-items:center;gap:8px;min-width:0;display:grid}.team-slot .slot-main img{object-fit:contain;width:52px;height:52px}.slot-copy{min-width:0}.slot-copy strong,.slot-copy small,.slot-copy span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.slot-copy strong{font-size:.82rem}.slot-copy small{color:#aaaab2;margin-top:2px;font-size:.61rem}.slot-copy span{color:#d2d2d7;margin-top:4px;font-size:.58rem}.slot-actions{gap:4px;display:grid}.slot-actions button{border-radius:7px;min-height:27px;padding:4px 7px;font-size:.59rem}.slot-configure{color:#ffe1a0;background:#ffb00012;border-color:#ffb0003d}.slot-remove-text{color:#ffadb8;background:#ff657712;border-color:#ff657738}.team-slot.shiny{box-shadow:inset 0 0 0 1px #ffd55261}.team-slot.drag-source{opacity:.55;transform:scale(.985)}.team-slot.drag-target{border-color:#ffb000;box-shadow:inset 0 0 0 1px #ffb000}body.team-reordering{-webkit-user-select:none;user-select:none}.room-section{z-index:2;background:#07070af5;flex:none;gap:8px;display:grid;position:static}.join-row{grid-template-columns:minmax(0,1fr) auto;gap:7px;display:grid}.error{color:#ff9aaa;min-height:1.1em;margin:0;font-size:.72rem}.set-editor{width:min(900px,100vw - 22px);max-height:calc(100vh - 22px);color:var(--text);border:1px solid var(--border-strong);-webkit-backdrop-filter:blur(26px);backdrop-filter:blur(26px);background:#060608f0;border-radius:20px;margin:auto;padding:0;overflow-y:auto;box-shadow:0 30px 100px #000000bf}.set-editor::backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#000000bd}.set-editor-card{padding:18px}.set-editor-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:14px;padding-bottom:13px;display:flex}.set-editor-identity{align-items:center;gap:12px;display:flex}.set-editor-identity img{object-fit:contain;filter:drop-shadow(0 8px 12px #0006);width:72px;height:72px}.set-editor-header h2{margin:0 0 3px;font-size:1.25rem}.set-editor-header small{color:var(--muted)}.set-editor-layout{grid-template-columns:1.1fr .9fr;gap:12px;margin-top:13px;display:grid}.set-editor-section{border:1px solid var(--border);background:#ffffff06;border-radius:15px;padding:13px}.set-editor-section h3{margin:0 0 10px;font-size:.92rem}.move-select-grid{gap:8px;display:grid}.set-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.shiny-check{align-items:center;gap:8px;margin-top:11px;display:flex}.shiny-check input{width:17px;height:17px;accent-color:var(--accent);padding:0}.mega-check{color:#fde68a;width:fit-content}.mega-check[hidden]{display:none!important}.mega-check input{accent-color:#facc15}.mega-check small{color:var(--muted);font-size:.62rem;font-weight:500}.item-disabled-by-mega{opacity:.58}.item-disabled-by-mega select{cursor:not-allowed}.ev-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}#ev-total{color:#b9f29b;background:#9ae66e14;border-radius:999px;padding:4px 8px;font-size:.7rem}#ev-total.invalid{color:#ffadb8;background:#ff657714}.ev-grid{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.ev-grid input{padding:8px 9px}.ev-presets{grid-template-columns:repeat(4,1fr);gap:6px;margin-top:10px;display:grid}.ev-presets button{min-height:31px;padding:5px;font-size:.63rem}.set-editor-actions{justify-content:flex-end;gap:8px;margin-top:13px;display:flex}.set-editor-actions button{min-width:110px}#battle-ui{position:absolute;inset:0;overflow:hidden}.battle-topbar{z-index:10;border-radius:999px;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;min-width:225px;padding:6px 8px;display:grid;position:absolute;top:14px;left:50%;transform:translate(-50%)}.turn-card{text-align:center;min-width:112px}.turn-card small,.turn-card span{display:block}.turn-card small{color:var(--muted);letter-spacing:.13em;font-size:.6rem}.turn-card span{font-size:.78rem;font-weight:900}.status-pill{color:#ffd36a;background:#ffb00014;border-radius:999px;padding:5px 8px;font-size:.6rem;font-weight:900}.fighter-hud{z-index:6;background:#060609bd;border-radius:15px;width:min(355px,35vw);padding:11px 14px 9px;position:absolute}.opponent-hud{top:58px;right:16px}.player-hud{bottom:18px;left:16px}.fighter-head{justify-content:space-between;align-items:start;gap:10px;display:flex}.fighter-head strong,.fighter-head small{display:block}.fighter-head strong{font-size:1rem}.fighter-head small{color:var(--muted);margin-top:2px;font-size:.68rem}.condition-badge{color:#171000;background:#ffd452;border-radius:5px;align-self:center;padding:3px 6px;font-size:.58rem;font-weight:950}.condition-badge[data-status=burned]{color:#fff;background:#ef4444}.condition-badge[data-status=poisoned],.condition-badge[data-status=badlyPoisoned]{color:#fff;background:#a855f7}.condition-badge[data-status=asleep]{color:#fff;background:#64748b}.condition-badge[data-status=frozen]{color:#082f49;background:#67e8f9}.hud-hp-row{grid-template-columns:1fr auto;align-items:center;gap:8px;margin-top:8px;display:grid}.bar{background:#0000008c;border:1px solid #ffffff59;border-radius:999px;height:12px;overflow:hidden}.bar span{border-radius:inherit;background:linear-gradient(90deg,#8bdc54,#d7ef4a);width:100%;height:100%;transition:width .4s;display:block}.hud-hp-row>strong{text-align:right;min-width:65px;font-size:.72rem}.team-rail{gap:5px;margin-top:7px;display:flex}.team-chip{border:1px solid var(--border);background:#00000061;border-radius:50%;width:32px;height:32px;position:relative;overflow:hidden}.team-chip img{object-fit:contain;width:100%;height:100%}.team-chip.active{border-color:#ffb000;box-shadow:0 0 0 2px #ffb00021}.team-chip.fainted{filter:grayscale();opacity:.28}.team-chip:after{content:"";background:linear-gradient(90deg,#9ae66e var(--hp),#ffffff26 var(--hp));border-radius:99px;height:2px;position:absolute;bottom:2px;left:4px;right:4px}.team-chip.shiny:before{content:"★";z-index:2;color:#ffd452;font-size:.52rem;position:absolute;top:-1px;right:1px}.waiting-banner{z-index:15;border-radius:999px;padding:10px 18px;font-weight:850;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.command-panel{z-index:8;background:#060609cc;border-radius:18px;width:min(440px,100vw - 32px);padding:10px;position:absolute;bottom:16px;right:16px}.command-topline,.command-actions,.log-title{justify-content:space-between;align-items:center;gap:9px;display:flex}.command-topline{padding:1px 3px 8px}.command-topline>strong{font-size:.82rem}.mode-tabs{gap:4px;display:flex}.mode-tabs button{border-radius:8px;min-height:30px;padding:5px 9px;font-size:.64rem}.mode-tabs button.selected{color:#171000;background:#ffb000;border-color:#ffb000}.move-buttons{gap:6px;display:grid}.move-button{text-align:left;background:#ffffff0b;border-color:#ffffff1a;grid-template-columns:37px minmax(0,1fr) 46px;align-items:center;gap:8px;min-height:58px;padding:7px 9px;display:grid;position:relative;overflow:hidden}.move-button:before{content:"";background:var(--type-color);width:3px;position:absolute;inset:0 auto 0 0}.move-button.selected{background:#ffb00014;border-color:#ffb000}.move-type-icon{color:#fff;background:var(--type-color);border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.move-copy{min-width:0}.move-copy strong,.move-copy small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.move-copy strong{font-size:.83rem}.move-copy small{color:var(--muted);margin-top:2px;font-size:.6rem}.move-pp{text-align:right}.move-pp b,.move-pp small{display:inline}.move-pp b{font-size:1.02rem}.move-pp small{color:var(--muted);font-size:.6rem}.type-stripe{color:color-mix(in srgb, var(--type-color) 70%, white 30%);text-transform:uppercase;letter-spacing:.08em;font-size:.5rem;font-style:normal;position:absolute;bottom:3px;right:6px}.switch-buttons{grid-template-columns:repeat(2,1fr);gap:6px;max-height:260px;display:grid;overflow-y:auto}.switch-button{text-align:left;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:8px;display:grid}.switch-button img{object-fit:contain;width:46px;height:46px}.switch-button strong,.switch-button small{display:block}.switch-button small{color:var(--muted);font-size:.6rem}.move-detail{border:1px solid var(--border);background:#00000040;border-radius:10px;margin-top:6px;padding:8px 9px}.move-detail strong,.move-detail span{display:block}.move-detail span{color:var(--muted);margin-top:2px;font-size:.62rem}.command-actions{margin-top:7px}.command-actions button{min-width:100px}.log-panel{z-index:12;border-radius:15px;width:min(390px,100vw - 32px);max-height:min(54vh,430px);padding:10px;position:absolute;top:60px;left:16px}.log-title{border-bottom:1px solid var(--border);padding-bottom:7px;font-weight:850}#battle-log{color:#d3d3d8;max-height:340px;margin:7px 0 0;padding:0 0 0 20px;font-size:.72rem;line-height:1.45;overflow-y:auto}#battle-log li+li{margin-top:4px}.end-panel{z-index:20;text-align:center;border-radius:20px;width:min(390px,100vw - 32px);padding:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.end-panel h2{margin:0}.end-panel p{color:var(--muted)}.end-countdown{margin:10px 0 14px;font-size:.78rem}.end-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}@media (width<=980px){.lobby-panel{inset:10px}.lobby-grid{grid-template-columns:minmax(0,1fr) 340px}.pokemon-picker{grid-template-columns:repeat(auto-fill,minmax(104px,1fr))}.pokemon-option{min-height:124px}.pokemon-option img{width:74px;height:74px}}@media (width<=760px){body{overflow-y:auto}#ui{min-height:100%;position:absolute}.lobby-panel{width:calc(100% - 12px);min-height:calc(100vh - 12px);margin:6px;padding:12px;display:block;position:relative;inset:auto;overflow:visible}.workspace-header{margin-bottom:12px}.lobby-grid{grid-template-columns:1fr;display:grid;overflow:visible}.catalog-panel{max-height:48vh;margin-bottom:10px}.builder-sidebar{flex-direction:column;padding:0;display:flex;overflow:visible}.room-section{background:#07070afa;margin-top:0;position:static}.pokemon-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.pokemon-option{min-height:112px}.pokemon-option img{width:64px;height:64px}.set-editor-layout{grid-template-columns:1fr}.fighter-hud{width:calc(100vw - 16px)}.opponent-hud{top:54px;right:8px}.player-hud{bottom:302px;left:8px}.command-panel{width:auto;bottom:8px;left:8px;right:8px}.move-button{min-height:55px}}@media (width<=520px){.pokemon-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.library-actions{grid-template-columns:1fr 1fr}.library-actions .primary{grid-column:1/-1}.team-slot.filled{grid-template-columns:24px minmax(0,1fr)}.slot-actions{grid-column:2;grid-template-columns:1fr 1fr}.set-meta-grid,.ev-grid,.end-actions{grid-template-columns:1fr}.ev-presets{grid-template-columns:1fr 1fr}.move-button{grid-template-columns:32px minmax(0,1fr) 40px}.move-type-icon{width:30px;height:30px}}.boost-strip{flex-wrap:wrap;gap:4px;min-height:20px;margin-top:5px;display:flex}.boost-strip.hidden{display:none}.boost-badge{color:#dce7f4;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:999px;align-items:center;min-height:19px;padding:2px 6px;font-size:.54rem;font-weight:900;line-height:1;display:inline-flex}.boost-badge.positive{color:#a7f3c0;background:#22c55e17;border-color:#4ade803d}.boost-badge.negative{color:#fecaca;background:#ef444417;border-color:#f871713d}.mega-toggle{color:#fde68a;background:#facc1512;border-color:#facc1547;justify-content:center;align-items:center;gap:5px;display:inline-flex;min-width:82px!important}.mega-toggle>span{font-size:.85rem}.mega-toggle>strong{font-size:.68rem}.mega-toggle.selected{color:#171000;background:#facc15;border-color:#facc15;box-shadow:0 0 0 2px #facc1521}@media (width<=760px){.boost-strip{max-width:100%}.boost-badge{font-size:.5rem}.command-actions .mega-toggle{min-width:68px!important}}.stats-heading{align-items:flex-end;gap:16px}.stats-heading>div:first-child{gap:3px;display:grid}.stats-heading h3{margin:0}.stats-heading small{color:#ffffff7a;font-size:.72rem}.stat-summary{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.stat-summary span,.stat-summary strong{white-space:nowrap;background:#ffffff0b;border:1px solid #ffffff1a;border-radius:999px;align-items:center;min-height:30px;padding:0 11px;font-size:.73rem;display:inline-flex}.stat-summary strong{color:#ffd15c;background:#ffae001a;border-color:#ffb7004d}.stat-summary strong.invalid{color:#ff8ca4;background:#ff4a711f;border-color:#ff4a7175}.stat-editor{background:linear-gradient(145deg,#ffffff0d,#ffffff05),#03030647;border:1px solid #ffffff17;border-radius:16px;gap:7px;width:100%;margin-top:12px;padding:10px;display:grid;box-shadow:inset 0 1px #ffffff0a}.stat-editor-head,.stat-editor-row{grid-template-columns:78px minmax(102px,1fr) 68px 42px 66px;align-items:center;gap:8px;display:grid}.stat-editor-head{color:#ffffff6b;letter-spacing:.08em;text-transform:uppercase;text-align:center;padding:0 8px 3px;font-size:.65rem;font-weight:800}.stat-editor-head span:first-child{text-align:left}.stat-editor-row{--stat-color:#f3b51b;background:#ffffff06;border:1px solid #ffffff13;border-radius:12px;min-height:47px;padding:6px 8px;transition:border-color .16s,background-color .16s,transform .16s}.stat-editor-row:focus-within{border-color:color-mix(in srgb, var(--stat-color) 58%, transparent);background:#ffffff0d;transform:translateY(-1px)}.stat-editor-name{color:#ffffffdb;cursor:pointer;font-size:.78rem;font-weight:750}.stat-base-cell{grid-template-columns:30px minmax(44px,1fr);align-items:center;gap:8px;min-width:0;display:grid}.stat-base-cell strong{color:#ffffffeb;text-align:right;font-variant-numeric:tabular-nums;font-size:.78rem}.stat-base-track{background:#ffffff13;border-radius:999px;height:8px;display:block;overflow:hidden;box-shadow:inset 0 1px 2px #0000007a}.stat-base-track>span{border-radius:inherit;background:var(--stat-color);width:0;height:100%;box-shadow:0 0 10px color-mix(in srgb, var(--stat-color) 42%, transparent);transition:width .18s,background-color .18s;display:block}.stat-editor-row input[type=number]{text-align:center;font-variant-numeric:tabular-nums;border-radius:9px;width:100%;min-width:0;height:34px;margin:0;padding:0 7px;font-size:.78rem;font-weight:800}.stat-iv{color:#ffffff94;font-variant-numeric:tabular-nums;background:#ffffff0a;border:1px solid #ffffff14;border-radius:9px;justify-content:center;align-items:center;min-height:30px;font-size:.73rem;font-weight:750;display:inline-flex}.stat-result-cell{justify-content:flex-end;align-items:center;gap:4px;min-width:0;display:flex}.stat-final{color:#fffffff5;font-variant-numeric:tabular-nums;text-align:right;font-size:.92rem;font-weight:900}.stat-nature-marker{color:#ffffff47;width:10px;font-size:.62rem;line-height:1}.stat-editor-row.nature-up .stat-final,.stat-editor-row.nature-up .stat-nature-marker{color:#70e39a}.stat-editor-row.nature-down .stat-final,.stat-editor-row.nature-down .stat-nature-marker{color:#ff7f9c}@media (width<=720px){.stats-heading{align-items:flex-start}.stat-summary{justify-content:flex-start}.stat-editor{padding:8px}.stat-editor-head,.stat-editor-row{grid-template-columns:64px minmax(84px,1fr) 58px 36px 56px;gap:6px}.stat-editor-head{padding-inline:5px;font-size:.58rem}.stat-editor-row{padding-inline:5px}.stat-editor-name,.stat-base-cell strong,.stat-editor-row input[type=number]{font-size:.7rem}.stat-base-cell{grid-template-columns:25px minmax(32px,1fr);gap:5px}.stat-final{font-size:.82rem}}.pokemon-option{position:relative;overflow:hidden;min-height:170px!important;padding:10px 10px 46px!important}.pokemon-option img{margin-bottom:7px!important}.pokemon-option strong{z-index:1;line-height:1.15;position:relative}.pokemon-option .pokemon-type-logos{z-index:2;pointer-events:none;justify-content:center;align-items:center;gap:6px;min-height:28px;line-height:1;display:inline-flex;bottom:10px;left:50%;transform:translate(-50%);margin:0!important;position:absolute!important}#set-editor-types{flex-wrap:wrap;align-items:center;gap:6px;min-height:31px;margin-top:4px;display:inline-flex}.type-logo{--type-color:#64748b;color:#fff;background:radial-gradient(circle at 35% 28%, #ffffff59, transparent 38%), var(--type-color);width:28px;height:28px;box-shadow:0 5px 14px color-mix(in srgb, var(--type-color) 45%, transparent), inset 0 1px 0 #ffffff47;vertical-align:middle;border:1px solid #ffffff57;border-radius:999px;flex:0 0 28px;place-items:center;display:inline-grid}.type-logo svg{color:currentColor;fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 1px #00000047);width:17px;height:17px;overflow:visible}.type-logo--editor{flex-basis:31px;width:31px;height:31px}.type-logo--editor svg{width:19px;height:19px}.move-select{--move-type-color:#64748b;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f8fafc;box-shadow:inset 0 1px 0 #ffffff0f, 0 0 0 1px color-mix(in srgb, var(--move-type-color) 14%, transparent), 0 8px 20px #0000002e;transition:border-color .16s,box-shadow .16s,background .16s;border-color:color-mix(in srgb, var(--move-type-color) 56%, #ffffff29)!important;border-left:4px solid var(--move-type-color)!important;background:linear-gradient(100deg, color-mix(in srgb, var(--move-type-color) 26%, #08090cf5) 0%, color-mix(in srgb, var(--move-type-color) 10%, #08090cf5) 42%, #08090cf5 100%)!important}.move-select:hover,.move-select:focus{box-shadow:inset 0 1px 0 #ffffff17, 0 0 0 3px color-mix(in srgb, var(--move-type-color) 18%, transparent), 0 10px 26px #00000038;border-color:color-mix(in srgb, var(--move-type-color) 80%, #fff 20%)!important}.move-select option{color:#f8fafc;background:#0a0b0f}.move-button{border-left-color:var(--type-color,#fff3)!important}@media (width<=980px){.pokemon-option{min-height:158px!important;padding-bottom:42px!important}.pokemon-option .pokemon-type-logos{bottom:9px}.type-logo{flex-basis:25px;width:25px;height:25px}.type-logo svg{width:15px;height:15px}.type-logo--editor{flex-basis:29px;width:29px;height:29px}}@media (width<=760px){.pokemon-option{min-height:148px!important;padding-bottom:39px!important}.pokemon-option .pokemon-type-logos{gap:4px;bottom:8px}.type-logo{flex-basis:23px;width:23px;height:23px}.type-logo svg{width:14px;height:14px}}.battle-exit{z-index:46;color:#f8fafc;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);min-height:42px;font:inherit;letter-spacing:.01em;cursor:pointer;background:linear-gradient(#121c30f0,#080d19f0);border:1px solid #fff3;border-radius:12px;align-items:center;gap:9px;padding:0 14px 0 11px;font-size:.78rem;font-weight:850;transition:transform .16s,border-color .16s,background .16s,opacity .16s;display:inline-flex;position:fixed;top:16px;left:16px;box-shadow:0 12px 34px #00000052,inset 0 1px #ffffff14}.battle-exit:hover:not(:disabled){background:linear-gradient(#1a2a46fa,#0a1222fa);border-color:#7dd3fca6;transform:translateY(-1px)}.battle-exit.danger:hover:not(:disabled){background:linear-gradient(#4d1923fa,#200a12fa);border-color:#f87171bf}.battle-exit:disabled{cursor:wait;opacity:.55}.battle-exit svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}.battle-choice-overlay{z-index:80;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#02060fad;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.battle-choice-card{color:#f8fafc;text-align:center;background:radial-gradient(circle at 50% -20%,#3b82f63b,#0000 46%),linear-gradient(155deg,#15223afa,#060b16fc);border:1px solid #94c5ff52;border-radius:22px;width:min(460px,100vw - 32px);padding:27px;box-shadow:0 34px 90px #00000094,inset 0 1px #ffffff14}.battle-choice-card--danger{background:radial-gradient(circle at 50% -20%,#ef444433,#0000 48%),linear-gradient(155deg,#311823fa,#0c080ffc);border-color:#f8717161}.battle-choice-icon{color:#dbeafe;background:#ffffff12;border:1px solid #ffffff38;border-radius:15px;place-items:center;width:48px;height:48px;margin:0 auto 14px;font-size:1.5rem;font-weight:950;display:grid}.battle-choice-card h2{margin:0 0 9px;font-size:clamp(1.25rem,3vw,1.65rem)}.battle-choice-card p{color:#b8c6da;margin:0;line-height:1.55}.battle-choice-countdown{min-height:1.2em;font-size:.78rem;color:#8fa5c4!important;margin-top:13px!important}.battle-choice-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:22px;display:grid}.battle-choice-actions button{min-height:44px}.battle-choice-actions .danger{color:#fff;background:linear-gradient(#dc3545,#a91829);border-color:#f871718c}.bar span[data-hp-state=medium]{box-shadow:0 0 12px #f4c43042}.bar span[data-hp-state=low]{box-shadow:0 0 14px #ef334061}.team-chip:after{background:linear-gradient(90deg, var(--hp-color,#8bdc54) var(--hp), #ffffff26 var(--hp))}@media (width<=700px){.battle-exit{min-height:38px;padding-right:10px;top:10px;left:10px}.battle-exit span{display:none}.battle-choice-actions{grid-template-columns:1fr}}.lobby-panel{background:radial-gradient(circle at 92% 2%,#ffb0000e,#0000 28%),linear-gradient(155deg,#0e0e11f9,#040406fb);grid-template-rows:46px minmax(0,1fr);width:min(1580px,100vw - 28px);max-width:1580px;max-height:calc(100vh - 28px);overflow:visible}.workspace-header{z-index:20;pointer-events:none;width:100%;height:46px;min-height:46px;padding:0;position:relative}.lobby-logo{object-fit:contain;filter:drop-shadow(0 14px 24px #0000007a);width:128px;height:128px;display:block;position:absolute;top:-32px;left:-22px}.lobby-workspace{gap:12px;min-width:0;min-height:0;padding:0 2px 2px 0;display:grid;overflow:auto}.lobby-top-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;display:grid}.lobby-side-stack{grid-template-rows:auto minmax(0,1fr);align-content:stretch;gap:10px;min-width:0;height:100%;display:grid}.trainer-studio,.team-library,.catalog-panel,.team-section,.room-section{background:linear-gradient(145deg,#131317f2,#070709f9);border-color:#ffffff17;min-width:0;box-shadow:inset 0 1px #ffffff09,0 18px 46px #0000002e}.trainer-studio{gap:11px;display:grid;position:relative;overflow:hidden}.trainer-studio:before{content:"";pointer-events:none;background:radial-gradient(circle at 74% 36%,#ffb0000e,#0000 31%),linear-gradient(120deg,#0000 34%,#ffffff05 52%,#0000 69%);position:absolute;inset:0}.trainer-studio-heading,.trainer-studio-layout,.trainer-name-field,.trainer-model-field{z-index:2;position:relative}.trainer-studio-heading{min-height:24px;padding-left:54px}.trainer-studio-heading>strong{font-size:.92rem}.trainer-studio-layout{grid-template-columns:minmax(175px,.78fr) minmax(250px,1.22fr);gap:12px;min-height:238px;display:grid}.trainer-profile-column{align-content:start;gap:13px;min-width:0;display:grid}.trainer-model-field select{cursor:pointer;background:#0000006b;min-height:42px}.trainer-model-field select:disabled{cursor:not-allowed}.trainer-name-field input:focus,.trainer-model-field select:focus,.pokemon-search-field input:focus{border-color:#ffb000a6;box-shadow:0 0 0 3px #ffb00017}.trainer-preview-shell{z-index:1;background:radial-gradient(at 50% 94%,#ffb00017,#0000 42%),radial-gradient(circle at 67% 24%,#ffffff0b,#0000 34%),linear-gradient(#16161bfa,#050507fe);border:1px solid #ffffff18;border-radius:15px;width:100%;height:238px;min-height:220px;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff0a,inset 0 -48px 72px #0000006b,0 14px 32px #0000002e}#trainer-preview-canvas{z-index:1;cursor:grab;touch-action:none;width:100%;height:100%;display:block;position:absolute;inset:0}#trainer-preview-canvas:active{cursor:grabbing}.trainer-preview-vignette{z-index:2;pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 50px #0006}.trainer-preview-status{z-index:3;color:#d3d3d8;text-overflow:ellipsis;white-space:nowrap;background:#040406d1;border:1px solid #ffffff17;border-radius:999px;max-width:calc(100% - 18px);padding:5px 9px;font-size:.55rem;font-weight:800;transition:opacity .18s;position:absolute;bottom:9px;left:50%;overflow:hidden;transform:translate(-50%)}.trainer-preview-status.ready{opacity:0;pointer-events:none}.room-section,.team-library{align-content:start;gap:7px;padding:11px 12px;display:grid}.team-library{height:100%}.room-actions-row{grid-template-columns:minmax(160px,.75fr) minmax(260px,1.25fr);gap:9px;display:grid}.room-actions-row>.primary,.room-actions-row .join-row,.room-actions-row .join-row>*{min-height:43px}.team-library-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.team-library-fields label{gap:4px;font-size:.66rem}.team-library-fields input,.team-library-fields select{min-height:36px;padding:7px 9px}.library-actions{grid-template-columns:1.2fr 1fr 1fr;gap:5px}.library-actions button{min-height:32px;padding:5px 7px;font-size:.64rem}.team-section{padding:10px 12px;overflow:visible}.team-section .team-slots{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;max-height:none;margin-top:7px;display:grid;overflow:visible}.team-section .team-slot{min-width:0;height:48px;min-height:48px;padding:5px 6px}.team-section .team-slot.filled{grid-template-columns:18px minmax(0,1fr) auto;align-content:center;gap:5px}.team-section .slot-drag-handle{width:18px;min-width:18px;min-height:32px;font-size:.72rem}.team-section .slot-main{grid-template-columns:32px minmax(0,1fr);align-items:center;gap:4px;min-width:0;display:grid}.team-section .slot-main img{object-fit:contain;width:32px;height:32px;display:block}.team-section .slot-pokemon-name{text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;line-height:1.15;display:block;overflow:hidden}.team-section .slot-actions{grid-column:auto;grid-template-columns:repeat(2,auto);gap:3px;display:grid}.team-section .slot-actions button{border-radius:8px;place-items:center;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;display:grid}.team-section .slot-actions button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;width:14px;height:14px}.team-section .empty-slot-number{width:24px;height:24px;font-size:.66rem}.catalog-panel{width:100%;overflow:visible}.catalog-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.catalog-toolbar>strong{flex:none;font-size:.84rem}.pokemon-search-field{flex:0 360px;min-width:190px;position:relative}.pokemon-search-field svg{z-index:1;fill:none;stroke:#7e7e88;stroke-width:1.8px;pointer-events:none;width:16px;height:16px;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.pokemon-search-field input{background:#00000057;width:100%;padding-left:35px}.pokemon-picker{grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:9px;max-height:min(62vh,650px);padding-right:4px;display:grid;overflow:auto}.pokemon-option[hidden]{display:none!important}.pokemon-search-empty{color:#85858e;text-align:center;margin:18px 0 4px;font-size:.68rem}@media (width<=1180px){.trainer-studio-layout{grid-template-columns:minmax(160px,.72fr) minmax(220px,1.28fr)}.room-actions-row{grid-template-columns:1fr}.team-section .team-slots{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=1020px){.lobby-top-grid{grid-template-columns:1fr}.lobby-side-stack{grid-template-rows:auto auto;height:auto}.team-library{height:auto}.trainer-studio-layout{grid-template-columns:minmax(220px,.72fr) minmax(330px,1.28fr)}.room-actions-row{grid-template-columns:minmax(190px,.72fr) minmax(300px,1.28fr)}}@media (width<=760px){.lobby-panel{width:min(100%,100vw - 14px);max-height:none}.workspace-header{width:100%;height:42px;min-height:42px}.lobby-logo{width:128px;height:128px;top:-18px;left:-18px}.lobby-workspace{overflow:visible}.trainer-studio-heading{padding-left:64px}.trainer-studio-layout{grid-template-columns:1fr}.trainer-preview-shell{grid-row:1;height:min(38vh,270px);min-height:220px}.trainer-profile-column{grid-row:2}.room-actions-row,.team-library-fields{grid-template-columns:1fr}.team-section .team-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.team-section .slot-actions{grid-column:auto;grid-template-columns:repeat(2,auto)}.pokemon-picker{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=520px){.catalog-toolbar{flex-direction:column;align-items:stretch}.pokemon-search-field{flex-basis:auto;min-width:0}.library-actions{grid-template-columns:1fr 1fr}.library-actions .primary{grid-column:1/-1}.team-section .team-slots{grid-template-columns:1fr}.team-section .slot-actions{grid-column:auto;grid-template-columns:repeat(2,auto)}.pokemon-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}.battle-field-status{z-index:9;pointer-events:none;justify-content:center;align-items:center;gap:7px;max-width:min(620px,100vw - 40px);display:flex;position:absolute;top:62px;left:50%;transform:translate(-50%)}.field-effect-chip{-webkit-backdrop-filter:blur(14px);background:#05070cc2;border:1px solid #ffffff29;border-radius:999px;align-items:center;gap:7px;min-height:34px;padding:5px 10px 5px 7px;animation:.35s cubic-bezier(.22,.8,.24,1) both field-chip-enter;display:inline-flex;box-shadow:inset 0 1px #ffffff0f,0 6px 18px #0003}.field-effect-symbol{color:#071018;background:#cdeeff;border-radius:50%;flex:0 0 24px;place-items:center;width:24px;height:24px;font-size:.86rem;font-weight:950;display:grid;box-shadow:0 0 8px #7dd3fc2e}.field-effect-copy strong,.field-effect-copy small{line-height:1.08;display:block}.field-effect-copy strong{font-size:.67rem}.field-effect-copy small{color:var(--muted);margin-top:2px;font-size:.55rem;font-weight:800}.field-effect-chip[data-effect=sunnyday] .field-effect-symbol,.field-effect-chip[data-effect=desolateland] .field-effect-symbol{background:#ffd36a;box-shadow:0 0 9px #ffb00038}.field-effect-chip[data-effect=sandstorm] .field-effect-symbol{background:#d6b06b}.field-effect-chip[data-effect=snow] .field-effect-symbol,.field-effect-chip[data-effect=hail] .field-effect-symbol{background:#e8f7ff}.field-effect-chip[data-effect=electricterrain] .field-effect-symbol{background:#ffe45c;box-shadow:0 0 9px #ffe45c38}.field-effect-chip[data-effect=grassyterrain] .field-effect-symbol{background:#5ee68a;box-shadow:0 0 9px #5ee68a33}.field-effect-chip[data-effect=psychicterrain] .field-effect-symbol{color:#fff;background:#c45be4;box-shadow:0 0 9px #e879f938}.field-effect-chip[data-effect=mistyterrain] .field-effect-symbol{background:#f9a8d4;box-shadow:0 0 9px #f9a8d433}.hazard-strip{flex-wrap:wrap;gap:4px;min-height:20px;margin-top:6px;display:flex}.hazard-chip{color:#d9e2ef;background:#ffffff0e;border:1px solid #ffffff1f;border-radius:999px;align-items:center;gap:4px;min-height:19px;padding:2px 6px;font-size:.52rem;line-height:1;animation:.28s cubic-bezier(.2,.8,.2,1) both hazard-chip-enter;display:inline-flex}.hazard-chip>span{font-size:.58rem}.hazard-chip strong{font-size:.52rem}.hazard-chip small{color:#ffd36a;font-size:.5rem;font-weight:950}.hazard-chip--stealthRock{color:#d4cedd}.hazard-chip--spikes{color:#dbe5f0}.hazard-chip--toxicSpikes{color:#d8a5ff;background:#a855f717;border-color:#a855f74d}.hazard-chip--stickyWeb{color:#eaf6ff;border-color:#bae6fd42}@keyframes field-chip-enter{0%{opacity:0;transform:translateY(-7px)scale(.94)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes hazard-chip-enter{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@media (width<=760px){.battle-field-status{max-width:calc(100vw - 18px);top:164px}.field-effect-chip{min-height:30px;padding:4px 8px 4px 5px}.field-effect-symbol{flex-basis:21px;width:21px;height:21px}.field-effect-copy strong{font-size:.6rem}.field-effect-copy small{font-size:.5rem}.hazard-chip strong{display:none}}@media (prefers-reduced-motion:reduce){.field-effect-chip,.hazard-chip{animation:none}}.battle-field-status{flex-wrap:wrap}.field-effect-chip[data-effect=trickroom]{background:linear-gradient(135deg,#45165ce0,#071c39db);border-color:#d879ff61;box-shadow:inset 0 1px #ffffff14,0 0 20px #b756ff29}.field-effect-chip[data-effect=trickroom] .field-effect-symbol{color:#fff;background:linear-gradient(135deg,#d879ff,#5df);box-shadow:0 0 11px #c267ff6b}.screen-strip{flex-wrap:wrap;gap:4px;min-height:20px;margin-top:4px;display:flex}.screen-chip{color:#eef5ff;background:#070a12b8;border:1px solid #ffffff29;border-radius:999px;align-items:center;gap:4px;min-height:21px;padding:2px 7px 2px 4px;font-size:.52rem;line-height:1;animation:.28s cubic-bezier(.2,.8,.2,1) both hazard-chip-enter;display:inline-flex}.screen-chip-symbol{border-radius:50%;flex:0 0 15px;place-items:center;width:15px;height:15px;font-size:.55rem;font-weight:950;display:grid}.screen-chip strong{font-size:.52rem}.screen-chip small{color:#fff0a8;font-size:.49rem;font-weight:950}.screen-chip--reflect{background:#754e0c33;border-color:#ffc85757}.screen-chip--reflect .screen-chip-symbol{color:#2f2103;background:#ffc857}.screen-chip--lightscreen{background:#1a548b33;border-color:#71b7ff5c}.screen-chip--lightscreen .screen-chip-symbol{color:#071c31;background:#71b7ff}.screen-chip--auroraveil{background:#582e7e38;border-color:#d8b4fe61}.screen-chip--auroraveil .screen-chip-symbol{color:#2b123f;background:#d8b4fe}@media (width<=760px){.screen-strip{gap:2px;margin-top:2px}.screen-chip{gap:2px;min-height:16px;padding:1px 4px 1px 2px}.screen-chip-symbol{flex-basis:12px;width:12px;height:12px;font-size:.45rem}.screen-chip strong{font-size:.44rem}.screen-chip small{font-size:.42rem}}body.pokemon-picker-open{overflow:hidden}#lobby.lobby-panel{width:min(1240px,100vw - 28px);max-width:1240px}#lobby .lobby-workspace{width:min(1160px,100%);margin-inline:auto}#lobby .team-section{padding-block:9px}#lobby .team-section .section-heading{align-items:center;gap:8px;min-height:28px;display:flex;justify-content:flex-start!important}.team-heading-add{color:#171006;background:linear-gradient(135deg,#ffd45b,#ff9f0a);border:1px solid #ffbe308c;border-radius:8px;place-items:center;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;font-size:22px;font-weight:800;line-height:1;display:inline-grid;box-shadow:0 6px 18px #ff9f0a2e}.team-heading-add:hover{filter:brightness(1.06);transform:translateY(-1px)}.team-heading-add[hidden]{display:none!important}.pokemon-picker-dialog{color:#f8fafc;background:0 0;border:0;border-radius:20px;width:min(1280px,100vw - 28px);max-width:none;height:min(88vh,860px);max-height:none;padding:0;overflow:hidden;box-shadow:0 32px 100px #000000b8}.pokemon-picker-dialog::backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#010308d1}.pokemon-picker-dialog-card{border-radius:inherit;background:radial-gradient(circle at 15% 0,#ffb5251c,#0000 32%),linear-gradient(#111419fc,#07090dfe);border:1px solid #ffffff1f;grid-template-rows:auto auto auto minmax(0,1fr);height:100%;min-height:0;display:grid;overflow:hidden}.pokemon-picker-dialog-header{justify-content:space-between;align-items:center;gap:18px;padding:18px 22px 12px;display:flex}.pokemon-picker-dialog-header>div{min-width:0}.pokemon-picker-dialog-header small{color:#ffbf36;letter-spacing:.08em;text-transform:uppercase;margin-bottom:2px;font-size:.72rem;font-weight:800;display:block}.pokemon-picker-dialog-header h2{margin:0;font-size:clamp(1.25rem,2vw,1.8rem)}.pokemon-picker-dialog-close{flex:none;width:42px;height:42px;font-size:25px}.pokemon-picker-dialog-toolbar{padding:0 22px 14px}.pokemon-picker-dialog-toolbar .pokemon-search-field{width:100%;max-width:none}.pokemon-picker-dialog-toolbar .pokemon-search-field input{min-height:48px;font-size:1rem}.pokemon-picker-message{color:#ffb5b8;background:#80161b38;border:1px solid #ff6c6c4d;border-radius:10px;margin:0 22px 12px;padding:10px 12px;font-size:.88rem}.pokemon-picker-dialog-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;padding:0 22px 24px;overflow-y:auto}.pokemon-picker-dialog .pokemon-picker{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));align-content:start;gap:12px;width:100%;max-height:none!important;padding:0!important;display:grid!important;overflow:visible!important}.pokemon-picker-dialog .pokemon-option{text-align:center;border-radius:14px;grid-template-rows:minmax(82px,1fr) auto auto;place-items:center;gap:6px;min-width:0;min-height:154px;padding:12px 9px 10px;display:grid;position:relative;overflow:hidden}.pokemon-picker-dialog .pokemon-option:before{content:"";pointer-events:none;background:radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--pokemon-color) 22%, transparent), transparent 65%);opacity:.7;position:absolute;inset:0}.pokemon-picker-dialog .pokemon-option img{z-index:1;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 10px 10px #00000057);width:90px;max-width:90%;height:90px;position:relative}.pokemon-picker-dialog .pokemon-option strong,.pokemon-picker-dialog .pokemon-option small{z-index:1;max-width:100%;position:relative}.pokemon-picker-dialog .pokemon-option strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pokemon-picker-dialog .pokemon-option.selected{border-color:#ffc642d1;box-shadow:inset 0 0 0 1px #ffc64273,0 10px 28px #0003}.pokemon-picker-dialog .pokemon-option.selected:after{content:"Dans l’équipe";z-index:2;color:#1c1304;letter-spacing:.02em;text-transform:uppercase;background:#ffb21c;border-radius:999px;padding:3px 6px;font-size:.58rem;font-weight:900;position:absolute;top:7px;right:7px}.pokemon-picker-dialog .pokemon-search-empty{text-align:center;padding:40px 16px}@media (height<=720px){.pokemon-picker-dialog{border-radius:16px;width:calc(100vw - 16px);height:calc(100vh - 16px)}.pokemon-picker-dialog-header{padding-top:12px;padding-bottom:8px}.pokemon-picker-dialog-toolbar{padding-bottom:10px}.pokemon-picker-dialog .pokemon-option{min-height:136px}.pokemon-picker-dialog .pokemon-option img{width:76px;height:76px}}@media (width<=760px){#lobby.lobby-panel{width:min(100%,100vw - 14px)}#lobby .lobby-workspace{width:100%}.pokemon-picker-dialog{border-radius:0;width:100vw;height:100dvh}.pokemon-picker-dialog-header,.pokemon-picker-dialog-toolbar,.pokemon-picker-dialog-scroll{padding-left:14px;padding-right:14px}.pokemon-picker-dialog .pokemon-picker{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:9px}.pokemon-picker-dialog .pokemon-option{min-height:132px}}#lobby .team-slot-empty{appearance:none;color:#777781;background:#0000002e;border-style:dashed;width:100%;min-width:0;height:48px;min-height:48px;padding:5px 6px}#lobby .team-slot-empty:hover:not(:disabled),#lobby .team-slot-empty:focus-visible{color:#ffd36a;background:#ffb00012;border-color:#ffbe3094;box-shadow:0 0 0 3px #ffb00014}#lobby .team-slot-empty:hover .empty-slot-number,#lobby .team-slot-empty:focus-visible .empty-slot-number{color:#171006;background:linear-gradient(135deg,#ffd45b,#ff9f0a);border-color:#ffbd31}#lobby.lobby-panel{grid-template-rows:36px auto;gap:7px;width:min(1120px,100vw - 32px);max-width:1120px;height:auto;max-height:calc(100dvh - 24px);margin:0;padding:12px;inset:50% auto auto 50%;overflow:visible;transform:translate(-50%,-50%)}#lobby .workspace-header{height:36px;min-height:36px}#lobby .lobby-workspace{grid-template-rows:auto auto;align-content:start;gap:10px;width:min(1060px,100%);min-height:0;margin-inline:auto;overflow:visible}#lobby .lobby-top-grid{align-items:start;gap:10px}#lobby .lobby-side-stack{grid-template-rows:auto auto;align-content:start;gap:8px;height:auto}#lobby .trainer-studio,#lobby .team-library,#lobby .room-section,#lobby .team-section{height:auto;min-height:0}#lobby .trainer-studio{gap:8px;padding:10px 11px}#lobby .trainer-studio-layout{gap:10px;min-height:210px}#lobby .trainer-preview-shell{height:210px;min-height:190px}#lobby .room-section,#lobby .team-library{gap:6px;padding:9px 10px}#lobby .room-actions-row>.primary,#lobby .room-actions-row .join-row,#lobby .room-actions-row .join-row>*{min-height:40px}#lobby .team-library-fields input,#lobby .team-library-fields select{min-height:34px}#lobby .team-section .team-slots{margin-top:5px}@media (width<=1180px){#lobby.lobby-panel{width:min(1040px,100vw - 24px)}#lobby .lobby-workspace{width:100%}}@media (height<=720px) and (width>=761px){#lobby.lobby-panel{grid-template-rows:32px minmax(0,1fr);height:auto;max-height:none;top:8px;bottom:8px;transform:translate(-50%)}#lobby .workspace-header{height:32px;min-height:32px}#lobby .lobby-workspace{padding-right:4px;overflow-y:auto}#lobby .trainer-studio-layout{min-height:190px}#lobby .trainer-preview-shell{height:190px;min-height:175px}}@media (width<=760px){#lobby.lobby-panel{grid-template-rows:42px minmax(0,1fr);width:auto;height:auto;max-height:none;inset:7px;transform:none}#lobby .lobby-workspace{overflow-y:auto}#lobby .lobby-top-grid{align-items:stretch}}#lobby .team-section{padding:11px 12px 13px}#lobby .team-section .section-heading{min-height:32px}#lobby .team-section .team-slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:7px}#lobby .team-slot{border-radius:14px;min-width:0;min-height:146px}#lobby .team-slot-empty{place-content:center;gap:8px;height:auto;min-height:146px;padding:14px;display:grid}#lobby .team-slot-empty .empty-slot-number{width:42px;height:42px;margin-inline:auto;font-size:1rem;font-weight:900}#lobby .team-slot-empty .empty-slot-copy{color:#8f8f99;letter-spacing:.04em;text-transform:uppercase;font-size:.7rem;font-weight:800}#lobby .team-slot-empty:hover .empty-slot-copy,#lobby .team-slot-empty:focus-visible .empty-slot-copy{color:#ffd36a}#lobby .team-slot.filled{background:linear-gradient(145deg,#ffffff0e,#ffffff06),#00000042;grid-template-columns:22px minmax(0,1fr) 30px;align-items:stretch;gap:7px;min-height:146px;padding:9px}#lobby .team-slot.filled.mega-enabled{border-color:#ffbe3057;box-shadow:inset 0 0 24px #ffb0000b}#lobby .slot-drag-handle{align-self:stretch;width:22px;min-width:22px;min-height:100%}#lobby .slot-card-content{grid-template-rows:auto 1fr;gap:7px;min-width:0;display:grid}#lobby .slot-main{grid-template-columns:58px minmax(0,1fr);align-items:center;gap:8px}#lobby .team-slot .slot-main img{object-fit:contain;filter:drop-shadow(0 5px 8px #0000006b);width:58px;height:58px}#lobby .slot-copy{min-width:0}#lobby .slot-pokemon-name{color:#f4f4f6;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.78rem;line-height:1.25;display:block;overflow:hidden}#lobby .slot-held-item{color:#ffc44f;font-weight:800}#lobby .mega-enabled .slot-held-item{color:#ffe38d;text-shadow:0 0 12px #ffbd3147}#lobby .slot-ev-summary{color:#aaaab4;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:.62rem;line-height:1.25;display:block;overflow:hidden}#lobby .slot-move-list{align-content:start;gap:2px;min-width:0;margin:0;padding:0;list-style:none;display:grid}#lobby .slot-move-list li{color:#d8d8dd;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.64rem;line-height:1.25;overflow:hidden}#lobby .slot-move-list li:before{content:"–";color:#ffb52a;margin-right:5px;font-weight:900}#lobby .slot-actions{align-content:start;gap:5px}#lobby .slot-actions button{width:30px;min-width:30px;height:30px;min-height:30px;padding:6px}#lobby .slot-actions svg{width:16px;height:16px}@media (width<=900px){#lobby .team-section .team-slots{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){#lobby .team-section .team-slots{grid-template-columns:1fr}#lobby .team-slot,#lobby .team-slot-empty{min-height:138px}}#lobby .team-slot.filled{grid-template-columns:22px minmax(0,1fr) 30px;position:relative;overflow:hidden}#lobby .slot-actions{grid-template-columns:30px;grid-auto-rows:30px;place-content:start end;justify-items:stretch;gap:5px;width:30px;min-width:30px;max-width:30px;margin:0;padding:0;display:grid;overflow:visible}#lobby .slot-actions button{box-sizing:border-box;flex:none;width:30px;min-width:30px;max-width:30px;height:30px;min-height:30px;max-height:30px;margin:0;padding:6px;transform:none}#lobby .slot-actions button:hover,#lobby .slot-actions button:focus-visible{transform:translateY(-1px)}@media (width<=430px){#lobby .team-slot.filled{grid-template-columns:20px minmax(0,1fr) 28px;gap:6px;padding:8px}#lobby .slot-actions{grid-template-columns:28px;grid-auto-rows:28px;width:28px;min-width:28px;max-width:28px}#lobby .slot-actions button{width:28px;min-width:28px;max-width:28px;height:28px;min-height:28px;max-height:28px;padding:5px}}.waiting-banner.room-code-copyable{cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;gap:.85rem;min-width:min(25rem,100vw - 2rem);transition:transform .15s,border-color .15s,background .15s,box-shadow .15s;display:inline-flex}.waiting-banner.room-code-copyable:hover,.waiting-banner.room-code-copyable:focus-visible{background:#16181ff5;border-color:#facc15b8;outline:none;transform:translate(-50%,-50%);box-shadow:0 12px 34px #00000057,0 0 0 1px #facc1524}.room-code-copy-text{text-align:left;gap:.12rem;min-width:0;display:grid}.room-code-copy-text strong{letter-spacing:.08em;font-size:1rem}.room-code-copy-text small{color:#e2e8f0b8;letter-spacing:0;font-size:.76rem}.room-code-copy-icon{background:#ffffff0f;border:1px solid #ffffff29;border-radius:.7rem;flex:none;place-items:center;width:2.15rem;height:2.15rem;display:grid}.room-code-copy-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:1.15rem;height:1.15rem}.waiting-banner.room-code-copied{border-color:#4ade80a6}.waiting-banner.room-code-copied .room-code-copy-icon{color:#86efac;background:#22c55e1f;border-color:#4ade8066}.waiting-banner.room-code-copy-error{border-color:#f87171b8;animation:.26s ease-in-out 2 room-code-copy-shake}@keyframes room-code-copy-shake{0%,to{transform:translate(-50%,-50%)}35%{transform:translate(calc(-50% - 4px),-50%)}70%{transform:translate(calc(4px - 50%),-50%)}}@media (width<=520px){.waiting-banner.room-code-copyable{gap:.6rem;min-width:calc(100vw - 1.25rem)}.room-code-copy-text strong{font-size:.9rem}}.waiting-banner.room-code-copyable{z-index:40;padding:0;position:relative;pointer-events:auto!important}.room-code-copy-button{appearance:none;width:100%;min-width:inherit;border-radius:inherit;color:inherit;font:inherit;cursor:pointer;text-align:inherit;background:0 0;border:0;justify-content:space-between;align-items:center;gap:.85rem;padding:.78rem .9rem;display:inline-flex}.room-code-copy-button:focus-visible{outline-offset:2px;outline:2px solid #facc15c7}.room-code-copy-icon,.room-code-copy-text{pointer-events:none}.move-button--recharge{--type-color:#64748b!important}.move-button--struggle{--type-color:#a16207!important}.room-section{position:relative;overflow:hidden}.room-matchmaking-heading{justify-content:space-between;align-items:center;gap:.8rem;min-width:0;margin-bottom:.72rem;display:flex}.room-matchmaking-heading-copy{gap:.13rem;min-width:0;display:grid}.room-matchmaking-kicker{color:#fbbf24eb;letter-spacing:.16em;font-size:.58rem;font-weight:900;line-height:1}.room-matchmaking-heading strong{color:#f8fafcf5;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;line-height:1.15;overflow:hidden}.room-mode-pill{color:#fde047f0;letter-spacing:.1em;background:#fbbf2417;border:1px solid #fbbf2457;border-radius:999px;flex:none;padding:.36rem .55rem;font-size:.61rem;font-weight:900;line-height:1}.room-section .room-actions-row{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:.65rem!important;display:grid!important}.room-create-group,.room-join-group{grid-template-rows:48px 44px;gap:.5rem;min-width:0;display:grid}.room-create-group>#create-room,.room-join-group>.join-row,.join-random-room,.room-privacy-toggle{width:100%;min-width:0}.room-create-group>#create-room{letter-spacing:.015em;border-radius:12px;min-height:48px;margin:0;font-size:.82rem;font-weight:900}.room-section .join-row{width:100%;min-width:0;grid-template-columns:minmax(0,1fr) minmax(88px,.72fr)!important;align-items:stretch!important;gap:.48rem!important;display:grid!important}.room-section #room-code,.room-section #join-room{box-sizing:border-box;border-radius:12px;width:100%;min-width:0;min-height:48px;margin:0}.room-section #room-code{text-align:center;text-transform:uppercase;letter-spacing:.15em;padding-inline:.62rem;font-size:.88rem;font-weight:850}.room-section #room-code::placeholder{letter-spacing:.12em}.room-section #join-room{white-space:nowrap;padding-inline:.55rem;font-size:.75rem;font-weight:850}.room-privacy-toggle{box-sizing:border-box;cursor:pointer;-webkit-user-select:none;user-select:none;background:linear-gradient(135deg,#1e293bad,#0f172a8a);border:1px solid #94a3b838;border-radius:12px;grid-template-columns:30px minmax(0,1fr) 36px;align-items:center;gap:.52rem;min-height:44px;padding:.42rem .58rem;transition:border-color .16s,background .16s,box-shadow .16s;display:grid;position:relative}.room-privacy-toggle:hover{background:linear-gradient(135deg,#253044c7,#121b2ead);border-color:#94a3b86b}.room-privacy-toggle input{opacity:0;pointer-events:none;block-size:1px;inline-size:1px;position:absolute}.room-privacy-icon{color:#cbd5e1e0;background:#94a3b81a;border-radius:9px;place-items:center;block-size:30px;inline-size:30px;transition:background .16s,color .16s,box-shadow .16s;display:grid}.room-privacy-icon svg,.join-random-room-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;block-size:17px;inline-size:17px}.room-privacy-copy{gap:.12rem;min-width:0;line-height:1.05;display:grid}.room-privacy-copy strong,.join-random-room-copy strong{color:#f8fafcf0;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;font-weight:850;overflow:hidden}.room-privacy-copy small,.join-random-room-copy small{color:#cbd5e194;text-overflow:ellipsis;white-space:nowrap;font-size:.59rem;overflow:hidden}.room-privacy-switch{background:#64748b70;border-radius:999px;justify-self:end;block-size:20px;inline-size:36px;transition:background .16s,box-shadow .16s;position:relative;box-shadow:inset 0 0 0 1px #ffffff0f}.room-privacy-switch:after{content:"";background:#f8fafc;border-radius:50%;block-size:14px;inline-size:14px;transition:transform .16s;position:absolute;inset-block-start:3px;inset-inline-start:3px;box-shadow:0 2px 6px #00000057}.room-privacy-toggle input:checked~.room-privacy-switch:after{transform:translate(16px)}.room-privacy-toggle input:focus-visible~.room-privacy-switch{outline-offset:2px;outline:3px solid #38bdf866}.room-privacy-toggle:has(input:disabled){cursor:not-allowed;opacity:.56}.join-random-room{box-sizing:border-box;text-align:left;background:linear-gradient(135deg,#0e749030,#4338ca2b);border:1px solid #38bdf845;border-radius:12px;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:.52rem;min-height:44px;margin:0;padding:.42rem .58rem;transition:border-color .16s,background .16s,box-shadow .16s,transform .16s;display:grid}.join-random-room:not(:disabled):hover{background:linear-gradient(135deg,#0e749047,#4338ca40);border-color:#67e8f994;transform:translateY(-1px);box-shadow:0 8px 24px #0891b224}.join-random-room-icon{color:#a5f3fc;background:#22d3ee1f;border-radius:9px;place-items:center;block-size:30px;inline-size:30px;display:grid}.join-random-room-copy{gap:.12rem;min-width:0;line-height:1.05;display:grid}.join-random-room-arrow{color:#a5f3fcd1;font-size:1rem;font-weight:900;line-height:1}.room-section button:disabled,.room-section .join-random-room:disabled{opacity:.52;filter:saturate(.68);cursor:not-allowed;transform:none}.room-section .error{min-height:0;margin:.55rem 0 0;font-size:.69rem;line-height:1.25}.room-section .error:empty{display:none}@media (width<=920px){.room-section .room-actions-row{grid-template-columns:1fr!important}}@media (width<=560px){.room-matchmaking-heading strong{white-space:normal}.room-section .join-row{grid-template-columns:minmax(0,1fr) 104px!important}}@media (width<=390px){.room-section .join-row{grid-template-columns:1fr!important}.room-join-group{grid-template-rows:auto 44px}}@media (width>=921px){.lobby-top-grid{align-items:stretch!important}.lobby-top-grid>.trainer-studio,.lobby-top-grid>.lobby-side-stack{align-self:stretch!important}.lobby-top-grid>.trainer-studio{flex-direction:column;height:auto!important;min-height:100%!important;display:flex!important}.lobby-top-grid>.trainer-studio .trainer-studio-layout{flex:auto;min-height:0;height:auto!important}.lobby-top-grid>.trainer-studio .trainer-preview-shell{min-height:0;height:100%!important}}.room-mode-pill{display:none!important}.room-create-group,.room-join-group{grid-template-rows:48px minmax(54px,auto)}.room-privacy-toggle,.join-random-room{min-height:54px}.room-privacy-toggle{grid-template-columns:30px minmax(0,1fr) 36px;gap:.46rem;padding-block:.46rem}.room-privacy-copy small,.join-random-room-copy small{text-overflow:clip;white-space:normal;line-height:1.18;overflow:visible}.room-privacy-toggle.is-private{background:linear-gradient(135deg,#925c0a47,#4a2b0452);border-color:#fbbf2494;box-shadow:inset 0 0 24px #fbbf2414}.room-privacy-toggle.is-private:hover{background:linear-gradient(135deg,#a162075c,#58330561);border-color:#fde047bd}.room-privacy-toggle.is-private .room-privacy-icon{color:#fde68a;background:#fbbf2429;box-shadow:0 0 14px #fbbf2424}.room-privacy-toggle input:checked~.room-privacy-switch{background:linear-gradient(135deg,#f59e0b,#facc15);box-shadow:0 0 15px #fbbf2457}.room-privacy-toggle input:focus-visible~.room-privacy-switch{outline-color:#fbbf247a}.join-random-room{background:linear-gradient(135deg,#925c0a2e,#452d0733);border-color:#fbbf244d}.join-random-room:not(:disabled):hover{background:linear-gradient(135deg,#a1620747,#5c39074d);border-color:#fde0479e;box-shadow:0 8px 24px #f59e0b26}.join-random-room-icon{color:#fde68a;background:#fbbf2421}.join-random-room-arrow{color:#fde047e0}@media (width<=560px){.room-create-group,.room-join-group{grid-template-rows:auto auto}}.room-matchmaking-heading{justify-content:space-between}.room-format-control{background:#fbbf240e;border:1px solid #fbbf2447;border-radius:12px;grid-template-columns:repeat(2,minmax(48px,1fr));align-items:center;gap:4px;min-width:124px;margin:0;padding:4px;display:grid}.room-format-control legend{clip-path:inset(50%);white-space:nowrap;block-size:1px;inline-size:1px;position:absolute;overflow:hidden}.room-format-option{cursor:pointer;-webkit-user-select:none;user-select:none;min-width:0;position:relative}.room-format-option input{opacity:0;pointer-events:none;block-size:1px;inline-size:1px;position:absolute}.room-format-option span{color:#e2e8f09e;letter-spacing:.055em;border:1px solid #0000;border-radius:8px;place-items:center;min-height:30px;padding-inline:.55rem;font-size:.66rem;font-weight:950;transition:color .15s,border-color .15s,background .15s,box-shadow .15s;display:grid}.room-format-option:hover span{color:#fef3c7eb;background:#fbbf2414}.room-format-option input:checked+span{color:#fff7cc;background:linear-gradient(#f59e0b57,#925c0a47);border-color:#fde0476b;box-shadow:0 5px 16px #f59e0b1f,inset 0 1px #ffffff14}.room-format-option input:focus-visible+span{outline-offset:2px;outline:3px solid #fbbf245c}.room-format-control:has(input:disabled){opacity:.55}.room-code-format{color:#fde68a;letter-spacing:.06em;vertical-align:.08em;background:#fbbf241c;border:1px solid #fbbf246b;border-radius:999px;place-items:center;min-width:32px;margin-left:.28rem;padding:.16rem .36rem;font-size:.58rem;font-weight:950;line-height:1;display:inline-grid}@media (width<=560px){.room-matchmaking-heading{flex-direction:column;align-items:stretch}.room-format-control{box-sizing:border-box;width:100%}}#lobby.lobby-panel{overscroll-behavior:contain;scrollbar-gutter:stable;overflow:hidden auto!important}#lobby .lobby-workspace{min-height:min-content}.room-section .error:not(:empty){color:#ffd2d8;overflow-wrap:anywhere;background:linear-gradient(135deg,#7f1d1d57,#450a0a61);border:1px solid #ff657794;border-radius:10px;width:100%;margin:.62rem 0 0;padding:.62rem .72rem;font-size:.7rem;font-weight:720;line-height:1.35;display:block;box-shadow:inset 0 1px #ffffff0d,0 8px 22px #7f1d1d29}.room-format-control{grid-template-columns:repeat(2,minmax(48px,1fr)) minmax(104px,auto)}.room-strategic-option{cursor:pointer;-webkit-user-select:none;user-select:none;min-width:0;position:relative}.room-strategic-option input{opacity:0;pointer-events:none;block-size:1px;inline-size:1px;position:absolute}.room-strategic-option span{color:#e2e8f0a3;letter-spacing:.025em;white-space:nowrap;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:.34rem;min-height:30px;padding-inline:.58rem;font-size:.63rem;font-weight:920;transition:color .15s,border-color .15s,background .15s,box-shadow .15s;display:flex}.room-strategic-option svg{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;opacity:0;width:14px;height:14px;transition:opacity .15s,transform .15s;transform:scale(.7)}.room-strategic-option:hover span{color:#fef3c7f0;background:#fbbf2414}.room-strategic-option input:checked+span{color:#fff7cc;background:linear-gradient(#f59e0b57,#925c0a47);border-color:#fde0476b;box-shadow:0 5px 16px #f59e0b1f,inset 0 1px #ffffff14}.room-strategic-option input:checked+span svg{opacity:1;transform:scale(1)}.room-strategic-option input:focus-visible+span{outline-offset:2px;outline:3px solid #fbbf245c}.room-strategic-option:has(input:disabled){cursor:not-allowed;opacity:.55}.room-code-rules{color:#bbf7d0;background:#22c55e1c;border-color:#86efac6b}@media (width<=700px){.room-format-control{grid-template-columns:repeat(2,minmax(48px,1fr))}.room-strategic-option{grid-column:1/-1}.room-strategic-option span{width:100%}}@media (height<=760px) and (width>=921px){#lobby.lobby-panel{max-height:none;top:12px;bottom:12px;transform:translate(-50%)}}.room-format-control{grid-template-columns:repeat(4,minmax(56px,1fr));min-width:min(100%,344px)}.room-rules-option span{letter-spacing:.02em;padding-inline:.62rem}.room-section .error:not(:empty){grid-template-columns:minmax(0,1fr) 26px;align-items:start;gap:.55rem;padding:.62rem .56rem .62rem .72rem;display:grid;position:relative}.lobby-error-copy{overflow-wrap:anywhere;min-width:0;padding-top:.08rem}.lobby-error-close{color:#ffe5e9;cursor:pointer;background:#18040842;border:1px solid #ffadb847;border-radius:8px;place-items:center;block-size:26px;inline-size:26px;margin:-.22rem -.12rem 0 0;padding:0;font:800 1.05rem/1 system-ui,sans-serif;transition:border-color .14s,background .14s,transform .14s;display:grid}.lobby-error-close:hover{background:#ff5c7029;border-color:#ffc2ca94}.lobby-error-close:active{transform:scale(.94)}.lobby-error-close:focus-visible{outline-offset:2px;outline:2px solid #ffb8c2b8}@media (width<=700px){.room-format-control{grid-template-columns:repeat(2,minmax(72px,1fr));min-width:0}}.room-mode-controls{flex:0 390px;grid-template-columns:repeat(2,minmax(0,1fr));gap:.52rem;min-width:min(100%,300px);display:grid}.room-segment-control{background:#fbbf240e;border:1px solid #fbbf2447;border-radius:12px;grid-template-columns:repeat(2,minmax(58px,1fr));align-items:center;gap:4px;min-width:0;padding:4px;display:grid}.room-segment-title{color:#fde047b8;letter-spacing:.13em;text-transform:uppercase;grid-column:1/-1;padding:.08rem .34rem .02rem;font-size:.52rem;font-weight:950;line-height:1}.room-segment-control:has(input:disabled){opacity:.55}@media (width<=700px){.room-mode-controls{gap:.42rem;width:100%;min-width:0}.room-segment-control{grid-template-columns:repeat(2,minmax(64px,1fr))}}@media (width<=430px){.room-mode-controls{grid-template-columns:1fr}}.room-discovery-actions{grid-template-columns:minmax(0,1.35fr) minmax(92px,.65fr);gap:.48rem;min-width:0;display:grid}.room-discovery-actions>*{width:100%;min-width:0}.join-spectator-room{text-align:center;place-items:center;padding-inline:.55rem;display:grid}.mobile-lobby-nav{display:none}@media (width<=900px){body.mobile-device.lobby-scene{overscroll-behavior:none;height:100dvh;overflow:hidden!important}body.mobile-device.lobby-scene #ui{width:100%;height:100dvh;min-height:0;inset:0;overflow:hidden;position:fixed!important}body.mobile-device.lobby-scene #lobby.lobby-panel{border-radius:16px;inset:max(5px, env(safe-area-inset-top,0px)) max(5px, env(safe-area-inset-right,0px)) max(5px, env(safe-area-inset-bottom,0px)) max(5px, env(safe-area-inset-left,0px))!important;grid-template-rows:30px auto minmax(0,1fr)!important;gap:6px!important;width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:7px!important;display:grid!important;position:fixed!important;overflow:hidden!important}body.mobile-device.lobby-scene #lobby .workspace-header{width:100%;height:30px;min-height:30px;margin:0}body.mobile-device.lobby-scene #lobby .lobby-logo{width:86px;height:86px;top:-15px;left:-12px}body.mobile-device.lobby-scene #lobby .mobile-lobby-nav{z-index:24;background:#07070aeb;border:1px solid #ffffff1a;border-radius:12px;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;min-width:0;padding:3px;display:grid;position:relative;box-shadow:inset 0 1px #ffffff0b,0 7px 18px #00000038}body.mobile-device.lobby-scene #lobby .mobile-lobby-nav-button{color:#e2e8f0ad;min-width:0;min-height:34px;box-shadow:none;background:0 0;border-color:#0000;border-radius:9px;justify-content:center;align-items:center;gap:5px;padding:4px 6px;font-size:.59rem;font-weight:900;line-height:1;display:flex}body.mobile-device.lobby-scene #lobby .mobile-lobby-nav-button:hover:not(:disabled){background:#fbbf2411;border-color:#fbbf242e;transform:none}body.mobile-device.lobby-scene #lobby .mobile-lobby-nav-button.is-active{color:#fff4c2;background:linear-gradient(#f59e0b45,#925c0a38);border-color:#fde0475c}body.mobile-device.lobby-scene #lobby .mobile-lobby-nav-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}body.mobile-device.lobby-scene #lobby .mobile-lobby-nav-button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}body.mobile-device.lobby-scene #lobby .lobby-workspace{min-height:0;padding:0 2px calc(8px + env(safe-area-inset-bottom,0px)) 0;overscroll-behavior-y:contain;scroll-behavior:smooth;scrollbar-gutter:auto;touch-action:pan-y;-webkit-overflow-scrolling:touch;gap:7px;scroll-padding-top:4px;display:grid;overflow:hidden auto!important}body.mobile-device.lobby-scene #lobby .trainer-studio,body.mobile-device.lobby-scene #lobby .room-section,body.mobile-device.lobby-scene #lobby .team-library,body.mobile-device.lobby-scene #lobby .team-section{scroll-margin-top:4px}body.mobile-device.lobby-scene #lobby .lobby-top-grid{grid-template-columns:1fr;gap:7px;display:grid}body.mobile-device.lobby-scene #lobby .lobby-side-stack{grid-template-rows:auto auto;gap:7px;height:auto;display:grid}body.mobile-device.lobby-scene #lobby .compact-section{border-radius:12px;padding:8px}body.mobile-device.lobby-scene #lobby label{gap:3px;font-size:.61rem}body.mobile-device.lobby-scene #lobby input,body.mobile-device.lobby-scene #lobby select{border-radius:8px;min-height:34px;padding:6px 8px}body.mobile-device.lobby-scene #lobby button{border-radius:8px;min-height:34px;padding-block:6px}body.mobile-device.lobby-scene #lobby .trainer-studio{gap:7px}body.mobile-device.lobby-scene #lobby .trainer-studio-layout{grid-template-columns:minmax(150px,.8fr) minmax(190px,1.2fr);gap:8px;min-height:0}body.mobile-device.lobby-scene #lobby .trainer-profile-column{grid-row:auto;gap:7px}body.mobile-device.lobby-scene #lobby .trainer-preview-shell{border-radius:11px;grid-row:auto;height:136px;min-height:136px}body.mobile-device.lobby-scene #lobby .trainer-model-field select{min-height:34px}body.mobile-device.lobby-scene #lobby .trainer-preview-status{max-width:calc(100% - 12px);padding:3px 6px;font-size:.48rem;bottom:5px}body.mobile-device.lobby-scene #lobby .room-section,body.mobile-device.lobby-scene #lobby .team-library{gap:5px}body.mobile-device.lobby-scene #lobby .room-matchmaking-heading{grid-template-columns:minmax(130px,.72fr) minmax(270px,1.28fr);align-items:end;gap:7px;margin-bottom:4px;display:grid}body.mobile-device.lobby-scene #lobby .room-matchmaking-heading strong{white-space:normal;font-size:.78rem}body.mobile-device.lobby-scene #lobby .room-matchmaking-kicker{font-size:.5rem}body.mobile-device.lobby-scene #lobby .room-mode-controls{gap:4px;width:100%;min-width:0}body.mobile-device.lobby-scene #lobby .room-segment-control{border-radius:9px;grid-template-columns:repeat(2,minmax(54px,1fr));gap:3px;padding:3px}body.mobile-device.lobby-scene #lobby .room-segment-title{padding:.03rem .25rem 0;font-size:.45rem}body.mobile-device.lobby-scene #lobby .room-format-option span{border-radius:6px;min-height:25px;padding-inline:.38rem;font-size:.57rem}body.mobile-device.lobby-scene #lobby .room-actions-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}body.mobile-device.lobby-scene #lobby .room-create-group,body.mobile-device.lobby-scene #lobby .room-join-group{grid-template-rows:40px 42px;gap:5px}body.mobile-device.lobby-scene #lobby .room-create-group>#create-room,body.mobile-device.lobby-scene #lobby .room-section #room-code,body.mobile-device.lobby-scene #lobby .room-section #join-room{border-radius:9px;min-height:40px}body.mobile-device.lobby-scene #lobby .room-create-group>#create-room{font-size:.7rem}body.mobile-device.lobby-scene #lobby .room-section .join-row{grid-template-columns:minmax(0,1fr) 90px!important;gap:4px!important}body.mobile-device.lobby-scene #lobby .room-section #room-code{padding-inline:.45rem;font-size:.74rem}body.mobile-device.lobby-scene #lobby .room-section #join-room{padding-inline:.4rem;font-size:.64rem}body.mobile-device.lobby-scene #lobby .room-privacy-toggle,body.mobile-device.lobby-scene #lobby .join-random-room{border-radius:9px;min-height:42px;padding:.34rem .45rem}body.mobile-device.lobby-scene #lobby .room-privacy-toggle{grid-template-columns:25px minmax(0,1fr) 32px;gap:.38rem}body.mobile-device.lobby-scene #lobby .room-privacy-icon,body.mobile-device.lobby-scene #lobby .join-random-room-icon{border-radius:7px;width:25px;height:25px}body.mobile-device.lobby-scene #lobby .room-privacy-icon svg,body.mobile-device.lobby-scene #lobby .join-random-room-icon svg{width:14px;height:14px}body.mobile-device.lobby-scene #lobby .room-privacy-copy strong,body.mobile-device.lobby-scene #lobby .join-random-room-copy strong{font-size:.63rem}body.mobile-device.lobby-scene #lobby .room-privacy-copy small,body.mobile-device.lobby-scene #lobby .join-random-room-copy small{display:none}body.mobile-device.lobby-scene #lobby .room-privacy-switch{width:32px;height:18px}body.mobile-device.lobby-scene #lobby .room-privacy-switch:after{width:12px;height:12px;top:3px;left:3px}body.mobile-device.lobby-scene #lobby .room-privacy-toggle input:checked~.room-privacy-switch:after{transform:translate(14px)}body.mobile-device.lobby-scene #lobby .room-discovery-actions{grid-template-columns:minmax(0,1.25fr) minmax(82px,.75fr);gap:4px}body.mobile-device.lobby-scene #lobby .join-spectator-room{padding-inline:.35rem;font-size:.62rem}body.mobile-device.lobby-scene #lobby .room-section .error:not(:empty){border-radius:8px;gap:.4rem;margin-top:5px;padding:.48rem .44rem .48rem .56rem;font-size:.61rem}body.mobile-device.lobby-scene #lobby .lobby-error-close{width:24px;min-width:24px;height:24px;min-height:24px;margin-top:-.16rem;font-size:.95rem}body.mobile-device.lobby-scene #lobby .team-library-fields{gap:5px;grid-template-columns:repeat(2,minmax(0,1fr))!important}body.mobile-device.lobby-scene #lobby .team-library-fields label{font-size:.56rem}body.mobile-device.lobby-scene #lobby .team-library-fields input,body.mobile-device.lobby-scene #lobby .team-library-fields select{min-height:32px;padding:5px 7px}body.mobile-device.lobby-scene #lobby .library-actions{gap:4px;grid-template-columns:1.15fr 1fr 1fr!important}body.mobile-device.lobby-scene #lobby .library-actions .primary{grid-column:auto!important}body.mobile-device.lobby-scene #lobby .library-actions button{min-height:31px;padding:4px 5px;font-size:.57rem}body.mobile-device.lobby-scene #lobby .section-heading strong{font-size:.76rem}body.mobile-device.lobby-scene #lobby .library-count{min-width:22px;height:22px;font-size:.6rem}body.mobile-device.lobby-scene #lobby .team-section{padding:7px 8px}body.mobile-device.lobby-scene #lobby .team-section .team-slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:5px}body.mobile-device.lobby-scene #lobby .team-section .team-slot{border-radius:9px;height:42px;min-height:42px;padding:4px}body.mobile-device.lobby-scene #lobby .team-section .team-slot.filled{grid-template-columns:15px minmax(0,1fr) auto;gap:3px}body.mobile-device.lobby-scene #lobby .team-section .slot-drag-handle{width:15px;min-width:15px;min-height:28px}body.mobile-device.lobby-scene #lobby .team-section .slot-main{grid-template-columns:27px minmax(0,1fr);gap:3px}body.mobile-device.lobby-scene #lobby .team-section .slot-main img{width:27px;height:27px}body.mobile-device.lobby-scene #lobby .team-section .slot-pokemon-name{font-size:.61rem}body.mobile-device.lobby-scene #lobby .team-section .slot-copy small,body.mobile-device.lobby-scene #lobby .team-section .slot-copy span{display:none}body.mobile-device.lobby-scene #lobby .team-section .slot-actions{gap:2px}body.mobile-device.lobby-scene #lobby .team-section .slot-actions button{border-radius:6px;width:23px;min-width:23px;height:23px;min-height:23px}body.mobile-device.lobby-scene #lobby .team-section .slot-actions button svg{width:12px;height:12px}body.mobile-device.lobby-scene #lobby .team-section .empty-slot-number{width:21px;height:21px;font-size:.57rem}body.mobile-device.lobby-scene #lobby .team-heading-add{width:30px;min-width:30px;height:30px;min-height:30px;padding:0}}@media (width<=560px){body.mobile-device.lobby-scene #lobby .mobile-lobby-nav-button{gap:3px;padding-inline:3px}body.mobile-device.lobby-scene #lobby .mobile-lobby-nav-button svg{width:14px;height:14px}body.mobile-device.lobby-scene #lobby .trainer-studio-layout{grid-template-columns:minmax(132px,.85fr) minmax(150px,1.15fr)}body.mobile-device.lobby-scene #lobby .trainer-preview-shell{height:122px;min-height:122px}body.mobile-device.lobby-scene #lobby .room-matchmaking-heading{grid-template-columns:1fr}body.mobile-device.lobby-scene #lobby .room-actions-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.mobile-device.lobby-scene #lobby .room-section .join-row{grid-template-columns:minmax(0,1fr) 76px!important}body.mobile-device.lobby-scene #lobby .team-section .team-slots{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=430px){body.mobile-device.lobby-scene #lobby .mobile-lobby-nav-button span{font-size:.52rem}body.mobile-device.lobby-scene #lobby .trainer-studio-layout{grid-template-columns:1fr}body.mobile-device.lobby-scene #lobby .trainer-preview-shell{grid-row:1;height:116px;min-height:116px}body.mobile-device.lobby-scene #lobby .trainer-profile-column{grid-row:2;grid-template-columns:repeat(2,minmax(0,1fr))}body.mobile-device.lobby-scene #lobby .room-actions-row{grid-template-columns:1fr!important}body.mobile-device.lobby-scene #lobby .room-create-group,body.mobile-device.lobby-scene #lobby .room-join-group{grid-template-rows:auto auto}body.mobile-device.lobby-scene #lobby .team-library-fields{grid-template-columns:1fr!important}}@supports (-webkit-touch-callout:none){@media (width<=900px){body.mobile-device.lobby-scene #lobby input,body.mobile-device.lobby-scene #lobby select{font-size:16px}}}@media (width<=900px){body.mobile-device.lobby-scene #lobby.lobby-panel{grid-template-rows:48px auto minmax(0,1fr)!important}body.mobile-device.lobby-scene #lobby .workspace-header{z-index:26;place-items:center start;width:100%;height:48px;min-height:48px;padding-inline:4px 42px;display:grid;position:relative;overflow:visible}body.mobile-device.lobby-scene #lobby .lobby-logo{object-fit:contain;width:46px;height:46px;position:static!important;transform:none!important}body.mobile-device.lobby-scene #lobby .team-section .team-slot,body.mobile-device.lobby-scene #lobby .team-section .team-slot-empty{box-sizing:border-box;height:44px;min-height:44px;max-height:44px;padding:3px 4px;overflow:hidden}body.mobile-device.lobby-scene #lobby .team-section .team-slot.filled{grid-template-rows:1fr;align-items:center;gap:3px;grid-template-columns:minmax(0,1fr) 48px!important}body.mobile-device.lobby-scene #lobby .team-section .slot-drag-handle{display:none!important}body.mobile-device.lobby-scene #lobby .team-section .slot-card-content{min-width:0;height:100%;display:block}body.mobile-device.lobby-scene #lobby .team-section .slot-main{grid-template-columns:32px minmax(0,1fr);align-items:center;gap:4px;height:100%;display:grid}body.mobile-device.lobby-scene #lobby .team-section .slot-main>img{object-fit:contain;filter:drop-shadow(0 3px 5px #00000057);width:32px;max-width:32px;height:32px;max-height:32px}body.mobile-device.lobby-scene #lobby .team-section .slot-copy{align-items:center;min-width:0;height:100%;display:flex}body.mobile-device.lobby-scene #lobby .team-section .slot-pokemon-name{align-items:center;min-width:0;max-width:100%;margin:0;font-size:.62rem;line-height:1;display:flex}body.mobile-device.lobby-scene #lobby .team-section .slot-pokemon-name-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}body.mobile-device.lobby-scene #lobby .team-section .slot-ev-summary,body.mobile-device.lobby-scene #lobby .team-section .slot-held-item,body.mobile-device.lobby-scene #lobby .team-section .slot-move-list{display:none!important}body.mobile-device.lobby-scene #lobby .team-section .slot-actions{grid-template-rows:23px;grid-template-columns:repeat(2,23px);place-content:center end;gap:2px;width:48px;min-width:48px;max-width:48px;height:24px;display:grid;overflow:visible}body.mobile-device.lobby-scene #lobby .team-section .slot-actions button{box-sizing:border-box;border-radius:6px;width:23px;min-width:23px;max-width:23px;height:23px;min-height:23px;max-height:23px;padding:4px}body.mobile-device.lobby-scene #lobby .team-section .slot-actions svg{width:12px;height:12px}body.mobile-device.lobby-scene #lobby .team-section .team-slot-empty{justify-content:center;align-items:center;gap:5px;display:flex}body.mobile-device.lobby-scene #lobby .team-section .team-slot-empty .empty-slot-number{width:22px;min-width:22px;height:22px;margin:0;font-size:.58rem}body.mobile-device.lobby-scene #lobby .team-section .team-slot-empty .empty-slot-copy{font-size:.55rem}body.mobile-device .pokemon-picker-dialog{border-radius:12px;width:calc(100vw - 10px);height:calc(100dvh - 10px);max-height:calc(100dvh - 10px);margin:auto}body.mobile-device .pokemon-picker-dialog-card{grid-template-rows:auto auto auto minmax(0,1fr)}body.mobile-device .pokemon-picker-dialog-header{gap:8px;padding:7px 9px 5px}body.mobile-device .pokemon-picker-dialog-header small{margin:0;font-size:.52rem}body.mobile-device .pokemon-picker-dialog-header h2{font-size:.9rem;line-height:1.1}body.mobile-device .pokemon-picker-dialog-close{width:30px;min-width:30px;height:30px;min-height:30px;font-size:1.15rem}body.mobile-device .pokemon-picker-dialog-toolbar{padding:0 9px 6px}body.mobile-device .pokemon-picker-dialog-toolbar .pokemon-search-field input{height:34px;min-height:34px;padding-block:5px;font-size:.72rem}body.mobile-device .pokemon-picker-message{margin:0 9px 6px;padding:6px 8px;font-size:.62rem}body.mobile-device .pokemon-picker-dialog-scroll{padding:0 9px 9px}body.mobile-device .pokemon-picker-dialog .pokemon-picker{grid-template-columns:repeat(auto-fill,minmax(142px,1fr));gap:6px}body.mobile-device .pokemon-picker-dialog .pokemon-option{text-align:left;border-radius:9px;grid-template-rows:1fr;grid-template-columns:48px minmax(0,1fr);place-items:center start;gap:6px;height:62px;min-height:62px;padding:5px 7px;display:grid}body.mobile-device .pokemon-picker-dialog .pokemon-option>img:not(.mega-symbol){filter:drop-shadow(0 4px 5px #0000004d);width:46px;max-width:46px;height:46px}body.mobile-device .pokemon-picker-dialog .pokemon-option strong{text-align:left;width:100%;font-size:.65rem}body.mobile-device .pokemon-picker-dialog .pokemon-option small{display:none}body.mobile-device .pokemon-picker-dialog .pokemon-option.selected:after{content:"✓";text-align:center;min-width:18px;padding:2px 4px;font-size:.56rem;top:4px;right:4px}body.mobile-device .pokemon-picker-dialog .pokemon-option .pokemon-option-mega{transform-origin:0 0;top:3px;left:3px;transform:scale(.7)}body.mobile-device .set-editor{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-radius:12px;width:calc(100vw - 10px);max-width:calc(100vw - 10px);max-height:calc(100dvh - 10px);margin:auto;overflow:hidden auto}body.mobile-device .set-editor-card{box-sizing:border-box;width:100%;min-width:0;padding:8px}body.mobile-device .set-editor-header{z-index:4;background:#060608f7;gap:7px;padding:1px 0 6px;position:sticky;top:0}body.mobile-device .set-editor-identity{gap:7px;min-width:0}body.mobile-device .set-editor-identity img{width:44px;min-width:44px;height:44px}body.mobile-device .set-editor-header h2{text-overflow:ellipsis;white-space:nowrap;margin:0 0 2px;font-size:.86rem;overflow:hidden}body.mobile-device .set-editor-header small{text-overflow:ellipsis;white-space:nowrap;max-width:58vw;font-size:.57rem;display:block;overflow:hidden}body.mobile-device .set-editor-header .icon-button{width:30px;min-width:30px;height:30px;min-height:30px}body.mobile-device .set-editor-layout{grid-template-columns:1fr;gap:6px;margin-top:6px}body.mobile-device .set-editor-section{border-radius:10px;min-width:0;padding:7px}body.mobile-device .set-editor-section h3{margin-bottom:6px;font-size:.72rem}body.mobile-device .set-editor label{gap:3px;min-width:0;font-size:.56rem}body.mobile-device .set-editor select,body.mobile-device .set-editor input:not([type=checkbox]){box-sizing:border-box;border-radius:7px;width:100%;min-width:0;height:31px;min-height:31px;padding:4px 6px;font-size:.66rem}body.mobile-device .set-editor .move-select-grid,body.mobile-device .set-editor .set-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}body.mobile-device .set-editor .set-meta-grid{margin-top:6px}body.mobile-device .set-editor .shiny-check,body.mobile-device .set-editor .mega-check{vertical-align:top;width:auto;min-height:26px;margin:5px 10px 0 0;display:inline-flex}body.mobile-device .set-editor .stats-heading{align-items:center;gap:6px}body.mobile-device .set-editor .stats-heading small{font-size:.54rem}body.mobile-device .set-editor .stat-summary{gap:4px}body.mobile-device .set-editor .stat-summary span,body.mobile-device .set-editor .stat-summary strong{min-height:23px;padding-inline:7px;font-size:.56rem}body.mobile-device .set-editor .stat-editor{border-radius:9px;gap:4px;margin-top:6px;padding:5px}body.mobile-device .set-editor .stat-editor-head,body.mobile-device .set-editor .stat-editor-row{grid-template-columns:52px minmax(58px,1fr) 52px 48px;gap:5px}body.mobile-device .set-editor .stat-editor-head{padding:0 4px 1px;font-size:.5rem}body.mobile-device .set-editor .stat-editor-head span:nth-child(4),body.mobile-device .set-editor .stat-iv{display:none}body.mobile-device .set-editor .stat-editor-row{border-radius:8px;min-height:35px;padding:3px 4px}body.mobile-device .set-editor .stat-editor-name,body.mobile-device .set-editor .stat-base-cell strong,body.mobile-device .set-editor .stat-editor-row input[type=number]{font-size:.59rem}body.mobile-device .set-editor .stat-base-cell{grid-template-columns:23px minmax(28px,1fr);gap:4px}body.mobile-device .set-editor .stat-base-track{height:5px}body.mobile-device .set-editor .stat-editor-row input[type=number]{border-radius:6px;height:28px;min-height:28px;padding-inline:4px}body.mobile-device .set-editor .stat-final{font-size:.68rem}body.mobile-device .set-editor .ev-presets{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-top:6px}body.mobile-device .set-editor .ev-presets button{border-radius:6px;min-width:0;min-height:28px;padding:3px;font-size:.52rem}body.mobile-device .set-editor .set-editor-actions{z-index:4;background:linear-gradient(#06060800,#060608fa 24%);gap:5px;margin-top:6px;padding:6px 0 1px;position:sticky;bottom:0}body.mobile-device .set-editor .set-editor-actions button{min-width:92px;min-height:32px;padding:5px 8px;font-size:.65rem}}@media (width<=900px) and (orientation:landscape){body.mobile-device.lobby-scene #lobby.lobby-panel{grid-template-rows:38px minmax(0,1fr)!important;grid-template-columns:46px minmax(0,1fr) 34px!important;gap:4px 5px!important;padding:5px!important}body.mobile-device.lobby-scene #lobby .workspace-header{grid-area:1/1;place-items:center;width:46px;height:38px;min-height:38px;padding:0}body.mobile-device.lobby-scene #lobby .lobby-logo{width:40px;height:40px}body.mobile-device.lobby-scene #lobby .mobile-lobby-nav{grid-area:1/2;align-self:stretch;min-height:38px;padding:2px}body.mobile-device.lobby-scene #lobby .mobile-lobby-nav-button{min-height:32px;padding-block:3px;font-size:.55rem}body.mobile-device.lobby-scene #lobby .lobby-workspace{padding-bottom:calc(5px + env(safe-area-inset-bottom,0px));grid-area:2/1/auto/-1;gap:5px}body.mobile-device.lobby-scene #lobby .compact-section{padding:6px}body.mobile-device.lobby-scene #lobby .trainer-preview-shell{height:108px;min-height:108px}body.mobile-device.lobby-scene #lobby .team-section .team-slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}body.mobile-device .pokemon-picker-dialog .pokemon-picker{grid-template-columns:repeat(auto-fill,minmax(132px,1fr))}body.mobile-device .set-editor-layout{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:start}body.mobile-device .set-editor-header small{max-width:38vw}}@media (width<=430px) and (orientation:portrait){body.mobile-device.lobby-scene #lobby .lobby-logo{width:46px;height:46px}body.mobile-device .pokemon-picker-dialog .pokemon-picker{grid-template-columns:repeat(2,minmax(0,1fr))}body.mobile-device .pokemon-picker-dialog .pokemon-option{grid-template-columns:42px minmax(0,1fr)}body.mobile-device .pokemon-picker-dialog .pokemon-option>img:not(.mega-symbol){width:40px;height:40px}}.room-create-group{grid-template-rows:48px 44px;grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:stretch}.room-create-group>#create-room,.room-create-group>#room-code{grid-row:1;width:100%;min-width:0}.room-create-group>#create-room{white-space:nowrap;grid-column:1;padding-inline:.62rem;font-size:.76rem}.room-create-group>#room-code{grid-column:2}.room-create-group>.room-privacy-toggle{grid-area:2/1/auto/-1}.room-join-group{grid-template-rows:48px 44px;grid-template-columns:1fr;align-items:stretch}.room-join-group>.join-row{grid-row:1;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.48rem!important;display:grid!important}.room-join-group>.join-row>#join-room,.room-join-group>.join-row>#spectate-room{box-sizing:border-box;white-space:nowrap;border-radius:12px;width:100%;min-width:0;min-height:48px;margin:0}.room-join-group>.join-row>#spectate-room{text-align:center;place-items:center;padding-inline:.55rem;font-size:.75rem;font-weight:850;display:grid}.room-join-group>.room-discovery-actions{grid-row:2;grid-template-columns:1fr;gap:0;display:grid}.room-join-group>.room-discovery-actions>#join-random-room{width:100%;min-height:44px}@media (width<=900px){body.mobile-device.lobby-scene #lobby .room-actions-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}body.mobile-device.lobby-scene #lobby .room-create-group{grid-template-rows:40px 42px;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:5px}body.mobile-device.lobby-scene #lobby .room-join-group{grid-template-rows:40px 42px;gap:5px}body.mobile-device.lobby-scene #lobby .room-create-group>#create-room,body.mobile-device.lobby-scene #lobby .room-create-group>#room-code,body.mobile-device.lobby-scene #lobby .room-join-group>.join-row>#join-room,body.mobile-device.lobby-scene #lobby .room-join-group>.join-row>#spectate-room{border-radius:9px;min-height:40px}body.mobile-device.lobby-scene #lobby .room-create-group>#create-room{letter-spacing:0;padding-inline:.28rem;font-size:.59rem}body.mobile-device.lobby-scene #lobby .room-create-group>#room-code{letter-spacing:.1em;padding-inline:.3rem;font-size:.68rem}body.mobile-device.lobby-scene #lobby .room-join-group>.join-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}body.mobile-device.lobby-scene #lobby .room-join-group>.join-row>#join-room,body.mobile-device.lobby-scene #lobby .room-join-group>.join-row>#spectate-room{padding-inline:.25rem;font-size:.6rem}body.mobile-device.lobby-scene #lobby .room-join-group>.room-discovery-actions{grid-template-columns:1fr;gap:0}body.mobile-device.lobby-scene #lobby .room-join-group>.room-discovery-actions>#join-random-room{min-height:42px}}@media (width<=430px){body.mobile-device.lobby-scene #lobby .room-actions-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.mobile-device.lobby-scene #lobby .room-create-group,body.mobile-device.lobby-scene #lobby .room-join-group{grid-template-rows:38px 40px;gap:4px}body.mobile-device.lobby-scene #lobby .room-create-group{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}body.mobile-device.lobby-scene #lobby .room-create-group>#create-room,body.mobile-device.lobby-scene #lobby .room-create-group>#room-code,body.mobile-device.lobby-scene #lobby .room-join-group>.join-row>#join-room,body.mobile-device.lobby-scene #lobby .room-join-group>.join-row>#spectate-room{min-height:38px}body.mobile-device.lobby-scene #lobby .room-create-group>#create-room{padding-inline:.18rem;font-size:.53rem}body.mobile-device.lobby-scene #lobby .room-create-group>#room-code{font-size:.62rem}body.mobile-device.lobby-scene #lobby .room-join-group>.join-row>#join-room,body.mobile-device.lobby-scene #lobby .room-join-group>.join-row>#spectate-room{font-size:.54rem}body.mobile-device.lobby-scene #lobby .room-create-group>.room-privacy-toggle,body.mobile-device.lobby-scene #lobby .room-join-group>.room-discovery-actions>#join-random-room{min-height:40px}}.room-join-group>.join-row>#spectate-room,.join-spectator-room{justify-content:center!important;align-items:center!important;place-items:initial!important;text-align:center!important;text-indent:0!important;grid-template-rows:none!important;grid-template-columns:none!important;line-height:1!important;display:flex!important}@media (width<=900px){body.mobile-device .pokemon-picker-dialog .pokemon-picker{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:4px}body.mobile-device .pokemon-picker-dialog .pokemon-option{border-radius:8px;grid-template-rows:minmax(0,1fr) 17px;grid-template-columns:34px minmax(0,1fr);gap:0 5px;height:50px;min-height:50px!important;padding:4px 6px!important}body.mobile-device .pokemon-picker-dialog .pokemon-option>img:not(.mega-symbol){filter:drop-shadow(0 3px 4px #0000004d);grid-area:1/1/3;place-self:center;width:32px;max-width:32px;height:32px;margin:0!important}body.mobile-device .pokemon-picker-dialog .pokemon-option strong{text-align:left;grid-area:1/2;align-self:end;width:100%;min-width:0;font-size:.58rem;line-height:1.05}body.mobile-device .pokemon-picker-dialog .pokemon-option small.pokemon-type-logos{grid-area:2/2;justify-content:flex-start;align-self:start;align-items:center;gap:3px;min-height:15px;line-height:1;margin:0!important;display:flex!important;position:static!important;transform:none!important}body.mobile-device .pokemon-picker-dialog .pokemon-option .type-logo{width:14px;height:14px;box-shadow:none;border-width:1px;flex:0 0 14px}body.mobile-device .pokemon-picker-dialog .pokemon-option .type-logo svg{stroke-width:2.15px;width:8px;height:8px}body.mobile-device .pokemon-picker-dialog .pokemon-option.selected:after{min-width:14px;padding:1px 3px;font-size:.48rem;top:2px;right:2px}body.mobile-device .pokemon-picker-dialog .pokemon-option .pokemon-option-mega{top:1px;left:1px;transform:scale(.55)}}@media (width<=430px) and (orientation:portrait){body.mobile-device .pokemon-picker-dialog .pokemon-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}.join-spectator-room{grid-auto-columns:minmax(0,1fr);justify-content:stretch;place-items:center;text-align:center!important;grid-template-columns:minmax(0,1fr)!important}.join-spectator-label{text-align:center;justify-content:center;align-items:center;width:100%;min-width:0;height:100%;line-height:1;display:flex}@media (width<=900px){body.mobile-device.lobby-scene #lobby .room-actions-row{grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr)!important}body.mobile-device.lobby-scene #lobby .room-create-group,body.mobile-device.lobby-scene #lobby .room-join-group{min-width:0}body.mobile-device.lobby-scene #lobby .room-create-group>.room-privacy-toggle{width:100%;max-width:100%}body.mobile-device.lobby-scene #lobby .room-join-group>.join-row>#spectate-room{justify-items:center;text-align:center!important;grid-template-columns:minmax(0,1fr)!important}}@media (width<=430px){body.mobile-device.lobby-scene #lobby .room-actions-row{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important}}body.mobile-device.lobby-scene #lobby .room-create-group,body.mobile-device.lobby-scene #lobby .room-join-group{grid-template-rows:48px 44px;align-items:stretch}body.mobile-device.lobby-scene #lobby .room-create-group>.room-privacy-toggle,body.mobile-device.lobby-scene #lobby .room-join-group>.room-discovery-actions,body.mobile-device.lobby-scene #lobby .room-join-group>.room-discovery-actions>#join-random-room{box-sizing:border-box;height:44px;min-height:44px;max-height:44px}body.mobile-device.lobby-scene #lobby .room-create-group>.room-privacy-toggle{padding-block:.34rem;overflow:hidden}body.mobile-device.lobby-scene #lobby .room-section{padding-bottom:max(6px, env(safe-area-inset-bottom,0px))}@media (width<=900px){body.mobile-device.lobby-scene #lobby .room-create-group,body.mobile-device.lobby-scene #lobby .room-join-group{grid-template-rows:40px 42px}body.mobile-device.lobby-scene #lobby .room-create-group>.room-privacy-toggle,body.mobile-device.lobby-scene #lobby .room-join-group>.room-discovery-actions,body.mobile-device.lobby-scene #lobby .room-join-group>.room-discovery-actions>#join-random-room{height:42px;min-height:42px;max-height:42px}}@media (width<=430px){body.mobile-device.lobby-scene #lobby .room-create-group,body.mobile-device.lobby-scene #lobby .room-join-group{grid-template-rows:38px 40px}body.mobile-device.lobby-scene #lobby .room-create-group>.room-privacy-toggle,body.mobile-device.lobby-scene #lobby .room-join-group>.room-discovery-actions,body.mobile-device.lobby-scene #lobby .room-join-group>.room-discovery-actions>#join-random-room{height:40px;min-height:40px;max-height:40px}}body.mobile-device.lobby-scene #lobby .room-actions-row{padding-bottom:2px;align-items:start!important}body.mobile-device.lobby-scene #lobby .room-create-group,body.mobile-device.lobby-scene #lobby .room-join-group{align-self:start;height:84px;min-height:84px;max-height:84px;grid-template-rows:40px 38px!important;gap:6px!important}body.mobile-device.lobby-scene #lobby .room-create-group>#create-room,body.mobile-device.lobby-scene #lobby .room-create-group>#room-code,body.mobile-device.lobby-scene #lobby .room-join-group>.join-row,body.mobile-device.lobby-scene #lobby .room-join-group>.join-row>#join-room,body.mobile-device.lobby-scene #lobby .room-join-group>.join-row>#spectate-room{box-sizing:border-box!important;height:40px!important;min-height:40px!important;max-height:40px!important}body.mobile-device.lobby-scene #lobby .room-create-group>.room-privacy-toggle,body.mobile-device.lobby-scene #lobby .room-join-group>.room-discovery-actions,body.mobile-device.lobby-scene #lobby .room-join-group>.room-discovery-actions>#join-random-room{box-sizing:border-box!important;block-size:38px!important;min-block-size:38px!important;max-block-size:38px!important;align-self:stretch!important;height:38px!important;min-height:38px!important;max-height:38px!important;margin:0!important;overflow:hidden!important}body.mobile-device.lobby-scene #lobby .room-create-group>.room-privacy-toggle{grid-template-columns:24px minmax(0,1fr) 31px!important;gap:6px!important;padding:3px 8px!important;line-height:1!important}body.mobile-device.lobby-scene #lobby .room-privacy-icon{block-size:24px!important;inline-size:24px!important}body.mobile-device.lobby-scene #lobby .room-privacy-copy{align-content:center;gap:1px!important}body.mobile-device.lobby-scene #lobby .room-privacy-copy strong{font-size:.6rem!important;line-height:1!important}body.mobile-device.lobby-scene #lobby .room-privacy-copy small{font-size:.48rem!important;line-height:1!important;display:block!important}body.mobile-device.lobby-scene #lobby .room-privacy-switch{block-size:17px!important;inline-size:31px!important}body.mobile-device.lobby-scene #lobby .room-privacy-switch:after{block-size:11px!important;inline-size:11px!important;inset-block-start:3px!important;inset-inline-start:3px!important}body.mobile-device.lobby-scene #lobby .room-privacy-toggle input:checked~.room-privacy-switch:after{transform:translate(14px)!important}body.mobile-device.lobby-scene #lobby .room-section{box-sizing:border-box!important;padding-bottom:10px!important}.room-section .room-actions-row{min-width:0;grid-template-rows:48px 44px!important;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr)!important;align-items:stretch!important;gap:.5rem .65rem!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;display:grid!important;overflow:visible!important}.room-section .room-create-group,.room-section .room-join-group{display:contents!important}.room-section .room-create-row{grid-area:1/1;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:.48rem;min-width:0;min-height:0;display:grid}.room-section .room-create-row>#create-room,.room-section .room-create-row>#room-code,.room-section .room-join-group>.join-row,.room-section .room-join-group>.join-row>#join-room,.room-section .room-join-group>.join-row>#spectate-room,.room-section .room-create-group>.room-privacy-toggle,.room-section .room-join-group>.room-discovery-actions>#join-random-room{box-sizing:border-box!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important}.room-section .room-create-row>#create-room,.room-section .room-create-row>#room-code{width:100%;min-width:0}.room-section .room-create-row>#room-code{grid-column:2}.room-section .room-create-group>.room-privacy-toggle{grid-area:2/1;min-width:0;align-self:stretch!important;width:100%!important;overflow:hidden!important}.room-section .room-join-group>.join-row{grid-area:1/2;width:100%;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-self:stretch!important;gap:.48rem!important;display:grid!important}.room-section .room-join-group>.room-discovery-actions{display:contents!important}.room-section .room-join-group>.room-discovery-actions>#join-random-room{grid-area:2/2;min-width:0;align-self:stretch!important;width:100%!important;overflow:hidden!important}.room-section{box-sizing:border-box;padding-bottom:11px!important}@media (width<=900px),(pointer:coarse){body.lobby-scene #lobby .room-section .room-actions-row{grid-template-rows:40px 40px!important;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr)!important;gap:6px!important}body.lobby-scene #lobby .room-section .room-create-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:5px}body.lobby-scene #lobby .room-section .room-create-row>#create-room,body.lobby-scene #lobby .room-section .room-create-row>#room-code,body.lobby-scene #lobby .room-section .room-join-group>.join-row,body.lobby-scene #lobby .room-section .room-join-group>.join-row>#join-room,body.lobby-scene #lobby .room-section .room-join-group>.join-row>#spectate-room,body.lobby-scene #lobby .room-section .room-create-group>.room-privacy-toggle,body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#join-random-room{block-size:100%!important;min-block-size:0!important;max-block-size:none!important;height:100%!important;min-height:0!important;max-height:none!important}body.lobby-scene #lobby .room-section .room-create-group>.room-privacy-toggle{grid-template-columns:24px minmax(0,1fr) 31px!important;gap:6px!important;padding:3px 8px!important}body.lobby-scene #lobby .room-section{padding-bottom:10px!important}}@media (width<=430px){body.lobby-scene #lobby .room-section .room-actions-row{grid-template-rows:38px 38px!important;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important;gap:4px!important}body.lobby-scene #lobby .room-section .room-create-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:4px}}.room-section .room-create-row{width:100%;max-width:100%;overflow:hidden;grid-template-columns:minmax(0,2fr) minmax(0,1fr)!important}.room-section .room-create-row>#create-room,.room-section .room-create-row>#room-code{position:relative;inset:auto;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important}.room-section .room-create-row>#create-room{grid-column:1!important}.room-section .room-create-row>#room-code{text-align:center;grid-column:2!important}.team-section .section-heading.inline-heading{align-items:center;gap:.55rem;display:flex}.team-heading-actions{align-items:center;gap:.42rem;min-width:0;margin-left:auto;display:inline-flex}.team-transfer-button{color:#f8fafc;min-height:34px;font:inherit;cursor:pointer;background:#fabe2614;border:1px solid #fabe266b;border-radius:9px;padding:.42rem .78rem;font-size:.76rem;font-weight:800;line-height:1}.team-transfer-button:hover:not(:disabled),.team-transfer-button:focus-visible{background:#fabe2629;border-color:#fabe26cc}.team-transfer-button:disabled{opacity:.42;cursor:not-allowed}.team-transfer-dialog{color:#f8fafc;background:0 0;border:0;border-radius:18px;width:min(92vw,590px);max-width:590px;padding:0;overflow:visible}.team-transfer-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000000c2}.team-transfer-card{background:linear-gradient(155deg,#111218fc,#07080cfc);border:1px solid #94a3b840;border-radius:18px;overflow:hidden;box-shadow:0 24px 70px #0000008c}.team-transfer-header{border-bottom:1px solid #94a3b829;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.05rem .8rem;display:flex}.team-transfer-header small{color:#f5c542;letter-spacing:.18em;margin-bottom:.18rem;font-size:.66rem;font-weight:900;display:block}.team-transfer-header h2{margin:0;font-size:1.15rem}.team-transfer-close{flex:none;width:36px;min-width:36px;height:36px;min-height:36px;padding:0;font-size:1.25rem}.team-transfer-view{padding:1rem 1.05rem 1.05rem}.team-transfer-view>p:first-child{color:#cbd5e1;margin:0 0 .85rem;line-height:1.45}.team-transfer-field{color:#e2e8f0;gap:.38rem;font-size:.78rem;font-weight:750;display:grid}.team-transfer-field input{box-sizing:border-box;color:#f8fafc;width:100%;min-height:44px;font:inherit;background:#020307d1;border:1px solid #94a3b847;border-radius:10px;padding:.65rem .75rem}.team-transfer-field input:focus{border-color:#fabe26cc;outline:2px solid #fabe266b}.team-transfer-status{color:#cbd5e1;overflow-wrap:anywhere;min-height:1.25rem;margin:.72rem 0 0;font-size:.78rem;line-height:1.4}.team-transfer-status.is-error{color:#fda4af}.team-transfer-status.is-success{color:#86efac}.team-transfer-footer{justify-content:flex-end;gap:.55rem;margin-top:.82rem;display:flex}.team-transfer-footer button{min-width:112px}.team-transfer-result{background:#fabe2612;border:1px solid #fabe2659;border-radius:11px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.55rem;padding:.58rem;display:grid}.team-transfer-result a{color:#fde68a;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.82rem;font-weight:750;overflow:hidden}.team-transfer-result button{white-space:nowrap;min-height:36px;padding:.42rem .68rem}@media (width<=900px),(pointer:coarse){body.mobile-device.lobby-scene #lobby .team-heading-actions{gap:4px}body.mobile-device.lobby-scene #lobby .team-transfer-button{border-radius:8px;min-height:30px;padding:.34rem .52rem;font-size:.61rem}.team-transfer-dialog{width:min(94vw,520px);max-height:92dvh}.team-transfer-card{max-height:92dvh;overflow:auto}.team-transfer-header{padding:.72rem .78rem .62rem}.team-transfer-header h2{font-size:.98rem}.team-transfer-view{padding:.72rem .78rem .78rem}.team-transfer-field input{min-height:38px;padding:.5rem .58rem;font-size:.78rem}.team-transfer-result{grid-template-columns:minmax(0,1fr)}.team-transfer-result button{width:100%}}@media (width<=430px){body.mobile-device.lobby-scene #lobby .team-section .section-heading.inline-heading{gap:4px}body.mobile-device.lobby-scene #lobby .team-heading-actions{margin-left:auto}body.mobile-device.lobby-scene #lobby .team-transfer-button{padding-inline:.42rem;font-size:.56rem}.team-transfer-footer{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.team-transfer-footer button{width:100%;min-width:0}}#lobby .team-section .team-heading-actions{margin-left:0;margin-right:auto}@keyframes switch-choice-pulse{0%{border-color:#ffcd36c7;box-shadow:0 0 0 1px #ffcd366b,0 0 8px #ffb9003d}to{border-color:#ffd84d;box-shadow:0 0 0 2px #ffd84db8,0 0 18px #ffb90094}}#battle-ui .switch-inspector-anchor>.switch-button.selected:not(:disabled){z-index:1;animation:.72s ease-in-out infinite alternate switch-choice-pulse;position:relative;transform:translateY(-1px);background:linear-gradient(#ffcd3621,#ffcd3614),#ffffff0e!important;border-color:#ffd84d!important}#battle-ui .switch-inspector-anchor>.switch-button.selected:not(:disabled) strong{color:#ffe98d}@media (prefers-reduced-motion:reduce){#battle-ui .switch-inspector-anchor>.switch-button.selected:not(:disabled){animation:none;box-shadow:0 0 0 2px #ffd84db8,0 0 12px #ffb9006b}}body.mobile-device.lobby-scene{overscroll-behavior:none;width:100%;height:100dvh;overflow:hidden!important}body.mobile-device.lobby-scene #ui{width:100%!important;min-width:0!important;height:100dvh!important;min-height:0!important;position:fixed!important;inset:0!important;overflow:hidden!important}body.mobile-device.lobby-scene #lobby.lobby-panel{inset:max(6px, env(safe-area-inset-top,0px)) max(6px, env(safe-area-inset-right,0px)) max(6px, env(safe-area-inset-bottom,0px)) max(6px, env(safe-area-inset-left,0px))!important;box-sizing:border-box!important;border-radius:15px!important;grid-template-rows:48px 38px minmax(0,1fr)!important;gap:5px!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:6px!important;display:grid!important;position:fixed!important;overflow:hidden!important}body.mobile-device.lobby-scene #lobby .workspace-header{width:100%!important;height:48px!important;min-height:48px!important;margin:0!important;position:relative!important;overflow:visible!important}body.mobile-device.lobby-scene #lobby .lobby-logo{pointer-events:none;z-index:2!important;object-fit:contain!important;width:64px!important;height:64px!important;position:absolute!important;top:-8px!important;left:-4px!important}body.mobile-device.lobby-scene #lobby .mobile-lobby-nav{z-index:25!important;border-radius:11px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important;min-width:0!important;min-height:38px!important;padding:3px!important;display:grid!important;position:relative!important}body.mobile-device.lobby-scene #lobby .mobile-lobby-nav-button{border-radius:8px!important;gap:4px!important;min-width:0!important;height:30px!important;min-height:30px!important;padding:3px 5px!important;font-size:.55rem!important;line-height:1!important}body.mobile-device.lobby-scene #lobby .mobile-lobby-nav-button svg{flex:0 0 13px!important;width:13px!important;height:13px!important}body.mobile-device.lobby-scene #lobby .lobby-workspace{scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scroll-padding-top:3px;width:100%!important;min-width:0!important;min-height:0!important;padding:0 2px calc(9px + env(safe-area-inset-bottom,0px)) 0!important;overscroll-behavior-y:contain!important;touch-action:pan-y!important;box-sizing:border-box!important;grid-auto-rows:max-content!important;gap:6px!important;display:grid!important;overflow:hidden auto!important}body.mobile-device.lobby-scene #lobby .lobby-workspace>*,body.mobile-device.lobby-scene #lobby .lobby-top-grid,body.mobile-device.lobby-scene #lobby .lobby-side-stack,body.mobile-device.lobby-scene #lobby .trainer-studio-layout,body.mobile-device.lobby-scene #lobby .room-matchmaking-heading,body.mobile-device.lobby-scene #lobby .room-mode-controls,body.mobile-device.lobby-scene #lobby .room-actions-row,body.mobile-device.lobby-scene #lobby .room-create-group,body.mobile-device.lobby-scene #lobby .room-join-group,body.mobile-device.lobby-scene #lobby .team-library-fields,body.mobile-device.lobby-scene #lobby .library-actions,body.mobile-device.lobby-scene #lobby .team-slots{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}body.mobile-device.lobby-scene #lobby .lobby-top-grid,body.mobile-device.lobby-scene #lobby .lobby-side-stack{grid-template-rows:auto!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;height:auto!important;display:grid!important}body.mobile-device.lobby-scene #lobby .compact-section{box-sizing:border-box!important;border-radius:11px!important;width:100%!important;min-width:0!important;padding:7px!important;overflow:hidden!important}body.mobile-device.lobby-scene #lobby .trainer-studio-layout{grid-template-columns:minmax(132px,.82fr) minmax(160px,1.18fr)!important;gap:6px!important;display:grid!important}body.mobile-device.lobby-scene #lobby .trainer-profile-column{gap:5px!important}body.mobile-device.lobby-scene #lobby .trainer-preview-shell{width:100%!important;height:118px!important;min-height:118px!important}body.mobile-device.lobby-scene #lobby label{min-width:0!important;font-size:.56rem!important}body.mobile-device.lobby-scene #lobby input,body.mobile-device.lobby-scene #lobby select,body.mobile-device.lobby-scene #lobby button{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}body.mobile-device.lobby-scene #lobby input,body.mobile-device.lobby-scene #lobby select{height:32px!important;min-height:32px!important;padding:5px 7px!important;font-size:.68rem!important}body.mobile-device.lobby-scene #lobby button{min-height:32px!important;padding-block:5px!important}body.mobile-device.lobby-scene #lobby .room-matchmaking-heading{grid-template-columns:minmax(112px,.62fr) minmax(250px,1.38fr)!important;align-items:end!important;gap:5px!important;margin-bottom:4px!important;display:grid!important}body.mobile-device.lobby-scene #lobby .room-matchmaking-heading strong{font-size:.68rem!important;line-height:1.08!important}body.mobile-device.lobby-scene #lobby .room-mode-controls{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;display:grid!important}body.mobile-device.lobby-scene #lobby .room-segment-control{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:2px!important;padding:2px!important}body.mobile-device.lobby-scene #lobby .room-segment-title{font-size:.42rem!important}body.mobile-device.lobby-scene #lobby .room-format-option span{min-height:23px!important;padding-inline:4px!important;font-size:.52rem!important}body.mobile-device.lobby-scene #lobby .room-actions-row{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;align-items:stretch!important;gap:5px!important;display:grid!important}body.mobile-device.lobby-scene #lobby .room-create-group,body.mobile-device.lobby-scene #lobby .room-join-group{grid-template-rows:38px 38px!important;gap:4px!important;height:auto!important;display:grid!important}body.mobile-device.lobby-scene #lobby .room-create-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr)!important;gap:4px!important;min-width:0!important;display:grid!important}body.mobile-device.lobby-scene #lobby .room-join-group>.join-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;display:grid!important}body.mobile-device.lobby-scene #lobby .room-create-row>*,body.mobile-device.lobby-scene #lobby .room-join-group>.join-row>*,body.mobile-device.lobby-scene #lobby .room-privacy-toggle,body.mobile-device.lobby-scene #lobby .room-discovery-actions,body.mobile-device.lobby-scene #lobby .room-discovery-actions>*{box-sizing:border-box!important;width:100%!important;min-width:0!important;height:38px!important;min-height:38px!important;max-height:38px!important}body.mobile-device.lobby-scene #lobby .room-privacy-toggle{grid-template-columns:22px minmax(0,1fr) 29px!important;gap:4px!important;padding:4px 5px!important;overflow:hidden!important}body.mobile-device.lobby-scene #lobby .room-privacy-copy small,body.mobile-device.lobby-scene #lobby .join-random-room-copy small,body.mobile-device.lobby-scene #lobby .join-random-room-arrow{display:none!important}body.mobile-device.lobby-scene #lobby .room-privacy-copy strong,body.mobile-device.lobby-scene #lobby .join-random-room-copy strong{font-size:.57rem!important}body.mobile-device.lobby-scene #lobby .room-discovery-actions{grid-template-columns:minmax(0,1fr)!important;gap:0!important;display:grid!important}body.mobile-device.lobby-scene #lobby .team-library-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;display:grid!important}body.mobile-device.lobby-scene #lobby .library-actions{grid-template-columns:1.2fr 1fr 1fr!important;gap:4px!important;display:grid!important}body.mobile-device.lobby-scene #lobby .library-actions button{padding-inline:4px!important;font-size:.56rem!important}body.mobile-device.lobby-scene #lobby .team-section .team-slots{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;display:grid!important}body.mobile-device.lobby-scene #lobby .team-section .team-slot,body.mobile-device.lobby-scene #lobby .team-section .team-slot-empty{width:100%!important;min-width:0!important;max-width:none!important}body.mobile-device .pokemon-picker-dialog-card,body.mobile-device .set-editor-card{width:calc(100vw - max(10px, env(safe-area-inset-left,0px)) - max(10px, env(safe-area-inset-right,0px)))!important;max-width:none!important;max-height:calc(100dvh - max(10px, env(safe-area-inset-top,0px)) - max(10px, env(safe-area-inset-bottom,0px)))!important;box-sizing:border-box!important;overflow:hidden auto!important}@media (orientation:portrait){body.mobile-device.lobby-scene #lobby .trainer-studio-layout,body.mobile-device.lobby-scene #lobby .room-matchmaking-heading{grid-template-columns:minmax(0,1fr)!important}body.mobile-device.lobby-scene #lobby .trainer-preview-shell{height:104px!important;min-height:104px!important}body.mobile-device.lobby-scene #lobby .room-actions-row{grid-template-columns:minmax(0,1fr)!important}body.mobile-device.lobby-scene #lobby .team-section .team-slots{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (width<=390px){body.mobile-device.lobby-scene #lobby .mobile-lobby-nav-button span{display:none!important}body.mobile-device.lobby-scene #lobby .team-library-fields,body.mobile-device.lobby-scene #lobby .library-actions{grid-template-columns:minmax(0,1fr)!important}}.team-preview-overlay{z-index:140;-webkit-backdrop-filter:blur(14px)saturate(.9);backdrop-filter:blur(14px)saturate(.9);background:radial-gradient(circle at 50% 15%,#5d7dff24,#0000 34%),#030408e0;place-items:center;padding:clamp(12px,2vw,28px);display:grid;position:fixed;inset:0}.team-preview-overlay.hidden{display:none}.team-preview-card{background:linear-gradient(145deg,#141721f7,#080a10fa),#090b11;border:1px solid #ffffff21;border-radius:24px;width:min(1180px,100%);max-height:min(94vh,860px);padding:clamp(18px,2.5vw,32px);position:relative;overflow:auto;box-shadow:0 32px 90px #00000094,inset 0 1px #ffffff0d}.team-preview-card:before,.team-preview-card:after{content:"";pointer-events:none;position:absolute}.team-preview-card:before{border-radius:inherit;background:linear-gradient(90deg,#0000 0 48%,#ffffff09 50%,#0000 52%) 0 0/100% 100%,linear-gradient(#ffffff05 1px,#0000 1px) 0 0/100% 34px;inset:0;-webkit-mask-image:linear-gradient(#000,#0000 80%);mask-image:linear-gradient(#000,#0000 80%)}.team-preview-card:after{background:linear-gradient(90deg,#0000,#788fff,#d6ddff,#788fff,#0000);border-radius:0 0 6px 6px;width:210px;height:3px;top:0;left:50%;transform:translate(-50%);box-shadow:0 0 22px #6e87ffb8}.team-preview-header,.team-preview-footer,.team-preview-side,.team-preview-versus{z-index:1;position:relative}.team-preview-header{border-bottom:1px solid #ffffff17;justify-content:space-between;align-items:flex-start;gap:28px;padding-bottom:20px;display:flex}.team-preview-kicker,.team-preview-side-heading span{color:#91a2ff;letter-spacing:.18em;font-size:.68rem;font-weight:900;display:block}.team-preview-header h2{color:#fff;letter-spacing:-.035em;margin:5px 0 4px;font-size:clamp(1.35rem,2.8vw,2.25rem);line-height:1.05}.team-preview-header p{color:#e5e9f5a6;margin:0;font-size:.9rem}.team-preview-clock{text-align:center;background:#6278ff14;border:1px solid #8497ff4d;border-radius:16px;flex:none;min-width:112px;padding:10px 16px}.team-preview-clock span,.team-preview-clock small{color:#e1e6f794;letter-spacing:.1em;text-transform:uppercase;font-size:.62rem;font-weight:800;display:block}.team-preview-clock strong{color:#fff;font-variant-numeric:tabular-nums;margin:1px 0;font-size:2rem;line-height:1;display:block}.team-preview-warning .team-preview-clock{background:#ff3e4b1f;border-color:#ff5c65a6;animation:1s ease-in-out infinite team-preview-clock-pulse}.team-preview-warning .team-preview-clock strong{color:#ff747d}.team-preview-side{padding:18px 0}.team-preview-side-heading{align-items:baseline;gap:10px;margin-bottom:11px;display:flex}.team-preview-side-heading strong{color:#f8f9ff;font-size:1rem}.team-preview-side--opponent .team-preview-side-heading{justify-content:flex-end}.team-preview-side--opponent .team-preview-side-heading span{color:#ff8791}.team-preview-lineup{grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(8px,1vw,14px);display:grid}.team-preview-pokemon{color:#f5f7ff;text-align:center;background:radial-gradient(circle at 50% 38%,#7389ff26,#0000 54%),#ffffff09;border:1px solid #ffffff1a;border-radius:16px;min-width:0;min-height:126px;padding:12px 8px 10px;position:relative;overflow:hidden}button.team-preview-pokemon{cursor:pointer;width:100%;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s}button.team-preview-pokemon:hover:not(:disabled),button.team-preview-pokemon:focus-visible:not(:disabled){background:radial-gradient(circle at 50% 38%,#7389ff47,#0000 58%),#6279ff17;border-color:#889bffb3;outline:none;transform:translateY(-3px);box-shadow:0 12px 30px #00000052}.team-preview-pokemon.selected,.team-preview-pokemon.drag-over{background:#667cff2e;border-color:#98a8ff;box-shadow:0 0 0 2px #7e92ff2e,0 0 28px #5a73ff3d}.team-preview-pokemon.dragging{opacity:.5}.team-preview-pokemon:disabled{cursor:default;opacity:.78}.team-preview-pokemon--opponent{background:radial-gradient(circle at 50% 38%,#ff5b681f,#0000 54%),#ffffff07}.team-preview-position{color:#fff;background:#06080dc7;border:1px solid #ffffff1f;border-radius:8px;place-items:center;width:23px;height:23px;font-size:.73rem;font-weight:900;display:grid;position:absolute;top:8px;left:9px}.team-preview-lead{color:#aebaff;letter-spacing:.08em;font-size:.58rem;font-weight:900;position:absolute;top:9px;right:8px}.team-preview-sprite{place-items:center;height:82px;margin:3px auto 0;display:grid}.team-preview-sprite img{object-fit:contain;image-rendering:auto;filter:drop-shadow(0 8px 9px #0000006b);width:76px;height:76px}.team-preview-pokemon strong{text-overflow:ellipsis;white-space:nowrap;font-size:clamp(.68rem,1vw,.82rem);display:block;overflow:hidden}.team-preview-versus{color:#ffffff8c;align-items:center;gap:14px;display:flex}.team-preview-versus:before,.team-preview-versus:after{content:"";background:linear-gradient(90deg,#0000,#ffffff26,#0000);flex:1;height:1px}.team-preview-versus span{letter-spacing:.14em;background:#0a0c12;border:1px solid #ffffff1f;border-radius:10px;place-items:center;width:44px;height:30px;font-size:.72rem;font-weight:950;display:grid}.team-preview-footer{border-top:1px solid #ffffff17;justify-content:space-between;align-items:center;gap:22px;padding-top:18px;display:flex}.team-preview-footer>div:first-child{min-width:0}.team-preview-footer strong,.team-preview-footer small{display:block}.team-preview-footer strong{color:#f5f7ff;font-size:.87rem}.team-preview-footer small{color:#e1e6f594;margin-top:3px;font-size:.72rem}.team-preview-actions{flex:none;gap:9px;display:flex}.team-preview-actions button{border-radius:12px;min-height:42px;padding:0 17px}body.team-preview-open{overflow:hidden}@keyframes team-preview-clock-pulse{50%{transform:scale(1.035)}}@media (width<=900px){.team-preview-lineup{grid-template-columns:repeat(3,minmax(0,1fr))}.team-preview-pokemon{min-height:112px}.team-preview-sprite{height:67px}.team-preview-sprite img{width:62px;height:62px}}@media (width<=620px){.team-preview-overlay{padding:0}.team-preview-card{border:0;border-radius:0;width:100%;min-height:100dvh;max-height:100dvh;padding:16px 12px}.team-preview-header{gap:10px}.team-preview-header p{font-size:.76rem}.team-preview-clock{min-width:78px;padding:8px 9px}.team-preview-clock strong{font-size:1.55rem}.team-preview-lineup{gap:7px}.team-preview-pokemon{border-radius:12px;min-height:101px;padding-inline:5px}.team-preview-sprite{height:60px}.team-preview-sprite img{width:57px;height:57px}.team-preview-footer{flex-direction:column;align-items:stretch;gap:10px}.team-preview-actions{grid-template-columns:1fr 1fr;display:grid}}.team-preview-header-actions{align-items:flex-start;gap:10px;display:flex}.team-preview-leave{color:#ffffffb8;background:#ffffff0a;border:1px solid #ffffff1f;border-radius:12px;place-items:center;width:38px;height:38px;padding:0;font-size:1.4rem;line-height:1;display:grid}.team-preview-leave:hover,.team-preview-leave:focus-visible{color:#fff;background:#ff4a581f;border-color:#ff66718c;outline:none}@media (width<=620px){.team-preview-header-actions{gap:6px}.team-preview-leave{width:34px;height:34px}}.team-preview-actions #team-preview-confirm.is-ready{color:#fff1f2;background:linear-gradient(#7f1d1deb,#450a0af5);border-color:#f871718c;box-shadow:0 12px 28px #7f1d1d38}.team-preview-actions #team-preview-confirm.is-ready:hover:not(:disabled){background:linear-gradient(#991b1bf5,#580c0cfa);border-color:#fca5a5d1}.team-preview-title-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.team-preview-title-row h2{flex:0 auto}.team-preview-format-badge{color:#fde68a;letter-spacing:.08em;background:#fbbf241a;border:1px solid #fbbf246b;border-radius:999px;place-items:center;min-width:42px;padding:.34rem .52rem;font-size:.66rem;font-weight:950;line-height:1;display:inline-grid;box-shadow:0 0 18px #f59e0b17}.team-preview-overlay[data-format="3v3"] .team-preview-card:after{background:linear-gradient(90deg,#0000,#f59e0b,#fde68a,#f59e0b,#0000);box-shadow:0 0 22px #f59e0b80}.team-preview-overlay[data-format="3v3"] .team-preview-kicker,.team-preview-overlay[data-format="3v3"] .team-preview-side-heading span{color:#fbbf24}.team-preview-pokemon--ban-target:not(:disabled){cursor:pointer}.team-preview-pokemon--ban-target:hover:not(:disabled),.team-preview-pokemon--ban-target:focus-visible:not(:disabled){background:radial-gradient(circle at 50% 38%,#ef444440,#0000 58%),#7f1d1d1c;border-color:#f87171c7;box-shadow:0 12px 30px #450a0a4d}.team-preview-pokemon.is-ban-selected{background:radial-gradient(circle at 50% 38%,#ef444457,#0000 58%),#7f1d1d29;border-color:#f87171e6;box-shadow:0 0 0 2px #f8717126,0 0 30px #ef444433}.team-preview-pokemon.is-picked{background:radial-gradient(circle at 50% 38%,#fbbf2440,#0000 58%),#925c0a24;border-color:#fbbf24d6;box-shadow:0 0 0 2px #fbbf2421,0 0 28px #f59e0b2e}.team-preview-pokemon.is-banned{filter:grayscale(.92)saturate(.35);opacity:.5;border-color:#f8717147}.team-preview-pokemon.is-banned:after{content:"";pointer-events:none;background:linear-gradient(135deg,#0000 47%,#f871714d 48% 52%,#0000 53%);position:absolute;inset:0}.team-preview-ban-mark,.team-preview-pick-order{z-index:2;letter-spacing:.08em;border-radius:7px;padding:.28rem .42rem;font-size:.56rem;font-weight:950;line-height:1;position:absolute;top:9px;right:8px}.team-preview-ban-mark{color:#fecaca;background:#7f1d1dd6;border:1px solid #f871718a}.team-preview-ban-mark--selected{color:#fff1f2;background:#b91c1ceb;box-shadow:0 0 15px #ef444440}.team-preview-pick-order{color:#fff7cc;background:#925c0ae0;border:1px solid #fde04785;box-shadow:0 0 15px #f59e0b33}.team-preview-overlay[data-phase=ban] .team-preview-actions #team-preview-confirm:not(.is-ready),.team-preview-overlay[data-phase=pick] .team-preview-actions #team-preview-confirm:not(.is-ready){color:#1c1404;background:linear-gradient(#facc15,#f59e0b);border-color:#fbbf2480;box-shadow:0 12px 28px #f59e0b33}@media (width<=620px){.team-preview-title-row{gap:7px}.team-preview-format-badge{min-width:36px;padding:.28rem .42rem;font-size:.59rem}}.battle-inspector{z-index:10050;pointer-events:none;color:#f8fafc;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:linear-gradient(145deg,#0c121ff7,#171a26fa),radial-gradient(circle at 82% 0,#facc1524,#0000 42%);border:1px solid #facc1585;border-radius:18px;width:min(420px,100vw - 24px);max-height:min(640px,100vh - 24px);padding:16px;animation:.13s ease-out battle-inspector-in;position:fixed;overflow:auto;box-shadow:0 22px 64px #00000085,inset 0 0 0 1px #ffffff0a,0 0 32px #facc151a}.battle-inspector.hidden{display:none}@keyframes battle-inspector-in{0%{opacity:0;transform:translateY(5px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}.has-battle-inspector{cursor:help}.team-preview-pokemon--own.has-battle-inspector,.team-chip.has-battle-inspector{cursor:pointer}.battle-inspector-header{border-bottom:1px solid #94a3b82b;justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:11px;display:flex}.battle-inspector-header h3{color:#fff;margin:2px 0 0;font-size:1.18rem;line-height:1.15}.battle-inspector-header h3 span{color:#facc15}.battle-inspector-kicker{color:#facc15;letter-spacing:.13em;font-size:.67rem;font-weight:900;display:block}.battle-inspector-header--opponent .battle-inspector-kicker{color:#fb7185}.battle-inspector-types{flex:none;align-items:center;gap:6px;display:flex}.battle-inspector-types .type-logo{width:28px;height:28px}.battle-inspector-level{color:#cbd5e1;justify-content:space-between;align-items:center;gap:12px;margin:10px 0;font-size:.78rem;font-weight:800;display:flex}.battle-inspector-hp{color:#f8fafc}.battle-inspector-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.battle-inspector-stat{background:#ffffff0a;border:1px solid #94a3b824;border-radius:11px;min-width:0;padding:8px 9px}.battle-inspector-stat>span,.battle-inspector-stat>strong,.battle-inspector-stat>small{display:block}.battle-inspector-stat>span{color:#94a3b8;letter-spacing:.05em;font-size:.64rem;font-weight:900}.battle-inspector-stat>strong{color:#fff;margin-top:2px;font-size:1.03rem}.battle-inspector-stat>small{color:#facc15;white-space:nowrap;margin-top:1px;font-size:.62rem}.battle-inspector-details{gap:6px;margin:11px 0 0;display:grid}.battle-inspector-details>div{grid-template-columns:66px minmax(0,1fr);align-items:baseline;gap:8px;display:grid}.battle-inspector-details dt{color:#94a3b8;text-transform:uppercase;font-size:.7rem;font-weight:900}.battle-inspector-details dd{color:#e2e8f0;min-width:0;margin:0;font-size:.78rem;font-weight:700}.battle-inspector-moves{margin-top:12px}.battle-inspector-moves h4{color:#facc15;letter-spacing:.08em;text-transform:uppercase;margin:0 0 7px;font-size:.7rem;font-weight:900}.battle-inspector-moves ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0;padding:0;list-style:none;display:grid}.battle-inspector-moves li{border:1px solid color-mix(in srgb, var(--move-color,#64748b) 44%, transparent);background:color-mix(in srgb, var(--move-color,#64748b) 9%, #ffffff08);border-radius:11px;grid-template-rows:auto auto;grid-template-columns:25px minmax(0,1fr);column-gap:7px;min-width:0;padding:8px;display:grid;position:relative;overflow:hidden}.battle-inspector-move-type{grid-row:1/3;align-self:center}.battle-inspector-move-type .type-logo{width:25px;height:25px}.battle-inspector-moves strong{color:#f8fafc;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.73rem;line-height:1.15;overflow:hidden}.battle-inspector-moves small{color:#94a3b8;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.61rem;overflow:hidden}.battle-inspector-speed{background:linear-gradient(135deg,#fb71851c,#ffffff08);border:1px solid #fb718552;border-radius:13px;gap:3px;margin-top:12px;padding:13px;display:grid}.battle-inspector-speed>span{color:#fda4af;letter-spacing:.08em;text-transform:uppercase;font-size:.68rem;font-weight:900}.battle-inspector-speed>strong{color:#fff;font-size:1.65rem;line-height:1}.battle-inspector-speed>small{color:#cbd5e1;font-size:.67rem}.battle-inspector-speed--adjusted{background:linear-gradient(135deg,#facc151a,#ffffff08);border-color:#facc1557;margin-top:8px}.battle-inspector-speed--adjusted>span{color:#fde047}.battle-inspector-speed--adjusted>strong{font-size:1.3rem}.battle-inspector-note{color:#94a3b8;margin:9px 2px 0;font-size:.65rem;line-height:1.35}.opponent-hud.has-battle-inspector,.player-hud.has-battle-inspector{cursor:help}.opponent-hud.has-battle-inspector:hover,.player-hud.has-battle-inspector:hover,.opponent-hud.has-battle-inspector:focus-visible,.player-hud.has-battle-inspector:focus-visible{outline-offset:4px;outline:1px solid #facc154d}@media (width<=640px){.battle-inspector{width:min(360px,100vw - 16px);padding:13px}.battle-inspector-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.battle-inspector-moves ul{grid-template-columns:1fr}}#battle-ui .fighter-hud.has-battle-inspector{z-index:45;touch-action:pan-x pan-y;pointer-events:auto!important}#battle-ui .fighter-hud.has-battle-inspector .fighter-head,#battle-ui .fighter-hud.has-battle-inspector .hud-hp-row,#battle-ui .fighter-hud.has-battle-inspector .team-rail,#battle-ui .fighter-hud.has-battle-inspector .team-chip{pointer-events:auto!important}#battle-ui .team-rail{z-index:1;position:relative}#battle-ui .team-chip.has-battle-inspector{cursor:help}#battle-ui .switch-inspector-anchor.has-battle-inspector{cursor:help;min-width:0;position:relative;pointer-events:auto!important}#battle-ui .switch-inspector-anchor>.switch-button{width:100%;height:100%}#battle-ui .switch-inspector-anchor>.switch-button:disabled{pointer-events:none}.mega-symbol{object-fit:contain;vertical-align:middle;filter:drop-shadow(0 0 .28rem #6fe6ff47);pointer-events:none;-webkit-user-select:none;user-select:none;border-radius:50%;flex:none;width:1.35rem;height:1.35rem;display:inline-block}.mega-check .mega-symbol--editor{width:1.55rem;height:1.55rem;margin-inline:.1rem .2rem}:is(.mega-check:has(input:disabled) .mega-symbol,.mega-check:has(input:not(:checked)) .mega-symbol){opacity:.68;filter:saturate(.72)drop-shadow(0 0 .2rem #6fe6ff2e)}.mega-check:has(input:checked) .mega-symbol{opacity:1;filter:saturate(1.15)drop-shadow(0 0 .42rem #76ebff85)}.mega-toggle{width:3.35rem;min-width:3.35rem;height:3.35rem;box-shadow:none;opacity:.76;background:0 0;border:0;border-radius:0;place-items:center;padding:0;transition:opacity .16s,transform .16s;display:inline-grid;position:relative;overflow:visible;transform:translateZ(0)}.mega-toggle:hover:not(:disabled),.mega-toggle:focus-visible:not(:disabled){opacity:1;box-shadow:none;background:0 0;outline:none;transform:translateY(-1px)scale(1.06)}.mega-toggle:focus-visible:not(:disabled) .mega-symbol--battle{filter:saturate(1.05)brightness(1.02)drop-shadow(0 0 .42rem #73e0ff8a)}.mega-toggle .mega-symbol--battle{opacity:.7;filter:saturate(.62)brightness(.78)drop-shadow(0 0 .22rem #60d2ff2e);border-radius:50%;width:2.8rem;height:2.8rem;transition:opacity .16s,filter .16s,transform .16s}.mega-toggle[aria-pressed=true],.mega-toggle.selected{opacity:1;box-shadow:none;background:0 0;border:0;animation:1.15s ease-in-out infinite alternate mega-toggle-pulse}.mega-toggle[aria-pressed=true] .mega-symbol--battle,.mega-toggle.selected .mega-symbol--battle{opacity:1;filter:saturate(1.25)brightness(1.12)drop-shadow(0 0 .52rem #89e0ffd1)drop-shadow(0 0 .9rem #ff65dd7a)drop-shadow(0 0 1.25rem #ffed723d);transform:scale(1.08)}.mega-toggle:disabled{cursor:default;opacity:.38}@keyframes mega-toggle-pulse{0%{transform:scale(1)}to{transform:scale(1.05)}}.team-slot .slot-pokemon-name{flex-wrap:wrap;align-items:center;gap:.28rem;min-width:0;display:inline-flex}.team-slot .slot-pokemon-name-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.team-slot .slot-pokemon-name>.mega-symbol--team{filter:drop-shadow(0 0 .18rem #6fe6ff70);border-radius:50%;object-fit:contain!important;width:.78rem!important;min-width:.78rem!important;max-width:.78rem!important;height:.78rem!important;min-height:.78rem!important;max-height:.78rem!important;margin:0 0 0 .08rem!important;padding:0!important}@media (prefers-reduced-motion:reduce){.mega-toggle,.mega-toggle .mega-symbol--battle{transition:none}.mega-toggle[aria-pressed=true],.mega-toggle.selected{animation:none}}.pokemon-picker-dialog .pokemon-option .pokemon-option-mega{z-index:3;pointer-events:none;place-items:center;width:1.65rem;height:1.65rem;display:grid;position:absolute;top:8px;left:8px}.pokemon-picker-dialog .pokemon-option .mega-symbol--picker{opacity:.92;filter:saturate(1.08)drop-shadow(0 0 .22rem #6fe6ff6b)drop-shadow(0 2px 4px #00000094);object-fit:contain!important;width:1.55rem!important;min-width:1.55rem!important;max-width:1.55rem!important;height:1.55rem!important;min-height:1.55rem!important;max-height:1.55rem!important}.pokemon-picker-dialog .pokemon-option:hover .mega-symbol--picker,.pokemon-picker-dialog .pokemon-option:focus-visible .mega-symbol--picker{opacity:1;filter:saturate(1.2)brightness(1.08)drop-shadow(0 0 .35rem #6fe6ff9e)drop-shadow(0 2px 4px #00000094)}.room-discovery-actions{grid-template-columns:minmax(0,1fr) minmax(118px,.48fr);align-items:stretch;gap:.5rem;min-width:0;display:grid}.room-discovery-actions>button{width:100%;min-width:0;min-height:54px}.join-spectator-room{color:#f8fafcf5;text-align:center;white-space:nowrap;letter-spacing:.015em;justify-content:center;align-items:center;gap:0;padding:.42rem .72rem;font-size:.76rem;font-weight:900;display:flex}.join-spectator-room:disabled{opacity:.52;filter:saturate(.68);cursor:not-allowed;transform:none}@media (width>=1021px){#lobby.lobby-panel{width:min(1720px,100vw - 20px);max-width:1720px}#lobby .lobby-workspace{width:min(1660px,100%)}#lobby .lobby-top-grid{grid-template-columns:minmax(400px,.84fr) minmax(680px,1.16fr)}}@media (width<=700px){.room-discovery-actions{grid-template-columns:minmax(0,1fr) minmax(104px,.56fr)}.join-spectator-room{padding-inline:.5rem;font-size:.7rem}}#battle-ui.spectator-mode .command-panel{display:none!important}#battle-ui.spectator-mode .turn-card{border-color:#fbbf2461;box-shadow:0 0 20px #fbbf2414}.team-preview-overlay.is-spectator .team-preview-pokemon{cursor:default;-webkit-user-select:none;user-select:none}.team-preview-overlay.is-spectator .team-preview-pokemon:hover{transform:none}.team-preview-overlay.is-spectator .team-preview-actions{display:none}.team-preview-overlay.is-spectator .team-preview-footer{grid-template-columns:1fr}body.mobile-device.battle-active{overscroll-behavior:none;touch-action:manipulation;width:100%;height:100dvh;overflow:hidden!important}body.mobile-device.battle-active #ui,body.mobile-device.battle-active #battle-ui{width:100%;height:100dvh;min-height:0;position:fixed;inset:0;overflow:hidden}body.mobile-low-power .panel,body.mobile-low-power .compact-section,body.mobile-low-power .command-panel,body.mobile-low-power .log-panel,body.mobile-low-power .fighter-hud,body.mobile-low-power .battle-topbar,body.mobile-low-power .waiting-banner,body.mobile-low-power .field-effect-chip,body.mobile-low-power .battle-exit,body.mobile-low-power .battle-inspector,body.mobile-low-power .battle-choice-overlay,body.mobile-low-power .set-editor,body.mobile-low-power .set-editor::backdrop{-webkit-backdrop-filter:none!important}body.mobile-low-power .panel,body.mobile-low-power .compact-section,body.mobile-low-power .command-panel,body.mobile-low-power .log-panel,body.mobile-low-power .fighter-hud,body.mobile-low-power .battle-topbar,body.mobile-low-power .waiting-banner{box-shadow:inset 0 1px #ffffff0e,0 7px 18px #0000003d}body.mobile-low-power .field-effect-chip,body.mobile-low-power .hazard-chip,body.mobile-low-power .battle-inspector{animation:none!important}body.mobile-low-power .fighter-hud,body.mobile-low-power .command-panel,body.mobile-low-power .battle-topbar,body.mobile-low-power .battle-exit,body.mobile-low-power .move-button,body.mobile-low-power .team-chip,body.mobile-low-power .bar span{transition-duration:80ms!important}body.mobile-device.battle-active .battle-exit{top:calc(env(safe-area-inset-top,0px) + 6px);left:calc(env(safe-area-inset-left,0px) + 6px);border-radius:9px;place-items:center;width:34px;min-width:34px;height:34px;min-height:34px;padding:0;display:grid}body.mobile-device.battle-active .battle-exit span{display:none!important}body.mobile-device.battle-active .battle-exit svg{width:18px;height:18px}body.mobile-device.battle-active .battle-topbar{top:calc(env(safe-area-inset-top,0px) + 6px);left:calc(env(safe-area-inset-left,0px) + 44px);right:calc(env(safe-area-inset-right,0px) + 6px);border-radius:12px;width:auto;min-width:0;min-height:34px;padding:3px 5px;transform:none}body.mobile-device.battle-active .turn-card{min-width:0}body.mobile-device.battle-active .turn-card small{font-size:.47rem}body.mobile-device.battle-active .turn-card span{text-overflow:ellipsis;white-space:nowrap;font-size:.61rem;overflow:hidden}body.mobile-device.battle-active .status-pill{white-space:nowrap;padding:4px 6px;font-size:.47rem}body.mobile-device.battle-active .battle-topbar .icon-button{width:27px;min-width:27px;height:27px;min-height:27px;padding:0}body.mobile-device.battle-active .fighter-hud{background:#05070ce6;border-radius:12px;padding:5px 7px}body.mobile-device.battle-active .fighter-head{gap:6px}body.mobile-device.battle-active .fighter-head strong{text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;overflow:hidden}body.mobile-device.battle-active .fighter-head small{text-overflow:ellipsis;white-space:nowrap;margin-top:1px;font-size:.5rem;overflow:hidden}body.mobile-device.battle-active .condition-badge{padding:1px 4px;font-size:.46rem}body.mobile-device.battle-active .hud-hp-row{gap:5px;margin-top:4px}body.mobile-device.battle-active .bar{height:7px}body.mobile-device.battle-active .hud-hp-row>strong{min-width:45px;font-size:.55rem}body.mobile-device.battle-active .team-rail{gap:2px;max-width:100%;margin-top:4px;overflow:hidden}body.mobile-device.battle-active .team-chip{flex:0 24px;width:24px;min-width:19px;height:24px}body.mobile-device.battle-active .boost-strip,body.mobile-device.battle-active .hazard-strip{gap:2px;min-height:0;margin-top:3px}body.mobile-device.battle-active .boost-badge,body.mobile-device.battle-active .hazard-chip{min-height:14px;padding:1px 3px;font-size:.44rem}body.mobile-device.battle-active .battle-field-status{gap:3px;max-width:calc(100vw - 12px)}body.mobile-device.battle-active .field-effect-chip{background:#05070ce8;gap:3px;min-height:23px;padding:2px 5px 2px 3px}body.mobile-device.battle-active .field-effect-symbol{flex-basis:16px;width:16px;height:16px;font-size:.58rem}body.mobile-device.battle-active .field-effect-copy strong{font-size:.48rem}body.mobile-device.battle-active .field-effect-copy small{display:none}body.mobile-device.battle-active .command-panel{background:#05070cf0;border-radius:11px;padding:5px;overflow:hidden}body.mobile-device.battle-active .command-topline{gap:3px;min-height:24px;padding:0 1px 4px}body.mobile-device.battle-active .command-topline>strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.62rem;overflow:hidden}body.mobile-device.battle-active .mode-tabs{flex:none;gap:3px}body.mobile-device.battle-active .mode-tabs button{min-height:23px;padding:3px 6px;font-size:.5rem}body.mobile-device.battle-active .move-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}body.mobile-device.battle-active .move-button{border-radius:9px;grid-template-columns:22px minmax(0,1fr) 29px;gap:4px;min-width:0;min-height:39px;padding:4px 5px}body.mobile-device.battle-active .move-type-icon{width:22px;height:22px}body.mobile-device.battle-active .move-copy strong{font-size:.62rem}body.mobile-device.battle-active .move-copy small{margin-top:1px;font-size:.46rem}body.mobile-device.battle-active .move-pp b{font-size:.66rem}body.mobile-device.battle-active .move-pp small,body.mobile-device.battle-active .type-stripe{font-size:.44rem}body.mobile-device.battle-active .switch-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;max-height:94px}body.mobile-device.battle-active .switch-button{grid-template-columns:30px minmax(0,1fr);gap:4px;min-width:0;min-height:40px;padding:3px 5px}body.mobile-device.battle-active .switch-button img{width:29px;height:29px}body.mobile-device.battle-active .switch-button strong{text-overflow:ellipsis;white-space:nowrap;font-size:.57rem;overflow:hidden}body.mobile-device.battle-active .switch-button small{font-size:.46rem}body.mobile-device.battle-active .move-detail{border-radius:8px;max-height:34px;margin-top:3px;padding:4px 6px;overflow:hidden}body.mobile-device.battle-active .move-detail strong{text-overflow:ellipsis;white-space:nowrap;font-size:.62rem;overflow:hidden}body.mobile-device.battle-active .move-detail span{text-overflow:ellipsis;white-space:nowrap;margin-top:1px;font-size:.46rem;overflow:hidden}body.mobile-device.battle-active .command-actions{gap:4px;margin-top:4px}body.mobile-device.battle-active .command-actions button{min-width:0;min-height:29px;padding:4px 7px;font-size:.59rem}body.mobile-device.battle-active .mega-toggle{min-width:50px!important}body.mobile-device.battle-active .waiting-banner{text-overflow:ellipsis;white-space:nowrap;max-width:calc(100vw - 28px);padding:6px 9px;font-size:.58rem;overflow:hidden}body.mobile-device.battle-active .log-panel:not(.hidden){top:calc(env(safe-area-inset-top,0px) + 48px);bottom:auto;right:auto;left:calc(env(safe-area-inset-left,0px) + 5px);z-index:44;background:#05070cf5;width:min(280px,36vw);max-height:min(230px,100dvh - 56px);padding:6px;position:fixed;overflow:hidden}body.mobile-device.battle-active .log-panel:not(.hidden) .log-title{padding-bottom:4px;font-size:.58rem}body.mobile-device.battle-active .log-panel:not(.hidden) #battle-log{max-height:min(184px,100dvh - 96px);margin-top:4px;padding-left:15px;font-size:.52rem;line-height:1.28;overflow:auto}body.mobile-device.battle-active .log-panel:not(.hidden) #battle-log li+li{margin-top:2px}body.mobile-device.battle-active .battle-inspector:not(.hidden){width:min(250px,42vw);max-height:calc(100dvh - 54px);padding:7px;overflow:auto;transform:none!important}body.mobile-device.battle-active .end-panel{width:min(360px,100vw - 18px);max-height:calc(100dvh - 18px);padding:16px;overflow:auto}body.mobile-device .team-preview-card{max-height:calc(100dvh - 12px);overflow:auto}@media (orientation:landscape){body.mobile-device.battle-active .battle-topbar{width:min(225px,31vw);left:50%;right:auto;transform:translate(-50%)}body.mobile-device.battle-active .status-pill{display:none}body.mobile-device.battle-active .opponent-hud{top:calc(env(safe-area-inset-top,0px) + 43px);right:calc(env(safe-area-inset-right,0px) + 5px);width:min(260px,29vw)}body.mobile-device.battle-active .player-hud{bottom:calc(env(safe-area-inset-bottom,0px) + 5px);left:calc(env(safe-area-inset-left,0px) + 5px);width:min(270px,30vw)}body.mobile-device.battle-active .command-panel{right:calc(env(safe-area-inset-right,0px) + 5px);bottom:calc(env(safe-area-inset-bottom,0px) + 5px);width:min(390px,42vw);max-height:calc(100dvh - 50px);left:auto}body.mobile-device.battle-active .battle-field-status{top:calc(env(safe-area-inset-top,0px) + 43px);max-width:29vw}body.mobile-device.battle-active .log-panel:not(.hidden){top:calc(env(safe-area-inset-top,0px) + 43px);width:min(270px,34vw);max-height:min(220px,100dvh - 49px);bottom:auto;right:auto}body.mobile-device.battle-active #battle-ui.spectator-mode .player-hud{width:min(285px,32vw)}}@media (orientation:landscape) and (height<=440px){body.mobile-device.battle-active .fighter-hud{padding-block:4px}body.mobile-device.battle-active .fighter-head small,body.mobile-device.battle-active .move-copy small,body.mobile-device.battle-active .type-stripe,body.mobile-device.battle-active .move-detail{display:none}body.mobile-device.battle-active .team-chip{height:21px}body.mobile-device.battle-active .move-button{min-height:35px}body.mobile-device.battle-active .command-actions button{min-height:27px}}body.mobile-device .battle-inspector{border-radius:10px;width:min(250px,42vw);max-height:calc(100dvh - 54px);padding:7px}body.mobile-device .battle-inspector-header{gap:6px;padding-bottom:5px}body.mobile-device .battle-inspector-header h3{margin-top:1px;font-size:.72rem}body.mobile-device .battle-inspector-kicker{letter-spacing:.08em;font-size:.43rem}body.mobile-device .battle-inspector-types{gap:3px}body.mobile-device .battle-inspector-types .type-logo{width:18px;height:18px}body.mobile-device .battle-inspector-level{gap:6px;margin:5px 0;font-size:.5rem}body.mobile-device .battle-inspector-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}body.mobile-device .battle-inspector-stat{border-radius:7px;padding:4px}body.mobile-device .battle-inspector-stat>span,body.mobile-device .battle-inspector-stat>small{font-size:.42rem}body.mobile-device .battle-inspector-stat>strong{margin-top:1px;font-size:.68rem}body.mobile-device .battle-inspector-details{gap:3px;margin-top:5px}body.mobile-device .battle-inspector-details>div{grid-template-columns:43px minmax(0,1fr);gap:4px}body.mobile-device .battle-inspector-details dt,body.mobile-device .battle-inspector-details dd{font-size:.48rem}body.mobile-device .battle-inspector-moves{margin-top:6px}body.mobile-device .battle-inspector-moves h4{margin-bottom:4px;font-size:.46rem}body.mobile-device .battle-inspector-moves ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}body.mobile-device .battle-inspector-moves li{border-radius:7px;grid-template-columns:17px minmax(0,1fr);column-gap:4px;padding:4px}body.mobile-device .battle-inspector-move-type .type-logo{width:17px;height:17px}body.mobile-device .battle-inspector-moves strong{font-size:.48rem}body.mobile-device .battle-inspector-moves small{font-size:.4rem}body.mobile-device .battle-inspector-speed{border-radius:8px;gap:2px;margin-top:6px;padding:7px}body.mobile-device .battle-inspector-speed>span,body.mobile-device .battle-inspector-speed>small,body.mobile-device .battle-inspector-note{font-size:.45rem}body.mobile-device .battle-inspector-speed>strong{font-size:.92rem}body.mobile-device .battle-inspector-speed--adjusted{margin-top:4px}body.mobile-device .battle-inspector-speed--adjusted>strong{font-size:.82rem}body.mobile-device .battle-inspector-note{margin:5px 1px 0;line-height:1.25}body.mobile-device .team-preview-overlay{padding:max(4px, env(safe-area-inset-top,0px)) max(4px, env(safe-area-inset-right,0px)) max(4px, env(safe-area-inset-bottom,0px)) max(4px, env(safe-area-inset-left,0px))}body.mobile-device .team-preview-card{border-radius:12px;width:100%;max-width:none;min-height:0;max-height:calc(100dvh - 8px);padding:7px 9px;overflow:auto}body.mobile-device .team-preview-header{align-items:center;gap:7px;padding-bottom:5px}body.mobile-device .team-preview-kicker,body.mobile-device .team-preview-side-heading span{letter-spacing:.1em;font-size:.42rem}body.mobile-device .team-preview-header h2{margin:2px 0 0;font-size:.78rem;line-height:1.1}body.mobile-device .team-preview-header p{display:none}body.mobile-device .team-preview-title-row{gap:4px}body.mobile-device .team-preview-format-badge{min-height:18px;padding:2px 5px;font-size:.43rem}body.mobile-device .team-preview-header-actions{gap:4px}body.mobile-device .team-preview-clock{border-radius:8px;min-width:48px;padding:3px 5px}body.mobile-device .team-preview-clock span,body.mobile-device .team-preview-clock small{letter-spacing:.05em;font-size:.38rem}body.mobile-device .team-preview-clock strong{font-size:.9rem}body.mobile-device .team-preview-leave{border-radius:8px;width:27px;height:27px;font-size:1rem}body.mobile-device .team-preview-side{padding:4px 0}body.mobile-device .team-preview-side-heading{gap:5px;margin-bottom:3px}body.mobile-device .team-preview-side-heading strong{font-size:.56rem}body.mobile-device .team-preview-lineup{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}body.mobile-device .team-preview-pokemon{border-radius:8px;min-height:59px;padding:3px 2px 4px}body.mobile-device button.team-preview-pokemon:hover:not(:disabled),body.mobile-device button.team-preview-pokemon:focus-visible:not(:disabled){transform:none}body.mobile-device .team-preview-position{border-radius:5px;width:15px;height:15px;font-size:.44rem;top:3px;left:3px}body.mobile-device .team-preview-lead,body.mobile-device .team-preview-pick-order,body.mobile-device .team-preview-ban-mark{letter-spacing:.03em;font-size:.38rem;top:4px;right:3px}body.mobile-device .team-preview-sprite{height:36px;margin-top:1px}body.mobile-device .team-preview-sprite img{filter:drop-shadow(0 3px 4px #0000005c);width:34px;height:34px}body.mobile-device .team-preview-pokemon strong{font-size:.46rem}body.mobile-device .team-preview-versus{gap:5px}body.mobile-device .team-preview-versus span{border-radius:6px;width:28px;height:16px;font-size:.44rem}body.mobile-device .team-preview-footer{flex-direction:row;align-items:center;gap:7px;padding-top:5px}body.mobile-device .team-preview-footer strong{font-size:.52rem}body.mobile-device .team-preview-footer small{display:none}body.mobile-device .team-preview-actions{gap:4px;display:flex}body.mobile-device .team-preview-actions button{border-radius:7px;min-height:27px;padding:0 9px;font-size:.54rem}body.mobile-device .set-editor{border-radius:12px;width:calc(100vw - 12px);max-width:calc(100vw - 12px);max-height:calc(100dvh - 10px);overflow-x:hidden}body.mobile-device .set-editor-card,body.mobile-device .set-editor-layout,body.mobile-device .set-editor-section,body.mobile-device .move-select-grid,body.mobile-device .set-meta-grid,body.mobile-device .stat-editor{min-width:0;max-width:100%}body.mobile-device .set-editor-card{width:100%;padding:8px}body.mobile-device .set-editor-header{gap:7px;padding-bottom:6px}body.mobile-device .set-editor-identity{gap:7px;min-width:0}body.mobile-device .set-editor-identity img{width:42px;height:42px}body.mobile-device .set-editor-header h2{text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;overflow:hidden}body.mobile-device .set-editor-header small{font-size:.52rem}body.mobile-device .set-editor-layout{grid-template-columns:1fr;gap:7px;margin-top:7px}body.mobile-device .set-editor-section{border-radius:9px;padding:7px;overflow:hidden}body.mobile-device .set-editor-section h3{margin-bottom:6px;font-size:.7rem}body.mobile-device .set-editor label,body.mobile-device .set-editor select,body.mobile-device .set-editor input{min-width:0;max-width:100%}body.mobile-device .stat-editor{border-radius:9px;gap:4px;margin-top:6px;padding:5px;overflow-x:hidden}body.mobile-device .stat-editor-head,body.mobile-device .stat-editor-row{grid-template-columns:50px minmax(58px,1fr) 48px 30px 46px;gap:3px}body.mobile-device .stat-editor-head{padding-inline:3px;font-size:.45rem}body.mobile-device .stat-editor-row{border-radius:7px;min-height:37px;padding:3px}body.mobile-device .stat-editor-name,body.mobile-device .stat-base-cell strong,body.mobile-device .stat-editor-row input[type=number],body.mobile-device .stat-iv{font-size:.56rem}body.mobile-device .stat-base-cell{grid-template-columns:21px minmax(24px,1fr);gap:3px}body.mobile-device .stat-editor-row input[type=number]{height:28px;padding-inline:3px}body.mobile-device .stat-final{font-size:.65rem}body.mobile-device .stat-nature-marker{width:6px;font-size:.45rem}body.mobile-device .set-editor-actions{gap:5px;margin-top:7px}body.mobile-device .set-editor-actions button{min-width:0;min-height:30px;padding:5px 9px;font-size:.62rem}body.mobile-device .team-preview-overlay[data-format="3v3"] .team-preview-lineup{grid-template-columns:repeat(3,minmax(0,1fr))}body.mobile-device.battle-active .battle-topbar{top:calc(env(safe-area-inset-top,0px) + 5px);width:auto;max-width:calc(100vw - 96px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));min-width:0;min-height:29px;box-shadow:none;-webkit-backdrop-filter:none;background:0 0;border:0;border-radius:0;gap:4px;padding:0;display:flex;left:50%;right:auto;transform:translate(-50%)}body.mobile-device.battle-active .status-pill{color:#c8f6ae;white-space:nowrap;background:#050a08d1;border:1px solid #9ae66e3d;border-radius:999px;align-items:center;gap:4px;min-height:27px;padding:3px 7px;font-size:.45rem;line-height:1;display:inline-flex!important}body.mobile-device.battle-active .status-pill:before{content:"";background:#9ae66e;border-radius:50%;flex:0 0 5px;width:5px;height:5px;box-shadow:0 0 0 2px #9ae66e1f}body.mobile-device.battle-active .status-pill[data-connection=offline]{color:#ffb6c0;background:#120508db;border-color:#ff657747}body.mobile-device.battle-active .status-pill[data-connection=offline]:before{background:#ff6577;box-shadow:0 0 0 2px #ff65771f}body.mobile-device.battle-active .turn-card{background:#05070cd6;border:1px solid #ffffff21;border-radius:999px;place-items:center;min-width:0;min-height:27px;padding:3px 9px;display:grid;overflow:hidden;box-shadow:0 5px 14px #0000003d}body.mobile-device.battle-active .turn-card small{display:none}body.mobile-device.battle-active .turn-card span{max-width:min(180px,34vw);font-size:.54rem;line-height:1}body.mobile-device.battle-active .battle-topbar .icon-button{background:#05070cd6;border-radius:8px;width:27px;min-width:27px;height:27px;min-height:27px;font-size:.72rem;box-shadow:0 5px 14px #0000003d}body.mobile-device.battle-active.battle-ended .battle-topbar,body.mobile-device.battle-active.battle-ended .battle-exit,body.mobile-device.battle-active.battle-ended .fighter-hud,body.mobile-device.battle-active.battle-ended .command-panel,body.mobile-device.battle-active.battle-ended .waiting-banner,body.mobile-device.battle-active.battle-ended .battle-field-status,body.mobile-device.battle-active.battle-ended .hazard-strip,body.mobile-device.battle-active.battle-ended .log-panel,body.mobile-device.battle-active.battle-ended .battle-inspector{display:none!important}body.mobile-device.battle-active.battle-ended #battle-ui:before{content:"";z-index:18;pointer-events:none;background:#03040894;position:fixed;inset:0}body.mobile-device.battle-active .end-panel{z-index:20;width:min(332px, calc(100vw - 24px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)));max-height:calc(100dvh - 18px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));-webkit-backdrop-filter:blur(12px);background:#07080df5;border-radius:15px;padding:14px;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 18px 56px #00000094}body.mobile-device.battle-active .end-panel h2{font-size:1.05rem;line-height:1.1}body.mobile-device.battle-active .end-panel>p:not(.end-countdown){margin:7px 0 0;font-size:.66rem;line-height:1.4}body.mobile-device.battle-active .end-countdown{margin:7px 0 10px;font-size:.56rem}body.mobile-device.battle-active .end-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}body.mobile-device.battle-active .end-actions button{min-width:0;min-height:32px;padding:5px 8px;font-size:.61rem}@media (orientation:portrait) and (width<=420px){body.mobile-device.battle-active .end-actions{grid-template-columns:1fr}}@media (height<=390px){body.mobile-device.battle-active .battle-topbar{top:calc(env(safe-area-inset-top,0px) + 3px)}body.mobile-device.battle-active .status-pill{padding-inline:6px;font-size:.42rem}body.mobile-device.battle-active .turn-card{padding-inline:7px}body.mobile-device.battle-active .turn-card span{max-width:30vw;font-size:.5rem}body.mobile-device.battle-active .end-panel{padding:10px}}body.lobby-scene:before,body.waiting-room:before{content:"";z-index:-2;pointer-events:none;background:linear-gradient(#040a1c38,#040a1c94),url(/resources/ui/lobby-waiting-background.png) 50%/cover no-repeat;position:fixed;inset:0}body.lobby-scene:after,body.waiting-room:after{content:"";z-index:-1;pointer-events:none;background:radial-gradient(circle at 50% 45%,#0000 25%,#02071459 100%);position:fixed;inset:0}body.waiting-room #battle-ui .battle-topbar,body.waiting-room #battle-ui .fighter-hud,body.waiting-room #battle-ui .command-panel,body.waiting-room #battle-ui .log-panel,body.waiting-room #battle-ui .field-status,body.waiting-room #battle-ui .battle-inspector,body.waiting-room #battle-ui .team-preview-panel{display:none!important}body.waiting-room #battle-ui{min-height:100dvh}body.waiting-room .waiting-banner{z-index:40!important;width:min(92vw,520px)!important;max-width:calc(100vw - 32px)!important;margin:0!important;position:fixed!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%)!important}body.waiting-room .room-code-copy-button{text-align:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#060c1ed1;border:1px solid #ffffff38;justify-content:center;width:100%;padding:22px 28px}body.waiting-room .room-code-copy-text{align-items:center}body.waiting-room .battle-exit{z-index:80!important;display:inline-flex!important}body.waiting-room .audio-settings-button{z-index:80!important;justify-content:center!important;place-items:center!important;display:grid!important}body.lobby-scene #game,body.waiting-room #game,#game.battle-canvas-unloaded{visibility:hidden!important;opacity:0!important;pointer-events:none!important}@media (width<=900px){body.lobby-scene:before,body.waiting-room:before{background-position:50%}body.waiting-room .waiting-banner{width:min(76vw,430px)!important}body.waiting-room .room-code-copy-button{padding:12px 16px}body.waiting-room .room-code-copy-text strong{font-size:clamp(1rem,3.5vw,1.35rem)}body.waiting-room .room-code-copy-text small{font-size:.76rem}}body.mobile-device.battle-active .screen-strip{gap:2px;min-height:0;margin-top:2px}body.mobile-device.battle-active .screen-chip{min-height:14px;padding:1px 3px 1px 2px}body.mobile-device.battle-active .screen-chip-symbol{flex-basis:11px;width:11px;height:11px;font-size:.4rem}body.mobile-device.battle-active .screen-chip strong,body.mobile-device.battle-active .screen-chip small{font-size:.4rem}body.mobile-device.battle-active.battle-ended .screen-strip{display:none!important}.audio-settings-button{top:calc(env(safe-area-inset-top,0px) + 14px);right:calc(env(safe-area-inset-right,0px) + 14px);z-index:70;color:#f7f7f8;background:#08080ce0;border:1px solid #ffffff26;border-radius:12px;place-items:center;width:42px;min-width:42px;height:42px;min-height:42px;padding:0;display:grid;position:fixed;box-shadow:0 10px 30px #0000005c}.audio-settings-button svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.audio-settings-dialog{color:#f7f7f8;background:0 0;border:0;width:min(390px,100vw - 24px);max-width:none;margin:auto;padding:0;overflow:visible}.audio-settings-dialog::backdrop{-webkit-backdrop-filter:blur(8px);background:#000000b8}.audio-settings-card{background:#0a0a0ef7;border:1px solid #ffffff26;border-radius:20px;gap:18px;padding:20px;display:grid;box-shadow:0 24px 80px #0000008c}.audio-settings-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.audio-settings-header small,.audio-settings-header h2{margin:0;display:block}.audio-settings-header small{color:#9b9ba5;letter-spacing:.14em;text-transform:uppercase;font-size:.66rem;font-weight:800}.audio-settings-header h2{margin-top:3px;font-size:1.35rem}.audio-setting-row{gap:10px;display:grid}.audio-setting-row>span{justify-content:space-between;align-items:center;gap:14px;display:flex}.audio-setting-row strong{font-size:.9rem}.audio-setting-row output{color:#ffd36a;text-align:right;min-width:50px;font-size:.76rem;font-weight:900}.audio-setting-row input[type=range]{accent-color:#ffb000;width:100%}.audio-settings-note{color:#9b9ba5;margin:-4px 0 0;font-size:.68rem}.mobile-orientation-guard{display:none}.mobile-orientation-card{text-align:center;background:#08080cfa;border:1px solid #ffffff24;border-radius:20px;width:min(430px,100vw - 28px);padding:22px;box-shadow:0 24px 80px #0000009e}.mobile-orientation-phone{color:#ffd36a;border:2px solid #ffd36aeb;border-radius:8px;place-items:center;width:58px;height:38px;margin:0 auto 13px;font-size:1.25rem;font-weight:950;display:grid}.mobile-orientation-card h2{margin:0;font-size:1.15rem}.mobile-orientation-card p{color:#b8b8c0;margin:8px 0 16px;font-size:.78rem;line-height:1.45}.mobile-orientation-card button{min-width:170px}body.mobile-low-power .audio-settings-dialog::backdrop{-webkit-backdrop-filter:none}body.mobile-low-power .audio-settings-card,body.mobile-low-power .audio-settings-button{box-shadow:0 8px 22px #00000057}@media (width<=700px){.audio-settings-button{top:calc(env(safe-area-inset-top,0px) + 7px);right:calc(env(safe-area-inset-right,0px) + 7px);border-radius:10px;width:36px;min-width:36px;height:36px;min-height:36px}.audio-settings-button svg{width:18px;height:18px}.audio-settings-card{gap:14px;padding:16px}}@media (orientation:portrait){body.mobile-device.battle-active .mobile-orientation-guard{z-index:120;padding:max(14px, env(safe-area-inset-top,0px)) max(14px, env(safe-area-inset-right,0px)) max(14px, env(safe-area-inset-bottom,0px)) max(14px, env(safe-area-inset-left,0px));pointer-events:auto;background:#050507;place-items:center;display:grid;position:fixed;inset:0}}.graphics-quality-setting{border:0;min-width:0;margin:0;padding:0}.graphics-quality-setting legend{color:#f7f7f8;margin-bottom:9px;font-size:.9rem;font-weight:800}.graphics-quality-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.graphics-quality-options label{cursor:pointer;min-width:0;position:relative}.graphics-quality-options input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.graphics-quality-options span{color:#c7c7ce;background:#ffffff09;border:1px solid #ffffff1f;border-radius:10px;place-items:center;min-height:38px;padding:6px 8px;font-size:.75rem;font-weight:850;transition:border-color .14s,background-color .14s,color .14s;display:grid}.graphics-quality-options input:checked+span{color:#171006;background:linear-gradient(135deg,#ffd45b,#ff9f0a);border-color:#ffbe30cc}.graphics-quality-options input:focus-visible+span{outline-offset:2px;outline:2px solid #ffd36acc}.graphics-quality-setting>small{color:#8f8f99;margin-top:7px;font-size:.64rem;line-height:1.35;display:block}@media (width<=700px),(height<=500px){.audio-settings-card{gap:12px;padding:14px}.audio-settings-dialog{width:min(360px,100vw - 16px);max-height:calc(100dvh - 12px);overflow-y:auto}.graphics-quality-options span{min-height:32px;padding:4px 6px;font-size:.68rem}}body.mobile-device .audio-settings-button{top:calc(env(safe-area-inset-top,0px) + 10px);right:calc(env(safe-area-inset-right,0px) + 10px);border-radius:8px;width:29px;min-width:29px;height:29px;min-height:29px;box-shadow:0 5px 14px #0000004d}body.mobile-device .audio-settings-button:before{content:"";position:absolute;inset:-6px}body.mobile-device .audio-settings-button svg{width:14px;height:14px;margin:auto;display:block}.status-pill[data-connection=online]{border:1px solid #5ce6846b;box-shadow:0 0 0 1px #37d76e14,0 0 14px #37d76e1f;color:#8ff0a4!important;background:#28b45a29!important}.status-pill[data-connection=offline]{border:1px solid #ff606061;color:#ff9b9b!important;background:#d22a2a29!important}.editor-select-search-dialog{color:#f6f7fb;background:#07080cfa;border:1px solid #ffd36a47;border-radius:16px;width:min(520px,100vw - 24px);max-width:520px;max-height:min(78dvh,620px);margin:auto;padding:0;overflow:hidden;box-shadow:0 24px 80px #000000b8}.editor-select-search-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000000b3}.editor-select-search-card{grid-template-rows:auto auto minmax(0,1fr);gap:10px;max-height:min(78dvh,620px);padding:14px;display:grid}.editor-select-search-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.editor-select-search-header h3{margin:0;font-size:.92rem}.editor-select-search-header button{border-radius:9px;width:34px;min-width:34px;height:34px;min-height:34px;padding:0;font-size:1.15rem;line-height:1}#editor-select-search-input{box-sizing:border-box;color:#f6f7fb;width:100%;min-width:0;font:inherit;background:#030509db;border:1px solid #ffffff24;border-radius:10px;outline:none;padding:10px 12px;font-size:.8rem}#editor-select-search-input:focus{border-color:#ffd36ab8;box-shadow:0 0 0 3px #ffd36a1f}.editor-select-search-results{overscroll-behavior:contain;align-content:start;gap:3px;min-height:90px;max-height:min(58dvh,470px);padding:2px;display:grid;overflow-y:auto}.editor-select-search-option{color:#f4f5f8;text-align:left;background:#ffffff09;border:1px solid #ffffff17;border-radius:9px;width:100%;min-height:38px;padding:8px 11px;font-size:.76rem}.editor-select-search-option:hover,.editor-select-search-option:focus-visible{background:#ffd36a17;border-color:#ffd36a80;outline:none}.editor-select-search-option[aria-selected=true]{color:#ffe39a;background:#ffd36a21;border-color:#ffd36aa3}.editor-select-search-option--move{border-color:color-mix(in srgb, var(--move-search-color,#64748b) 48%, #ffffff14);border-left:5px solid var(--move-search-color,#64748b);background:linear-gradient(90deg, color-mix(in srgb, var(--move-search-color,#64748b) 17%, transparent), transparent 54%), #ffffff09;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;min-height:54px;padding:6px 7px 6px 10px;display:grid;overflow:hidden}.editor-select-search-option--move:hover,.editor-select-search-option--move:focus-visible,.editor-select-search-option--move[aria-selected=true]{border-color:color-mix(in srgb, var(--move-search-color,#ffd36a) 78%, white 8%);border-left-color:var(--move-search-color,#ffd36a);background:linear-gradient(90deg, color-mix(in srgb, var(--move-search-color,#64748b) 27%, transparent), transparent 62%), #ffffff0e;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--move-search-color,#ffd36a) 22%, transparent)}.editor-move-search-copy{align-content:center;gap:3px;min-width:0;display:grid}.editor-move-search-heading{align-items:center;gap:7px;min-width:0;display:flex}.editor-move-search-copy strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.77rem;line-height:1.12;overflow:hidden}.editor-move-search-category{border:1px solid color-mix(in srgb, var(--move-search-color,#64748b) 42%, #ffffff1f);background:color-mix(in srgb, var(--move-search-color,#64748b) 18%, #0000005c);color:#f7f8fb;letter-spacing:.015em;white-space:nowrap;border-radius:999px;flex:none;padding:2px 5px;font-size:.49rem;font-weight:850}.editor-move-search-effect{color:#c5c9d3;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.56rem;font-weight:500;line-height:1.24;display:-webkit-box;overflow:hidden}.editor-move-search-stats{background:#0003;border-left:1px solid #ffffff14;border-radius:7px;grid-template-columns:repeat(3,42px);align-self:stretch;min-width:126px;display:grid;overflow:hidden}.editor-move-search-stats>span{text-align:center;border-right:1px solid #ffffff12;align-content:center;place-items:center;gap:1px;padding:3px 4px;display:grid}.editor-move-search-stats>span:last-child{border-right:0}.editor-move-search-stats b{color:#fff;font-size:.66rem;line-height:1}.editor-move-search-stats small{color:#999fac;letter-spacing:.02em;text-transform:uppercase;font-size:.43rem;font-weight:850}.editor-select-search-option--item{background:linear-gradient(90deg,#ffd36a17,#0000 42%),#ffffff09;border-left:3px solid #ffd36a8c;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:7px;min-height:46px;padding:5px 8px 5px 6px;display:grid}.editor-select-search-option--item:hover,.editor-select-search-option--item:focus-visible,.editor-select-search-option--item[aria-selected=true]{background:linear-gradient(90deg,#ffd36a29,#0000 52%),#ffffff0e;border-left-color:#ffd36a}.editor-item-search-icon{color:#ffe39a;background:radial-gradient(circle,#ffd36a24,#00000047);border:1px solid #ffd36a45;border-radius:8px;place-items:center;width:32px;height:32px;display:grid;position:relative;overflow:hidden}.editor-item-search-sprite{background-image:url(/resources/ui/itemicons-sheet.png);background-repeat:no-repeat;background-position:var(--item-icon-x,0) var(--item-icon-y,0);width:24px;height:24px;image-rendering:pixelated;background-size:384px 1152px}.editor-item-search-fallback{font-size:.72rem;font-weight:900}.editor-item-search-copy{gap:2px;min-width:0;display:grid}.editor-item-search-copy strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;line-height:1.1;overflow:hidden}.editor-item-search-copy small{color:#b9bdc8;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.54rem;line-height:1.22;display:-webkit-box;overflow:hidden}.editor-select-search-empty{color:#9da0aa;text-align:center;margin:18px 0;font-size:.76rem}.stat-iv-input{box-sizing:border-box;color:#f7f8fb;text-align:center;width:58px;min-width:0;font:inherit;background:#07090ec7;border:1px solid #ffffff24;border-radius:8px;padding:7px 6px;font-weight:800}.stat-iv-input:focus{border-color:#ffd36ac7;outline:none;box-shadow:0 0 0 3px #ffd36a1f}.log-panel{flex-direction:column;display:flex;overflow:hidden}.log-title{flex:none}.log-title>span:first-child{white-space:nowrap}.battle-spectators{margin-left:auto;font-size:.65rem;font-weight:750;position:relative}.battle-spectators summary{cursor:pointer;color:#d7d9df;white-space:nowrap;background:#ffffff0b;border:1px solid #ffffff1a;border-radius:999px;padding:5px 8px;list-style:none}.battle-spectators summary::-webkit-details-marker{display:none}.battle-spectators ul{z-index:30;background:#08090df7;border:1px solid #ffffff21;border-radius:10px;width:max-content;min-width:150px;max-width:230px;max-height:180px;margin:0;padding:7px;list-style:none;position:absolute;top:calc(100% + 7px);right:0;overflow-y:auto;box-shadow:0 12px 32px #0000006b}.battle-spectators li{text-overflow:ellipsis;white-space:nowrap;padding:5px 7px;overflow:hidden}#battle-log{flex:auto;min-height:72px}#battle-log .battle-chat-message{background:#ffffff09;border-left:2px solid #ffd36a7a;border-radius:5px;grid-template-columns:max-content minmax(0,1fr);align-items:baseline;gap:7px;margin-left:-13px;padding:5px 7px;list-style:none;display:grid}#battle-log .battle-chat-message strong{color:#ffd36a;font-size:.69rem}#battle-log .battle-chat-message span{overflow-wrap:anywhere;color:#f0f1f5;min-width:0}#battle-log .battle-chat-message--spectator{border-left-color:#73c8ff8c}#battle-log .battle-chat-message--spectator strong{color:#8ed7ff}.battle-chat-form{border-top:1px solid #ffffff1a;flex:none;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin-top:7px;padding-top:8px;display:grid}.battle-chat-form input{box-sizing:border-box;color:#fff;background:#040509c7;border:1px solid #ffffff24;border-radius:9px;outline:none;width:100%;min-width:0;padding:8px 10px}.battle-chat-form input:focus{border-color:#ffd36ab8;box-shadow:0 0 0 3px #ffd36a1a}.battle-chat-form button{border-radius:9px;min-width:74px;padding:8px 11px;font-size:.72rem}@media (width<=900px),(height<=600px){body.mobile-device .move-select-rich-shell{border-radius:8px;height:42px}body.mobile-device .move-select-rich-presentation{grid-template-columns:minmax(0,1fr) 87px;gap:4px;padding:3px 2px 3px 6px;inset:0 19px 0 0}body.mobile-device .move-select-rich-presentation .move-info-copy strong{font-size:.65rem}body.mobile-device .move-select-rich-presentation .move-info-category{font-size:.34rem}body.mobile-device .move-select-rich-presentation .move-info-stats{grid-template-columns:repeat(3,29px);min-width:87px}body.mobile-device .move-select-rich-presentation .move-info-stats b{font-size:.48rem}body.mobile-device .move-select-rich-presentation .move-info-stats small{font-size:.28rem}body.mobile-device .stat-iv-input{border-radius:6px;width:44px;padding:5px 3px;font-size:.67rem}body.mobile-device .log-panel{max-height:min(66dvh,360px)!important}body.mobile-device #battle-log{font-size:.65rem;max-height:min(42dvh,230px)!important}body.mobile-device .battle-chat-form{gap:5px;margin-top:5px;padding-top:6px}body.mobile-device .battle-chat-form input,body.mobile-device .battle-chat-form button{min-height:34px;padding:6px 8px;font-size:.66rem}body.mobile-device .battle-chat-form button{min-width:62px}body.mobile-device .battle-spectators summary{padding:4px 6px;font-size:.59rem}body.mobile-device .editor-select-search-dialog{border-radius:12px;width:min(470px,100vw - 14px);max-height:calc(100dvh - 14px)}body.mobile-device .editor-select-search-card{gap:7px;max-height:calc(100dvh - 14px);padding:9px}body.mobile-device #editor-select-search-input{min-height:36px;padding:7px 9px;font-size:.69rem}body.mobile-device .editor-select-search-results{gap:4px;max-height:calc(100dvh - 112px)}body.mobile-device .editor-select-search-option{min-height:34px;padding:6px 9px;font-size:.68rem}body.mobile-device .editor-select-search-option--move{border-left-width:4px;grid-template-columns:minmax(0,1fr) 91px;gap:5px;min-height:47px;padding:5px 5px 5px 8px}body.mobile-device .editor-move-search-copy{gap:2px}body.mobile-device .editor-move-search-heading{gap:5px}body.mobile-device .editor-move-search-copy strong{font-size:.62rem}body.mobile-device .editor-move-search-category{padding:1px 4px;font-size:.4rem}body.mobile-device .editor-move-search-effect{-webkit-line-clamp:2;font-size:.46rem;line-height:1.17}body.mobile-device .editor-move-search-stats{grid-template-columns:repeat(3,minmax(29px,1fr));min-width:91px}body.mobile-device .editor-move-search-stats>span{padding:2px}body.mobile-device .editor-move-search-stats b{font-size:.52rem}body.mobile-device .editor-move-search-stats small{font-size:.34rem}body.mobile-device .editor-select-search-option--item{grid-template-columns:30px minmax(0,1fr);gap:6px;min-height:40px;padding:4px 7px 4px 5px}body.mobile-device .editor-item-search-icon{border-radius:7px;width:28px;height:28px}body.mobile-device .editor-item-search-copy strong{font-size:.61rem}body.mobile-device .editor-item-search-copy small{-webkit-line-clamp:2;font-size:.44rem;line-height:1.16}body.mobile-device .set-editor .stat-editor-head,body.mobile-device .set-editor .stat-editor-row{grid-template-columns:43px minmax(50px,1fr) 43px 38px 44px!important;gap:4px!important}body.mobile-device .set-editor .stat-editor-head span:nth-child(4){display:block!important}}body.battle-active #game.battle-camera-enabled{touch-action:none;overscroll-behavior:contain;cursor:grab;-webkit-user-select:none;user-select:none}body.battle-active #game.battle-camera-enabled.battle-camera-dragging{cursor:grabbing}@media (pointer:coarse){body.battle-active #game.battle-camera-enabled,body.battle-active #game.battle-camera-enabled.battle-camera-dragging{cursor:default}}.rich-move-card{--move-search-color:#64748b}.move-select-rich-shell{--move-search-color:#64748b;border:1px solid color-mix(in srgb, var(--move-search-color) 52%, #ffffff1a);border-left:4px solid var(--move-search-color);background:linear-gradient(90deg, color-mix(in srgb, var(--move-search-color) 17%, transparent), transparent 58%), #ffffff09;border-radius:10px;width:100%;min-width:0;height:48px;transition:border-color .15s,box-shadow .15s,background .15s;display:block;position:relative;overflow:hidden}.move-select-rich-shell:hover,.move-select-rich-shell:focus-within{border-color:color-mix(in srgb, var(--move-search-color) 78%, white 8%);border-left-color:var(--move-search-color);background:linear-gradient(90deg, color-mix(in srgb, var(--move-search-color) 24%, transparent), transparent 64%), #ffffff0d;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--move-search-color) 20%, transparent)}.move-select-rich-shell>select.move-select{z-index:2;opacity:0;cursor:pointer;width:100%;height:100%;min-height:100%;margin:0;padding:0;position:absolute;inset:0}.move-select-rich-presentation{pointer-events:none;grid-template-columns:minmax(0,1fr) 108px;align-items:stretch;gap:6px;min-width:0;padding:4px 4px 4px 8px;display:grid;position:absolute;inset:0 22px 0 0}.move-select-rich-shell:after{content:"⌄";z-index:1;color:#f4f5f8;pointer-events:none;font-size:.8rem;font-weight:900;line-height:1;position:absolute;top:50%;right:7px;transform:translateY(-56%)}.move-select-rich-presentation .move-info-copy{justify-content:center;gap:2px}.move-select-rich-presentation .move-info-copy strong{font-size:.78rem}.move-select-rich-presentation .move-info-category{padding:1px 4px;font-size:.39rem}.move-select-rich-presentation .move-info-stats{grid-template-columns:repeat(3,36px);min-width:108px}.move-select-rich-presentation .move-info-stats>span{padding:2px}.move-select-rich-presentation .move-info-stats b{font-size:.54rem}.move-select-rich-presentation .move-info-stats small{font-size:.32rem}.move-select-rich-empty{color:#a7abb4;align-self:center;font-size:.7rem}.battle-inspector-moves ul{grid-template-columns:minmax(0,1fr)!important;gap:5px!important}.battle-inspector-moves .battle-inspector-move-card{border:1px solid color-mix(in srgb, var(--move-search-color,#64748b) 48%, #ffffff14);border-left:4px solid var(--move-search-color,#64748b);background:linear-gradient(90deg, color-mix(in srgb, var(--move-search-color,#64748b) 15%, transparent), transparent 58%), #ffffff08;grid-template-rows:none;grid-template-columns:minmax(0,1fr) 108px;align-items:stretch;gap:6px;min-height:43px;padding:5px 6px 5px 9px;display:grid}.battle-inspector-move-card--missing{color:#a9aeb8;min-height:0!important;display:block!important}.battle-inspector-move-card .move-info-copy{justify-content:center}.battle-inspector-move-card .move-info-copy strong{font-size:.75rem}.battle-inspector-move-card .move-info-category{font-size:.42rem}.battle-inspector-move-card .move-info-stats{grid-template-columns:repeat(3,36px);min-width:108px}.battle-inspector-move-card .move-info-stats b{font-size:.56rem}.battle-inspector-move-card .move-info-stats small{font-size:.34rem}.move-button.move-button--rich{border-color:color-mix(in srgb, var(--type-color,#64748b) 42%, #ffffff17);background:linear-gradient(90deg, color-mix(in srgb, var(--type-color,#64748b) 14%, transparent), transparent 58%), #ffffff0a;grid-template-columns:minmax(0,1fr) 126px;align-items:stretch;gap:7px;min-height:50px;padding:5px 6px 5px 10px}.move-button.move-button--rich:hover:not(:disabled),.move-button.move-button--rich:focus-visible{border-color:color-mix(in srgb, var(--type-color,#64748b) 72%, white 8%);background:linear-gradient(90deg, color-mix(in srgb, var(--type-color,#64748b) 22%, transparent), transparent 65%), #ffffff0e}.move-button.move-button--rich.selected{border-color:#ffb000;box-shadow:inset 0 0 0 1px #ffb00073,0 0 0 2px #ffb0001a}.move-button--rich .move-info-copy{justify-content:center;gap:2px}.move-button--rich .move-info-copy strong{font-size:.84rem}.move-button--rich .move-info-category{font-size:.43rem}.move-button--rich .move-info-stats{grid-template-columns:repeat(3,42px);min-width:126px}.move-button--rich:disabled .move-info-copy,.move-button--rich:disabled .move-info-stats{opacity:.58}.move-detail{display:none!important}@media (width<=900px),(height<=600px){body.mobile-device .move-button.move-button--rich{grid-template-columns:minmax(0,1fr) 91px;gap:5px;min-height:43px;padding:4px 5px 4px 8px}body.mobile-device .move-button--rich .move-info-copy strong{font-size:.69rem}body.mobile-device .move-button--rich .move-info-category{padding:1px 4px;font-size:.38rem}body.mobile-device .move-button--rich .move-info-stats{grid-template-columns:repeat(3,minmax(29px,1fr));min-width:91px}body.mobile-device .move-button--rich .move-info-stats>span{padding:2px}body.mobile-device .move-button--rich .move-info-stats b{font-size:.51rem}body.mobile-device .move-button--rich .move-info-stats small{font-size:.32rem}body.mobile-device .battle-inspector-moves .battle-inspector-move-card{grid-template-columns:minmax(0,1fr) 91px;min-height:40px;padding:4px 5px 4px 7px}body.mobile-device .battle-inspector-move-card .move-info-stats{grid-template-columns:repeat(3,minmax(29px,1fr));min-width:91px}body.mobile-device .battle-inspector-move-card .move-info-copy strong{font-size:.64rem}}.move-select-rich-presentation .move-info-copy,.move-button--rich .move-info-copy,.battle-inspector-move-card .move-info-copy{text-align:left;justify-content:stretch;justify-items:start;width:100%;min-width:0}.move-select-rich-presentation .move-info-heading,.move-button--rich .move-info-heading,.battle-inspector-move-card .move-info-heading{text-align:left;justify-content:flex-start;width:100%;min-width:0}.move-select-rich-presentation .move-info-copy strong,.move-button--rich .move-info-copy strong,.battle-inspector-move-card .move-info-copy strong{text-align:left;justify-self:start}.move-button.move-button--rich{text-align:left}#battle-log{counter-reset:none!important;margin-left:0!important;padding-left:0!important;list-style:none!important}#battle-log>li{list-style:none!important}#battle-log>li::marker{content:""}#battle-log .battle-log-entry{color:#d8dae1;background:#ffffff05;border-left:2px solid #0000;border-radius:5px;margin:0;padding:4px 7px;line-height:1.34}#battle-log .battle-log-entry+.battle-log-entry,#battle-log .battle-chat-message+.battle-log-entry,#battle-log .battle-log-entry+.battle-chat-message{margin-top:4px}#battle-log .battle-log-entry--turn{color:#ffd36a;letter-spacing:.04em;text-align:center;text-transform:uppercase;background:0 0;border:0;border-top:1px solid #ffd36a52;border-radius:0;margin-top:12px;padding:8px 6px 5px;font-weight:900}#battle-log .battle-log-entry--turn:first-child{border-top:0;margin-top:0;padding-top:2px}#battle-log .battle-log-entry--move{color:#e9f3ff;background:#488feb12;border-left-color:#87beffb8}#battle-log .battle-log-entry--switch,#battle-log .battle-log-entry--form{color:#eee5ff;background:#9160e612;border-left-color:#bb95ffbf}#battle-log .battle-log-entry--damage,#battle-log .battle-log-entry--ko{color:#ffd4d4;background:#e2434313;border-left-color:#ff6767c7}#battle-log .battle-log-entry--ko{font-weight:850}#battle-log .battle-log-entry--heal,#battle-log .battle-log-entry--boost{color:#cffff0;background:#32b76a12;border-left-color:#59dc8bc7}#battle-log .battle-log-entry--debuff,#battle-log .battle-log-entry--status,#battle-log .battle-log-entry--warning{color:#ffe1b6;background:#e68b2812;border-left-color:#ffae4fcc}#battle-log .battle-log-entry--weather,#battle-log .battle-log-entry--terrain,#battle-log .battle-log-entry--field{color:#cceff6;background:#38a9c412;border-left-color:#59cae5c7}#battle-log .battle-log-entry--strong{color:#ffe9a7;background:#ffd36a14;border-left-color:#ffd36ae0;font-weight:800}#battle-log .battle-log-entry--effect{color:#e7dbff;border-left-color:#c6a6ffb3}#battle-log .battle-log-entry--end{color:#fff0bd;background:#ffd36a17;border-left-color:#ffd36ae6;margin-top:8px;font-weight:900}#battle-log .battle-chat-message{margin-top:5px;margin-left:0}@media (width<=900px),(height<=600px){body.mobile-device #battle-log .battle-log-entry{padding:3px 5px;line-height:1.28}body.mobile-device #battle-log .battle-log-entry--turn{margin-top:8px;padding-top:6px;padding-bottom:3px}}.play-ai-room{color:#f8fafc;text-align:left;cursor:pointer;background:linear-gradient(135deg,#fabe2621,#121318f0);border:1px solid #fabe2670;border-radius:12px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:.68rem;width:100%;min-height:46px;margin-top:.55rem;padding:.62rem .78rem;display:grid}.play-ai-room:hover:not(:disabled),.play-ai-room:focus-visible{background:linear-gradient(135deg,#fabe2633,#16171df7);border-color:#fabe26db}.play-ai-room:disabled{opacity:.44;cursor:not-allowed}.play-ai-room-icon{color:#f5c542;background:#fabe261f;border-radius:9px;place-items:center;width:32px;height:32px;display:grid}.play-ai-room-icon svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.play-ai-room-copy{min-width:0}.play-ai-room-copy strong,.play-ai-room-copy small{display:block}.play-ai-room-copy strong{font-size:.86rem;line-height:1.1}.play-ai-room-copy small{color:#aeb5c1;margin-top:.14rem;font-size:.68rem;line-height:1.2}.ai-opponent-dialog{color:#f8fafc;background:0 0;border:0;width:min(94vw,720px);max-width:720px;max-height:min(88dvh,760px);padding:0;overflow:visible}.ai-opponent-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000000c7}.ai-opponent-card{background:linear-gradient(160deg,#111218fe,#07080cfe);border:1px solid #94a3b83d;border-radius:18px;flex-direction:column;max-height:min(88dvh,760px);display:flex;overflow:hidden;box-shadow:0 24px 76px #00000094}.ai-opponent-header{border-bottom:1px solid #94a3b824;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem 1.05rem .82rem;display:flex}.ai-opponent-header h2,.ai-opponent-header p{margin:0}.ai-opponent-header h2{margin-top:.12rem;font-size:1.18rem}.ai-opponent-header p{color:#aeb5c1;max-width:560px;margin-top:.34rem;font-size:.78rem;line-height:1.35}.ai-opponent-kicker{color:#f5c542;letter-spacing:.18em;font-size:.64rem;font-weight:900}.ai-opponent-close{border-radius:9px;flex:none;place-items:center;width:34px;min-width:34px;height:34px;min-height:34px;padding:0;font-size:1.25rem;line-height:1;display:grid}.ai-opponent-toolbar{justify-content:space-between;align-items:center;gap:.75rem;padding:.72rem 1.05rem .3rem;display:flex}.ai-opponent-toolbar strong{font-size:.78rem}.ai-opponent-toolbar button{min-height:30px;padding:.32rem .62rem;font-size:.68rem}.ai-opponent-status{color:#aeb5c1;min-height:1.1em;margin:0;padding:.1rem 1.05rem .42rem;font-size:.7rem}.ai-opponent-status.error{color:#ff9b9b}.ai-opponent-list{overscroll-behavior:contain;gap:.5rem;min-height:0;max-height:285px;padding:0 1.05rem .75rem;display:grid;overflow-y:auto}.ai-opponent-empty{color:#aeb5c1;border:1px dashed #94a3b838;border-radius:10px;margin:0;padding:.75rem;font-size:.74rem;line-height:1.35}.ai-opponent-choice{color:#f8fafc;text-align:left;background:#ffffff06;border:1px solid #94a3b833;border-radius:11px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.7rem;width:100%;min-height:58px;padding:.58rem .68rem;display:grid}.ai-opponent-choice:hover,.ai-opponent-choice:focus-visible{background:#fabe2614;border-color:#fabe26b8}.ai-opponent-choice-main,.ai-opponent-choice-main strong,.ai-opponent-choice-main small{min-width:0;display:block}.ai-opponent-choice-main strong{font-size:.86rem}.ai-opponent-choice-main small{color:#aeb5c1;margin-top:.16rem;font-size:.68rem;line-height:1.25}.ai-opponent-choice-meta{flex-wrap:wrap;justify-content:flex-end;gap:.28rem;display:flex}.ai-opponent-choice-meta span{color:#e8d084;white-space:nowrap;background:#fabe261a;border-radius:999px;padding:.22rem .38rem;font-size:.58rem;font-weight:800}.ai-custom-opponent{background:#00000029;border-top:1px solid #94a3b824;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.55rem;padding:.82rem 1.05rem 1rem;display:grid}.ai-custom-opponent-copy{grid-column:1/-1}.ai-custom-opponent-copy strong,.ai-custom-opponent-copy small,.ai-custom-paste-field span{display:block}.ai-custom-opponent-copy strong{font-size:.8rem}.ai-custom-opponent-copy small{color:#9fa6b2;margin-top:.12rem;font-size:.65rem}.ai-custom-paste-field{min-width:0}.ai-custom-paste-field span{color:#aeb5c1;margin:0 0 .24rem .08rem;font-size:.62rem;font-weight:700}.ai-custom-paste-field input,.ai-custom-start{box-sizing:border-box;width:100%;height:38px;min-height:38px}.ai-custom-paste-field input{color:#f8fafc;min-width:0;font:inherit;background:#00000052;border:1px solid #94a3b83d;border-radius:9px;padding:0 .66rem;font-size:.73rem}.ai-custom-start{color:#fff3bf;white-space:nowrap;background:#fabe261f;border-color:#fabe2685;padding:0 .8rem;font-weight:800}@media (width<=900px),(pointer:coarse){body.lobby-scene #lobby .play-ai-room{border-radius:9px;grid-template-columns:28px minmax(0,1fr) auto;gap:6px;min-height:40px;margin-top:6px;padding:5px 8px}body.lobby-scene #lobby .play-ai-room-icon{border-radius:7px;width:27px;height:27px}body.lobby-scene #lobby .play-ai-room-icon svg{width:19px;height:19px}body.lobby-scene #lobby .play-ai-room-copy strong{font-size:.72rem}body.lobby-scene #lobby .play-ai-room-copy small{font-size:.58rem}.ai-opponent-dialog{width:min(96vw,700px);max-height:92dvh}.ai-opponent-card{border-radius:13px;max-height:92dvh}.ai-opponent-header{padding:.72rem .78rem .58rem}.ai-opponent-header h2{font-size:.98rem}.ai-opponent-header p{margin-top:.22rem;font-size:.66rem}.ai-opponent-toolbar,.ai-opponent-status,.ai-opponent-list,.ai-custom-opponent{padding-left:.78rem;padding-right:.78rem}.ai-opponent-list{gap:.35rem;max-height:38dvh}.ai-opponent-choice{min-height:48px;padding:.42rem .52rem}.ai-opponent-choice-main strong{font-size:.74rem}.ai-opponent-choice-main small{font-size:.6rem}.ai-custom-opponent{grid-template-columns:minmax(0,1fr) 112px;padding-top:.62rem;padding-bottom:.72rem}.ai-custom-start{grid-column:1/-1}}@media (width<=520px){.ai-opponent-choice{grid-template-columns:minmax(0,1fr)}.ai-opponent-choice-meta{justify-content:flex-start}.ai-custom-opponent{grid-template-columns:minmax(0,1fr)}.ai-custom-opponent-copy,.ai-custom-start{grid-column:1}}body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions{grid-area:2/2!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:.48rem!important;width:100%!important;min-width:0!important;height:100%!important;min-height:0!important;display:grid!important}body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#join-random-room,body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#play-ai-room{box-sizing:border-box!important;grid-area:auto!important;width:100%!important;min-width:0!important;height:100%!important;min-height:0!important;margin:0!important}body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#play-ai-room{border-radius:9px!important;grid-template-columns:25px minmax(0,1fr)!important;gap:6px!important;padding:5px 7px!important}body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#play-ai-room .play-ai-room-icon{border-radius:7px!important;width:24px!important;height:24px!important}body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#play-ai-room .play-ai-room-icon svg{width:17px!important;height:17px!important}body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#play-ai-room .play-ai-room-copy strong{white-space:normal!important;font-size:.68rem!important;line-height:1.05!important}body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#play-ai-room .play-ai-room-copy small,body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#play-ai-room>.join-random-room-arrow,body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#join-random-room .join-random-room-copy small,body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#join-random-room>.join-random-room-arrow{display:none!important}body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#join-random-room{gap:6px!important;padding-inline:7px!important}@media (width<=900px),(pointer:coarse){body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions{gap:5px!important}body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#play-ai-room{grid-template-columns:21px minmax(0,1fr)!important;gap:4px!important;padding:3px 5px!important}body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#play-ai-room .play-ai-room-icon{width:20px!important;height:20px!important}body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#play-ai-room .play-ai-room-icon svg{width:15px!important;height:15px!important}body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#play-ai-room .play-ai-room-copy strong,body.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#join-random-room .join-random-room-copy strong{font-size:.57rem!important;line-height:1.02!important}body.mobile-device.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions{grid-area:2/1!important;height:38px!important;min-height:38px!important;max-height:38px!important}body.mobile-device.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#join-random-room,body.mobile-device.lobby-scene #lobby .room-section .room-join-group>.room-discovery-actions>#play-ai-room{height:38px!important;min-height:38px!important;max-height:38px!important}}
