/* Native HomePage (1672 x 941), TeamPickerPage and FigurePageStyle.
   Uses existing artwork and local system fonts; no menu engine or UI framework. */
:root{--native-navy:#0b162b;--native-blue:#08244c;--native-edge:#168dff;--native-selected:#23ceff;--native-unit:min(calc(100vw/1672),calc((100dvh - 18px)/941))}
body.game-menu-layout{font-family:"Trebuchet MS","Noto Sans",Arial,sans-serif;font-weight:700;--line:#168dff;--text:#edf5ff;--muted:#aac3df;--panel:#0b162b;--gold:#ffdf78;--teal:#23ceff;background-image:linear-gradient(#020d1c14,#020d1c14),var(--menu-art);background-position:center;background-size:cover;background-attachment:fixed}
.game-menu-layout :is(h1,h2,h3,h4){letter-spacing:0}.game-menu-layout :is(button,input,select,textarea){font-family:inherit;font-weight:700}
.game-menu-layout :is(.button,.account-action,.team-select){background:#08244c;border:2px solid #168dff;color:#edf5ff;box-shadow:0 3px 4px #0004;border-radius:12px;letter-spacing:0;min-height:44px;font-size:16px;padding:9px 16px}
.game-menu-layout .button.primary{color:#edf5ff;border-color:#168dff;background:#082b59}
.game-menu-layout :is(.button,.account-action,.team-select):hover:enabled{background:#0d345e;border-color:#23ceff}
.game-menu-layout :is(button[aria-pressed=true],.is-selected,.team-card.is-selected){border-color:#23ceff;background:#082f51}
.game-menu-layout button:disabled,.game-menu-layout .native-team-save[aria-disabled=true]{opacity:1;color:#71839a;background:#111e31;border-color:#58667a;box-shadow:none}
.game-menu-layout :is(input,select,textarea){background:#0b162b;color:#edf5ff;border:2px solid #168dff;border-radius:12px;padding:9px 12px;min-height:40px;font-size:15px}.game-menu-layout input::placeholder{color:#94adc9}
.game-menu-layout :is(.fine-print,.account-help,.muted){font-size:13px;line-height:1.45;font-weight:400}
.game-menu-layout :is(.status-message,.account-feature-status):empty{display:none}
.game-menu-layout .topbar{position:fixed;inset:10px auto auto 12px;z-index:20;display:flex;align-items:flex-start;gap:12px;padding:0;min-height:0;border:0;background:none;box-shadow:none;pointer-events:none}.game-menu-layout .topbar :is(button,a){pointer-events:auto}
.corner-controls{display:flex;align-items:center;gap:10px}.menu-control-dock:empty{display:none}.native-quick-actions{display:flex;gap:10px;align-items:center}
.game-menu-layout .icon-control{width:58px;height:58px;min-height:58px;padding:10px;border-radius:14px;display:flex;align-items:center;justify-content:center}.game-menu-layout .icon-control .menu-button-icon{width:32px;height:32px}.corner-chat{min-width:100px;height:48px}
.activity-status{position:fixed;right:18px;top:14px;font-size:12px;color:#def1ff;text-shadow:0 1px 3px #000;background:#07172cce;padding:6px 10px;border-radius:8px}.activity-status:empty{display:none}
.game-menu-layout:not([data-menu-page=home]) #game-controls>:is([data-menu=updates],[data-menu=balance],a){display:none}
.game-menu-layout[data-menu-page=home] .topbar{top:auto;bottom:14px;left:14px}.game-menu-layout[data-menu-page=home] .activity-status{top:auto;bottom:13px;right:22px}
.game-menu-layout .workspace{display:flex;align-items:center;justify-content:center;max-width:none;width:100%;min-height:calc(100dvh - 36px);padding:20px 18px 34px;margin:0}
#home-panel{width:calc(1574 * var(--native-unit));max-width:100%;margin:auto;min-width:0}
.home-top{grid-template-columns:505fr 1055fr;gap:calc(14 * var(--native-unit));margin-bottom:calc(15 * var(--native-unit));min-height:calc(190 * var(--native-unit))}
.home-top .sidebar,.home-banner.banner-panel{background:#082b59;border:3px solid #168dff;border-radius:22px;box-shadow:0 4px 6px #00102c4d;padding:calc(18 * var(--native-unit));height:100%;min-width:0}
.home-top .sidebar{display:flex;flex-direction:column;justify-content:center;min-height:0}.hub-identity{display:grid;grid-template-columns:calc(148 * var(--native-unit)) minmax(0,1fr);gap:calc(16 * var(--native-unit));align-items:center}
.game-menu-layout .player-avatar-button{width:calc(148 * var(--native-unit));height:calc(148 * var(--native-unit));border:2px solid #168dff;border-radius:16px;background:#091429;box-shadow:none}.hub-identity .eyebrow{display:none}
.game-menu-layout .hub-identity .sidebar-heading h1{font-size:clamp(19px,calc(29 * var(--native-unit)),34px);line-height:1.15}.hub-identity #profile-rank{font-size:clamp(11px,calc(17 * var(--native-unit)),19px);line-height:1.5;color:#a4c9ee;margin:12px 0 0}
.home-top .sidebar.is-signed-in .account-card{position:relative;margin:0;padding:0;border:0}.home-top .sidebar.is-signed-in .account-actions{position:absolute;right:0;bottom:-10px;margin:0;gap:12px}.home-top .sidebar.is-signed-in .account-actions .text-button{font-size:10px;min-height:24px}
.home-banner.banner-panel{display:grid;grid-template-columns:minmax(0,1fr) calc(284 * var(--native-unit));align-items:center;gap:calc(22 * var(--native-unit));padding:calc(10 * var(--native-unit)) calc(18 * var(--native-unit))}.home-promotion{min-width:0}
.home-game-title{width:100%;margin:0 0 4px;line-height:1}.home-game-title img{width:min(100%,560px);height:calc(55 * var(--native-unit));min-height:32px;object-fit:contain}
.banner-panel .home-carousel{width:100%;height:calc(110 * var(--native-unit));min-height:0;border-radius:12px;border:0;background:transparent;box-shadow:none}.home-banner-open{height:100%;width:100%;padding:0;border:0;background:transparent}.home-banner-open img{width:100%;height:100%;object-fit:contain}.home-banner p{margin:0}
.home-quick-panel{min-width:0;display:grid;gap:calc(14 * var(--native-unit));align-content:center}.home-coin-balance{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:calc(52 * var(--native-unit));border:2px solid #168dff;border-radius:12px;background:#0b162b;color:#ffdf78;font-size:clamp(18px,calc(30 * var(--native-unit)),34px)}.home-coin-balance img{width:calc(26 * var(--native-unit));height:calc(26 * var(--native-unit));object-fit:contain}
#home-control-dock .native-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:calc(8 * var(--native-unit))}#home-control-dock .icon-control{width:100%;height:calc(60 * var(--native-unit));min-height:38px;padding:calc(10 * var(--native-unit));border-radius:12px}#home-control-dock .menu-button-icon{width:100%;height:100%;max-width:38px;max-height:38px}
.home-cards{grid-template-columns:490fr 570fr 490fr;gap:calc(15 * var(--native-unit)) calc(12 * var(--native-unit))}
.home-cards .home-card{position:relative;min-height:0;height:calc(245 * var(--native-unit));border:2px solid #168dff;border-radius:18px;padding:calc(12 * var(--native-unit));gap:calc(8 * var(--native-unit));background:#0b162b;box-shadow:0 4px 4px #00102b33;overflow:hidden}.home-cards .home-card:nth-child(n+4){height:calc(270 * var(--native-unit))}.home-cards .home-card:hover{background:#10233d}
.home-card .home-card-title{font-size:clamp(12px,calc(19 * var(--native-unit)),22px);padding:0 46px calc(7 * var(--native-unit)) calc(32 * var(--native-unit));min-height:calc(35 * var(--native-unit));border-color:#8faec5;color:#edf5ff;line-height:1.4}.home-card .home-card-icon{top:calc(12 * var(--native-unit));left:calc(12 * var(--native-unit));width:calc(24 * var(--native-unit));height:calc(24 * var(--native-unit))}.home-card-count{top:calc(17 * var(--native-unit));right:calc(13 * var(--native-unit));font-size:clamp(10px,calc(15 * var(--native-unit)),17px);color:#edf5ff}
.home-card>b{display:block;width:100%;margin-top:auto;text-align:center;min-height:calc(36 * var(--native-unit));padding:8px 5px 5px;border:2px solid #168dff;border-radius:10px;color:#edf5ff;background:#08244c;font-size:clamp(10px,calc(14 * var(--native-unit)),16px);letter-spacing:0}.home-card[data-menu=profile]>b{display:none}
.dashboard-stat-grid{gap:calc(8 * var(--native-unit)) calc(12 * var(--native-unit))}.dashboard-stat-grid>span{min-height:0;padding:calc(4 * var(--native-unit));gap:5px;background:#08244c;border:2px solid #168dff;border-radius:8px}.dashboard-stat-grid small{font-size:clamp(9px,calc(11 * var(--native-unit)),13px);font-weight:700}.dashboard-stat-grid strong{font-size:clamp(22px,calc(28 * var(--native-unit)),32px)}
.dashboard-stat-grid [data-stat="RANKED WINS"] strong{color:#64ffb3}.dashboard-stat-grid [data-stat="RANKED LOSSES"] strong{color:#ff657b}.dashboard-stat-grid [data-stat="WIN RATE"] strong{color:#22dfff}
.dashboard-progress-list{min-height:0;flex:1;gap:calc(17 * var(--native-unit))}.dashboard-region-progress>span{font-size:clamp(11px,calc(16 * var(--native-unit)),18px)}.dashboard-figure-strip{flex:1;align-items:center;gap:calc(7 * var(--native-unit))}.dashboard-figure-strip .figure-art{height:calc(118 * var(--native-unit));max-height:140px}.dashboard-rarity{font-size:clamp(16px,calc(25 * var(--native-unit)),29px)}
.dashboard-team-strip{flex:1;align-items:center;gap:calc(8 * var(--native-unit))}.dashboard-team-tile{padding:calc(6 * var(--native-unit));background:#08244c;border:2px solid #168dff}.dashboard-team-icons .figure-art{height:calc(44 * var(--native-unit));max-height:58px}.dashboard-team-tile>strong{font-size:clamp(10px,calc(13 * var(--native-unit)),15px)}.dashboard-inventory-strip{align-content:center;flex:1}.dashboard-inventory-strip>img{height:calc(45 * var(--native-unit))}
.history-card-art{display:block;width:100%;flex:1;background:linear-gradient(#0b162b33,#0b162b99),url("menu_art/history.383150d63b927cc55f7a.webp") center/cover;border-radius:8px}.home-card[data-menu=history]>span:not(.home-card-title):not(.history-card-art){display:none}.home-card[data-menu=progress]{background:linear-gradient(#0b162bc4,#0b162bf2),url("menu_art/challenge.c37dbb097e75e0cd32fa.webp") center/cover}
.home-navigation{grid-template-columns:repeat(6,minmax(0,1fr));padding:calc(10 * var(--native-unit));gap:calc(12 * var(--native-unit));margin-top:calc(21 * var(--native-unit));border:3px solid #168dff;border-radius:20px;background:#082b59}.home-navigation .button{height:calc(58 * var(--native-unit));min-height:40px;font-size:clamp(10px,calc(16 * var(--native-unit)),18px);padding:6px;gap:calc(12 * var(--native-unit));background:#08244c;flex-direction:row;border-radius:12px}.home-navigation .menu-button-icon{width:calc(34 * var(--native-unit));height:calc(34 * var(--native-unit));max-width:40px;min-width:20px}
.game-footer{display:flex;align-items:center;gap:18px;position:fixed;bottom:0;left:0;right:0;min-height:26px;padding:4px 14px;font-size:11px;color:#b1c6df;z-index:5;pointer-events:none;text-shadow:0 1px 2px #000}.game-footer a{pointer-events:auto}.game-footer .app-recommendation{margin:0 0 0 auto;font-size:11px;padding:0;border:0;max-width:none}.game-footer a:hover{text-decoration:underline}.game-footer .site-return{margin-left:12px}
/* One page frame, centered headings, separate content and bottom actions. */
#menu-pages{position:relative;width:min(1180px,calc(100vw - 48px));max-height:calc(100dvh - 76px);padding:16px 18px 82px;border:2px solid #168dff;border-radius:18px;background:#0b162bf5;box-shadow:0 4px 8px #0004;display:flex;flex-direction:column;gap:12px;min-width:0}
#menu-pages:is([data-account-view="team-editor"],[data-account-view=collection],[data-account-view=enhancement],[data-account-view=wheel]),#menu-pages:has(#collection-panel:not([hidden])){width:min(1574px,calc(100vw - 48px))}
.menu-page-heading{position:static;display:block;padding:0 0 8px;margin:0;background:none;border:0;border-radius:0;box-shadow:none;flex-shrink:0;min-height:0;text-align:center}.native-page-brand>img{display:block;width:360px;max-width:70%;height:55px;object-fit:contain;margin:0 auto 6px}.menu-page-heading h1{font-size:28px;color:#edf5ff;text-transform:uppercase;line-height:1.2}
#back-home{position:absolute;left:18px;bottom:14px;min-width:220px;z-index:3;text-transform:uppercase}.menu-page-heading>.status-message{font-size:12px;text-align:center;margin:5px 0 0;max-height:34px;overflow:auto}
.menu-page-heading[data-plaque=true] .native-page-brand>img{display:none}.menu-page-heading[data-plaque=true] .native-page-brand{display:inline-flex;align-items:center;justify-content:center;gap:18px;border:2px solid #168dff;border-radius:26px;background:#08244c;padding:10px 20px;max-width:100%}.menu-page-heading[data-plaque=true] h1{color:#ffdf78;font-size:clamp(23px,2.4vw,34px)}
.menu-page-heading[data-plaque=true] .native-page-brand:before,.menu-page-heading[data-plaque=true] .native-page-brand:after{content:"";width:32px;height:32px;flex-shrink:0;border:3px solid #edf5ff;border-radius:50%;background:radial-gradient(circle,#edf5ff 0 17%,#102d60 19% 28%,transparent 30%),linear-gradient(#e8445b 0 45%,#102d60 45% 56%,#fff 56%);box-shadow:0 0 0 2px #102d60}
.game-menu-layout .main-column>[data-menu-panel]{background:none;border:0;border-radius:0;box-shadow:none;padding:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#168dff #06162c}
#selected-team-bar{margin:0;padding:7px 12px;background:#08244c;border:1px solid #168dff;font-size:12px;flex-shrink:0}#selected-team-bar .button{padding:5px 10px;min-height:32px;font-size:12px}
.game-menu-layout .account-feature-content>h2:first-child,.game-menu-layout .account-feature-content>h2:first-child+.account-help,.game-menu-layout .hub-content>h2:first-child,.game-menu-layout .hub-content>h2:first-child+.muted{display:none}.account-feature-status{margin:0 0 6px;font-size:12px;min-height:0}
.game-menu-layout:not(.native-reference-page) .native-section-title{display:flex;align-items:center;min-height:42px;padding:8px 14px;margin:0!important;border:2px solid #168dff;border-radius:12px;background:#08244c;font-size:19px!important;color:#edf5ff!important}
.native-filter-bar{display:flex;align-items:center;gap:12px;padding:10px 14px;border:2px solid #168dff;border-radius:12px;background:#08244c;margin:0 0 12px}.native-filter-bar>h2,.native-filter-bar>h3{margin:0;font-size:18px;white-space:nowrap}.native-filter-bar>input,.native-filter-bar>.search-label{flex:1;min-width:120px}.native-filter-bar select{min-width:150px}
.native-library-layout,.native-team-browser{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:12px;align-items:start;min-width:0}.native-library-roster,.native-roster-browser{min-width:0;border:2px solid #168dff;border-radius:14px;padding:12px;background:#0b162b}
.account-figure-grid,.figure-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:10px 0;align-content:start}
.game-menu-layout .account-figure-option,.game-menu-layout .figure-card{padding:8px 5px;gap:4px;background:#08244c;border:2px solid #168dff;border-radius:10px;min-width:0;text-align:center;display:flex;flex-direction:column;align-items:center;margin:0;position:relative;overflow:hidden}
.account-figure-option .account-art,.figure-card .figure-art{width:100%;height:100px;max-width:130px;aspect-ratio:1;object-fit:contain}.account-figure-option strong,.figure-card h3{font-size:13px;color:#edf5ff;line-height:1.2;overflow-wrap:anywhere}.account-figure-option small,.figure-card p{font-size:10px;margin:0;font-weight:400}.figure-card .text-button{margin-top:2px;min-height:28px;font-size:11px}.native-rarity,.figure-card .rarity{color:#ffdf78;font-size:16px!important;font-weight:700!important}.figure-card .rarity{position:absolute;top:7px;right:8px}
.native-figure-detail{background:#0b162b;border:2px solid #168dff;border-radius:14px;padding:10px;min-width:0;position:sticky;top:0;text-align:center}.native-figure-detail .native-section-title{justify-content:center}.native-detail-identity{display:grid;grid-template-columns:110px minmax(0,1fr);column-gap:14px;align-items:center;text-align:left;margin:10px 10px 0}.native-detail-identity>img{grid-row:span 2;width:110px;height:110px;object-fit:contain;max-width:100%;margin:0}.native-detail-identity>p{font-size:14px;margin:0}.native-figure-detail .menu-wheel-svg{width:min(260px,90%);margin:4px auto 10px}.native-figure-detail h4{font-size:17px;margin:8px 0}.native-figure-detail .account-help,.native-figure-detail>.muted{font-size:13px;padding:0 8px;text-align:left}.native-figure-detail>.account-action,.native-figure-detail>.button{width:100%}
.native-pagination,.pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin:8px 0}.native-pagination button{min-height:36px;font-size:13px}
/* Team management 668:410 split, matching the six-slot native builder. */
.match-team-picker{background:none;border:0;padding:0;display:grid;grid-template-columns:minmax(0,668fr) minmax(0,410fr);gap:16px;margin:0}.match-team-list-pane,.match-team-preview{border:2px solid #168dff;border-radius:12px;background:#0b162b;padding:10px;min-width:0}
.match-team-list-pane>h3,.match-team-preview>h3:first-child{padding:8px 10px;margin:0;border:2px solid #168dff;border-radius:10px;background:#08244c;color:#edf5ff;font-size:19px;text-transform:uppercase}.match-team-list-pane>.account-row,.native-team-filter{display:flex;align-items:center;gap:8px;margin:8px 0}.match-team-list-pane .account-row>input,.native-team-filter input{flex:1;min-width:100px}.native-team-filter select{width:165px}
.match-team-rows{max-height:calc(100dvh - 360px);min-height:180px;overflow:auto;gap:10px;padding:2px 5px 2px 0}.match-team-row{min-height:76px;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);padding:7px 14px;border-radius:12px;background:#0b162b;border-color:#168dff}.match-team-row strong{font-size:18px}.match-team-row .match-team-icon,.account-team-manager .match-team-row .account-art{height:50px;max-width:none;object-fit:contain}
.match-team-preview>h4{margin:8px 0;text-align:right;font-size:15px;color:#aac3df}.match-preview-slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 2px}.match-preview-slot{background:#0b162b;border:2px solid #168dff;padding:8px 4px;border-radius:12px;gap:4px}.match-preview-slot strong{font-size:13px}.match-preview-slot .match-preview-art,.account-team-manager .match-preview-slot .account-art{height:90px}.match-preview-slot small{font-size:10px}
.native-team-quick-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}.native-team-quick-actions button{font-size:13px;text-transform:uppercase}.native-team-quick-actions button:last-child{grid-column:1/-1}
.native-team-name-row{display:flex;gap:14px;align-items:center;padding:10px;border:2px solid #168dff;border-radius:12px;background:#0b162b}.native-team-name-row .account-field{flex:1;min-width:0;flex-direction:row;align-items:center}.native-team-name-row input{flex:1;min-width:60px}.native-team-name-row .account-field>span{white-space:nowrap}
.native-team-roster.account-team-editor{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:10px 0}.native-team-roster .account-editor-slot{background:#0b162b;border:2px solid #168dff;padding:5px;gap:0;border-radius:12px}.native-roster-select.account-action{border:0;background:none;box-shadow:none;padding:4px;display:flex;flex-direction:column;align-items:center;width:100%;gap:4px;flex:1;min-width:0}.native-roster-select strong{font-size:14px}.native-roster-select small{font-size:10px;color:#aac3df}.native-roster-select .account-art{width:100%;height:100px;max-width:140px;aspect-ratio:auto}.native-empty-slot{font-size:52px;height:100px;line-height:100px;color:#4acfff}.native-roster-order{display:flex;gap:4px;justify-content:center}.native-roster-order button{min-height:25px;padding:0 12px;box-shadow:none;font-size:16px}
.native-roster-browser>input{width:100%;margin-top:10px}.native-team-browser .account-figure-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.native-slot-detail{min-width:0}.native-slot-options{border:2px solid #168dff;border-radius:12px;background:#0b162b;padding:8px;margin-top:10px}.native-slot-options .account-row{gap:6px}.native-slot-options .account-attachments .account-row{display:grid;grid-template-columns:45px minmax(0,1fr) auto}.native-slot-options .account-art{width:45px;height:45px}.native-slot-options .account-action{font-size:12px;padding:5px 8px;min-height:34px}.account-slot-builds{padding:8px 10px;border-top:1px solid #24547b;font-size:13px}.account-slot-builds summary{cursor:pointer;padding:5px}.account-slot-builds .account-build-list{max-height:150px}
.native-page-actions{position:sticky;bottom:0;z-index:4;display:flex;gap:10px!important;align-items:stretch;background:#0b162b;padding:12px 0 3px;margin:12px 0 0;border-top:2px solid #168dff;flex-wrap:nowrap!important}.native-page-actions>button{flex:1;min-height:52px;font-size:16px;text-transform:uppercase}
/* Separate Enhancement and Wheel Modification screens. */
.native-enhancement-overview{display:grid;grid-template-columns:310fr 340fr minmax(0,700fr);gap:10px}.native-enhancement-overview>section,.native-wheel-preview,.native-wheel-moves{border:2px solid #168dff;border-radius:14px;background:#0b162b;padding:8px;min-width:0}
.native-enhancement-identity.account-figure-heading{display:flex;flex-direction:column;gap:8px;align-items:center;text-align:center}.native-enhancement-identity .native-section-title{align-self:stretch;justify-content:center}.native-enhancement-identity>.account-art{width:100%;height:210px;max-width:260px}.native-enhancement-identity>h3:not(.native-section-title){margin:0;font-size:22px}.native-enhancement-identity p{margin:0;font-size:14px}.native-enhancement-wheel .menu-wheel-svg{width:min(290px,100%);margin:10px auto}.native-enhancement-progress>h3{margin:12px 4px 4px}.native-enhancement-progress>.account-help{padding:8px;margin:0}
.native-level-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin:14px 8px}.native-level-row>span{color:#aac3df;font-size:14px}.native-level-row>strong{font-size:23px;color:#e7f4ff}.native-level-row progress{grid-column:1/-1;width:100%;height:18px;accent-color:#23ceff}.native-level-row small{color:#aac3df}
.native-wheel-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.native-wheel-points>div{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:12px 18px;border:2px solid #168dff;border-radius:14px;background:#0b162b}.native-wheel-points strong{font-size:18px}.native-wheel-points span{font-size:16px;color:#a9e778}.native-wheel-points>div:nth-child(2){border-color:#b346ef}.native-wheel-points>div:nth-child(2) strong{color:#c685f1}.native-wheel-points>div:nth-child(3) strong{color:#ffdf78}
.native-wheel-layout{display:grid;grid-template-columns:minmax(230px,1fr) minmax(0,3fr);gap:14px;align-items:start}.native-wheel-preview{text-align:center}.native-wheel-preview .menu-wheel-svg{width:min(340px,100%);margin:18px auto}.native-wheel-name{font-size:23px;text-transform:uppercase;color:#edf5ff;margin:10px}.native-wheel-preview>.account-help{text-align:left;padding:12px;margin:0}
.native-wheel-moves .account-wheel-table{font-size:15px;min-width:530px}.native-wheel-moves .account-wheel-table th{background:#0b162b;border:0;color:#cbdcf2;padding:12px 7px;text-transform:uppercase}.native-wheel-moves .account-wheel-table td{padding:8px;border-color:#168dff;background:#0d1a2f}.native-wheel-moves .account-wheel-table td:nth-child(2),.native-wheel-moves .account-wheel-table th:nth-child(2){display:none}.native-wheel-moves .account-wheel-table button{min-height:40px;padding:5px 10px;margin:2px;font-size:18px}.native-wheel-moves .account-move-effect{font-size:12px;padding:7px 10px!important;color:#a9c3df}.native-redistribution{margin:10px 0 0;padding:10px;border-top:1px solid #168dff;font-size:12px}.native-redistribution .account-field{min-width:100px}.native-redistribution .account-action{font-size:12px}.native-page-back{margin-top:15px}
.native-build-dialog{max-width:700px}.native-build-dialog>h3{display:none}.native-build-dialog>.account-build-list{max-height:45dvh}.native-build-dialog .account-build-list .account-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto}.native-build-dialog .account-row>.account-action{font-size:14px}
/* Shared native panels for inventory, store, trainers, quests and records. */
.account-feature-content[data-view=shop]>.account-figure-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.account-shop-card{display:flex;flex-direction:column;align-items:center;text-align:center;margin:0;padding:12px;background:#0b162b;border:2px solid #168dff;border-radius:14px;min-width:0}.account-shop-card h3{font-size:17px;margin:10px 0}.account-shop-card .account-action{margin-top:auto;width:100%;font-size:14px}.account-shop-card p{font-size:13px}.account-shop-card .account-art{height:135px;object-fit:contain}.account-feature-content[data-view=plates]>.account-figure-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.account-feature-content[data-view=plates] .account-shop-card{align-items:flex-start;text-align:left;padding:16px}.account-feature-content[data-view=plates] input{width:100%}
.game-menu-layout .mode-section,.game-menu-layout .menu-card{background:#0b162b;border:2px solid #168dff;box-shadow:none;border-radius:14px}.mode-section>h3{color:#edf5ff}.mode-section>.button{font-size:15px}.game-menu-layout .mode-choice-buttons>.button{font-size:16px}.mode-choice-group{border:0}.mode-choice-group>legend{font-size:17px;color:#aac3df}
#menu-pages[data-simple-menu=true]{width:min(540px,calc(100vw - 40px));min-height:0;padding:26px 38px;max-height:calc(100dvh - 70px);overflow:auto;background:#0b162bf5}.game-menu-layout #menu-pages[data-simple-menu=true]>#play-panel{width:100%;max-width:none;padding:0;background:none;border:0;overflow:visible}#menu-pages[data-simple-menu=true] .native-menu-title{height:85px}#menu-pages[data-simple-menu=true] .native-menu-heading{font-size:24px;border-color:#71839a;color:#edf5ff;margin:0}#menu-pages[data-simple-menu=true] .game-button-list>.button{min-height:62px;font-size:20px;border-radius:12px}#menu-pages[data-simple-menu=true] .game-button-list{gap:12px}
.gym-badge-grid{gap:12px}.gym-badge-card{min-height:210px;background:#0b162b;border-color:#168dff}.gym-badge-card strong{font-size:19px}.gym-badge-card.is-completed{border-color:#23ceff}.gym-trainer-preview{background:#0b162b;border:2px solid #168dff;border-radius:14px;padding:16px}.elite-four-entry,.elite-trainer-card{border-color:#168dff;background:#0b162b}
.hub-content .menu-card{padding:16px;margin:10px 0}.hub-content .menu-card h3{font-size:20px}.hub-content .menu-card progress{width:100%;accent-color:#23ceff;height:18px}.hub-content .menu-table{font-size:15px}.hub-content .menu-table th{background:#08244c}.hub-content .menu-table td{padding:12px}.hub-content .chat-messages{max-height:48dvh;height:48dvh;border:2px solid #168dff;border-radius:14px;background:#0b162b}.hub-content .chat-message-body{font-weight:400;font-size:15px}
.native-updates-tabs{display:flex;gap:8px;justify-content:center;margin:0 0 14px}.native-updates-tabs>.button{flex:1;max-width:300px;font-size:15px}.native-updates-pane>summary{display:none}.native-updates-pane .account-art{max-width:120px}
.game-menu-layout :is(.menu-dialog,.account-picker,.account-confirm){background:#0b162b;border:2px solid #168dff;border-radius:18px;box-shadow:0 5px 16px #0007;max-height:calc(100dvh - 32px);max-width:calc(100vw - 32px);overscroll-behavior:contain}.game-menu-layout :is(.menu-dialog,.account-picker,.account-confirm)::backdrop{background:#020917b8}.game-menu-layout .menu-dialog>.section-heading,.native-build-dialog>.section-heading{position:sticky;top:-18px;z-index:5;padding:12px 0;background:#0b162b;border-bottom:1px solid #168dff}.game-menu-layout .account-picker>.account-row{background:#0b162b}
@media(max-width:1100px){
 .native-wheel-points strong{font-size:14px}.native-wheel-points span{font-size:12px}.native-wheel-points>div{padding:12px;gap:6px}.match-team-row strong{font-size:15px}.match-team-row{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}
 .account-figure-grid,.figure-grid,.native-team-browser .account-figure-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.native-detail-identity{grid-template-columns:85px minmax(0,1fr)}.native-detail-identity>img{width:85px;height:85px}.native-detail-identity>p{font-size:12px}
 .native-enhancement-identity>.account-art{height:160px}.native-roster-select .account-art{height:80px}.native-team-name-row .fine-print{display:none}.native-roster-select strong{font-size:12px}.native-team-roster.account-team-editor{gap:6px}.native-page-actions>button{font-size:13px;padding:9px}
}
@media(max-width:760px){
 body.game-menu-layout{--native-unit:1px}.game-menu-layout .workspace{padding:76px 10px 70px;min-height:100dvh;align-items:flex-start}
 #home-panel{width:100%;max-width:640px}.home-top{grid-template-columns:1fr;gap:10px;margin-bottom:10px;min-height:0}.home-top .sidebar{padding:14px}.hub-identity{grid-template-columns:90px minmax(0,1fr)}.game-menu-layout .player-avatar-button{width:90px;height:90px}.game-menu-layout .hub-identity .sidebar-heading h1{font-size:25px}.hub-identity #profile-rank{font-size:13px;margin-top:8px}.home-top .sidebar.is-signed-in .account-actions{bottom:-6px}
 .home-banner.banner-panel{padding:10px;grid-template-columns:minmax(0,1fr) 150px;gap:10px;border-radius:18px}.home-game-title img{height:42px;min-height:0}.banner-panel .home-carousel{height:88px}.home-quick-panel{gap:10px}.home-coin-balance{min-height:42px;font-size:24px}.home-coin-balance img{width:22px;height:22px}#home-control-dock .native-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}#home-control-dock .icon-control{height:42px;padding:7px;min-height:0}
 .home-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-cards .home-card,.home-cards .home-card:nth-child(n+4){height:240px;padding:10px;gap:8px;border-radius:14px}.home-card .home-card-title{font-size:12px;padding:0 0 8px 27px;min-height:36px}.home-card .home-card-icon{width:21px;height:21px;top:12px;left:10px}.home-card-count{position:static;font-size:11px;margin:0;align-self:flex-end;line-height:1}
 .dashboard-stat-grid>span{padding:4px;gap:8px}.dashboard-stat-grid small{font-size:8px}.dashboard-stat-grid strong{font-size:24px}.dashboard-figure-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.dashboard-figure-strip .figure-art{height:52px}.dashboard-rarity{font-size:15px}.dashboard-progress-list{gap:15px}.dashboard-region-progress>span{font-size:11px}.dashboard-team-strip{grid-template-columns:1fr}.dashboard-team-tile{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:4px}.dashboard-team-icons{grid-template-columns:repeat(6,minmax(0,1fr))}.dashboard-team-icons .figure-art{height:23px}.dashboard-team-tile>strong{font-size:10px}.dashboard-team-tile:nth-child(n+3){display:grid}.dashboard-inventory-strip>img{height:30px}.home-card>b{font-size:10px;min-height:30px;padding:6px}
 .home-navigation{grid-template-columns:repeat(3,minmax(0,1fr));padding:8px;gap:7px;margin-top:12px;border-radius:16px}.home-navigation .button{height:62px;font-size:10px;flex-direction:column;gap:4px}.home-navigation .menu-button-icon{width:25px;height:25px;min-width:0}
 .game-menu-layout[data-menu-page=home] .topbar{top:10px;bottom:auto}.activity-status,.game-menu-layout[data-menu-page=home] .activity-status{top:15px;bottom:auto;right:10px;font-size:10px;max-width:50vw}.game-footer{font-size:9px;gap:10px;background:#07172ee8;flex-wrap:wrap;padding:7px 10px}.game-footer .app-recommendation{font-size:9px;margin-left:auto}.game-footer .site-return{display:none}
 #menu-pages{width:100%;max-height:none;padding:12px 10px 70px;gap:10px}.game-menu-layout .main-column>[data-menu-panel]{overflow:visible}.native-page-brand>img{height:45px;max-width:80%;margin-bottom:8px}.menu-page-heading h1{font-size:22px}#back-home{left:10px;bottom:12px;min-width:0;font-size:12px}.menu-page-heading[data-plaque=true] .native-page-brand{padding:8px 12px;gap:9px}.menu-page-heading[data-plaque=true] h1{font-size:20px}.menu-page-heading[data-plaque=true] .native-page-brand:before,.menu-page-heading[data-plaque=true] .native-page-brand:after{width:22px;height:22px}
 #menu-pages:is([data-account-view="team-editor"],[data-account-view=collection],[data-account-view=enhancement],[data-account-view=wheel]),#menu-pages:has(#collection-panel:not([hidden])){width:100%}
 .native-filter-bar{flex-wrap:wrap;padding:8px;gap:8px}.native-filter-bar>h2,.native-filter-bar>h3{font-size:14px}.native-filter-bar select{min-width:100px;max-width:140px;font-size:12px}.native-filter-bar>.search-label{flex-basis:65%}.native-library-layout,.native-team-browser{grid-template-columns:1fr}.native-figure-detail{position:static}.native-library-roster{padding:7px}.account-figure-grid,.figure-grid,.native-team-browser .account-figure-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.account-figure-option .account-art,.figure-card .figure-art{height:80px}.account-figure-option strong,.figure-card h3{font-size:11px}.native-detail-identity{grid-template-columns:110px minmax(0,1fr)}.native-detail-identity>img{width:110px;height:110px}.native-figure-detail .menu-wheel-svg{width:250px}
 .match-team-picker{grid-template-columns:1fr;gap:10px}.match-team-rows{min-height:150px;max-height:42dvh}.match-team-row{min-height:70px;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)}.match-team-row strong{font-size:14px}.native-team-filter{flex-wrap:wrap}.native-team-filter select{width:130px}.match-preview-slot .match-preview-art,.account-team-manager .match-preview-slot .account-art{height:90px}
 .native-team-name-row{flex-wrap:wrap;padding:8px;gap:8px}.native-team-name-row .account-field{flex-basis:100%}.native-team-name-row .account-action{font-size:12px;padding:7px;min-height:36px}.native-team-roster.account-team-editor{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.native-roster-select .account-art{height:85px}.native-empty-slot{height:85px;line-height:85px}.native-page-actions{gap:6px!important;flex-wrap:wrap!important;position:static}.native-page-actions>button{font-size:12px;flex:1 1 30%;min-height:46px}.game-menu-layout:not(.native-reference-page) .native-section-title{font-size:16px!important;min-height:38px}
 .native-enhancement-overview{grid-template-columns:1fr 1fr}.native-enhancement-progress{grid-column:1/-1}.native-enhancement-identity>.account-art{height:140px}.native-enhancement-identity>h3:not(.native-section-title){font-size:18px}.native-enhancement-identity p{font-size:12px}.native-enhancement-wheel .menu-wheel-svg{max-width:220px}.native-wheel-points{gap:6px}.native-wheel-points>div{display:flex;flex-direction:column;align-items:flex-start;min-height:70px;padding:8px;gap:5px}.native-wheel-points strong{font-size:10px}.native-wheel-points span{font-size:11px}.native-wheel-layout{grid-template-columns:1fr}.native-wheel-preview .menu-wheel-svg{width:260px}.native-wheel-moves .account-wheel-table{font-size:13px}.native-wheel-moves .account-wheel-table button{font-size:16px}
 .native-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.account-inventory-row{padding:10px}.account-inventory-row>strong{font-size:15px}.account-feature-content[data-view=shop]>.account-figure-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.account-shop-card{padding:8px}.account-shop-card .account-art{height:95px}.account-shop-card h3{font-size:13px}.account-shop-card .account-action{font-size:12px;padding:7px}.account-feature-content[data-view=plates]>.account-figure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #menu-pages[data-simple-menu=true]{width:min(490px,100%);padding:20px;max-height:none;overflow:visible}#menu-pages[data-simple-menu=true] .native-menu-title{height:70px}#menu-pages[data-simple-menu=true] .game-button-list>.button{min-height:54px;font-size:17px}.native-updates-tabs>.button{font-size:12px;padding:8px}
}
@media(max-width:450px){.account-figure-grid,.figure-grid,.native-team-browser .account-figure-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-banner.banner-panel{grid-template-columns:minmax(0,1fr) 115px}.home-game-title img{height:35px}.home-card .home-card-title{font-size:11px}.home-cards .home-card{height:232px}.home-card-count{font-size:10px}.native-team-filter select{width:100%}.account-feature-content[data-view=shop]>.account-figure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-height:600px) and (min-width:761px){.game-menu-layout .workspace{padding-top:60px;align-items:flex-start}.game-menu-layout[data-menu-page=home] .workspace{padding-top:14px;align-items:center}#menu-pages{max-height:none}.match-team-rows{max-height:45dvh}.native-library-layout,.native-team-browser{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.native-roster-select .account-art{height:65px}.account-figure-option .account-art{height:75px}.native-figure-detail .menu-wheel-svg{width:190px}.native-enhancement-identity>.account-art{height:130px}.native-page-actions{position:static}}
@media(prefers-reduced-motion:reduce){.game-menu-layout *{scroll-behavior:auto!important;transition:none!important}}

.native-inventory-art{display:block;width:100%;height:120px;object-fit:contain}.native-inventory-art:not([src]){display:none}.native-updates-pane:not(details)~.native-updates-pane .account-art{object-fit:contain}.native-updates-pane:has(>button){display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.native-updates-pane>button{display:flex;flex-direction:column;align-items:center;gap:8px}.native-team-filter h3{margin:0;font-size:18px}

.avatar-edit-mark{position:absolute;right:3px;bottom:3px;width:26px;height:26px;padding:3px;background:#08244c;border:1px solid #168dff;border-radius:7px;color:#edf5ff}
.dashboard-material-art:not([src]){display:none}
body[data-menu-page=database] #menu-pages{width:min(540px,calc(100vw - 40px))}
body[data-menu-page=database] .game-button-list{padding:12px 0;margin:0}
@media(min-width:761px){.native-library-roster>.account-figure-grid,.native-roster-browser>.account-figure-grid,.native-library-roster>.figure-grid{max-height:calc(100dvh - 365px);min-height:180px;overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain;padding-right:5px}.native-team-browser .native-roster-browser>.account-figure-grid{max-height:calc(100dvh - 510px)}}
@media(max-width:760px){.native-library-roster>.account-figure-grid,.native-library-roster>.figure-grid,.native-roster-browser>.account-figure-grid{max-height:48dvh;overflow-y:auto;overscroll-behavior:contain}.native-updates-pane:has(>button){grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Keep native navigation clear of the persistent version/footer line. */
@media(min-width:761px){.game-menu-layout[data-menu-page=home] .topbar{bottom:32px}}
#menu-pages:is([data-account-view="team-editor"],[data-account-view=enhancement],[data-account-view=wheel]){padding-bottom:18px}
#menu-pages:is([data-account-view="team-editor"],[data-account-view=enhancement],[data-account-view=wheel]) #back-home{display:none}
.native-build-dialog>.account-build-list>.account-row>.account-action[aria-pressed=true]{border-color:#23ceff;background:#082f51}

.native-material-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:12px}.native-material-grid>.account-action{display:flex;flex-direction:column;align-items:center;gap:7px;padding:10px;background:#0b162b;border-radius:14px}.native-material-art{width:100%;height:95px;object-fit:contain}.native-material-grid strong{font-size:14px}.native-material-grid span{font-size:12px;color:#aac3df}
.native-plate-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:48dvh;overflow:auto;overscroll-behavior:contain;padding:4px;margin:10px 0}.native-plate-picker>.account-action{display:flex;flex-direction:column;gap:8px;align-items:flex-start;text-align:left;padding:12px;border-radius:14px;background:#0b162b}.native-plate-picker strong{font-size:16px}.native-plate-picker small{font-size:12px;color:#aac3df;font-weight:400;line-height:1.4}.native-plate-cost{font-size:13px;color:#ffdf78}
@media(max-width:1000px){.native-material-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.native-material-art{height:75px}}
@media(max-width:600px){.native-material-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.native-material-grid strong{font-size:11px}.native-material-grid span{font-size:10px}.native-material-art{height:65px}.native-plate-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.native-plate-picker strong{font-size:13px}}

/* Match the Windows hub proportions; account forms have their own modal. */
.home-top{height:calc(190 * var(--native-unit))}
.home-top .sidebar{position:relative;justify-content:center}
.hub-account-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;color:#a4c9ee;margin-top:4px}
.hub-account-actions .text-button{font-size:11px;min-height:24px;padding:2px 8px}
.home-promotion .home-game-title,.home-promotion #home-banner-caption{display:none}
.banner-panel .home-carousel{height:calc(164 * var(--native-unit));border-radius:18px;background:#0b162b;overflow:hidden}
.home-banner-open img{object-fit:contain;border-radius:18px}
.game-menu-layout #home-panel .home-card{background-color:#0b2c54}
.game-menu-layout #home-panel .home-card[data-menu=history]{background-color:#0b2c54}
#account-dialog .account-card{margin:0;border:0;padding:8px 0}
#account-dialog .section-heading:has(#account-heading){display:none}
#account-dialog .build-info{font-size:11px;margin:12px 0 0;color:#aac3df}
.game-menu-layout .hub-identity .sidebar-heading h1{font-size:clamp(20px,calc(32 * var(--native-unit)),36px)}
.game-menu-layout .home-card .home-card-title{font-weight:500;text-transform:uppercase}
@media(min-width:1000px){
 .game-menu-layout .workspace{padding-top:38px;padding-bottom:32px}
 #home-panel{margin:auto}
 #menu-pages{width:min(1560px,calc(100vw - 40px));max-height:calc(100dvh - 42px);min-height:0}
 .game-menu-layout[data-menu-page=database] #menu-pages,.game-menu-layout[data-menu-page=play] #menu-pages[data-simple-menu=true]{width:535px;padding:32px 48px 96px}
 .game-menu-layout[data-menu-page=database] .game-button-list,.game-menu-layout[data-menu-page=play] #menu-pages[data-simple-menu=true] .game-button-list{width:100%;max-width:none;margin:0}
 .game-menu-layout[data-menu-page=database] .game-button-list .button{min-height:65px;font-size:21px}
 .native-page-brand img{max-height:80px}
}
@media(max-width:999px){.home-top{height:auto}.hub-account-actions{flex-wrap:wrap}.home-top .sidebar{min-height:170px}.banner-panel .home-carousel{min-height:130px}}

/* Native database lists and leaderboard rows. */
.native-ranking-tabs{display:flex;gap:12px;margin:0 0 12px}.native-ranking-tabs>.button{flex:1;min-height:54px;font-size:20px}
.native-ranking-table{border-collapse:separate;border-spacing:0 5px;width:100%;text-align:center}.native-ranking-table th{background:#fff9ec!important;color:#20416b;font-size:16px}.native-ranking-table td{background:#103456;padding:10px!important;font-size:22px;text-align:center}.native-ranking-table td:nth-child(2){text-align:left}.native-ranking-table td:first-child{border-radius:14px 0 0 14px}.native-ranking-table td:last-child{border-radius:0 14px 14px 0}.native-ranking-table .button{background:none;border:0;box-shadow:none;font-size:22px;padding:0;text-align:left}
.native-ranking-table [data-medal="1"] td{background:linear-gradient(#a9831d,#533500);color:#ffe186}.native-ranking-table [data-medal="2"] td{background:linear-gradient(#6f8295,#263a4a)}.native-ranking-table [data-medal="3"] td{background:linear-gradient(#b07f52,#633a16);color:#f6c99d}
.native-usage-list{display:grid;gap:8px}.native-usage-list>button{display:grid;grid-template-columns:40px 64px minmax(0,1fr) auto;align-items:center;text-align:left;gap:16px;background:none;box-shadow:none;border:0;min-height:74px}.native-usage-list img{width:64px;height:64px;object-fit:contain}
.native-move-library{display:grid;grid-template-columns:minmax(180px,28%) minmax(0,1fr);gap:16px;margin-top:12px;min-height:450px}.native-move-list{display:grid;align-content:start;gap:6px;max-height:60dvh;overflow:auto;border:2px solid #168dff;border-radius:14px;padding:10px}.native-move-list>.button{min-height:45px}.native-move-detail{border:2px solid #168dff;border-radius:14px;padding:24px;overflow:auto;max-height:60dvh}.native-move-detail>p{margin:18px 0}.native-move-figures{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:16px}.native-move-figures>.button{display:flex;flex-direction:column;min-width:0;padding:10px}.native-move-figures img{width:100%;height:160px;object-fit:contain}
/* Collection keeps the native two-column rows beside a full figure card. */
.account-feature-content[data-view=collection] .account-figure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.account-feature-content[data-view=collection] .account-figure-option{display:grid;grid-template-columns:60px minmax(0,1fr) 32px;grid-template-rows:1fr 1fr;min-height:66px;padding:5px 10px;gap:0 8px}
.account-feature-content[data-view=collection] .account-figure-option .account-art{grid-row:1/3;width:56px;height:56px}.account-feature-content[data-view=collection] .account-figure-option strong{font-size:16px;align-self:end}.account-feature-content[data-view=collection] .account-figure-option small:last-child{grid-column:2;font-size:13px;align-self:start}.account-feature-content[data-view=collection] .native-rarity{grid-column:3;grid-row:1/3}
@media(max-width:999px){.native-shop-frame{grid-template-columns:1fr}.native-shop-banner{display:none}.native-shop-items .account-figure-grid,.account-feature-content[data-view=inventory] .native-item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.native-shop-tabs{flex-wrap:wrap}.native-shop-tabs>.account-action{font-size:16px}.native-move-figures{grid-template-columns:repeat(2,minmax(0,1fr))}.native-ranking-table td,.native-ranking-table .button{font-size:15px}}
@media(max-width:600px){.native-move-library{grid-template-columns:1fr}.native-move-list{max-height:180px}.native-usage-list>button{grid-template-columns:24px 44px 1fr}.native-usage-list>button>span:last-child{grid-column:3}.native-usage-list img{width:44px;height:44px}.native-shop-toolbar{flex-wrap:wrap}.native-ranking-table{font-size:11px}.native-ranking-table td,.native-ranking-table .button{font-size:12px}.native-ranking-tabs>.button{font-size:16px}}

.dashboard-rarity{height:28px!important;width:auto!important;object-fit:contain;max-width:50px;margin:0 auto}
#settings-dialog{width:min(1320px,94vw)}.native-settings-columns{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:16px;margin-bottom:20px}.native-settings-panel{border:2px solid #168dff;border-radius:14px;padding:16px;background:#0b162b;min-width:0}.native-settings-panel>.native-section-title{font-size:20px;margin:0 0 22px}.native-settings-panel .button{width:100%}.native-settings-panel .setting-row{font-size:15px}
@media(min-width:1000px){
 #menu-pages[data-account-view=shop],#menu-pages[data-account-view=inventory]{background:transparent;border:0;box-shadow:none;padding-top:0}
 #menu-pages[data-account-view=shop] .native-page-brand img{display:none}
 #menu-pages[data-account-view=teams]{width:min(1140px,95vw);isolation:isolate;background-image:var(--native-team-browser);background-size:100% 100%;border:0;padding:155px 24px 92px}
 #menu-pages[data-account-view=teams]::before{content:"";position:absolute;inset:15% 2% 3%;border-radius:26px;background:#0b162b;z-index:-1}
 #menu-pages[data-account-view=teams] .native-page-brand img{display:none}
 #menu-pages[data-account-view=teams] #menu-page-heading{position:absolute;top:16%;left:0;right:0}
 #menu-pages[data-account-view=teams] #menu-page-title{font-size:32px}
 #menu-pages[data-account-view=teams] #account-features-panel{margin-top:32px}
}
@media(max-width:800px){.native-settings-columns{grid-template-columns:1fr}.native-history-layout{grid-template-columns:1fr}.native-history-rows{max-height:35dvh}}

.game-menu-layout:not([data-menu-page=home]) .workspace{min-height:100dvh;padding:20px 20px 30px}
@media(min-width:1000px){#menu-pages{max-height:calc(100dvh - 50px)}.account-team-manager .match-preview-slot .account-art{height:65px}.account-team-manager .match-preview-slot small{display:none}.account-team-manager .match-preview-slot{gap:0;padding:6px 4px}.account-team-manager .match-preview-slots{margin:10px 0}.account-team-manager .match-preview-slot strong{font-size:13px}.native-team-more{font-size:11px;margin-top:8px}.native-team-more .account-action{font-size:12px;margin:6px}}
.native-figure-detail .native-detail-identity{grid-template-columns:minmax(0,1fr) 110px}.native-figure-detail .native-detail-identity>img{grid-column:2;grid-row:1/3}.native-figure-detail .native-detail-identity>p{grid-column:1;text-align:left}.native-figure-detail>h4{text-align:left;padding:12px 8px 0;border-top:1px solid #7d8da577}.native-figure-detail>h4.native-card-section{font-size:14px}.native-card-moves{width:100%;border-collapse:separate;border-spacing:2px;font-size:12px;text-align:left}.native-card-moves :is(td,th){padding:8px;border:1px solid #168dff;vertical-align:top}.native-card-moves th{font-size:11px}.native-card-moves [data-move-type=purple] td{border-color:#a65bdb}.native-card-moves [data-move-type=red] td{border-color:#de5068}.native-card-moves [data-move-type=gold] td{border-color:#d6ad40}

.native-figure-detail{max-height:calc(100dvh - 245px);overflow:auto}.account-figure-option img.native-rarity{width:28px;height:28px;object-fit:contain;align-self:center}.native-library-layout>aside{min-width:0;min-height:0}

@media(min-width:1000px){
 .game-menu-layout[data-menu-page=home] .workspace{padding:64px 20px 38px;min-height:100dvh}
 .game-menu-layout[data-menu-page=home] .topbar{top:10px;bottom:auto;left:max(20px,calc((100vw - 1492px)/2))}
 .game-menu-layout[data-menu-page=home] .activity-status{top:10px;bottom:auto}
 .game-menu-layout[data-menu-page=store] .topbar .icon-control{display:none}
 .game-menu-layout[data-menu-page=store] .native-page-brand{text-align:left;padding-left:135px}
 .game-menu-layout[data-menu-page=store] #menu-page-title{font-size:38px}
}

/* Inventory: direct port of InventoryPage's 1672 x 941 design canvas.
   All artwork, typography and controls share the same uncapped fit transform. */
body.game-menu-layout[data-menu-page=inventory]{overflow:hidden;--menu-art:url("menu_art/hub.a5c416a67197b2957277.webp");background-image:linear-gradient(#7488aa,#7488aa),var(--menu-art);background-blend-mode:multiply,normal;background-color:#fff}
body[data-menu-page=inventory] .workspace{height:100dvh;min-height:0;padding:0;overflow:hidden}
.game-menu-layout.native-reference-page #menu-pages{position:fixed;left:50%;top:50%;width:1672px;height:941px;max-width:none;max-height:none;min-height:0;padding:0;margin:0;border:0;border-radius:0;background:var(--reference-chrome,var(--native-inventory-chrome)) 0 0/1672px 941px no-repeat;box-shadow:none;overflow:visible;transform:translate(-50%,-50%) scale(var(--native-page-scale,1));transform-origin:center;box-sizing:border-box}
body[data-menu-page=inventory] #menu-page-heading,body[data-menu-page=inventory] .native-page-brand{position:static;display:block;width:auto;height:auto;margin:0;padding:0;border:0;background:none;min-height:0;overflow:visible}
body[data-menu-page=inventory] #menu-page-title{position:absolute;left:286px;top:9px;width:450px;height:56px;padding:0;margin:0;border:0;display:flex;align-items:center;justify-content:flex-start;font-size:48px;line-height:56px;color:#fff;text-align:left;text-shadow:0 0 2px #0765ee;outline:0}
body[data-menu-page=inventory] .native-page-brand>img{display:block;position:absolute;left:840px;top:4px;width:650px;height:102px;max-width:none;max-height:none;object-fit:contain}
body[data-menu-page=inventory] .native-page-brand::after{content:"Y O U R   I T E M S.   Y O U R   J O U R N E Y.";position:absolute;left:289px;top:63px;width:600px;height:26px;font-size:16px;line-height:26px;color:#8cbee9;text-align:left;white-space:pre}
body[data-menu-page=inventory] #back-home{position:absolute;left:30px;top:884px;width:371px;height:50px;min-height:0;padding:8px;font-size:21px;line-height:26px;display:flex;justify-content:center;align-items:center;gap:22px;margin:0;border-radius:15px;background:#08244c;border:2px solid #168dff;z-index:2}
.inventory-back-icon{width:32px;height:32px;object-fit:contain}
body[data-menu-page=inventory] #menu-pages::after{content:"S A M E  P A S S I O N.\A A  B R I G H T E R  W O R L D.";white-space:pre;position:absolute;left:1391px;top:875px;width:270px;height:43px;font-size:12px;line-height:20px;color:#8cbee9;pointer-events:none}
.inventory-settings-slot{display:none}body[data-menu-page=inventory] .inventory-settings-slot{display:block;position:absolute;left:27px;top:18px;width:80px;height:76px;z-index:3}
body[data-menu-page=inventory] .inventory-settings-slot #open-settings{display:flex;width:80px;height:76px;min-height:0;max-width:none;align-items:center;justify-content:center;padding:8px;background:#08244c;border:2px solid #168dff;border-radius:15px;box-shadow:0 3px 4px #0004}
body[data-menu-page=inventory] .inventory-settings-slot #open-settings img{display:block;width:36px;height:36px}
body[data-menu-page=inventory] #account-features-panel,body[data-menu-page=inventory] #account-features-host,body[data-menu-page=inventory] .account-feature-content{position:static;display:block;width:100%;height:100%;max-height:none;max-width:none;padding:0;margin:0;border:0;overflow:visible;background:none}
body[data-menu-page=inventory] .account-feature-nav,body[data-menu-page=inventory] .account-feature-content>h2,body[data-menu-page=inventory] .account-feature-content>.account-help{display:none}
body[data-menu-page=inventory] #menu-page-status{display:none}
body[data-menu-page=inventory] .account-feature-status{position:absolute;left:121px;top:112px;max-width:1497px;min-height:0;margin:0;padding:0;font-size:15px;line-height:22px;z-index:2}
.inventory-page{font-family:"Trebuchet MS","Noto Sans",Arial,sans-serif;font-size:18px;font-weight:700;color:#edf5ff}
.inventory-toolbar{position:absolute;left:121px;top:168px;width:1497px;height:94px;display:flex;flex-direction:column;gap:13px}
.inventory-tools{display:grid;grid-template-columns:minmax(0,1fr) 212px 198px 186px 138px 254px;gap:14px;height:50px;align-items:center}
.inventory-search,.inventory-filter,.inventory-coins{height:50px;box-sizing:border-box;border:2px solid #168dff;border-radius:15px;background:#0b162b;color:#edf5ff;display:flex;align-items:center;gap:17px;min-width:0}
.inventory-search{padding:10px}.inventory-search:focus-within{border-color:#23ceff}.inventory-search>.inventory-glyph{width:30px;height:28px;flex-shrink:0;color:#edf5ff}
body[data-menu-page=inventory] .inventory-search input{border:0;border-radius:0;box-shadow:none;padding:0;margin:0;min-height:0;width:100%;height:28px;min-width:0;background:none;font-size:17px;outline:0;line-height:28px}
.inventory-filter{position:relative;padding:0;gap:0}.inventory-filter>.inventory-glyph{position:absolute;left:13px;width:28px;height:28px;pointer-events:none}
body[data-menu-page=inventory] .inventory-filter select{appearance:none;-webkit-appearance:none;width:100%;height:100%;border:0;background:none;color:#edf5ff;margin:0;min-height:0;padding:8px 20px 8px 50px;border-radius:13px;font-size:16px;line-height:20px;outline:0;cursor:pointer;text-overflow:ellipsis}
.inventory-filter::after{content:"▾";position:absolute;right:7px;font-size:15px;pointer-events:none}.inventory-filter:focus-within{border-color:#23ceff}.inventory-filter option{background:#0b162b;color:#edf5ff}
.inventory-view-buttons{display:grid;grid-template-columns:66px 66px;gap:6px;height:50px}
body[data-menu-page=inventory] .inventory-view-buttons .account-action{height:49px;min-height:0;padding:4px;margin:0;border-radius:15px;border:2px solid #168dff;display:flex;align-items:center;justify-content:center;background:#0b162b}
.inventory-view-buttons .inventory-glyph{width:32px;height:32px}.inventory-view-buttons .account-action[aria-pressed=true]{background:#08244c!important}
.inventory-coins{padding:10px;justify-content:center;gap:10px;border-width:3px;border-radius:24px;background:#08244c;white-space:nowrap}.inventory-coins span{font-size:14px;color:#aac3df}.inventory-coins strong{font-size:23px;color:#fff}.inventory-coin-icon{width:32px;height:32px;object-fit:contain}
body[data-menu-page=inventory] .inventory-results{font-size:17px;line-height:24px;color:#edf5ff;margin:0;padding:0}
.inventory-scroll{position:absolute;left:121px;top:271px;width:1507px;height:559px;overflow-x:hidden;overflow-y:scroll;overscroll-behavior:contain;outline:0;scrollbar-color:#65aaf1 #102d54;scrollbar-width:thin}
.inventory-scroll:focus-visible{outline:2px solid #23ceff;outline-offset:3px}.inventory-scroll::-webkit-scrollbar{width:9px}.inventory-scroll::-webkit-scrollbar-track{background:#102d54;border-radius:4px}.inventory-scroll::-webkit-scrollbar-thumb{background:#65aaf1;border-radius:4px}
.inventory-sections{display:flex;flex-direction:column;gap:20px;width:1507px;padding:0 12px 0 0;box-sizing:border-box;min-height:100%}
body[data-menu-page=inventory] .native-inventory-section{margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
body[data-menu-page=inventory] .native-inventory-section>.native-section-title{box-sizing:border-box;display:block;border:2px solid #168dff;border-radius:15px;background:#08244c;padding:6px;margin:0;font-size:19px;line-height:23px;min-height:39px;text-align:left;color:#fff;letter-spacing:0}
body[data-menu-page=inventory] .native-item-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px 16px;margin:0;padding:0}
body[data-menu-page=inventory] .inventory-item{--item-accent:#20baff;--item-border:#63ceff;--item-pill:#1a99d1;--item-wash:linear-gradient(160deg,#093447 8.5714%,#10607d 35.0857%,#1b3047 54.9714%,#142337 91.4286%);box-sizing:border-box;position:relative;display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:0;min-height:260px;margin:0;padding:12px;border:0;border-radius:20px;background:var(--item-wash);color:#edf5ff;overflow:hidden}
.inventory-item::after{content:"";pointer-events:none;position:absolute;inset:1px;border:3px solid var(--item-border);border-radius:20px}.inventory-item::before{content:"";pointer-events:none;position:absolute;left:15px;right:15px;top:14px;height:8px;background:repeating-linear-gradient(135deg,transparent 0 3px,var(--item-border) 3px 5px,transparent 5px 7px);clip-path:polygon(0 0,21px 0,21px 100%,0 100%,0 0,100% 0,calc(100% - 21px) 0,calc(100% - 21px) 100%,100% 100%,100% 0)}
body[data-menu-page=inventory] .inventory-item[data-rarity=C]{--item-border:#6ed1a0;--item-pill:#279761;--item-wash:linear-gradient(160deg,#0d3421 8.5714%,#195f3d 35.0857%,#1b3047 54.9714%,#142337 91.4286%)}
body[data-menu-page=inventory] .inventory-item[data-rarity=UC]{--item-border:#5daff0;--item-pill:#1474b7;--item-wash:linear-gradient(160deg,#07283e 8.5714%,#0c4a74 35.0857%,#1b3047 54.9714%,#142337 91.4286%)}
body[data-menu-page=inventory] .inventory-item[data-rarity=R]{--item-border:#b77eed;--item-pill:#7d39bc;--item-wash:linear-gradient(160deg,#2b1440 8.5714%,#4f2477 35.0857%,#1b3047 54.9714%,#142337 91.4286%)}
body[data-menu-page=inventory] .inventory-item[data-rarity=EX]{--item-border:#f2859e;--item-pill:#c24260;--item-wash:linear-gradient(160deg,#421621 8.5714%,#7b2a3d 35.0857%,#1b3047 54.9714%,#142337 91.4286%)}
body[data-menu-page=inventory] .inventory-item[data-rarity=UX]{--item-border:#74d4de;--item-pill:#2f9eab;--item-wash:linear-gradient(160deg,#10363a 8.5714%,#1e646c 35.0857%,#1b3047 54.9714%,#142337 91.4286%)}
body[data-menu-page=inventory] .inventory-item[data-rarity=GOLD]{--item-border:#168dff;--item-pill:#bf931d;--item-wash:linear-gradient(160deg,#41320a 8.5714%,#795d12 35.0857%,#1b3047 54.9714%,#142337 91.4286%)}
.inventory-item-art{width:100%;display:flex;flex-direction:column;gap:4px;position:relative;min-width:0}
.inventory-rarity{box-sizing:border-box;align-self:center;display:flex;align-items:center;justify-content:center;position:relative;z-index:1;width:170px;max-width:calc(100% - 38px);height:24px;font-size:15px;line-height:24px;color:#fff;white-space:nowrap}
.inventory-rarity::before{content:"";z-index:-1;position:absolute;top:-5px;left:0;right:0;height:30px;border:2px solid var(--item-border);border-radius:15px;background:var(--item-pill)}
.inventory-item-icon{position:relative;height:96px;min-width:0}.inventory-item-icon>img{position:absolute;inset:0;width:100%;height:100%;max-height:none;max-width:none;object-fit:contain;margin:0;padding:0;aspect-ratio:auto}
.inventory-item-icon>.inventory-watermark{opacity:.1}.inventory-item-icon>.native-inventory-art:not([src]){display:block}
.inventory-item-details{display:flex;flex-direction:column;gap:2px;text-align:center;min-width:0}
body[data-menu-page=inventory] .inventory-item-name{font-size:18px;line-height:21px;text-transform:none;color:#edf5ff;overflow-wrap:anywhere;font-weight:700}
body[data-menu-page=inventory] .inventory-item-count{font-size:16px;line-height:19px;color:#edf5ff}
.inventory-item-actions{display:flex;flex-direction:column;gap:4px;min-width:0}.inventory-quantity{display:grid;grid-template-columns:44px minmax(0,1fr) 44px 44px;gap:4px;min-width:0}
body[data-menu-page=inventory] .inventory-item-actions .account-action{font-size:14px;line-height:18px;box-sizing:border-box;height:40px;min-height:40px;min-width:0;margin:0;padding:4px;border:2px solid #168dff;border-radius:15px;background:#08244c;box-shadow:0 3px 4px #0004;white-space:nowrap;text-transform:none}
body[data-menu-page=inventory] .inventory-item-actions .inventory-minus,body[data-menu-page=inventory] .inventory-item-actions .inventory-plus,body[data-menu-page=inventory] .inventory-item-actions .inventory-max{background:#0b162b}
body[data-menu-page=inventory] .inventory-item-actions .account-action:disabled{background:#111e31;border-color:#58667a;color:#91a6bf;opacity:1;cursor:default}
body[data-menu-page=inventory] .inventory-item-actions .account-action:hover:enabled{background:#0d345e;border-color:#23ceff}
body[data-menu-page=inventory] .inventory-coin-preview{font-size:14px;line-height:17px;text-align:center;color:#f5d392;margin:0}
body[data-menu-page=inventory] .inventory-item-hint{font-size:15px;line-height:19px;text-align:center;color:#aac3df;margin:0}
body[data-menu-page=inventory] .inventory-empty{font-size:18px;line-height:24px;color:#aac3df;text-align:center;margin:0;padding:0}
.inventory-sections[data-list=true] .native-item-grid{grid-template-columns:1fr}.inventory-sections[data-list=true] .inventory-item{flex-direction:row;align-items:center;gap:18px;min-height:180px;background-color:#142337;background-size:190px 100%;background-repeat:no-repeat}.inventory-sections[data-list=true] .inventory-item-art{flex:0 0 164px}.inventory-sections[data-list=true] .inventory-item-icon{height:128px}.inventory-sections[data-list=true] .inventory-item-details{flex:1;text-align:left}.inventory-sections[data-list=true] .inventory-item-name{font-size:21px;line-height:26px}.inventory-sections[data-list=true] .inventory-item-count{font-size:19px;line-height:23px}.inventory-sections[data-list=true] .inventory-item-actions{flex:0 0 328px}.inventory-sections[data-list=true] .inventory-rarity{max-width:170px}.inventory-sections[data-list=true] .inventory-item-hint{text-align:left}
.inventory-pending{padding:12px;border:2px solid #23ceff;border-radius:15px;background:#0b162b}.inventory-pending p{margin:0 0 8px}

body[data-menu-page=inventory] #back-home{padding-left:62px;padding-right:8px}.inventory-back-icon{position:absolute;left:8px;top:7px}
.inventory-chat-slot{display:none}body[data-menu-page=inventory] .inventory-chat-slot{display:block;position:absolute;left:116px;top:35px;width:106px;height:42px;z-index:3}
body[data-menu-page=inventory] .inventory-chat-slot .corner-chat{display:block;width:106px;height:42px;min-width:0;min-height:0;margin:0;padding:7px 12px;line-height:24px;font-size:16px;border:3px solid #168dff;border-radius:11px;background:linear-gradient(#082653,#00102b);box-shadow:0 0 8px 3px #168dff88,inset 0 0 0 2px #0b508b}
body[data-menu-page=inventory] .game-footer{font-size:14px;bottom:8px;padding:0 14px;min-height:20px;gap:36px}body[data-menu-page=inventory] .game-footer :is(.app-recommendation,.site-return){display:none}

/* AvatarStore and MatchHistoryPage share Inventory's verified native canvas. */
body.native-reference-page{overflow:hidden}
body.native-reference-page .workspace{height:100dvh;min-height:0;padding:0;overflow:hidden}
body.native-reference-page :is(#menu-page-heading,.native-page-brand){position:static;display:block;width:auto;height:auto;margin:0;padding:0;border:0;min-height:0;background:none;overflow:visible}
body.native-reference-page :is(#account-features-panel,#account-features-host,.account-feature-content,#hub-panel,#hub-features-host,.hub-content){position:static;width:100%;height:100%;min-height:0;max-height:none;max-width:none;margin:0;padding:0;border:0;background:none;overflow:visible}
body.native-reference-page :is(.account-feature-nav,.content-tabs,#menu-page-status){display:none}
body.native-reference-page :is(.account-feature-status,#hub-features-host>.status-message){position:absolute;left:121px;top:112px;max-width:1497px;min-height:0;padding:0;margin:0;font-size:15px;line-height:22px;z-index:2}
body[data-menu-page=store]{--reference-chrome:var(--native-shop-chrome);background-image:linear-gradient(#04132be0,#04132be0),linear-gradient(#7a8fb3,#7a8fb3),var(--menu-art);background-blend-mode:normal,multiply,normal;background-color:#fff}
body[data-menu-page=store] #menu-page-title{position:absolute;left:153px;top:7px;width:520px;height:49px;display:flex;align-items:center;margin:0;padding:0;border:0;font-size:41px;line-height:49px;text-align:left;color:#edf5ff;outline:0}
body[data-menu-page=store] .native-page-brand::after{content:"E X P R E S S  Y O U R S E L F.  A  B R I G H T E R  T O M O R R O W  A W A I T S.";white-space:pre;position:absolute;left:154px;top:53px;width:730px;height:24px;font-size:13px;line-height:24px;color:#8cbee9}
body[data-menu-page=store] #menu-pages::before{content:"T R A I N    |    E X P L O R E    |    B A T T L E    |    B E L O N G";position:absolute;left:1047px;top:20px;width:420px;height:26px;font-size:12px;line-height:26px;color:#8cbee9;white-space:pre}
body[data-menu-page=store] #menu-pages::after{content:"D I F F E R E N T\A T R A I N E R S\A B I G G E R\A S T O R I E S";position:absolute;left:1518px;top:20px;width:139px;height:86px;text-align:center;white-space:pre;line-height:21px;font-size:12px;color:#8cbee9}
body[data-menu-page=store] .native-page-brand>img,body[data-menu-page=store] .game-footer{display:none}
body[data-menu-page=store] #back-home{position:absolute;left:37px;top:863px;width:274px;height:61px;display:flex;align-items:center;justify-content:center;gap:18px;margin:0;padding:6px 6px 6px 38px;border:1px solid #168dff;border-radius:32px;background:#0b162b;font-size:20px;line-height:26px;z-index:2}
body[data-menu-page=store] .inventory-back-icon{left:12px;top:14px;width:32px;height:32px}
body[data-menu-page=store] .inventory-chat-slot{display:block;position:absolute;left:20px;top:20px;z-index:5}body[data-menu-page=store] .inventory-chat-slot .corner-chat{width:106px;height:42px;min-height:0;min-width:0;padding:7px 12px;font-size:16px}
.shop-reference{font-size:18px;color:#edf5ff}.shop-compass{position:absolute;left:35px;top:0;width:90px;height:87px;object-fit:contain}
body[data-menu-page=store] .native-shop-tabs{position:absolute;left:122px;top:106px;width:1266px;height:63px;display:flex;gap:12px;margin:0;padding:0;flex-wrap:nowrap}
body[data-menu-page=store] .native-shop-tabs>.account-action{box-sizing:border-box;flex:1;min-width:0;min-height:0;height:63px;display:flex;align-items:center;justify-content:center;gap:22px;margin:0;padding:10px;border:2px solid #168dff;border-radius:18px;background:#0b162b;font-size:21px;line-height:26px}
body[data-menu-page=store] .native-shop-tabs>.account-action[aria-pressed=true]{background:#08244c;border-color:#23ceff}.shop-category-icon{width:36px;height:36px;object-fit:contain}
body[data-menu-page=store] .native-shop-frame,body[data-menu-page=store] .native-shop-items{display:contents}
body[data-menu-page=store] .native-shop-banner{display:block;position:absolute;left:10px;top:170px;width:423px;height:674px;max-height:none;max-width:none;margin:0;border:0;border-radius:28px;object-fit:fill}
body[data-menu-page=store] .native-shop-toolbar{display:contents;margin:0}
.shop-search{box-sizing:border-box;position:absolute;left:443px;top:183px;width:515px;height:49px;border:2px solid #168dff;border-radius:18px;background:#0b162b;padding:8px;display:flex;gap:14px;align-items:center}.shop-search .inventory-glyph{width:28px;height:26px;flex-shrink:0}
body[data-menu-page=store] .shop-search input{border:0;padding:0;margin:0;width:100%;min-width:0;height:29px;min-height:0;background:none;outline:0;font-size:18px}
body[data-menu-page=store] .shop-filter{box-sizing:border-box;position:absolute;top:183px;width:139px;height:49px;border:2px solid #168dff;border-radius:18px;background:#0b162b;color:#edf5ff;padding:10px 5px;margin:0;font-size:16px;text-align:center;cursor:pointer}.shop-filter-region{left:966px}.shop-filter-availability{left:1112px}.shop-filter-sort{left:1259px}
.shop-coin-badge{box-sizing:border-box;position:absolute;left:1416px;top:144px;width:238px;height:88px;padding:17px;border:2px solid #168dff;border-radius:18px;background:#0b162b;display:flex;align-items:center;gap:14px}.shop-coin-icon{width:56px;height:56px;object-fit:contain}.shop-coin-badge>div{display:flex;flex-direction:column;gap:0}.shop-coin-badge strong{font-size:30px;line-height:35px}.shop-coin-badge span{font-size:13px;line-height:18px;color:#8cbee9;white-space:nowrap}
body[data-menu-page=store] .native-shop-items>.account-figure-grid{position:absolute;left:446px;top:247px;width:1194px;height:586px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,286px);gap:14px 12px;padding:0;margin:0}
body[data-menu-page=store] .account-shop-card{box-sizing:border-box;position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;width:auto;height:286px;min-height:286px;min-width:0;margin:0;padding:12px 10px 17px;border:2px solid #168dff;border-radius:18px;background:#0b162b;overflow:hidden}
body[data-menu-page=store] .account-shop-card>.account-art{position:relative;width:100%;height:164px;min-height:164px;max-height:none;max-width:none;aspect-ratio:auto;object-fit:contain;flex:1}
.shop-card-watermark{position:absolute;left:35px;top:34px;width:152px;height:152px;opacity:.1;object-fit:contain;pointer-events:none}
body[data-menu-page=store] .account-shop-card h3{position:relative;width:100%;font-size:18px;line-height:21px;min-height:21px;margin:0;padding:0;color:#edf5ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shop-item-price{position:relative;display:flex;justify-content:center;align-items:center;gap:9px;height:24px;font-size:19px;line-height:23px}.shop-price-icon{width:22px;height:22px;object-fit:contain}
body[data-menu-page=store] .account-shop-card>.account-action{position:relative;box-sizing:border-box;width:100%;height:38px;min-height:38px;margin:0;padding:5px;border:2px solid #168dff;border-radius:18px;background:#08244c;font-size:16px;line-height:20px;color:#eff7ff}
body[data-menu-page=store] .account-shop-card>.account-action:disabled{opacity:1;background:#0b162b;color:#c3d7f0;border-color:#168dff}
body[data-menu-page=store] .pagination{position:absolute;left:451px;top:870px;width:770px;height:46px;display:flex;justify-content:center;align-items:center;gap:10px;padding:0;margin:0}
body[data-menu-page=store] .pagination>.account-action{width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:6px;border:1px solid #168dff;border-radius:32px;background:#0b162b;font-size:17px}
body[data-menu-page=store] .pagination>.account-action[aria-pressed=true]{border-width:2px;border-color:#63d9ff;background:#08244c}
body[data-menu-page=store] .shop-results{position:absolute;left:446px;top:833px;width:1194px;height:24px;text-align:center;font-size:15px;line-height:24px;color:#8cbee9;margin:0;padding:0}
body[data-menu-page=history]{--reference-chrome:var(--native-history-chrome);background-image:linear-gradient(#08244c24,#08244c24),linear-gradient(#7a8fb3,#7a8fb3),var(--menu-art);background-blend-mode:normal,multiply,normal;background-color:#fff}
body[data-menu-page=history] #menu-page-title{position:absolute;left:174px;top:14px;width:440px;height:48px;display:flex;align-items:center;margin:0;padding:0;border:0;outline:0;font-size:38px;line-height:48px;color:#f1f7ff;text-align:left}
body[data-menu-page=history] .native-page-brand>img{display:none}body[data-menu-page=history] .native-page-brand::after{content:"CHAMPION ARCHIVE  /  RELIVE YOUR BATTLES";position:absolute;left:176px;top:63px;width:430px;height:25px;font-size:14px;line-height:25px;color:#f1f7ff}
body[data-menu-page=history] #menu-pages::after{content:"YOUR DUELS  /  EVERY TURN TELLS A STORY";position:absolute;left:1334px;top:56px;width:310px;height:26px;font-size:12px;line-height:26px;color:#f1f7ff}
body[data-menu-page=history] .inventory-settings-slot{display:block;position:absolute;left:673px;top:20px;width:62px;height:62px;z-index:3}body[data-menu-page=history] .inventory-settings-slot #open-settings{display:flex;width:62px;height:62px;min-height:0;padding:8px;border:2px solid #168dff;border-radius:16px;background:#08244c;align-items:center;justify-content:center}body[data-menu-page=history] .inventory-settings-slot #open-settings img{width:32px;height:32px}
body[data-menu-page=history] .inventory-chat-slot{display:block;position:absolute;left:746px;top:30px;z-index:3}body[data-menu-page=history] .inventory-chat-slot .corner-chat{width:106px;height:42px;min-height:0;min-width:0;font-size:16px;padding:7px 12px}
body[data-menu-page=history] #back-home{position:absolute;left:32px;top:871px;width:220px;height:48px;min-height:0;margin:0;padding:8px 8px 8px 36px;border:2px solid #168dff;border-radius:16px;background:#08244c;font-size:16px;line-height:24px;display:flex;justify-content:center;align-items:center;z-index:2}body[data-menu-page=history] .inventory-back-icon{left:8px;top:13px;width:19px;height:19px}
body[data-menu-page=history] .game-footer{font-size:14px;bottom:8px;padding:0 14px;gap:36px}body[data-menu-page=history] .game-footer :is(.app-recommendation,.site-return){display:none}
body[data-menu-page=history] .native-history-layout{position:static;display:block;margin:0;padding:0;min-height:0;font-size:16px;line-height:20px}
body[data-menu-page=history] .native-history-list{position:absolute;left:32px;top:110px;width:614px;height:750px;box-sizing:border-box;display:flex;flex-direction:column;gap:8px;padding:12px;border:2px solid #168dff;border-radius:24px;background:#08244cf5}
body[data-menu-page=history] .native-history-list .native-ranking-tabs{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:4px;margin:0;padding:0}
body[data-menu-page=history] .native-history-list .native-ranking-tabs>.button{flex:none;display:flex;gap:6px;align-items:center;justify-content:center;height:46px;min-height:46px;box-sizing:border-box;border:2px solid #168dff;border-radius:13px;background:#08244c;padding:8px;font-size:12px;line-height:16px;color:#f1f7ff;white-space:nowrap}.history-tab-icon{width:18px;height:18px;object-fit:contain}
body[data-menu-page=history] .native-ranking-tabs>.button[aria-pressed=true]{background:#09365a;border-color:#23ceff}
.history-search-row{display:flex;gap:4px;margin:0;padding:0;height:46px;flex-shrink:0}.history-search-row input{flex:1;min-width:0;font-size:14px!important;min-height:0;height:46px;box-sizing:border-box;margin:0}.history-search-row select{width:160px;margin:0!important;padding:8px!important;min-height:0;font-size:12px!important;height:46px;box-sizing:border-box}
.history-lookup{display:flex;align-items:center;gap:10px;min-height:46px}.history-lookup>.button{min-height:46px;font-size:16px;white-space:nowrap;padding:8px}.history-lookup>span{font-size:12px;color:#bad4f4;line-height:16px}
body[data-menu-page=history] .native-history-rows{display:flex;flex-direction:column;gap:6px;flex:1;min-height:0;max-height:none;overflow:auto;scrollbar-width:thin;scrollbar-color:#65aaf1 #102d54}
body[data-menu-page=history] .native-history-row{display:flex;flex-direction:row;align-items:center;gap:10px;box-sizing:border-box;height:73px;min-height:73px;margin:0;padding:9px;border:2px solid #168dff;border-radius:16px;background:#08244c!important;text-align:left;overflow:hidden}
body[data-menu-page=history] .native-history-row[aria-pressed=true]{background:#09365a!important;border-color:#23ceff;border-left-width:6px}.history-row-portrait{box-sizing:border-box;display:flex;justify-content:center;align-items:center;flex:0 0 55px;width:55px;height:55px;border:1px solid #168dff;border-radius:16px;background:#0b162b;font-size:25px}.history-row-portrait img{width:100%;height:100%;object-fit:contain}.history-row-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.history-row-text strong{font-size:18px;line-height:21px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-row-text small{font-size:12px;line-height:15px;color:#bad4f4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-row-arrow{font-size:26px;width:14px;color:#67c0ff}
.history-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px;flex-shrink:0}.history-pager>.button{min-width:104px;height:42px;min-height:0;padding:8px;font-size:14px;white-space:nowrap}.history-pager span{font-size:14px;color:#bad4f4;white-space:nowrap}
body[data-menu-page=history] .native-history-detail{box-sizing:border-box;position:absolute;left:660px;top:110px;width:980px;height:750px;padding:0;border:2px solid #168dff;border-radius:24px;background:#08244c;display:block;overflow:hidden}
body[data-menu-page=history] .native-history-detail>.native-section-title{position:absolute;left:28px;top:7px;width:430px;height:42px;display:flex;align-items:center;margin:0;padding:0;border:0;font-size:24px;line-height:29px;color:#f2d178;background:none}
.history-detail-scroll{box-sizing:border-box;position:absolute;left:0;top:53px;width:976px;height:693px;border:2px solid #168dff;border-radius:24px;padding:12px 12px 84px;background:#0b162b;overflow-y:auto;scrollbar-color:#65aaf1 #102d54;scrollbar-width:thin}.history-detail-body{display:flex;flex-direction:column;gap:10px}
.history-detail-meta{display:flex;align-items:center;gap:10px;justify-content:space-between}.history-detail-meta>strong{font-size:22px;line-height:26px}.history-detail-meta>.button{height:30px;min-height:0;margin:0;padding:6px;font-size:11px;line-height:14px}
body[data-menu-page=history] .history-match-date{font-size:14px;line-height:18px;color:#edf5ff;margin:0}
body[data-menu-page=history] .native-history-versus{display:flex;align-items:stretch;gap:10px;margin:0;padding:0;border:0;background:none;min-height:58px;overflow:hidden}.history-player{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-width:0;min-height:58px;padding:6px 12px;border:2px solid #168dff;border-radius:16px;background:#08244c;font-size:28px;line-height:34px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-player[data-outcome=winner]{background:#0d3024}.history-player[data-outcome=loser]{background:#570d23}.history-vs{display:flex;align-items:center;justify-content:center;flex:0 0 36px;font-size:24px}
.history-teams{display:flex;gap:10px}.history-team{flex:1;min-width:0;padding:12px;border:2px solid #168dff;border-radius:16px;background:#08244c}.history-team h3{font-size:17px;line-height:20px;color:#29d8ff;margin:0 0 8px}.history-team[data-side="1"] h3{color:#f786cd}.history-team-icons{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.history-team-icons>.button{min-width:0;min-height:64px;height:64px;border-radius:31px;padding:3px;display:flex;align-items:center;justify-content:center;font-size:16px}.history-team-icons img{width:100%;height:58px;object-fit:contain}.history-team small{display:block;margin-top:6px;color:#aac3df;font-size:12px;line-height:15px}
.history-explore{padding:12px;border:2px solid #168dff;border-radius:16px;background:#08244c}.history-explore h3{font-size:17px;line-height:20px;color:#79caff;margin:0 0 8px}.history-explore p{font-size:14px;line-height:18px;color:#aac3df;margin:0 0 8px}.history-explore small{font-size:11px;color:#aac3df}
.history-actions{position:absolute;left:14px;right:16px;bottom:14px;background:#0b162b;z-index:2}.history-actions>.button{width:100%;height:64px;min-height:64px;box-sizing:border-box;margin:0;border:2px solid #168dff;border-radius:26px;background:#49350f;color:#f2d178;font-size:25px;line-height:30px}
.history-empty{white-space:pre-line;font-size:17px;line-height:24px;text-align:center;color:#aac3df;padding:45px 12px;margin:0}
.history-footer{position:absolute;left:266px;top:871px;width:1374px;height:52px;display:flex;align-items:center;gap:14px}.history-footer>p{flex:1;font-size:14px;line-height:20px;color:#bad4f4;margin:0}.history-footer>.button{width:150px;min-height:48px;margin:0;font-size:16px}

@font-face{font-family:"Native Open Sans";src:url("menu_art/OpenSans-SemiBold.woff2") format("woff2");font-style:normal;font-weight:600;font-display:swap}
body[data-menu-page=store],body[data-menu-page=store] :is(button,input,select,textarea){font-family:"Native Open Sans",sans-serif;font-weight:600}
body[data-menu-page=store] .native-shop-tabs>.account-action{justify-content:flex-start;padding-left:52px;gap:22px}
body[data-menu-page=store] .native-shop-tabs>.account-action[aria-pressed=true] .shop-category-icon{filter:brightness(0) invert(1)}
body[data-menu-page=store] .account-shop-card>.account-action:not(:disabled){border-color:#23ceff;background:#09365a}
body[data-menu-page=store] .account-shop-card>h3,body[data-menu-page=store] .shop-item-price{font-weight:600}
body[data-menu-page=store] .account-shop-card{padding-left:8px;padding-right:8px;padding-top:10px;padding-bottom:15px}.shop-coin-badge{padding:15px}
body[data-menu-page=store] .native-shop-tabs>.account-action{padding-left:28px}
body[data-menu-page=history] .native-page-brand::after{text-align:left}
body[data-menu-page=history] .native-history-detail>.native-section-title{font-size:24px;color:#f2d178}
body[data-menu-page=history] .native-history-list .native-ranking-tabs>.button{font-size:12px;min-width:100px;gap:12px;padding:8px 10px}
body[data-menu-page=history] .native-history-list .native-ranking-tabs>.button:first-child{width:128px}body[data-menu-page=history] .native-history-list .native-ranking-tabs>.button:nth-child(4){width:132px}
body[data-menu-page=history] .native-history-row{gap:10px}.history-result-badge{box-sizing:border-box;flex:0 0 72px;height:28px;display:flex;align-items:center;justify-content:center;font-size:14px;line-height:20px;border:1px solid #4587c0;border-radius:11px;background:#0b162b;color:#bad4f4}.history-result-badge[data-result=win],.history-result-badge[data-result=player_1_win],.history-result-badge[data-result=player_2_win]{background:#0d3024;color:#33f2b3;border-color:#117356}.history-result-badge[data-result=loss]{background:#570d23;color:#ff6178;border-color:#8c2942}
.history-player-laurels{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.history-player-name{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.history-figure-preview{display:flex;flex-direction:column;gap:10px}.history-preview-heading{display:flex;gap:18px;align-items:center}.history-preview-heading img{width:76px;height:76px;object-fit:contain}.history-preview-heading h3{font-size:24px;line-height:29px;color:#edf5ff;margin:0 0 8px}.history-preview-heading small{font-size:14px;color:#79caff}
.history-preview-grid{display:grid;grid-template-columns:1fr 1.75fr;gap:12px}.history-preview-box{padding:10px;border:2px solid #168dff;border-radius:16px;background:#08244c;font-size:14px;line-height:21px}.history-preview-box small{font-size:11px;color:#aac3df;display:block;margin-bottom:8px}.history-preview-box strong{color:#29d8ff}.history-preview-box p{margin:8px 0 0;color:#edf5ff;font-size:14px;line-height:21px}.history-preview-moves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.history-preview-moves>.button{font-size:14px;min-width:0;min-height:44px;padding:8px;display:flex;align-items:center;justify-content:space-between;gap:4px}.history-preview-moves>.button[data-type=purple]{border-color:#9a52ce;background:#211443}.history-preview-moves>.button[data-type=red]{border-color:#a8384b}
.history-footer>p{text-align:right;font-size:12px}
body[data-menu-page=history] .inventory-chat-slot .corner-chat{border:3px solid #168dff;border-radius:11px;background:linear-gradient(#082653,#00102b);box-shadow:0 0 8px 3px #168dff88,inset 0 0 0 2px #0b508b}

body[data-menu-page=store] #menu-page-title,body[data-menu-page=store] .shop-coin-badge strong{font-weight:600}
body[data-menu-page=history] .native-history-list .native-ranking-tabs>.button:nth-child(3){width:108px}body[data-menu-page=history] .native-history-list .native-ranking-tabs>.button:last-child{width:102px}
.history-row-portrait:has(img){background:none;border:0}.history-team[data-side="1"]{border-color:#a05785}.history-preview-grid{grid-template-columns:1fr 1.35fr}

.game-menu-layout[data-menu-page=store] #menu-page-title{font-size:41px}

body[data-menu-page=store] .account-shop-card h3{line-height:25px;min-height:25px}
.shop-coin-badge{height:94px}
.shop-page-arrow{width:26px;height:26px;object-fit:contain}

body[data-menu-page=store] .account-shop-card>.account-action{display:flex;align-items:center;justify-content:center;gap:12px}.shop-lock-icon{width:19px;height:19px;object-fit:contain}

/* All menu chrome/content/scrollports share the native design canvas. */
body.native-reference-page:not(:is([data-menu-page=inventory],[data-menu-page=store],[data-menu-page=history])) #menu-pages{--reference-chrome:none;background:none}
body.native-reference-page:not(:is([data-menu-page=inventory],[data-menu-page=store],[data-menu-page=history])) .native-page-brand>img{display:block;position:absolute;left:526px;top:0;width:620px;height:108px;max-width:none;max-height:none;object-fit:contain;margin:0}
body.native-reference-page:not(:is([data-menu-page=inventory],[data-menu-page=store],[data-menu-page=history])) .native-page-brand:before,body.native-reference-page:not(:is([data-menu-page=inventory],[data-menu-page=store],[data-menu-page=history])) .native-page-brand:after{display:none}
body.native-reference-page:not(:is([data-menu-page=inventory],[data-menu-page=store],[data-menu-page=history])) #menu-page-title{position:absolute;left:170px;top:110px;width:1332px;height:40px;margin:0;font-size:28px;line-height:40px;text-align:center;outline:0;color:#edf5ff}
body.native-reference-page:not(:is([data-menu-page=inventory],[data-menu-page=store],[data-menu-page=history])) :is(.account-feature-content,#hub-features-host>.hub-content,#modes-host,#collection-panel,#teams-panel){position:absolute;left:98px;top:161px;width:1476px;height:674px;max-width:none;max-height:none;padding:0;overflow:auto;background:none}
body.native-reference-page:not(:is([data-menu-page=inventory],[data-menu-page=store],[data-menu-page=history])) .inventory-settings-slot{display:block;position:absolute;left:24px;top:20px;width:70px;height:70px;z-index:5}
body.native-reference-page .inventory-settings-slot #open-settings{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:0;padding:16px}
body.native-reference-page .inventory-settings-slot #open-settings img{width:34px;height:34px}
body.native-reference-page:not(:is([data-menu-page=inventory],[data-menu-page=store],[data-menu-page=history])) .inventory-chat-slot{display:block;position:absolute;left:108px;top:35px;width:106px;height:42px;z-index:5}
body.native-reference-page:not(:is([data-menu-page=inventory],[data-menu-page=store],[data-menu-page=history])) .inventory-chat-slot .corner-chat{width:106px;height:42px;min-width:0;min-height:0;font-size:16px;padding:6px 10px}
body.native-reference-page:not(:is([data-menu-page=inventory],[data-menu-page=store],[data-menu-page=history])) #back-home{position:absolute;left:132px;top:856px;bottom:auto;width:340px;height:58px;min-height:0;font-size:20px}
body.native-reference-page:not(:is([data-menu-page=inventory],[data-menu-page=store],[data-menu-page=history])) .account-feature-status{left:490px;top:892px;font-size:14px;max-width:1050px}
body.native-reference-page .native-section-title{display:flex;align-items:center;margin:0;padding:6px 12px;min-height:38px;font-size:18px;background:#08244c;color:#edf5ff;border:2px solid #168dff;border-radius:10px}
body.native-reference-page :is(#play-panel,#modes-host){min-height:0;max-height:none;background:none;border:0;padding:0;overflow:visible}
body.native-reference-page #selected-team-bar{position:absolute;left:294px;top:125px;width:1084px;height:30px;border:0;padding:0;text-align:center;background:none}
body.native-reference-page .mode-columns{display:block;min-height:0}
body.native-reference-page .mode-section{padding:20px;margin-bottom:12px}
body.native-reference-page #menu-pages[data-simple-menu=true] :is(#play-panel,#modes-host){position:static;width:100%;height:100%;overflow:visible}
body.native-reference-page #menu-pages[data-simple-menu=true] .mode-columns{position:absolute;left:430px;top:100px;width:812px;height:740px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;border:2px solid #168dff;border-radius:18px;background:#0b162bf5}
body.native-reference-page #menu-pages[data-simple-menu=true] .native-menu-title{width:620px;height:112px;object-fit:contain}
body.native-reference-page #menu-pages[data-simple-menu=true] .game-button-list{width:550px;display:grid;gap:16px}
body.native-reference-page #menu-pages[data-simple-menu=true] .game-button-list .button{width:100%;height:64px;font-size:24px}
body.native-reference-page #menu-pages[data-simple-menu=true] #back-home{display:none}
/* TeamPickerPage: original artwork, exact management control rectangles. */
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .account-feature-content{position:static;overflow:visible;width:100%;height:100%}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .account-team-manager{display:block;position:static;border:0;background:none;padding:0}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-team-list-pane{position:absolute;left:255px;top:249px;width:700px;height:557px;padding:0;border:2px solid #168dff;border-radius:16px;background:#0b162b;overflow:hidden}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-team-list-pane>h3{position:absolute;left:16px;top:7px;width:172px;height:34px;border:0;padding:0;background:none;line-height:34px;font-size:21px}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-team-list-pane>.account-row{position:static;margin:0}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-team-list-pane input{position:absolute;left:193px;top:3px;width:290px;height:44px;min-width:0;font-size:18px}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-team-list-pane select{position:absolute;left:493px;top:3px;width:189px;height:44px;font-size:17px}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .account-team-list{position:absolute;left:14px;top:64px;width:668px;height:450px;max-height:none;overflow:auto;display:flex;flex-direction:column;gap:10px;padding:0}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-team-row{flex-shrink:0;min-height:90px;height:90px;display:grid;grid-template-columns:270px minmax(0,1fr);padding:8px 12px;border:2px solid #168dff;border-radius:14px;gap:10px;background:#08244c}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-team-row[aria-pressed=true]{background:#0b517c;border-color:#23ceff}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-team-row strong{font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-team-icons{display:grid;grid-template-columns:repeat(6,1fr);gap:0}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-team-icons .account-art{width:100%;height:60px;max-height:none;object-fit:contain}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-team-list-pane>.fine-print{position:absolute;left:14px;top:524px;width:668px;height:24px;margin:0;text-align:right;font-size:14px}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-team-preview{position:static;padding:0;border:0;background:none}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-team-preview>h3:first-child{position:absolute;left:971px;top:249px;width:446px;height:42px;padding:4px 16px;font-size:21px;border:2px solid #168dff;border-radius:16px 16px 0 0;background:#08244c}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-team-preview>h4{position:absolute;left:1230px;top:254px;width:169px;height:32px;line-height:32px;margin:0;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-preview-slots{position:absolute;left:989px;top:309px;width:410px;height:222px;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,105px);gap:12px;margin:0}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-preview-slot{position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;border:2px solid #168dff;border-radius:12px;padding:3px;background:#08244c;gap:0}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-preview-slot .account-art{height:73px;width:100%;object-fit:contain}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-preview-slot strong{font-size:13px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;text-align:center}.empty-team-slot{font-size:48px;color:#537ca2}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-preview-slot small{display:none}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .match-team-preview>.native-section-title{position:absolute;left:971px;top:565px;width:446px;height:42px;padding:4px 16px;font-size:21px;border-radius:16px 16px 0 0}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .native-team-quick-actions{position:absolute;left:989px;top:623px;width:410px;height:168px;display:grid;grid-template-columns:199px 199px;grid-template-rows:48px 48px 48px;gap:12px;margin:0}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .native-team-quick-actions button{height:48px;min-height:0;font-size:18px;padding:6px}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .native-team-more{position:absolute;left:989px;top:812px;width:410px;font-size:14px}.native-team-more[open]{background:#0b162b;z-index:7;border:2px solid #168dff;border-radius:12px;padding:10px}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] #back-home{left:286px;top:827px;width:340px;height:50px;font-size:18px}

/* Team Builder: slot controls remain above the independent card/browser scrolls. */
body.native-reference-page #menu-pages[data-account-view=team-editor] #menu-page-title{left:138px;top:20px;width:1300px;height:42px;text-align:center;font-size:32px}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-page-brand>img{display:none}
body.native-reference-page #menu-pages[data-account-view=team-editor] .account-feature-content{position:absolute;left:98px;top:72px;width:1476px;height:830px;overflow:visible}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-team-name-row{position:absolute;left:0;top:0;width:1476px;height:64px;display:flex;flex-wrap:nowrap;padding:10px;gap:14px}
body.native-reference-page .native-team-name-row .account-field{flex:1;flex-direction:row;align-items:center}.native-team-name-row .account-field input{height:40px}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-team-roster{position:absolute;left:0;top:74px;width:1476px;height:242px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0}
body.native-reference-page .native-team-roster .account-editor-slot{position:relative;display:flex;flex-direction:column;padding:0;gap:4px;border:0;background:none;border-radius:0;min-width:0}
body.native-reference-page .native-roster-select.account-action{height:142px;min-height:142px;max-height:142px;padding:6px;border:2px solid #168dff;border-radius:12px;background:#0b162b;display:flex;flex-direction:column;justify-content:center;gap:0}
body.native-reference-page .native-roster-select[aria-pressed=true]{border-color:#23ceff;background:#103851}
body.native-reference-page .native-roster-select .account-art{width:140px;height:100px;max-width:100%;object-fit:contain}.native-roster-select>small:first-child{position:absolute;left:11px;top:4px;font-size:15px}.native-roster-select>strong{font-size:14px}.native-roster-select>small:last-child{display:none}
body.native-reference-page .native-empty-slot{height:65px;line-height:65px;font-size:42px}
body.native-reference-page .native-slot-remove{position:absolute;right:5px;top:5px;width:30px;height:30px;min-height:0;padding:0;font-size:22px;z-index:2}
body.native-reference-page .native-roster-order{height:28px;display:flex;gap:4px}.native-roster-order button{flex:1}
body.native-reference-page .native-slot-build{height:30px;min-height:30px;font-size:12px;padding:3px 6px}
body.native-reference-page .native-slot-attachments{display:flex;gap:4px;height:30px;min-height:30px}.native-slot-attachments button{flex:1;min-width:0;min-height:30px;height:30px;padding:3px;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-team-browser{position:absolute;left:0;top:326px;width:1476px;height:440px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
body.native-reference-page .native-roster-browser{display:flex;flex-direction:column;min-height:0;max-height:none;overflow:hidden;border:2px solid #168dff;border-radius:12px;padding:12px;background:#0b162b}
body.native-reference-page .native-roster-browser>h3{display:none}.native-figure-source-tabs{display:flex;gap:8px;margin-bottom:8px}.native-figure-source-tabs button{flex:1;height:36px;min-height:36px;padding:5px;font-size:14px}
.native-figure-search-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:8px}.native-figure-search-toolbar input{flex:1;min-width:0;height:38px}.native-figure-search-toolbar button{width:84px;font-size:13px;height:38px;min-height:38px;padding:3px}.native-figure-search-toolbar select{width:130px;font-size:12px;height:38px;padding:3px}
body.native-reference-page .native-roster-browser .account-figure-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;overflow:auto;flex:1;min-height:0;align-content:start}
body.native-reference-page .native-roster-browser .account-figure-option{min-height:135px;display:flex;flex-direction:column;gap:2px;padding:6px;font-size:13px}.native-roster-browser .account-figure-option .account-art{height:94px;width:100%;object-fit:contain}.native-roster-browser .account-figure-option strong{font-size:13px}.native-roster-browser .account-figure-option small{font-size:10px}
body.native-reference-page .native-roster-browser>.account-actions{display:flex;height:32px;gap:10px;align-items:center;justify-content:center;margin:5px 0 0}.native-roster-browser>.account-actions button{font-size:12px;min-height:30px;padding:3px 10px}
.native-slot-detail .team-figure-actions{display:flex;gap:6px}
.native-slot-detail .team-figure-actions>button{flex:1;min-width:0}
body.native-reference-page .native-slot-detail{height:440px;display:flex;flex-direction:column;overflow:hidden;border:2px solid #168dff;border-radius:12px;background:#0b162b;padding:12px}.native-slot-detail>.native-figure-detail{flex:1;min-height:0;overflow:auto;border:0;padding:0;border-radius:0}.native-slot-detail .team-figure-actions>button{height:34px;min-height:34px;font-size:13px;padding:4px;margin-top:5px}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-page-actions{position:absolute;left:0;top:778px;width:1476px;height:52px;display:flex;flex-wrap:nowrap;gap:12px;margin:0;padding:0}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-page-actions button{flex:1;height:52px;min-height:52px;font-size:20px;padding:6px}
body.native-reference-page #menu-pages[data-account-view=team-editor] #back-home{display:none}
/* Shared PokemonInfoCard hierarchy and native rotating WheelView. */
.native-figure-detail{padding:14px;border:2px solid #168dff;border-radius:14px;background:#0b162b;min-width:0;overflow:auto}
.native-card-header{display:flex;align-items:flex-start;gap:14px}.native-card-identity{flex:1;min-width:0}.native-card-header>.account-art{width:150px;height:180px;object-fit:contain;flex-shrink:0}.native-card-name{display:flex;gap:8px;align-items:center}.native-card-name h3{font-size:24px;margin:0;line-height:1.2}.native-card-name .native-rarity{width:28px;height:28px;object-fit:contain}.native-card-meta{font-size:14px;color:#a9c9ec;margin:10px 0}.native-card-progression{font-size:11px;color:#aac3df;margin:8px 0}.native-card-ability{font-size:14px;margin:12px 0 6px}.native-card-ability-text{font-size:12px;font-weight:400;line-height:1.5;color:#aac3df;margin:0;white-space:pre-wrap}
.native-card-lower{display:flex;gap:12px;align-items:flex-start;margin-top:14px}.native-card-move-section{flex:1;min-width:0}.native-card-wheel{flex-shrink:0;width:180px}.native-card-section{font-size:14px;margin:0 0 8px;border-top:1px solid #416890;padding-top:8px}.native-card-wheel .menu-wheel-svg{width:180px;margin:0}
.native-card-moves{width:100%;border-collapse:collapse;font-size:11px;table-layout:auto}.native-card-moves th{font-size:10px;color:#aac3df;text-align:left;padding:7px 5px;border-bottom:2px solid #416890}.native-card-moves td{vertical-align:top;border-bottom:1px solid #416890;padding:8px 5px;font-weight:400;line-height:1.4;overflow-wrap:normal}.native-card-moves td:first-child{font-weight:700;min-width:75px}.native-card-moves td:nth-child(2),.native-card-moves td:nth-child(3){text-align:center}.native-card-moves [data-move-type=purple] td:first-child{color:#c585ed}.native-card-moves [data-move-type=blue] td:first-child{color:#55bbff}.native-card-moves [data-move-type=gold] td:first-child{color:#ffda55}.native-card-moves [data-move-type=red] td:first-child{color:#ff5959}
.figure-hover-card{width:620px;max-width:calc(100vw - 24px)}.figure-hover-card .native-figure-detail{border:0;padding:0}.figure-hover-card .native-card-header>.account-art{width:108px;height:108px}.figure-hover-card .native-card-lower{display:flex}.figure-hover-card .native-card-wheel{width:200px}.figure-hover-card .menu-wheel-svg{width:200px}.figure-preview-header{justify-content:space-between}
.figure-info-dialog{width:820px;max-height:calc(100dvh - 32px);padding:14px;overflow:auto}.figure-info-dialog .native-figure-detail{border:0}.figure-info-dialog .section-heading{display:flex;justify-content:flex-end}
.menu-wheel-rotor{transform-origin:160px 160px;animation:menu-wheel-idle 60s linear infinite}@keyframes menu-wheel-idle{from{transform:rotate(50deg)}to{transform:rotate(410deg)}}@media(prefers-reduced-motion:reduce){.menu-wheel-rotor{animation:none;transform:rotate(50deg)}}
/* Collection actions never share the scroll area with a long card. */
body.native-reference-page #menu-pages[data-account-view=collection] .account-feature-content{overflow:visible}
body.native-reference-page #menu-pages[data-account-view=collection] .account-filter-row{height:48px;margin:0 0 10px;display:flex;gap:10px}
body.native-reference-page #menu-pages[data-account-view=collection] .native-library-layout{height:616px;grid-template-columns:1fr 1fr;gap:12px}
body.native-reference-page #menu-pages[data-account-view=collection] .native-library-roster{height:616px;display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:12px}
body.native-reference-page #menu-pages[data-account-view=collection] .account-figure-grid{grid-template-columns:repeat(2,minmax(0,1fr));flex:1;min-height:0;overflow:auto;align-content:start;gap:8px}
body.native-reference-page #menu-pages[data-account-view=collection] .account-figure-option{height:66px;min-height:66px;grid-template-columns:60px minmax(0,1fr) 32px;font-size:16px}
body.native-reference-page #menu-pages[data-account-view=collection] .native-library-layout>aside{display:flex;flex-direction:column;overflow:hidden;min-height:0;height:616px;gap:8px}
body.native-reference-page #menu-pages[data-account-view=collection] .native-figure-detail{flex:1;min-height:0;overflow:auto}
body.native-reference-page #menu-pages[data-account-view=collection] .native-card-lower{flex-direction:column}.native-collection-actions{height:54px;flex-shrink:0}.native-collection-actions button{width:100%;height:54px;font-size:20px}
body.native-reference-page #menu-pages[data-account-view=collection] .native-card-wheel{order:-1;align-self:center;width:245px}body.native-reference-page #menu-pages[data-account-view=collection] .native-card-wheel .menu-wheel-svg{width:245px}

/* PlateCard.tscn proportions and the native two-column plate browser. */
.native-plate-editor{display:flex;flex-direction:column;gap:8px;min-height:0}.native-team-plates{width:1476px;max-width:calc(100vw - 32px);height:850px;max-height:calc(100dvh - 32px);padding:18px;border:2px solid #168dff;border-radius:16px;background:#0b162b}.native-team-plates[open]{display:flex}
.native-team-plates>h3{flex-shrink:0;font-size:28px;justify-content:center}.native-plate-deck-count{margin:0;text-align:center;font-size:18px}.native-equipped-plates{display:flex;gap:8px;height:248px;min-height:248px;overflow-x:auto}.native-equipped-plate{width:132px;flex-shrink:0;display:grid;grid-template-columns:1fr 1fr;gap:2px}.native-equipped-plate>button:first-child{grid-column:1/-1;padding:0;border:0;background:none;height:188px;min-height:0}.native-equipped-plate .native-plate-card{width:106px;height:152px;transform-origin:top left}.native-equipped-plate>button:not(:first-child){font-size:12px;min-height:24px;height:24px;padding:0}
.native-plate-browser{display:grid;grid-template-columns:1.65fr .70fr;gap:16px;flex:1;min-height:0}.native-plate-list{display:flex;flex-direction:column;min-height:0;min-width:0}.native-plate-toolbar{display:flex;gap:10px;margin-bottom:8px}.native-plate-toolbar input{flex:1;min-width:0}.native-plate-toolbar select{width:150px;font-size:13px}.native-plate-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;overflow:auto;align-content:start;flex:1;min-height:0;padding-right:12px}.native-plate-grid>button{padding:4px;min-width:0;overflow:hidden;background:#08244c}.native-plate-grid .native-plate-card{width:100%;aspect-ratio:530/760;height:auto}.native-plate-preview{display:flex;flex-direction:column;align-items:center;min-height:0;overflow:auto;border-left:1px solid #416890;padding-left:16px}.native-plate-preview>p{font-size:14px;text-align:center}.native-plate-preview>.native-plate-card{width:290px;max-width:100%;aspect-ratio:530/760;flex-shrink:0}.native-plate-preview>button{height:50px;min-height:50px;width:100%;margin-top:10px;font-size:20px}
.native-plate-card{position:relative;margin:0;color:#fff;container-type:inline-size;isolation:isolate}.native-plate-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;z-index:-1}.native-plate-category{position:absolute;left:18.49%;top:10.39%;width:30.19%;height:21.05%;object-fit:contain}.native-plate-rarity{position:absolute;left:68.11%;top:6.71%;width:17.92%;height:13.81%;object-fit:contain}.native-plate-title{position:absolute;left:10.56%;top:33.81%;width:84.9%;height:10.52%;font-size:6.98cqw;line-height:1.12;display:flex;align-items:center;margin:0;color:#ffda55;text-shadow:1px 1px 2px #000}.native-plate-description{position:absolute;left:10.75%;top:48.68%;width:75.47%;height:39.47%;margin:0;overflow:auto;font-size:4.52cqw;line-height:1.35;font-weight:400;text-align:left;color:#fff;scrollbar-width:thin}.native-plate-cost-marks{position:absolute;left:10.18%;top:92.23%;height:2.63%;width:79.81%;display:flex;gap:1.4%}.native-plate-cost-marks span{display:block;width:14.9%;height:100%;background:#ffdc65;border:1px solid #aa7513}
.native-attachment-dialog{width:1040px;max-width:calc(100vw - 32px);height:620px;max-height:calc(100dvh - 32px);padding:20px;background:#0b162b;border:2px solid #168dff;border-radius:16px}.native-attachment-dialog .section-heading{display:flex;align-items:center;justify-content:space-between}.native-attachment-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;overflow:auto}.native-attachment-choices>button,.native-automatic-form{display:flex;flex-direction:column;align-items:center;padding:10px;border:2px solid #168dff;border-radius:12px;background:#08244c}.native-attachment-choices .account-art{height:140px;width:100%;object-fit:contain}.native-attached-chain .account-art{width:60px;height:60px}.native-attached-chain .account-row{display:flex;align-items:center;gap:10px}.native-build-dialog>.account-field{display:flex;align-items:center;justify-content:space-between;margin:12px 0;gap:16px}.native-build-dialog select{min-width:240px}
/* Figure Enhancement and WheelModificationPage native design coordinates. */
body.native-reference-page #menu-pages:is([data-account-view=enhancement],[data-account-view=wheel]) #back-home{display:none}
body.native-reference-page #menu-pages:is([data-account-view=enhancement],[data-account-view=wheel]) .account-feature-content{position:static;width:100%;height:100%;overflow:visible}
body.native-reference-page #menu-pages:is([data-account-view=enhancement],[data-account-view=wheel]) #menu-page-title{top:20px;height:54px;line-height:54px;font-size:38px;color:#ffdf78}
body.native-reference-page #menu-pages:is([data-account-view=enhancement],[data-account-view=wheel]) .native-page-brand>img{display:none}
body.native-reference-page #menu-pages[data-account-view=enhancement] .native-enhancement-overview{position:absolute;left:98px;top:161px;width:1476px;height:302px;display:grid;grid-template-columns:310px 340px minmax(0,1fr);gap:8px}
body.native-reference-page .native-enhancement-identity>.account-art{height:176px;width:176px;max-width:none}.native-enhancement-identity>h3:not(.native-section-title){font-size:20px}.native-enhancement-identity p{font-size:14px}.native-enhancement-wheel .menu-wheel-svg{width:245px;height:245px;margin:8px auto}.native-enhancement-progress .account-help{max-height:110px;overflow:auto}.native-level-row progress{width:100%;height:24px}
body.native-reference-page #menu-pages[data-account-view=enhancement] .native-enhancement-overview~.native-section-title{position:absolute;left:98px;top:526px;width:1476px;height:40px}
body.native-reference-page #menu-pages[data-account-view=enhancement] .native-material-grid{position:absolute;left:98px;top:576px;width:1476px;height:166px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;overflow:auto}
body.native-reference-page #menu-pages[data-account-view=enhancement] .native-material-grid>button{height:156px;min-height:0;display:flex;flex-direction:column;gap:4px;align-items:center;padding:6px}.native-material-grid .native-material-art{width:76px;height:76px;object-fit:contain}.native-material-grid strong{font-size:14px}.native-material-grid span{font-size:14px}
body.native-reference-page #menu-pages[data-account-view=enhancement] .account-upgrade-controls{position:absolute;left:98px;top:766px;width:1476px;height:56px;display:flex;align-items:center;justify-content:center;gap:14px;margin:0}.account-upgrade-controls .account-field{display:flex;align-items:center;gap:12px}.account-upgrade-controls input{width:120px}
body.native-reference-page #menu-pages[data-account-view=enhancement] .native-page-actions{position:absolute;left:132px;top:856px;width:1408px;height:58px;display:flex;flex-wrap:nowrap;gap:24px;margin:0;padding:0}
body.native-reference-page #menu-pages[data-account-view=enhancement] .native-page-actions button{flex:1;height:58px;min-height:58px;font-size:22px}
body.native-reference-page #menu-pages[data-account-view=wheel] .native-wheel-points{position:absolute;left:42px;top:91px;width:1588px;height:69px;display:grid;grid-template-columns:523px 516px 523px;gap:13px;margin:0}
body.native-reference-page #menu-pages[data-account-view=wheel] .native-wheel-points>div{height:69px;min-height:69px;padding:17px 27px;gap:10px}.native-wheel-points strong{font-size:20px}.native-wheel-points span{font-size:19px}
body.native-reference-page #menu-pages[data-account-view=wheel] .native-wheel-layout{position:absolute;left:42px;top:175px;width:1588px;height:446px;display:grid;grid-template-columns:396px 1176px;gap:16px}
body.native-reference-page #menu-pages[data-account-view=wheel] .native-wheel-preview,body.native-reference-page #menu-pages[data-account-view=wheel] .native-wheel-moves{position:relative;height:446px;min-height:0;padding:0;overflow:hidden}.native-wheel-preview .native-section-title,.native-wheel-moves .native-section-title{height:54px;font-size:23px;padding:7px 20px;border:0;border-bottom:2px solid #168dff;border-radius:10px 10px 0 0}
body.native-reference-page #menu-pages[data-account-view=wheel] .native-wheel-preview .menu-wheel-svg{position:absolute;left:36px;top:67px;width:320px;height:320px;margin:0}.native-wheel-preview .native-wheel-name{position:absolute;left:52px;top:386px;width:289px;height:39px;line-height:39px;margin:0;font-size:23px;background:#08244c;border:2px solid #168dff;border-radius:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 8px}
body.native-reference-page #menu-pages[data-account-view=wheel] .account-table-scroll{position:absolute;left:14px;top:65px;width:1158px;height:366px;overflow:auto}
body.native-reference-page #menu-pages[data-account-view=wheel] .account-wheel-table{table-layout:fixed;width:1144px;min-width:1144px;border-collapse:separate;border-spacing:0 7px;font-size:17px}
body.native-reference-page #menu-pages[data-account-view=wheel] .account-wheel-table th{position:sticky;top:0;z-index:2;background:#0b162b;height:32px;padding:4px 6px;font-size:18px}
body.native-reference-page #menu-pages[data-account-view=wheel] .account-wheel-table td{height:60px;padding:5px 6px;font-size:17px;vertical-align:middle;border-top:1px solid #416890;border-bottom:1px solid #416890;background:#103052;overflow:hidden;text-overflow:ellipsis}
body.native-reference-page #menu-pages[data-account-view=wheel] .account-wheel-table :is(td,th):nth-child(1){width:177px;text-align:left}
body.native-reference-page #menu-pages[data-account-view=wheel] .account-wheel-table :is(td,th):nth-child(2){display:table-cell;width:83px;text-align:center;font-size:20px}
body.native-reference-page #menu-pages[data-account-view=wheel] .account-wheel-table :is(td,th):nth-child(3){width:530px;text-align:left}
body.native-reference-page #menu-pages[data-account-view=wheel] .account-wheel-table :is(td,th):nth-child(n+4){width:83px;text-align:center}
body.native-reference-page #menu-pages[data-account-view=wheel] .account-wheel-table button{width:65px;height:49px;min-height:49px;margin:0;padding:0;font-size:24px}
body.native-reference-page #menu-pages[data-account-view=wheel] .account-wheel-table td.account-move-effect{font-size:16px!important;line-height:1.3;color:#afcff4}
body.native-reference-page #menu-pages[data-account-view=wheel] .native-wheel-help{position:absolute;left:42px;top:637px;width:1588px;height:172px;display:grid;grid-template-columns:396px 1176px;gap:16px}.native-wheel-help>section{border:2px solid #168dff;border-radius:12px;background:#0b162b;overflow:hidden}.native-wheel-help .native-section-title{height:54px;font-size:23px;padding:7px 20px;border:0;border-radius:0;border-bottom:2px solid #168dff}.native-wheel-help>section>p{font-size:16px;font-weight:400;line-height:1.35;margin:10px 22px}.native-wheel-help>section:last-child>p{position:absolute;left:932px;top:1px;width:640px;height:45px;margin:3px 0;font-size:14px;color:#aac3df}
.native-wheel-legend{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;padding:10px 18px}.native-wheel-legend>div{height:90px;border:1px solid #416890;border-radius:10px;padding:8px;display:grid;grid-template-columns:61px 1fr;gap:4px 10px;align-content:center}.native-wheel-legend b{grid-row:1/3;display:flex;align-items:center;justify-content:center;background:#08244c;border:2px solid #168dff;border-radius:9px;font-size:28px}.native-wheel-legend strong{font-size:16px}.native-wheel-legend small{font-size:14px;font-weight:400;line-height:1.3}
body.native-reference-page #menu-pages[data-account-view=wheel] .native-page-actions{position:absolute;left:42px;top:829px;width:1588px;height:66px;display:flex;flex-wrap:nowrap;gap:14px;margin:0;padding:0}
body.native-reference-page #menu-pages[data-account-view=wheel] .native-page-actions button{height:66px;min-height:66px;font-size:20px;padding:6px;flex:1}body.native-reference-page #menu-pages[data-account-view=wheel] .native-page-actions button:first-child{flex:1.5}
body.native-reference-page #menu-pages[data-account-view=wheel] .native-wheel-save-status{position:absolute;left:416px;top:903px;width:900px;height:24px;font-size:16px;margin:0;color:#afcff4}

body.native-reference-page #menu-pages:is([data-account-view=plates]) .account-feature-content{display:flex;flex-direction:column}
body.native-reference-page #menu-pages:is([data-account-view=plates]) .native-plate-editor{height:674px}
body.native-reference-page:not(.portrait-menu) #menu-pages[data-account-view=plates] .native-plate-grid>button{display:grid;place-items:center;height:224px;padding:4px}
body.native-reference-page:not(.portrait-menu) #menu-pages[data-account-view=plates] .native-plate-grid .native-plate-card{max-width:146px}
body.native-reference-page:is([data-menu-page=updates],[data-menu-page=balance]) .hub-content{overflow:hidden}
body.native-reference-page:is([data-menu-page=updates],[data-menu-page=balance]) .native-updates-tabs{height:52px;margin:0;gap:8px;display:flex}
body.native-reference-page:is([data-menu-page=updates],[data-menu-page=balance]) .native-updates-tabs>.button{max-width:none;flex:1;height:52px;font-size:20px}
body.native-reference-page:is([data-menu-page=updates],[data-menu-page=balance]) .native-updates-pane{height:610px;overflow:auto;padding:14px 12px 12px;margin-top:12px;border:2px solid #168dff;border-radius:12px;background:#0b162bed}
.native-new-figure-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:stretch}.native-new-figure-card{min-height:258px;min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px;border-radius:12px}.native-new-figure-card .account-art{width:128px;height:132px;max-width:none;object-fit:contain}.native-new-figure-card strong{font-size:23px}.native-new-figure-card span{font-size:17px}.native-new-figure-card small{font-size:15px;line-height:1.4;white-space:pre-line;font-weight:400}.native-new-figure-note{font-size:16px;line-height:1.4;color:#aac3df;margin:0 0 16px;font-weight:400}
.native-balance-entry{margin-bottom:22px;padding-bottom:20px;border-bottom:1px solid #416890}.native-balance-heading{display:flex;align-items:center;gap:18px;margin-bottom:10px}.native-balance-heading>.account-art{width:128px;height:132px;object-fit:contain}.native-balance-heading>div{flex:1}.native-balance-heading h3{font-size:28px;margin:0}.native-balance-heading p{font-size:17px;margin-top:8px}.native-updated-badge{font-size:15px;color:#aac3df;border:1px solid #168dff;border-radius:8px;padding:12px}.native-balance-comparison{display:grid;grid-template-columns:21% minmax(0,1fr) 24px minmax(0,1fr);gap:10px;padding:8px;border:1px solid #416890;border-radius:8px;margin-bottom:10px;align-items:center}.native-balance-comparison>strong{font-size:16px}.native-balance-comparison>div{padding:10px;border-radius:8px;display:flex;gap:8px;align-items:flex-start}.native-balance-old{background:#182b40;border:1px solid #556a80}.native-balance-new{background:#113d35;border:1px solid #4d9973}.native-balance-comparison b{font-size:12px;border-radius:4px;padding:4px;background:#334c62}.native-balance-new b{background:#237847}.native-balance-comparison p{margin:0;font-size:16px;line-height:1.4;white-space:pre-line;font-weight:400}

/* ChallengePages reference: areas, badges, rewards, league, and team selection. */
body.native-reference-page[data-menu-page=challenge] #modes-host{position:static;width:100%;height:100%;overflow:visible}
body.native-reference-page[data-menu-page=challenge] #selected-team-bar,body.native-reference-page[data-menu-page=challenge] #back-home{display:none}
body.native-reference-page[data-menu-page=challenge] .mode-status{position:absolute;left:400px;top:906px;width:900px;height:24px;margin:0;text-align:center;font-size:14px}
body.native-reference-page[data-menu-page=challenge] #modes-host>button{position:absolute;right:24px;top:23px;width:230px;height:44px;min-height:44px;font-size:13px}
.native-challenge-areas,.native-challenge-rewards{position:static;width:100%;height:100%}
.native-challenge-subtitle{position:absolute;left:215px;top:152px;width:1242px;height:30px;line-height:30px;margin:0;font-size:16px;font-weight:400;text-align:center;color:#aac3df}
.native-challenge-areas>.mode-choice-group{position:absolute;left:471px;top:189px;width:730px;height:49px;border:0;padding:0;margin:0}.native-challenge-areas .mode-choice-group legend{display:none}.native-challenge-areas .mode-choice-buttons{display:flex;gap:14px;height:49px}.native-challenge-areas .mode-choice-buttons button{height:49px;width:234px;font-size:20px;margin:0;padding:6px}
.native-challenge-areas .mode-choice-buttons button[aria-pressed=true]{border-color:#23ceff;background:#10476b}
.native-difficulty-note{position:absolute;left:215px;top:244px;width:1242px;height:26px;font-size:15px;text-align:center;line-height:26px;margin:0;color:#aac3df;font-weight:400}
.native-area-toolbar{position:absolute;left:159px;top:270px;width:1353px;height:46px;display:flex;gap:18px}.native-area-toolbar input{width:1066px;height:46px;font-size:17px}.native-area-toolbar select{width:269px;height:46px;font-size:16px}
.native-area-grid{position:absolute;left:146px;top:333px;width:1376px;height:494px;display:grid;grid-template-columns:repeat(3,448px);grid-auto-rows:154px;gap:14px;overflow:auto;align-content:start}
.native-area-card{position:relative;width:448px;height:154px;overflow:hidden;border:2px solid #168dff;border-radius:10px;background:#0b162b}
.native-area-art{position:absolute;left:85px;top:3px;width:357px;height:145px;object-fit:cover;opacity:.28}
.native-area-number{position:absolute;left:11px;top:17px;width:68px;height:110px;text-align:center;white-space:pre-line;font-size:24px;line-height:1.5;color:#aac3df;border-right:1px solid #168dff}
.native-area-card>small{position:absolute;left:114px;top:8px;font-size:12px;color:#aac3df}.native-area-card>h3{position:absolute;left:114px;top:27px;width:288px;height:32px;font-size:25px;margin:0}.native-area-state{position:absolute;left:113px;top:60px;font-size:12px;margin:0;color:#aac3df}
.native-area-actions{position:absolute;left:98px;top:102px;display:flex;gap:13px}.native-area-actions button{height:39px;min-height:39px;width:148px;font-size:16px;padding:4px}.native-area-actions button:last-child{width:155px}
.native-challenge-areas>button{position:absolute;left:151px;top:851px;width:1370px;height:48px;min-height:48px;font-size:20px}
body.native-reference-page[data-menu-page=challenge] .native-campaign-page{position:static;border:0;background:none;padding:0;margin:0}
body.native-reference-page[data-menu-page=challenge] .native-campaign-page>h3,body.native-reference-page[data-menu-page=challenge] .native-campaign-page>h3+p:not(.native-challenge-subtitle){display:none}
body.native-reference-page[data-menu-page=challenge] .gym-badge-grid{position:absolute;left:213px;top:198px;width:1246px;height:504px;display:grid;grid-template-columns:repeat(4,301px);grid-template-rows:repeat(2,245px);gap:14px;margin:0;padding:0}
.native-badge-wrapper{position:relative;height:245px;min-width:0}
body.native-reference-page[data-menu-page=challenge] .gym-badge-card{position:absolute;inset:0;width:301px;height:245px;min-height:245px;display:flex;flex-direction:column;align-items:center;border:2px solid #168dff;border-radius:12px;background:#0b162bf2;padding:10px;gap:0;overflow:hidden}
body.native-reference-page[data-menu-page=challenge] .gym-badge-art{width:145px;height:110px;object-fit:contain;margin:0}
body.native-reference-page[data-menu-page=challenge] .gym-badge-card>strong{position:absolute;left:10px;top:124px;width:281px;height:28px;font-size:19px;text-transform:uppercase}
body.native-reference-page[data-menu-page=challenge] .gym-badge-leader{position:absolute;left:10px;top:161px;width:281px;height:24px;font-size:14px;text-transform:uppercase;border-top:1px solid #416890;padding-top:2px}
body.native-reference-page[data-menu-page=challenge] .gym-badge-card>.trainer-card-state{position:absolute;left:70px;top:187px;width:161px;height:18px;font-size:13px;padding:0;line-height:18px;margin:0}
body.native-reference-page[data-menu-page=challenge] .native-skip-tutorial{position:absolute;left:64px;top:209px;width:173px;height:28px;min-height:28px;padding:2px;font-size:12px;z-index:2}
body.native-reference-page[data-menu-page=challenge] .elite-four-entry{position:absolute;left:213px;top:715px;width:1246px;height:98px;margin:0;padding:0;display:flex;align-items:center;border:2px solid #e7b348;border-radius:12px;background:#01050cf2}
body.native-reference-page[data-menu-page=challenge] .elite-four-entry>.league-crown{position:absolute;left:20px;top:8px;width:118px;height:78px;object-fit:contain}
body.native-reference-page[data-menu-page=challenge] .elite-four-entry>div{position:absolute;left:158px;top:18px;width:825px;height:64px}.elite-four-entry h3{font-size:24px;color:#ffdf78;margin:0 0 7px}.elite-four-entry p{font-size:14px;margin:0}
body.native-reference-page[data-menu-page=challenge] .elite-four-entry>button{position:absolute;left:1003px;top:17px;width:222px;height:64px;min-height:64px;margin:0;font-size:22px}
body.native-reference-page[data-menu-page=challenge] .native-campaign-page>button:last-child{position:absolute;left:213px;top:831px;width:1246px;height:60px;min-height:60px;margin:0;font-size:22px}
body.native-reference-page[data-menu-page=challenge] #modes-host[data-campaign-view=elite] .native-campaign-page>.native-challenge-subtitle{display:none}
body.native-reference-page[data-menu-page=challenge] #modes-host[data-campaign-view=elite] .mode-section:not(.native-campaign-page){position:static;margin:0;padding:0;border:0;background:none}
body.native-reference-page[data-menu-page=challenge] #modes-host[data-campaign-view=elite] .mode-section:not(.native-campaign-page)>h3{position:absolute;left:574px;top:210px;width:524px;height:80px;line-height:80px;text-align:center;font-size:28px;color:#ffdf78;border:2px solid #168dff;border-radius:12px;background:#08244c}
body.native-reference-page[data-menu-page=challenge] #modes-host[data-campaign-view=elite] .mode-section:not(.native-campaign-page)>p{position:absolute;left:260px;top:322px;width:1152px;height:30px;line-height:30px;text-align:center;font-size:17px;margin:0}
body.native-reference-page[data-menu-page=challenge] .elite-trainer-grid{position:absolute;left:208px;top:370px;width:1256px;height:322px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:0}
body.native-reference-page[data-menu-page=challenge] .elite-trainer-card{position:relative;min-height:322px;height:322px;border:2px solid #168dff;border-radius:12px;padding:0;overflow:hidden;background:#0b162bf2}
body.native-reference-page[data-menu-page=challenge] .elite-trainer-art{position:absolute;left:5px;top:14px;width:calc(100% - 10px);height:265px;object-fit:cover;object-position:top;opacity:.7}
body.native-reference-page[data-menu-page=challenge] .elite-card-role{position:absolute;left:5px;top:225px;width:calc(100% - 10px);font-size:14px;text-align:center}
body.native-reference-page[data-menu-page=challenge] .elite-trainer-card>strong{position:absolute;left:5px;top:247px;width:calc(100% - 10px);font-size:25px;line-height:34px;text-align:center;text-transform:uppercase}
body.native-reference-page[data-menu-page=challenge] .elite-trainer-card>.trainer-card-state{position:absolute;left:5px;top:283px;width:calc(100% - 10px);font-size:16px;text-align:center}
body.native-reference-page[data-menu-page=challenge] #modes-host[data-campaign-view=elite] .mode-section:not(.native-campaign-page)>button{position:absolute;left:405px;top:724px;width:862px;height:65px;min-height:65px;font-size:22px;margin:0}
body.native-reference-page[data-menu-page=challenge] #modes-host[data-campaign-view=elite] .native-campaign-page>button:last-child{left:405px;top:803px;width:862px;height:60px;font-size:22px}
.campaign-team-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.campaign-team-actions>.button{white-space:normal;min-width:0}
.native-challenge-rewards{display:grid;grid-template-columns:451px 883px;gap:14px;position:absolute;left:162px;top:194px;width:1348px;height:650px}.native-challenge-rewards>section{overflow:auto;border:2px solid #168dff;border-radius:12px;padding:16px;background:#0b162bf2}.native-challenge-rewards h3{font-size:24px;border-bottom:1px solid #168dff;margin:0 0 12px;padding-bottom:12px}.native-challenge-rewards>button{position:absolute;left:339px;top:665px;width:670px;height:62px;min-height:62px;font-size:22px}.native-reward-figure{display:flex;flex-direction:column;align-items:center;border:2px solid #168dff;border-radius:12px;padding:10px;margin-top:10px}.native-reward-figure img{width:284px;height:185px;object-fit:contain}.native-reward-figure strong{font-size:24px}.native-reward-figure span{font-size:16px;color:#aac3df}.native-campaign-rewards-table{width:100%;border-collapse:collapse}.native-campaign-rewards-table th{font-size:14px;padding:10px;background:#08244c}.native-campaign-rewards-table td{font-size:13px;padding:8px;border-bottom:1px solid #416890}.native-reward-leader{width:60px;height:70px;object-fit:cover;object-position:top}.native-reward-bundle{display:flex;gap:6px}.native-reward-bundle>span{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:11px}.native-reward-item{width:40px;height:42px;object-fit:contain}

/* Measurements verified against actual rendered Windows controls at 1672x941. */
body.native-reference-page #menu-pages[data-account-view=team-editor]:before{content:"";position:absolute;inset:18px;z-index:-1;border:2px solid #168dff;border-radius:24px;background:#0f1b2c}
body.native-reference-page #menu-pages[data-account-view=team-editor] #menu-page-title{left:70px;top:66px;width:1532px;height:42px}
body.native-reference-page #menu-pages[data-account-view=team-editor] .account-feature-content{left:70px;top:115px;width:1532px;height:773px;font-family:"Native Open Sans",Arial,sans-serif;font-weight:600}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-team-name-row{width:1532px;height:331px;align-items:flex-start;padding:10px 14px;z-index:0}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-team-name-row>.account-field{height:40px}.native-team-name-row>.fine-print{height:40px;line-height:40px;white-space:nowrap}.native-team-name-row>button{height:40px;min-height:40px;width:160px;font-size:14px;padding:5px}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-team-roster{left:16px;top:61px;width:1500px;height:258px;z-index:1}
body.native-reference-page .native-roster-select.account-action{border-radius:16px}.native-roster-select>strong{font-size:12px;align-self:flex-start}.native-roster-select .native-rarity{position:absolute;right:8px;bottom:5px;width:24px;height:18px;object-fit:contain}
body.native-reference-page .native-roster-order{height:40px}.native-roster-order button{height:40px;min-height:40px;font-size:14px}.native-slot-build{font-family:inherit}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-team-browser{left:0;top:341px;width:1532px;height:370px;grid-template-columns:760px 760px}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-slot-detail{height:370px}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-page-actions{left:0;top:721px;width:1532px;height:52px}.native-page-actions button{font-family:inherit}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-page-actions button{font-size:14px}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-roster-browser .account-figure-option{min-height:160px;height:160px}.native-roster-browser .account-figure-option .account-art{height:122px}
body.native-reference-page #menu-pages[data-account-view=collection] .native-filter-bar{height:48px;margin:0 0 10px;display:flex;gap:10px;align-items:center}
body.native-reference-page #menu-pages[data-account-view=collection] .native-filter-bar input{flex:1;min-width:0}
/* Enhancement panels and deferred material selection match FigurePageStyle. */
.native-enhancement-subtitle{position:absolute;left:170px;top:101px;width:1332px;height:31px;line-height:29px;text-align:center;border:2px solid #168dff;border-radius:16px;background:#0b162b;font-size:18px;margin:0}
body.native-reference-page .native-enhancement-identity{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;height:302px;padding:8px;border:2px solid #168dff;border-radius:18px;background:#0f1b2c}
body.native-reference-page .native-enhancement-identity>.native-section-title{width:100%;height:34px;min-height:34px;justify-content:space-between;font-size:20px;padding:2px 4px}.native-enhancement-identity .native-rarity{width:28px;height:22px;object-fit:contain}
body.native-reference-page .native-enhancement-identity>.account-art{position:absolute;left:65px;top:65px;width:176px;height:176px;object-fit:contain}
.native-enhancement-ability{position:absolute;left:8px;bottom:8px;width:calc(100% - 16px);height:36px;border:2px solid #168dff;border-radius:18px;font-size:14px;line-height:32px;padding:0 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.native-reference-page .native-enhancement-wheel{padding:8px;border-radius:18px;background:#0f1b2c}.native-enhancement-wheel>.native-section-title{height:34px;min-height:34px;font-size:20px;justify-content:center;padding:2px}
body.native-reference-page .native-enhancement-progress{position:relative;border:0;background:none;padding:0;display:flex;flex-direction:column;gap:6px}
.native-enhancement-info{height:52px;display:flex;align-items:center;gap:12px;border:2px solid #168dff;border-radius:18px;background:#0f1b2c;padding:6px 18px}.native-enhancement-info>div{flex:1}.native-enhancement-info strong{display:block;font-size:14px}.native-enhancement-info small{display:block;font-size:11px;font-weight:400;color:#aac3df}.native-enhancement-info>b{font-size:22px}.native-enhancement-coins{display:flex;align-items:center;justify-content:center;gap:10px;border:2px solid #168dff;border-radius:18px;width:122px;height:36px;font-size:16px;color:#ffdf78}.native-enhancement-coins img{width:16px;height:16px;object-fit:contain}
.native-enhancement-levels{flex:1;min-height:0;border:2px solid #168dff;border-radius:18px;background:#0f1b2c;padding:6px}.native-enhancement-levels>.native-section-title{height:33px;min-height:33px;justify-content:center;font-size:16px;padding:2px}.native-enhancement-levels>p{font-size:18px;margin:8px 0 4px}.native-enhancement-levels>small{font-size:12px;color:#aac3df}.native-enhancement-levels>progress{display:block;width:100%;height:14px;margin:5px 0;accent-color:#2499ec}.native-chain-dots{display:inline-flex;gap:5px;margin:2px 20px 2px 0}.native-chain-dots span{width:18px;height:18px;border:2px solid #168dff;border-radius:50%}.native-chain-dots span[data-earned=true]{background:#168dff}
.native-enhancement-rewards{position:absolute;left:98px;top:473px;width:1476px;height:160px;border:2px solid #168dff;border-radius:18px;background:#0f1b2c;padding:8px}.native-enhancement-rewards>.native-section-title{height:32px;min-height:32px;justify-content:center;font-size:16px;padding:2px}.native-enhancement-reward-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:7px}.native-enhancement-reward-grid>div{height:104px;border:2px solid #168dff;border-radius:18px;padding:6px 8px;display:flex;flex-direction:column;gap:3px}.native-enhancement-reward-grid>div:nth-child(2){border-color:#b347ff}.native-enhancement-reward-grid strong{font-size:14px}.native-enhancement-reward-grid span{font-size:14px}.native-enhancement-reward-grid b{font-size:14px;color:#a6f856}.native-enhancement-reward-grid small{font-size:12px;line-height:1.3;color:#aac3df;font-weight:400}.native-enhancement-reward-grid>div:nth-child(n+3)>strong{color:#ffdf78}
.native-enhancement-materials{position:absolute;left:98px;top:643px;width:1262px;height:182px;border:2px solid #168dff;border-radius:18px;background:#0f1b2c;padding:8px}
body.native-reference-page #menu-pages[data-account-view=enhancement] .native-enhancement-materials .native-section-title{position:static;width:100%;height:32px;min-height:32px;font-size:16px;padding:2px;justify-content:center}
body.native-reference-page #menu-pages[data-account-view=enhancement] .native-material-grid{position:static;width:100%;height:124px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-top:6px;overflow:hidden}
.native-material-tile{height:124px;display:flex;flex-direction:column;gap:2px;align-items:center;border:2px solid #168dff;border-radius:18px;padding:4px}.native-material-identity{display:flex;align-items:center;justify-content:center;gap:12px;height:47px}.native-material-identity .native-material-art{width:50px;height:44px;object-fit:contain}.native-material-identity span{font-size:12px}.native-material-tile>small{font-size:12px}.native-material-quantity{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:auto}.native-material-quantity>button{width:34px;height:42px;min-height:42px;padding:0;font-size:18px;border-radius:18px}.native-material-quantity>span{font-size:16px}
.native-enhancement-apply{position:absolute;left:1369px;top:643px;width:205px;height:182px;border:2px solid #168dff;border-radius:18px;background:#0f1b2c;padding:8px;text-align:center}.native-enhancement-apply>h3{font-size:14px;margin:0 0 7px}.native-enhancement-apply>button{width:100%;height:57px;min-height:57px;white-space:normal;font-size:18px;padding:3px 30px;border-radius:18px}.native-enhancement-apply>p{font-size:12px;line-height:1.4;color:#aac3df;font-weight:400;margin:6px 0}
body.native-reference-page #menu-pages[data-account-view=enhancement] .native-page-actions{gap:8px}

body.native-reference-page #menu-pages[data-account-view=team-plates]:before{content:"";position:absolute;inset:18px;z-index:-1;border:2px solid #168dff;border-radius:24px;background:#0f1b2c}
body.native-reference-page #menu-pages[data-account-view=team-plates] .native-page-brand>img{display:none}
body.native-reference-page #menu-pages[data-account-view=team-plates] #menu-page-title{left:70px;top:62px;width:1532px;height:40px;font-size:28px}
body.native-reference-page #menu-pages[data-account-view=team-plates] .account-feature-content{left:70px;top:115px;width:1532px;height:773px;overflow:visible;font-family:"Native Open Sans",Arial,sans-serif;font-weight:600}
body.native-reference-page #menu-pages[data-account-view=team-plates] #back-home{display:none}
body.native-reference-page #menu-pages[data-account-view=team-plates] .native-plate-deck-count{height:22px;font-size:18px;line-height:22px}
body.native-reference-page #menu-pages[data-account-view=team-plates] .native-equipped-plates{height:248px;min-height:248px}
.native-empty-plate{width:132px;height:188px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:10px;color:#aac3df;background:#0f1b2c;border:2px solid #58667a;border-radius:16px}
body.native-reference-page #menu-pages[data-account-view=team-plates] .native-plate-editor>.account-help{font-size:16px;line-height:23px;text-align:center;margin:0}
body.native-reference-page #menu-pages[data-account-view=team-plates] .native-plate-browser{grid-template-columns:1050px 448px;gap:18px}
/* Keep the footer in the scaled page's flow, outside both scrolling panes. */
body.native-reference-page:not(.portrait-menu) #menu-pages[data-account-view=team-plates] .native-plate-editor{display:flex;flex-direction:column}
body.native-reference-page:not(.portrait-menu) #menu-pages[data-account-view=team-plates] .native-plate-browser{grid-template-rows:minmax(0,1fr);overflow:hidden}
body.native-reference-page:not(.portrait-menu) #menu-pages[data-account-view=team-plates] .native-plate-actions{position:static;flex:0 0 auto}
.native-plate-actions{display:flex;flex:none;gap:12px;margin:0}
.native-plate-actions>button{flex:1;min-width:0}
body.native-reference-page #menu-pages[data-account-view=team-plates] .native-plate-actions>button{height:48px;min-height:48px;font-size:22px}
body.portrait-menu #menu-pages .native-plate-actions{flex-wrap:nowrap!important}
body.portrait-menu #menu-pages .native-plate-actions>button{flex:1!important;font-size:12px;padding:6px}
body.native-reference-page #menu-pages[data-account-view=team-plates] .native-plate-grid{grid-template-columns:repeat(5,180px);gap:6px}
body.native-reference-page #menu-pages[data-account-view=team-plates] .native-plate-grid>button{height:220px;padding:4px}
body.native-reference-page #menu-pages[data-account-view=team-plates] .native-plate-preview>.native-plate-card{width:245px;height:351px;margin-top:30px}
body.native-reference-page #menu-pages .native-plate-card .native-plate-title{margin:0;color:var(--plate-category-colour,#ffda55)}

body.native-reference-page[data-menu-page=teams] #menu-pages[data-account-view=teams]::before{content:"";display:block;position:absolute;inset:148px 218px 28px;border:2px solid #168dff;border-radius:24px;background:#0f1b2c;z-index:-1}
body.native-reference-page[data-menu-page=teams] #menu-pages[data-account-view=teams] #menu-page-heading{display:block;position:static}
body.native-reference-page[data-menu-page=teams] #menu-pages[data-account-view=teams] .native-page-brand>img{top:16px}
body.native-reference-page[data-menu-page=teams] #menu-pages[data-account-view=teams] #menu-page-title{top:177px}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .account-team-manager:before,body[data-menu-page=teams] #menu-pages[data-account-view=teams] .account-team-manager:after{content:"";position:absolute;left:971px;width:446px;border:2px solid #168dff;border-radius:16px;background:#0f1b2c;z-index:-1}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .account-team-manager:before{top:249px;height:300px}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .account-team-manager:after{top:565px;height:241px}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .native-team-quick-actions button:first-child{background:#493610}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .empty-team-slot{font-size:20px;justify-content:flex-end;padding-bottom:8px}
body[data-menu-page=teams] #menu-pages[data-account-view=teams] .empty-team-slot:before{content:"";position:absolute;left:10px;right:10px;bottom:30px;height:18px;border:1px solid #168dff;border-radius:50%;box-shadow:0 0 3px #168dff;background:#0c355340}
.native-figure-detail{position:static;text-align:left}.native-figure-detail .native-card-ability{font-size:14px;margin:12px 0 6px}.native-figure-detail .native-card-section{font-size:14px;margin:0 0 8px}

body.native-reference-page #menu-pages[data-account-view=team-editor] .native-roster-browser{height:370px}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-roster-browser .account-figure-grid{margin:0;max-height:none;min-height:0}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-roster-select{position:relative;flex:none}
body.native-reference-page .native-team-name-row .account-field>span{font-size:16px;white-space:nowrap}
body.native-reference-page .native-slot-attachments>button{min-height:30px;height:30px;padding:3px;font-size:10px;border-radius:16px}
body.native-reference-page .native-roster-order>button{min-height:40px;height:40px;font-size:14px}
body.native-reference-page .native-roster-select>.native-slot-level{display:none}
body.native-reference-page .native-roster-browser .account-figure-option{position:relative;justify-content:center;overflow:hidden}
body.native-reference-page .native-roster-browser .account-figure-option strong{font-size:12px;align-self:flex-start;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:calc(100% - 28px);text-align:left}
body.native-reference-page .native-roster-browser .account-figure-option>.native-rarity{position:absolute;right:6px;bottom:6px;width:24px;height:18px;object-fit:contain}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-figure-source-tabs>button{min-height:36px;height:36px;font-size:14px;padding:4px}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-figure-search-toolbar button{min-height:38px;height:38px;font-size:13px;padding:4px}
body.native-reference-page .native-slot-build{min-height:34px;height:34px;font-size:14px;padding:3px}

.native-figure-detail .native-card-name h3{color:#edf5ff;font-size:24px}
.native-card-moves{table-layout:fixed}.native-card-moves :is(th,td){border:2px solid #708398}.native-card-moves :is(th,td):first-child{width:108px;min-width:108px}.native-card-moves :is(th,td):nth-child(2){width:70px;min-width:70px}.native-card-moves :is(th,td):nth-child(3){text-align:left}.native-card-moves th{font-size:11px}.native-card-moves td{font-size:12px}
body.native-reference-page #menu-pages[data-account-view=team-editor] .native-card-progression{display:none}
body.native-reference-page #account-features-host>.account-feature-status{position:absolute;left:70px;top:903px;width:1532px;max-width:1532px;height:24px;font-size:14px;margin:0;overflow:hidden;text-overflow:ellipsis}
body.native-reference-page #menu-pages[data-account-view=wheel] #account-features-host:has(>.account-feature-status:not(:empty)) .native-wheel-save-status{visibility:hidden}
body.native-reference-page[data-menu-page=challenge] #modes-host:is([data-campaign-view=team],[data-campaign-view=elite_team]) .native-campaign-page>.native-challenge-subtitle{display:none}
body.native-reference-page[data-menu-page=challenge] #modes-host:is([data-campaign-view=team],[data-campaign-view=elite_team]) .match-team-picker{position:absolute;left:278px;top:183px;width:1116px;height:638px;display:grid;grid-template-columns:700px 400px;gap:16px}
body.native-reference-page[data-menu-page=challenge] #modes-host:is([data-campaign-view=team],[data-campaign-view=elite_team]) .match-team-list-pane,body.native-reference-page[data-menu-page=challenge] #modes-host:is([data-campaign-view=team],[data-campaign-view=elite_team]) .match-team-preview{height:638px;overflow:hidden;padding:14px}
body.native-reference-page[data-menu-page=challenge] #modes-host:is([data-campaign-view=team],[data-campaign-view=elite_team]) .match-team-rows{height:470px;max-height:470px;overflow:auto}
body.native-reference-page[data-menu-page=challenge] #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host:is([data-campaign-view=team],[data-campaign-view=elite_team])) #menu-page-title{top:112px;height:32px;line-height:32px}
body.native-reference-page[data-menu-page=challenge] #modes-host:is([data-campaign-view=team],[data-campaign-view=elite_team]) .match-team-preview{display:flex;flex-direction:column;padding-bottom:96px}
body.native-reference-page[data-menu-page=challenge] #modes-host:is([data-campaign-view=team],[data-campaign-view=elite_team]) .match-team-preview>:is(h3,h4){flex-shrink:0}
body.native-reference-page[data-menu-page=challenge] #modes-host:is([data-campaign-view=team],[data-campaign-view=elite_team]) .match-preview-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:144px;gap:12px;flex:0 0 300px}
body.native-reference-page[data-menu-page=challenge] #modes-host:is([data-campaign-view=team],[data-campaign-view=elite_team]) .match-team-preview>.fine-print{flex:1;min-height:0;overflow:auto;margin-bottom:0}
body.native-reference-page[data-menu-page=challenge] .native-campaign-team-context{position:absolute;left:294px;top:150px;width:1084px;height:24px;line-height:24px;text-align:center;font-size:18px;margin:0}
body.native-reference-page[data-menu-page=challenge] #modes-host[data-campaign-view=team] .native-campaign-page>.native-campaign-team-enter{position:absolute;left:1012px;top:751px;width:364px;height:54px;min-height:54px;font-size:22px;margin:0}
body.native-reference-page[data-menu-page=challenge] #modes-host[data-campaign-view=team] .native-campaign-page>button:not(.native-campaign-team-enter){position:absolute;left:286px;top:841px;width:340px;height:54px;margin:0;font-size:18px}
body.native-reference-page[data-menu-page=challenge] #modes-host[data-campaign-view=team] .native-campaign-page>button:last-child{display:none}
body.native-reference-page[data-menu-page=challenge] #modes-host[data-campaign-view=elite_team] .elite-trainer-grid,body.native-reference-page[data-menu-page=challenge] #modes-host[data-campaign-view=elite_team] .mode-section:not(.native-campaign-page)>:is(h3,p){display:none}
body.native-reference-page[data-menu-page=challenge] #modes-host[data-campaign-view=elite_team] .mode-section:not(.native-campaign-page){position:static;border:0;padding:0;background:none}
body.native-reference-page[data-menu-page=challenge] #modes-host[data-campaign-view=elite_team] .mode-section:not(.native-campaign-page)>button{position:absolute;left:1012px;top:751px;width:364px;height:54px;min-height:54px;font-size:22px;margin:0}
body.native-reference-page[data-menu-page=challenge] #modes-host[data-campaign-view=elite_team] .native-campaign-page>button{position:absolute;left:286px;top:841px;width:340px;height:54px;min-height:54px;font-size:18px;margin:0}
body.native-reference-page[data-menu-page=challenge] #modes-host[data-campaign-view=elite] .mode-section[data-active-run=true]>button{width:424px;left:405px}
body.native-reference-page[data-menu-page=challenge] #modes-host[data-campaign-view=elite] .mode-section[data-active-run=true]>button:last-child{left:843px}
body.native-reference-page[data-menu-page=challenge] #modes-host[data-campaign-view=elite] .mode-section>.native-league-team{top:292px;font-size:14px}
body.native-reference-page[data-menu-page=challenge] #modes-host[data-campaign-view=elite] .mode-section>.native-league-warning{top:695px;font-size:14px;height:22px;line-height:22px}

body.native-reference-page:not(:is([data-menu-page=inventory],[data-menu-page=store],[data-menu-page=history])){background-image:linear-gradient(#020d1c45,#020d1c45),var(--menu-art)}
body.native-reference-page #menu-pages:is([data-account-view=collection],[data-account-view=enhancement],[data-account-view=wheel]) #menu-page-title{left:50%;top:28px;transform:translateX(-50%);width:max-content;max-width:1332px;height:64px;line-height:44px;padding:8px 10px;display:flex;align-items:center;justify-content:center;gap:18px;border:2px solid #168dff;border-radius:26px;background:#08244c;color:#ffdf78;font-size:38px}
body.native-reference-page #menu-pages:is([data-account-view=collection],[data-account-view=enhancement],[data-account-view=wheel]) #menu-page-title:before,body.native-reference-page #menu-pages:is([data-account-view=collection],[data-account-view=enhancement],[data-account-view=wheel]) #menu-page-title:after{content:"";display:block;flex-shrink:0;width:36px;height:36px;border:2px solid #102d60;border-radius:50%;background:radial-gradient(circle,#fff 0 17%,#102d60 19% 30%,transparent 32%),linear-gradient(#e8445b 0 45%,#102d60 45% 56%,#fff 56%)}
body.native-reference-page #menu-pages:is([data-account-view=collection],[data-account-view=enhancement],[data-account-view=wheel]) .native-page-brand>img{display:none}
.native-enhancement-levels>progress{-webkit-appearance:none;appearance:none;border:0;border-radius:8px;overflow:hidden}.native-enhancement-levels>progress::-webkit-progress-bar{background:#17314c}.native-enhancement-levels>progress::-webkit-progress-value{background:#258bd3}.native-enhancement-levels>progress::-moz-progress-bar{background:#258bd3}
body.native-reference-page #menu-pages[data-account-view=enhancement] .native-enhancement-wheel,body.native-reference-page #menu-pages[data-account-view=enhancement] .native-enhancement-progress{height:302px}
body.native-reference-page #menu-pages[data-account-view=enhancement] .native-enhancement-levels>.native-section-title{height:33px;min-height:33px;padding:2px}

body.native-reference-page[data-menu-page=challenge]{--menu-art:url("menu_art/hub.a5c416a67197b2957277.webp");background-image:linear-gradient(#01040e59,#01040e59),var(--menu-art);font-family:"Native Open Sans",Arial,sans-serif;font-weight:600}
body.native-reference-page[data-menu-page=challenge] #menu-pages:has(.native-challenge-areas):before{content:"";position:absolute;left:100px;top:80px;width:1472px;height:830px;border:2px solid #168dff;border-radius:18px;background:#08244cf2;z-index:-1}
body.native-reference-page[data-menu-page=challenge] #menu-pages:has(.native-challenge-areas):after{content:"";position:absolute;left:72px;top:162px;width:170px;height:170px;opacity:.10;background:url("menu_art/icon.62ab90c7db9a1d5b725e.webp") center/contain no-repeat;z-index:-1;filter:sepia(1) saturate(10) hue-rotate(160deg)}
body.native-reference-page[data-menu-page=challenge] #menu-pages:has(.native-campaign-page):before{content:"";position:absolute;left:188px;top:18px;width:1296px;height:894px;border:2px solid #168dff;border-radius:18px;background:#08244cf2;z-index:-1}
body.native-reference-page[data-menu-page=challenge] #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-campaign-view=team]):before{left:255px;top:18px;width:1162px;height:896px;background:#0b162bf5}
body.native-reference-page[data-menu-page=challenge] #menu-page-title{font-family:"Trebuchet MS",Arial,sans-serif;font-size:26px}
body.native-reference-page[data-menu-page=challenge] .native-area-number{top:35px;left:13px;width:68px;height:34px;font-size:24px;line-height:34px;border:0;font-weight:400}
body.native-reference-page[data-menu-page=challenge] .native-area-number:before{content:"AREA";position:absolute;left:0;top:-18px;width:68px;height:22px;line-height:22px;font-size:11px}
.native-area-emblem{position:absolute;left:25px;top:87px;width:43px;height:43px;object-fit:contain}.native-area-art{opacity:1;mask-image:linear-gradient(to right,#0005,#000)}
body.native-reference-page[data-menu-page=challenge] .native-area-actions button{min-height:39px;height:39px;font-size:16px;font-family:"Native Open Sans",Arial,sans-serif;font-weight:600}
body.native-reference-page[data-menu-page=challenge] .native-area-actions button:disabled{background:#08244c;color:#91abc6}
body.native-reference-page[data-menu-page=challenge] .native-challenge-areas>button{font-size:20px;font-family:"Native Open Sans",Arial,sans-serif;font-weight:600}
.native-challenge-areas .mode-choice-buttons button:nth-child(2){background:#603000;border-color:#ff9238}.native-challenge-areas .mode-choice-buttons button:nth-child(3){background:#47236a;border-color:#a56cff}
body.native-reference-page[data-menu-page=challenge] .native-challenge-subtitle{font-size:16px;color:#a2c9ec;font-weight:600}
body.native-reference-page .inventory-chat-slot .corner-chat{border:3px solid #168dff;border-radius:11px;background:linear-gradient(#082653,#00102b);box-shadow:0 0 8px 3px #168dff88,inset 0 0 0 2px #0b508b}

body.native-reference-page #menu-pages[data-account-view=wheel]:before{content:"";position:absolute;left:30px;top:82px;width:1612px;height:739px;border:3px solid #168dff;border-radius:24px;z-index:-1;background:#0f1b2c}
body.native-reference-page #menu-pages[data-account-view=wheel] #menu-page-title{top:10px}
body.native-reference-page #menu-pages[data-account-view=wheel] .account-feature-content{font-family:"Native Open Sans",Arial,sans-serif;font-weight:600}
body.native-reference-page #menu-pages[data-account-view=wheel] .native-section-title{font-family:"Trebuchet MS",Arial,sans-serif;font-size:23px;min-height:54px;height:54px;padding:7px 20px;gap:14px}
.native-wheel-glyph{width:36px;height:36px;flex-shrink:0;vertical-align:middle;color:#c6edff}.native-wheel-points>.native-wheel-glyph{width:35px;height:35px}.native-wheel-points>div{display:flex;align-items:center}.native-wheel-points>div>strong{flex:1;white-space:nowrap}.native-wheel-points>div>svg{margin-right:16px;color:#00cefa}.native-wheel-points>div:nth-child(2)>svg{color:#b347ff}.native-wheel-points>div:nth-child(3)>svg{color:#f4be16}
body.native-reference-page #menu-pages[data-account-view=wheel] .native-wheel-points strong{font-size:20px}
body.native-reference-page #menu-pages[data-account-view=wheel] .native-page-actions{display:grid;grid-template-columns:360px 160px 225px 245px 232px 296px;gap:14px}
body.native-reference-page #menu-pages[data-account-view=wheel] .native-page-actions button{display:flex;align-items:center;justify-content:center;gap:18px;font-family:"Trebuchet MS",Arial,sans-serif;font-size:20px;padding:6px}
body.native-reference-page #menu-pages[data-account-view=wheel] .native-wheel-name{color:#edf5ff;font-family:"Trebuchet MS",Arial,sans-serif;font-size:23px}
body.native-reference-page #menu-pages[data-account-view=wheel] .account-wheel-table td{height:60px;border-color:#168dff;background:#0f1b2c;font-size:17px}
body.native-reference-page #menu-pages[data-account-view=wheel] .account-wheel-table td:first-child{border-left:1px solid #168dff;border-radius:12px 0 0 12px}
body.native-reference-page #menu-pages[data-account-view=wheel] .account-wheel-table td:last-child{border-right:1px solid #168dff;border-radius:0 12px 12px 0}
body.native-reference-page #menu-pages[data-account-view=wheel] .account-wheel-table td.account-move-effect{font-size:16px!important;font-weight:600;line-height:20px;max-height:60px;overflow:hidden}
body.native-reference-page #menu-pages[data-account-view=wheel] .native-wheel-help>section:first-child>p{font-size:18px;line-height:24px;margin:10px 24px}
body.native-reference-page #menu-pages[data-account-view=wheel] .native-wheel-help>section:last-child>p{font-size:16px}
body.native-reference-page:has(#menu-pages[data-account-view=wheel]) .inventory-settings-slot{left:10px;top:12px;width:69px;height:69px}
body.native-reference-page:has(#menu-pages[data-account-view=wheel]) .inventory-chat-slot{left:87px;top:26px}

body.native-reference-page #menu-pages[data-account-view=team-plates] .native-plate-grid .native-plate-card{width:146px;height:209px;aspect-ratio:530/760;margin:auto}
body.native-reference-page #menu-pages[data-account-view=team-plates] .native-plate-preview>p{width:100%;font-size:16px;text-align:center;height:32px;line-height:24px;margin:0}

body.native-reference-page #menu-pages[data-account-view=team-evolution]:before{content:"";position:absolute;inset:18px;z-index:-1;border:2px solid #168dff;border-radius:24px;background:#0f1b2c}
body.native-reference-page #menu-pages[data-account-view=team-evolution] .native-page-brand>img{display:none}
body.native-reference-page #menu-pages[data-account-view=team-evolution] #menu-page-title{left:117px;top:66px;width:1380px;height:42px;text-align:left;font-size:32px}
body.native-reference-page #menu-pages[data-account-view=team-evolution] .account-feature-content{left:70px;top:115px;width:1532px;height:773px;overflow:visible;font-family:"Native Open Sans",Arial,sans-serif;font-weight:600}
body.native-reference-page #menu-pages[data-account-view=team-evolution] #back-home{display:none}
.native-evolution-page{position:static;width:100%;height:100%}.native-evolution-line{position:absolute;left:0;top:0;width:1532px;height:204px;padding:14px;border:2px solid #168dff;border-radius:16px;background:#0f1b2c}.native-evolution-line>.section-heading{display:flex;justify-content:space-between;align-items:center;height:20px}.native-evolution-line h3{font-size:14px;margin:0;color:#aac3df}.native-evolution-line .section-heading span{font-size:14px}.native-evolution-chain{display:flex;align-items:center;gap:12px;overflow-x:auto;height:160px;margin-top:6px}.native-evolution-stage{width:180px;min-width:180px;display:flex;flex-direction:column;gap:5px}.native-evolution-stage>small{font-size:12px;color:#aac3df}.native-evolution-stage>button{height:116px;min-height:116px;position:relative;padding:5px;font-size:14px}.native-evolution-stage .account-art{height:82px;width:100%;object-fit:contain}.native-evolution-stage strong{display:block;font-size:12px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:28px}.native-evolution-stage .native-rarity{position:absolute;right:6px;bottom:6px;width:24px;height:18px;object-fit:contain}.native-chain-arrow{font-size:20px;color:#6de8ff}
.native-evolution-browser{position:absolute;left:0;top:214px;width:1532px;height:475px;display:grid;grid-template-columns:760px 760px;gap:12px}.native-evolution-collection,.native-evolution-detail{min-height:0;height:475px;padding:12px;border:2px solid #168dff;border-radius:16px;background:#0f1b2c;overflow:hidden}.native-evolution-collection{display:flex;flex-direction:column}.native-evolution-collection>h3{font-size:14px;color:#aac3df;margin:0 0 8px}.native-evolution-collection>p{font-size:14px;margin:0 0 10px}.native-evolution-candidates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;overflow:auto;align-content:start;flex:1;min-height:0}.native-evolution-candidates>button{position:relative;height:160px;min-height:160px;display:flex;flex-direction:column;justify-content:center;padding:6px}.native-evolution-candidates .account-art{width:100%;height:122px;object-fit:contain}.native-evolution-candidates strong{width:calc(100% - 28px);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}.native-evolution-candidates .native-rarity{position:absolute;right:6px;bottom:6px;width:24px;height:18px;object-fit:contain}.native-evolution-detail>.native-figure-detail{height:100%;border:0;padding:0;overflow:auto}.native-evolution-hint{position:absolute;left:0;top:701px;height:20px;margin:0;font-size:13px;color:#aac3df}
body.native-reference-page #menu-pages[data-account-view=team-evolution] .native-page-actions{position:absolute;left:0;top:721px;width:1532px;height:52px;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0;padding:0}
body.native-reference-page #menu-pages[data-account-view=team-evolution] .native-page-actions button{height:52px;min-height:52px;font-size:14px}.native-attachment-dialog[open]{display:flex;flex-direction:column;overflow:hidden}.native-attachment-dialog .native-attachment-choices{flex:1;min-height:0;overflow:auto;align-content:start}.native-attachment-dialog>button:last-child{height:48px;min-height:48px;width:100%;margin-top:12px}.native-attachment-dialog p{font-size:14px}.native-attachment-dialog>.section-heading h2{font-size:30px;margin:0}
body.native-reference-page #menu-pages[data-account-view=team-plates] .native-plate-toolbar>button{width:118px;height:40px;min-height:40px;font-size:14px;padding:4px}
body.native-reference-page #menu-pages[data-account-view=team-plates] .native-plate-toolbar>select{width:104px;height:40px;min-height:40px;font-size:14px;padding:4px}

/* The Player Hub is fitted as a canvas too; small viewports do not reflow it. */
body.game-menu-layout[data-menu-page=home]{overflow:hidden;--native-unit:1px}
body.game-menu-layout[data-menu-page=home] .workspace{height:100dvh;min-height:0;padding:0;overflow:hidden}
body.game-menu-layout[data-menu-page=home] #home-panel{position:fixed;left:50%;top:50%;width:1574px;max-width:none;height:838px;transform:translate(-50%,-50%) scale(var(--native-fit-scale,1));transform-origin:center}
body.game-menu-layout[data-menu-page=home] .home-top{display:grid;grid-template-columns:505fr 1055fr;gap:14px;height:190px;margin-bottom:15px}
body.game-menu-layout[data-menu-page=home] .home-top .sidebar,body.game-menu-layout[data-menu-page=home] .home-banner.banner-panel{height:190px;min-height:0;padding:18px}
body.game-menu-layout[data-menu-page=home] .hub-identity{grid-template-columns:148px minmax(0,1fr)}
body.game-menu-layout[data-menu-page=home] .home-banner.banner-panel{grid-template-columns:minmax(0,1fr) 284px;gap:22px;padding:10px 18px}
body.game-menu-layout[data-menu-page=home] .banner-panel .home-carousel{height:110px;min-height:0}
body.game-menu-layout[data-menu-page=home] .home-game-title img{width:560px;max-width:100%;height:55px;min-height:0}
body.game-menu-layout[data-menu-page=home] .home-cards{display:grid;grid-template-columns:490fr 570fr 490fr;gap:15px 12px}
body.game-menu-layout[data-menu-page=home] .home-cards .home-card{height:245px;min-height:0;padding:12px}
body.game-menu-layout[data-menu-page=home] .home-cards .home-card:nth-child(n+4){height:270px}
body.game-menu-layout[data-menu-page=home] .home-card .home-card-title{font-size:19px}
body.game-menu-layout[data-menu-page=home] .home-card-count{font-size:15px}
body.game-menu-layout[data-menu-page=home] .home-navigation{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin-top:21px;padding:10px;gap:12px}
body.game-menu-layout[data-menu-page=home] .home-navigation .button{height:58px;min-height:58px;font-size:16px;flex-direction:row}
/* The native team picker used by Play shares TeamPickerPage's coordinates. */
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=offline_setup][data-setup-step=teams]):before{content:"";position:absolute;left:255px;top:18px;width:1162px;height:896px;border:2px solid #168dff;border-radius:24px;background:#0f1b2cf5;z-index:-1}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=offline_setup]) .native-page-brand>img{left:596px;top:0;width:480px;height:83px}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=offline_setup]) #menu-page-title{left:294px;top:86px;width:1084px;height:36px;font-size:28px;line-height:36px}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=offline_setup]) #selected-team-bar{display:none}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=offline_setup][data-setup-step=teams]) #modes-host{position:static;width:100%;height:100%;overflow:visible}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .mode-section{position:static;padding:0;border:0;background:none}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .mode-section>:is(h3,p){display:none}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .mode-section>.mode-choice-group{position:absolute;left:294px;top:124px;width:1084px;height:29px;border:0;padding:0;margin:0}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .mode-choice-group legend{display:none}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .mode-choice-buttons{display:flex;gap:16px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .mode-choice-buttons button{width:534px;height:29px;min-height:29px;line-height:24px;font-size:16px;padding:0 8px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-team-picker{display:block;position:static}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-team-list-pane{position:absolute;left:278px;top:183px;width:700px;height:638px;padding:0;overflow:hidden}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-team-list-pane>h3{position:absolute;left:16px;top:4px;width:172px;height:34px;line-height:34px;font-size:21px;border:0;background:none;padding:0}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .native-team-filter{display:block;position:static;margin:0}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .native-team-filter input{position:absolute;left:193px;top:3px;width:290px;height:44px;min-width:0;font-size:18px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .native-team-filter select{position:absolute;left:493px;top:3px;width:189px;height:44px;font-size:17px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-team-rows{position:absolute;left:14px;top:64px;width:668px;height:532px;max-height:532px;min-height:0;display:flex;flex-direction:column;gap:10px;overflow:auto;padding:0}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-team-row{min-height:90px;height:90px;flex-shrink:0;display:grid;grid-template-columns:270px 1fr;gap:10px;font-size:20px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-team-icon{width:100%;height:60px;object-fit:contain}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-team-list-pane>p{position:absolute;left:14px;top:608px;width:668px;margin:0;font-size:14px;text-align:right}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-team-list-pane>p:last-child{display:none}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-team-preview{position:absolute;left:994px;top:183px;width:400px;height:638px;padding:14px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-team-preview>h3{font-size:21px;padding:0;border:0;background:none;height:32px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-preview-slots{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,144px);gap:12px;margin-top:30px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .mode-section>.button{position:absolute;left:1012px;top:639px;width:364px;height:50px;min-height:50px;margin:0;font-size:18px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .mode-section>.button.primary{left:1046px;top:841px;width:340px;height:54px;font-size:20px}
body.native-reference-page #modes-host[data-mode-section=offline_setup] .native-page-actions{position:absolute;left:286px;top:841px;width:340px;height:54px;margin:0}
body.native-reference-page #modes-host[data-mode-section=offline_setup] .native-page-actions button{width:340px;height:54px;min-height:54px;font-size:18px}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=offline_setup]) #back-home{display:none}
body.native-reference-page .native-move-list,body.native-reference-page .native-move-detail{height:520px;max-height:520px}

/* Native BalanceChanges overlay, with its Changes / New Figures tabs. */
body.native-reference-page[data-menu-page=balance] #menu-pages:before{content:"";position:absolute;left:316px;top:120px;width:1040px;height:700px;border:2px solid #168dff;border-radius:18px;background:#0f1b2cf5;z-index:-1}
body.native-reference-page[data-menu-page=balance] .native-page-brand>img{display:none}
body.native-reference-page[data-menu-page=balance] #menu-page-title{left:336px;top:136px;width:1000px;height:40px;font-size:24px;line-height:40px;text-align:left}
body.native-reference-page[data-menu-page=balance] #menu-pages .hub-content{left:336px;top:190px;width:1000px;height:550px;overflow:hidden}
body.native-reference-page[data-menu-page=balance] .native-updates-tabs{display:flex;justify-content:flex-start;gap:0;height:40px;border-bottom:2px solid #168dff;margin:0}
body.native-reference-page[data-menu-page=balance] .native-updates-tabs>.button{flex:none;width:180px;height:40px;min-height:40px;max-width:none;font-size:20px;padding:5px 20px;border-radius:10px 10px 0 0;border-bottom:0;text-transform:none;box-shadow:none}
body.native-reference-page[data-menu-page=balance] .native-updates-pane{margin-top:0;height:500px;border-radius:0 0 12px 12px;border-top:0;padding:14px 12px}
body.native-reference-page[data-menu-page=balance] .native-new-figure-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body.native-reference-page[data-menu-page=balance] .native-new-figure-card{min-height:258px;background:#0f1b2c;padding:10px}.native-new-figure-card small{font-weight:400}
body.native-reference-page[data-menu-page=balance] #back-home{left:336px;top:752px;width:1000px;height:48px;min-height:48px;font-size:20px}

/* Shared 1672x941 canvas; compact menus own only their inner native rectangle. */
.game-menu-layout.native-reference-page #menu-pages :is(#play-panel,#modes-host){position:static;left:auto;top:auto;width:100%;height:100%;max-width:none;max-height:none;padding:0;margin:0;overflow:visible;background:none;border:0}
body.native-reference-page #modes-host>.mode-columns{position:static}
.game-menu-layout.native-reference-page #menu-pages[data-simple-menu=true]{position:fixed;left:50%;top:50%;width:1672px;height:941px;max-width:none;max-height:none;min-height:0;padding:0;border:0;background:none;overflow:visible;display:block;transform:translate(-50%,-50%) scale(var(--native-page-scale,1));transform-origin:center}
body.native-reference-page #menu-pages[data-simple-menu=true] :is(#play-panel,#modes-host){position:static;width:100%;height:100%;padding:0;background:none;overflow:visible}
body.native-reference-page #menu-pages[data-simple-menu=true] .mode-columns{position:absolute;left:570px;top:243px;width:532px;height:454px;display:block;border:2px solid #168dff;border-radius:24px;background:#0f1b2c;padding:0;margin:0}
body.native-reference-page #menu-pages[data-simple-menu=true] .native-menu-title{position:absolute;left:48px;top:34px;width:432px;height:80px;max-width:none;margin:0}
body.native-reference-page #menu-pages[data-simple-menu=true] .native-menu-heading{position:absolute;left:48px;top:122px;width:432px;height:48px;padding-top:14px;border:0;border-top:1px solid #71839a;font-size:26px;line-height:30px;margin:0;text-align:center}
body.native-reference-page #menu-pages[data-simple-menu=true] .game-button-list{position:absolute;left:49px;top:193px;width:432px;display:grid;gap:14px;margin:0}
body.native-reference-page #menu-pages[data-simple-menu=true] .game-button-list .button{height:66px;min-height:66px;font-size:22px;border-radius:16px;padding:8px}
body.native-reference-page #menu-pages[data-simple-menu=true]:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=single]) .mode-columns{top:163px;height:614px}
body.native-reference-page #menu-pages[data-simple-menu=true]:has(:where(#play-panel:not([hidden])) #modes-host:is([data-mode-section=menu],[data-mode-section=multiplayer])) .mode-columns{top:203px;height:534px}
.native-figure-detail .native-card-lower,.native-figure-detail .native-card-lower>section,.native-figure-detail .native-card-moves,.native-figure-detail .native-card-moves :is(thead,tbody,tr,th,td){border-radius:0;clip-path:none}
.figure-hover-card .native-figure-detail,.figure-info-dialog .native-figure-detail,body.native-reference-page .native-figure-detail{border-radius:0}

/* ChallengePages palettes and original region backgrounds. */
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=campaign]){--challenge-accent:#168dff;--challenge-bright:#23ceff;--challenge-muted:#a2c9ec;--challenge-panel:#03142b;--challenge-button:#04182f;--challenge-selected:#0a396a}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=campaign][data-difficulty=hard]){--challenge-accent:#ff9238;--challenge-bright:#ff9e50;--challenge-muted:#e7c5a7;--challenge-panel:#241708;--challenge-button:#3b240c;--challenge-selected:#864713}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=campaign][data-difficulty=expert]){--challenge-accent:#a56cff;--challenge-bright:#ddb3ff;--challenge-muted:#cab8e7;--challenge-panel:#32144f;--challenge-button:#27103f;--challenge-selected:#602c8a}
body.native-reference-page:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=campaign][data-campaign-view=gyms][data-campaign-region=kanto]){background-image:linear-gradient(#020d1c70,#020d1c70),var(--native-area-kanto)}
body.native-reference-page:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=campaign][data-campaign-view=gyms][data-campaign-region=sinnoh]){background-image:linear-gradient(#020d1c70,#020d1c70),var(--native-area-sinnoh)}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=campaign]):before{border-color:var(--challenge-accent);background:var(--challenge-panel)}
body.native-reference-page #modes-host[data-mode-section=campaign] .native-challenge-subtitle,body.native-reference-page #modes-host[data-mode-section=campaign] .gym-badge-leader{color:var(--challenge-muted)}
body.native-reference-page #modes-host[data-mode-section=campaign] .gym-badge-card{background:var(--challenge-panel);border-color:var(--challenge-accent);box-shadow:0 0 0 1px #168dff inset}
body.native-reference-page #modes-host[data-mode-section=campaign] .gym-badge-card:before{content:"";position:absolute;left:60px;top:16px;width:180px;height:180px;opacity:.1;background:var(--native-figure-collection) center/contain no-repeat;pointer-events:none}
body.native-reference-page #modes-host[data-mode-section=campaign] .gym-badge-card>strong{top:149px;height:28px;font-size:19px}
body.native-reference-page #modes-host[data-mode-section=campaign] .gym-badge-card>.gym-badge-art{position:absolute;left:61px;top:18px;width:180px;height:132px}
body.native-reference-page #modes-host[data-mode-section=campaign] .gym-badge-leader{top:188px;height:22px;font-size:14px;padding:0;border-color:color-mix(in srgb,var(--challenge-accent) 30%,transparent)}
body.native-reference-page #modes-host[data-mode-section=campaign] .gym-badge-card>.trainer-card-state{left:70px;top:212px;width:161px;height:24px;line-height:20px;border:2px solid var(--challenge-accent);border-radius:14px;background:var(--challenge-button);color:var(--challenge-muted)}
body.native-reference-page #modes-host[data-mode-section=campaign] .gym-badge-card.is-completed>.trainer-card-state{color:#43ffc5}
body.native-reference-page #modes-host[data-mode-section=campaign][data-campaign-region=kanto][data-difficulty=normal] .gym-badge-card>strong{top:124px}
body.native-reference-page #modes-host[data-mode-section=campaign][data-campaign-region=kanto][data-difficulty=normal] .gym-badge-card>.gym-badge-art{left:78px;top:10px;width:145px;height:110px}
body.native-reference-page #modes-host[data-mode-section=campaign][data-campaign-region=kanto][data-difficulty=normal] .gym-badge-leader{top:161px}
body.native-reference-page #modes-host[data-mode-section=campaign][data-campaign-region=kanto][data-difficulty=normal] .gym-badge-card>.trainer-card-state{top:184px;height:20px;line-height:16px;border:0;background:none}
body.native-reference-page #modes-host[data-mode-section=campaign] .native-campaign-page>button{border-color:var(--challenge-accent);background:var(--challenge-button);color:#edf6ff}
body.native-reference-page #modes-host[data-mode-section=campaign] .native-campaign-page>button:hover{background:var(--challenge-selected)}
body.native-reference-page #modes-host[data-mode-section=campaign] .elite-four-entry{border-color:var(--challenge-accent);overflow:hidden}
body.native-reference-page #modes-host[data-mode-section=campaign] .elite-four-entry:before{content:"";position:absolute;left:505px;top:5px;width:485px;height:88px;background:var(--native-league-silhouettes) center/cover no-repeat}
body.native-reference-page #modes-host[data-mode-section=campaign] .elite-four-entry>button{background:var(--challenge-button);border-color:var(--challenge-accent)}
body.native-reference-page #modes-host[data-mode-section=campaign] .elite-trainer-grid{display:none}
body.native-reference-page #modes-host[data-mode-section=campaign][data-campaign-view=elite] .elite-trainer-grid{display:grid}
body.native-reference-page #modes-host[data-mode-section=campaign] .mode-choice-buttons>button{border-color:#168dff;background:#07284a}
body.native-reference-page #modes-host[data-mode-section=campaign] .mode-choice-buttons>button:nth-child(2){border-color:#ff9238;background:#5e320d}
body.native-reference-page #modes-host[data-mode-section=campaign] .mode-choice-buttons>button:nth-child(3){border-color:#a56cff;background:#431e60}
body.native-reference-page #modes-host[data-mode-section=campaign] .mode-choice-buttons>button[aria-pressed=true]{border-color:var(--challenge-bright);background:var(--challenge-selected);box-shadow:0 0 10px var(--challenge-accent)}
body.native-reference-page #modes-host[data-mode-section=campaign] .native-area-card{border-color:var(--challenge-accent);background:var(--challenge-panel)}
body.native-reference-page #modes-host[data-mode-section=campaign] .native-area-card button{background:var(--challenge-button);border-color:var(--challenge-accent)}

/* MayhemTowerPage's 1600x900 design is fitted inside the shared native canvas. */
body.native-reference-page:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=tower]){background-image:linear-gradient(#020d1c70,#020d1c70),var(--native-tower-background)}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=tower]) :is(#menu-page-heading,#selected-team-bar,#back-home){display:none}
.native-tower-page{position:absolute;left:0;top:.25px;width:1600px;height:900px;transform:scale(1.045);transform-origin:top left;font-family:Georgia,"Times New Roman",serif;text-align:center}
.native-tower-title{position:absolute;left:365px;top:-36px;width:870px;height:290px;object-fit:contain}
.native-tower-heading{position:absolute;left:480px;top:164px;width:640px;height:49px;font:700 40px/49px Georgia,serif;color:#f1f8ff;text-shadow:2px 2px 2px #08244c,-1px -1px #08244c;margin:0}
.native-tower-record{position:absolute;left:440px;top:214px;width:720px;height:32px;font:700 22px/32px Georgia,serif;color:#f1f8ff;text-shadow:2px 2px #08244c;margin:0}
.native-tower-lives{position:absolute;left:1154px;top:238px;width:124px;height:60px;display:flex;color:#ed4859;text-shadow:1px 1px 2px #08244c;font:46px/60px Arial,sans-serif}.native-tower-lives span{width:62px}.native-tower-lives .heart-lost{color:#687385}
.native-tower-floors{position:absolute;left:587px;top:278px;width:426px;height:202px;overflow:hidden;touch-action:none;cursor:grab}
.native-tower-floor{position:absolute;left:6px;width:414px;height:90px;border:2px solid #168dff;border-radius:24px;background:#0b162b;color:#a2c9ec;display:flex;flex-direction:column;justify-content:center;align-items:center}
.native-tower-floor.is-current{background:#123457;color:#f1f8ff;border-color:#23ceff}.native-tower-floor.is-cleared{background:#182a3b;border-color:#8cc5df}.native-tower-floor strong{font:700 30px/36px Georgia,serif}.native-tower-floor small{font:13px/18px "Native Open Sans",Arial,sans-serif}
.native-tower-floor:before,.native-tower-floor:after,.native-tower-enter:before,.native-tower-enter:after,.native-tower-back:before,.native-tower-back:after{content:"";position:absolute;top:calc(50% - 12px);width:24px;height:24px;border:3px solid currentColor;border-radius:50%;opacity:.4;background:radial-gradient(circle,transparent 0 18%,currentColor 19% 28%,transparent 29%),linear-gradient(transparent 43%,currentColor 44% 54%,transparent 55%)}
.native-tower-floor:before,.native-tower-enter:before,.native-tower-back:before{left:32px}.native-tower-floor:after,.native-tower-enter:after,.native-tower-back:after{right:32px}
body.native-reference-page .native-tower-page>.button{position:absolute;width:268px;height:70px;min-height:70px;left:264px;border:2px solid #23ceff;border-radius:24px;background:#123457;color:#edf6ff;font:700 22px Georgia,serif;padding:8px 8px 8px 60px;margin:0}
.native-tower-action-icon{position:absolute;left:13px;top:13px;width:44px;height:44px;object-fit:contain}.native-tower-odds{top:266px}.native-tower-types{top:344px}.native-tower-leaderboard{top:422px}
.native-tower-daily{position:absolute;left:1044px;top:309px;width:344px;height:140px;border:2px solid #168dff;border-radius:18px;background:#082b54ee;display:flex;flex-direction:column;justify-content:center;padding:10px;font:600 18px/28px "Native Open Sans",Arial,sans-serif}.native-tower-daily p{margin:0}
.native-tower-reward{position:absolute;left:390px;top:492px;width:820px;height:337px}.native-tower-reward-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:-1}
.native-tower-reward>p{position:absolute;left:40px;top:111px;width:740px;height:76px;margin:0;overflow:auto;white-space:pre-line;font:600 18px/29px "Native Open Sans",Arial,sans-serif;color:#aac3df}
body.native-reference-page .native-tower-page .native-tower-enter{position:absolute;left:90px;top:197px;width:640px;height:76px;min-height:76px;border:2px solid #168dff;border-radius:24px;background:#4d380a;color:#fff6df;font:700 30px Georgia,serif;margin:0}
body.native-reference-page .native-tower-page>.native-tower-back{left:505px;top:811px;width:590px;height:58px;min-height:58px;padding:4px;background:#182a3b;border-color:#8cc5df;font:700 30px Georgia,serif}
body.native-reference-page .native-tower-page>.native-tower-abandon{left:505px;top:772px;width:590px;height:30px;min-height:30px;font:14px "Native Open Sans",Arial,sans-serif;padding:2px;border-color:#f55;background:#4c1420}
.native-mode-dialog{width:760px;max-height:calc(100dvh - 40px);padding:18px;border:2px solid #168dff;background:#0f1b2c;color:#edf6ff}.native-mode-dialog>.section-heading{display:flex;justify-content:space-between;gap:12px;margin-bottom:16px}.native-mode-dialog h2{font-size:24px}.native-mode-dialog-body{max-height:calc(100dvh - 150px);overflow:auto}.native-mode-dialog-body p{font-size:17px;line-height:1.5}.native-mode-dialog-body .menu-table{width:100%;border-collapse:collapse}.native-mode-dialog-body :is(th,td){padding:12px;border:1px solid #556780;font-size:15px}.native-anomaly-table td{white-space:pre-line}.native-anomaly-art{width:140px;height:88px;object-fit:contain}

/* Ranked TeamPickerPage and RankedSearchPage. */
body.native-reference-page:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=ranked]){background-image:linear-gradient(#020d1c70,#020d1c70),var(--native-ranked-background)}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=ranked]){background:none}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=ranked][data-ranked-view=team]):before{content:"";position:absolute;left:255px;top:18px;width:1162px;height:896px;border:2px solid #168dff;border-radius:18px;background:#0f1b2c;z-index:-1}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=ranked][data-ranked-view=team]) .native-page-brand>img{left:596px;top:0;width:480px;height:83px}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=ranked][data-ranked-view=team]) #menu-page-title{left:294px;top:86px;width:1084px;height:36px;font-size:28px;text-align:center}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=ranked]) #selected-team-bar{display:none}
.native-ranked-team-rating{position:absolute;left:294px;top:125px;width:1084px;height:30px;text-align:center;font-size:18px;color:#aac3df;margin:0}.native-ranked-team-rewards{position:absolute;left:294px;top:155px;width:1084px;height:23px;text-align:center;font-size:16px;margin:0}
body.native-reference-page #modes-host[data-mode-section=ranked][data-ranked-view=team] .match-team-picker{position:absolute;left:278px;top:183px;width:1116px;height:638px;display:grid;grid-template-columns:700px 400px;gap:16px;margin:0}
body.native-reference-page #modes-host[data-mode-section=ranked] .match-team-list-pane,body.native-reference-page #modes-host[data-mode-section=ranked] .match-team-preview{position:relative;height:638px;overflow:hidden;border:2px solid #168dff;border-radius:16px;padding:14px;background:#0f1b2c}
body.native-reference-page #modes-host[data-mode-section=ranked] .match-team-list-pane>h3{position:absolute;left:16px;top:7px;width:172px;height:34px;line-height:34px;font-size:21px;margin:0}
body.native-reference-page #modes-host[data-mode-section=ranked] .native-team-filter{position:absolute;left:193px;top:3px;display:flex;gap:10px;height:44px}.native-ranked-team .native-team-filter input{width:290px;height:44px}.native-ranked-team .native-team-filter select{width:189px;height:44px}
body.native-reference-page #modes-host[data-mode-section=ranked] .match-team-rows{position:absolute;left:14px;top:64px;width:668px;height:520px;max-height:none;overflow:auto}.native-ranked-team .match-team-list-pane>p{position:absolute;left:14px;bottom:8px;width:668px;margin:0;text-align:right;font-size:14px}.native-ranked-team .match-team-list-pane>p:last-child{display:none}
body.native-reference-page #modes-host[data-mode-section=ranked] .match-preview-slots{position:absolute;left:16px;top:64px;width:364px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:144px;gap:12px}
body.native-reference-page #modes-host[data-mode-section=ranked] .match-preview-slot{position:relative;min-width:0;height:144px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px solid #168dff;border-radius:12px;padding:6px;background:#0b162b}.native-ranked-team .match-preview-art{width:100px;height:94px;object-fit:contain}.native-ranked-team .match-preview-slot strong{font-size:11px}.native-ranked-team .match-preview-slot small{font-size:10px}.native-ranked-team .match-team-preview>h4{position:absolute;right:16px;top:12px;max-width:190px;height:25px;overflow:hidden;font-size:14px;margin:0}.native-ranked-team .match-team-preview>p{display:none}
body.native-reference-page #modes-host[data-mode-section=ranked] .native-ranked-team>button{position:absolute;height:54px;min-height:54px;margin:0;font-size:18px}
.native-ranked-edit{left:1012px;top:567px;width:176px}.native-ranked-choose{left:1200px;top:567px;width:176px}.native-ranked-random{left:1012px;top:639px;width:364px}.native-ranked-restrictions{left:646px;top:841px;width:380px}.native-ranked-odds{position:absolute;left:1012px;top:711px;width:364px;height:100px;white-space:pre-line;text-align:center;font-size:14px;line-height:21px;color:#aac3df;margin:0}
body.native-reference-page #modes-host[data-mode-section=ranked]>.mode-columns>.native-page-actions{position:absolute;left:286px;top:841px;width:340px;height:54px;margin:0}.native-ranked-team~.native-page-actions>button{height:54px;min-height:54px;width:340px;font-size:18px}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=ranked][data-ranked-view=search]) #menu-page-heading{display:none}
.native-ranked-search{position:static}.native-ranked-title{position:absolute;left:522px;top:4px;width:628px;height:270px;object-fit:contain}.native-ranked-rating{position:absolute;left:572px;top:267px;width:528px;height:58px;border:2px solid #168dff;border-radius:30px;background:#0f1b2c;text-align:center;font-size:21px;line-height:54px;margin:0}.native-ranked-selected{position:absolute;left:457px;top:330px;width:758px;height:32px;text-align:center;font-size:23px;color:#48ceff;margin:0}.native-ranked-hint{position:absolute;left:457px;top:366px;width:758px;height:28px;text-align:center;font-size:19px;margin:0}.native-ranked-search-art{position:absolute;left:450px;top:400px;width:772px;height:350px;object-fit:fill}.native-ranked-status{position:absolute;left:472px;top:604px;width:728px;height:45px;text-align:center;font:700 28px/45px "Native Open Sans",Arial,sans-serif;color:#08244c;margin:0}.native-ranked-range{position:absolute;left:481px;top:650px;width:710px;height:38px;text-align:center;font-size:19px;color:#708398;margin:0}.native-ranked-players{position:absolute;left:477px;top:694px;width:718px;height:30px;text-align:center;font-size:17px;color:#708398;margin:0}
body.native-reference-page .native-ranked-search>button{position:absolute;margin:0;font-size:22px;height:90px;min-height:90px;border-radius:24px}.native-ranked-bots{left:1130px;top:270px;width:420px!important;height:66px!important;min-height:66px!important;background:#123457!important}.native-ranked-bots[aria-pressed=false]{background:#4b310d!important;border-color:#ffda70!important}
.native-ranked-activity{width:360px;padding-left:70px!important}.native-ranked-activity-icon{position:absolute;left:17px;top:20px;width:50px;height:50px;object-fit:contain}.ranked-activity-database{left:65px;top:416px}.ranked-activity-quests{left:65px;top:524px}.ranked-activity-collection{left:65px;top:632px}.ranked-activity-leaderboard{left:1247px;top:416px}.ranked-activity-challenge{left:1247px;top:524px}.ranked-activity-team{left:1247px;top:632px}
body.native-reference-page .native-ranked-search>.native-ranked-cancel{left:370px;top:766px;width:932px;height:82px;min-height:82px;background:#75132a;border-color:#ff5278;font-size:30px}.native-ranked-reward-note{position:absolute;left:330px;top:859px;width:1012px;height:28px;text-align:center;font-size:16px;margin:0;text-shadow:1px 1px #08244c}
.native-ranked-rings{position:absolute;left:758.5px;top:452.7px;width:156px;height:156px;background-image:var(--native-ranked-search);background-size:772px 350px;background-position:-308.5px -52.7px;mask-image:radial-gradient(closest-side,transparent 77%,#000 78% 99%,transparent);animation:native-ranked-ring 2.8s linear infinite}@keyframes native-ranked-ring{0%{transform:rotate(0)}64.2857%,100%{transform:rotate(360deg)}}
.native-restriction-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.native-restriction-grid>div{display:flex;flex-direction:column;align-items:center;border:2px solid #168dff;border-radius:12px;padding:10px}.native-restriction-grid img{width:120px;height:120px;object-fit:contain}

/* Native Custom Lobbies directory and separate create/join forms. */
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=rooms]) :is(#back-home,#selected-team-bar){display:none}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=rooms]):before{content:"";position:absolute;left:334px;top:37px;width:1004px;height:866px;border:2px solid #168dff;border-radius:24px;background:#0f1b2c;z-index:-1}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=rooms]) .native-page-brand>img{left:626px;top:73px;width:420px;height:80px}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=rooms]) #menu-page-title{left:385px;top:161px;width:902px;height:54px;padding-top:14px;border-top:1px solid #71839a;font-size:26px;line-height:40px;text-align:center}
.native-room-page{position:static}.native-room-note{position:absolute;left:385px;top:232px;width:902px;height:26px;font-size:16px;line-height:26px;text-align:center;color:#aac3df;margin:0}.native-room-actions{position:absolute;left:386px;top:265px;width:900px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.native-room-actions>button{height:66px;min-height:66px;font-size:22px;border-radius:16px}
.native-room-directory{position:absolute;left:386px;top:345px;width:900px;height:330px;padding:10px;overflow:auto;border:2px solid #168dff;border-radius:14px;background:#08244c}.native-room-empty{text-align:center;color:#aac3df;font-size:16px;line-height:40px;margin:0}.native-room-row{display:flex;align-items:center;gap:12px;margin-bottom:8px}.native-room-row p{flex:1;margin:0;font-size:17px}.native-room-row>button{width:150px;height:66px;min-height:66px;font-size:20px}
body.native-reference-page .native-room-page.room-directory>button{position:absolute;left:386px;top:723px;width:900px;height:66px;min-height:66px;font-size:22px;border-radius:16px;margin:0}.native-room-page.room-directory>button:last-child{top:803px!important}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-room-view=create]):before{left:491px;top:143px;width:690px;height:654px}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-room-view=create]) .native-page-brand>img{top:179px}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-room-view=create]) #menu-page-title{left:542px;top:267px;width:588px}
.room-create>.native-room-note{left:542px;top:336px;width:588px}.room-create>input,.room-join>input{position:absolute;left:543px;top:371px;width:586px;height:52px;border:2px solid #168dff;border-radius:20px;background:#0f1b2c;color:#edf6ff;text-align:center;font-size:16px;padding:8px}
.room-create>input:nth-of-type(2){top:437px}.native-room-spectators{position:absolute;left:543px;top:503px;width:586px;height:34px;display:flex;justify-content:space-between;align-items:center;padding:4px 15px;border:2px solid #168dff;border-radius:20px;background:#0f1b2c;font-size:16px}.native-room-spectators input{accent-color:#168dff;width:20px;height:20px}.room-create>select{position:absolute;left:543px;top:551px;width:586px;height:52px;font-size:20px;border:2px solid #168dff;background:#08244c;color:#edf6ff;border-radius:16px;padding:6px 15px}
body.native-reference-page .native-room-page.room-create>button{position:absolute;left:543px;top:617px;width:586px;height:66px;min-height:66px;font-size:22px;border-radius:16px;margin:0}.native-room-page.room-create>button:last-child{top:697px!important}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-room-view=join]):before{left:491px;top:218px;width:690px;height:504px}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-room-view=join]) .native-page-brand>img{top:254px}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-room-view=join]) #menu-page-title{left:542px;top:342px;width:588px}
.room-join>.native-room-note{left:542px;top:410px;width:588px}.room-join>input{top:445px}.room-join>input:nth-of-type(2){top:511px}
body.native-reference-page .native-room-page.room-join>button{position:absolute;left:543px;top:577px;width:586px;height:66px;min-height:66px;font-size:22px;margin:0}.native-room-page.room-join>button:last-child{top:657px!important}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-room-view=team]):before{left:255px;top:18px;width:1162px;height:896px}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-room-view=team]) .native-page-brand>img{left:596px;top:0;width:480px;height:83px}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-room-view=team]) #menu-page-title{left:294px;top:86px;width:1084px;height:36px;border:0;padding:0}
.room-team .match-team-picker{position:absolute;left:278px;top:183px;width:1116px;height:638px;display:grid;grid-template-columns:700px 400px;gap:16px}.room-team .match-team-rows{height:470px;max-height:470px;overflow:auto}.room-team .match-team-preview,.room-team .match-team-list-pane{height:638px;overflow:hidden;padding:14px}.room-team .match-preview-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:144px;gap:12px}
body.native-reference-page .room-team>button{position:absolute;left:286px;top:841px;width:340px;height:54px;min-height:54px;font-size:18px;margin:0}body.native-reference-page .room-team>.native-room-choose{left:1012px;top:567px;width:364px}
body.native-reference-page .room-team>.native-room-random{left:1012px;top:709px;width:364px}
@media(prefers-reduced-motion:reduce){.native-ranked-rings{animation:none}}
body.game-menu-layout.native-reference-page[data-menu-page=play] #menu-pages[data-simple-menu=true] .mode-columns>.game-button-list{width:432px;max-width:432px}
.native-tower-reward>p{overflow:hidden}.native-tower-types{white-space:nowrap;font-size:21px!important}.native-tower-daily{font-weight:400}
.native-ranked-search{position:absolute;left:56.8587px;top:64px;width:1672px;height:941px;transform:scale(.931987);transform-origin:top left}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-ranked-view=search]) .inventory-settings-slot{left:75.5px;top:80.8px;transform:scale(.931987);transform-origin:top left}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-ranked-view=search]) .inventory-chat-slot{left:150px;top:94px;transform:scale(.931987);transform-origin:top left}

/* LeaderboardPage keeps sorting separate from the recorded leaderboard position. */
body.native-reference-page[data-menu-page=leaderboard] #menu-pages:before{content:"";position:absolute;left:180px;top:130px;width:1312px;height:744px;border:3px solid #168dff;border-radius:22px;background:#08244c;z-index:-1}
body.native-reference-page[data-menu-page=leaderboard] #menu-pages .hub-content,body.native-reference-page[data-menu-page=quests] #menu-pages .hub-content{position:static;left:auto;top:auto;width:100%;height:100%;padding:0;overflow:visible}
body.native-reference-page[data-menu-page=leaderboard] #menu-page-title{left:516px;top:109px;width:640px;height:38px;line-height:34px;padding:0;border:2px solid #168dff;border-radius:16px;background:#08244c;font-size:24px;letter-spacing:7px;text-align:center}
.native-leaderboard-page{position:static}.native-leaderboard-page>.native-ranking-tabs{position:absolute;left:220px;top:156px;width:1232px;height:48px;display:flex;gap:16px;margin:0}.native-leaderboard-page>.native-ranking-tabs>button{width:608px;height:48px;min-height:48px;font-size:18px;border-radius:16px}
.native-leaderboard-filters{position:absolute;left:220px;top:211px;width:1232px;height:58px;display:flex;gap:20px}.native-leaderboard-filters>input{width:952px;height:58px;font-size:22px;border:2px solid #168dff;border-radius:16px;padding:10px 14px}.native-leaderboard-filters>select{width:260px;height:58px;font-size:16px;margin:0!important;border:2px solid #168dff;border-radius:16px;background:#0f1b2c;color:#edf6ff}
.native-leaderboard-scroll{position:absolute;left:202px;top:272px;width:1260px;height:480px;overflow:auto}.native-leaderboard-page .native-ranking-table{width:100%;border-collapse:separate;border-spacing:0 8px;table-layout:fixed;margin:0}.native-leaderboard-page .native-ranking-table thead{position:sticky;top:0;z-index:2}.native-leaderboard-page .native-ranking-table th{height:36px;padding:6px;background:#fff9ec;color:#123457;text-align:center;font-size:18px;border:0}.native-leaderboard-page .native-ranking-table th:first-child{border-radius:14px 0 0 14px;width:12%}.native-leaderboard-page .native-ranking-table th:nth-child(2){width:23%}.native-leaderboard-page .native-ranking-table th:last-child{border-radius:0 14px 14px 0}.native-leaderboard-page .native-ranking-table td{height:76px;padding:10px 8px;font-size:18px;text-align:center;border-top:1px solid #246294;border-bottom:1px solid #246294;background:#062145}.native-leaderboard-page .native-ranking-table td:first-child{border-left:1px solid #246294;border-radius:14px 0 0 14px}.native-leaderboard-page .native-ranking-table td:last-child{border-right:1px solid #246294;border-radius:0 14px 14px 0}.native-leaderboard-page .native-ranking-table td:nth-child(2){text-align:left}.native-leaderboard-page .native-ranking-table td button{font-size:19px;border:0;background:none;padding:2px;color:#edf6ff}
.native-leaderboard-page .native-ranking-table tr[data-medal="1"] td{background:linear-gradient(#665125,#322712);border-color:#ffdc73}.native-leaderboard-page .native-ranking-table tr[data-medal="2"] td{background:linear-gradient(#425368,#1c2b3b);border-color:#d2dfec}.native-leaderboard-page .native-ranking-table tr[data-medal="3"] td{background:linear-gradient(#67422b,#322015);border-color:#c99562}.native-leaderboard-empty{padding-top:60px;font-size:23px;color:#a2c9ec;text-align:center}.native-leaderboard-summary{position:absolute;left:220px;top:760px;width:1232px;height:24px;text-align:center;font-size:15px;color:#a2c9ec;margin:0}
body.native-reference-page .native-leaderboard-page>.native-leaderboard-full{position:absolute;left:853px;top:787px;width:590px;height:62px;min-height:62px;font-size:18px;margin:0}
body.native-reference-page[data-menu-page=leaderboard] #back-home{left:240px;top:787px;width:485px;height:62px;min-height:62px;font-size:18px}

/* QuestPanel's fixed bonus strip and three-column quest scroll area. */
body.native-reference-page[data-menu-page=quests] #menu-pages:before{content:"";position:absolute;left:112px;top:114px;width:1448px;height:736px;border:3px solid #168dff;border-radius:22px;background:#0f1b2c;z-index:-1}
body.native-reference-page[data-menu-page=quests] #menu-page-title{display:none}.native-quest-page{position:static}.native-quest-emblem{position:absolute;left:152px;top:149px;width:59px;height:59px;object-fit:contain}.native-quest-title{position:absolute;left:230px;top:143px;width:530px;height:48px;font-size:38px!important;line-height:48px;margin:0!important}.native-quest-clock{position:absolute;left:230px;top:191px;width:530px;height:44px;color:#aac3df;font-size:18px;line-height:25px;margin:0}.native-quest-intro{position:absolute;left:230px;top:238px;width:1285px;height:30px;font-size:19px;line-height:30px;margin:0}
.native-quest-actions{position:absolute;left:773px;top:157px;width:750px;height:60px;display:grid;grid-template-columns:255px 237px 237px;gap:13px}.native-quest-actions>button{height:60px;min-height:60px;font-size:18px;position:relative}.native-quest-inventory-icon{width:30px;height:30px;object-fit:contain}
.native-quest-bonuses{position:absolute;left:155px;top:289px;width:1370px;height:174px;display:grid;grid-template-columns:repeat(3,382.667px);justify-content:space-between;gap:16px}.native-quest-bonus{padding:15px;border:2px solid #dcb85c;border-radius:16px;background:#0b2748;display:flex;flex-direction:column;gap:6px;overflow:hidden}.native-quest-bonus h3{font-size:17px;text-align:center;margin:0}.native-quest-bonus-rewards{display:flex;align-items:center;justify-content:center;gap:8px}.native-quest-chest{width:56px;height:56px;object-fit:contain}.native-quest-bonus-rewards strong{font-size:23px}.native-quest-bonus>button{height:32px;min-height:32px;font-size:15px;padding:3px;margin:0}
.native-quest-list{position:absolute;left:155px;top:478px;width:1370px;height:350px;overflow:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:12px;padding-right:10px}.native-quest-list>p,.native-quest-list>button{grid-column:1/-1;font-size:18px}.native-quest-card{height:344px;border:2px solid #67bd92;border-radius:16px;background:#102b2a;padding:18px;display:flex;flex-direction:column;gap:6px;min-width:0}.native-quest-card[data-difficulty=medium]{border-color:#c9a651;background:#302819}.native-quest-card[data-difficulty=hard]{border-color:#c47580;background:#30202b}.native-quest-card-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px}.native-quest-card-heading strong{padding:4px 8px;border:1px solid #578968;border-radius:6px;color:#77dfad}.native-quest-card[data-difficulty=medium] .native-quest-card-heading strong{color:#edc56c}.native-quest-card[data-difficulty=hard] .native-quest-card-heading strong{color:#f18b8f}.native-quest-card-heading span{color:#aac3df}.native-quest-card h3{font-size:22px;margin:0}.native-quest-objective{min-height:72px;flex:1;overflow:auto;font-size:18px;line-height:25px;color:#a5b6cd;margin:0}.native-quest-progress-heading{display:flex;justify-content:space-between;font-size:12px;color:#a5b6cd}.native-quest-card progress{width:100%;height:12px;flex-shrink:0;accent-color:#77dfad}.native-quest-card-rewards{display:flex;align-items:center;gap:8px}.native-quest-card-rewards span{white-space:pre-line;font-size:14px}.native-quest-card-rewards b{flex:1;text-align:center;font-size:20px;color:#a5b6cd}.native-quest-card-actions{display:flex;gap:10px}.native-quest-card-actions button{flex:1;height:42px;min-height:42px;font-size:16px;padding:4px;margin:0}
body.native-reference-page[data-menu-page=quests] #back-home{left:455px;top:858px;width:762px;height:59px;min-height:59px;font-size:18px}

/* Database is the same centered menu family as Play. */
body.game-menu-layout.native-reference-page[data-menu-page=database] #menu-pages{width:1672px;height:941px;max-width:none;max-height:none;padding:0;min-height:0;background:none}
body.native-reference-page[data-menu-page=database] #menu-pages:before{content:"";position:absolute;left:570px;top:163px;width:532px;height:614px;border:2px solid #168dff;border-radius:24px;background:#0f1b2c;z-index:-1}
body.native-reference-page[data-menu-page=database] .native-page-brand>img{left:620px;top:197px;width:432px;height:80px}
body.native-reference-page[data-menu-page=database] #menu-page-title{left:620px;top:285px;width:432px;height:48px;padding-top:14px;border-top:1px solid #71839a;font-size:26px;line-height:30px;text-align:center}
body.native-reference-page[data-menu-page=database] #database-panel{position:static;left:auto;top:auto;width:100%;height:100%;overflow:visible}
body.game-menu-layout.native-reference-page[data-menu-page=database] #database-panel>.game-button-list{position:absolute;left:620px;top:397px;width:432px;padding:0;display:grid;gap:14px}
body.game-menu-layout.native-reference-page[data-menu-page=database] #database-panel>.game-button-list>button{height:66px;min-height:66px;font-size:22px;padding:8px}
body.native-reference-page[data-menu-page=database] #back-home{left:620px;top:677px;width:432px;height:66px;min-height:66px;font-size:22px}

/* Shared chooser coordinates must not inherit the generic panel padding. */
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=ranked]) #back-home{display:none}
body.native-reference-page #modes-host[data-mode-section=ranked] :is(.match-team-list-pane,.match-team-preview){padding:0}
body.native-reference-page #modes-host[data-mode-section=ranked] .match-team-preview>h3{position:absolute;left:0;top:0;width:100%;height:40px;margin:0;padding:5px 16px;font-size:21px}
body.native-reference-page #modes-host[data-mode-section=ranked] .match-team-list-pane>h3{padding:0;border:0;background:none}
body.native-reference-page #modes-host[data-mode-section=ranked] .mode-status:not(.is-error){display:none}
body.native-reference-page[data-menu-page=leaderboard]{background-image:linear-gradient(#020d1c70,#020d1c70),var(--native-leaderboard-background)}

/* Reference Database menu (three native entries) and full-width libraries. */
body.native-reference-page[data-menu-page=database] #menu-pages:before{top:203px;height:534px}
body.native-reference-page[data-menu-page=database] .native-page-brand>img{top:237px}
body.native-reference-page[data-menu-page=database] #menu-page-title{top:325px}
body.native-reference-page[data-menu-page=database] #back-home{top:637px}
body.native-reference-page:is([data-menu-page=moves],[data-menu-page=library]) #menu-pages:before{content:"";position:absolute;left:18px;top:18px;width:1636px;height:904px;border:2px solid #168dff;border-radius:26px;background:#0f1b2c;z-index:-1}
body.native-reference-page:is([data-menu-page=moves],[data-menu-page=library]) .native-page-brand>img{display:none}
body.native-reference-page:is([data-menu-page=moves],[data-menu-page=library]) #menu-page-title{left:70px;top:60px;width:1532px;height:40px;font-size:28px;text-align:center}
body.native-reference-page:is([data-menu-page=moves],[data-menu-page=library]) #back-home{left:70px;top:834px;width:1532px;height:54px;min-height:54px;font-size:23px}
body.native-reference-page[data-menu-page=moves] .hub-content{position:static!important;overflow:visible!important;width:100%!important;height:100%!important}
.native-move-toolbar{position:absolute;left:70px;top:121px;width:1532px;height:40px;display:flex;align-items:center;gap:10px;font-size:14px;color:#aac3df}
.native-move-toolbar .native-ranking-tabs{display:flex;gap:10px;margin:0}.native-move-toolbar button{height:40px;min-height:40px;width:112px;padding:4px 10px;font-size:22px}.native-move-toolbar>input{height:40px;flex:1;width:auto;font-size:16px}.native-move-count{width:120px;text-align:right}
body.native-reference-page[data-menu-page=moves] .native-move-library{position:absolute;left:70px;top:175px;width:1532px;height:645px;display:grid;grid-template-columns:423px 1fr;gap:32px;margin:0;min-height:0}
.native-move-index{min-height:0;border:2px solid #168dff;border-radius:14px;padding:16px 26px;display:flex;flex-direction:column;background:#0f1b2c}.native-move-index>h3{font-size:16px;text-align:center;color:#aac3df;margin:0 0 8px}
body.native-reference-page[data-menu-page=moves] .native-move-list{min-height:0;max-height:none;overflow:auto;border:0;border-radius:0;padding:0;gap:5px;flex:1}.native-move-list>.button{height:44px;min-height:44px;font-size:16px;padding:5px}
body.native-reference-page[data-menu-page=moves] .native-move-detail{padding:20px 32px;overflow:auto;min-height:0;background:#0f1b2c;border:2px solid #168dff;border-radius:14px}.native-move-detail>h2{font-size:28px;margin:0 0 7px}.native-move-detail>.native-section-title{height:30px;min-height:30px;border-radius:18px;font-size:14px;line-height:20px;padding:2px 12px}.native-move-detail>p:not(.native-section-title){min-height:53px;border-block:1px solid #728194;padding:10px 0;margin:9px 0;font-size:16px}.native-move-detail>h3{font-size:16px;color:#aac3df;margin:8px 0}
.native-move-figures{display:grid;grid-template-columns:repeat(3,250px);gap:8px}.native-move-figures>button{height:300px;position:relative;padding:32px 10px 16px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:10px}.native-move-figures img{height:215px;width:220px;object-fit:contain}.native-move-figures strong{font-size:16px}
body.native-reference-page[data-menu-page=library] #collection-panel{position:static;width:100%;height:100%;overflow:visible}
body.native-reference-page[data-menu-page=library] .collection-filters{position:absolute;left:70px;top:154px;width:810px;height:88px;display:block;padding:0;border:0;background:none}.collection-filters>h2{position:absolute;left:0;top:0;width:100%;font-size:18px;text-align:center;margin:0}.collection-filters .search-label{position:absolute;left:0;top:28px;width:568px}.collection-filters .search-label input{height:40px;font-size:16px}.collection-filters>button{position:absolute;top:28px;height:40px;min-height:40px;font-size:16px;padding:5px}.collection-filters>#library-filter{left:578px;width:118px}.collection-filters>#library-sort{left:706px;width:104px}
body.native-reference-page[data-menu-page=library] .native-library-layout{position:static;display:block;height:auto}.native-library-usage{position:absolute;left:0;top:-718px;height:28px;min-height:28px!important;padding:1px 7px;font-size:12px!important}
body.native-reference-page[data-menu-page=library] .native-library-roster{position:absolute;left:70px;top:234px;width:810px;height:586px;overflow:hidden;padding:0;border:0;background:none;display:flex;flex-direction:column}.native-library-roster #collection-summary{font-size:13px;margin:0 0 8px;height:14px;white-space:nowrap;overflow:hidden}
body.native-reference-page[data-menu-page=library] #figure-list{overflow:auto;min-height:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0;flex:1}.figure-grid .figure-card{position:relative;min-height:300px;margin:0;padding:40px 8px 10px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px;border:2px solid #168dff;border-radius:14px;background:#0f1b2c}.figure-grid .figure-card>img{width:180px;height:210px;object-fit:contain}.figure-grid .figure-card>h3{font-size:16px;margin:0}.figure-grid .figure-card>.rarity{position:absolute;right:12px;top:10px;font-size:27px}.figure-grid .figure-card>p{display:none}.figure-grid .figure-card>.text-button{position:absolute;inset:0;width:100%;height:100%;font-size:0;color:transparent;opacity:0}.figure-grid .figure-card.is-selected{border-color:#23ceff;background:#103851}
body.native-reference-page[data-menu-page=library] .native-library-roster>.pagination{height:35px;min-height:35px;margin:0;display:flex;align-items:center;justify-content:center;font-size:13px;gap:10px}.native-library-roster>.pagination button{height:28px;min-height:28px;padding:1px 10px}
body.native-reference-page[data-menu-page=library] #library-detail{position:absolute;left:895px;top:154px;width:707px;height:666px;overflow:auto;padding:20px 30px;border:2px solid #168dff;border-radius:14px;background:#0f1b2c}.native-library-footer{position:absolute;left:584px;top:834px;width:1018px;height:54px;display:flex;gap:12px}.native-library-footer>button{width:503px;height:54px;min-height:54px;font-size:23px}.native-library-footer>.native-library-usage{width:auto;height:28px;font-size:12px}
body.native-reference-page[data-menu-page=library] #back-home{width:502px}
body.native-reference-page[data-menu-page=library] #library-detail>.native-figure-detail{border:0;border-radius:0;padding:0;overflow:visible}

/* Avatar Designer uses the native 1669 x 939 composition within the common canvas. */
body.native-reference-page:has(#menu-pages[data-account-view=avatar-editor]){background-image:linear-gradient(#020d1c47,#020d1c47),var(--native-avatar-background)}
body.native-reference-page #menu-pages[data-account-view=avatar-editor]{background:none}
body.native-reference-page #menu-pages[data-account-view=avatar-editor] :is(#menu-page-heading,.inventory-settings-slot,.inventory-chat-slot){display:none}
body.native-reference-page #menu-pages[data-account-view=avatar-editor] .account-feature-content{position:static;overflow:visible}
.native-avatar-editor{position:absolute;inset:0;width:1669px;height:939px;transform:scale(1.0018);transform-origin:top left;color:#dfedff;background:none}
.native-avatar-chrome{position:absolute;inset:0;width:1669px;height:939px;pointer-events:none}.native-avatar-title{position:absolute;left:44px;top:8px;height:48px;font-size:42px;margin:0}.native-avatar-tagline{position:absolute;left:160px;top:57px;font-size:14px;color:#6fbaff;margin:0}
.native-avatar-categories{position:absolute;left:30px;top:110px;width:261px;display:grid;gap:10px}.native-avatar-categories>button{height:69px;min-height:69px;text-align:left;padding:12px 28px;font-size:20px;background:#0b162b;border-radius:18px}
.native-avatar-gallery{position:absolute;left:307px;top:110px;width:383px;height:719px;border:2px solid #168dff;border-radius:18px;background:#0b162b;padding:16px;display:flex;flex-direction:column;gap:12px;min-height:0}.native-avatar-gallery>h3{font-size:23px;margin:0}.native-avatar-gallery>p{font-size:16px;color:#86b5d9;margin:-8px 0 0}.native-avatar-gallery>input{height:46px;min-height:46px;font-size:17px}.native-avatar-assets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;overflow:auto;min-height:0;flex:1;align-content:start}.native-avatar-assets>button{min-width:0;height:156px;min-height:156px;display:flex;flex-direction:column;align-items:center;padding:0;background:transparent;border:0;border-radius:0;font-size:14px;gap:6px}.native-avatar-assets>button>img{width:100%;height:132px;object-fit:contain;background:#0c192e;border:2px solid #168dff;border-radius:14px}.native-avatar-assets>button[aria-pressed=true]>img{border-color:#23ceff;background:#103851}.native-avatar-assets>button>span{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.native-avatar-paging{height:34px;display:flex;align-items:center;justify-content:space-between;font-size:22px}.native-avatar-paging>button{width:34px;height:34px;min-height:34px;padding:0;border-radius:12px;font-size:28px}
.native-avatar-preview{position:absolute;left:703px;top:103px;width:748px;height:588px;padding:12px;border:2px solid #168dff;border-radius:18px;background:#0b162b;overflow:hidden}.native-avatar-canvas{position:absolute;left:12px;right:12px;top:50%;aspect-ratio:1;transform:translateY(-50%);background:#06182f;touch-action:none}.native-avatar-layer{position:absolute;line-height:0;cursor:move;touch-action:none}.native-avatar-layer>img{width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none}.native-avatar-layer:not([style*=height])>img{height:auto}.native-avatar-layer.is-background{pointer-events:none}.native-avatar-layer.is-selected{outline:2px solid #6fcaff}.avatar-handle{position:absolute;width:12px;height:12px;background:#63caff;touch-action:none}.handle-nw{left:-6px;top:-6px;cursor:nw-resize}.handle-ne{right:-6px;top:-6px;cursor:ne-resize}.handle-sw{left:-6px;bottom:-6px;cursor:sw-resize}.handle-se{right:-6px;bottom:-6px;cursor:se-resize}.handle-e{right:-6px;top:50%;cursor:e-resize;background:#ffda70}.handle-s{bottom:-6px;left:50%;cursor:s-resize;background:#ffda70}
.native-avatar-hint{position:absolute;left:719px;top:700px;width:760px;height:35px;color:#86b5d9;font-size:15px;margin:0;line-height:35px}.native-avatar-tools{position:absolute;left:708px;top:743px;width:930px;height:74px;display:flex;gap:6px}.native-avatar-tools>:is(button,input,select){height:74px;min-height:74px;min-width:0;border:2px solid #168dff;border-radius:14px;font-size:12px;padding:4px;background:#0b162b;white-space:pre-line}.native-avatar-tools>select{width:190px;font-size:16px}.native-avatar-tools>button{width:76px}.native-avatar-tools>input{width:92px;text-align:center;font-size:15px}.native-avatar-tools>button:last-child{width:162px}
.native-avatar-footer{position:absolute;left:38px;top:851px;width:1599px;height:67px;display:flex;gap:12px}.native-avatar-footer>button{width:150px;height:67px;min-height:67px;font-size:20px;border-radius:16px;background:#0b162b}.native-avatar-footer>button:last-child{width:356px;margin-left:auto;font-size:24px;border-color:#23ceff}
.native-identity-choice{margin:auto;width:620px;display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:24px;border:2px solid #168dff;border-radius:20px;background:#0b162b}.native-identity-choice>h2{grid-column:1/-1;text-align:center}.native-identity-choice>button{height:74px;font-size:18px}

body.native-reference-page #settings-dialog{position:fixed;left:50%;top:50%;width:1222px;height:834px;max-width:none;max-height:none;margin:0;padding:30px;border:3px solid #168dff;border-radius:20px;background:#0b162bf5;transform:translate(-50%,-50%) scale(var(--settings-scale,1));overflow:hidden}
body.native-reference-page #settings-dialog>.section-heading{height:58px;justify-content:center;margin:0 0 14px;border-bottom:1px solid #71839a}.native-reference-page #settings-heading{font-size:30px;text-transform:uppercase}
body.native-reference-page #close-settings{position:absolute;right:28px;bottom:28px;width:212px;height:50px;min-height:50px;font-size:22px}
body.native-reference-page #settings-dialog .native-settings-columns{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:20px;height:618px;overflow:hidden;margin:0}
body.native-reference-page #settings-dialog .native-settings-panel{padding:8px;border:0;border-right:1px solid #71839a;border-radius:0;background:none;overflow:auto}.native-reference-page #settings-dialog .native-settings-panel>.native-section-title{text-align:center;font-size:23px;padding:0 0 14px;border:0;border-bottom:1px solid #71839a;background:none;border-radius:0;margin:0 0 16px}.native-reference-page #settings-dialog .native-settings-panel .native-settings-panel{border:0;padding:0;margin-top:18px;overflow:visible}.native-reference-page #settings-dialog .setting-row{display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:18px}.native-reference-page #settings-dialog .setting-row input[type=range]{order:2;width:100%;margin-top:8px}.native-reference-page #settings-dialog .native-settings-changelog{border:0;font-size:14px}.native-reference-page #settings-dialog #settings-host>.fine-print{position:absolute;bottom:30px;left:30px;width:840px;font-size:14px}
.native-account-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.native-account-stat-grid>section{border:2px solid #168dff;border-radius:14px;background:#0b162b;padding:14px;text-align:center}.native-account-stat-grid h3{font-size:16px;color:#aac3df}.native-account-stat-grid strong{font-size:30px}

body.native-reference-page #menu-pages[data-account-view=avatar-editor] .native-avatar-layer>img.account-art{display:block;width:100%;height:auto;max-width:none;max-height:none;border:0;border-radius:0;padding:0;margin:0;background:none;object-fit:fill}
body.native-reference-page #menu-pages[data-account-view=avatar-editor] .native-avatar-layer[style*="height"]>img.account-art{height:100%}
body.native-reference-page #menu-pages[data-account-view=avatar-editor] .native-avatar-assets>button.account-action{min-height:156px;height:156px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;gap:6px;font-size:14px}
body.native-reference-page #menu-pages[data-account-view=avatar-editor] .native-avatar-assets>button>img.account-art{width:100%;height:132px;max-width:none;max-height:none;padding:0;margin:0;object-fit:contain}
body.native-reference-page #menu-pages[data-account-view=avatar-editor] :is(.native-avatar-title,.native-avatar-gallery>h3){color:#dfedff}
body.native-reference-page #menu-pages[data-account-view=avatar-editor] .native-avatar-categories>button.account-action{font-size:20px;height:69px;text-align:left;padding:12px 28px;background:#0b162b}
body.native-reference-page #menu-pages[data-account-view=avatar-editor] .native-avatar-footer>button.account-action{height:67px;font-size:20px}.native-avatar-footer>button.account-action:last-child{font-size:24px}

body.native-reference-page #menu-pages[data-account-view=avatar-editor] .native-avatar-layer{background:none;border:0;padding:0}
body.native-reference-page #menu-pages[data-account-view=avatar-editor] .native-avatar-layer>img.account-art{aspect-ratio:auto}
body.native-reference-page #menu-pages[data-account-view=avatar-editor] .native-avatar-layer.is-background{height:100%}
body.native-reference-page #menu-pages[data-account-view=avatar-editor] .native-avatar-layer.is-background>img.account-art{height:100%;object-fit:cover}

body.game-menu-layout.native-reference-page:is([data-menu-page=moves],[data-menu-page=library]) #menu-pages{width:1672px;height:941px;max-width:none;max-height:none;padding:0;min-height:0;background:none}
body.native-reference-page[data-menu-page=library] #figure-list .figure-card>img:not(.library-figure-rarity){width:180px;height:210px;max-width:none;max-height:none;aspect-ratio:auto;object-fit:contain}
body.native-reference-page[data-menu-page=library] #figure-list .figure-card>.library-figure-rarity{position:absolute;right:12px;top:6px;width:43px;height:43px;object-fit:contain}
body.native-reference-page[data-menu-page=library] #figure-list .figure-card>.library-figure-types{position:absolute;left:10px;top:12px;display:block;font-size:11px;color:#edf5ff;margin:0;text-transform:capitalize;max-width:120px;text-align:left}
body.native-reference-page[data-menu-page=library] #figure-list .figure-card>h3{font-size:16px;color:#edf5ff}
body.native-reference-page[data-menu-page=library] #library-detail>h4{margin-top:100px}

/* Custom Lobby team choice shares the native ranked picker geometry. */
body.native-reference-page #modes-host[data-room-view=team] .match-team-picker{position:absolute;left:278px;top:183px;width:1116px;height:638px;display:grid;grid-template-columns:700px 400px;gap:16px;margin:0}
body.native-reference-page #modes-host[data-room-view=team] .match-team-list-pane,body.native-reference-page #modes-host[data-room-view=team] .match-team-preview{position:relative;height:638px;overflow:hidden;border:2px solid #168dff;border-radius:16px;padding:14px;background:#0f1b2c}
body.native-reference-page #modes-host[data-room-view=team] .match-team-list-pane>h3{position:absolute;left:16px;top:7px;width:172px;height:34px;line-height:34px;font-size:21px;margin:0}
body.native-reference-page #modes-host[data-room-view=team] .native-team-filter{position:absolute;left:193px;top:3px;display:flex;gap:10px;height:44px}.room-team .native-team-filter input{width:290px;height:44px}.room-team .native-team-filter select{width:189px;height:44px}
body.native-reference-page #modes-host[data-room-view=team] .match-team-rows{position:absolute;left:14px;top:64px;width:668px;height:520px;max-height:none;overflow:auto}.room-team .match-team-list-pane>p{position:absolute;left:14px;bottom:8px;width:668px;margin:0;text-align:right;font-size:14px}.room-team .match-team-list-pane>p:last-child{display:none}
body.native-reference-page #modes-host[data-room-view=team] .match-preview-slots{position:absolute;left:16px;top:64px;width:364px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:144px;gap:12px}
body.native-reference-page #modes-host[data-room-view=team] .match-preview-slot{position:relative;min-width:0;height:144px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px solid #168dff;border-radius:12px;padding:6px;background:#0b162b}.room-team .match-preview-art{width:100px;height:94px;object-fit:contain}.room-team .match-preview-slot strong{font-size:11px}.room-team .match-preview-slot small{font-size:10px}.room-team .match-team-preview>h4{position:absolute;right:16px;top:12px;max-width:190px;height:25px;overflow:hidden;font-size:14px;margin:0}.room-team .match-team-preview>p{display:none}

body.native-reference-page #modes-host[data-room-view=team] :is(.match-team-preview,.match-team-list-pane){padding:0}.room-team .match-team-preview>h3{position:absolute;left:0;top:0;width:100%;height:40px;margin:0;padding:5px 16px;font-size:21px}


/* Native menu parity: one clean footer, safe setup headers and covered banners. */
body.native-reference-page .native-page-actions{border:0;box-shadow:none;background:transparent;padding:0}
body.game-menu-layout[data-menu-page=home] .home-banner-open img{object-fit:cover;object-position:center;border-radius:12px}
body.game-menu-layout[data-menu-page=home] .banner-panel .home-carousel{height:164px;min-height:0}
body.native-reference-page #menu-pages:has(:where(#play-panel:not([hidden])) #modes-host[data-mode-section=offline_setup]:not([data-setup-step=teams])):before{content:"";position:absolute;left:255px;top:18px;width:1162px;height:896px;border:2px solid #168dff;border-radius:24px;background:#0f1b2cf5;z-index:-1}
body.native-reference-page #modes-host[data-mode-section=offline_setup] .mode-section>:is(h3,p:first-of-type){display:none}
body.native-reference-page #modes-host[data-mode-section=offline_setup]:not([data-setup-step=teams]) .mode-section{position:static;width:auto;height:auto;margin:0;padding:0;border:0;background:none}
body.native-reference-page #modes-host[data-mode-section=offline_setup]:not([data-setup-step=teams]) .mode-choice-group{position:absolute;left:294px;top:182px;width:1084px;padding:0;border:0;margin:0}
body.native-reference-page #modes-host[data-mode-section=offline_setup]:not([data-setup-step=teams]) .mode-choice-group legend{font-size:23px;padding:0 0 18px;color:#edf5ff}
body.native-reference-page #modes-host[data-mode-section=offline_setup]:not([data-setup-step=teams]) .mode-choice-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body.native-reference-page #modes-host[data-mode-section=offline_setup]:not([data-setup-step=teams]) .mode-choice-buttons>.button{min-height:64px;font-size:22px}
body.native-reference-page #modes-host[data-mode-section=offline_setup]:not([data-setup-step=teams]) .mode-section>.button{position:absolute;top:841px;left:646px;width:340px;height:54px;min-height:54px;font-size:18px;margin:0}
body.native-reference-page #modes-host[data-mode-section=offline_setup]:not([data-setup-step=teams]) .mode-section>.button.primary{left:1046px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=weather] .mode-section>p:last-of-type{display:block;position:absolute;left:294px;top:438px;width:1084px;margin:0;text-align:center;font-size:18px}
body.native-reference-page :is(.elite-trainer-card>strong,.gym-badge-leader,.native-league-card>strong,.native-campaign-team-context,.history-player-name,.history-team>h3,.match-team-row>strong,.native-team-row>strong){color:#fff!important}
body.game-menu-layout .dashboard-team-tile>strong{color:#fff}

/* Same three-column Settings arrangement on the hub and every menu page. */
body.game-menu-layout #settings-dialog{position:fixed;inset:auto;left:50%;top:50%;width:1222px;height:740px;max-width:none;max-height:none;margin:0;padding:26px;border:3px solid #168dff;border-radius:20px;background:#0f1b2cf5;transform:translate(-50%,-50%) scale(var(--settings-scale,1));transform-origin:center;overflow:hidden;color:#edf5ff}
body.game-menu-layout #settings-dialog>.section-heading{height:44px;margin:0 0 16px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #71839a}
body.game-menu-layout #settings-heading{margin:0;font-size:30px;text-transform:uppercase}
body.game-menu-layout #settings-dialog .native-settings-columns{display:grid;grid-template-columns:335px 315px minmax(0,1fr);gap:18px;height:540px;overflow:hidden;margin:0}
body.game-menu-layout #settings-dialog .native-settings-panel{padding:0 12px 0 0;margin:0;border:0;border-right:1px solid #71839a;border-radius:0;background:none;overflow:auto;min-width:0}
#settings-diagnostics {
  min-inline-size: 0;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}
#settings-diagnostics legend {padding: 0; font-size: 18px; font-weight: 700}
#settings-diagnostics label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  line-height: 1.4;
}
#settings-diagnostics input[type=checkbox] {width: 22px; height: 22px; margin: 0; accent-color: #19c8ff}
#settings-diagnostics details {margin-top: 4px; font-size: 14px; line-height: 1.5}
#settings-diagnostics summary {padding: 6px 0; color: #a9c9e8; cursor: pointer}
#settings-diagnostics p {margin: 4px 0 10px}
body.game-menu-layout #settings-dialog .native-settings-changelog{border:0;padding-right:4px;font-size:15px;line-height:1.5}
body.game-menu-layout #settings-dialog .native-settings-panel>.native-section-title{height:auto;min-height:0;justify-content:center;text-align:center;font-size:21px;padding:0 0 10px;margin:0 0 14px;border:0;border-bottom:1px solid #71839a;border-radius:0;background:none}
body.game-menu-layout #settings-dialog .native-settings-summary{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:7px 12px;margin:0 0 22px;font-size:14px}
.native-settings-summary dt{color:#afc8e1}.native-settings-summary dd{margin:0;color:#edf5ff;overflow-wrap:anywhere}
body.game-menu-layout #settings-dialog .setting-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:0 0 18px;padding:0;border:0;font-size:15px}
body.game-menu-layout #settings-dialog .setting-row input[type=range]{order:2;width:100%;max-width:none;height:24px;min-height:24px;margin:0}
body.game-menu-layout #settings-dialog .setting-row input[type=checkbox]{width:22px;height:22px;accent-color:#19c8ff}
body.game-menu-layout #settings-dialog .native-settings-updates>.button{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;font-size:16px;margin:10px 0}
.native-settings-updates>p{font-size:15px;line-height:1.5}.native-update-status{min-height:62px;color:#a9c9e8}
.native-release-entry{padding:0 0 14px;margin:0 0 14px;border-bottom:1px solid #526780}.native-release-entry h4,.native-release-entry summary{color:#edf5ff;font-size:16px;margin:0 0 8px;font-weight:700}.native-release-entry p{margin:0;color:#b6c9e1}.native-release-entry ul{padding-left:20px;margin:0}.native-release-entry li{margin:0 0 7px}.native-release-entry summary{cursor:pointer}
body.game-menu-layout #settings-dialog .native-settings-note{position:static;width:auto;margin:12px 0 0;font-size:13px;color:#afc8e1}
body.game-menu-layout #settings-dialog .native-settings-actions{position:absolute;left:26px;right:26px;bottom:26px;display:flex;gap:14px;padding-top:14px;border-top:1px solid #71839a}
body.game-menu-layout #settings-dialog .native-settings-actions>.button,body.game-menu-layout #settings-dialog #close-settings{position:static;flex:1;width:auto;min-width:0;height:50px;min-height:50px;font-size:18px;display:flex;align-items:center;justify-content:center;margin:0}

/* Short touch screens need Settings controls at their actual CSS pixel size. */
@media (orientation: landscape) and (pointer: coarse) and (max-height: 540px) {
  body.game-menu-layout #settings-dialog[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    box-sizing: border-box;
    inset: 0;
    margin: auto;
    width: calc(100vw - 16px);
    height: calc(100dvh - 12px);
    padding: max(6px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right))
             max(6px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    transform: none;
  }
  body.game-menu-layout #settings-dialog > .section-heading {
    position: static;
    height: auto;
    margin: 0 0 8px;
    padding: 0 0 4px;
  }
  body.game-menu-layout #settings-heading {font-size: 20px}
  body.game-menu-layout #settings-host {min-height: 0; overflow: auto; overscroll-behavior: contain}
  body.game-menu-layout #settings-dialog .native-settings-columns {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    align-items: start;
    height: auto;
    overflow: visible;
  }
  body.game-menu-layout #settings-dialog .native-settings-panel {overflow: visible}
  body.game-menu-layout #settings-dialog .native-settings-actions {position: static; padding-top: 6px; gap: 8px}
  body.game-menu-layout #settings-dialog .native-settings-actions > .button,
  body.game-menu-layout #settings-dialog #close-settings {height: 44px; min-height: 44px; font-size: 15px}
}

/* Chat is a movable, resizable native-style window, never a full menu route. */
body.game-menu-layout #chat-dialog{position:fixed;left:auto;right:12px;top:64px;bottom:auto;width:clamp(320px,calc(440px * var(--native-fit-scale,1)),660px);height:clamp(300px,calc(360px * var(--native-fit-scale,1)),540px);min-width:min(300px,calc(100vw - 24px));min-height:min(260px,calc(100dvh - 76px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 76px);padding:12px;margin:0;transform:none;border:2px solid #279bdb;border-radius:12px;background:#102438;color:#edf5ff;box-shadow:0 6px 18px #0005;overflow:hidden;resize:both;z-index:500}
body.game-menu-layout #chat-dialog[open]{display:flex;flex-direction:column;gap:8px}
body.game-menu-layout #chat-dialog.is-expanded{left:12px!important;right:12px!important;top:12px!important;width:calc(100vw - 24px)!important;height:calc(100dvh - 24px)!important;max-height:calc(100dvh - 24px)}
.native-chat-header{display:flex;align-items:center;gap:7px;min-height:32px;cursor:move;touch-action:none}.native-chat-header h2{font-size:14px;flex:1;min-width:0;margin:0;white-space:nowrap;overflow:hidden}.native-chat-header .button{font-size:12px;min-height:32px;height:32px;padding:4px 8px}.native-chat-header #close-chat{width:36px}
#chat-host{flex:1;min-height:0;display:flex;flex-direction:column}#chat-host[hidden]{display:none}#chat-host>.content-tabs{display:none}#chat-host>.status-message{font-size:12px;margin:0;min-height:0}#chat-host>.status-message:empty{display:none}#chat-host>.hub-content{display:flex;position:static;flex-direction:column;flex:1;width:auto;height:auto;min-height:0;min-width:0;gap:5px;overflow:hidden}
#chat-dialog .chat-messages{flex:1 1 0;overflow:auto;overflow-wrap:anywhere;height:auto;min-height:48px;max-height:none;margin:0;border:1px solid #35749b;border-radius:4px;background:#081a2a;padding:5px;font-size:14px}
#chat-dialog .chat-message{padding:4px 2px;border:0;line-height:1.4}#chat-dialog .chat-message .text-button{padding:0;min-height:0;font-size:14px;color:#fff;margin-right:6px}#chat-dialog .chat-message-body{font-size:14px}
#chat-dialog .chat-form{flex:none;margin:0;gap:6px;align-items:stretch}#chat-dialog .chat-form input{min-width:0;flex:1;height:38px;font-size:16px;border-radius:5px;padding:5px 8px}#chat-dialog .chat-form .button{height:38px;min-height:38px;padding:4px 8px;font-size:14px}#chat-dialog .chat-form .native-chat-emoji{width:38px;font-size:22px}
#chat-dialog .fine-print{font-size:12px;min-height:18px;margin:0}#chat-dialog .native-chat-footer{display:flex;align-items:center;gap:8px;justify-content:space-between;font-size:11px}#chat-dialog .native-chat-footer small{font-size:11px;color:#afc8e1}#chat-dialog .native-chat-footer .button{font-size:11px;min-height:28px;height:28px;padding:3px 6px;white-space:nowrap}
.native-chat-emojis{display:flex;flex-wrap:wrap;gap:4px}.native-chat-emojis[hidden]{display:none}.native-chat-emojis .button{width:36px;height:36px;min-height:36px;padding:1px;font-size:23px}

body.native-reference-page .elite-trainer-card:disabled{opacity:1}body.native-reference-page .elite-trainer-card:disabled .elite-trainer-art{opacity:.55}

/* Lite requires a real account before the hub or any match can be opened. */
body[data-account-required=true] :is(.topbar,main,.skip-link){visibility:hidden;pointer-events:none}
.account-entry-logo{display:none}
body[data-account-required=true] #account-dialog{width:640px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:28px;border:2px solid #168dff;border-radius:20px;background:#0f1b2cf5}
body[data-account-required=true] #account-dialog::backdrop{background:#07172b66}
body[data-account-required=true] #account-dialog>.account-entry-logo{display:block;width:min(440px,100%);height:85px;object-fit:contain;margin:0 auto 12px}
body[data-account-required=true] #account-dialog>.section-heading{justify-content:center;text-align:center;margin-bottom:14px}
body[data-account-required=true] #account-dialog #close-account{display:none}
body[data-account-required=true] #account-dialog .account-card>.section-heading{display:none}
body[data-account-required=true] #account-dialog #guest-account>p{text-align:center}
body[data-account-required=true] #account-auth-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
body[data-account-required=true] #account-auth-actions>.account-action{flex:1;white-space:nowrap}

body[data-account-required=true] #account-dialog #account-dialog-title{font-size:26px;margin:0}
body[data-account-required=true] #account-dialog #guest-account>p{font-size:15px;line-height:1.5}
body[data-account-required=true] #account-dialog #login-form>label{font-size:16px}
body[data-account-required=true] #account-dialog #login-form>input{font-size:18px;min-height:44px}
body[data-account-required=true] #account-dialog .login-note{font-size:13px;line-height:1.5}

/* Offline TeamPickerPage: independent sides and the native preview actions. */
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .offline-picker-hint{position:absolute;left:294px;top:155px;width:1084px;height:23px;text-align:center;color:#aac3df;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-team-preview{padding:0}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-team-preview>h3{position:absolute;left:16px;top:6px;width:190px;height:34px;margin:0;line-height:34px;font-size:21px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-team-preview>h4{position:absolute;left:218px;top:6px;width:164px;height:34px;line-height:34px;font-size:14px;margin:0;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-preview-slots{position:absolute;left:16px;top:66px;width:364px;height:300px;margin:0;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,144px);gap:12px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-preview-slot{min-width:0;height:144px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px solid #168dff;border-radius:12px;padding:6px;background:#0b162b}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-preview-art{width:100px;height:94px;object-fit:contain}.match-preview-slot.empty-team-slot{font-size:54px;color:#edf5ff}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-preview-slot strong{font-size:11px;text-align:center}.match-preview-slot small{font-size:10px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-team-preview>p{display:none}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-team-preview .offline-preview-actions>.button{position:absolute;top:384px;width:176px;height:54px;min-height:54px;font-size:19px;margin:0;padding:4px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-team-preview .offline-preview-actions>.offline-edit-team{left:16px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-team-preview .offline-preview-actions>.offline-choose-team{left:204px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .match-team-preview .offline-preview-actions>.offline-random-team{left:16px;top:456px;width:364px;height:50px;min-height:50px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=teams] .mode-section>.offline-manage-teams{left:646px;top:841px;width:380px;height:54px;min-height:54px;font-size:19px}
/* Native setup keeps map and weather choices together. */
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=environment] .offline-environment{position:absolute;left:294px;top:178px;width:1084px;height:620px;display:grid;grid-template-columns:1fr 1fr;gap:24px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=environment] .offline-environment>.mode-choice-group{position:static;width:auto;height:auto;margin:0;padding:0}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=environment] .mode-choice-buttons{display:flex;flex-direction:column;gap:10px}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=environment] .mode-choice-buttons>.button{height:58px;min-height:58px;font-size:22px;margin:0}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=environment] .offline-weather-placeholder{position:static;text-align:center;font-size:20px;color:#aac3df;margin:90px 0}
body.native-reference-page #modes-host[data-mode-section=offline_setup][data-setup-step=environment] .mode-section>.button:not(.primary){left:286px}
/* The download recommendation stays visible on every menu, including Store/History. */
body.game-menu-layout .game-footer{display:flex;bottom:0;min-height:26px;padding:4px 12px;font-size:11px;gap:16px}
body.game-menu-layout .game-footer .app-recommendation{display:block;margin:0 0 0 auto;font-size:12px;line-height:18px}
body.game-menu-layout .game-footer .app-recommendation a{white-space:normal;color:#f3d47a}
@media(max-width:600px){body.game-menu-layout .game-footer{gap:6px;font-size:9px}body.game-menu-layout .game-footer .app-recommendation{font-size:10px}}

body.game-menu-layout .game-footer{background:#07172ed9;text-shadow:0 1px 2px #000}

/* Ranked seasons and the player's season archive. */
.season-carousel{display:flex;align-items:center;justify-content:space-between;gap:16px}
.season-carousel .selected-season{flex:1;text-align:center;font-size:20px;white-space:normal}
.season-carousel>button{flex:none;width:48px;min-height:44px;font-size:28px}
.season-statistics .native-account-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.season-record{text-align:center;margin:18px 0;padding:14px;border:1px solid #168dff;border-radius:12px;background:#0b162b}
.season-record h3{font-size:18px;margin:4px 0 10px}.season-record p{margin:8px 0}
.season-podium-totals{display:flex;gap:14px;justify-content:center;margin:14px 0 0}
.season-podium{display:flex;align-items:center;justify-content:center;gap:16px;flex:1;padding:10px;border:1px solid currentColor;border-radius:10px;font-size:22px}
.season-podium[data-place=first]{color:#ffda72}.season-podium[data-place=second]{color:#cdddeb}.season-podium[data-place=third]{color:#e7a471}
.selected-season-placement{text-align:center}.menu-dialog.season-player-card{width:min(640px,calc(100vw - 32px))}
.ranked-season-heading{text-align:center;white-space:pre-line;font-size:17px;margin:10px 0}
.native-ranked-season{position:absolute;left:65px;top:330px;width:360px;height:68px;margin:0;text-align:center;display:flex;align-items:center;justify-content:center;font-size:18px;color:#edf5ff}
.native-ranked-team-season{position:absolute;left:294px;top:900px;width:1084px;height:30px;margin:0;text-align:center;font-size:16px;color:#aac3df}
@media(max-width:760px){.season-statistics .native-account-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.season-carousel .selected-season{font-size:16px}.season-podium{gap:10px;font-size:18px}}

.home-season-card{display:flex;flex-direction:column;align-items:stretch}
.home-season-card .home-season-profile{background:none;border:0;border-bottom:1px solid #8faec5;text-align:left;color:inherit;cursor:pointer}
.home-season-stats{display:block;width:100%}.home-season-card #home-stats-summary{display:none}
.home-season-stats .is-compact{font-size:calc(12 * var(--native-unit))}
.home-season-stats .season-carousel{gap:calc(6 * var(--native-unit));min-height:calc(32 * var(--native-unit))}
.home-season-stats .season-carousel .selected-season{font-size:calc(14 * var(--native-unit));margin:0;line-height:1.3}
.home-season-stats .season-carousel>button{min-height:calc(32 * var(--native-unit));height:calc(32 * var(--native-unit));width:calc(32 * var(--native-unit));padding:0;font-size:calc(24 * var(--native-unit))}
.home-season-stats .native-account-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(5 * var(--native-unit));margin:calc(5 * var(--native-unit)) 0}
.home-season-stats .native-account-stat-grid>section{padding:calc(2 * var(--native-unit));border-radius:8px}
.home-season-stats .native-account-stat-grid h3{font-size:calc(12 * var(--native-unit));line-height:1.1;margin:0}
.home-season-stats .native-account-stat-grid strong{font-size:calc(26 * var(--native-unit));line-height:1.1}
.home-season-stats .selected-season-placement{font-size:calc(14 * var(--native-unit));line-height:1.2;margin:0;min-height:calc(15 * var(--native-unit))}
.home-season-stats .season-record{border:0;background:none;padding:0;margin:0}
.home-season-stats .season-record h3{font-size:calc(11 * var(--native-unit));margin:calc(3 * var(--native-unit)) 0}
.home-season-stats .previous-season-result{display:none}.home-season-stats .season-podium-totals{margin:0;gap:calc(8 * var(--native-unit))}
.home-season-stats .season-podium{border:0;padding:0;font-size:calc(13 * var(--native-unit));gap:calc(8 * var(--native-unit))}


.game-menu-layout #home-panel .home-cards .home-season-card{height:calc(275 * var(--native-unit))}
.native-leaderboard-page .ranked-season-heading{position:absolute;left:230px;top:714px;width:1212px;height:42px;margin:0;font-size:15px;line-height:21px}
.native-leaderboard-page:has(.ranked-season-heading) .native-leaderboard-scroll{height:398px}

.season-podium-caption{font-size:14px;text-align:center;margin:16px 0 8px;padding-top:12px;border-top:1px solid #34506c}
.season-podium{flex-wrap:wrap;gap:6px 10px;font-size:18px}.season-podium strong{font-size:15px}
.home-season-stats .season-podium-caption{font-size:calc(14 * var(--native-unit));line-height:1.2;margin:calc(2 * var(--native-unit)) 0;padding:calc(2 * var(--native-unit)) 0 0}
.home-season-stats .season-podium{font-size:calc(14 * var(--native-unit));line-height:1.2;gap:calc(4 * var(--native-unit))}
.home-season-stats .season-podium strong{font-size:calc(14 * var(--native-unit))}
.home-season-stats [hidden]{display:none!important}

.season-podium-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.season-podium-header .selected-season-placement{flex:1.5;min-width:0;margin:0;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.season-podium-header .season-podium-caption{flex:1;margin:0;padding:0;border:0;text-align:right;white-space:nowrap}
.home-season-stats .season-podium-header .season-podium-caption{margin:0;padding:0}

/* Leave room for season selection beside search and sorting. */
.native-leaderboard-filters>input{flex:1;min-width:0;width:auto}
.native-leaderboard-filters>select{flex:0 0 260px}
.native-leaderboard-filters>.leaderboard-seasons{flex-basis:280px}

/* The app renders its own safe areas, dialogs and both orientation layouts. */
#battle-dialog.app-menu-host{position:fixed;inset:0;margin:0;padding:0;border:0;border-radius:0;width:100vw;max-width:none;height:100dvh;max-height:none;background:#0b162b;overflow:hidden}
#battle-dialog.app-menu-host>.battle-toolbar,#battle-dialog.app-menu-host>.battle-status{display:none}
#battle-dialog.app-menu-host>.battle-frame-host{position:absolute;inset:0;margin:0;padding:0;width:100%;height:100%}
#battle-dialog.app-menu-host iframe{display:block;border:0;width:100%;height:100%}
@media(orientation:portrait){
  #account-dialog{box-sizing:border-box;inset:0;margin:auto;width:min(94vw,520px);max-width:94vw;max-height:94dvh;padding:20px;border:2px solid #148fff;border-radius:16px;transform:none}
  #account-dialog .account-entry-logo{width:min(100%,360px);height:auto;display:block;margin:0 auto 18px}
  #account-dialog .account-card{padding:0;border:0}
  #account-dialog input{box-sizing:border-box;max-width:100%;min-width:0;min-height:44px}
  #account-dialog .account-actions{display:flex;flex-wrap:wrap;gap:8px}
  .account-confirm{padding:18px;width:min(94vw,480px);max-width:94vw;max-height:92dvh;border:2px solid #148fff;border-radius:16px;background:#0b162b}
  .account-confirm>.account-row{justify-content:space-between;align-items:center;gap:12px}
  .account-confirm h3{margin:0;font-size:22px}
  .account-confirm .account-field{min-width:0}
  .account-confirm input,.account-confirm textarea{box-sizing:border-box;max-width:100%;min-height:44px}
}
