@import "tailwindcss";
@import "tw-animate-css";
@import "../vendor/shadcn-tailwind-4.13.0.css";
:root{--background:#111319;--foreground:#f3f4f9;--card:#1b1e27;--card-foreground:#f3f4f9;--popover:#252936;--popover-foreground:#fff;--primary:#a195ff;--primary-foreground:#15101f;--secondary:#282c38;--secondary-foreground:#fff;--muted:#282c38;--muted-foreground:#a1a6b7;--accent:#363147;--accent-foreground:#fff;--destructive:#fa8898;--border:#323541;--input:#3b3e4a;--ring:#b3a4ff;--radius:.75rem}
@theme inline{--color-background:var(--background);--color-foreground:var(--foreground);--color-popover:var(--popover);--color-popover-foreground:var(--popover-foreground);--color-primary:var(--primary);--color-muted:var(--muted);--color-muted-foreground:var(--muted-foreground);--color-accent:var(--accent);--color-accent-foreground:var(--accent-foreground);--color-border:var(--border);--color-input:var(--input);--color-ring:var(--ring);--radius-lg:var(--radius)}
*{box-sizing:border-box}body{margin:0;background:#111319;color:#f3f4f9;font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang TC","Noto Sans TC",sans-serif;font-size:16px;line-height:1.6}button,a,input{transition:background .18s,color .18s,border-color .18s}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.7}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #bcb0ff;outline-offset:4px}a{color:inherit;text-decoration:none}button{font:inherit}svg{flex-shrink:0}input{min-width:0;outline:none}h1,h2,h3,p{margin:0}button:hover{color:#c7beff}.header{height:88px;border-bottom:1px solid #2a2d36;background:#17191f}.header-inner{max-width:1240px;padding:0 32px;margin:auto;display:flex;align-items:center;height:100%;gap:64px}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:850;letter-spacing:1px;line-height:1.3}.brand small{display:block;font-size:10px;letter-spacing:2.3px;color:#9b9fb0;margin-top:4px}.brand-icon{background:#a99aff;color:#171022;width:43px;height:43px;border-radius:12px;display:grid;place-items:center}.brand-icon svg{width:28px;height:28px}.header nav{display:flex;align-items:center;height:100%;gap:30px}.header nav button{display:flex;align-items:center;gap:8px;height:100%;position:relative;font-size:14px;color:#a6a8b7}.header nav button.nav-active{color:#c0b4ff}.nav-active:after{content:'';position:absolute;bottom:0;height:3px;background:#b5a4ff;width:100%;border-radius:3px 3px 0 0}.language{display:flex;align-items:center;gap:8px;margin-left:auto;font-size:13px;color:#a8aabc;white-space:nowrap}main{max-width:1176px;margin:0 auto;padding:42px 24px}.page-heading{display:flex;justify-content:space-between;align-items:center}.eyebrow{font-size:11px;letter-spacing:2.4px;font-weight:700;color:#aa9def}h1{font-size:31px;line-height:1.5;letter-spacing:.3px;font-weight:750;margin-top:7px}.page-heading p{color:#999eae;font-size:15px;margin-top:5px}.heading-symbol{color:#776bac;opacity:.5;transform:rotate(-12deg);margin-right:24px}.search-panel{margin-top:25px;background:#1d2029;border:1px solid #393544;border-radius:13px;padding:7px 8px 0;box-shadow:0 8px 28px #0002}.search-panel form{display:flex;align-items:center;gap:14px;padding:0 0 0 15px}.search-panel label{color:#9a93b1}.search-panel input{border:0;background:none;color:#fff;flex:1;height:54px;font-size:16px}.search-panel input::placeholder{color:#7e8394}.primary{display:flex;align-items:center;gap:10px;background:#b7a8ff;color:#191424;padding:12px 20px;font-weight:750;border-radius:8px;border:1px solid #c9beff}.primary:hover{background:#c9bdff;color:#171022}.enter-key{margin-left:17px;color:#625580;border:1px solid #8a7eae;border-radius:4px;width:22px;line-height:20px;font-size:15px}.search-meta{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;font-size:12px;color:#878b9b}.search-meta span,.search-meta button{display:flex;align-items:center;gap:6px}.search-meta span{gap:16px}.search-meta button{color:#acb0c1}.section-kicker{margin:31px 0 14px;display:flex;justify-content:space-between;color:#969cab;font-size:13px}.section-kicker>span{display:flex;align-items:center;gap:9px}.section-kicker .data-label{color:#b5a3e4;background:#2b233b;padding:3px 9px;border-radius:5px;font-size:12px}.profile{display:flex;justify-content:space-between;align-items:center;padding:25px 29px;border:1px solid #333542;border-radius:13px;background:radial-gradient(ellipse at 75% 0,#37304850,transparent 65%),#1c1f27;min-height:169px}.profile-person{display:flex;gap:22px;align-items:center}.player-avatar{width:89px;height:89px;background:#7361ba;border:3px solid #b6a6ff;border-radius:18px;position:relative}.player-avatar>img{width:100%;height:100%;object-fit:cover;border-radius:15px}.player-avatar>span{position:absolute;bottom:-11px;left:22px;min-width:40px;text-align:center;font-size:12px;font-weight:bold;background:#aa98f6;color:#1d1334;border:3px solid #21232c;border-radius:6px}.player-name{display:flex;align-items:center;gap:12px}.player-name h2{font-size:25px;font-weight:750;overflow-wrap:anywhere}.tag-badge{font-size:11px;color:#cbbbed;background:#363043;border:1px solid #59486b;padding:1px 6px;border-radius:4px}.player-tag{color:#9296a7;font-size:14px;letter-spacing:.7px;margin:3px 0}.club{display:flex;align-items:center;gap:6px;font-size:13px;color:#bbbcca;margin-top:10px}.profile-trophies{text-align:right}.profile-trophies>span{display:flex;justify-content:flex-end;align-items:center;gap:8px;font-size:13px;color:#c2bb9f}.profile-trophies>span svg{color:#e9c46b}.profile-trophies strong{display:block;font-size:38px;line-height:1.3;font-weight:750;letter-spacing:1px}.profile-trophies small{font-size:12px;color:#9196a7}.profile-trophies small b{margin-left:8px;font-weight:500;color:#b9bcc9}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0 31px}.stat-card{border:1px solid #30333e;background:#1c1f27;border-radius:11px;padding:18px 20px 17px}.stat-card.featured{background:linear-gradient(115deg,#302540,#282334);border-color:#5c4679}.stat-title,.stat-title>span{display:flex;align-items:center;gap:8px;font-size:13px;color:#b9b6ca}.stat-title{justify-content:space-between}.stat-title svg{width:17px;height:17px;color:#9390ac}.featured .stat-title svg{color:#baa0f9}.stat-title .estimate-badge{font-size:11px;border:1px solid #6d548e;color:#c9b0f0;padding:0 6px;border-radius:4px}.stat-value{font-size:32px;font-weight:720;line-height:1.5;margin-top:10px;letter-spacing:.3px}.stat-value small{font-size:14px;font-weight:400;color:#8e92a5;margin-left:8px}.stat-card p{display:flex;align-items:center;justify-content:space-between;color:#828799;font-size:12px;margin-top:5px}.featured p{color:#ac95cb}.stat-card [data-slot=progress]{height:4px;margin-top:16px;background:#35333f}.profile-tabs [data-slot=tabs-list]{border-bottom:1px solid #31343e;border-radius:0;width:100%;justify-content:flex-start;height:auto;padding:0;gap:25px;margin-bottom:22px}.profile-tabs [data-slot=tabs-trigger]{flex:0;padding:12px 1px 17px;font-size:15px;color:#8e93a4;gap:7px}.profile-tabs [data-slot=tabs-trigger][data-state=active]{color:#c7b9ff}.profile-tabs [data-slot=tabs-trigger]:after{background:#b1a0f7;bottom:0}.count{border-radius:5px;background:#30323e;color:#a8a7bb;padding:1px 6px;font-size:11px;margin-left:4px}.overview-grid{display:grid;grid-template-columns:1.07fr 1fr;gap:20px}.panel{border:1px solid #30333f;border-radius:12px;background:#1b1e26;padding:23px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.panel-heading h3{display:flex;gap:9px;align-items:center;font-size:16px;font-weight:650}.panel-heading h3 svg{color:#ac9dd4}.panel-heading button{display:flex;align-items:center;gap:7px;color:#a69ac8;font-size:12px}.panel-sub{color:#7f8497;font-size:12px;margin-top:6px}.top-heroes{margin-top:14px}.top-heroes>button{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:10px 0;border-bottom:1px solid #2b2e38}.top-heroes>button:last-child{border:0;padding-bottom:0}.top-heroes img{width:42px;height:42px;object-fit:cover;border-radius:8px;background:#393142}.rank{font-variant-numeric:tabular-nums;color:#72798d;font-size:14px;width:21px}.rank-0{color:#ecc979}.rank-1{color:#bac0d5}.rank-2{color:#c58c6a}.top-heroes b{font-size:14px;font-weight:600}.top-heroes small{display:block;color:#7f8497;font-size:11px}.hero-trophy{display:flex;align-items:center;gap:7px;color:#e0c17e;font-size:14px;margin-left:auto;font-variant-numeric:tabular-nums}.hero-trophy svg{color:#c4a057}.muted{color:#898fa2;font-size:12px}.mode-total{display:flex;align-items:baseline;gap:12px;margin:22px 0 26px}.mode-total strong{font-size:32px;letter-spacing:.6px;line-height:1}.mode-total span{color:#858b9e;font-size:12px}.mode-row{margin-top:19px}.mode-row>div:first-child{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:9px}.mode-row b{font-size:14px}.mode-row small{color:#7f8598;font-size:11px;font-weight:400}.mode-row [data-slot=progress]{height:6px;background:#30313c}.mode-row [data-slot=progress-indicator]{background:#aa95ef}.mode-row.green [data-slot=progress-indicator]{background:#66bba8}.mode-row.yellow [data-slot=progress-indicator]{background:#e1ba68}.small-note{font-size:12px;color:#85899e;margin-top:24px;line-height:1.8}.time-note{display:flex;gap:15px;padding:21px 23px;background:#1b1c27;border:1px solid #302e41;border-radius:11px;margin-top:20px;color:#9f95bd}.time-note>svg{margin-top:3px}.time-note h3{font-size:14px;color:#c1b6d9;margin-bottom:5px}.time-note p,.time-note summary{font-size:12px;color:#8e899f;line-height:1.9}.time-note summary{cursor:pointer;color:#b1a1cb;margin-top:6px}footer{border-top:1px solid #2a2d35;margin-top:44px;padding:28px 0 8px;display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px}.footer-brand{font-size:14px;font-weight:700}.footer-brand span{font-size:10px;letter-spacing:1px;color:#787d90;margin-left:6px}footer p{font-size:12px;color:#6e7487}footer>div{margin-left:auto;display:flex;gap:15px;font-size:11px;color:#9398a8}footer>div a{display:flex;align-items:center;gap:3px}footer>small{font-size:11px;width:100%;color:#72788b;line-height:1.7}footer small a{margin-left:8px;text-decoration:underline}.filter-bar{display:flex;gap:14px;justify-content:space-between;margin:16px 0 23px}.filter-input{display:flex;align-items:center;gap:10px;border:1px solid #383c4a;background:#1c2029;border-radius:8px;padding:9px 13px;width:330px;color:#939aac}.filter-input input{background:none;width:100%;color:#fff;font-size:14px}.filter-bar [data-slot=select-trigger]{height:44px}.brawler-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.brawler-card{text-align:left;background:#20232d;border:1px solid #373a48;border-radius:12px;overflow:hidden;transition:transform .2s,border-color .2s}.brawler-card:hover{transform:translateY(-4px);border-color:#a592d5}.portrait-wrap{position:relative;background:radial-gradient(circle at 50% 70%,color-mix(in srgb,var(--rarity) 32%,#21212c),#252331);height:150px;display:flex;justify-content:center;overflow:hidden}.portrait-wrap img{height:100%;object-fit:contain;transition:transform .2s}.brawler-card:hover img{transform:scale(1.05)}.power{position:absolute;right:8px;bottom:8px;background:#12121bc9;border:1px solid #ffffff24;border-radius:4px;padding:1px 6px;font-size:11px;color:#eee}.brawler-caption{display:flex;justify-content:space-between;align-items:center;padding:13px;font-size:14px}.brawler-caption span{display:flex;align-items:center;gap:5px;color:#d5b977;font-size:12px}.empty{padding:60px 15px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:12px;color:#a1a5b9}.empty h3{color:#e2deef}.empty button{color:#c4adff;text-decoration:underline}.catalog,.extra-panel{margin-top:30px}.catalog h2,.extra-panel h2{font-size:21px}.alert{display:flex;gap:13px;align-items:flex-start;border:1px solid #835259;background:#3e272b;padding:16px;border-radius:9px;margin-top:20px;font-size:14px;color:#f1b7b7}.alert p{margin-top:3px}.alert small{color:#c8a5a5}.alert button{margin-left:auto;text-decoration:underline;white-space:nowrap}.help-steps{list-style:none;margin:12px 0;padding:0}.help-steps li{display:flex;gap:16px;margin:15px 0}.help-steps b{color:#b9a4ff}.detail-title{display:flex;align-items:center;gap:20px}.detail-title img{width:80px;height:80px;border-radius:12px;background:#494055}.detail-title [data-slot=dialog-title]{font-size:23px;margin-bottom:10px}.detail-stats{display:flex;justify-content:space-between;padding:20px 0;border-block:1px solid #363947;margin:10px 0}.detail-stats div{font-size:13px;color:#a6a7bd}.detail-stats b{display:block;font-size:23px;color:#e9dbff}.external-link{color:#bfa7ef;display:flex;align-items:center;gap:8px;font-size:14px;margin-top:10px}.battle{display:flex;align-items:center;gap:20px;padding:17px 0;border-bottom:1px solid #303442;font-size:14px}.battle>div{flex:1}.battle p,.battle small{font-size:12px;color:#8b91a4}.result{padding:6px 10px;border-radius:6px;background:#39354a;color:#c4b8e0;min-width:60px;text-align:center}.result.win{background:#23483e;color:#8bd3b5}.result.lose{background:#482e3a;color:#e7a6b5}.ranking-row{display:flex;align-items:center;width:100%;gap:20px;padding:20px 0;border-bottom:1px solid #303442;text-align:left}.ranking-row>span:not(.hero-trophy){color:#9398a9;font-size:13px}.events-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}.event-card{padding:23px;background:#292637;border:1px solid #49415c;border-radius:10px}.event-card>svg{color:#b2a0ee;margin-bottom:15px}.event-card h3{font-size:17px}.event-card p{color:#b7b3c8}.event-card small{font-size:12px;color:#9691a8}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1400px){main{padding-top:50px}.header-inner{max-width:1240px}.page-heading{margin-bottom:6px}}
@media(max-width:950px){.header-inner{gap:30px;padding:0 24px}.header nav{gap:20px}.language{display:none}.stat-grid{gap:10px}.stat-card{padding:16px}.stat-value{font-size:28px}.brawler-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:650px){body{font-size:16px}.header{height:auto}.header-inner{padding:17px 18px 0;display:block}.brand{font-size:19px}.brand small{font-size:10px}.brand-icon{width:38px;height:38px}.header nav{justify-content:space-between;gap:4px;margin-top:15px}.header nav button{height:44px;font-size:13px;gap:5px}.header nav svg{width:15px}main{padding:26px 17px}.eyebrow{font-size:10px;letter-spacing:1.6px}h1{font-size:24px;margin-top:6px}.page-heading p{font-size:14px}.heading-symbol{display:none}.search-panel{margin-top:21px;padding:6px 6px 0}.search-panel form{gap:8px;padding-left:8px}.search-panel input{font-size:14px;height:46px}.search-panel form label svg{width:17px}.primary{padding:10px 12px;font-size:14px;gap:5px;white-space:nowrap}.primary>svg,.enter-key{display:none}.search-meta{padding:11px 5px;font-size:11px;gap:8px;align-items:flex-start}.search-meta>span{gap:8px;flex-wrap:wrap}.search-meta>span>button:last-child{display:none}.search-meta>button{white-space:nowrap}.section-kicker{font-size:12px;margin-top:25px}.section-kicker .data-label{font-size:10px}.profile{padding:22px 16px;align-items:flex-start;gap:10px}.profile-person{gap:13px;align-items:center}.player-avatar{width:62px;height:62px;border-radius:12px;border-width:2px}.player-avatar>img{border-radius:10px}.player-avatar>span{left:12px;min-width:35px;font-size:10px;bottom:-10px}.player-name h2{font-size:18px}.tag-badge{display:none}.player-tag{font-size:12px}.club{font-size:11px;max-width:180px;overflow-wrap:anywhere}.profile-trophies{padding-top:5px}.profile-trophies>span{font-size:10px}.profile-trophies>span svg{width:13px}.profile-trophies strong{font-size:26px;margin:5px 0}.profile-trophies small{font-size:10px}.profile-trophies small b{display:block;margin:0}.stat-grid{grid-template-columns:repeat(2,1fr);gap:11px;margin:14px 0 24px}.stat-card{padding:16px}.stat-title{font-size:12px}.stat-title>span{font-size:12px}.stat-value{font-size:29px}.stat-card p{font-size:11px}.profile-tabs [data-slot=tabs-list]{gap:23px;margin-bottom:16px}.profile-tabs [data-slot=tabs-trigger]{font-size:14px}.overview-grid{grid-template-columns:1fr;gap:16px}.panel{padding:20px}.top-heroes>button{padding:11px 0}.modes-panel{padding-bottom:23px}.mode-total{margin-bottom:25px}.time-note{padding:17px;gap:11px}.time-note>svg{width:18px}.time-note p{font-size:12px}.brawler-grid{grid-template-columns:repeat(2,1fr);gap:13px}.portrait-wrap{height:143px}.filter-bar{gap:10px}.filter-input{width:auto;flex:1;padding:9px}.filter-input input{font-size:13px}.filter-bar [data-slot=select-trigger]{font-size:12px;padding:8px}.brawler-caption{padding:11px}.catalog .panel-heading{align-items:baseline}.catalog h2{font-size:18px}footer{margin-top:32px;gap:10px;padding-top:24px}footer p{font-size:11px}footer>div{margin:4px 0;width:100%;font-size:11px}footer>small{font-size:10px}.battle{gap:10px;flex-wrap:wrap}.battle>small{width:100%;text-align:right}.events-grid{grid-template-columns:1fr}.ranking-row{gap:10px;flex-wrap:wrap}.ranking-row>b{font-size:14px}.ranking-row>span:not(.hero-trophy):not(.rank){display:none}.alert{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.image-unavailable{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#b4aac9;width:100%;height:100%;min-height:42px}.image-unavailable svg{width:34px;height:34px}.image-unavailable small{font-size:12px}.top-heroes .image-unavailable{width:42px}.top-heroes .image-unavailable small,.player-avatar .image-unavailable small{display:none}

/* Per-mode wins stay readable inside the compact summary card. */
.victories-card{display:flex;flex-direction:column;justify-content:space-between;min-width:0}
.victories-breakdown{display:grid;gap:6px;margin:0}
.victories-breakdown>div{display:flex;align-items:baseline;justify-content:space-between;gap:4px 8px;flex-wrap:wrap}
.victories-breakdown dt{color:#b9b6ca;font-size:14px;line-height:1.5}
.victories-breakdown dd{margin:0;font-size:18px;font-weight:650;line-height:1.5;font-variant-numeric:tabular-nums;white-space:nowrap}
.victories-card small{margin-left:4px;color:#9398aa;font-size:12px;font-weight:400}
.victories-total{display:flex;align-items:baseline;justify-content:space-between;gap:4px 8px;flex-wrap:wrap;border-top:1px solid #363947;padding-top:10px;margin-top:10px}
.victories-total>span{color:#a7abbd;font-size:14px}
.victories-total strong{color:#e9dbff;font-size:18px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}

.hero-groups{display:grid;gap:28px}.hero-group{min-width:0}.hero-group>h3{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:650;margin-bottom:14px;color:#e1d9f4}.hero-group .brawler-grid{margin-top:0}

.hero-detail-dialog{max-height:88dvh;overflow-y:auto;max-width:620px!important}.hero-abilities{display:grid;gap:24px}.ability-section h3{font-size:18px;margin-bottom:10px;color:#c1b4ff}.ability-section.gadgets h3{color:#85dfb0}.ability-section.starPowers h3{color:#f0ce75}.ability-card{padding:15px;background:#1c1f29;border:1px solid #343745;border-radius:12px;margin-top:9px}.ability-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px}.ability-heading h4{margin:0;font-size:16px}.ability-card p{font-size:14px;color:#c1c4d1;white-space:pre-line;overflow-wrap:anywhere}.ability-owned{font-size:12px;color:#aaaebe;white-space:nowrap}.hypercharge-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:15px 0 0}.hypercharge-stats div{background:#29233b;padding:10px 5px;text-align:center;border-radius:8px}.hypercharge-stats dt{font-size:12px;color:#bbb1d7}.hypercharge-stats dd{margin:0;color:#d5c3ff;font-weight:750;font-size:20px}.ability-card .small-note{font-size:12px;margin-top:12px}@media(max-width:480px){.hero-detail-dialog{width:calc(100% - 24px)!important;padding:20px!important}.ability-card{padding:12px}}

.ability-card .gadget-cooldown{margin-top:10px;color:#c1c4d1;font-size:14px}.gadget-cooldown .cooldown-value{color:#85dfb0}

.header-actions{display:flex;align-items:center;gap:20px;margin-left:auto}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid transparent;background:transparent;color:var(--muted-foreground);padding:0;border-radius:50%}.theme-toggle:hover{color:var(--foreground);border-color:var(--border);background:var(--card)}.theme-toggle:hover{border-color:var(--ring);background:var(--accent)}
html[data-theme="light"]{color-scheme:light;--background:#f5f6fa;--foreground:#202331;--card:#fff;--card-foreground:#202331;--popover:#fff;--popover-foreground:#202331;--secondary:#e9ebf2;--secondary-foreground:#282b38;--muted:#eceef4;--muted-foreground:#626879;--accent:#eeeaff;--accent-foreground:#28233d;--border:#d9dce6;--input:#d9dce6;--ring:#7c68d8}html[data-theme="light"] body{background:#f5f6fa;color:#202331}html[data-theme="light"] .header{background:#fff;border-color:#e0e2ea}html[data-theme="light"] .profile,html[data-theme="light"] .stat-card,html[data-theme="light"] .panel,html[data-theme="light"] .time-note,html[data-theme="light"] .search-panel,html[data-theme="light"] .brawler-card,html[data-theme="light"] .filter-input,html[data-theme="light"] .filter-bar [data-slot="select-trigger"],html[data-theme="light"] [data-slot="dialog-content"]{background:#fff;color:#202331;border-color:#dfe2eb}html[data-theme="light"] .stat-card.featured{background:#f0edff}html[data-theme="light"] .profile-trophies small,html[data-theme="light"] .club,html[data-theme="light"] .player-tag,html[data-theme="light"] .panel-sub,html[data-theme="light"] .muted,html[data-theme="light"] .search-meta,html[data-theme="light"] .section-kicker,html[data-theme="light"] .time-note p,html[data-theme="light"] .ability-card p{color:#626879}html[data-theme="light"] .ability-card{background:#f6f7fb;border-color:#dfe2eb}html[data-theme="light"] .victories-breakdown,html[data-theme="light"] .detail-stats{border-color:#dfe2eb}html[data-theme="light"] .battle,html[data-theme="light"] .ranking-row{border-color:#dfe2eb}html[data-theme="light"] .event-card{background:#fff;color:#202331;border-color:#dedfea}html[data-theme="light"] .player-avatar,html[data-theme="light"] .detail-title img{background:#eceaf5}html[data-theme="light"] .brawler-caption{background:#fff;color:#202331}html[data-theme="light"] .search-panel input,html[data-theme="light"] .filter-input input{color:#202331}html[data-theme="light"] .search-panel form label{color:#646b80}html[data-theme="light"] footer{border-color:#dfe2eb}
@media(max-width:950px){.header-inner{gap:18px}.header-actions{gap:0}}@media(max-width:650px){.header-actions{position:absolute;right:18px;top:17px}.header-inner{position:relative}.header nav{padding-right:0}.theme-toggle{width:38px;height:38px}.header-actions .language{display:none}}

.mode-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.mode-picker>button{display:flex;align-items:center;gap:14px;text-align:left;padding:17px;background:#1d2029;border:1px solid #373a46;border-radius:10px;color:inherit}.mode-picker>button:hover{border-color:#8875c6;background:#242331}.mode-picker>button>span:nth-child(2){display:grid;gap:3px;flex:1}.mode-picker b{font-size:15px}.mode-picker small{font-size:12px;color:#9297a8}.mode-picker>button>svg{color:#a99aff}.mode-number{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#302942;color:#c4b5fd;font-size:12px;font-weight:700}.mode-back{display:flex;align-items:center;gap:7px;color:#c2b4f7;padding:8px 11px;border:1px solid #403b50;border-radius:7px}.map-card{overflow:hidden;padding:0}.map-card>img,.map-image-placeholder{display:block;width:100%;height:190px;object-fit:cover;background:#111319}.map-image-placeholder{display:grid;place-content:center;justify-items:center;gap:6px;color:#8d879f;font-size:12px}.map-image-placeholder svg{color:#a99aff}.map-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:14px 16px 0}.map-card-title h3{font-size:15px;line-height:1.45}.map-card-title>span{flex-shrink:0;background:#263a32;color:#8ee2b6;padding:2px 7px;border-radius:5px;font-size:10px}.map-card>p{padding:5px 16px 15px;color:#a8a4b5;font-size:12px}.map-card>img{object-fit:contain;background:#15171e}html[data-theme="light"] .mode-picker>button{background:#fff;color:#202331;border-color:#dfe2eb}html[data-theme="light"] .mode-picker>button:hover{background:#f5f3ff;border-color:#b7a8ff}html[data-theme="light"] .mode-picker small,html[data-theme="light"] .map-card>p{color:#626879}html[data-theme="light"] .map-card>img,html[data-theme="light"] .map-image-placeholder{background:#f0f1f5}html[data-theme="light"] .mode-back{color:#59469d;border-color:#d7d1ec}@media(max-width:800px){.mode-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.map-card>img,.map-image-placeholder{height:160px}}@media(max-width:480px){.mode-picker{grid-template-columns:1fr}.mode-picker>button{padding:13px}.map-card>img,.map-image-placeholder{height:145px}}

.ranking-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0 8px}.ranking-tabs{display:flex;align-items:center;gap:5px;padding:4px;background:#15171f;border:1px solid #343743;border-radius:9px}.ranking-tabs button{padding:8px 15px;border-radius:6px;color:#a4a7b5;font-size:13px}.ranking-tabs button.active{background:#332c46;color:#d0c4ff}.ranking-list{border-top:1px solid #303442}.ranking-row{color:inherit}.ranking-row>b{min-width:100px}.ranking-more{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:18px 0 7px;padding:11px;border:1px solid #4a4261;border-radius:8px;color:#c4b5fd}.ranking-more:hover{background:#252230}.ranking-note{margin-top:10px;color:#858b9e;font-size:12px}.ranking-controls [data-slot="select-trigger"]{min-width:150px}html[data-theme="light"] .ranking-tabs{background:#f4f4f8;border-color:#dfe2eb}html[data-theme="light"] .ranking-tabs button{color:#626879}html[data-theme="light"] .ranking-tabs button.active{background:#e9e4ff;color:#43377d}html[data-theme="light"] .ranking-more{color:#59469d;border-color:#d7d1ec}@media(max-width:700px){.ranking-controls{align-items:stretch}.ranking-tabs{width:100%;justify-content:space-between}.ranking-tabs button{flex:1}.ranking-controls [data-slot="select-trigger"]{flex:1;min-width:120px}.ranking-row{gap:9px;padding:13px 0;flex-wrap:wrap}.ranking-row>b{min-width:70px;flex:1}.ranking-row>span:nth-of-type(2){font-size:11px}.ranking-row>span:nth-of-type(3){display:none}.hero-trophy{font-size:12px}}
.ranking-player-row{gap:18px}.ranking-player-details{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}.ranking-player-top{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}.ranking-player-top b{font-size:16px;color:var(--foreground)}.ranking-club{display:inline-flex;align-items:baseline;gap:6px;color:#a9adba;font-size:13px;min-width:0;overflow-wrap:anywhere}.ranking-club small{font-size:12px;color:#bbaaff}.ranking-player-tag{font-size:12px;color:#9499a9}.ranking-player-row>.hero-trophy{margin-left:auto;white-space:nowrap}html[data-theme="light"] .ranking-club{color:#626879}html[data-theme="light"] .ranking-player-tag{color:#6b7280}@media(max-width:700px){.ranking-player-row{flex-wrap:nowrap;gap:10px}.ranking-player-details{flex:1;min-width:0}.ranking-player-top{gap:4px 10px}.ranking-player-row>.hero-trophy{margin-left:0}.ranking-player-row>svg:last-child{display:none}}
.ranking-player-scores{display:flex;align-items:center;gap:18px;margin-left:auto;white-space:nowrap}.ranking-player-scores>.hero-trophy{display:inline-flex;align-items:center;gap:6px}.ranking-prestige{display:inline-flex;align-items:center;gap:5px;color:#c4b5fd;font-size:13px}html[data-theme="light"] .ranking-prestige{color:#6550a3}@media(max-width:700px){.ranking-player-row>.ranking-player-scores{display:flex;flex-direction:column;align-items:flex-end;gap:2px;margin-left:0}.ranking-prestige{font-size:12px}}

/* B esports identity: graphite glass with electric-lime signals. */
:root{--background:#0c111b;--foreground:#f5f7fa;--card:#1a2232;--card-foreground:#f5f7fa;--popover:#1c2534;--popover-foreground:#f5f7fa;--primary:#b9f52b;--primary-foreground:#11151a;--secondary:#202a36;--secondary-foreground:#f5f7fa;--muted:#1a2232;--muted-foreground:#a8b1bf;--accent:#26313e;--accent-foreground:#f5f7fa;--border:#343e4b;--input:#3b4654;--ring:#b9f52b}
body{background:radial-gradient(ellipse at 50% -18%,#697c9220,transparent 52%),radial-gradient(ellipse at 100% 32%,#b9f52b0c,transparent 36%),#0c111b;color:#f5f7fa}
.header{background:radial-gradient(ellipse at 14% 0%,#b9f52b0a,transparent 42%),linear-gradient(112deg,#202a36e8 0%,#171e28f0 42%,#0c111bef 72%,#26313eaa 100%);border-color:#b9f52b22}
.brand-icon{width:58px;height:58px;display:grid;place-items:center;overflow:visible;border:1px solid #b9f52b44;border-radius:16px;background:linear-gradient(145deg,#b9f52b1c,#dbe5ee08);box-shadow:inset 0 1px 0 #ffffff24,0 0 22px #b9f52b16}
.brand-icon img{display:block;width:48px;height:48px;max-height:none;object-fit:contain;mix-blend-mode:normal;filter:drop-shadow(0 0 5px #b9f52b20)}
.heading-symbol{opacity:.18;transform:none;color:#b9f52b}
.heading-logo{width:190px;height:172px;filter:drop-shadow(0 0 16px #b9f52b20)}

.header nav button.nav-active,.eyebrow,.search-panel label,.panel-heading button,.ranking-more,.mode-back,.ranking-prestige{color:#b9f52b!important}
.nav-active:after{background:#b9f52b}
.page-heading .eyebrow{color:#b9f52b!important}
.primary{color:#11151a;background:linear-gradient(135deg,#d4ff70,#b9f52b);border-color:#e0ff91;box-shadow:inset 0 1px #ffffff80,0 7px 24px #b9f52b24}
.primary:hover{color:#0c111b;background:#d4ff70}
.ranking-tabs button.active,.profile-tabs [data-slot=tabs-trigger][data-state=active],.mode-number,.hypercharge-stats div,.ranking-more:hover,.mode-picker>button:hover{background:linear-gradient(135deg,#d4ff70,#92c80d)!important;color:#101419!important}
.stat-card [data-slot=progress],.mode-row [data-slot=progress],.mode-row [data-slot=progress-indicator]{filter:none}
.profile-trophies>span,.profile-trophies>span svg,.hero-trophy,.hero-trophy svg{color:#b9f52b!important}
.profile-trophies>span svg.lucide-trophy,.hero-trophy svg.lucide-trophy{color:#b9f52b!important}
.map-card-title>span{background:#2c3c1d;color:#d4ff70}
.header nav button:hover,.header nav button.nav-active,.ranking-more:hover,.mode-back:hover{color:#d4ff70!important}
button:hover{color:#d4ff70}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline-color:#b9f52b}
.ability-section h3,.ability-section.gadgets h3,.ability-section.starPowers h3{color:#d4ff70!important}
.brawler-prestige{color:#d4ff70}
.championship-status{color:#d4ff70}
.player-info-card-icon{border-color:#697d3d;background:#2a3325;color:#b9f52b}
.draft-progress-track span{background:linear-gradient(90deg,#b9f52b,#d4ff70)}
@media(max-width:650px){.brand-icon{width:50px;height:50px;border-radius:13px}.brand-icon img{width:42px;height:42px}.heading-symbol{width:68px;height:68px;margin-right:0}.heading-logo{width:82px;height:78px}}

@media(max-width:650px){.page-heading{position:relative}.page-heading>div{position:relative;z-index:1}.page-heading .heading-symbol{position:absolute;right:-7px;top:-1px;width:62px;height:62px;margin:0;opacity:.12}.page-heading .heading-logo{width:72px;height:68px}.page-heading h1{max-width:calc(100% - 42px)}}

/* B esports identity: graphite glass with electric-lime signals. */
:root{--background:#0c111b;--foreground:#f5f7fa;--card:#1a2232;--card-foreground:#f5f7fa;--popover:#1c2534;--popover-foreground:#f5f7fa;--primary:#b9f52b;--primary-foreground:#11151a;--secondary:#202a36;--secondary-foreground:#f5f7fa;--muted:#1a2232;--muted-foreground:#a8b1bf;--accent:#26313e;--accent-foreground:#f5f7fa;--border:#343e4b;--input:#3b4654;--ring:#b9f52b}
body{background:radial-gradient(ellipse at 50% -18%,#697c9220,transparent 52%),radial-gradient(ellipse at 100% 32%,#b9f52b0c,transparent 36%),#0c111b;color:#f5f7fa}
.header{background:radial-gradient(ellipse at 14% 0%,#b9f52b0a,transparent 42%),linear-gradient(112deg,#202a36e8 0%,#171e28f0 42%,#0c111bef 72%,#26313eaa 100%);border-color:#b9f52b22}
.brand-icon{width:58px;height:58px;display:grid;place-items:center;overflow:visible;border:1px solid #b9f52b44;border-radius:16px;background:linear-gradient(145deg,#b9f52b1c,#dbe5ee08);box-shadow:inset 0 1px 0 #ffffff24,0 0 22px #b9f52b16}
.brand-icon img{display:block;width:48px;height:48px;max-height:none;object-fit:contain;mix-blend-mode:normal;filter:drop-shadow(0 0 5px #b9f52b20)}
.heading-symbol{opacity:.18;transform:none;color:#b9f52b}
.heading-logo{width:190px;height:172px;filter:drop-shadow(0 0 16px #b9f52b20)}

.header nav button.nav-active,.eyebrow,.search-panel label,.panel-heading button,.ranking-more,.mode-back,.ranking-prestige{color:#b9f52b!important}
.nav-active:after{background:#b9f52b}
.page-heading .eyebrow{color:#b9f52b!important}
.primary{color:#11151a;background:linear-gradient(135deg,#d4ff70,#b9f52b);border-color:#e0ff91;box-shadow:inset 0 1px #ffffff80,0 7px 24px #b9f52b24}
.primary:hover{color:#0c111b;background:#d4ff70}
.ranking-tabs button.active,.profile-tabs [data-slot=tabs-trigger][data-state=active],.mode-number,.hypercharge-stats div,.ranking-more:hover,.mode-picker>button:hover{background:linear-gradient(135deg,#d4ff70,#92c80d)!important;color:#101419!important}
.stat-card [data-slot=progress],.mode-row [data-slot=progress],.mode-row [data-slot=progress-indicator]{filter:none}
.profile-trophies>span,.profile-trophies>span svg,.hero-trophy,.hero-trophy svg{color:#b9f52b!important}
.profile-trophies>span svg.lucide-trophy,.hero-trophy svg.lucide-trophy{color:#b9f52b!important}
.map-card-title>span{background:#2c3c1d;color:#d4ff70}
.header nav button:hover,.header nav button.nav-active,.ranking-more:hover,.mode-back:hover{color:#d4ff70!important}
button:hover{color:#d4ff70}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline-color:#b9f52b}
.ability-section h3,.ability-section.gadgets h3,.ability-section.starPowers h3{color:#d4ff70!important}
.brawler-prestige{color:#d4ff70}
.championship-status{color:#d4ff70}
.player-info-card-icon{border-color:#697d3d;background:#2a3325;color:#b9f52b}
.draft-progress-track span{background:linear-gradient(90deg,#b9f52b,#d4ff70)}
@media(max-width:650px){.brand-icon{width:50px;height:50px;border-radius:13px}.brand-icon img{width:42px;height:42px}.heading-symbol{width:68px;height:68px;margin-right:0}.heading-logo{width:82px;height:78px}}

/* Silver liquid-glass visual system */
:root{
 --background:#090b0f;--foreground:#f2f4f7;--card:#191d23;--card-foreground:#f2f4f7;
 --popover:#1b2027;--popover-foreground:#f7f8fa;--primary:#e3e8ef;--primary-foreground:#11151a;
 --secondary:#262c34;--secondary-foreground:#f4f6f8;--muted:#252a31;--muted-foreground:#a5adb8;
 --accent:#313842;--accent-foreground:#f5f7fa;--border:#515a66;--input:#343b44;--ring:#dce3eb;
 color-scheme:dark;
}
html[data-theme="light"]{
 --background:#e7eaee;--foreground:#20252b;--card:#f8f9fa;--card-foreground:#20252b;
 --popover:#f9fafb;--popover-foreground:#20252b;--primary:#333b45;--primary-foreground:#f7f8f9;
 --secondary:#dce0e5;--secondary-foreground:#252a30;--muted:#e1e4e8;--muted-foreground:#626b76;
 --accent:#d8dde3;--accent-foreground:#252a30;--border:#b8c0c9;--input:#c8ced5;--ring:#545e69;
}
body{
 background:radial-gradient(ellipse at 50% -18%,#66717f24,transparent 52%),radial-gradient(ellipse at 100% 32%,#8994a014,transparent 36%),var(--background);
 color:var(--foreground);
}
html[data-theme="light"] body{
 background:radial-gradient(ellipse at 50% -18%,#ffffffd9,transparent 55%),radial-gradient(ellipse at 100% 38%,#ffffff75,transparent 36%),var(--background);
 color:var(--foreground);
}
.header{
 height:96px;
 background:radial-gradient(ellipse at 14% 0%,#e7edf527,transparent 42%),linear-gradient(112deg,#aab4c01c 0%,#252b33e8 42%,#11151bdf 68%,#d4dbe21b 100%);
 border-color:#bfc8d333;
 box-shadow:inset 0 1px 0 #ffffff18,0 10px 35px #0000001c;
 backdrop-filter:blur(22px) saturate(135%);-webkit-backdrop-filter:blur(22px) saturate(135%);
}
.brand-icon{
 width:100px;height:88px;overflow:visible;place-items:center;background:transparent;
 border:0;border-radius:0;box-shadow:none;
}
.brand-icon img{display:block;width:140px;height:auto;max-height:88px;object-fit:contain;mix-blend-mode:screen}
.heading-symbol{display:flex;align-items:center;justify-content:center;width:92px;height:92px;margin-right:18px;opacity:.86;transform:none}
.heading-logo{display:block;width:80px;height:80px;filter:drop-shadow(0 0 9px #e1e7ee20)}
html[data-theme="light"] .brand-icon{background:transparent;border:0;box-shadow:none}
html[data-theme="light"] .brand-icon img{filter:invert(1) grayscale(1);mix-blend-mode:multiply}
.header nav button,.header nav button.nav-active,.nav-active:after,.theme-toggle,.heading-symbol,
.eyebrow,.search-panel label,.enter-key,.section-kicker .data-label,.tag-badge,.stat-title svg,
.featured .stat-title svg,.stat-title .estimate-badge,.profile-tabs [data-slot=tabs-trigger][data-state=active],
.panel-heading h3 svg,.panel-heading button,.hero-trophy,.hero-trophy svg,.rank-0,.rank-1,.rank-2,
.mode-row [data-slot=progress-indicator],.mode-row.green [data-slot=progress-indicator],
.mode-row.yellow [data-slot=progress-indicator],.time-note,.time-note h3,.time-note summary,
footer>div a,.ability-section h3,.ability-section.gadgets h3,.ability-section.starPowers h3,
.hypercharge-stats dt,.hypercharge-stats dd,.gadget-cooldown .cooldown-value,.ranking-club small,
.ranking-prestige,.ranking-more,.mode-picker>button>svg,.mode-number,.mode-back,.map-image-placeholder svg{
 color:#d5dbe2!important;
}
.nav-active:after{background:#e4e9ee}
.page-heading .eyebrow{color:#c7cdd5!important}
.primary{
 color:#11151a;background:linear-gradient(135deg,#f5f7f9,#bfc7d0);
 border:1px solid #ffffffd9;box-shadow:inset 0 1px #fff,0 7px 20px #0003;
}
.primary:hover{color:#080a0d;background:linear-gradient(135deg,#fff,#d2d8df)}
.profile,.stat-card,.panel,.time-note,.search-panel,.brawler-card,.event-card,.filter-input,
.filter-bar [data-slot="select-trigger"],[data-slot="dialog-content"],.ability-card,.mode-picker>button,
.ranking-tabs,.ranking-more,.detail-stats,.victories-breakdown{
 border-color:color-mix(in srgb,var(--foreground) 16%,transparent);
 background:linear-gradient(145deg,#ffffff12,#ffffff04 44%),color-mix(in srgb,var(--card) 78%,transparent);
 box-shadow:inset 0 1px 0 #ffffff12,0 14px 36px #00000020;
 backdrop-filter:blur(18px) saturate(125%);-webkit-backdrop-filter:blur(18px) saturate(125%);
}
.stat-card.featured,.profile{
 background:linear-gradient(135deg,#ffffff12,transparent 42%),linear-gradient(145deg,#252b33e8,#15191fef);
 border-color:#dfe5ed45;
}
.panel,.profile,.search-panel{border-radius:16px}
.stat-card,.brawler-card,.event-card,.ability-card,.mode-picker>button{border-radius:14px}
.search-panel{box-shadow:inset 0 1px 0 #ffffff1c,0 18px 42px #0003}
.ranking-tabs{background:color-mix(in srgb,var(--background) 54%,transparent)}
.ranking-tabs button.active,.profile-tabs [data-slot=tabs-trigger][data-state=active],.mode-number,
.hypercharge-stats div,.ranking-more:hover,.mode-picker>button:hover{
 background:linear-gradient(135deg,#dce2e9,#89939f)!important;color:#101419!important;
}
.stat-card [data-slot=progress],.mode-row [data-slot=progress],.mode-row [data-slot=progress-indicator]{filter:grayscale(1)}
.profile-trophies>span,.profile-trophies>span svg,.hero-trophy,.hero-trophy svg{color:#d7dde4!important}
.profile-trophies>span,.profile-trophies>span svg{color:#cbd2da!important}
.ability-card p,.gadget-cooldown,.map-card>p,.mode-picker small,.ranking-note{color:var(--muted-foreground)}
.map-card-title>span{background:#dce3ea;color:#20252b}
.tag-badge,.section-kicker .data-label,.stat-title .estimate-badge{background:#ffffff13;border-color:#ffffff35}
.header nav button:hover,.header nav button.nav-active,.ranking-more:hover,.mode-back:hover{color:#fff!important}
button:hover{color:#fff}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline-color:#e8edf2}
.ranking-list,.ranking-row,.battle,footer,.victories-total{border-color:color-mix(in srgb,var(--foreground) 14%,transparent)}
.hero-group>h3,.hero-groups .count,.victories-total strong{color:#d8dee5}
.victories-breakdown{background:transparent!important;border:0!important;padding:0;box-shadow:none!important;backdrop-filter:none;-webkit-backdrop-filter:none;gap:3px}
.ability-section h3,.ability-section.gadgets h3,.ability-section.starPowers h3{color:#d8dee5!important}
.ability-card,.hypercharge-stats div{background:color-mix(in srgb,var(--card) 85%,white 15%)}
html[data-theme="light"] .profile,html[data-theme="light"] .stat-card,html[data-theme="light"] .panel,
html[data-theme="light"] .time-note,html[data-theme="light"] .search-panel,html[data-theme="light"] .brawler-card,
html[data-theme="light"] .filter-input,html[data-theme="light"] .filter-bar [data-slot="select-trigger"],
html[data-theme="light"] [data-slot="dialog-content"],html[data-theme="light"] .ability-card,
html[data-theme="light"] .event-card,html[data-theme="light"] .mode-picker>button{
 background:linear-gradient(145deg,#ffffffd9,#f2f4f6c9);border-color:#ffffffd9;
 box-shadow:inset 0 1px 0 #ffffff,0 12px 30px #404b591c;
}
html[data-theme="light"] .stat-card.featured,html[data-theme="light"] .profile{
 background:linear-gradient(135deg,#ffffffc9,transparent 42%),linear-gradient(145deg,#edf0f3,#dfe3e8);
 border-color:#ffffff;
}
html[data-theme="light"] .ranking-tabs{background:#dfe3e8b5;border-color:#c2c9d1}
html[data-theme="light"] .ranking-tabs button{color:#4f5863}
html[data-theme="light"] .ranking-tabs button.active,html[data-theme="light"] .profile-tabs [data-slot=tabs-trigger][data-state=active],
html[data-theme="light"] .mode-number,html[data-theme="light"] .hypercharge-stats div,
html[data-theme="light"] .ranking-more:hover,html[data-theme="light"] .mode-picker>button:hover{
 background:linear-gradient(135deg,#59636f,#343c46)!important;color:#f6f8fa!important;
}
html[data-theme="light"] .header nav button:hover,html[data-theme="light"] button:hover{color:#303944!important}
html[data-theme="light"] .header nav button.nav-active,html[data-theme="light"] .ranking-prestige,
html[data-theme="light"] .ability-section h3,html[data-theme="light"] .ability-section.gadgets h3,
html[data-theme="light"] .ability-section.starPowers h3,html[data-theme="light"] .hypercharge-stats dt,
html[data-theme="light"] .hypercharge-stats dd,html[data-theme="light"] .mode-back,
html[data-theme="light"] .ranking-more,html[data-theme="light"] .panel-heading button,
html[data-theme="light"] .hero-trophy,html[data-theme="light"] .hero-trophy svg{color:#424b56!important}
html[data-theme="light"] .primary{color:#fff;background:linear-gradient(135deg,#59636f,#343c46);border-color:#75808c;box-shadow:inset 0 1px #ffffff45,0 7px 20px #26303b28}
html[data-theme="light"] .primary:hover{color:#fff!important;background:linear-gradient(135deg,#687481,#404954)}
html[data-theme="light"] .brand-icon{background:transparent;border:0;box-shadow:none}
html[data-theme="light"] .map-card-title>span{background:#dce1e6;color:#343d47}
html[data-theme="light"] .hero-group>h3,html[data-theme="light"] .hero-groups .count,
html[data-theme="light"] .victories-total strong{color:#353d46}
@media(max-width:650px){.header{height:auto}.brand-icon{width:78px;height:62px}.brand-icon img{width:100px;max-height:62px}}

/* Keep secondary text and monochrome icons readable on light glass surfaces. */
html[data-theme="light"]{
 --muted-foreground:#4b535d;
}
html[data-theme="light"] .profile-trophies>span,
html[data-theme="light"] .profile-trophies>span svg,
html[data-theme="light"] .hero-trophy,
html[data-theme="light"] .hero-trophy svg{color:#46515d!important}
html[data-theme="light"] .hero-group>h3,
html[data-theme="light"] .hero-groups .count,
html[data-theme="light"] .victories-total strong,
html[data-theme="light"] .ability-section h3,
html[data-theme="light"] .ability-section.gadgets h3,
html[data-theme="light"] .ability-section.starPowers h3{color:#343d47!important}
html[data-theme="light"] .header nav button{color:#434c57}
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .panel-heading svg,
html[data-theme="light"] .stat-title svg,
html[data-theme="light"] .mode-picker>button>svg,
html[data-theme="light"] .map-image-placeholder,
html[data-theme="light"] .map-image-placeholder svg{color:#434c57}
html[data-theme="light"] .ability-card p,
html[data-theme="light"] .gadget-cooldown,
html[data-theme="light"] .map-card>p,
html[data-theme="light"] .mode-picker small,
html[data-theme="light"] .ranking-note,
html[data-theme="light"] .profile-trophies small,
html[data-theme="light"] .club,
html[data-theme="light"] .player-tag,
html[data-theme="light"] .panel-sub,
html[data-theme="light"] .muted,
html[data-theme="light"] .search-meta,
html[data-theme="light"] .section-kicker,
html[data-theme="light"] .time-note p{color:#4b535d}
html[data-theme="light"] .time-note,
html[data-theme="light"] .time-note h3,
html[data-theme="light"] .time-note summary,
html[data-theme="light"] footer>div a,
html[data-theme="light"] .hypercharge-stats dt,
html[data-theme="light"] .hypercharge-stats dd,
html[data-theme="light"] .ranking-club small,
html[data-theme="light"] .ranking-more,
html[data-theme="light"] .mode-back,
html[data-theme="light"] .mode-number,
html[data-theme="light"] .mode-picker>button>svg,
html[data-theme="light"] .map-image-placeholder svg{color:#303943!important}
html[data-theme="light"] .gadget-cooldown .cooldown-value{color:#187447!important}
html[data-theme="light"] .page-heading .eyebrow{color:#424b56!important}
html[data-theme="light"] .stat-title,
html[data-theme="light"] .stat-title>span,
html[data-theme="light"] .stat-value small,
html[data-theme="light"] .stat-card p,
html[data-theme="light"] .profile-tabs [data-slot=tabs-trigger],
html[data-theme="light"] .ranking-tabs button,
html[data-theme="light"] .map-card>p{color:#3e4752}
html[data-theme="light"] .stat-title svg{color:#3e4752!important}
svg.lucide-trophy{color:#f2c14e!important}
.profile-trophies>span svg.lucide-trophy,.hero-trophy svg.lucide-trophy{color:#f2c14e!important}
.ranking-prestige svg.prestige-zap{flex:none}

/* Branded reticle mark and a roomier player identity row. */
.brand-icon{width:58px;height:58px;display:grid;place-items:center;overflow:visible;border:1px solid #c5baff4d;border-radius:16px;background:linear-gradient(145deg,#9282ff2e,#dbe5ee18);box-shadow:inset 0 1px 0 #ffffff32,0 0 22px #9b8cff20}
.brand-icon .brand-crosshair{width:42px;height:42px;filter:drop-shadow(0 0 7px #b5a4ff55)}
.player-avatar{width:116px;height:116px;flex:none;border-radius:22px}
.player-avatar>img{border-radius:18px}
.player-avatar>span{bottom:-9px;left:32px;min-width:48px;font-size:14px}
.hero-group>h3.rarity-ultra{background-image:linear-gradient(110deg,#ff3b30,#ffb800,#39d353,#00b8ff,#a855f7,#ff3b30);background-size:260% 100%;background-position:0% 50%;background-clip:text;-webkit-background-clip:text;color:transparent;animation:rarity-rgb 4s linear infinite}
@media(max-width:650px){.brand-icon{width:50px;height:50px;border-radius:13px}.brand-icon .brand-crosshair{width:37px;height:37px}.player-avatar{width:88px;height:88px;border-radius:17px}.player-avatar>img{border-radius:13px}.player-avatar>span{left:20px;min-width:42px;font-size:12px}}

/* Keep the full navigation readable on narrow screens. */
@media(max-width:650px){
 .header nav{justify-content:flex-start;gap:20px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none;margin-right:-18px;padding-right:18px}
 .header nav::-webkit-scrollbar{display:none}
 .header nav button{flex:none;gap:6px;min-width:max-content;font-size:13px}
 .header nav button svg{width:16px;height:16px}
}
@media(prefers-reduced-motion:reduce){.hero-group>h3.rarity-ultra{animation:none;background-position:50% 50%}}

/* Final B esports palette overrides the legacy silver glass theme above. */
:root{--background:#0c111b;--foreground:#f5f7fa;--card:#1a2232;--card-foreground:#f5f7fa;--popover:#1c2534;--popover-foreground:#f5f7fa;--primary:#b9f52b;--primary-foreground:#11151a;--secondary:#202a36;--secondary-foreground:#f5f7fa;--muted:#1a2232;--muted-foreground:#a8b1bf;--accent:#26313e;--accent-foreground:#f5f7fa;--border:#343e4b;--input:#3b4654;--ring:#b9f52b}
body{background:radial-gradient(ellipse at 50% -18%,#697c9220,transparent 52%),radial-gradient(ellipse at 100% 32%,#b9f52b0c,transparent 36%),#0c111b;color:#f5f7fa}
.header{background:radial-gradient(ellipse at 14% 0%,#b9f52b0a,transparent 42%),linear-gradient(112deg,#202a36e8 0%,#171e28f0 42%,#0c111bef 72%,#26313eaa 100%);border-color:#b9f52b22}
.brand-icon{width:58px;height:58px;display:grid;place-items:center;overflow:visible;border:1px solid #b9f52b44;border-radius:16px;background:linear-gradient(145deg,#b9f52b1c,#dbe5ee08);box-shadow:inset 0 1px 0 #ffffff24,0 0 22px #b9f52b16}
.brand-icon img{display:block;width:48px;height:48px;max-height:none;object-fit:contain;mix-blend-mode:normal;filter:drop-shadow(0 0 5px #b9f52b20)}
.heading-symbol{opacity:.18;transform:none;color:#b9f52b}
.heading-logo{width:190px;height:172px;filter:drop-shadow(0 0 16px #b9f52b20)}

.header nav button.nav-active,.eyebrow,.search-panel label,.panel-heading button,.ranking-more,.mode-back,.ranking-prestige{color:#b9f52b!important}
.nav-active:after{background:#b9f52b}.page-heading .eyebrow{color:#b9f52b!important}
.primary{color:#11151a;background:linear-gradient(135deg,#d4ff70,#b9f52b);border-color:#e0ff91;box-shadow:inset 0 1px #ffffff80,0 7px 24px #b9f52b24}.primary:hover{color:#0c111b;background:#d4ff70}
.ranking-tabs button.active,.profile-tabs [data-slot=tabs-trigger][data-state=active],.mode-number,.hypercharge-stats div,.ranking-more:hover,.mode-picker>button:hover{background:linear-gradient(135deg,#d4ff70,#92c80d)!important;color:#101419!important}
.profile-trophies>span,.profile-trophies>span svg,.hero-trophy,.hero-trophy svg{color:#b9f52b!important}.profile-trophies>span svg.lucide-trophy,.hero-trophy svg.lucide-trophy{color:#b9f52b!important}
.map-card-title>span{background:#2c3c1d;color:#d4ff70}.header nav button:hover,.header nav button.nav-active,.ranking-more:hover,.mode-back:hover{color:#d4ff70!important}
button:hover{color:#d4ff70}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline-color:#b9f52b}
.ability-section h3,.ability-section.gadgets h3,.ability-section.starPowers h3{color:#d4ff70!important}.brawler-prestige,.championship-status{color:#d4ff70}.player-info-card-icon{border-color:#697d3d;background:#2a3325;color:#b9f52b}.draft-progress-track span{background:linear-gradient(90deg,#b9f52b,#d4ff70)}
@media(max-width:650px){.brand-icon{width:50px;height:50px;border-radius:13px}.brand-icon img{width:42px;height:42px}.heading-symbol{width:68px;height:68px;margin-right:0}.heading-logo{width:82px;height:78px}}

/* Additional live API details */
.championship-status{font-size:12px;color:#c9d0db;margin-top:4px}
.brawler-prestige{display:block;padding:0 13px 10px;color:#cbbfea;font-size:12px}
.brawler-streak{display:block;padding:0 13px 4px;color:#d8dee5;font-size:12px}
.ranking-avatar{width:36px;height:36px;flex:none;border-radius:9px;object-fit:contain;background:#30343c;border:1px solid #4b515b}
.ranking-avatar.image-fallback{display:grid;place-items:center;color:#abb4c0}
.player-avatar{display:grid;place-items:center;overflow:hidden}
.player-avatar>.ranking-avatar{width:100%;height:100%;border:0;border-radius:0;object-fit:cover}
.player-info-card{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:12px;padding:13px 18px;border:1px solid #474354;border-radius:11px;background:linear-gradient(120deg,#292536,#1c2029);color:#eef0f7}
.player-info-card-head{display:grid;gap:1px;min-width:130px}
.player-info-card-head strong{font-size:14px}
.player-info-card-head small,.player-info-card-body small{color:#aeb3c3;font-size:11px}
.player-info-card-body{display:flex;align-items:center;gap:11px;min-width:0}
.player-info-card-icon{display:grid;place-items:center;width:46px;height:46px;flex:none;border:1px solid #665a8c;border-radius:10px;background:#373148;color:#b8aaff}
.player-info-card-icon .ranking-avatar{width:100%;height:100%;border:0;border-radius:9px;object-fit:cover}
.player-info-card-body>div{display:grid;min-width:0}
.player-info-card-body strong{font-size:15px;overflow-wrap:anywhere}
.player-info-card>p{flex:1;min-width:180px;color:#aeb3c3;font-size:11px;text-align:right}
.battle-category{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border:1px solid #59616d;border-radius:6px;background:#363c47;color:#e2e7f0;font-size:11px;font-weight:700;white-space:nowrap}
.battle-category.compact{padding:0;border:0;background:transparent;font-size:10px}
.battle-category.ranked{color:#ffdb8d;border-color:#9a7841;background:#463c2b}
.battle-category.ranked.compact{background:transparent}
.battle-category.trophy{color:#ffdc81;border-color:#836d39;background:#3b3528}
.battle-category.trophy.compact{background:transparent}
.battle-category.special{color:#f4bcff;border-color:#805391;background:#3b3047}
.battle-category.special.compact{background:transparent}
.battle-category.friendly{color:#addaf5;border-color:#547993;background:#293e4d}
.battle-category.friendly.compact{background:transparent}
.battle-category.community{color:#b5e3c2;border-color:#52785d;background:#2b4033}
.battle-category.community.compact{background:transparent}
.battle-category.unknown{color:#b8c1cd}
.battle-type-guide{margin-top:17px;padding:15px;border:1px solid #414752;border-radius:10px;background:#242830}
.battle-type-guide h3{font-size:15px;margin-bottom:10px}
.battle-type-guide>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:8px}
.battle-type-guide p{display:grid;align-content:start;gap:3px;padding:10px 11px;border:1px solid #474b57;border-radius:8px;background:#1c2028;font-size:12px}
.battle-type-guide p strong{color:#f1dfaa;font-size:13px}
.battle-type-guide p span,.battle-type-guide>small{color:#aeb6c4}
.battle-type-guide>small{display:block;margin-top:10px;font-size:11px}
html[data-theme="light"] .player-info-card{background:#f7f5ff;color:#202331;border-color:#d9d1ea}
html[data-theme="light"] .player-info-card-head small,html[data-theme="light"] .player-info-card-body small,html[data-theme="light"] .player-info-card>p{color:#666b79}
html[data-theme="light"] .battle-type-guide{background:#fff;border-color:#dfe2eb}
html[data-theme="light"] .battle-type-guide p{background:#f6f7fb;border-color:#dfe2eb}
html[data-theme="light"] .battle-type-guide p strong{color:#7b5200}
html[data-theme="light"] .battle-type-guide p span,html[data-theme="light"] .battle-type-guide>small{color:#626879}
@media(max-width:650px){.player-info-card{padding:12px;gap:10px}.player-info-card-head{min-width:0;width:100%}.player-info-card>p{min-width:0;text-align:left}.battle-category.compact{font-size:10px}}
.club .ranking-avatar{width:21px;height:21px;object-fit:contain;border:0;background:none;flex:none}
.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:14px}
.stat-grid>.featured{grid-column:auto}
.profile-year{margin-top:8px;color:#9296a7;font-size:12px}.profile-year strong{margin-left:5px;color:#d0d3dd;font-weight:650}
.profile-club-fame-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;margin-top:8px}.profile-club-meta{min-width:0}.profile-fame{display:flex;align-items:center;gap:10px;flex:none;margin-top:0;color:#c9bedf}.profile-fame .fame-badge{width:46px;height:46px;object-fit:contain;flex:none}.profile-fame>div{display:flex;flex-direction:column;line-height:1.35}.profile-fame strong{font-size:12px;color:#e0d3ff}.profile-fame span{font-size:12px;color:#aaadbc}
.player-history-stat{display:flex;flex-direction:column;gap:3px;min-width:0;padding:18px 20px;border:1px solid #454a56;border-radius:11px;background:linear-gradient(120deg,#252932,#1b2028)}
.profile-prestige{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:7px;color:#bcb0dc;font-size:13px}.profile-prestige>span{display:inline-flex;align-items:center;gap:5px}.profile-prestige b{color:#ece5ff;font-size:17px;line-height:1.2;font-variant-numeric:tabular-nums}html[data-theme="light"] .profile-prestige{color:#68558e}html[data-theme="light"] .profile-prestige b{color:#4e3b81}
.player-history-stat span{font-size:13px;color:#b5bac8}.player-history-stat strong{font-size:17px;color:#f0f2f7}.player-history-stat small{font-size:11px;color:#989eaf}
.player-history-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-top:12px;border:1px solid #454a56;border-radius:12px;background:linear-gradient(120deg,#252932,#1b2028);overflow:hidden}
.player-history-stats>div{display:flex;flex-direction:column;gap:3px;min-width:0;padding:15px 18px;border-right:1px solid #454a56}
.player-history-stats>div:last-child{border-right:0}
.player-history-stats span,.ranked-stat span{font-size:13px;color:#b5bac8}
.player-history-stats strong,.ranked-stat strong{font-size:17px;color:#f0f2f7}
.player-history-stats small{font-size:11px;color:#989eaf}
.ranked-stats{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr));align-content:stretch;gap:0;margin:0;border:1px solid #454a56;border-radius:12px;background:#1b2028;overflow:hidden}
.ranked-stat{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;padding:6px 12px}.ranked-stat+.ranked-stat{border-top:1px solid #454a56}
.ranked-stat-copy{display:flex;flex:0 1 152px;flex-direction:column;align-items:center;gap:1px;min-width:0;text-align:center}
.ranked-stat-copy span{font-size:12px;line-height:1.3}
.ranked-tier{display:flex;flex:0 0 56px;flex-direction:column;align-items:center;gap:0;min-width:0;color:#d9c9ff;font-size:12px;font-weight:700;line-height:1.2}
.ranked-tier>span{color:#d9c9ff;font-size:12px;white-space:nowrap}
.ranked-tier img{width:40px;height:40px;object-fit:contain}
.ranked-tier-unavailable{color:#929aab;font-size:11px;max-width:60px;line-height:1.3}
.fame-tier{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin-bottom:5px}.fame-tier span{font-weight:700;color:#d9c9ff}.fame-badge{width:30px;height:30px;object-fit:contain}
html[data-theme="light"] .player-history-stats,html[data-theme="light"] .ranked-stats{background:#fff;border-color:#dfe2eb}
html[data-theme="light"] .player-history-stat{background:#fff;border-color:#dfe2eb}
html[data-theme="light"] .player-history-stat strong{color:#202331}
html[data-theme="light"] .player-history-stats>div{border-color:#dfe2eb}
html[data-theme="light"] .player-history-stats strong,html[data-theme="light"] .ranked-stat strong{color:#202331}
@media(max-width:950px){.ranked-stat{gap:5px;padding:6px 8px}.ranked-tier{flex-basis:48px}.ranked-tier img{width:36px;height:36px}.ranked-stat-copy{flex-basis:136px}.ranked-stat-copy span{font-size:10px}.ranked-stat strong{font-size:14px}}
@media(max-width:650px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card.featured{grid-column:1/-1}.ranked-stats h3{padding:8px 13px 0}.ranked-stat{gap:5px;padding:7px 8px 10px}.ranked-tier{flex-basis:43px}.ranked-tier>span{font-size:10px}.ranked-tier img{width:32px;height:32px}}
@media(max-width:420px){.profile{flex-wrap:wrap}.profile-person{min-width:0}.profile-trophies{width:100%;margin-top:12px;padding-top:8px;border-top:1px solid #454a56}}
@media(max-width:420px){.profile-person{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:10px 13px}.profile-person-copy{display:contents}.player-name{grid-column:2;grid-row:1;min-width:0}.profile-club-fame-row{grid-column:1/-1;grid-row:2;align-items:center;gap:10px;margin-top:0}.profile-club-meta{flex:1 1 auto;min-width:0}.profile-club-meta .club{max-width:none;margin-top:0}.profile-club-meta .profile-year{margin-top:3px}.profile-fame{margin-left:0}}
.search-panel .primary{justify-content:center;min-width:150px}
.player-avatar-wrap{display:flex;flex-direction:column;align-items:center;gap:3px;flex:none;width:116px}
.player-avatar-wrap .player-tag{width:100%;margin:0;text-align:center;font-size:12px;line-height:1.35}
@media(max-width:650px){.player-avatar-wrap{width:88px}.player-avatar-wrap .player-tag{font-size:11px}}

.profile-metrics{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;flex:0 1 360px;margin-left:28px;padding-top:12px;align-self:flex-end}
.profile-metric{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;min-width:0;text-align:left}
.profile-metric>span{display:flex;align-items:center;justify-content:center;gap:7px;color:#cbd2da;font-size:18px;line-height:1.35;white-space:nowrap}
.profile-metric>span svg{flex:none;color:#f2c14e}
.profile-metric>strong{display:block;color:#f3f4f9;font-size:32px;line-height:1.3;font-weight:750;letter-spacing:1px;font-variant-numeric:tabular-nums;white-space:nowrap}
.profile-prestige>span{color:#cbd2da;font-size:18px}
.profile-prestige>span svg{width:18px;height:18px;color:#b6a6ff}
.profile-prestige>strong{color:#f3f4f9;font-size:32px}
html[data-theme="light"] .profile-metric>span{color:#50586b}
html[data-theme="light"] .profile-metric>strong{color:#202331}
@media(max-width:950px){.profile{flex-wrap:wrap}.profile-person{width:100%;min-width:0}.profile-metrics{flex:1 1 100%;margin:16px 0 0;padding-top:10px;align-self:auto;border-top:1px solid #454a56}}
@media(max-width:650px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card.featured{grid-column:1/-1}.profile-metrics{gap:10px}.profile-metric>span,.profile-prestige>span{gap:5px;font-size:16px}.profile-metric>span svg{width:14px;height:14px}.profile-prestige>span svg{width:16px;height:16px}.profile-metric>strong,.profile-prestige>strong{font-size:24px}}
.ranked-stat-copy span{font-size:14px!important}.ranked-stat-copy strong{font-size:18px}
.battle{flex-wrap:wrap}
.battle-details{flex-basis:100%;border-top:1px solid #393e49;padding-top:9px;font-size:12px;color:#b5bdc9}
.battle-details summary{cursor:pointer;color:#d7dce6;font-weight:650;list-style-position:inside}
.battle-details summary:hover{color:#fff}
.battle-details-content{padding:14px 0 3px;display:grid;gap:12px}
.battle-details-content>p{color:#c1c8d2}
.battle-team h4{font-size:13px;margin:0 0 8px;color:#f0f2f6}.battle-team h4.own{color:#75dfb3}.battle-team h4.opponent{color:#ff9ba8}.battle-team h4.neutral{color:#c3b4ff}
.battle-team-members{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}
.battle-member{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 32px 10px 10px;border:1px solid #404650;border-radius:8px;background:#22262e;min-width:0}.battle-member-info{min-width:0;flex:1}.battle-hero-avatar{width:61px;height:61px;flex:none;object-fit:contain;border-radius:9px;background:#30343e;border:1px solid #4b5260;padding:3px}.battle-hero-avatar.image-fallback{display:grid;place-items:center;color:#aeb8c6}
.battle-member-main{display:flex;flex-wrap:wrap;gap:3px 8px;align-items:baseline}
.battle-member-main strong{font-size:15px;overflow-wrap:anywhere}
.battle-member-main small{color:#9ba7b7}
.battle-member-hero{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:5px;font-size:12px}
.battle-member-hero small{display:flex;align-items:center;gap:3px;color:#e8c574}
.battle-member>p{margin-top:7px;color:#aeb8c6;font-size:11px;line-height:1.5}
.battle-browser{display:grid;grid-template-columns:minmax(270px,360px) minmax(0,1fr);gap:16px;margin-top:17px;align-items:start}
.battle-list{height:min(640px,72vh);min-height:330px;overflow-y:auto;overscroll-behavior:contain;border:1px solid #3b414e;border-radius:11px;background:#161a21;scrollbar-color:#666c78 transparent}
.battle-list-item{width:100%;display:flex;align-items:center;gap:10px;padding:12px 11px;text-align:left;border-left:4px solid #737d8d;border-bottom:1px solid #313743;color:#e7e9f0;min-height:76px;transition:background .15s}
.battle-list-item:last-child{border-bottom:0}.battle-list-item:hover,.battle-list-item.selected{background:#303745}.battle-list-item.selected{outline:2px solid #a8b8d0;outline-offset:-2px}.battle-list-item.win{border-left-color:#48ca98}.battle-list-item.lose{border-left-color:#ef8090}.battle-number{color:#9099aa;font-size:11px;font-weight:750;font-variant-numeric:tabular-nums}.battle-mode-icon{width:38px;height:38px;flex:none;display:grid;place-items:center;color:#c0b2ff;background:#363047;border:1px solid #594e75;border-radius:9px}.battle-list-copy{display:grid;min-width:0;flex:1;gap:4px}.battle-list-copy strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.battle-list-copy small{display:flex;align-items:center;gap:3px;color:#a7b0c0;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.battle-list-copy small svg{flex:none}.battle-list-meta{display:grid;justify-items:end;gap:5px;flex:none}.battle-list-outcome{display:flex;align-items:center;justify-content:flex-end;gap:7px}.battle-result{font-size:12px;font-weight:800;padding:5px 8px;border-radius:5px;white-space:nowrap;background:#414654;color:#d9e0e8}.battle-result.win{background:#21493e;color:#a1f2ca}.battle-result.lose{background:#532e3a;color:#ffb2c0}.battle-list-trophy-change{display:inline-flex;align-items:center;font-size:14px;font-weight:800;line-height:1;color:#e8c574;white-space:nowrap}.battle-list-trophy-change.gain{color:#75dfb3}.battle-list-trophy-change.loss{color:#ff9ba8}.battle-list-trophy-change.draw{color:#c3b4ff}.ranked-mark{display:flex;align-items:center;gap:3px;font-size:10px;color:#f5d489}.ranked-mark svg,.ranked-badge svg{color:#f6cf69}
.battle-inspector{min-width:0;max-height:min(640px,72vh);min-height:330px;overflow-y:auto;overscroll-behavior:contain;padding:19px;border:1px solid #48515e;border-top:4px solid #737d8d;border-radius:11px;background:#242931;scrollbar-color:#666c78 transparent}.battle-inspector.win{border-top-color:#48ca98}.battle-inspector.lose{border-top-color:#ef8090}.battle-inspector-top{display:flex;align-items:center;justify-content:space-between;color:#aeb7c7;font-size:12px}.battle-inspector-heading{display:flex;align-items:center;gap:12px;margin-top:16px}.battle-inspector-heading .battle-mode-icon{width:52px;height:52px}.battle-inspector-heading h4{font-size:19px;color:#f0f2f6}.battle-inspector-heading p{display:flex;align-items:center;gap:5px;color:#b8c0ce;font-size:13px;margin-top:3px}.battle-inspector-meta{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;border-bottom:1px solid #414955;padding:15px 0;color:#a7b1c1;font-size:12px}.ranked-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border:1px solid #9a7841;border-radius:6px;background:#463c2b;color:#ffe0a2;font-weight:750}.battle-inspector .battle-details-content{padding:14px 0 0}.battle-mvp{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:10px 11px;border-radius:8px;background:#463b28;color:#f8e4b8!important}.battle-mvp>span{font-weight:750;color:#ffd778}.battle-mvp a,.battle-member-main a{color:#e9edff;text-decoration:none}.battle-mvp a:hover,.battle-member-main a:hover{color:#b6e5ff}.battle-mvp small{color:#c6b892}.battle-mvp-unavailable{color:#929dad!important;font-size:11px}.battle-player-hint{display:flex;align-items:center;gap:5px;color:#aebee0;font-size:11px;margin-top:16px}.battle-member-main a{display:grid;gap:2px;max-width:100%}.battle-member-main a strong,.battle-member-main a small{overflow-wrap:anywhere}
@media(max-width:760px){.battle-browser{grid-template-columns:1fr}.battle-list{height:250px;min-height:0}.battle-list-item{min-height:68px}.battle-inspector{max-height:none;min-height:0;overflow:visible}.battle-panel{padding:16px}.battle-panel .panel-heading h3{font-size:15px}.battle-panel .panel-heading span{font-size:11px}}
.hero-ownership{margin:12px 0 20px;padding:16px;border:1px solid #414752;border-radius:10px;background:#242830}
.hero-ownership h3,.schedule-section h3{font-size:16px;margin:0 0 10px;color:#f0f2f6}
.hero-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 15px;margin:0}
.hero-facts>div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #414752;padding:5px 0}
.hero-facts dt{color:#aeb8c6}.hero-facts dd{margin:0;text-align:right;color:#f0f2f6}
.detail-stats{padding:20px 18px;gap:12px}
.detail-stats>div{min-width:0}
.detail-stats>div:last-child{text-align:right}
.gear-section{margin-top:4px}
.gear-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:10px 0 0;padding:0;list-style:none}
.gear-list li{display:flex;justify-content:center;align-items:center;gap:8px;min-width:0;padding:7px 8px;border:1px solid #5b606a;border-radius:9px;background:linear-gradient(145deg,#343943,#242830);color:#edf0f5;font-size:13px;font-weight:600}
.gear-list img{width:32px;height:32px;object-fit:contain;filter:drop-shadow(0 2px 3px #0008)}
.schedule-section{margin-top:25px;border-top:1px solid #404650;padding-top:20px}
.schedule-list{display:grid;gap:9px;margin-top:12px}
.schedule-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 18px;padding:11px 14px;border:1px solid #414752;border-radius:9px;background:#22262e}
.schedule-row>div:first-child{display:flex;flex-direction:column}
.schedule-row strong{font-size:13px}.schedule-row small{color:#aeb8c6;font-size:11px}
.schedule-row>small{flex-basis:100%}
.schedule-times{display:flex;flex-wrap:wrap;gap:5px 16px;font-size:12px;color:#d5dbe4}
@media(max-width:650px){.hero-facts{grid-template-columns:1fr}.gear-list{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-stats{padding-inline:12px;gap:8px}.detail-stats b{font-size:clamp(16px,5vw,23px)}.ranking-avatar{width:30px;height:30px}.schedule-row{align-items:flex-start}.battle-team-members{grid-template-columns:1fr}}

/* Hero rarity follows the in-game/API rarity color; Ultra Legendary uses a static RGB sweep. */
.rarity-label{font-weight:600}
.rarity-ultra{background:linear-gradient(110deg,#ff3b30,#ffb800,#39d353,#00b8ff,#a855f7,#ff3b30);background-size:260% 100%;background-position:0% 50%;background-clip:text;-webkit-background-clip:text;color:transparent;animation:rarity-rgb 4s linear infinite}
@keyframes rarity-rgb{to{background-position:100% 50%}}
@media(prefers-reduced-motion:reduce){.rarity-ultra{animation:none;background-position:50% 50%}}
.detail-stats{border:1px solid color-mix(in srgb,var(--foreground) 20%,transparent);border-radius:12px;overflow:hidden}

/* Ability colors and icons remain distinct from the broad dialog theme overrides. */
.ability-section.gadgets h3{color:#55e39a!important}
.ability-section.starPowers h3{color:#ffd45a!important}
.ability-section.hypercharge h3{color:#cf9aff!important}
.ability-heading h4{display:flex;align-items:center;gap:9px}
.ability-icon{width:38px;height:38px;object-fit:contain;flex:none;filter:drop-shadow(0 1px 2px #0008)}
.hypercharge-stats div{background:#34313f!important;border:1px solid #5d5570;box-shadow:inset 0 1px #ffffff12}
.hypercharge-stats dt{color:#d2c7e6!important}
.hypercharge-stats dd{color:#fff!important}
html[data-theme="light"] .ability-section.gadgets h3{color:#16864b!important}
html[data-theme="light"] .ability-section.starPowers h3{color:#9c6800!important}
html[data-theme="light"] .ability-section.hypercharge h3{color:#6b40b8!important}
html[data-theme="light"] .hypercharge-stats div{background:#f2eef8!important;border-color:#d7c8ef;box-shadow:inset 0 1px #fff}
html[data-theme="light"] .hypercharge-stats dt{color:#514566!important}
html[data-theme="light"] .hypercharge-stats dd{color:#37234f!important}

.catalog-filter-controls{display:flex;gap:10px;margin-left:auto}
@media(max-width:700px){.catalog .filter-bar{flex-wrap:wrap}.catalog .filter-input{flex:1 1 100%;width:100%}.catalog-filter-controls{width:100%;margin-left:0}.catalog-filter-controls [data-slot=select-trigger]{flex:1;min-width:0}}

.battle-mode-icon img{width:30px;height:30px;object-fit:contain;filter:drop-shadow(0 1px 2px #0008)}
.battle-member-main{align-items:flex-start}.battle-mvp-inline{flex:none;margin-top:1px;padding:3px 6px;border:1px solid #8c7040;border-radius:5px;background:#453a26;color:#ffdc86;font-size:10px;font-weight:800;white-space:nowrap;animation:battle-mvp-glow 1.8s ease-in-out infinite}
@keyframes battle-mvp-glow{0%,100%{color:#ffdc86;border-color:#8c7040;box-shadow:0 0 0 rgba(255,205,104,0)}50%{color:#ffeab1;border-color:#c99a49;box-shadow:0 0 9px rgba(255,205,104,.3)}}
@media(prefers-reduced-motion:reduce){.battle-mvp-inline{animation:none}}

/* Daily event rotation, recent-battle analysis, and verified reward hub */
.daily-rotation{padding:24px;margin-bottom:28px;border:1px solid var(--border,#39404b);border-radius:20px;background:rgba(16,22,32,.55)}
.daily-rotation .panel-heading h3{font-size:1.25rem;margin:0}.daily-rotation .panel-heading p{margin:5px 0 0}.daily-switch{display:flex;gap:4px;padding:4px;border:1px solid #4a5260;border-radius:12px}.daily-switch button{padding:7px 15px;border:0;border-radius:8px;color:#aeb7c6;background:transparent;cursor:pointer}.daily-switch button.active{background:#dce3ec;color:#111923;font-weight:700}.daily-date{color:#bfc8d5;margin:14px 0}.daily-map-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.daily-map-card{display:flex;gap:14px;min-width:0;align-items:center;padding:12px;border:1px solid #3b4655;border-radius:14px;background:#1d242e}.daily-map-card>img,.daily-map-placeholder{width:72px;height:72px;flex:none;border-radius:10px;object-fit:cover;background:#303947}.daily-map-placeholder{display:grid;place-items:center}.daily-map-card>div{min-width:0;display:grid;gap:2px}.daily-map-card small,.daily-map-card span{color:#aeb7c6}.daily-map-card strong{font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.daily-rotation .small-note{margin:16px 0 0}
.analysis-panel{margin-top:24px}.analysis-panel .panel-heading p{margin:4px 0 0}.analysis-list{display:grid;gap:10px}.analysis-row{display:grid;grid-template-columns:64px minmax(110px,1fr) 92px 92px;align-items:center;gap:14px;padding:12px 16px;border:1px solid #3b4655;border-radius:14px;background:#1d242e}.analysis-row>img,.analysis-hero-fallback{width:64px;height:64px;object-fit:cover;border-radius:10px;background:#303947}.analysis-hero-fallback{display:grid;place-items:center}.analysis-name,.analysis-metric{display:grid;gap:3px;min-width:0}.analysis-name small,.analysis-metric span{font-size:.85rem;color:#9da8b8}.analysis-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analysis-metric strong{font-size:1.2rem}.analysis-metric.positive strong{color:#69dfad}.analysis-metric.negative strong{color:#fa8195}.analysis-metric.neutral strong{color:#d7dfeb}.analysis-panel .small-note{margin:18px 0 0}
.reward-hub{margin-top:22px}.reward-hub .panel-heading h2{display:flex;align-items:center;gap:10px}.reward-empty{text-align:center;padding:34px 15px;color:#b8c4d2}.reward-empty svg{color:#bda9ff}.reward-empty h3{color:#f1f4f8;margin:12px 0}.reward-empty p{max-width:640px;margin:auto;line-height:1.7}.reward-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.reward-links a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:18px;border:1px solid #3b4655;border-radius:14px;color:#eff2f7;text-decoration:none;background:#1d242e}.reward-links a:hover{border-color:#ac9dff}.reward-links p{font-size:.88rem;color:#aeb7c6;margin:7px 0 0;line-height:1.5}.reward-links svg{flex:none}.reward-hub .small-note{margin:22px 0 0}
@media(max-width:700px){.daily-rotation{padding:16px}.daily-rotation .panel-heading{align-items:flex-start;gap:12px}.daily-switch button{padding:7px 10px}.analysis-row{grid-template-columns:52px minmax(0,1fr) 70px 70px;gap:8px;padding:10px}.analysis-row>img,.analysis-hero-fallback{width:52px;height:52px}.analysis-metric strong{font-size:1rem}.analysis-metric span,.analysis-name small{font-size:.72rem}.reward-links{grid-template-columns:1fr}}
@media(max-width:420px){.analysis-row{grid-template-columns:48px minmax(0,1fr) 64px;row-gap:0}.analysis-row>img,.analysis-hero-fallback{width:48px;height:48px;grid-row:span 2}.analysis-name{grid-row:span 2}.analysis-metric{justify-items:end}.analysis-metric strong{font-size:.95rem}}

/* Team recruitment */
.team-recruitment{max-width:1240px;margin:0 auto 72px}.team-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:20px}.team-head h2{font-size:28px;line-height:1.2;margin:5px 0 8px}.team-head p,.team-note{color:#aeb4c4}.team-head-actions,.team-card-bottom>div,.team-form-actions{display:flex;gap:10px;align-items:center}.team-primary,.team-quiet,.team-join,.team-close{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 15px;border-radius:10px;border:1px solid #474b5b;font-weight:700}.team-primary,.team-join{background:#a195ff;border-color:#a195ff;color:#15101f}.team-primary:hover,.team-join:hover{background:#c4baff;color:#15101f}.team-quiet,.team-close{background:#252936;color:#e9e9f2}.team-close{color:#f4a7b1}.team-mode-filter{display:flex;gap:9px;overflow-x:auto;padding:4px 0 16px;margin-bottom:8px;scrollbar-width:thin}.team-mode-filter button{white-space:nowrap;border:1px solid #3c4150;background:#20242e;color:#d7dbea;padding:8px 14px;border-radius:999px;font-size:14px}.team-mode-filter button.selected{background:#a195ff;border-color:#a195ff;color:#15101f;font-weight:800}.team-list{display:grid;gap:15px}.team-card{background:#1b1e27;border:1px solid #383c4a;border-radius:16px;overflow:hidden}.team-card-top{display:flex;justify-content:space-between;gap:12px;padding:12px 18px;background:linear-gradient(90deg,#403665,#272838);border-bottom:1px solid #46435c}.team-mode,.team-time,.team-host-stats span,.team-brawler{display:inline-flex;align-items:center;gap:6px}.team-mode{font-weight:800;color:#efeaff}.team-time{font-size:13px;color:#c8c5d6}.team-card-body{display:grid;grid-template-columns:2fr 1fr;gap:16px;padding:18px}.team-host,.team-conditions{display:flex;flex-direction:column;align-items:start;gap:4px;padding:14px 16px;border-radius:12px;background:#242833}.team-label{font-size:12px;letter-spacing:.03em;color:#aeb5c7}.team-host strong{font-size:19px}.team-host small{color:#c4c9d6}.team-host-stats{display:flex;flex-wrap:wrap;gap:8px 18px;color:#d8d4ee;font-size:13px;margin-top:7px}.team-conditions b{font-size:16px}.team-brawler{font-size:13px;color:#d9dce7}.team-brawler img{width:25px;height:25px;object-fit:contain}.team-post-message{margin:0 18px 16px;padding:12px 14px;background:#252936;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere}.team-card-bottom{border-top:1px solid #363a47;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px}.team-card-bottom>span{font-size:12px;color:#a7adbf}.team-note{margin-top:20px;font-size:13px}.team-empty{border:1px dashed #515569;border-radius:16px;text-align:center;padding:58px 20px;color:#acb1c3}.team-empty svg{color:#a195ff}.team-empty h3{color:#f3f4f9;margin:12px 0 4px}.team-message{padding:12px 15px;background:#452e3a;color:#ffd4dc;border:1px solid #855363;border-radius:10px;margin-bottom:15px}.team-dialog-backdrop{position:fixed;inset:0;z-index:100;background:#080a0dcc;display:flex;align-items:center;justify-content:center;padding:20px}.team-dialog{width:min(650px,100%);max-height:min(90vh,900px);overflow-y:auto;border-radius:18px;background:#20232c;border:1px solid #454958;box-shadow:0 24px 80px #0009;padding:24px}.team-dialog-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:18px}.team-dialog-head h2{font-size:24px}.team-dialog-head button{border:0;background:transparent;color:#c7ccda}.team-dialog form,.team-dialog label{display:flex;flex-direction:column;gap:7px}.team-dialog form{gap:17px}.team-dialog label{font-size:14px;font-weight:700}.team-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.team-dialog input,.team-dialog select,.team-dialog textarea{width:100%;border:1px solid #4b5060;background:#171a22;color:#fff;border-radius:9px;padding:10px 12px;font:inherit}.team-dialog textarea{resize:vertical}.team-dialog small,.team-form-note{color:#aeb5c7;font-size:12px;font-weight:400}.team-form-actions{justify-content:flex-end;border-top:1px solid #3b3f4d;padding-top:18px}
@media(max-width:700px){.team-head,.team-card-bottom{align-items:stretch;flex-direction:column}.team-head-actions{width:100%}.team-head-actions>*{flex:1}.team-card-body,.team-form-grid{grid-template-columns:1fr}.team-card-bottom>div{justify-content:space-between}.team-card-bottom>div>*{flex:1}.team-dialog{padding:18px}.team-time{font-size:11px}}

/* Official reward center */
.reward-center{max-width:1240px;margin:0 auto 70px}.reward-hero{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.7fr);gap:24px;padding:34px;border:1px solid #544a75;border-radius:22px;background:radial-gradient(circle at 90% 15%,#46336c 0,transparent 36%),linear-gradient(130deg,#24243a,#171b27 75%);box-shadow:0 18px 45px #05050944}.reward-hero-copy{display:flex;flex-direction:column;align-items:start}.reward-hero .eyebrow,.reward-section .eyebrow{color:#b8a8ff;letter-spacing:.14em;font-size:11px;font-weight:800}.reward-hero h2{font-size:clamp(26px,3vw,38px);line-height:1.2;margin:10px 0 14px;max-width:650px}.reward-hero-copy>p{color:#c1c5d2;max-width:660px;line-height:1.7}.reward-hero-meta{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}.reward-hero-meta span{display:inline-flex;align-items:center;gap:7px;border:1px solid #655d7d;border-radius:999px;padding:6px 11px;color:#d5d0e4;font-size:12px}.reward-hero-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;background:#ffffff0d;border:1px solid #ffffff22;border-radius:18px;padding:20px}.reward-hero-stat svg{color:#ffdb8c}.reward-hero-stat strong{font-size:68px;line-height:1;color:#fff}.reward-hero-stat span{font-weight:700}.reward-hero-stat small{font-size:11px;color:#aeb1bf;max-width:190px;line-height:1.5}.reward-jump{display:flex;gap:10px;overflow-x:auto;margin:18px 0 32px;scrollbar-width:thin}.reward-jump a{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;border:1px solid #414453;background:#212531;color:#dddfea;border-radius:999px;padding:9px 16px;font-size:14px;font-weight:700}.reward-jump a:hover{background:#3b3453;border-color:#a195ff;color:#fff}.reward-section{margin:38px 0;scroll-margin-top:24px}.reward-section-head{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:16px}.reward-section-head h3{font-size:25px;margin:3px 0}.reward-section-head p{color:#aeb4c3;font-size:14px}.reward-section-count{white-space:nowrap;border:1px solid #3f4454;background:#212530;color:#c5c9d6;padding:6px 11px;border-radius:999px;font-size:12px}.reward-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.reward-source-card{display:grid;grid-template-columns:148px minmax(0,1fr);min-height:220px;background:#1c2029;border:1px solid #3b4050;border-radius:17px;overflow:hidden}.reward-source-art{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:linear-gradient(145deg,#55417f,#302c48);color:#e9dbff}.reward-source-art span{border:1px solid #ffffff66;border-radius:999px;padding:3px 10px;color:#fff;font-size:11px;font-weight:800}.reward-tone-cyan .reward-source-art{background:linear-gradient(145deg,#175b71,#233745);color:#aff0ff}.reward-tone-gold .reward-source-art{background:linear-gradient(145deg,#766131,#443823);color:#ffdf84}.reward-tone-orange .reward-source-art{background:linear-gradient(145deg,#804351,#49303e);color:#ffba91}.reward-source-content{display:flex;flex-direction:column;align-items:start;padding:20px}.reward-source-content small{font-size:11px;color:#b9b4cb}.reward-source-content h4{font-size:20px;margin:5px 0 8px}.reward-source-content p{font-size:13px;color:#b8bfcc;line-height:1.6;flex:1}.reward-source-content a,.reward-qr-empty a{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:800;color:#c0afff;margin-top:15px}.reward-source-content a:hover,.reward-qr-empty a:hover{color:#e1d9ff}.reward-qr-empty{display:flex;align-items:center;gap:24px;background:#1d222b;border:1px dashed #53596b;border-radius:17px;padding:27px}.reward-qr-symbol{display:grid;place-items:center;min-width:114px;height:114px;border-radius:15px;background:#2a3040;color:#b7a7ff}.reward-qr-empty h4{font-size:18px;margin-bottom:6px}.reward-qr-empty p{color:#b6becc;font-size:13px;max-width:700px;line-height:1.7}.reward-safety{display:flex;gap:10px;align-items:start;color:#aeb8c7;background:#19242c;border:1px solid #344753;border-radius:12px;padding:14px 16px;font-size:12px;line-height:1.6}.reward-safety svg{color:#93e1b5}
.reward-reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}.reward-reference-card{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;align-items:center;padding:20px;background:#1d222b;border:1px solid #4b5061;border-radius:17px}.reward-reference-image{padding:8px;background:#fff;border-radius:12px}.reward-reference-image img{display:block;width:100%;height:auto;image-rendering:pixelated}.reward-reference-content{display:flex;flex-direction:column;align-items:start}.reward-reference-status{padding:4px 9px;border-radius:999px;background:#54432c;color:#ffe0a8;font-size:11px;font-weight:800}.reward-reference-content h4{font-size:18px;margin:10px 0 8px}.reward-reference-content p{color:#b6becc;font-size:13px;line-height:1.6}.reward-reference-content a{display:inline-flex;align-items:center;gap:7px;color:#c0afff;font-size:13px;font-weight:800;margin-top:15px}.reward-reference-content a:hover{color:#e1d9ff}
@media(max-width:780px){.reward-hero{grid-template-columns:1fr;padding:22px}.reward-hero-stat{min-height:150px}.reward-source-grid{grid-template-columns:1fr}.reward-section-head{align-items:start;flex-direction:column}.reward-qr-empty{align-items:start}}
@media(max-width:780px){.reward-reference-grid{grid-template-columns:1fr}}
@media(max-width:500px){.reward-source-card{grid-template-columns:105px minmax(0,1fr);min-height:210px}.reward-source-art svg{width:35px;height:35px}.reward-source-content{padding:15px}.reward-source-content h4{font-size:17px}.reward-qr-empty{flex-direction:column}.reward-qr-symbol{min-width:80px;width:80px;height:80px}.reward-hero-stat strong{font-size:52px}.reward-reference-card{grid-template-columns:1fr}.reward-reference-image{width:190px;max-width:100%;margin:0 auto}}

/* Ban / pick simulator */
.draft-page{max-width:1240px;margin:0 auto 70px}.draft-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;padding:28px 30px;border:1px solid #4b4f64;border-radius:20px;background:linear-gradient(125deg,#282840,#171c29)}.draft-intro h2{font-size:28px;margin:8px 0}.draft-intro p{color:#b9c1ce;font-size:14px;line-height:1.6;max-width:720px}.draft-actions{display:flex;gap:8px}.draft-actions button,.draft-toolbar-controls button{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;border:1px solid #53596c;border-radius:10px;background:#2a3040;color:#e9eaf2;padding:10px 13px;font-size:13px;font-weight:700}.draft-actions button:disabled,.draft-toolbar-controls button:disabled{opacity:.45;cursor:not-allowed}.draft-setup{display:flex;align-items:end;flex-wrap:wrap;gap:13px;margin:18px 0}.draft-setup label{display:flex;flex-direction:column;gap:6px;color:#c6cbd8;font-size:12px;font-weight:800}.draft-setup select,.draft-toolbar-controls select{min-width:175px;border:1px solid #4b5061;border-radius:10px;background:#202632;color:#f4f4f7;padding:10px 12px;font:inherit}.draft-setup>span{color:#8f99aa;font-size:12px;padding-bottom:10px}.draft-progress{padding:18px 21px;border:1px solid #504a69;border-radius:16px;background:#242239}.draft-progress>div:first-child{display:flex;justify-content:space-between;gap:10px}.draft-progress strong{color:#fff;font-size:18px}.draft-progress>div:first-child span{color:#c4b6e9;font-size:13px}.draft-progress-track{height:7px;border-radius:999px;background:#161827;overflow:hidden;margin:12px 0}.draft-progress-track span{display:block;height:100%;background:linear-gradient(90deg,#fc645e,#4f9fff);transition:width .2s}.draft-progress p{color:#b9bfd0;font-size:13px}.draft-teams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.draft-team{padding:20px;border:1px solid #614146;border-radius:18px;background:linear-gradient(145deg,#3a252d,#211f2a)}.draft-team.team-B{border-color:#355775;background:linear-gradient(145deg,#1d344a,#1c2531)}.draft-team-heading{display:flex;align-items:center;gap:10px;margin-bottom:15px}.draft-team-heading h3{margin:0;color:#ff7773}.team-B .draft-team-heading h3{color:#78b7ff}.draft-team-heading span{padding:2px 8px;border-radius:999px;background:#ffffff16;color:#cbd1dd;font-size:11px}.draft-row{display:flex;align-items:center;gap:14px;margin-top:10px}.draft-row>b{width:34px;flex:none;color:#ced3df;font-size:12px}.draft-row>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:1}.draft-slot{display:flex;align-items:center;justify-content:center;flex-direction:column;height:75px;min-width:0;border:1px dashed #787586;border-radius:11px;background:#ffffff0b;overflow:hidden;position:relative}.draft-slot.active{border:2px solid #ffce7c;box-shadow:0 0 0 3px #ffce7c2a}.draft-slot.ban.filled{background:#7b3440;border-color:#f37680}.draft-slot.pick.filled{background:#32415d;border-color:#7ba9ef}.draft-slot img{height:49px;width:49px;object-fit:contain}.draft-slot small{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;color:#e4e7f0;font-size:11px}.draft-slot:not(.filled) small{color:#a1a8b4}.draft-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;margin:16px 0;border:1px solid #52694e;border-radius:15px;background:#22302a}.draft-summary>div{display:flex;align-items:flex-start;gap:11px}.draft-summary svg{color:#99dc9e;flex:none}.draft-summary h3{margin:0 0 5px;font-size:18px}.draft-summary p{font-size:13px;color:#c3d3c6}.draft-summary button,.draft-close{border:0;border-radius:10px;background:#8c63d4;color:#fff;padding:10px 15px;font-weight:800;white-space:nowrap}.draft-toolbar{display:flex;gap:12px;align-items:center;margin-top:25px}.draft-search{display:flex;align-items:center;gap:8px;flex:1;min-width:0;border:1px solid #535a6c;border-radius:11px;background:#202631;padding:0 12px}.draft-search svg{color:#b3baca;flex:none}.draft-search input{width:100%;min-width:0;border:0;background:transparent;color:#fff;padding:12px 0;outline:none}.draft-search button{border:0;background:none;color:#cbd2df}.draft-toolbar-controls{display:flex;align-items:center;gap:9px}.draft-toolbar-controls label{display:flex;align-items:center;gap:6px;color:#cbd1dc;font-size:12px;white-space:nowrap}.draft-toolbar-controls input{accent-color:#9775dc}.draft-grid-note{color:#9da6b5;font-size:12px;margin:12px 0}.draft-brawler-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:8px}.draft-brawler{height:95px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px solid var(--draft-rarity);border-radius:12px;background:#242a35;color:#f2f4f7;padding:5px;cursor:pointer}.draft-brawler:hover:not(:disabled){background:#38374a;transform:translateY(-2px)}.draft-brawler.used{opacity:.38;filter:grayscale(1);cursor:not-allowed}.draft-brawler img{width:57px;height:57px;object-fit:contain}.draft-brawler span{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center;font-size:11px;font-weight:800}.draft-empty{text-align:center;color:#aeb6c6;padding:30px}.draft-dialog-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:16px;background:#070912bf}.draft-dialog{width:min(600px,100%);max-height:calc(100vh - 32px);overflow:auto;padding:24px;border:1px solid #575270;border-radius:18px;background:#222631;box-shadow:0 24px 60px #0008}.draft-dialog-title{display:flex;justify-content:space-between;align-items:center}.draft-dialog-title h3{font-size:22px}.draft-dialog-title button{border:0;background:none;color:#e9ebf2}.draft-dialog>p{color:#bac3cf;line-height:1.6;font-size:14px;margin:14px 0}.draft-role-panels{display:grid;grid-template-columns:1fr 1fr;gap:12px}.draft-role-panels>div{padding:15px;border-radius:12px;background:#303544}.draft-role-panels h4{margin:0 0 8px;color:#a7c6ff}.draft-role-panels>div:first-child h4{color:#ff9d9d}.draft-role-panels p{font-size:14px;line-height:1.6}.draft-role-panels small{display:block;color:#aeb8c7;margin-top:10px;line-height:1.5}.draft-close{width:100%;margin-top:18px}
@media(max-width:900px){.draft-toolbar{align-items:stretch;flex-direction:column}.draft-toolbar-controls{flex-wrap:wrap}.draft-intro{flex-direction:column}}
@media(max-width:640px){.draft-intro{padding:20px}.draft-intro h2{font-size:23px}.draft-actions{width:100%}.draft-actions button{flex:1}.draft-setup label{flex:1;min-width:140px}.draft-setup select{min-width:0;width:100%}.draft-setup>span{padding-bottom:0}.draft-teams{grid-template-columns:1fr}.draft-team{padding:15px}.draft-row{gap:7px}.draft-slot{height:68px}.draft-slot img{width:43px;height:43px}.draft-brawler-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.draft-brawler{height:86px}.draft-brawler img{width:49px;height:49px}.draft-summary{align-items:stretch;flex-direction:column}.draft-summary button{width:100%}.draft-role-panels{grid-template-columns:1fr}.draft-toolbar-controls select{min-width:0;flex:1}.draft-toolbar-controls button{flex:1}}
@media(max-width:640px){.draft-toolbar-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.draft-toolbar-controls select{width:100%;font-size:13px;padding-inline:8px}.draft-toolbar-controls button{width:100%}}
@media(min-width:901px) and (max-width:1199px){.draft-toolbar{flex-direction:column;align-items:stretch}.draft-toolbar-controls{justify-content:flex-end;flex-wrap:wrap}}
.draft-toolbar-controls select[aria-label="稀有度篩選"]{min-width:0;width:132px;font-size:13px;padding-inline:8px}
.draft-toolbar-controls select[aria-label="英雄類型篩選"]{min-width:0;width:116px;font-size:13px;padding-inline:8px}
@media(max-width:640px){.draft-toolbar-controls{display:flex;flex-wrap:wrap}.draft-toolbar-controls select{flex:none}.draft-toolbar-controls button{width:auto;flex:0 0 auto}}
.draft-actions button.is-active{background:#684b9c;border-color:#ad86ed;color:#fff}
.draft-dialog{width:min(760px,100%)}.draft-dialog-context{display:inline-block!important;padding:6px 10px;border-radius:999px;background:#374057;color:#dce8ff!important;font-weight:800}.draft-analysis-section{margin-top:20px;padding-top:16px;border-top:1px solid #444b5b}.draft-analysis-section h4{margin:0 0 10px;color:#b995ef;font-size:16px}.draft-analysis-section ul{padding-left:20px;color:#d5dbe4;font-size:13px;line-height:1.65}.draft-analysis-section li+li{margin-top:6px}.draft-matchup-scroll{overflow-x:auto}.draft-matchup-scroll table{width:100%;border-collapse:separate;border-spacing:5px;text-align:left;font-size:12px}.draft-matchup-scroll th{min-width:105px;color:#e6ecf6}.draft-matchup-scroll td{min-width:130px;padding:8px;border-radius:7px;background:#303b47;color:#d2deea;line-height:1.45}.draft-matchup-scroll th small{display:block;color:#9eaac0;font-size:10px;margin-top:3px}.draft-analysis-limit{padding:10px 12px;border-radius:9px;background:#403922;color:#e9dca6!important;font-size:12px!important}
@media(max-width:640px){.draft-actions button{padding:9px 6px;font-size:12px}}

/* Map recommendations */
.map-card{display:block;width:100%;color:inherit;text-align:left}.map-card:hover,.daily-map-card:is(button):hover{border-color:#a99aff;background:#2b2b3d}.daily-map-card:is(button){width:100%;color:inherit;text-align:left;cursor:pointer}.map-detail>.mode-back{margin-bottom:22px}.map-detail-heading h2{font-size:clamp(1.6rem,4vw,2.2rem);line-height:1.25;margin:5px 0}.map-detail-heading p{color:#aeb7c6}.map-detail-image{display:block;width:min(100%,640px);height:auto;max-height:330px;object-fit:contain;margin:20px auto;border:1px solid #3b4655;border-radius:14px;background:#15171e}.map-recommendation-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:26px 0 14px}.map-recommendation-heading h3{display:flex;align-items:center;gap:9px;font-size:1.2rem}.map-recommendation-heading>span{font-size:12px;color:#aeb7c6}.map-pick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.map-pick{position:relative;min-width:0;padding:16px;border:1px solid #45435a;border-radius:12px;background:#252536;display:grid;justify-items:center;text-align:center;gap:8px}.map-pick-rank{position:absolute;left:12px;top:9px;color:#c9bbff;font-weight:750;font-size:13px}.map-pick>img,.map-pick-placeholder{width:92px;height:92px;object-fit:contain}.map-pick-placeholder{display:grid;place-items:center;color:#aaa3bd}.map-pick h4{font-size:17px}.map-pick small{display:block;font-size:11px;color:#aeb7c6}.map-pick strong{font-size:23px;color:#91e7bb;line-height:1.2}.map-pick strong small{font-weight:400;margin-top:3px}.map-source-note{margin-top:20px;padding:15px 17px;border:1px solid #3d4655;border-radius:10px;background:#1c2430;color:#b6c1d1;font-size:12px;line-height:1.7}.map-source-note a{display:inline-flex;align-items:center;gap:4px;color:#c8b9ff;text-decoration:underline;margin-top:8px}@media(max-width:650px){.map-pick-grid{grid-template-columns:1fr}.map-pick{grid-template-columns:auto 68px minmax(0,1fr) auto;justify-items:start;text-align:left;align-items:center;gap:10px;padding:12px}.map-pick-rank{position:static}.map-pick>img,.map-pick-placeholder{width:64px;height:64px}.map-pick h4{font-size:15px}.map-pick strong{font-size:19px;text-align:right}.map-recommendation-heading{align-items:flex-start;flex-direction:column;gap:3px}.map-detail-image{max-height:220px}}

.map-team-heading{margin-top:32px}.map-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.map-team{padding:16px;border:1px solid #45435a;border-radius:12px;background:#252536;min-width:0}.map-team-rank{display:block;color:#c9bbff;font-size:12px;font-weight:800;margin-bottom:12px}.map-team-members{display:grid;gap:10px}.map-team-members>div{display:flex;align-items:center;gap:9px;min-width:0}.map-team-members img,.map-team-members .map-pick-placeholder{width:38px;height:38px;flex:none;object-fit:contain}.map-team-members strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.map-team-rate{display:flex;align-items:baseline;justify-content:space-between;gap:7px;padding-top:12px;margin-top:13px;border-top:1px solid #46465b}.map-team-rate strong{font-size:22px;color:#91e7bb}.map-team-rate small{font-size:11px;color:#aeb7c6}@media(max-width:800px){.map-team-grid{grid-template-columns:1fr}.map-team-members{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.map-team-members>div{flex-direction:column;text-align:center}.map-team-members strong{max-width:100%;font-size:12px}}

/* Per-brawler battle record */
.analysis-panel .panel-heading{margin-bottom:20px}.analysis-panel .panel-heading h3{font-size:1.25rem;margin-top:4px}.analysis-record{display:grid;grid-template-columns:48px minmax(0,1fr) 64px;gap:12px;align-items:center;padding:10px 12px;border:1px solid #3b4655;border-radius:11px;background:#1d242e;min-width:0}.analysis-record>img,.analysis-record>.analysis-hero-fallback{width:48px;height:48px;object-fit:cover;border-radius:8px}.analysis-record-main{min-width:0}.analysis-record-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}.analysis-record-top>strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analysis-record-top>span{font-size:11px;color:#aeb7c6;white-space:nowrap}.analysis-record-top small{font-size:inherit}.analysis-record-track{height:8px;margin:7px 0 5px;overflow:hidden;border-radius:999px;background:#3e4651}.analysis-record-track>span{display:block;height:100%;border-radius:999px;background:#57bc68}.analysis-record.negative .analysis-record-track>span{background:#f55f61}.analysis-record.unknown .analysis-record-track>span{background:#79818d}.analysis-record-result{display:block;color:#929eaf;font-size:11px;line-height:1.3}.analysis-record-rate{font-size:18px;text-align:right;color:#57bc68;font-variant-numeric:tabular-nums}.analysis-record.negative .analysis-record-rate{color:#ff6f72}.analysis-record.unknown .analysis-record-rate{color:#aab1bf}.analysis-list{gap:7px}@media(max-width:650px){.analysis-record{grid-template-columns:40px minmax(0,1fr) 50px;gap:8px;padding:9px}.analysis-record>img,.analysis-record>.analysis-hero-fallback{width:40px;height:40px}.analysis-record-top{align-items:flex-start;flex-direction:column;gap:0}.analysis-record-top>strong{font-size:13px;max-width:100%}.analysis-record-top>span,.analysis-record-result{font-size:10px}.analysis-record-rate{font-size:15px}}

/* Approved B concept: spacious esports layout and lime edge lighting. */
html[data-theme="dark"] body{
 background:
  linear-gradient(128deg,transparent 0 69%,#b9f52b08 69.05% 69.1%,transparent 69.15%),
  linear-gradient(132deg,transparent 0 86%,#b9f52b1a 86.05% 86.15%,transparent 86.2%),
  radial-gradient(ellipse at 80% 13%,#20472b38,transparent 38%),
  radial-gradient(ellipse at 50% -17%,#16334b42,transparent 48%),
  #090f18;
}
.header{height:112px;background:linear-gradient(118deg,#07121e 0%,#0e1926 56%,#132523 100%);border-bottom:1px solid #445740;box-shadow:inset 0 1px #ffffff13,0 14px 28px #0005}
.header{position:relative;isolation:isolate;overflow:hidden}
.header::after{content:"";position:absolute;z-index:-1;inset:0 0 0 auto;width:26%;background:linear-gradient(132deg,transparent 42%,#b9f52b48 42.2% 42.6%,transparent 43% 70%,#b9f52b9c 70.2% 71%,transparent 71.3%),linear-gradient(112deg,transparent 50%,#31552033 50.3% 70%,transparent 70.3%);pointer-events:none}
.header-inner{max-width:1528px;gap:72px;padding-inline:28px}
.brand{font-size:25px;letter-spacing:1.3px;white-space:nowrap}
.brand small{color:#e4eaf1;font-size:11px;letter-spacing:3.3px}
.brand-icon,.brand-icon:hover{width:68px;height:74px;padding:0;overflow:visible;border:0;border-radius:0;background:none;box-shadow:none}
.brand-icon img{width:74px;height:74px;max-height:none;object-fit:contain;mix-blend-mode:normal;filter:drop-shadow(0 0 7px #b9f52b33)}
.header nav{gap:34px;min-width:0}
.header nav button{font-size:15px;color:#e1e6ec!important;white-space:nowrap}
.header nav button.nav-active{color:#d6ff46!important}
.nav-active:after{height:4px;background:#c4ff30;box-shadow:0 -4px 16px #b9f52b80}
main{max-width:1528px;padding:62px 28px 40px}
.page-heading{position:relative;isolation:auto;min-height:165px;align-items:flex-start;overflow:visible}
.page-heading::before{content:"";position:absolute;z-index:-1;right:0;top:-52px;width:min(45%,620px);height:235px;background:linear-gradient(128deg,transparent 12%,#b9f52b35 12.1%,transparent 12.5% 32%,#b9f52b14 32.2%,transparent 44%),radial-gradient(circle at 68% 23%,#b9f52b24,transparent 48%);clip-path:polygon(12% 0,100% 0,100% 100%,0 100%)}
.page-heading::after{content:"";position:absolute;z-index:-1;right:0;top:0;width:min(44%,560px);height:220px;background-image:radial-gradient(#b9f52b7a .75px,transparent .85px);background-size:15px 15px;mask-image:linear-gradient(90deg,transparent,#000 65%);opacity:.34;pointer-events:none}
.page-heading .eyebrow{font-size:13px;letter-spacing:3.2px;color:#d0ff30!important}
.page-heading h1{font-size:clamp(29px,2.3vw,39px);line-height:1.35;margin-top:16px;font-weight:800}
.page-heading p{font-size:17px;color:#bec8d3;margin-top:13px}
.page-heading .heading-symbol{position:absolute;left:calc((min(1528px,100vw) - 100vw)/2 - 28px);top:-50px;display:block;width:100vw;height:min(13.4vw,224px);margin:0;opacity:1;transform:none;pointer-events:none;z-index:-1}
.page-heading .heading-symbol picture{display:block;width:100%;height:100%}
.page-heading .heading-logo{display:block;width:100%;height:100%;object-fit:contain;filter:none}
.page-heading:not(.page-heading-reference) .heading-symbol{display:none}
.page-heading-reference>div{display:none}
.search-panel{margin-top:13px;padding:15px 19px 5px;border:1px solid #b9f52b;background:linear-gradient(115deg,#192837d9,#101c2cdd 56%,#152536ce);box-shadow:inset 0 1px #ffffff25,0 14px 40px #0006}
.search-panel form{padding-left:10px;gap:17px}
.search-panel input{height:61px;font-size:17px}
.search-panel .primary{min-height:55px;min-width:175px;justify-content:center;font-size:17px}
.search-meta{font-size:13px;color:#bcc7d5}
.search-meta button{color:#cbd7e3}
.section-kicker{font-size:14px;color:#e8edf3;margin-top:34px;margin-bottom:16px}
.section-kicker .data-label{color:#e2e8ef;background:#182532;border:1px solid #384654}
.profile,.stat-card,.panel,.time-note,.brawler-card,.event-card,.mode-picker>button{background:linear-gradient(130deg,#1b2a38e8,#101a29ed 76%);border-color:#506372;box-shadow:inset 0 1px #ffffff1d,0 18px 34px #0004}
.profile{min-height:245px;padding:32px 38px;border-top-color:#b9f52b;border-left-color:#b9f52b}
.profile-person{gap:28px}
.player-avatar:has(.image-fallback),.player-avatar:has(.image-unavailable){background:linear-gradient(140deg,#536376,#a9b6c8);border-color:#a9bed3}
.player-avatar>.ranking-avatar.image-fallback{background:linear-gradient(140deg,#68798c,#bac8d8);color:#dce6f0}
.profile-metric>strong,.profile-prestige>strong{font-size:39px}
.stat-grid{gap:18px;margin-top:22px}
.stat-card{min-height:170px;padding:22px 24px}
.stat-card.featured{background:linear-gradient(130deg,#1b2a38e8,#101a29ed 76%);border-top-color:#b9f52b;border-left-color:#b9f52b}
.stat-title,.stat-title>span{color:#c7d1df}
.stat-value{font-size:38px}
.profile-tabs [data-slot=tabs-trigger][data-state=active]{background:none!important;color:#d5ff57!important}
.profile-tabs [data-slot=tabs-trigger]:after{background:#b9f52b}
@media(max-width:1050px){.header-inner{gap:32px}.header nav{gap:18px}.header nav button{font-size:13px}main{padding-inline:22px}}
@media(max-width:650px){
 .header{height:auto}.header-inner{padding:14px 17px 0;display:block}.brand{font-size:19px}.brand small{font-size:9px;letter-spacing:2.3px}
 .brand-icon{width:49px;height:53px}.brand-icon img{width:53px;height:53px}
 .header nav{gap:18px;margin-top:9px;overflow-x:auto;white-space:nowrap}.header nav button{height:48px;font-size:13px}
 main{padding:28px 17px}.page-heading{min-height:125px}.page-heading .eyebrow{font-size:10px;letter-spacing:1.7px}
 .page-heading h1{font-size:24px;margin-top:10px;max-width:calc(100% - 34px)}.page-heading p{font-size:13px;margin-top:8px}
 .page-heading-reference .heading-symbol{display:block;left:auto;right:-17px;top:4px;width:86vw;height:auto;aspect-ratio:772 / 224;opacity:.76;filter:brightness(1.2) saturate(1.08);mix-blend-mode:screen;mask-image:linear-gradient(90deg,transparent 0%,#000 13%,#000 82%,transparent 100%);z-index:0}.page-heading-reference>div{display:block;visibility:visible;z-index:1}.page-heading .heading-symbol picture{width:100%;height:100%}.page-heading .heading-logo{width:100%;height:100%;object-fit:contain}
 .search-panel{margin-top:6px;padding:7px 9px 2px}.search-panel form{gap:7px;padding-left:3px}.search-panel input{height:49px;font-size:13px}
 .search-panel .primary{min-width:99px;min-height:44px;padding:8px;font-size:13px}.search-meta{font-size:11px}
 .profile{min-height:0;padding:20px 17px}.profile-metric>strong,.profile-prestige>strong{font-size:26px}
 .stat-card{min-height:0;padding:16px}.stat-value{font-size:29px}
}
/* B款原圖已包含完整背景紋理，停用舊的漸層覆蓋，避免改變右側標誌輪廓。 */
.page-heading::before,.page-heading::after{display:none}

/* Normalize native iOS button chrome so tab and navigation controls keep the site layout. */
button{appearance:none;-webkit-appearance:none;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit}
.header nav button{appearance:none;-webkit-appearance:none;border:0;background:transparent;border-radius:0;padding:0 7px;flex:0 0 auto}
.profile-tabs [data-slot=tabs-list]{min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
.profile-tabs [data-slot=tabs-list]::-webkit-scrollbar{display:none}
.profile-tabs [data-slot=tabs-trigger]{appearance:none;-webkit-appearance:none;flex:0 0 auto;min-height:44px;white-space:nowrap;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding-inline:2px}

/* Explicitly defeat iOS/Safari and theme-library button fills on the two affected control rows. */
.header nav button,.header nav button.nav-active{appearance:none!important;-webkit-appearance:none!important;background:none!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding-inline:7px}
.header nav button:focus-visible,.profile-tabs [data-slot=tabs-trigger]:focus-visible{outline:0!important;box-shadow:inset 0 -3px #b9f52b!important}
.profile-tabs [data-slot=tabs-trigger],.profile-tabs [data-slot=tabs-trigger][data-state=active],.profile-tabs [data-slot=tabs-trigger][data-state=inactive]{appearance:none!important;-webkit-appearance:none!important;background:none!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
@media(max-width:650px){.header nav{gap:12px}.header nav button{padding-inline:3px;font-size:12px}}

/* Brand accent restored across the complete player and featured-stat card edges. */
.profile,.stat-card.featured{border-color:#b9f52b!important;box-shadow:inset 0 1px #ffffff24,0 0 0 1px #b9f52b24,0 0 18px #b9f52b18,0 18px 34px #0004!important}

/* Give profile tabs clear breathing room on narrow Safari layouts. */
.profile-tabs [data-slot=tabs-list]{gap:30px!important}
.profile-tabs [data-slot=tabs-trigger]{padding-inline:7px!important}
@media(max-width:650px){
  .profile-tabs [data-slot=tabs-list]{gap:26px!important}
  .profile-tabs [data-slot=tabs-trigger]{padding-inline:5px!important}
  .brawler-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
  .portrait-wrap{height:clamp(68px,18vw,104px)}
  .portrait-wrap img{width:100%;height:100%;object-fit:contain}
  .brawler-caption{min-height:38px;padding:6px 3px;gap:3px;font-size:11px}
  .brawler-caption>b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .brawler-caption>span{gap:3px;font-size:10px}
  .brawler-caption>span svg{width:11px;height:11px}
}
@media(max-width:370px){.profile-tabs [data-slot=tabs-list]{gap:17px!important}.profile-tabs [data-slot=tabs-trigger]{padding-inline:3px!important}.brawler-grid{gap:5px}.brawler-caption{font-size:10px}}

/* Opaque, anchored option surfaces keep every portaled choice readable. */
[data-slot="select-content"],[data-slot="dropdown-menu-content"],[data-slot="popover-content"]{background-color:var(--popover,#1c2534)!important;color:var(--popover-foreground,#f5f7fa)!important;border-color:#536170!important;opacity:1!important;z-index:1000!important;box-shadow:0 18px 48px #000c,inset 0 1px #ffffff12!important}
[data-slot="select-item"]{color:var(--popover-foreground,#f5f7fa)!important}
[data-slot="select-item"][data-highlighted],[data-slot="dropdown-menu-item"][data-highlighted]{background-color:#344252!important;color:#fff!important}
[data-slot="dialog-overlay"]{position:fixed!important;inset:0!important;display:block!important;background-color:#050911c9!important;z-index:999!important}
[data-slot="dialog-content"]{position:fixed!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;display:grid!important;gap:16px!important;width:calc(100% - 32px)!important;max-width:620px!important;max-height:min(90vh,900px)!important;overflow-y:auto!important;padding:24px!important;border:1px solid #536170!important;border-radius:16px!important;background-color:var(--card,#1a2232)!important;color:var(--card-foreground,#f5f7fa)!important;z-index:1000!important;box-shadow:0 24px 72px #000c!important}

/* Trophy totals use the game's warm-gold accent; hero names brighten on hover. */
.hero-trophy,.hero-trophy svg,.profile-metric:has(svg.lucide-trophy)>span,.profile-metric:has(svg.lucide-trophy)>span svg,.profile-metric:has(svg.lucide-trophy)>strong{color:#f2c14e!important}
.brawler-card:hover .brawler-caption>b{color:#fff!important}

/* Keep each section title on one line and scale it to the available viewport. */
.page-heading h1{white-space:nowrap;max-width:100%;font-size:clamp(20px,4.5vw,36px)!important;line-height:1.25}

/* Align the Chinese brand name and English wordmark as one centered text block. */
.brand>span:last-child{display:flex;flex-direction:column;justify-content:center;line-height:1.12}
.brand small{margin-top:3px;line-height:1.1}
[data-slot="select-content"]{width:var(--radix-select-trigger-width)!important;min-width:var(--radix-select-trigger-width)!important;max-width:calc(100vw - 24px)!important;max-height:min(var(--radix-select-content-available-height,65vh),65vh)!important;padding:6px!important;border-radius:12px!important;overflow-y:auto!important}

/* Final desktop alignment and B-style background integration refinements. */
.brand{align-items:center!important}
.brand>span:last-child{align-items:flex-start;justify-content:center;line-height:1.08}
.brand small{display:block;margin-top:4px;line-height:1.05}
.page-heading .heading-symbol{mix-blend-mode:screen;opacity:.68;mask-image:radial-gradient(ellipse at 78% 48%,#000 18%,#000b 48%,transparent 96%);-webkit-mask-image:radial-gradient(ellipse at 78% 48%,#000 18%,#000b 48%,transparent 96%)}
.page-heading .heading-logo{filter:saturate(.86) brightness(.88)}
.profile{align-items:center!important}
.profile-person-copy{display:flex;flex-direction:column;justify-content:center;min-width:0}
.profile-metrics{align-self:center!important;margin-top:0;padding-top:0;border-top:0}
.profile-empty .profile-person-copy>.muted{max-width:32rem;line-height:1.6}
@media(max-width:650px){.profile-empty .profile-person-copy>.muted{grid-column:1/-1;grid-row:2;margin:0}}
.stat-grid>.stat-card,.stat-grid>.ranked-stats{border:1px solid #b9f52b!important;box-shadow:inset 0 1px #ffffff24,0 0 0 1px #b9f52b20,0 0 16px #b9f52b16,0 18px 34px #0004!important}
.top-heroes .hero-trophy svg.lucide-trophy,.hero-trophy svg.lucide-trophy{color:#f2c14e!important;stroke:#f2c14e!important}
@media(max-width:950px){.profile-metrics{margin-top:16px!important;padding-top:10px;border-top:1px solid #454a56}}

/* Restore visible Radix progress fills: utility sizing was missing on the deployed stylesheet. */
.mode-row [data-slot="progress"]{display:block!important;width:100%!important;height:7px!important;min-height:7px!important;overflow:hidden!important;position:relative!important;border-radius:999px!important;background:#34404c!important;filter:none!important}
.mode-row [data-slot="progress-indicator"]{display:block!important;width:100%!important;height:100%!important;min-height:100%!important;border-radius:inherit!important;filter:none!important}

/* Center both wordmarks on one axis and give the original logo's lime accents a soft glow. */
.brand>span:last-child{align-items:center!important;text-align:center}
.brand-icon img{filter:saturate(2.2) brightness(1.08) drop-shadow(0 0 8px #b9f52b88)!important}

/* The supplied artwork is now an alpha PNG cutout; keep page copy crisp above it. */
.page-heading-reference{isolation:isolate}
.page-heading-reference>div{display:block!important;visibility:visible!important;position:relative;z-index:1}
.page-heading-reference .heading-symbol{left:auto!important;right:-28px!important;top:-36px!important;width:min(70vw,1050px)!important;height:min(17vw,260px)!important;z-index:0!important;opacity:1!important;mix-blend-mode:normal!important;mask-image:none!important;-webkit-mask-image:none!important}
.page-heading-reference .heading-logo{width:100%!important;height:100%!important;object-fit:contain!important;object-position:right center!important;filter:none!important}
@media(max-width:650px){.page-heading-reference .heading-symbol{right:-17px!important;top:0!important;width:64vw!important;height:100%!important;opacity:.92!important}.page-heading-reference .heading-logo{object-position:right center!important}.page-heading-reference>div{max-width:100%;padding-right:0}}

/* Enlarge the floating trophy artwork while keeping it translucent behind crisp copy. */
.page-heading-reference .heading-symbol{opacity:.78!important}
.page-heading-reference .heading-symbol{opacity:.55!important}
.page-heading-reference .heading-logo{transform:scale(2)!important;transform-origin:right center!important}
/* Raise the emblem's lime signal without changing the white cup silhouette. */
.brand-icon img{filter:saturate(3.4) brightness(1.25) drop-shadow(0 0 12px #c7ff23e0)!important}
/* Give the overview tab labels more separation; keep the row scrollable on phones. */
.profile-tabs [data-slot="tabs-list"]{display:flex!important;align-items:center!important;white-space:nowrap;gap:42px!important}
@media(max-width:650px){.profile-tabs [data-slot="tabs-list"]{gap:24px!important}}
@media(max-width:370px){.profile-tabs [data-slot="tabs-list"]{gap:15px!important}}

/* Keep menu option labels aligned to the right across the site's select surfaces. */
[data-slot="select-item"] [data-slot="select-item-text"],
[data-slot="select-item"]>span[data-radix-collection-item],
[data-slot="dropdown-menu-item"],
[data-slot="dropdown-menu-checkbox-item"],
[data-slot="dropdown-menu-radio-item"],
[role="option"],
[role="menuitemradio"],
[role="menuitemcheckbox"]{text-align:right!important}
[data-slot="select-item"] [data-slot="select-item-indicator"]{right:auto!important;left:8px!important}
[data-slot="select-item"]{padding-left:32px!important;padding-right:10px!important;justify-content:flex-end!important}
[data-slot="select-content"]{width:max-content!important;min-width:max(var(--radix-select-trigger-width),max-content)!important}
[data-slot="select-item"],[data-slot="dropdown-menu-item"],[data-slot="dropdown-menu-checkbox-item"],[data-slot="dropdown-menu-radio-item"],[role="option"],[role="menuitemradio"],[role="menuitemcheckbox"]{font-size:13px!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:keep-all!important}
@media(max-width:480px){[data-slot="dialog-content"]{width:calc(100% - 24px)!important;padding:20px!important;max-height:88dvh!important}}
.dialog-close-button{position:sticky!important;top:0!important;z-index:5!important;justify-self:end!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:auto!important;height:36px!important;min-width:76px!important;margin:0 0 -36px auto!important;padding:0 10px!important;border:1px solid #667487!important;border-radius:999px!important;background:#111a28f2!important;color:#f5f7fa!important;font:600 13px/1 Inter,-apple-system,BlinkMacSystemFont,"PingFang TC",sans-serif!important;cursor:pointer!important;white-space:nowrap!important}
.dialog-close-button svg{display:block!important;width:17px!important;height:17px!important;flex:none!important}
.dialog-close-button:hover{background:#29384b!important;color:#fff!important}
.catalog-filter-controls{gap:12px!important}
.catalog-filter-controls [data-slot="select-trigger"]{display:inline-flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;width:max-content!important;min-width:0!important;min-height:40px!important;padding:7px 10px!important;font-size:13px!important;line-height:1.2!important;white-space:nowrap!important}
.catalog-filter-controls [data-slot="select-value"]{display:inline-block!important;white-space:nowrap!important;line-height:1.2!important}
@media(max-width:700px){.catalog-filter-controls{gap:10px!important}.catalog-filter-controls [data-slot="select-trigger"]{flex:1 1 0!important;width:auto!important;padding-inline:8px!important;font-size:12px!important;gap:4px!important}}

/* Mode icons and clearer daily rotation labels. */
.game-mode-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:26px;height:26px;color:#c5f435}
.game-mode-icon img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 1px 2px #0008)}
.mode-number .game-mode-icon{width:34px;height:34px}
.mode-number{width:58px;height:58px}
.mode-heading{display:flex;align-items:center;gap:9px}
.mode-heading .game-mode-icon{width:32px;height:32px}
.daily-mode-label{display:flex;align-items:center;gap:6px}
.daily-mode-label .game-mode-icon{width:22px;height:22px}
.daily-event-type{display:inline-block;width:fit-content;padding:2px 7px;border:1px solid #e0c164;border-radius:6px;color:#ffdf78;font-size:11px;font-style:normal;font-weight:700}
.draft-toolbar-controls>label:first-child{order:-1;margin-right:8px;white-space:nowrap}
@media(max-width:640px){.draft-toolbar-controls>label:first-child{flex:1 1 100%;margin-right:0}}

/* QR reward collection */
.reward-qr-hero{align-items:center;grid-template-columns:minmax(0,1fr) auto}.reward-qr-hero .reward-qr-symbol{min-width:128px;height:128px;margin:0;border:1px solid #708342;background:#bdf2361a;color:#c7fa42}
.reward-qr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,420px));gap:18px}.reward-qr-card{overflow:hidden;display:grid;border:1px solid #536372;border-radius:20px;background:#1b2532}.reward-qr-image{display:grid;place-items:center;padding:25px;background:#f7f9fa}.reward-qr-image img{display:block;width:min(100%,270px);height:auto;aspect-ratio:1;object-fit:contain}.reward-qr-content{display:grid;justify-items:start;gap:12px;padding:22px}.reward-qr-content .reward-reference-status{display:inline-flex;align-items:center;gap:6px}.reward-qr-content h4{font-size:1.25rem}.reward-qr-content p{color:#c4cfdb;font-size:14px;line-height:1.6}.reward-qr-content a,.reward-official-news{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #b9e838;border-radius:10px;padding:10px 15px;color:#d3ff51;font-size:14px;font-weight:750}.reward-qr-content a:hover,.reward-official-news:hover{background:#bdf2361a;color:#e3ff96}.reward-qr-note{margin-top:16px;color:#aebbd0;font-size:13px}.reward-official-news{margin-top:22px;border-color:#4a5968;color:#c6d2df}.map-retry{display:block;margin:14px auto 0;padding:8px 16px;border:1px solid #b9e838;border-radius:8px;color:#d3ff51}
@media(max-width:700px){.reward-qr-hero{grid-template-columns:1fr}.reward-qr-hero .reward-qr-symbol{display:none}.reward-qr-grid{grid-template-columns:1fr}.reward-qr-image img{width:min(100%,250px)}}
.reward-qr-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.reward-qr-card{grid-template-rows:auto 1fr}
.reward-qr-image{padding:18px}
.reward-qr-image img{width:min(100%,280px)}
.reward-qr-content{align-content:space-between;gap:15px;padding:18px}
.reward-qr-content h4{font-size:1.05rem}
.reward-qr-content a{width:100%}
@media(max-width:700px){.reward-qr-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.reward-qr-image{padding:10px}.reward-qr-content{padding:12px}.reward-qr-content h4{font-size:.9rem}.reward-qr-content a{font-size:.75rem;padding:8px 4px}}
@media(min-width:701px) and (max-width:1000px){.reward-qr-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.reward-qr-kind{display:inline-block;padding:3px 9px;border:1px solid #65788b;border-radius:999px;color:#bed1e2;font-size:12px;font-weight:700}

/* Reserved advertisement positions follow the same content order on all screen sizes. */
.ad-slot{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 8px;width:100%;min-height:96px;margin:0 0 30px;padding:18px;border:1px dashed #536775;border-radius:16px;background:linear-gradient(110deg,#142130b8,#1722258f);color:#a9b8c6;text-align:center}
.ad-slot-label{font-size:13px;font-weight:750;letter-spacing:.06em;color:#d9e4ea}
.ad-slot-description{font-size:12px}
.ad-slot[data-ad-placement="player-primary"]{margin:26px 0 30px}
.ad-slot[data-ad-placement="player-secondary"]{margin:42px 0 0}
@media(max-width:650px){.ad-slot{min-height:100px;margin-bottom:24px;padding:16px;border-radius:12px}.ad-slot[data-ad-placement="player-primary"]{margin:22px 0 26px}.ad-slot[data-ad-placement="player-secondary"]{margin:32px 0 0}}

/* Ranked season map picker and compact grouped navigation. */
.draft-ranked-label{flex-basis:100%;color:#b9f52b;font-size:12px;font-weight:800;letter-spacing:.08em}
.nav-more{position:relative;display:flex;align-items:center;height:100%;font-size:14px;color:#e1e6ec}
.nav-more>summary{display:flex;align-items:center;gap:5px;height:100%;list-style:none;cursor:pointer;white-space:nowrap}
.nav-more>summary::-webkit-details-marker{display:none}
.nav-more.nav-active>summary{color:#d6ff46}
.nav-more-menu{position:absolute;z-index:30;right:0;top:calc(100% - 5px);min-width:150px;padding:7px;background:#17212d;border:1px solid #465361;border-radius:10px;box-shadow:0 12px 32px #0008}
.nav-more-menu button{display:flex!important;align-items:center;gap:9px;width:100%;height:40px!important;padding:0 10px!important;border-radius:6px!important;color:#e1e6ec!important;text-align:left}
.nav-more-menu button:hover{background:#263544!important;color:#d6ff46!important}
.nav-more-menu .nav-active{color:#b9f52b!important}
.header-inner{gap:34px}
.header nav{gap:22px}
@media(max-width:1050px){.header-inner{gap:24px}.header nav{gap:15px}}
@media(max-width:650px){.header-inner{gap:0}.header nav{gap:10px}.header nav button{font-size:12px}.nav-more{height:48px;font-size:12px;flex:none}.nav-more-menu{position:fixed;top:120px;right:16px}}

/* Ranked map thumbnails use a custom disclosure because native select options cannot contain images. */
.draft-map-picker{position:relative;display:flex;flex-direction:column;gap:7px;min-width:210px;font-size:13px;font-weight:700}
.draft-setup>label,.draft-map-picker{width:270px;min-width:270px;flex:0 0 270px}
.draft-setup>label select{width:100%;min-width:0;box-sizing:border-box}
.draft-brawler{border:2px solid var(--draft-rarity,#9aa3b2)!important}
.draft-brawler.ultra-legendary{border-color:transparent!important;background:linear-gradient(#242a35,#242a35) padding-box,linear-gradient(110deg,#ff304f,#ffb800,#34e06f,#00b8ff,#8b5cff,#ff304f) border-box!important;background-size:100% 100%,300% 100%!important;animation:ultra-legendary-rgb 3s linear infinite;box-shadow:0 0 8px #8b5cff80}
@keyframes ultra-legendary-rgb{to{background-position:0 0,100% 50%}}
.draft-setup>label select,.draft-setup>.draft-map-picker summary{height:60px;min-height:60px}
.draft-setup>label select,.draft-map-picker details,.draft-map-picker summary{width:100%;box-sizing:border-box}
.draft-map-picker>span{color:#c6cfdb}
.draft-map-picker details{position:relative}
.draft-map-picker summary{display:flex;align-items:center;gap:9px;min-height:44px;padding:6px 13px;border:1px solid #4c5868;border-radius:9px;background:#202735;color:#f4f7fa;cursor:pointer;list-style:none;white-space:nowrap}
.draft-map-picker summary::-webkit-details-marker{display:none}
.draft-map-picker summary:after{content:'⌄';margin-left:auto;color:#c8d3df;font-size:18px}
.draft-map-picker summary img{width:34px;height:34px;border-radius:5px;object-fit:cover}
.draft-map-options{position:absolute;z-index:20;left:0;top:calc(100% + 5px);min-width:100%;max-height:310px;overflow-y:auto;padding:6px;background:#1b2634;border:1px solid #596879;border-radius:10px;box-shadow:0 14px 28px #0009}
.draft-map-options button{display:flex;align-items:center;gap:10px;width:100%;padding:6px 9px;border-radius:6px;white-space:nowrap;text-align:left}
.draft-map-options button:hover{background:#354557}
.draft-map-options img{width:52px;height:52px;object-fit:cover;border-radius:6px}
@media(max-width:650px){.draft-map-picker{width:100%}.draft-map-options{width:100%}}


/* Clear RGB motion for Ultra Legendary cards, including Safari. */
.draft-brawler.ultra-legendary{outline:2px solid #ff365e;outline-offset:-2px;animation:ultra-legendary-rgb 2.4s linear infinite}
@keyframes ultra-legendary-rgb{
  0%,100%{background-position:0 0,0% 50%;outline-color:#ff365e;box-shadow:0 0 12px #ff365eaa}
  33%{background-position:0 0,50% 50%;outline-color:#39f174;box-shadow:0 0 12px #39f174aa}
  66%{background-position:0 0,100% 50%;outline-color:#4d8bff;box-shadow:0 0 12px #4d8bffaa}
}
@media(prefers-reduced-motion:reduce){.draft-brawler.ultra-legendary{animation:none;outline-color:#d6ff45;box-shadow:0 0 8px #d6ff4580}}
.player-avatar.demo-avatar{background:radial-gradient(circle at 50% 30%,#344929,#101b1c 68%);border-color:#c9ff39;box-shadow:0 0 18px #9fe92344,inset 0 0 20px #b7ff2322}
.player-avatar.demo-avatar>img{width:76%;height:76%;object-fit:contain;border-radius:0;filter:drop-shadow(0 3px 10px #c6ff4780)}
.filter-bar .my-heroes-sort{width:180px;min-width:0;max-width:180px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;line-height:1.2;padding:0 10px}
.my-heroes-sort [data-slot="select-value"]{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.my-heroes-sort svg{margin-left:auto;flex:none}
@media(max-width:650px){.filter-bar .my-heroes-sort{width:160px;max-width:160px;font-size:12px}}


/* Keep the demo avatar quiet and neutral. */
.player-avatar.demo-avatar{background:radial-gradient(circle at 50% 30%,#444a50,#20242a 70%);border-color:#858b92;box-shadow:0 0 8px #9aa0a522,inset 0 0 14px #ffffff08}
.player-avatar.demo-avatar>img{filter:grayscale(1) brightness(.78) drop-shadow(0 2px 5px #0008)}

.ranked-season{display:grid;gap:28px}.ranked-season-intro,.ranked-trials,.ranked-distribution{border:1px solid #455365;border-radius:20px;background:#172433;padding:28px}.ranked-season h2{font-size:30px}.ranked-season h3{font-size:23px}.ranked-season p{color:#b5c2d0;margin:8px 0 14px}.ranked-season a{color:#c5fa4a;text-decoration:underline}.ranked-trials>div{display:flex;gap:12px;flex-wrap:wrap}.ranked-trials>div>span{display:flex;align-items:center;gap:9px;padding:8px 16px;background:#243446;border:1px solid #455365;border-radius:12px;font-weight:700}.ranked-trials img{width:42px;height:42px;object-fit:cover}.ranked-map-controls{display:flex;align-items:end;gap:20px}.ranked-map-controls label{display:grid;gap:7px;min-width:250px}.ranked-map-controls select{height:48px;padding:0 12px;color:#f6f9fc;background:#202b3a;border:1px solid #556579;border-radius:9px}.ranked-map-controls>span{color:#c6d2dd;padding-bottom:11px}.ranked-map-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.ranked-map-grid button{display:flex;align-items:center;gap:12px;text-align:left;color:#f5f8fc;background:#1b2938;border:1px solid #536275;border-radius:14px;padding:10px;min-width:0}.ranked-map-grid button.active{border-color:#c4f33e;box-shadow:0 0 0 2px #c4f33e66}.ranked-map-grid img{width:74px;height:74px;object-fit:cover;border-radius:9px}.ranked-map-grid strong{overflow-wrap:anywhere}.ranked-map-preview{display:flex;gap:20px;align-items:center;background:#1b2938;border-radius:16px;padding:18px}.ranked-map-preview img{width:180px;height:180px;object-fit:contain}.ranked-distribution-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;margin:20px 0}.ranked-distribution-row{display:grid;grid-template-columns:85px 1fr 80px;gap:10px;align-items:center;font-size:14px}.ranked-distribution-row strong{text-align:right}.ranked-distribution-track{height:11px;border-radius:10px;background:#334355;overflow:hidden}.ranked-distribution-track i{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#9ccb29,#d2ff53)}@media(max-width:900px){.ranked-map-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ranked-distribution-grid{grid-template-columns:1fr}}@media(max-width:550px){.ranked-map-grid{grid-template-columns:1fr}.ranked-map-preview img{width:110px;height:110px}.ranked-season-intro,.ranked-trials,.ranked-distribution{padding:18px}}
.ranked-distribution-label{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.ranked-distribution-label img{width:22px;height:22px;object-fit:contain;flex:none}

/* Tools and navigation */
.header nav [data-section="player"]>svg{color:#b9f52b!important}
.header nav [data-section="brawlers"]>svg{color:#bda8ff!important}
.header nav [data-section="events"]>svg{color:#68d5eb!important}
.header nav [data-section="ranked"]>svg,.nav-more-menu [data-section="ranking"]>svg,.nav-more-menu [data-section="trophy-change"]>svg{color:#f4c451!important}
.nav-more-menu [data-section="team"]>svg{color:#79dcb7!important}
.nav-more-menu [data-section="draft"]>svg{color:#f39b87!important}
.nav-more-menu [data-section="rewards"]>svg{color:#d2a9ff!important}
.nav-more-menu [data-section="power-cost"]>svg{color:#80d6ff!important}
.nav-more-menu{min-width:210px;max-height:min(440px,calc(100dvh - 150px));overflow-y:auto}
.ranking-controls [data-slot="select-trigger"]{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;min-height:44px;height:auto!important;line-height:1.2!important;padding:10px 14px!important}
.ranking-controls [data-slot="select-trigger"]>svg{margin-left:0;flex:none;align-self:center;opacity:.9}
.ranking-controls [data-slot="select-value"]{display:inline-flex;align-items:center;line-height:1.2}
.tool-panel{margin-top:30px;padding:30px 34px}
.tool-heading{display:flex;align-items:center;gap:18px;margin-bottom:24px}
.tool-heading>svg{width:50px;height:50px;padding:11px;border-radius:13px;background:#344423;color:#c5f856;flex:none}
.tool-heading h2{font-size:27px;line-height:1.25;margin:4px 0 6px}
.tool-heading p,.tool-note{color:#a9b4c4;font-size:14px}
.tool-controls{display:flex;flex-wrap:wrap;align-items:end;gap:14px;margin:18px 0}
.tool-controls label{display:grid;gap:8px;color:#c7d0dc;font-weight:650;font-size:14px;min-width:180px}
.tool-controls input[type="number"],.tool-controls select{width:100%;height:46px;padding:0 14px;background:#202c3a;border:1px solid #526271;border-radius:9px;color:#f6f9ff;font:inherit;appearance:auto}
.tool-controls .tool-check{display:flex;align-items:center;gap:9px;min-width:0;min-height:46px}
.tool-check input{accent-color:#b9f52b;width:18px;height:18px}
.tool-extras label{min-width:135px;flex:1}
.trophy-result{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:25px 0}
.trophy-result>div{display:grid;gap:6px;background:#1d2b39;border:1px solid #405466;border-radius:12px;padding:18px 20px}
.trophy-result span{display:flex;align-items:center;gap:7px;color:#b9c5d2;font-size:13px}
.trophy-result strong{display:flex;align-items:center;font-size:29px;line-height:1.2;font-variant-numeric:tabular-nums}
.trophy-result strong svg{width:20px;height:20px}
.trophy-result .gain{color:#80e4ae}.trophy-result .loss{color:#ff9aa8}
.tool-table-wrap{overflow-x:auto;border:1px solid #405466;border-radius:11px}
.tool-table{border-collapse:collapse;width:100%;min-width:400px;text-align:left;font-variant-numeric:tabular-nums}
.tool-table th,.tool-table td{padding:11px 17px;border-bottom:1px solid #314354}
.tool-table th{color:#c4d2de;background:#213040;font-size:13px}
.tool-table tr:last-child td{border-bottom:0}
.tool-table tr.current{background:#33472b;color:#e5ffc8;font-weight:750}
.tool-note{margin-top:18px;line-height:1.7}.tool-note a{color:#c6fb69;text-decoration:underline}
.tool-unavailable{padding:24px;margin:20px 0;background:#2a3541;border:1px solid #526271;border-radius:10px;color:#e1e8ed}
@media(max-width:650px){.tool-panel{padding:22px 17px}.tool-heading h2{font-size:22px}.tool-controls label{flex:1;min-width:120px}.tool-extras label{min-width:125px}.trophy-result{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.trophy-result>div{padding:13px}.trophy-result strong{font-size:23px}.nav-more-menu{max-height:calc(100dvh - 140px)}}
.ranking-stale{display:flex;align-items:center;gap:8px;margin:15px 0;padding:11px 14px;border:1px solid #866b31;border-radius:9px;background:#3a3224;color:#f7d68c;font-size:13px;line-height:1.5}
.ranking-stale svg{flex:none}
.tool-controls label:has(>select){min-width:0;width:max-content}
.tool-controls label>select{width:max-content;min-width:180px;max-width:min(100%,300px);padding-right:10px}
.draft-setup>label select{width:max-content;min-width:180px;max-width:100%;padding-right:10px}

.ranking-controls [data-slot="select-trigger"]>svg{margin-left:8px!important}
.tool-controls label>select{min-width:200px!important}
.draft-setup>label select{min-width:205px!important}

/* Ranking region options and matching draft controls. */
.ranking-region-menu [data-slot="select-item"]{justify-content:flex-start!important;text-align:left!important;padding-left:12px!important;padding-right:34px!important}
.ranking-region-menu [data-slot="select-item"] span:not([data-slot="select-item-indicator"]){text-align:left!important}
.ranking-region-menu [data-slot="select-item-indicator"]{left:auto!important;right:9px!important}
.tool-controls label>select,.draft-setup>label select{appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c8d3df' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 16px center!important;background-size:16px!important;padding-right:38px!important}
.draft-setup>label,.draft-setup>.draft-map-picker{box-sizing:border-box;width:250px!important;min-width:250px!important;flex:0 0 250px!important}
.draft-setup>label,.draft-setup>.draft-map-picker{gap:7px!important;color:#c6cfdb!important;font-size:14px!important;font-weight:700!important;line-height:20px!important}
.draft-setup>.draft-map-picker>span{color:inherit!important;font:inherit!important;line-height:20px!important}
.draft-setup>label select,.draft-setup>.draft-map-picker summary{box-sizing:border-box;width:100%!important;height:60px!important;min-height:60px!important;font-size:14px!important;font-weight:700!important;line-height:20px!important}
.draft-setup>.draft-map-picker summary:after{margin-right:3px!important}
@media(max-width:650px){.draft-setup>label,.draft-setup>.draft-map-picker{width:100%!important;min-width:0!important;flex:1 1 100%!important}}

.ranking-region-menu [data-slot="select-item"]{position:relative!important}
.ranking-region-menu [data-slot="select-item-indicator"]{position:absolute!important;display:flex!important;left:auto!important;right:9px!important;top:50%!important;transform:translateY(-50%)!important}

/* Keep draft selectors close and place native arrows farther inside the control. */
.draft-setup{column-gap:7px!important}
.tool-controls label>select,.draft-setup>label select{background-position:right 24px center!important}

/* Simplify select menus and align dropdown indicators consistently. */
[data-slot="select-item-indicator"]{display:none!important}
[data-slot="select-item"]{justify-content:flex-start!important;padding-left:12px!important;padding-right:10px!important;text-align:left!important}
[data-slot="select-item"] [data-slot="select-item-text"],[data-slot="select-item"]>span:not([data-slot="select-item-indicator"]),[role="option"]{text-align:left!important}
.tool-controls label>select,.draft-setup>label select,.draft-toolbar-controls select{background-position:right 16px center!important}
.draft-setup>.draft-map-picker summary:after{content:""!important;width:8px;height:8px;border-right:2px solid #c8d3df;border-bottom:2px solid #c8d3df;transform:rotate(45deg) translateY(-2px);margin-left:auto;margin-right:6px!important;font-size:0!important}
.filter-bar .filter-input:has(input[aria-label="搜尋我的英雄"]){background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;padding:0!important}
.filter-bar .filter-input:has(input[aria-label="搜尋我的英雄"]) input{height:42px;border:0!important;border-bottom:1px solid #657385!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0 2px!important;font-size:15px}
.filter-bar .filter-input:has(input[aria-label="搜尋我的英雄"]) input:focus{border-bottom-color:#c6f94c!important}
.ranking-region-menu [data-slot="select-item-indicator"]{display:none!important}
.draft-setup>.draft-map-picker summary:after{content:""!important;width:16px!important;height:16px!important;flex:none!important;border:0!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c8d3df' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:center!important;transform:none!important;margin-left:auto!important;margin-right:3px!important;font-size:0!important}
.catalog .filter-input:has(input[aria-label="搜尋圖鑑英雄"]){display:flex!important;align-items:center!important;gap:10px!important;border:0!important;border-bottom:1px solid #657385!important;padding:0!important}
.catalog .filter-input:has(input[aria-label="搜尋圖鑑英雄"]):focus-within{border-bottom-color:#c6f94c!important}
.catalog .filter-input:has(input[aria-label="搜尋圖鑑英雄"]) input{flex:1!important;width:0!important;min-width:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0 2px!important}
.catalog .filter-input:has(input[aria-label="搜尋圖鑑英雄"]) .catalog-search-icon{flex:none!important;color:#a8b4c3!important;margin-left:2px!important}

/* Keep catalog search identical to the profile's My Heroes field. */
.catalog .filter-input:has(input[aria-label="搜尋圖鑑英雄"]){background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;padding:0!important}
.catalog .filter-input:has(input[aria-label="搜尋圖鑑英雄"]) input{height:42px!important;border:0!important;border-bottom:1px solid #657385!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0 2px!important;font-size:15px!important}
.catalog .filter-input:has(input[aria-label="搜尋圖鑑英雄"]) input:focus{border-bottom-color:#c6f94c!important}
.catalog .filter-input:has(input[aria-label="搜尋圖鑑英雄"]):focus-within{border-bottom:0!important}
.daily-rotation .daily-switch button.active{background:#c6f94c!important;color:#111923!important;font-weight:750!important}
.header nav button,.header nav .nav-more>summary{transform:translateY(1px)}
.header nav .nav-active:after{bottom:18px!important}
.daily-rotation .daily-switch button,.daily-rotation .daily-switch button.active{color:#fff!important}
.daily-rotation .daily-switch button.active{background:#3b5d1d!important}
.header nav .nav-active:after{display:none!important}
.header nav button,.header nav .nav-more>summary{transform:translateY(2px)}
.daily-rotation .daily-switch button.active{background:#c6f94c!important;color:#fff!important}
.daily-rotation .daily-switch button{color:#fff!important}
.daily-rotation .daily-switch button.active{color:#111923!important}
.header nav>button,.header nav>.nav-more>summary{font-size:15px!important;transform:translateY(4px)}

/* News, ranked icon and brawler skin catalog */
.header nav .ranked-nav-icon{display:block;width:21px;height:21px;object-fit:contain;flex:none}
.nav-more-menu [data-section="news"]>svg{color:#86dafa!important}
.hero-skins{margin-top:24px;border-top:1px solid #455365;padding-top:20px}
.hero-skins-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.hero-skins-heading h3{margin:0;font-size:18px;color:#f6f9ff}.hero-skins-heading span,.hero-skins>p,.hero-skins-source{color:#aebdcb}
.hero-skins>p{font-size:13px;margin:6px 0 14px}
.hero-skins-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(122px,1fr));gap:10px;max-height:440px;overflow-y:auto;padding-right:4px}
.hero-skin-card{display:flex;flex-direction:column;gap:4px;min-width:0;padding:8px;border:1px solid #465365;border-radius:12px;background:#1b2836}
.hero-skin-art{display:flex;align-items:center;justify-content:center;height:126px;overflow:hidden;border-radius:7px;background:radial-gradient(circle at 50% 30%,#35465b,#17222e 75%)}
.hero-skin-art img{width:100%;height:100%;object-fit:contain}.skin-image-missing{font-size:12px;color:#aebdcb}
.hero-skin-card strong{font-size:13px;line-height:1.35;overflow-wrap:anywhere}.hero-skin-card small{font-size:11px;color:#9daebb}.hero-skins-source{display:block;margin-top:9px;font-size:11px}
.brawl-news .panel-heading h2{display:flex;align-items:center;gap:9px}.brawl-news .panel-heading p{margin-top:6px;color:#aebdcb}.brawl-news .panel-heading>a{display:flex;align-items:center;gap:5px;color:#d6ff46;font-size:14px}
.brawl-news-list{display:grid;gap:11px;margin-top:20px}.brawl-news-list>a{display:grid;grid-template-columns:1fr auto;gap:8px;padding:18px 20px;border:1px solid #425569;border-radius:12px;background:#1b2b3a;color:#f5f8fc;text-decoration:none}.brawl-news-list>a:hover{border-color:#b5ec45;background:#263a4c}.brawl-news-list>a span{grid-column:1 / -1;color:#9db0c2;font-size:13px}.brawl-news-list>a strong{font-size:18px}.brawl-news .small-note{margin-top:18px}

/* Keep the More menu above page content and outside the header's former clipping area. */
.header{overflow:visible;z-index:50}
.nav-more-menu{z-index:60}
.ranked-map-recommendations .map-team-heading{justify-content:flex-start;flex-direction:row;align-items:center;gap:12px}
.ranked-map-recommendations .map-team-heading>span{white-space:nowrap}
.ranked-map-controls select{font-size:18px;font-weight:600;line-height:1.35;appearance:none;-webkit-appearance:none;padding-right:48px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c8d3df' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 17px center}
@media(max-width:550px){.ranked-map-recommendations .map-team-heading{flex-wrap:wrap}.ranked-map-recommendations .map-team-heading>span{white-space:normal}}

/* News cards open a readable in-site digest; keep their source links in the article view. */
.nav-more-menu{top:calc(100% - 32px)}
.brawl-news-list>button{display:grid;grid-template-columns:1fr auto;gap:8px;width:100%;padding:18px 20px;border:1px solid #425569;border-radius:12px;background:#1b2b3a;color:#f5f8fc;text-align:left}
.brawl-news-list>button:hover,.brawl-news-list>button:focus-visible{border-color:#b5ec45;background:#263a4c}
.brawl-news-list>button span{grid-column:1 / -1;color:#9db0c2;font-size:13px}.brawl-news-list>button strong{font-size:18px}
.brawl-news-article{max-width:850px}.brawl-news-back,.brawl-news-original{display:inline-flex;align-items:center;gap:8px;color:#d6ff46;font-weight:700}
.brawl-news-back{margin-bottom:24px}.brawl-news-meta{color:#a9bad0;font-size:13px}.brawl-news-article h2{font-size:clamp(25px,3vw,36px);line-height:1.3;margin:8px 0 16px}
.brawl-news-lead{color:#e3ebf1;font-size:18px;line-height:1.7}.brawl-news-body{display:grid;gap:22px;margin:30px 0}
.brawl-news-body section{padding:18px 21px;border-left:3px solid #b9f52b;background:#1b2b3a;border-radius:0 12px 12px 0}
.brawl-news-body h3{font-size:19px;margin-bottom:8px}.brawl-news-body p{color:#c5d2df;line-height:1.8}
.brawl-news-disclaimer{color:#9eacb9;font-size:13px;margin-bottom:18px}
@media(max-width:650px){.nav-more-menu{top:110px}}

/* Dedicated brawler and skin catalog */
.nav-more-menu [data-section="brawl-catalog"]>svg{color:#b9f52b!important}
.brawl-catalog{margin-top:30px}
.brawl-catalog-browse-tabs{display:inline-flex;gap:5px;margin-top:20px;padding:4px;border:1px solid #45596a;border-radius:11px;background:#152331}
.brawl-catalog-browse-tabs button{min-width:98px;padding:9px 17px;border-radius:8px;color:#c3d0dc;font-weight:700}
.brawl-catalog-browse-tabs button.active{background:#c4f741;color:#14202c}
.brawl-catalog-browse-tabs button:focus-visible{outline:2px solid #c4f741;outline-offset:2px}
.brawl-catalog-intro{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:28px 32px;border:1px solid #46576a;border-radius:22px;background:linear-gradient(125deg,#203346,#152231 70%)}
.brawl-catalog-intro h2{font-size:32px;line-height:1.25;margin:7px 0 8px}.brawl-catalog-intro p{color:#b9c7d5;max-width:690px}
.brawl-catalog-count{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:1px 8px;flex:none}.brawl-catalog-count strong{font-size:26px;color:#c4f741}.brawl-catalog-count span{font-size:13px;color:#aebdcb}
.brawl-catalog-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:20px;margin-top:14px;align-items:start}
.brawl-catalog-heroes,.brawl-catalog-content{border:1px solid #405365;border-radius:18px;background:#152331;min-width:0}
.brawl-catalog-heroes{padding:14px;position:sticky;top:16px}.brawl-catalog-search{display:flex;align-items:center;gap:9px;color:#a9b9c8;padding:10px 12px;border:1px solid #506276;border-radius:10px;background:#1b2a3a}.brawl-catalog-search input{width:100%;border:0;background:transparent;color:#fff;font-size:14px}.brawl-catalog-search input::placeholder{color:#9babb9}
.brawl-catalog-hero-list{max-height:650px;overflow-y:auto;margin-top:10px;display:grid;gap:4px}.brawl-catalog-hero-list button{display:flex;align-items:center;gap:11px;width:100%;padding:8px;border:1px solid transparent;border-radius:10px;background:transparent;color:#e8eef5;text-align:left}.brawl-catalog-hero-list button:hover,.brawl-catalog-hero-list button.selected{background:#263b4a;border-color:#709841}.brawl-catalog-hero-list button.selected{color:#d6ff57}.brawl-catalog-hero-list img{width:42px;height:42px;object-fit:contain;border-radius:7px;background:#2d3c4d}.brawl-catalog-hero-list span{flex:1;min-width:0;font-weight:700}.brawl-catalog-hero-list small{display:block;color:#9db0c0;font-size:11px;font-weight:400}.brawl-catalog-no-result{padding:14px;color:#aebdcb}
.brawl-catalog-content{padding:22px}.brawl-catalog-content-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:19px}.brawl-catalog-content-head h3{font-size:27px;margin-top:4px}.brawl-catalog-content-head h3 span{display:inline-block;vertical-align:middle;margin-left:11px;padding:2px 8px;border-radius:6px;background:#2a3c48;color:#b7c9d6;font-size:12px}.brawl-catalog-content-head label{display:grid;gap:5px;color:#adc0ce;font-size:12px}.brawl-catalog-content-head select{min-width:150px;height:43px;padding:0 37px 0 12px;border:1px solid #55687b;border-radius:9px;color:#f3f7fc;background:#203244}
.brawl-catalog-skins{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.brawl-catalog-skin{overflow:hidden;border:1px solid #435669;border-radius:13px;background:#1c2d3e}.brawl-catalog-art{height:220px;position:relative;overflow:hidden;background:radial-gradient(circle at center,#34495f,#152332 74%)}.brawl-catalog-art>img{display:block;position:absolute;inset:0;box-sizing:border-box;width:100%;height:100%;min-width:0;min-height:0;padding:10px;object-fit:contain;object-position:center center}.brawl-catalog-skin>div:last-child{display:grid;gap:3px;padding:11px}.brawl-catalog-skin strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}.brawl-catalog-skin span{font-size:12px;color:#a9bccb}.brawl-catalog-art-fallback{height:100%;width:100%;display:grid;place-items:center;position:relative}.brawl-catalog-art-fallback img{width:85px;height:85px;object-fit:contain;opacity:.6}.brawl-catalog-art-fallback span{position:absolute;bottom:8px;color:#d6e2ec;font-size:11px;background:#132231d9;padding:2px 7px;border-radius:4px}
.brawl-catalog-more{display:block;margin:22px auto 0;padding:10px 18px;border:1px solid #a8d643;border-radius:9px;color:#c8f34a;background:#22333a}.brawl-catalog-more:hover{background:#304739}.brawl-catalog-empty{padding:40px 10px;text-align:center;color:#aebdcb}.brawl-catalog-source{font-size:12px;color:#96a9b8;line-height:1.7;margin:16px 4px}
@media(max-width:760px){.brawl-catalog-layout{grid-template-columns:1fr}.brawl-catalog-heroes{position:static}.brawl-catalog-hero-list{display:flex;overflow-x:auto;max-height:none}.brawl-catalog-hero-list button{width:145px;min-width:145px}.brawl-catalog-hero-list button>svg{display:none}.brawl-catalog-intro{align-items:start;flex-direction:column}.brawl-catalog-content-head{align-items:start;flex-direction:column}}
@media(max-width:480px){.brawl-catalog-intro{padding:22px}.brawl-catalog-content{padding:16px}.brawl-catalog-skins{grid-template-columns:repeat(2,minmax(0,1fr))}.brawl-catalog-art{height:190px}}

/* Mobile controls and player cards: keep text inside the viewport. */
.ranking-brawler-select{min-width:180px;max-width:100%;min-height:44px;padding:10px 38px 10px 14px;border:1px solid #52616e;border-radius:10px;background-color:#1d2936;color:#f4f6fa;font:inherit}
@media(max-width:650px){
 .brawler-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .brawler-card{min-width:0}
 .portrait-wrap{height:clamp(120px,36vw,200px)}
 .brawler-caption{flex-wrap:wrap;align-items:flex-start;gap:6px;min-height:68px;padding:10px;font-size:15px}
 .brawler-caption>b{flex:1 1 100%;max-width:100%;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.4}
 .brawler-caption>span{font-size:13px;gap:5px}
 .brawler-caption svg{width:14px;height:14px;flex-shrink:0}
 .brawler-streak,.brawler-prestige{white-space:normal;overflow-wrap:anywhere;padding:0 10px 8px}
 .profile-person{display:grid;grid-template-columns:88px minmax(0,1fr);gap:14px;min-width:0;width:100%}
 .profile-person-copy{display:contents}
 .profile-avatar-wrap{grid-column:1;grid-row:1}
 .profile-person .player-name{grid-column:2;grid-row:1;min-width:0;flex-wrap:wrap;overflow-wrap:anywhere}
 .profile-club-fame-row{grid-column:1/-1;grid-row:2;min-width:0;max-width:100%;flex-wrap:wrap}
 .profile-club-meta{min-width:0;overflow-wrap:anywhere}
 .profile-metrics{min-width:0;width:100%}
 .profile-metric{min-width:0;gap:10px;flex-wrap:wrap}
 .profile-metric>span{font-size:14px;white-space:normal}
 .profile-metric strong{font-size:clamp(24px,7vw,32px)}
 .search-panel form{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px}
 .search-panel form input{width:100%;min-width:0;font-size:16px}
 .search-panel form .primary{grid-column:1/-1;width:100%;min-height:48px}
 .filter-input{min-width:0;max-width:100%}
 .filter-input input{min-width:0;width:100%;font-size:16px}
 .tool-panel{padding:20px 16px}
 .tool-heading{gap:12px;align-items:flex-start}
 .tool-heading>svg{width:36px;height:36px;flex-shrink:0}
 .tool-heading>div{min-width:0}
 .tool-heading h2{font-size:23px;line-height:1.4}
 .tool-heading p{font-size:14px;line-height:1.6}
 .tool-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;align-items:end}
 .tool-controls>label,.tool-extras>label,.tool-controls label:has(>select){width:100%;min-width:0;max-width:100%;font-size:14px}
 .tool-controls>label.tool-mode,.tool-controls>label.tool-check{grid-column:1/-1}
 .tool-controls label>select,.tool-controls input:not([type=checkbox]){width:100%;min-width:0!important;max-width:100%;height:48px;font-size:16px;box-sizing:border-box}
 .tool-controls .tool-check{display:flex;align-items:center;min-height:44px}
 .tool-controls .tool-check input{width:22px;height:22px;flex-shrink:0}
 .trophy-result{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .trophy-result>div{min-width:0;padding:14px 12px}
 .trophy-result>div:nth-child(3){grid-column:1/-1}
 .trophy-result strong{font-size:28px;overflow-wrap:anywhere}
 .trophy-result span{font-size:13px}
 .tool-table{min-width:0;width:100%;table-layout:fixed;font-size:14px}
 .tool-table th,.tool-table td{padding:12px 8px;white-space:normal;overflow-wrap:anywhere}
 .tool-table th:first-child{width:44%}
 .tool-note{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
 .ranking-controls{display:flex;flex-wrap:wrap;gap:12px;min-width:0}
 .ranking-controls .ranking-tabs{width:100%}
 .ranking-controls .ranking-tabs button{flex:1}
 .ranking-brawler-select{width:100%;min-width:0!important;font-size:16px}
 .ranking-row{min-width:0;overflow-wrap:anywhere}
 .ranking-player-details,.ranking-player-top,.ranking-player-scores{min-width:0}
}
@media(max-width:420px){
 .stat-grid{grid-template-columns:minmax(0,1fr)}
 .stat-grid>*{grid-column:1/-1;min-width:0}
}

@media(max-width:650px){
 .ranking-panel .ranking-player-row{display:grid;grid-template-columns:22px 32px minmax(0,1fr);gap:8px 10px}
 .ranking-panel .ranking-player-row>span.ranking-player-scores{display:flex;grid-column:3;align-items:flex-start;flex-direction:column;white-space:normal;margin:0;font-size:13px;gap:5px}
 .ranking-panel .ranking-player-scores>.hero-trophy{flex-wrap:wrap}
 .ranking-panel .ranking-player-top{flex-wrap:wrap}
 .ranking-panel .ranking-club{white-space:normal;overflow-wrap:anywhere}
 .ranking-panel .ranking-row:not(.ranking-player-row){display:grid;grid-template-columns:22px 32px minmax(0,1fr);gap:8px 10px}
 .ranking-panel .ranking-row:not(.ranking-player-row)>.hero-trophy{display:flex;grid-column:3;font-size:14px}
}

@media(max-width:650px){
 .profile-fame{flex:1 1 100%;width:100%;min-width:0;max-width:100%}
 .profile-fame>div{min-width:0;flex:1}
 .profile-fame span{white-space:normal;overflow-wrap:anywhere;line-height:1.6}
}

.buffie-section h3{color:#e5bcff}
.buffie-section>.small-note{color:#bac4d4;font-size:14px}
.buffie-list{display:grid;gap:8px;margin:12px 0}
.buffie-list>div{padding:12px 14px;background:#25233a;border:1px solid #645477;border-radius:10px}
.buffie-list b{color:#eed4ff;font-size:14px}
.buffie-list ul{display:grid;gap:8px;list-style:none;margin:10px 0 0;padding:0}
.buffie-list li{display:grid;grid-template-columns:minmax(105px,32%) 1fr;gap:12px;color:#bfc4d2;font-size:13px;line-height:1.5}
.buffie-list li+li{border-top:1px solid #4b465e;padding-top:8px}
.buffie-list strong{color:#f2e8fa;font-weight:650}
.buffie-list span{color:#bfc4d2;font-size:13px;text-align:left}
.buffie-source{display:inline-block;color:#c8ff4b;text-decoration:underline;text-underline-offset:3px;font-size:13px}
html[data-theme="light"] .buffie-list>div{background:#f6f1fb;border-color:#d8c9e7}
html[data-theme="light"] .buffie-list b{color:#604674}
html[data-theme="light"] .buffie-list strong{color:#453653}
html[data-theme="light"] .buffie-list span{color:#626879}
@media(max-width:480px){.buffie-list li{grid-template-columns:1fr;gap:2px}}

/* Match the desktop level controls to the five optional-cost columns. */
@media(min-width:900px){
 .tool-panel .tool-levels,.tool-panel .tool-extras{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
 .tool-panel .tool-levels>label,.tool-panel .tool-extras>label{min-width:0;width:100%;max-width:none}
 .tool-panel .tool-levels select,.tool-panel .tool-extras select{box-sizing:border-box;width:100%;min-width:0!important;max-width:none}
}

/* In-game green highlights for balance-sensitive ability values. */
:root{--ability-game-value:#00cc00}
html[data-theme="light"]{--ability-game-value:#187447}
.ability-card p .ability-value,.ability-card .gadget-cooldown .cooldown-value{color:var(--ability-game-value)!important;font-weight:700}
.team-dialog select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c8d3df' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 4px center;background-size:16px;padding-right:30px}
.ranked-season-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0 10px}.ranked-season-dates>div{display:grid;gap:5px;padding:15px 18px;border:1px solid #536275;border-radius:12px;background:#1b2938}.ranked-season-dates span{color:#b5c2d0;font-size:14px}.ranked-season-dates strong{color:#f6f9fc;font-size:18px}.ranked-season-dates time{margin-right:4px}.ranked-season .ranked-season-date-note{font-size:14px;line-height:1.6;margin:0 0 12px}@media(max-width:550px){.ranked-season-dates{grid-template-columns:1fr}}

/* More navigation: compact icon trigger with the same text scale as primary items. */
.header nav>.nav-more>summary{min-width:44px;min-height:44px;justify-content:center;gap:2px;padding:0 5px;transform:translateY(4px)}
.header nav>.nav-more>summary:hover,.header nav>.nav-more[open]>summary{color:#d6ff46}
.header nav>.nav-more>summary:focus-visible{outline:2px solid #d6ff46;outline-offset:2px;border-radius:7px}
.header nav>.nav-more>summary>svg:first-child{width:21px;height:21px}
.header nav>.nav-more>summary>svg:last-child{width:13px;height:13px}
.header nav>.nav-more .nav-more-menu button{font-size:15px!important;line-height:1.4;min-height:44px!important;height:auto!important;padding:9px 12px!important}
@media(max-width:650px){.header nav>.nav-more>summary{min-width:44px;min-height:44px}.header nav>.nav-more .nav-more-menu button{font-size:15px!important}}

/* On phones, all four primary destinations and the overflow trigger stay visible. */
.header nav>.nav-more>summary>svg{width:23px;height:23px}
.header nav>.nav-more>summary>svg:last-child{width:23px;height:23px}
.mobile-nav-label{display:none}
@media(max-width:650px){
 .header nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 48px;gap:2px;width:100%;height:auto;margin:9px 0 0;padding:0;overflow:visible;white-space:normal}
 .header nav>button{min-width:0!important;width:100%;height:58px;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:3px 0!important;font-size:12px!important;line-height:1.15;text-align:center;white-space:nowrap}
 .header nav>button>svg,.header nav>button>.ranked-nav-icon{width:20px;height:20px}
 .header nav>.nav-more{width:48px;height:58px;min-width:0;justify-self:end}
 .header nav>.nav-more>summary{min-width:48px;width:48px;height:58px;min-height:58px;flex-direction:column;gap:2px;padding:3px 0;transform:translateY(4px)}
 .header nav>.nav-more>summary>svg{width:23px;height:23px}
 .mobile-nav-label{display:block;font-size:12px;line-height:1.15}
 .nav-more-menu{top:115px;right:10px;max-width:calc(100vw - 20px)}
}

.buffie-filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid #536275;border-radius:9px;background:#1b2938;color:#e8edf5;font-size:13px;font-weight:650;white-space:nowrap;cursor:pointer}.buffie-filter-toggle input{width:18px;height:18px;margin:0;accent-color:#b9f52b}.buffie-filter-toggle:has(input:checked){border-color:#b9f52b;background:#25351f;color:#d6ff75}.buffie-filter-toggle:focus-within{outline:2px solid #b9f52b;outline-offset:2px}html[data-theme="light"] .buffie-filter-toggle{background:#fff;color:#202331;border-color:#cdd2dc}html[data-theme="light"] .buffie-filter-toggle:has(input:checked){background:#eff8df;color:#3e5e13;border-color:#81b52c}
@media(max-width:700px){.catalog-filter-controls{flex-wrap:wrap}.catalog-filter-controls .buffie-filter-toggle{flex:1 0 100%;justify-content:flex-start;padding-inline:12px}}

/* Official November balance notes inside affected Brawler details. */
.balance-change-groups{display:grid;gap:10px;margin:12px 0}
.balance-change-groups>div{padding:12px 14px;background:#192622;border:1px solid #485d3c;border-radius:10px}
.balance-change-groups b{color:#d4ff70;font-size:14px}
.balance-change-groups ul{display:grid;gap:8px;list-style:none;margin:10px 0 0;padding:0}
.balance-change-groups li{display:grid;grid-template-columns:minmax(125px,34%) minmax(0,1fr);gap:12px;color:#bfc4d2;font-size:13px;line-height:1.5}
.balance-change-groups li+li{border-top:1px solid #465044;padding-top:8px}
.balance-change-groups strong{color:#f2f7eb;font-weight:650}
.balance-change-groups span{color:#c3cbbb;font-size:13px;text-align:left;overflow-wrap:anywhere}
html[data-theme="light"] .balance-change-groups>div{background:#f2f7eb;border-color:#c9d8b6}
html[data-theme="light"] .balance-change-groups b{color:#42621c}
html[data-theme="light"] .balance-change-groups strong{color:#263322}
html[data-theme="light"] .balance-change-groups span{color:#4f5b4c}
@media(max-width:480px){.balance-change-groups li{grid-template-columns:1fr;gap:2px}}

.site-info-shell{min-height:100vh;background:#0c121c;color:#f2f5f8}
.site-info-header{border-bottom:1px solid #263341;background:#111b27}
.site-info-header-inner{max-width:1120px;min-height:76px;margin:0 auto;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.site-info-brand{display:grid;gap:1px;font-size:19px;font-weight:850;letter-spacing:.04em;line-height:1.2}
.site-info-brand small{color:#aab5c2;font-size:10px;letter-spacing:.22em}
.site-info-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.site-info-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 13px;border-radius:8px;color:#c3ccd7;font-size:14px}
.site-info-nav a:hover,.site-info-nav a:focus-visible{color:#e1ff82;background:#1c2936}
.site-info-nav a[aria-current=page]{color:#d7ff67;background:#23311e}
.site-info-nav .site-info-home-link{margin-left:6px;border:1px solid #51633c;color:#d8ff73}
.site-info-main{max-width:920px;margin:0 auto;padding:56px 24px 76px}
.site-info-heading{padding:8px 0 28px;border-bottom:1px solid #32404c}
.site-info-kicker{color:#c9f24f;font-size:12px;font-weight:750;letter-spacing:.1em}
.site-info-heading h1{margin:8px 0 10px;font-size:clamp(30px,5vw,42px);line-height:1.2;letter-spacing:0}
.site-info-heading>p:last-child{max-width:680px;color:#b8c3ce;font-size:17px;line-height:1.7}
.site-info-article{display:grid}
.site-info-article section{padding:27px 0 25px;border-bottom:1px solid #283541}
.site-info-article h2{margin:0 0 12px;color:#f3f6f9;font-size:21px;line-height:1.4}
.site-info-article p,.site-info-article li{max-width:790px;color:#c4cdd6;font-size:16px;line-height:1.85;overflow-wrap:anywhere}
.site-info-article p+p{margin-top:12px}
.site-info-article ul{display:grid;gap:10px;margin:0;padding-left:23px}
.site-info-article li::marker{color:#c9f24f}
.site-info-article strong{color:#f0f5e7}
.site-info-article a{color:#d4f879;text-decoration:underline;text-underline-offset:3px}
.site-info-article a:focus-visible{outline:2px solid #d4f879;outline-offset:4px}
.site-info-footer{display:grid;justify-items:center;gap:9px;padding:24px;border-top:1px solid #263341;background:#101923;text-align:center}
.site-info-footer-brand{font-size:15px;font-weight:800}
.site-info-footer-brand span{margin-left:7px;color:#aab5c2;font-size:11px;letter-spacing:.13em}
.site-info-footer p,.site-info-footer>a:last-child{color:#aeb8c4;font-size:13px;line-height:1.6}
.site-footer-info{display:flex;justify-content:center;gap:20px;margin:9px 0 12px}
.site-footer-info a{color:#cce978;font-size:13px;text-decoration:underline;text-underline-offset:3px}
.site-footer-info a:focus-visible{outline:2px solid #d4f879;outline-offset:4px}
@media(max-width:650px){
 .site-info-header-inner{align-items:flex-start;flex-direction:column;gap:11px;padding:15px 18px}
 .site-info-nav{width:100%;gap:4px}
 .site-info-nav a{padding:0 10px;font-size:13px}
 .site-info-nav .site-info-home-link{margin-left:auto}
 .site-info-main{padding:36px 20px 52px}
 .site-info-heading>p:last-child{font-size:16px}
 .site-info-article section{padding:22px 0}
 .site-info-article h2{font-size:19px}
 .site-info-article p,.site-info-article li{font-size:15px;line-height:1.8}
}
/* Three-hero combat data cards, styled after the in-game stat panel. */
.combat-stats-heading{display:flex;align-items:center;justify-content:flex-start;gap:14px;margin-bottom:12px;text-align:left}
.combat-stats-heading h3{margin:0;text-align:left}
.combat-stats-heading>span{color:#aeb8c4;font-size:13px;font-weight:700;white-space:nowrap;text-align:left}
.combat-overview-stats,.combat-attack-stats{display:grid;gap:10px;margin:0}
.combat-overview-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px}
.combat-overview-stats>div{min-width:0;padding:11px 13px;border:1px solid #405268;border-radius:12px;background:rgba(19,31,45,.72)}
.combat-overview-stats dt,.combat-attack-stats dt{color:#aeb8c4;font-size:13px}
.combat-overview-stats dd,.combat-attack-stats dd{margin:4px 0 0;color:#f4f7fb;font-size:17px;font-weight:800;line-height:1.45}
.combat-overview-stats .combat-trait{grid-column:1/-1}
.combat-attack-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.combat-attack-card{min-width:0;padding:14px;border:1px solid #405268;border-radius:14px;background:rgba(19,31,45,.72)}
.combat-attack-kind{margin:0;color:#f17f86;font-size:17px;font-weight:850;line-height:1.4}
.combat-super-attack .combat-attack-kind{color:#ffd04f}
.combat-attack-card h4{margin:0 0 8px;color:#f4f7fb;font-size:18px;font-weight:850;line-height:1.4}
.combat-attack-description{min-height:4.6em;margin:0 0 12px;color:#d6dce5;font-size:14px;line-height:1.55}
.combat-attack-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.combat-attack-stats>div{min-width:0;padding:8px 10px;border:0;border-radius:7px;background:rgba(5,23,37,.58)}
.combat-attack-stats dt{color:#aeb8c4;font-size:12px}
.combat-attack-stats dd{font-size:15px;overflow-wrap:anywhere}
@media(max-width:540px){.combat-attack-grid{grid-template-columns:1fr}.combat-attack-card{padding:12px}.combat-attack-description{min-height:0}.combat-overview-stats>div{padding:10px 11px}.combat-attack-stats dd{font-size:14px}}
