/* Main-menu presentation only. Existing combat and preferences remain authoritative. */
body:not(.in-battle){--shell-ink:#ecf7ff;--shell-muted:#9bb9d0;--shell-cyan:#32d5ff;--shell-line:#35658a;--shell-panel:#081e32e8;font-family:'Segoe UI',Arial,sans-serif;background:#081426;color:var(--shell-ink)}
body:not(.in-battle)::before{background:linear-gradient(90deg,#07132685,#07192ab5),url('assets/maps/aquatic-central-arena.png') center/cover;filter:blur(4px);opacity:1}
.game-sidebar{position:fixed;inset:0 auto 0 0;width:218px;padding:25px 15px;display:flex;flex-direction:column;background:linear-gradient(110deg,#071728ed,#10283bdc);border-right:1px solid #67b6ec40;z-index:30;box-shadow:7px 0 30px #0003;overflow-y:auto}.in-battle .game-sidebar{display:none}
.arena-logo{text-decoration:none;display:flex;align-items:center;flex-direction:column;transform:rotate(-4deg);margin:0 0 28px;line-height:1;text-align:center;filter:drop-shadow(0 5px 0 #03182e)}.arena-logo strong{font:1000 32px/1 'Arial Black','Segoe UI',sans-serif;letter-spacing:-2px;color:#ffda38;-webkit-text-stroke:1.8px #1667ab;text-shadow:1px 3px #075193}.arena-logo b{font:1000 16px/1.25 'Arial Black',sans-serif;letter-spacing:2px;color:#e4f6ff;text-shadow:1px 2px #0c61a5}.arena-logo>span{font:italic 1000 33px/1 'Arial Black',sans-serif;letter-spacing:2px;color:#e6f4ff;text-shadow:2px 3px #205f9a}
.game-sidebar nav{display:flex;flex-direction:column;gap:5px}.game-sidebar nav>button,.game-sidebar nav>a{display:flex;align-items:center;gap:11px;padding:12px 10px;color:#b9d6ed;font:700 14px 'Segoe UI',sans-serif;text-decoration:none;text-align:left;border:1px solid transparent;border-radius:7px;background:transparent;cursor:pointer;transition:background .15s,border-color .15s}.game-sidebar nav i{font-style:normal;font:24px/1 Arial;width:26px;text-align:center;color:#a4c9ea}.game-sidebar nav>.active{background:linear-gradient(115deg,#02b4f4,#086ce2);color:white;border-color:#60e5ff;box-shadow:inset 0 1px #b1f5ff66,0 0 13px #038fff44}.game-sidebar nav>.active i{color:#fff}.game-sidebar nav>button:hover,.game-sidebar nav>a:hover{background-color:#164a6d;border-color:#3e83b5}.nav-divider{height:1px;margin:7px 9px;background:#5594bb33}.sidebar-note{margin-top:auto;padding:22px 10px 5px;color:#8fb6d0;font-size:11px;line-height:1.6}.sidebar-note b{font-size:10px;letter-spacing:1px;color:#b9e1ff}.sidebar-controls,.sidebar-credits{padding:8px 12px;color:#8cacc7;font-size:11px}.sidebar-controls summary,.sidebar-credits summary{cursor:pointer}.sidebar-controls p{line-height:1.9}.sidebar-credits .menu-note,.sidebar-credits footer{font:9px/1.6 'Segoe UI',sans-serif!important;display:block!important;border:0!important;padding:7px 0!important;margin:0!important}.sidebar-credits footer span{display:block}
body:not(.in-battle) main{max-width:1700px;margin:0 0 0 218px;padding:22px 24px 30px;width:calc(100% - 218px)}
body:not(.in-battle) .topbar{position:absolute;right:26px;top:24px;height:38px;min-height:0;padding:0;border:0;box-shadow:none;background:none;z-index:32}body:not(.in-battle) .topbar>.brand,body:not(.in-battle) .topbar .online-dot,body:not(.in-battle) .topbar #visual-indicator{display:none}body:not(.in-battle) .topbar .header-right{gap:5px}body:not(.in-battle) .topbar .network-label{font-size:8px;color:#8dabbd}body:not(.in-battle) .topbar .small-button{padding:7px;font:9px 'Segoe UI',sans-serif;background:#10283fe8;border:1px solid #376385;border-radius:4px}
#selection{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:14px;align-items:start}#selection .setup-heading{grid-column:1/-1;margin:0;padding:12px 12px 18px 0;border:0;border-radius:0;background:none;box-shadow:none;display:flex;align-items:center;gap:15px;min-height:76px;padding-right:220px}#selection .setup-heading h1{font:950 27px/1.15 'Segoe UI',sans-serif;letter-spacing:.5px;text-shadow:0 3px #061221;margin:0 0 5px}#selection .setup-heading p{font:12px/1.4 'Segoe UI',sans-serif;color:#c2d8eb;margin:0}.mode-symbol{width:54px;height:54px;display:grid;place-items:center;flex:none;border:3px solid #548ac1;border-radius:50%;background:radial-gradient(#133e63,#071626);font-size:31px;color:#d7f5ff;box-shadow:inset 0 0 0 4px #07192e}#selection .setup-steps{display:none}#selection .shell-online-launch{display:none}
#selection .setup-panel{background:linear-gradient(125deg,#0a2338ed,#071a2bed);border:1px solid #3d6b8d;border-radius:10px;box-shadow:inset 0 1px #b5e8ff12,0 5px 12px #0003;padding:13px 15px}#selection .panel-heading{gap:8px;margin:0 0 12px}#selection .panel-heading h2{font:850 14px/1.2 'Segoe UI',sans-serif;letter-spacing:.5px}#selection .panel-meta{font:8px 'Segoe UI',sans-serif}#selection .step-number{width:25px;height:25px;font-size:12px;flex:none;box-shadow:0 0 8px #05bcfc28}#selection .setup-workspace{display:contents}
#selection .picker-panel{grid-column:1;grid-row:2 / span 2;min-width:0}#selection .roster-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 135px;gap:8px;margin-bottom:8px}#selection .search-box{padding:8px 10px;height:35px}#selection .search-box input{font:12px 'Segoe UI',sans-serif;min-width:0;width:100%}#selection .roster-toolbar select{font:11px 'Segoe UI',sans-serif;padding:8px}#selection #roster-result{font:9px 'Segoe UI',sans-serif;margin:0;grid-column:1/-1}#selection .roster{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:482px;padding:2px 5px 2px 1px;overflow-y:auto}#selection .pokemon-card{padding:0;min-height:0;border-radius:7px;background:linear-gradient(150deg,#173149cc,#0c2033);overflow:hidden;transform:none}#selection .pokemon-card:hover{transform:translateY(-1px)}#selection .card-top{padding:7px 8px 0;font:9px 'Segoe UI',sans-serif}#selection .pick-order{width:18px;height:18px;display:grid;place-items:center;font-size:9px}#selection .sprite-stage{height:86px;background:radial-gradient(ellipse at center,var(--tint),transparent 70%)}#selection .sprite-stage canvas{width:104px!important;height:84px!important;object-fit:contain}#selection .sprite-stage:after{display:none}#selection .card-copy{padding:4px 9px 0}#selection .card-copy h3{font:800 13px 'Segoe UI',sans-serif;margin:0 0 3px}#selection .type{font:700 7px/1 'Segoe UI',sans-serif;padding:2px 3px;margin-right:2px;border-radius:3px}#selection .role{display:none}#selection .card-attributes{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px;margin:7px 0}#selection .card-attributes label{display:grid;grid-template-columns:auto 1fr auto;gap:3px;align-items:center;font:7px 'Segoe UI',sans-serif}#selection .card-attributes small{font-size:8px}#selection .card-attributes i{height:3px}#selection .pick-status{font:700 8px 'Segoe UI',sans-serif;padding:6px 0;margin:7px -9px 0}#selection .picker-help{font:9px 'Segoe UI',sans-serif;margin:8px 0 0;padding:7px 0 0}
#selection #arena-picker{grid-column:2;grid-row:2;min-width:0}#selection .config-foot{display:block;margin:0;padding:0;border:0}#selection .arena-image{aspect-ratio:1.65;border-radius:6px}#selection .arena-image img{object-fit:contain;background:#041525}#selection .arena-caption b{font:800 14px 'Segoe UI',sans-serif}#selection .arena-caption p{font:10px/1.4 'Segoe UI',sans-serif!important}#selection .arena-thumbnails{gap:4px}#selection .arena-choice img{height:28px}#selection .arena-choice span{font-size:7px}#selection #map-count{display:none}#selection #mode-description{font:9px/1.5 'Segoe UI',sans-serif;color:#8ab2cb;margin-top:8px}
#selection .battle-configuration{grid-column:2;grid-row:3;display:block;margin:0}#selection .settings-fields{display:grid;grid-template-columns:1fr;gap:10px}#selection .settings-fields>label{font:700 9px 'Segoe UI',sans-serif;text-transform:uppercase;letter-spacing:.5px}#selection .settings-fields select{width:100%;font:11px 'Segoe UI',sans-serif;padding:7px}#selection .settings-fields>label:has(#arena-map){display:none}.shell-native-select{display:none!important}.visual-options{display:flex;gap:4px;margin-top:5px}.visual-options button{flex:1;min-width:0;padding:8px 4px;font:700 10px 'Segoe UI',sans-serif;border:1px solid #365c7e;border-radius:5px;background:#122b42;color:#afc9df}.visual-options [aria-pressed=true]{border-color:#41daff;color:white;background:linear-gradient(#078bd0,#0765ae);box-shadow:0 0 7px #11b5ff33}.visual-options button:disabled{opacity:.4}.team-selector{margin-top:8px}.team-selector p{font-size:9px}
#selection #team-workbench{grid-column:1/-1;grid-row:4;position:static;display:grid;grid-template-columns:minmax(0,1fr) 210px;padding:12px 15px;gap:15px;margin:0;overflow:visible}#selection .team-block{border:0;padding:0;min-width:0}#selection .team-preview{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}#selection .team-slot{padding:6px;min-height:90px;display:flex;flex-direction:column;gap:3px;border-style:solid;background:#10273a90}#selection .team-slot:not(.filled){min-height:90px;justify-content:center;text-align:center;border-style:dashed;opacity:.55}#selection .team-slot:not(.filled)>small{display:none}#selection .team-edit{display:grid;grid-template-columns:18px minmax(0,1fr);gap:3px;align-items:center;min-width:0}#selection .team-edit canvas{grid-column:2;width:44px!important;height:38px!important;justify-self:center}#selection .team-info{grid-column:1/-1;min-width:0}#selection .team-info strong{display:block;font:800 10px 'Segoe UI',sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#selection .team-types .type{font-size:6px}#selection .team-info>small{display:none}#selection .team-actions{position:static;display:flex;gap:3px;margin-top:3px}#selection .team-actions button{padding:0;width:20px;height:18px;border:1px solid #326081;background:#102b44;border-radius:3px;color:#abd6ef}#selection .team-moves{font:700 7px 'Segoe UI',sans-serif;padding:5px 2px;border:1px solid #2a85b3;background:#0d3655;border-radius:3px;color:#c9f3ff}#selection .team-help{font:10px 'Segoe UI',sans-serif;margin:8px 0 0}#selection .start-area{border:0;padding:0;display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:0}#selection #selection-hint{font:10px/1.4 'Segoe UI',sans-serif;color:#a8c8df}#selection #match-summary{font:10px/1.5 'Segoe UI',sans-serif}#selection #start{min-height:48px;width:100%;padding:12px 8px;border-radius:7px;border:1px solid #ffe176;color:#31200b;background:linear-gradient(125deg,#ffe66b,#ffb817);font:950 13px 'Segoe UI',sans-serif;letter-spacing:.5px;box-shadow:inset 0 2px #fff5b5,0 3px #7e4c16,0 0 14px #f8a9192b}#selection #start:disabled{filter:grayscale(.8);opacity:.35;box-shadow:none}#selection .mobile-team-link{display:none}
#selection #strategy-panel{grid-column:1/-1;grid-row:5}#strategy-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.strategy-card{padding:4px 10px 8px;border-right:1px solid #3b668357;min-width:0}.strategy-heading{display:flex;align-items:center;gap:6px}.strategy-heading canvas{width:44px!important;height:35px!important;object-fit:contain;image-rendering:pixelated}.strategy-heading strong{font-size:12px}.strategy-heading small{font-size:7px;color:#a4c3d9;margin-left:auto}.strategy-moves{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:5px 0}.strategy-moves span{padding:6px 5px;background:#102c43;border-left:2px solid var(--element);font:10px 'Segoe UI',sans-serif;border-radius:3px;color:#d5e6f3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.strategy-card>button{font:700 9px 'Segoe UI',sans-serif;border:1px solid #307bad;background:#0a3259;color:#caedff;padding:5px 12px;border-radius:4px}.strategy-empty{font-size:12px;color:#91b5cc;grid-column:1/-1;padding:5px}.strategy-card.active .strategy-heading strong{color:#73eaff}
#selection .online-room-panel{grid-column:1/-1;grid-row:2}body[data-menu=online] #pokemon-picker{grid-row:3 / span 2}body[data-menu=online] #arena-picker{grid-row:3}body[data-menu=online] #match-settings{grid-row:4}body[data-menu=online] #team-workbench{grid-row:5}body[data-menu=online] #strategy-panel{grid-row:6}.online-room-panel .panel-heading>button{margin-left:auto}.room-privacy{font:8px 'Segoe UI',sans-serif;color:#90bbd7;border:1px solid #36648c;padding:4px 7px;border-radius:4px}.online-room-panel [data-status]{font:11px/1.5 'Segoe UI',sans-serif;color:#9ed7ec}.room-entry{display:flex;gap:9px;flex-wrap:wrap}.room-entry input{min-width:150px;flex:1;background:#061a2b;border:1px solid #3a6282;border-radius:5px;color:#edf8ff;padding:10px;font:12px 'Segoe UI',sans-serif}.online-room-panel button{font:800 10px 'Segoe UI',sans-serif;padding:10px 15px;border-radius:5px;border:1px solid #3c8bc3;background:linear-gradient(#0a80ba,#0b5486);color:#e8faff}.online-room-panel [data-create],.online-room-panel [data-ready]{background:linear-gradient(#ffe064,#ffbc28);color:#2b210d;border-color:#ffdf73}.online-room-panel button:disabled{filter:grayscale(1);opacity:.4}.room-code-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid #365a784d;padding-top:10px}.room-code-row>span{font:700 9px 'Segoe UI',sans-serif;color:#96bfd9}.room-code-row strong{font:900 25px 'Segoe UI',sans-serif;letter-spacing:5px;color:#ecf9ff}.online-room-panel [data-players]{font:12px/1.7 'Segoe UI',sans-serif;color:#b8d8eb}.online-room-panel [data-room]>p:not([class]):not([data-players]){font-size:10px;color:#88acc5}
#loadout-dialog{width:min(1000px,94vw);max-height:90dvh;padding:0;border:1px solid #4f9dc8;border-radius:12px;background:#081e32;color:#d7eafa;box-shadow:0 25px 90px #0009}#loadout-dialog::backdrop{background:#020a15cc}#loadout-dialog>header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #345a78}#loadout-dialog>header small{font-size:8px;color:#57d7f4;letter-spacing:1.5px}#loadout-dialog>header h2{margin:5px 0 0;font:850 20px 'Segoe UI',sans-serif}#loadout-dialog>header button{border:1px solid #476a86;border-radius:5px;background:#122e44;color:white;font-size:24px;padding:1px 10px}#editor-host{max-height:74dvh;overflow-y:auto;padding:15px}#loadout-dialog #loadout-details{border:0;padding:0;background:none}#loadout-dialog #loadout-details>summary{display:none}#loadout-dialog .loadout-editor{background:transparent;border:0;padding:0}#loadout-dialog .move-options{max-height:410px;overflow-y:auto}#loadout-dialog .loadout-heading{display:none}#loadout-dialog .loadout-tab canvas{image-rendering:pixelated}#loadout-dialog .move-option{border:0;border-bottom:1px solid #345974;border-radius:4px;background:#102a40;padding:10px}#loadout-dialog .move-option p{font:11px/1.5 'Segoe UI',sans-serif}#loadout-dialog .loadout-layout{gap:15px}
#game-settings-dialog,.audio-settings{border:1px solid #438db8!important;border-radius:12px!important;background:linear-gradient(145deg,#0d2941,#081a2d)!important;color:#d7edfc!important;font-family:'Segoe UI',sans-serif!important;box-shadow:0 15px 80px #0009!important}#game-settings-dialog .settings-scroll>section{background:none;border:0;border-bottom:1px solid #325471;padding:12px 0}#game-settings-dialog .settings-row{border:0;background:none;padding:9px 0}#game-settings-dialog h3{font:800 13px 'Segoe UI',sans-serif;color:#6edfff}#game-settings-dialog select,.audio-settings select{background:#102a42;border:1px solid #3d6b91;border-radius:5px;color:#d9effc;padding:8px}#game-settings-dialog header,#game-settings-dialog footer{background:none}#game-settings-dialog button,.audio-settings button{border-radius:5px!important}
@media(min-width:1600px){#selection .roster{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1250px){.game-sidebar{width:190px;padding:22px 10px}.arena-logo strong{font-size:29px}.game-sidebar nav>button,.game-sidebar nav>a{font-size:12px;padding:10px 8px}body:not(.in-battle) main{margin-left:190px;width:calc(100% - 190px);padding:18px}#selection{grid-template-columns:minmax(0,1fr) 280px;gap:11px}#selection .roster{grid-template-columns:repeat(3,minmax(0,1fr));max-height:520px}#selection .team-info strong{font-size:9px}#selection #team-workbench{grid-template-columns:1fr}#selection .start-area{display:grid;grid-template-columns:1fr 1fr 230px;align-items:center}#selection .team-preview{grid-template-columns:repeat(6,minmax(0,1fr))}#selection .setup-heading h1{font-size:23px}#selection .setup-heading{padding-right:130px}.topbar .network-label{display:none}}
@media(max-width:950px){.game-sidebar{width:72px;padding:20px 7px}.arena-logo strong{font-size:12px;-webkit-text-stroke:.6px #1667ab;letter-spacing:-.6px}.arena-logo b{font-size:7px;letter-spacing:0}.arena-logo>span{font-size:13px;letter-spacing:0}.game-sidebar nav>button,.game-sidebar nav>a{font-size:0;justify-content:center;padding:11px 5px}.game-sidebar nav i{font-size:25px}.sidebar-note,.sidebar-controls,.sidebar-credits{display:none}body:not(.in-battle) main{margin-left:72px;width:calc(100% - 72px);padding:14px}#selection{grid-template-columns:minmax(0,1fr) 250px}#selection .roster{grid-template-columns:repeat(2,minmax(0,1fr))}#selection .setup-heading{padding-right:85px}#selection .setup-heading h1{font-size:20px}.mode-symbol{width:43px;height:43px;font-size:24px}#strategy-summary{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.in-battle) .topbar{right:18px;top:14px}body:not(.in-battle) .topbar #sound,body:not(.in-battle) .topbar [aria-label="Configurações de áudio"]{display:none}}
@media(max-width:650px){.game-sidebar{position:sticky;inset:0;top:0;width:100%;height:auto;padding:5px 8px;flex-direction:row;align-items:center;background:#081b30f5;overflow:visible}.arena-logo{width:68px;margin:0 8px 0 0;flex:none}.game-sidebar nav{flex-direction:row;gap:2px;overflow-x:auto}.game-sidebar nav>button,.game-sidebar nav>a{padding:8px;flex:none}.game-sidebar nav i{font-size:20px;width:21px}.nav-divider{display:none}body:not(.in-battle) main{margin:0;width:100%;padding:12px}body:not(.in-battle) .topbar{display:none}#selection{grid-template-columns:1fr;gap:12px}#selection .setup-heading{padding:6px 0 8px;min-height:60px}#selection .setup-heading h1{font-size:20px}#selection .setup-heading p{font-size:11px}#selection .picker-panel{grid-column:1;grid-row:3}#selection #arena-picker{grid-column:1;grid-row:2}#selection .arena-image{aspect-ratio:2.2}#selection .battle-configuration{grid-column:1;grid-row:4}#selection #team-workbench{grid-column:1;grid-row:5}#selection #strategy-panel{grid-column:1;grid-row:6}#selection .roster{grid-template-columns:repeat(3,minmax(0,1fr));max-height:500px;gap:6px}#selection .sprite-stage{height:75px}#selection .sprite-stage canvas{width:86px!important;height:70px!important}#selection .card-copy{padding:4px 6px 0}#selection .card-copy h3{font-size:11px}#selection .card-attributes{grid-template-columns:1fr;margin:6px 0;gap:3px}#selection .pick-status{font-size:7px}#selection .card-attributes label{font-size:7px}#selection .card-top{padding:5px 5px 0}#selection .team-preview{grid-template-columns:repeat(3,minmax(0,1fr))}#selection .start-area{display:flex}#selection #start{width:100%}#strategy-summary{grid-template-columns:1fr}body[data-menu=online] #online-room-panel{grid-row:2}body[data-menu=online] #arena-picker{grid-row:3}body[data-menu=online] #pokemon-picker{grid-row:4}body[data-menu=online] #match-settings{grid-row:5}body[data-menu=online] #team-workbench{grid-row:6}body[data-menu=online] #strategy-panel{grid-row:7}.room-privacy{display:none}.room-code-row strong{font-size:21px}.room-entry input{width:100%}#loadout-dialog .loadout-layout{display:block}#loadout-dialog .move-options{margin-top:15px}#editor-host{padding:10px}}
@media(prefers-reduced-motion:reduce){#selection *,#loadout-dialog *{transition:none!important;animation:none!important}}
#selection .setup-heading{justify-content:flex-start!important}#selection .setup-heading>div:last-child{flex:1;text-align:left;margin:0}#selection .setup-heading>.mode-symbol{flex:0 0 54px}#selection .card-attributes label{font-size:8px}#selection .card-attributes small{font-size:9px}#selection .team-slot:not(.filled){min-height:66px}#selection .team-slot:not(.filled)>b{order:-1;float:none}#selection .panel-meta{display:none}
@media(max-width:650px){#selection .setup-heading>.mode-symbol{flex-basis:43px}#selection .card-attributes label{font-size:8px}#selection .card-attributes small{font-size:9px}}
#selection:has(>.online-room-panel:not([hidden])) #online-room-panel{grid-row:2;grid-column:1/-1}#selection:has(>.online-room-panel:not([hidden])) #pokemon-picker{grid-row:3 / span 2}#selection:has(>.online-room-panel:not([hidden])) #arena-picker{grid-row:3}#selection:has(>.online-room-panel:not([hidden])) #match-settings{grid-row:4}#selection:has(>.online-room-panel:not([hidden])) #team-workbench{grid-row:5}#selection:has(>.online-room-panel:not([hidden])) #strategy-panel{grid-row:6}
#loadout-dialog .loadout-layout{display:grid;grid-template-columns:240px minmax(0,1fr);align-items:start}#loadout-dialog .equipped-slots{display:grid;grid-template-columns:1fr;gap:6px}#loadout-dialog .move-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:470px}#loadout-dialog .move-option{min-height:135px;text-align:left;font-family:'Segoe UI',sans-serif}#loadout-dialog .move-option strong{font-size:12px}#loadout-dialog .move-metrics{font:9px 'Segoe UI',sans-serif;gap:6px;display:flex;flex-wrap:wrap}#loadout-dialog .move-metrics b{font:700 11px 'Segoe UI',sans-serif}#loadout-dialog .move-option em{font-size:9px}#loadout-dialog .move-option.equipped{background:#14445b;border-bottom:1px solid #49c9de}#loadout-dialog .equip-slot.active,#loadout-dialog .loadout-tab.active{border-color:#55dfff;background:#12496c}#loadout-dialog .slot-instruction{font-size:11px}#loadout-dialog .move-option .move-category{font:8px 'Segoe UI',sans-serif}
@media(max-width:650px){#selection:has(>.online-room-panel:not([hidden])) #arena-picker{grid-row:3}#selection:has(>.online-room-panel:not([hidden])) #pokemon-picker{grid-row:4}#selection:has(>.online-room-panel:not([hidden])) #match-settings{grid-row:5}#selection:has(>.online-room-panel:not([hidden])) #team-workbench{grid-row:6}#selection:has(>.online-room-panel:not([hidden])) #strategy-panel{grid-row:7}#loadout-dialog .loadout-layout{grid-template-columns:1fr}#loadout-dialog .equipped-slots{grid-template-columns:repeat(2,minmax(0,1fr))}#loadout-dialog .move-options{grid-template-columns:1fr}}
#selection:has(>.online-room-panel:not([hidden])) #start{display:none}#selection:has(>.online-room-panel:not([hidden])) .start-area:after{content:'Confirme sua prontidão no painel da sala. A partida começa quando ambos estiverem prontos.';font:11px/1.5 'Segoe UI',sans-serif;color:#9fc7de}.online-room-panel [data-players]{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:12px 0}.room-player{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;padding-top:8px;border-top:1px solid #35648070}.room-player b{font-size:12px;color:#def2ff}.room-player em{font-style:normal;font-size:10px;text-align:right;color:#85c2e2}.room-player em.is-ready{color:#6de7b9}.room-player small{grid-column:1/-1;font:10px/1.5 'Segoe UI',sans-serif;color:#9cbcd4}body:not(.in-battle) .topbar .network-label{max-width:120px;line-height:1.4;white-space:normal;text-align:right}
@media(max-width:650px){.online-room-panel [data-players]{grid-template-columns:1fr}}
/* Warm selected state uses the exact launch-button gradient. */
#selection .pokemon-card.selected{border:2px solid transparent;background:linear-gradient(145deg,#1d3548,#0b2237) padding-box,linear-gradient(125deg,#ffe66b,#ffb817) border-box;box-shadow:0 0 0 1px #ffe17666,0 0 12px #f8a91933}
#selection .pokemon-card.selected .pick-order,#selection .pokemon-card.selected .pick-status{background:linear-gradient(125deg,#ffe66b,#ffb817);color:#31200b;border-color:#ffe176;box-shadow:inset 0 1px #fff5b580}.pokemon-card.selected .pick-status{font-weight:900}
#selection #team-workbench{grid-template-columns:1fr;padding:16px 18px;gap:14px}#selection .team-preview{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}#selection .team-slot{position:relative;min-height:224px;padding:13px 9px 10px;border:1px solid #316480;border-radius:10px;background:linear-gradient(145deg,#0b2c43d9,#061c2ee6);box-shadow:inset 0 1px #a2e7ff0b;gap:7px}#selection .team-slot.active{border:1px solid transparent;background:linear-gradient(145deg,#0f2f42,#081e2f) padding-box,linear-gradient(125deg,#ffe66b,#ffb817) border-box;box-shadow:0 0 9px #f8a91919}#selection .team-edit{display:flex;flex-direction:column;gap:5px;width:100%;padding:0;border:0;background:none;min-height:168px;justify-content:center;text-align:center}#selection .team-order{position:absolute;top:13px;left:12px;font:850 14px/1 'Segoe UI',sans-serif;color:#21c3ee}#selection .team-edit canvas{width:116px!important;height:100px!important;object-fit:contain;flex:none;image-rendering:pixelated}#selection .team-info{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%}#selection .team-info strong{font:800 15px/1.2 'Segoe UI',sans-serif;max-width:100%;color:#f3faff}#selection .team-types{display:flex;gap:3px;justify-content:center;flex-wrap:wrap}#selection .team-types .type{font:800 9px/1 'Segoe UI',sans-serif;padding:4px 5px;border-radius:6px;border-width:1px;margin:0;background:color-mix(in srgb,var(--type) 14%,#071c2a);color:var(--type)}#selection .team-actions{display:contents}#selection .team-actions>button:not(.team-remove){display:none}#selection .team-actions>.team-remove{position:absolute;right:8px;top:8px;width:22px;height:22px;border:1px solid #88a5b77a;border-radius:50%;background:#143044b3;color:#bfd5e4;font:20px/18px Arial;padding:0;z-index:1}#selection .team-remove:hover{border-color:#ffd68a;color:white;background:#5f3e2c}#selection .team-moves{margin-top:auto;display:flex;justify-content:center;align-items:center;gap:7px;width:100%;min-height:35px;padding:7px 4px;background:linear-gradient(#0a2d44,#071b2b);border:1px solid #169ec5;border-radius:6px;font:800 10px/1 'Segoe UI',sans-serif;color:#edf9ff;white-space:nowrap}#selection .team-moves>span{font:20px/1 'Segoe UI Symbol','Segoe UI',sans-serif;color:#d6e8f1}#selection .team-moves:hover{background:#0c3e5b;border-color:#66deff}#selection .team-slot:not(.filled){min-height:224px;justify-content:center;font:11px 'Segoe UI',sans-serif;border-style:dashed;opacity:.45}#selection .team-slot:not(.filled)>b{font-size:15px;color:#3c8dac}#selection .team-help{font:10px/1.5 'Segoe UI',sans-serif;margin:10px 0 0}#selection .start-area{display:grid;grid-template-columns:minmax(0,1fr) auto 230px;align-items:center;gap:14px;padding-top:10px;border-top:1px solid #335a744d}#selection #start{min-height:44px}#selection #selection-hint{font-size:10px}
@media(max-width:1250px){#selection .team-preview{gap:8px}#selection .team-slot{padding:11px 6px 8px;min-height:207px}#selection .team-edit{min-height:157px}#selection .team-edit canvas{width:96px!important;height:90px!important}#selection .team-info strong{font-size:12px}#selection .team-types .type{font-size:7px;padding:3px 4px}#selection .team-moves{font-size:8px;gap:3px}.team-moves>span{font-size:16px}#selection .team-order{font-size:12px;top:10px;left:9px}}
@media(max-width:950px){#selection .team-preview{grid-template-columns:repeat(3,minmax(0,1fr))}#selection .team-edit canvas{width:116px!important;height:100px!important}#selection .team-info strong{font-size:14px}#selection .team-types .type{font-size:8px}#selection .team-moves{font-size:10px}#selection .start-area{grid-template-columns:minmax(0,1fr) 220px}#selection #selection-hint{display:none}}
@media(max-width:650px){#selection #team-workbench{padding:13px}#selection .team-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#selection .team-slot{min-height:210px}#selection .team-slot:not(.filled){min-height:150px}#selection .start-area{display:flex;padding-top:10px}#selection #selection-hint{display:block}#selection .team-info strong{font-size:14px}}
