:root{--bg:var(--tone-000000,#000000);--panel:var(--tone-0e1013,#0e1013);--line:var(--tone-232930,#232930);--muted:var(--tone-bfc7d0,#bfc7d0);--accent:var(--tone-f0f2f4,#f0f2f4);--accent-strong:var(--tone-2c343d,#2c343d);--text:var(--tone-f9fafb,#f9fafb)}body{background:var(--bg);color:var(--text)}.site-header{display:flex;align-items:center;gap:28px;justify-content:space-between;padding:24px 4%;background:var(--tone-07080a,#07080a);border-bottom:1px solid var(--line)}.site-brand{flex-shrink:0}.site-brand h1{margin:0 0 5px;font-size:26px}.site-brand .format-label{font-size:12px;color:var(--muted)}.site-header .tabs{margin:0;border:0;align-items:center;gap:8px;flex-wrap:wrap}.site-header .tabs a{display:block;padding:12px 15px;color:var(--muted);text-decoration:none;border:1px solid transparent;border-radius:7px;white-space:nowrap;font-size:16px}.site-header .tabs a:hover{background:var(--tone-15191e,#15191e);color:var(--text)}.site-header .tabs a.active{background:var(--tone-1b2026,#1b2026);border-color:var(--tone-3d4854,#3d4854);color:var(--text)}.site-header .tabs a span{color:var(--muted);font-size:11px;margin-left:6px}.site-header .account-header{margin:0;padding:0;max-width:none;justify-content:flex-end;flex-wrap:wrap;font-size:12px}.site-header .account-header button{font-size:12px;padding:9px 11px}.has-evs .team-id,.ev-badge,.ev-legend,.type,.rental,.builder-breakpoints span{color:var(--muted)!important}.builder-breakpoints span:before{background:var(--text)}.builder-status,.leaderboard,.detail,.team-card:not(.has-evs),.builder-workspace,.builder-editor,.builder-slots button{background:var(--panel)}.builder-dex-table th{background:var(--tone-15191e,#15191e)}.builder-dex-table tr:hover,.builder-dex-table tr:focus-visible,.builder-choice-row:hover,.builder-choice-row:focus-visible{background:var(--tone-1b2026,#1b2026);outline:1px solid var(--tone-3d4854,#3d4854);outline-offset:-1px;cursor:pointer}.builder-dex-table tr:has(th){cursor:default}.builder-choice-row[aria-disabled=true]{cursor:default}.builder-choice-main,.builder-read-more{cursor:pointer}.builder-choice-main:disabled{cursor:default}.builder-dex-table [data-pick]:hover{background:transparent!important}.team-sections button[aria-pressed=true],.builder-edit-tabs button[aria-selected=true]{color:var(--text)}@media(max-width:1100px){.site-header{flex-wrap:wrap;gap:16px}.site-header .tabs{order:3;flex-basis:100%}.site-header .account-header{margin-left:auto}}@media(max-width:600px){.site-header{padding:20px}.site-brand h1{font-size:23px}.site-header .tabs{gap:4px}.site-header .tabs a{font-size:14px;padding:10px}.site-header .tabs a span{display:none}.site-header .account-header{margin:0;justify-content:flex-start}}
.site-header{height:auto;min-height:100px}.builder-breakpoints span:before{background:#e7c16b}

.site-header{justify-content:flex-start;padding-left:24px;padding-right:24px}.site-header .tabs{justify-content:flex-start}.site-header .account-header{margin-left:auto}.builder-slots button.selected,.builder-slot-control.selected,.builder-choice-row.selected,.team-sections button[aria-pressed=true],.builder-spread-list button:hover,.builder-spread-list button[aria-pressed=true],.pokemon-row.selected,.pokemon-row:hover{background:var(--tone-1b2026,#1b2026)}.detail .stats .bar{height:12px;border-radius:6px;background:var(--tone-232930,#232930)}.detail .stats .bar i{border-radius:6px;background:var(--stat-color,var(--tone-546375,#546375))}.detail .stat{margin-bottom:12px;min-height:20px}@media(max-width:600px){.site-header .account-header{margin-left:0}}
.ui-icon{display:block;width:20px;height:20px;flex:none}.icon-button{display:inline-flex!important;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:9px!important}.icon-button:hover{color:var(--text);border-color:var(--tone-546375,#546375)}.icon-button:focus-visible{outline:2px solid var(--text);outline-offset:3px}

/* EV availability takes priority over the general card theme. */
.team-grid .team-card.has-evs{background:var(--tone-182b21,#182b21)!important;border-color:var(--tone-365543,#365543)!important}.team-grid .team-card.has-evs .team-pokemon{border-color:var(--tone-365543,#365543)!important}
.teammates-scroll{max-height:224px;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y proximity;scrollbar-width:thin;scrollbar-color:var(--tone-3d4854,#3d4854) transparent}.teammates-scroll>.breakdown{height:56px;min-height:56px;box-sizing:border-box;margin:0;padding:7px 0;scroll-snap-align:start}.teammates-scroll:focus-visible{outline:1px solid var(--text);outline-offset:4px;border-radius:4px}
.usage-page main{max-width:none;padding-left:0;padding-right:0;margin:0}.usage-page .toolbar{padding-left:24px;padding-right:24px}.usage-page #content>.results{padding:0 24px}.usage-page .usage-layout{grid-template-columns:clamp(280px,25vw,360px) minmax(0,1fr);gap:0}.usage-page .leaderboard{border-radius:0;border-left:0;min-width:0}.usage-page .leaderboard-scroll{max-height:calc(100vh - 240px);min-height:360px}.usage-page .detail{position:static;grid-row:auto;min-width:0;padding:30px 36px;border-radius:0;border-left:0;min-height:650px}.usage-page .detail-hero h2{font-size:clamp(32px,3vw,46px)}.usage-page .detail-hero .sprite,.usage-page .detail-hero .missing-sprite{width:120px;height:120px}.usage-page .detail h3{font-size:18px}.usage-page .detail .stat{font-size:16px;grid-template-columns:52px 40px minmax(0,1fr);gap:14px}.usage-page .details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 40px}.usage-page .breakdown{font-size:16px}.usage-page .team-action{font-size:17px}.usage-page footer,.usage-page .metrics{margin-left:24px;margin-right:24px}#usage-sidebar-toggle{display:none!important}@media(max-width:760px){#usage-sidebar-toggle{display:inline-flex!important}.usage-page .usage-layout{grid-template-columns:minmax(0,1fr)}.usage-page .leaderboard{display:none;border-left:1px solid var(--line)}.usage-page .usage-layout.sidebar-open .leaderboard{display:block}.usage-page .leaderboard-scroll{min-height:0;max-height:360px}.usage-page .detail{padding:24px 20px;border-left:1px solid var(--line)}.usage-page .detail-hero h2{font-size:30px}.usage-page .detail-hero .sprite{width:90px;height:90px}.usage-page .details-grid{gap:24px}.usage-page #content>.results{gap:14px;flex-wrap:wrap;justify-content:flex-start}.usage-page .toolbar{padding-left:20px;padding-right:20px}}@media(max-width:560px){.usage-page .details-grid{grid-template-columns:minmax(0,1fr)}}
.usage-page .detail-hero h2{font-size:clamp(36px,3.2vw,52px)}.usage-page .leaderboard .pokemon-row{grid-template-columns:26px minmax(0,1fr) 64px;gap:8px;padding:12px}.usage-page .leaderboard .mon{gap:8px}.usage-page .leaderboard .sprite{width:40px;height:40px;flex-shrink:0}.usage-page .leaderboard .mon-name{font-size:15px;overflow-wrap:normal;word-break:normal}.usage-page .leaderboard .usage-number{font-size:15px}.usage-page .leaderboard .rank{font-size:12px}@media(min-width:761px){.usage-page .usage-layout{grid-template-columns:clamp(384px,30vw,432px) minmax(0,1fr)}}@media(max-width:760px){.usage-page .detail-hero h2{font-size:30px}}

.builder-point-input{width:100%;min-width:0;padding:6px 3px;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:5px;text-align:center;font:inherit;appearance:textfield}.builder-point-input::-webkit-inner-spin-button,.builder-point-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.builder-point-budget.over-budget{color:#e66c75}.builder-point-budget.over-budget progress{accent-color:#e66c75}.builder-point-budget.over-budget progress::-webkit-progress-value{background:#e66c75}.builder-point-budget.over-budget progress::-moz-progress-bar{background:#e66c75}
.builder-slider-row .builder-point-input{cursor:text}
.usage-page .leaderboard .pokemon-row{grid-template-columns:31.2px minmax(0,1fr) 76.8px;gap:9.6px;padding:14.4px;min-height:82.8px}.usage-page .leaderboard .mon{gap:9.6px}.usage-page .leaderboard .sprite{width:48px;height:48px}.usage-page .leaderboard .mon-name,.usage-page .leaderboard .usage-number{font-size:18px}.usage-page .leaderboard .rank{font-size:14.4px}.usage-page .leaderboard .type{font-size:14.4px;padding:4.8px 7.2px}.usage-page .leaderboard .mini-bar{height:3.6px;width:84px;margin-top:9.6px}
.builder-slider-track input[type=range],.damage-stat input[type=range]{appearance:none;-webkit-appearance:none;height:6px;padding:0;border:0;border-radius:999px;accent-color:#48d77c;background:linear-gradient(to right,#48d77c 0%,#48d77c var(--range-fill,0%),var(--tone-2f3842,#2f3842) var(--range-fill,0%),var(--tone-2f3842,#2f3842) 100%)}
.builder-slider-track input[type=range]::-webkit-slider-runnable-track,.damage-stat input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:999px;background:transparent}
.builder-slider-track input[type=range]::-webkit-slider-thumb,.damage-stat input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:14px;height:14px;margin-top:-4px;border:1px solid #73e99e;border-radius:50%;background:#48d77c;box-shadow:0 0 0 1px #0005}
.builder-slider-track input[type=range]::-moz-range-track,.damage-stat input[type=range]::-moz-range-track{height:6px;border-radius:999px;background:var(--tone-2f3842,#2f3842)}
.builder-slider-track input[type=range]::-moz-range-progress,.damage-stat input[type=range]::-moz-range-progress{height:6px;border-radius:999px;background:#48d77c}
.builder-slider-track input[type=range]::-moz-range-thumb,.damage-stat input[type=range]::-moz-range-thumb{width:14px;height:14px;border:1px solid #73e99e;border-radius:50%;background:#48d77c}
.usage-dashboard{min-width:0;padding:28px 32px;background:var(--panel);border:1px solid var(--line)}.usage-dashboard>h2{margin-bottom:28px}.usage-dashboard>section{margin-bottom:30px}.usage-dashboard h3{font-size:18px;margin:0 0 16px}.dashboard-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.dashboard-section-title>a{font-size:12px;color:var(--muted)}.dashboard-pokemon{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.dashboard-pokemon button{display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px 5px;background:var(--tone-15191e,#15191e);border:1px solid var(--line);border-radius:5px;color:var(--text);font-size:12px;cursor:pointer;overflow-wrap:anywhere}.dashboard-pokemon button:hover{background:var(--tone-22282e,#22282e)}.dashboard-pokemon small{font-size:12px;color:var(--muted)}.dashboard-mon-icon{display:inline-block;width:40px!important;height:30px!important;flex:0 0 40px;object-fit:contain;vertical-align:middle}.dashboard-pokemon .dashboard-mon-icon{flex:none}.dashboard-team{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:5px;background:var(--tone-14171b,#14171b);color:var(--text);text-align:left;cursor:pointer;margin-bottom:8px}.dashboard-team.has-evs{background:var(--tone-182b21,#182b21);border-color:var(--tone-365543,#365543)}.dashboard-team:hover{filter:brightness(1.15)}.dashboard-team-info{min-width:0}.dashboard-team-info strong{font-size:14px;font-weight:500}.dashboard-team-info small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.dashboard-team-icons{display:flex;flex-shrink:0;gap:0}.dashboard-events{display:grid;gap:8px}.dashboard-events>a{display:grid;grid-template-columns:1fr auto;gap:5px 12px;padding:12px;border:1px solid var(--line);border-radius:5px;background:var(--tone-14171b,#14171b)}.dashboard-events strong{font-size:14px;font-weight:500}.dashboard-events span,.dashboard-events small{font-size:12px;color:var(--muted)}.dashboard-events small{grid-column:1/-1}.usage-dashboard-button{background:var(--panel);color:var(--text);padding:8px 12px;border:1px solid var(--line);border-radius:5px;cursor:pointer}@media(max-width:1100px){.dashboard-team{flex-wrap:wrap}.dashboard-team-icons{width:100%}.dashboard-events>a{grid-template-columns:1fr}}@media(max-width:760px){.usage-dashboard{padding:24px 20px}.dashboard-team-icons{width:auto}.dashboard-pokemon{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:420px){.dashboard-pokemon{grid-template-columns:repeat(3,minmax(0,1fr))}}
.usage-page .detail-hero .sprite,.usage-page .detail-hero .missing-sprite{width:64px;height:64px;flex-shrink:0}.usage-page .detail-hero h2{font-size:28px;letter-spacing:-.5px}.usage-page .common-move{display:flex;align-items:center;gap:10px;min-width:0}.move-type-icon{width:32px;height:14px;flex-shrink:0;image-rendering:pixelated}.team-card-actions .icon-button,.custom-team-actions .icon-button,.calc-transfer-actions .icon-button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:9px}.calc-transfer-actions .ui-icon{width:20px;height:20px}.metrics[hidden]{display:none!important}
@media(max-width:760px){.usage-page .detail-hero .sprite,.usage-page .detail-hero .missing-sprite{width:56px;height:56px}.usage-page .detail-hero h2{font-size:24px}.usage-page .detail-hero{flex-wrap:nowrap;gap:12px}.usage-page .detail-hero>div{min-width:0}.usage-page .detail-hero h2{overflow-wrap:anywhere}.usage-page .detail{padding:20px 16px}.usage-page .detail h3{font-size:16px}.usage-page .breakdown{font-size:14px}.usage-page .toolbar{padding:18px 16px}.team-card-actions{flex-wrap:wrap}.custom-mon-list>span{flex-wrap:wrap}}

.pokemon-types,.types{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.pokemon-type-icon{display:inline-block;width:32px;height:14px;flex-shrink:0;object-fit:contain;image-rendering:pixelated}.builder-dex-table .pokemon-types{flex-wrap:nowrap}.usage-page .detail,.usage-page .usage-dashboard{margin:0 24px 24px;border:1px solid var(--line);border-radius:8px}.usage-page .usage-layout{column-gap:0}.usage-page .leaderboard{margin:0}
@media(max-width:760px){.usage-page .detail,.usage-page .usage-dashboard{margin:0 16px 20px}.usage-page .leaderboard{margin-bottom:16px}}
.moves-scroll{max-height:220px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--tone-46515f,#46515f) transparent;scroll-snap-type:y proximity}.moves-scroll>.breakdown{height:44px;min-height:44px;margin:0;padding:8px 0;scroll-snap-align:start}.moves-scroll:focus-visible{outline:1px solid var(--text);outline-offset:4px}
@media(min-width:761px){.usage-page .leaderboard{height:var(--usage-panel-height,775px)}.usage-page .leaderboard-scroll{height:calc(var(--usage-panel-height,775px) - var(--usage-list-head,52px) - 2px);min-height:0;max-height:none}}
.builder-search-filters{display:flex;flex-wrap:wrap;gap:8px;padding:0 14px 12px}.builder-search-filters:empty{display:none}.builder-search-filters button{display:flex;align-items:center;gap:8px;min-height:36px;padding:7px 10px;background:var(--tone-20262e,#20262e);color:var(--text);border:1px solid var(--tone-46515f,#46515f);border-radius:5px;font-size:13px}.builder-search-filters .ui-icon{width:14px;height:14px}.builder-filter-suggestions{display:grid;gap:1px;max-height:260px;overflow:auto;margin:0 14px 14px;border:1px solid var(--line);border-radius:5px;background:var(--tone-11151a,#11151a)}.builder-filter-suggestions[hidden]{display:none}.builder-filter-suggestions button{display:flex;align-items:center;gap:10px;width:100%;min-height:42px;padding:10px 12px;border:0;background:transparent;color:var(--text);text-align:left;font:inherit;font-size:14px}.builder-filter-suggestions button:hover,.builder-filter-suggestions button:focus-visible,.builder-search-filters button:hover{background:var(--tone-29313c,#29313c)}.builder-filter-suggestions button:focus-visible{outline:1px solid var(--tone-8295ac,#8295ac);outline-offset:-1px}
html{scrollbar-gutter:stable}
.site-header .site-brand{display:flex;align-items:center;justify-content:center}.site-header .site-brand h1{display:flex;align-items:center;margin:0;line-height:1.2}.site-brand h1 a{display:flex;align-items:center;justify-content:center;gap:10px}.site-logo{display:block;width:44px;height:48px;object-fit:contain;flex:none}
@media(max-width:950px){.site-logo{width:37px;height:40px}}
.view-heading-row{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.view-heading-row #data-regulation{flex:none;transform:none;padding:9px 12px;max-width:100%}
.team-builder-link{background:transparent;border:0;color:var(--text);padding:6px 0;font:inherit;cursor:pointer}.team-builder-link:hover{text-decoration:underline}
#nav-toggle{display:none!important}
@media(min-width:951px){
 .site-header{display:grid;grid-template-columns:clamp(210px,22vw,280px) minmax(0,1fr) auto;align-items:stretch;gap:16px;min-height:100px;padding:0 24px;flex-wrap:nowrap}
 .site-header .site-brand{width:auto;min-width:0;align-self:center;padding:16px 0}.site-header .site-brand h1{font-size:24px}.site-header .format-label{font-size:11px}.site-header #data-regulation{font-size:12px;padding:9px}
 .site-header .tabs{order:0;display:flex;align-items:stretch;flex-wrap:nowrap;flex-basis:auto;gap:0;min-width:0;margin:0}
 .site-header .tabs a{display:flex;flex:1;align-items:center;justify-content:center;min-width:0;padding:20px clamp(10px,1.7vw,26px);border:0;border-right:1px solid var(--line);border-radius:0;white-space:normal;text-align:center;font-size:clamp(14px,1.25vw,17px);background:var(--tone-10141a,#10141a)}
 .site-header .tabs a:first-child{border-left:1px solid var(--line)}.site-header .tabs a.active{background:var(--tone-28313b,#28313b);box-shadow:inset 0 -3px var(--tone-b5c2d1,#b5c2d1)}.site-header .tabs a:hover{background:var(--tone-202832,#202832)}
 .site-header .account-header{max-width:180px;margin:0;padding:16px 0;align-content:center;align-items:center}
}
@media(max-width:950px){
 .site-header{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:18px 20px;min-height:84px}
 .site-header .site-brand{flex:1;min-width:0}.site-header .site-brand h1{font-size:23px}.site-header .format-label{font-size:11px}.site-header #data-regulation{padding:8px;font-size:12px}
 .site-header #nav-toggle{display:inline-flex!important;flex:none;order:1;margin-left:auto;background:var(--tone-171d25,#171d25);border:1px solid var(--line);border-radius:5px;color:var(--text)}
 .site-header .account-header{order:2;flex-basis:100%;margin:0;justify-content:flex-start;gap:8px}
 .site-header .tabs{display:none;order:3;flex-basis:100%;width:100%;gap:0;margin:0;border:1px solid var(--line);border-radius:6px;overflow:hidden}
 .site-header.nav-open .tabs{display:flex;flex-direction:column;align-items:stretch}.site-header .tabs a{padding:14px 16px;border:0;border-bottom:1px solid var(--line);border-radius:0;font-size:16px}.site-header .tabs a:last-child{border-bottom:0}
}
@media(min-width:951px){.site-header .tabs{width:50%}.site-header .tabs a{flex:1 1 0;padding:20px 3px;font-size:clamp(11px,.95vw,14px);overflow-wrap:anywhere}}
.builder-stat-summary{white-space:normal;overflow-wrap:anywhere;text-align:left}
@media(min-width:951px){.site-header .tabs a{overflow-wrap:normal}}

/* Persistent appearance setting. */
.theme-toggle{display:flex;align-items:center;justify-content:center;gap:10px;min-width:42px;min-height:42px;padding:10px;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:6px;font:inherit;cursor:pointer}.theme-toggle:hover{border-color:var(--muted)}.theme-toggle:focus-visible{outline:2px solid var(--text);outline-offset:3px}
@media(min-width:951px){.site-header{grid-template-columns:clamp(210px,22vw,280px) minmax(0,1fr) auto 42px}.site-header>.theme-toggle{align-self:center}.theme-toggle-label{display:none}}
@media(max-width:950px){.site-header .tabs>.theme-toggle{width:100%;justify-content:flex-start;border:0;border-top:1px solid var(--line);border-radius:0;padding:14px 16px;min-height:50px}.theme-toggle-label{display:inline}}
:root[data-theme="light"]{color-scheme:light;--bg:#eef1f4;--panel:#ffffff;--line:#cbd3dd;--muted:#536171;--accent:#1d2b3a;--accent-strong:#dce4ec;--text:#17212b;--tone-272e35:#dfe5ec;--tone-20262d:#d0d7df;--tone-21272e:#d0d7df;--tone-469961:#8794a3;--tone-13311f:#d0d7df;--tone-eeeeee:#17212b;--tone-353e49:#dfe5ec;--tone-21272d:#d0d7df;--tone-2c333c:#dfe5ec;--tone-040506:#ffffff;--tone-1e2329:#d0d7df;--tone-9ba8b7:#52606e;--tone-0e1013:#ffffff;--tone-090a0c:#ffffff;--tone-5c6d80:#8794a3;--tone-90b29d:#52606e;--tone-1b2026:#d0d7df;--tone-546375:#8794a3;--tone-0c0e11:#ffffff;--tone-14171b:#ffffff;--tone-22282e:#d0d7df;--tone-2d353e:#dfe5ec;--tone-919fb0:#52606e;--tone-536273:#8794a3;--tone-ffffff:#17212b;--tone-0e1114:#ffffff;--tone-526071:#8794a3;--tone-171b20:#ffffff;--tone-1f242a:#d0d7df;--tone-1d2329:#d0d7df;--tone-182b21:#d0d7df;--tone-365543:#dfe5ec;--tone-a0c8a8:#52606e;--tone-b5bfca:#52606e;--tone-101215:#ffffff;--tone-181c21:#d0d7df;--tone-2a313a:#dfe5ec;--tone-93a1b0:#52606e;--tone-a2aebc:#52606e;--tone-5a6a7d:#8794a3;--tone-eef0f2:#17212b;--tone-161a1f:#ffffff;--tone-232a31:#d0d7df;--tone-252b30:#d0d7df;--tone-959fa9:#52606e;--tone-303842:#dfe5ec;--tone-2e353a:#dfe5ec;--tone-f3f4f6:#17212b;--tone-2c291e:#d0d7df;--tone-000000:#ffffff;--tone-232930:#d0d7df;--tone-bfc7d0:#17212b;--tone-f0f2f4:#17212b;--tone-2c343d:#dfe5ec;--tone-f9fafb:#17212b;--tone-07080a:#ffffff;--tone-15191e:#ffffff;--tone-3d4854:#dfe5ec;--tone-2f3842:#dfe5ec;--tone-46515f:#8794a3;--tone-20262e:#d0d7df;--tone-11151a:#ffffff;--tone-29313c:#dfe5ec;--tone-8295ac:#52606e;--tone-10141a:#ffffff;--tone-28313b:#dfe5ec;--tone-b5c2d1:#52606e;--tone-202832:#d0d7df;--tone-171d25:#d0d7df}
:root[data-theme="light"] .site-header{background:#f8fafc}
:root[data-theme="light"] :is(.leaderboard,.detail,.usage-dashboard,.team-card:not(.has-evs),.builder-workspace,.builder-editor,.damage-side,.damage-field,.damage-results>section,.damage-team-tray){background:#fff}
:root[data-theme="light"] :is(.team-card.has-evs,.dashboard-team.has-evs){background:#e4f3e8!important;border-color:#a3cdb0!important;color:var(--text)}
:root[data-theme="light"] .has-evs :is(.owner,.team-top,.team-id,.team-event,.rental,.item,.name,.ev-badge){color:var(--muted)!important}
:root[data-theme="light"] :is(.team-action,.builder-actions .primary){color:#17212b;background:#dce4ec}
:root[data-theme="light"] :is(.damage-points.excess,.builder-point-budget.over-budget){color:#aa2636}
:root[data-theme="light"] :is(.builder-status,.builder-list-note,.damage-credit,.detail-note){color:var(--muted)}
:root[data-theme="light"] .builder-breakpoints span:before{background:#9b730b}
:root[data-theme="light"] .builder-breakpoints span{color:#765a12!important}
:root[data-theme="light"] .damage-tray-icons button[aria-pressed=true]{background:#dce5ef;border-color:#65798e}
:root[data-theme="light"] .has-evs .similar-button{background:#e4f3e8;color:var(--text)}
@media(max-width:950px){.site-header #theme-toggle .theme-toggle-label{display:inline;font-size:16px;color:var(--text);margin:0}}
:root[data-theme="light"] .type-resistance{color:#18783a}:root[data-theme="light"] .type-weakness{color:#a32435}
.builder-set-summary .builder-mon-identity h3{font-size:22px;line-height:1.35}.builder-set-summary #builder-mon-name{padding:0;border:0;background:transparent;color:var(--text);font:inherit;cursor:pointer;text-align:left;overflow-wrap:anywhere}.builder-set-summary #builder-mon-name:hover{text-decoration:underline;text-underline-offset:4px}.builder-set-summary #builder-mon-name:focus-visible{outline:2px solid var(--muted);outline-offset:4px;border-radius:2px}
@media(max-width:950px){.builder-set-summary .builder-mon-identity h3{font-size:20px}.builder-set-summary #builder-mon-name{min-height:40px}#builder-workspace{scroll-margin-top:16px}}
.builder-set-summary .builder-mon-identity{display:flex;align-items:center;gap:12px;min-width:0}.builder-set-summary .builder-mon-label{display:flex;align-items:center;gap:12px;min-width:0}.builder-set-summary .builder-mon-label h3{margin:0;min-width:0}.builder-set-summary .builder-mon-label .pokemon-types{flex-wrap:nowrap;flex-shrink:0}.builder-set-summary .builder-mon-identity>.builder-pokemon-icon{flex-shrink:0}
@media(max-width:600px){.builder-set-summary .builder-mon-identity,.builder-set-summary .builder-mon-label{gap:8px}.builder-set-summary .builder-mon-label .pokemon-types{gap:3px}}
.team-links .team-builder-link{display:inline-block;padding:8px 11px;border:1px solid var(--tone-5a6a7d,#5a6a7d);border-radius:4px;background:transparent;color:var(--accent);font-size:12px;line-height:inherit;text-decoration:none}.team-links .team-builder-link:hover{background:var(--accent-strong);text-decoration:none}
@media(min-width:951px){.site-header #tournament-tab{min-width:72px;white-space:nowrap}}
.usage-page .results{flex-wrap:wrap}.usage-source-toggle{display:inline-flex;align-items:stretch;border:1px solid var(--line);border-radius:5px;overflow:hidden;flex-shrink:0}.usage-source-toggle button{border:0;border-radius:0;background:var(--panel);color:var(--muted);padding:10px 16px;font:inherit;font-size:14px;cursor:pointer}.usage-source-toggle button+button{border-left:1px solid var(--line)}.usage-source-toggle button[aria-pressed=true]{background:var(--accent-strong);color:var(--text)}.usage-source-toggle button:focus-visible{outline:2px solid var(--text);outline-offset:-3px}.usage-source-credit,.usage-source-status{padding:0 24px;margin:0 0 18px;color:var(--muted);font-size:12px;line-height:1.7}.usage-source-credit a{color:var(--text);text-decoration:underline;text-underline-offset:3px}.usage-source-status button,#retry-champions-details{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:4px;padding:6px 12px;cursor:pointer}.usage-page .champions-usage .leaderboard .pokemon-row,.usage-page .champions-usage .table-head{grid-template-columns:31.2px minmax(0,1fr)}.champions-usage .usage-number,.champions-usage .table-head>span:last-child,.usage-page .toggle[hidden]{display:none!important}.icon-sprite{display:inline-flex;align-items:center;justify-content:center}@media(max-width:760px){.usage-source-toggle button{min-height:42px;padding:10px 14px}.usage-source-credit,.usage-source-status{padding:0 20px}}
.usage-page #content>.usage-source-credit{margin-top:20px}
@media(min-width:951px){.site-header .account-header{align-self:center;flex-wrap:nowrap;padding:0}.site-header .account-header>span{min-width:0;overflow-wrap:anywhere}.site-header #account-logout{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;padding:10px}.site-header>.theme-toggle{width:42px;height:42px}}

.team-sections{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;width:100%;border:1px solid var(--line);border-radius:0;overflow:hidden}.team-sections button{margin:0;min-width:0;min-height:52px;height:100%;padding:12px 8px;border:0;border-right:1px solid var(--line);border-radius:0;font:inherit;font-size:14px;cursor:pointer}.team-sections button:last-child{border-right:0}.team-sections button:hover{background:var(--accent-strong);color:var(--text)}.team-sections button:focus-visible{outline:2px solid var(--text);outline-offset:-3px}.team-random-controls{display:flex;gap:8px;margin-bottom:16px}.team-random-controls button{padding:10px 14px;border:1px solid var(--line);border-radius:4px;background:var(--panel);color:var(--text);font:inherit;font-size:14px;cursor:pointer}.team-random-controls button:hover{background:var(--accent-strong)}.team-random-controls button:disabled{opacity:.5;cursor:default}.team-random-controls [hidden],.custom-team-card[hidden]{display:none!important}@media(max-width:760px){.team-sections{grid-template-columns:1fr}.team-sections button{border-right:0;border-bottom:1px solid var(--line);min-height:48px}.team-sections button:last-child{border-bottom:0}}

.team-card{display:flex;flex-direction:column;min-width:0}.team-card .team-links{justify-content:flex-start;gap:8px}.team-card .team-links>.similar-button{margin:0;background:transparent;border-color:var(--tone-5a6a7d,#5a6a7d);line-height:inherit}.team-card-bottom{display:flex;justify-content:flex-end;margin-top:auto;padding-top:14px}.team-card .team-shared-count{font-size:12px;color:var(--muted);margin-top:10px}.custom-team-card .custom-team-actions{margin-top:16px}.team-notes-editor{display:grid;gap:10px;margin:24px 0;padding-top:20px;border-top:1px solid var(--line)}.team-notes-editor>label{font-size:16px;color:var(--text)}.team-notes-editor textarea{box-sizing:border-box;width:100%;resize:vertical;min-height:110px;padding:12px;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:5px;font:inherit;font-size:14px}.team-notes-editor>div{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.team-notes-editor button{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:4px;padding:9px 12px;cursor:pointer}.team-notes-editor [role=status]{font-size:12px;color:var(--muted)}.paste-set{display:flex;flex-direction:column}.paste-set .calc-transfer-actions{margin-top:auto;padding-top:16px}

.team-card .team-links>.team-card-calc{margin-left:auto;flex:0 0 auto;align-self:center}.team-top-tools{display:inline-flex;align-items:center;gap:10px}.team-favorite{display:inline-flex;align-items:center;justify-content:center;flex:none;background:transparent;color:var(--muted);border:0;cursor:pointer}.team-favorite[aria-pressed=true]{color:#e6b94e}.team-favorite[aria-pressed=true] .ui-icon{fill:currentColor}.team-favorite:focus-visible{outline:2px solid var(--text);outline-offset:2px}

@media(min-width:951px){.site-header{grid-template-columns:220px minmax(0,1fr) auto 42px;column-gap:16px}.site-header .tabs{width:100%;min-width:0;flex-wrap:wrap;align-content:stretch;margin-right:0}.site-header .tabs a,.site-header #tournament-tab,.site-header #speed-tab{flex:1 0 max-content;min-width:max-content;width:auto;padding:14px 10px;font-size:clamp(12px,1vw,15px);white-space:nowrap;overflow-wrap:normal}.site-header .account-header{max-width:242px;padding-left:32px}.site-header .tabs a{min-height:48px;box-sizing:border-box}}

@media(max-width:950px){.site-header .site-brand{flex:0 1 220px;margin-right:auto}}
