/* Shared competitive records: scoped so existing archive screens keep their layout. */
.insights-page { --compare-1:#d7ff43; --compare-2:#67c9ff; --compare-3:#c6a0ff; --compare-4:#ffb47e; padding:24px 0 40px; }
.insights-page *, .insight-event-dialog * { box-sizing:border-box; }
.insights-page h1,.insights-page h2,.insights-page h3 { margin:0; line-height:1.2; }
.insights-page h1 { font-size:clamp(28px,3.4vw,48px); letter-spacing:-.045em; }
.insights-page h1>span { color:#d7ff43; }
.insights-page h2 { font-size:20px; }
.insights-page h3 { font-size:16px; }
.insights-page .eyebrow,.insight-event-dialog .eyebrow { font-size:10px; letter-spacing:.18em; font-weight:800; color:#d7ff43; margin:0 0 12px; }
.insights-page small,.insight-muted { color:#9aacc6; }
.insights-page button,.insights-page a { -webkit-tap-highlight-color:transparent; }
.insights-page :focus-visible,.team-profile-card-open:focus-visible { outline:2px solid #d7ff43; outline-offset:4px; }
.insights-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:24px; }
.insights-heading p:not(.eyebrow) { color:#9aacc6; line-height:1.6; margin:12px 0 0; }
.insights-heading>.button { flex-shrink:0; }
.compare-lineup { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:20px; }
.compare-player,.compare-picker { position:relative; min-width:0; min-height:200px; border:1px solid #2c394d; border-radius:16px; overflow:hidden; background:#101823; }
.compare-player { display:flex; gap:14px; align-items:center; padding:20px 18px; border-bottom:3px solid var(--compare-color); }
.compare-cover { position:absolute; inset:0; overflow:hidden; pointer-events:none; background:radial-gradient(ellipse at top right,#33453470,transparent 80%); }
.compare-cover img { width:100%; height:100%; object-fit:cover; }
.compare-cover:after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,#0c131b30,#0c131bc9 48%,#0c131bf5); }
.compare-avatar { position:relative; flex:0 0 64px; height:64px; border:1px solid #677488; border-radius:15px; overflow:hidden; background:#1e293a; display:grid; place-items:center; }
.compare-avatar img,.compare-avatar>.profile-avatar { width:100%; height:100%; object-fit:cover; margin:0; border:0; border-radius:0; }
.compare-player-copy { position:relative; min-width:0; }
.compare-player-copy h2 { margin-bottom:8px; font-size:clamp(18px,2vw,28px); }
.compare-player-copy small { display:block; margin-bottom:8px; }
.compare-player-copy>a { display:block; margin-top:10px; font-size:11px; color:#ced8e8; }
.compare-player-copy .eyebrow { color:var(--compare-color); margin-bottom:8px; }
.compare-activity { display:inline-flex; position:static; font-size:10px; }
.compare-remove { position:absolute; right:12px; top:12px; z-index:1; background:#101823d9; }
.compare-picker { padding:18px; border-style:dashed; }
.compare-picker .eyebrow { margin-bottom:6px; }
.compare-picker h3 { margin-bottom:10px; }
.insights-page .field { display:flex; flex-direction:column; gap:8px; font-size:11px; font-weight:700; color:#aabbd2; min-width:0; }
.insights-page input[type="search"],.insights-page select { background:#0c121c; color:#eef4ff; border:1px solid #2c394d; border-radius:8px; padding:10px 12px; min-width:0; max-width:100%; width:100%; font:inherit; min-height:40px; }
.compare-search-results { max-height:76px; overflow-y:auto; margin-top:8px; }
.compare-search-results button { display:flex; align-items:center; gap:8px; width:100%; border:0; border-bottom:1px solid #243043; background:transparent; color:#dce6f8; padding:8px 2px; text-align:left; font:inherit; font-size:12px; cursor:pointer; }
.compare-search-results button b { margin-left:auto; color:#d7ff43; }
.compare-search-results button:hover { background:#d7ff4310; }
.compare-replace-search{margin:12px 0 0;font-size:10px!important}.compare-player-copy{width:min(100%,430px)}.compare-player .compare-search-results{position:relative;z-index:2;max-height:190px;margin:6px 0 0;padding:5px 9px;border:1px solid #3b4d66;border-radius:9px;background:#0d1520;box-shadow:0 8px 22px #0006}.compare-search-results[hidden]{display:none}
.compare-picker:has(input[data-compare-search]:focus) .compare-search-results[hidden],.compare-player:has(input[data-compare-search]:focus) .compare-search-results[hidden]{display:block!important}
.insight-player-link { display:inline-flex; align-items:center; gap:8px; border:0; padding:0; background:transparent; color:inherit; font:inherit; cursor:pointer; text-align:left; max-width:100%; }
.insight-player-link b { overflow-wrap:anywhere; }
.insight-player-link:hover b,.insight-text-button:hover { color:#d7ff43; }
.insight-player-link .team-player-flag { flex-shrink:0; }
.insight-filters { display:flex; flex-wrap:wrap; gap:16px; align-items:flex-end; padding:18px; border:1px solid #2c394d; border-radius:12px; background:#101823; margin:18px 0; }
.insight-filters .field { flex:1 1 170px; }
.insight-filters .button { min-height:40px; }
.insight-filter-note { color:#9aacc6; font-size:11px; align-self:center; display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.insight-tabs { display:flex; gap:4px; border-bottom:1px solid #2c394d; margin:24px 0; overflow-x:auto; }
.insight-tabs button { flex-shrink:0; background:none; color:#9aacc6; border:0; border-bottom:3px solid transparent; padding:14px 18px; font:inherit; font-size:12px; font-weight:800; cursor:pointer; }
.insight-tabs button.active { color:#d7ff43; border-bottom-color:#d7ff43; background:#d7ff4308; }
.insight-section { min-width:0; border:1px solid #2c394d; background:#101823; border-radius:14px; overflow:hidden; margin-bottom:22px; }
.insight-section>header { padding:22px; border-bottom:1px solid #253143; }
.insight-section>header p { margin:8px 0 0; color:#9aacc6; line-height:1.6; font-size:12px; max-width:900px; }
.insight-table-scroll { overflow-x:auto; max-width:100%; scrollbar-color:#4f5e76 #0b111b; }
.compare-table,.insight-roster-table { border-collapse:collapse; width:100%; font-size:13px; }
.compare-table th,.compare-table td,.insight-roster-table th,.insight-roster-table td { padding:16px 20px; border-bottom:1px solid #253143; text-align:left; }
.compare-table thead,.insight-roster-table thead { background:#151f2d; color:#aabbd2; }
.compare-table th:first-child { width:32%; min-width:180px; }
.compare-table td { min-width:125px; font-weight:800; font-size:17px; font-variant-numeric:tabular-nums; }
.compare-table td.metric-best { color:var(--compare-color,#d7ff43); background:#d7ff4307; }
.career-name-won,.career-cw-history .career-result-won .career-match-player>b{color:#8dffb3!important}.career-name-lost,.career-cw-history .career-result-lost .career-match-player>b{color:#ff9d9d!important}.career-cw-history .career-scorer-name{font-weight:700}.career-rivalries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.career-rivalry-card{min-width:0;overflow:hidden;border:1px solid #3b566d;border-radius:12px;background:linear-gradient(130deg,#16293a,#101c2b)}.career-rivalry-card>header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;padding:12px 16px;border-bottom:1px solid #30475a;font-size:.73rem;color:#b5cadd}.career-rivalry-card>header>small{font-size:.69rem;color:#c8d9e7}.career-rivalry-score{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;padding:15px}.career-rivalry-score>div{text-align:center;padding:10px 8px;border:1px solid #41566a;border-radius:9px;background:#112030}.career-rivalry-score strong{display:block;overflow-wrap:anywhere;font-size:.95rem;color:#e6f0f9}.career-rivalry-score b{display:block;margin:6px 0 0;font-size:1.9rem;line-height:1.15;color:#d0dfed;font-variant-numeric:tabular-nums}.career-rivalry-score>div>span,.career-rivalry-score small{display:block;font-size:.7rem;color:#adbed1;line-height:1.65}.career-rivalry-score .rivalry-leading{background:#16442e;border-color:#3aab70}.career-rivalry-score .rivalry-leading b,.career-rivalry-score .rivalry-leading strong{color:#9dffc0}.career-rivalry-score .rivalry-trailing{background:#40232c;border-color:#a85b68}.career-rivalry-score .rivalry-trailing b,.career-rivalry-score .rivalry-trailing strong{color:#ffafb3}.career-rivalry-versus{font-size:.68rem;letter-spacing:.1em;color:#90a7bc;font-weight:800}.career-rivalry-card>footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:10px 16px 14px;border-top:1px solid #2d4154}.career-rivalry-card>footer>span{font-size:.68rem;color:#a5bcd0}.career-rivalry-card>footer .button{min-height:32px;padding:6px 9px;font-size:.7rem}
@media(max-width:750px){.career-rivalries{grid-template-columns:minmax(0,1fr);padding:12px}.career-rivalry-score{padding:12px;gap:8px}}
.career-shared-statistics>.career-context-grid{display:block}.career-shared-system{margin:0 0 24px}.career-shared-system>h3{margin:14px 0 16px;padding:8px 0 12px;border-bottom:1px solid #38566f;color:#c7e7ff;font-size:1.1rem}.career-shared-system:last-child{margin-bottom:0}
.career-h2h-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;padding:18px}.career-h2h-filters .button{display:flex;align-items:center;justify-content:flex-start;gap:10px;text-align:left;line-height:1.4;min-height:58px}.career-h2h-filters b{font-size:1.35rem}.career-h2h-note{margin:0;padding:0 18px 18px;color:#a8bfd4;font-size:.8rem}.career-shared-statistics{margin:22px 0;border:1px solid #34536b;border-radius:10px;background:#0d1b2a}.career-shared-statistics>summary{cursor:pointer;padding:16px 18px;font-weight:700;color:#c0e5ff}.career-shared-statistics>.career-context-grid{padding:0 16px 16px}.career-shared-statistics .insight-section{margin-top:10px}
.compare-stat-place{display:inline-flex;align-items:center;justify-content:center;min-width:29px;padding:4px 6px;margin-right:7px;border:1px solid currentColor;border-radius:6px;font-size:.69rem;line-height:1;vertical-align:middle;white-space:nowrap}.compare-stat-place.place-1{color:#ffdc7b;background:#d4a02720}.compare-stat-place.place-2{color:#d5e4f0;background:#bdd2e71a}.compare-stat-place.place-3{color:#f2b88b;background:#bb77451c}.compare-stat-place.place-4{color:#9fb6d1;background:#819bb71c}.compare-stat-value{display:inline-block;vertical-align:middle}.compare-table td.metric-place-1{background:#b58b2110}.compare-table td.metric-place-2{background:#b6c7d00a}.compare-table td.metric-place-3{background:#c88e560a}.career-context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.career-context-grid>.insight-section{min-width:0;margin:0 0 16px}.career-context-grid .insight-section .insight-section{border:0;margin:0}.career-context-grid .compare-table td{min-width:90px;padding:12px 9px;font-size:14px}.career-context-grid .compare-table th{padding:12px 9px}.career-context-grid .compare-table th:first-child{min-width:130px;width:130px}.career-cw-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px;margin-bottom:9px}.career-cw-meta a{font-size:.85rem;font-weight:800}.career-cw-meta time,.career-cw-meta>span{font-size:.7rem;color:#a7bed4}.career-cw-score{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:9px}.career-clan{display:inline-flex;gap:7px;align-items:center;padding:6px 8px;border-radius:6px;background:#182737}.career-clan b{font-size:1rem}.career-clan small{margin:0!important;font-size:.59rem!important;font-weight:800!important}.career-result-won{color:#a7efbc!important;background:#2d90531a!important}.career-result-lost{color:#f2a5a5!important;background:#a9444415!important}.career-cw-scorers{display:flex;flex-wrap:wrap;gap:5px}.career-cw-scorers>span{font-size:.67rem;padding:4px 6px;border-radius:5px;background:#172334;color:#b6c9dc}.career-cw-scorers>.career-listed-mvp,.career-mvp-badge{color:#ffdc7b;background:#c9a42d1a}.career-mvp-badge{display:inline-block;font-size:.65rem;padding:4px 6px;border:1px solid #bb96374d;border-radius:5px;margin-top:5px}
@media(max-width:980px){.career-context-grid{grid-template-columns:minmax(0,1fr)}}
.compare-table td.metric-place-1 .compare-stat-value{color:#ffdc7b}.compare-table td.metric-place-2 .compare-stat-value{color:#d5e4f0}.compare-table td.metric-place-3 .compare-stat-value{color:#f2b88b}.compare-table td.metric-place-4 .compare-stat-value{color:#9fb6d1}
.career-mode-group{margin:28px 0 34px}.career-mode-group>h2{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 18px;padding:0 2px 14px;border-bottom:1px solid #334b61}.career-mode-badge{display:inline-flex;padding:7px 13px;border-radius:8px;border:1px solid #579bb969;color:#ace7ff;background:#203e50;font-size:1rem;letter-spacing:.04em}.career-mode-badge.mode-jump{color:#d2c0ff;background:#352d50;border-color:#9074ca69}.career-mode-badge.mode-wsf{color:#ffd5a3;background:#483722;border-color:#bc874b69}.career-mode-subtitle{color:#9bb2c8;font-size:.77rem;font-weight:500}.career-context-grid{align-items:stretch;gap:18px}.career-context-grid>.insight-section{display:flex;flex-direction:column;margin:0;overflow:hidden}.career-context-grid>.insight-section>header{min-height:88px;box-sizing:border-box;padding:18px 16px}.career-context-grid>.insight-section>header h2{margin:0 0 8px;font-size:1rem}.career-context-grid>.insight-section>header p{margin:0;font-size:.7rem;line-height:1.5}.career-context-grid .compare-table{table-layout:fixed;min-width:calc(135px + var(--compare-columns,4)*106px)}.career-context-grid .compare-table th:first-child{width:135px}.career-context-grid .compare-table thead th{height:66px;box-sizing:border-box;overflow-wrap:anywhere}.career-context-grid .compare-table tbody th,.career-context-grid .compare-table td{height:53px;box-sizing:border-box}.career-context-grid .compare-table td{white-space:nowrap}.career-context-grid .compare-stat-place{min-width:23px;padding:4px;margin-right:5px;font-size:.64rem}
.career-history-scroll{padding:8px 14px 4px;background:#0a1420}.career-cw-history{border-collapse:separate;border-spacing:0 12px}.career-cw-history thead th{background:#132435;font-size:.75rem;color:#b7cfe4;border:0;padding:13px 15px}.career-cw-history tbody tr>th,.career-cw-history tbody tr>td{background:#122030;border-top:1px solid #354d63;border-bottom:2px solid #354d63;padding:18px 15px;vertical-align:top}.career-cw-history tbody tr>th:first-child{border-left:3px solid #5d94bb;border-radius:10px 0 0 10px;min-width:330px;width:45%}.career-cw-history tbody tr>td:last-child{border-right:1px solid #354d63;border-radius:0 10px 10px 0}.career-cw-history tbody tr:last-child>th,.career-cw-history tbody tr:last-child>td{border-bottom:2px solid #354d63}.career-cw-history tbody tr:hover>th,.career-cw-history tbody tr:hover>td{border-top-color:#6085a5;border-bottom-color:#6085a5}.career-cw-history td{text-align:center;border-left:1px solid #304254;font-size:1.15rem}.career-cw-history td small{font-weight:700;letter-spacing:.05em;margin:9px 0}.career-cw-history .career-cw-meta{padding-bottom:10px;border-bottom:1px solid #2a4055;margin-bottom:12px}.career-cw-history .career-cw-meta a{color:#a9dcff;text-decoration:none}.career-cw-history .career-cw-score{padding-bottom:11px;margin-bottom:10px;border-bottom:1px solid #294155}.career-cw-history .career-clan{background:transparent;padding:4px 1px;font-size:.83rem}.career-cw-history .career-cw-scorers>span{padding:5px 7px;border:1px solid #294057}.career-cw-history .career-listed-mvp{border-color:#ba99345c!important}.career-cw-history .career-result-won{box-shadow:inset 0 3px #70d79355}.career-cw-history .career-result-lost{box-shadow:inset 0 3px #d7777755}
@media(max-width:600px){.career-mode-group{margin:22px 0}.career-mode-group>h2{gap:8px;margin-bottom:14px}.career-history-scroll{padding:4px 8px}.career-cw-history tbody tr>th:first-child{min-width:260px}}
.career-cw-history tbody tr>th:first-child{padding:22px 24px}.career-cw-history tbody tr>td{padding:22px 18px}.career-cw-history .career-cw-score{gap:12px;padding:3px 3px 15px}.career-cw-history .career-clan{padding:10px 12px;gap:9px;line-height:1.5;border:1px solid #3c546a}.career-cw-history .career-clan.career-result-won,.career-cw-history td.career-result-won{color:#8dffb3!important;background:linear-gradient(135deg,#16482e,#132d26)!important;border-top-color:#3cc477}.career-cw-history .career-clan.career-result-lost,.career-cw-history td.career-result-lost{color:#ff9d9d!important;background:linear-gradient(135deg,#50252d,#301e29)!important;border-top-color:#e56b76}.career-cw-history .career-clan.career-result-won{border-color:#43b978}.career-cw-history .career-clan.career-result-lost{border-color:#c56470}.career-match-player{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px;margin:0 0 12px;line-height:1.4}.career-match-player>b{font-size:.8rem;color:#edf5ff;overflow-wrap:anywhere}.career-match-team{display:inline-flex;max-width:100%;padding:5px 8px;border:1px solid #8aa6b54d;border-radius:6px;background:#0b152333;font-size:.68rem;font-weight:600;overflow-wrap:anywhere}.career-match-points{display:block;font-size:1.3rem;white-space:nowrap}.career-cw-history .career-match-points small{display:inline;font-size:.65rem;font-weight:500;letter-spacing:0;margin:0 0 0 3px}.career-cw-history .career-match-outcome{font-size:.68rem;font-weight:800}.career-cw-history .career-player-absent{color:#7e94aa}
.compare-table th small,.compare-table td small { display:block; font-size:10px; font-weight:400; line-height:1.6; margin-top:5px; }
.compare-table tbody tr:last-child>* { border-bottom:0; }
.compare-table tbody th { font-size:12px; font-weight:600; color:#bccbdf; }
.insight-empty { padding:34px 22px; color:#b5c5db; text-align:center; }
.insight-empty strong { font-size:15px; }
.insight-empty p { max-width:490px; margin:10px auto 0; line-height:1.7; font-size:12px; color:#8da2bf; }
.insight-timelines { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; padding:20px; }
.insight-timelines h3 { margin-bottom:12px; }
.insight-result-list { display:grid; }
.insight-result { display:grid; grid-template-columns:55px minmax(0,1fr) auto 12px; gap:12px; align-items:center; width:100%; background:transparent; color:#e7effc; border:0; border-bottom:1px solid #253143; padding:18px; font:inherit; text-align:left; cursor:pointer; }
.insight-result:hover { background:#d7ff4306; }
.insight-result b { font-size:13px; overflow-wrap:anywhere; }
.insight-result small { display:block; font-size:10px; line-height:1.5; margin-top:5px; }
.insight-result time { font-size:10px; color:#9aacc6; }
.insight-place { font-weight:800; font-size:12px; overflow-wrap:anywhere; }
.insight-place.gold { color:#ffd768; }
.insight-timelines .insight-result { grid-template-columns:42px minmax(0,1fr); padding:14px 0; }
.insight-timelines .insight-result time { display:block; grid-column:2; grid-row:2; }
.insight-timelines .insight-result>span:last-child { display:none; }
.insight-text-button { padding:0; background:transparent; border:0; color:#edf4ff; font:inherit; cursor:pointer; text-align:left; }
.insight-duel { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:20px; align-items:center; padding:32px 24px; background:radial-gradient(ellipse at center,#1b2b38,transparent 85%); }
.insight-duel>div { display:flex; flex-direction:column; align-items:center; gap:16px; }
.insight-duel>div>strong { font-size:48px; line-height:1; }
.insight-duel>div:first-child>strong { color:#d7ff43; }
.insight-duel>div:last-child>strong { color:#67c9ff; }
.insight-duel>span { text-align:center; font-size:10px; color:#aabbd2; line-height:1.8; }
.insight-duel>span b { letter-spacing:.12em; color:#e6eefb; }
.insight-duel small { display:block; }
.insight-mini-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(110px,1fr)); gap:12px; padding:18px; }
.insight-metric { min-width:0; background:#0c131e; border:1px solid #2c394d; padding:20px; border-radius:12px; display:flex; flex-direction:column; gap:10px; }
.insight-metric>span { color:#9aacc6; font-size:10px; text-transform:uppercase; letter-spacing:.07em; }
.insight-metric strong { font-size:27px; line-height:1.15; font-variant-numeric:tabular-nums; }
.insight-metric small { font-size:10px; line-height:1.5; }
.clan-dossier-hero { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:18px; padding:28px; margin-top:18px; border:1px solid #354336; border-radius:16px; background:radial-gradient(ellipse at top center,#d7ff4314,transparent 65%),linear-gradient(130deg,#152131,#0e1720); }
.clan-dossier-hero>.clan-dossier-logo{grid-column:1/-1;justify-self:center;width:112px;height:112px;padding:14px}
.clan-dossier-hero>.insight-kpis{grid-column:1/-1;width:100%;margin:4px 0 0;gap:8px;padding-top:18px;border-top:1px solid #344456}
.clan-dossier-hero>.insight-kpis .insight-metric{padding:13px 12px;background:#07101a55;border-color:#38475b;border-radius:9px}
.clan-dossier-hero>.insight-kpis .insight-metric strong{font-size:23px}
.clan-dossier-logo { width:132px; height:132px; flex-shrink:0; display:grid; place-items:center; padding:18px; border:1px solid #344456; border-radius:22px; background:#0b121c; font-size:32px; font-weight:800; }
.clan-dossier-logo img { width:100%; height:100%; object-fit:contain; }
.clan-dossier-title { flex:1; min-width:0; }
.clan-dossier-title h1 { overflow-wrap:anywhere; }
.clan-dossier-title>p:not(.eyebrow) { color:#aabbd2; font-size:13px; line-height:1.7; white-space:pre-line; }
.clan-dossier-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.clan-elo { display:flex; flex-direction:column; gap:10px; padding:22px 26px; text-align:center; border-left:1px solid #344456; }
.clan-elo span { color:#aabbd2; font-size:9px; letter-spacing:.13em; }
.clan-elo strong { color:#d7ff43; font-size:38px; }
.clan-elo small { font-size:10px; }
.insight-kpis { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin:16px 0; }
.insight-form { display:inline-flex; gap:5px; }
.insight-form i { display:grid; place-items:center; width:26px; height:26px; border-radius:5px; font-style:normal; font-weight:800; font-size:11px; }
.insight-form .won { background:#4af4ab14; color:#72f8b4; border:1px solid #72f8b444; }
.insight-form .lost { background:#ff737b14; color:#ff959b; border:1px solid #ff959b44; }
.clan-overview-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:22px; align-items:start; }
.insight-matches { display:grid; gap:12px; padding:18px; }
.insight-match { background:#0c131e; border:1px solid #2c394d; border-radius:10px; padding:16px; }
.insight-match header { display:flex; justify-content:space-between; gap:10px; font-size:10px; color:#9aacc6; }
.insight-match>div { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:16px; align-items:center; margin:18px 0; }
.insight-match>div>strong { font-size:20px; }
.insight-match>div>a:last-child { justify-content:flex-end; text-align:right; }
.insight-team-link { display:inline-flex; align-items:center; gap:10px; color:#e2edff; text-decoration:none; font-size:13px; min-width:0; }
.insight-team-link b { overflow-wrap:anywhere; }
.clan-preview-link { color:inherit; text-decoration:none; }
.clan-preview-link:hover,.clan-preview-link:focus-visible { color:var(--acid); }
.clan-hover-card { overflow-y:auto; }
.clan-hover-logo { position:relative; z-index:1; display:grid; place-items:center; width:48px; height:48px; padding:5px; border:1px solid #43536d; border-radius:10px; background:#101722; overflow:hidden; }
.clan-hover-logo img { width:100%; height:100%; object-fit:contain; }
.clan-hover-card .member-hover-card-head strong { white-space:normal; overflow-wrap:anywhere; }
.clan-hover-history { position:relative; z-index:1; margin:0; color:#b1bfd1; font-size:11px; line-height:1.5; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.clan-hover-stats { position:relative; z-index:1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.clan-hover-stats span { display:grid; gap:3px; color:#96a8c0; font-size:10px; }
.clan-hover-stats b { color:#edf5ff; font:700 14px var(--font-display); }
.clan-hover-card .member-hover-open { display:block; box-sizing:border-box; text-decoration:none; }
.clan-hover-card .insight-form { gap:3px; }
.clan-hover-card .insight-form i { width:18px; height:18px; font-size:9px; }
.insight-small-logo { display:grid; place-items:center; flex:0 0 32px; width:32px; height:32px; padding:4px; background:#101823; border:1px solid #344456; border-radius:8px; font-size:10px; }
.insight-small-logo img { width:100%; height:100%; object-fit:contain; }
.insight-roster-controls { display:flex; justify-content:space-between; align-items:flex-end; gap:16px; padding:20px; }
.insight-roster-controls .field { width:min(400px,65%); }
.insight-roster-table th { font-size:11px; white-space:nowrap; }
.insight-roster-table td { font-size:12px; }
.insight-check { display:flex; align-items:center; gap:8px; cursor:pointer; }
.insight-check input { accent-color:#d7ff43; }
.insight-activity { position:static; display:inline-flex; font-size:10px; }
.clan-opponent-picker { margin:22px; max-width:420px; }
.insight-rivals { padding:0 20px; }
.insight-rivals article { display:flex; align-items:center; gap:16px; padding:18px 0; border-bottom:1px solid #253143; }
.insight-rivals article>span { margin-left:auto; font-size:12px; }
.insight-rivals small { display:block; margin-top:5px; font-size:10px; }
.insight-spotlight { padding:0 18px; }
.insight-spotlight article { display:flex; align-items:center; gap:12px; padding:16px 0; border-bottom:1px solid #253143; font-size:12px; }
.insight-spotlight article>span { color:#7e94b0; }
.insight-spotlight article>div { margin-left:auto; text-align:right; flex-shrink:0; }
.insight-spotlight small { display:block; font-size:10px; margin-top:4px; }
.team-profile-link-card { cursor:pointer; transition:border-color .15s; }
.team-profile-link-card:hover { border-color:#718843; }
.team-profile-card-open { display:block; color:#d7ff43; font-size:11px; font-weight:700; margin-top:16px; text-decoration:none; }
.archive-access-notice:not([hidden]) { display:flex; align-items:center; gap:20px; margin:0 0 22px; padding:24px; background:linear-gradient(110deg,#26351c,#142331); border:1px solid #b5d956; border-left:5px solid #d7ff43; border-radius:14px; color:#edf4ff; box-shadow:0 8px 28px #0004; scroll-margin-block:100px; }
.archive-access-notice:focus-visible { outline:3px solid #d7ff43; outline-offset:4px; }
.career-source-pickers{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;padding:16px;align-items:end}.career-source-pickers input{min-width:0;width:100%}.career-history-pages{display:flex;justify-content:center;align-items:center;gap:16px;padding:16px}.career-elo-legend{display:flex;flex-wrap:wrap;gap:16px;margin:16px}.career-elo-chart{width:100%;height:auto;min-height:180px;background:#0b1521;border:1px solid #31475d;border-radius:10px}.competition-kind-label{display:block;font-size:.65rem;letter-spacing:.06em;margin:3px 0;color:#9babc0}.competition-kind-tournament{background:linear-gradient(100deg,#b4912720,#172333)!important;border-left:3px solid #dfbc58!important}.competition-kind-tournament .competition-kind-label{color:#ffdb80;font-weight:800}.competition-kind-event{border-left:2px solid #58758b!important}.competition-kind-event .competition-kind-label{color:#96b4c9}
.archive-access-icon { display:grid; place-items:center; flex:0 0 48px; height:48px; border-radius:12px; background:#d7ff431c; color:#d7ff43; }
.archive-access-icon svg { width:28px; height:28px; }
.archive-access-copy { flex:1 1 280px; min-width:0; }
.archive-access-copy .eyebrow { margin:0 0 6px; color:#d7ff43; }
.archive-access-copy h2 { margin:0 0 8px; font-size:clamp(1.15rem,2vw,1.5rem); line-height:1.25; overflow-wrap:anywhere; }
.archive-access-copy > p:last-child { margin:0; color:#d2dfeb; font-size:.9rem; line-height:1.55; }
.archive-access-actions { display:flex; flex-wrap:wrap; gap:10px; flex-shrink:0; }
.archive-access-actions .button { min-height:44px; justify-content:center; }
@media(max-width:1000px){.archive-access-notice:not([hidden]){flex-wrap:wrap}.archive-access-actions{flex:1 1 100%}}
@media(max-width:520px){.archive-access-notice:not([hidden]){padding:18px;gap:12px}.archive-access-icon{flex-basis:38px;height:38px}.archive-access-copy{flex-basis:calc(100% - 50px)}.archive-access-actions .button{flex:1 1 140px}}
.insight-event-dialog { width:min(800px,calc(100vw - 24px)); max-height:calc(100dvh - 32px); overflow-y:auto; padding:24px; background:#101823; color:#edf4ff; border:1px solid #344456; border-radius:16px; }
.insight-event-dialog::backdrop { background:#030911bb; }
.insight-event-dialog .dialog-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.insight-event-dialog .dialog-head h2 { overflow-wrap:anywhere; }
.insight-event-dialog .event-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin:24px 0; }
.insight-event-dialog dt { color:#9aacc6; font-size:11px; margin-bottom:8px; }
.insight-event-dialog dd { margin:0; font-size:13px; overflow-wrap:anywhere; white-space:pre-wrap; }
.insight-event-teams section { padding:16px 0; border-top:1px solid #253143; }
.insight-event-teams h3 { font-size:15px; }
.insight-event-teams .insight-player-link { margin:0 14px 10px 0; font-size:12px; }
@media(max-width:1100px) {
  .compare-player { gap:10px; padding:18px 14px; }
  .compare-avatar { flex:0 0 48px; height:48px; }
  .compare-player-copy h2 { font-size:20px; }
  .clan-dossier-hero { gap:20px; padding:24px; }
  .clan-dossier-logo { width:100px; height:100px; }
  .clan-elo { padding:16px; }
  .insight-kpis { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .clan-overview-grid { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:680px) {
  .insights-page { padding-top:18px; }
  .insights-heading { align-items:flex-start; flex-direction:column; }
  .insights-heading p:not(.eyebrow) { font-size:12px; }
  .compare-lineup { gap:10px; grid-template-columns:minmax(0,1fr); }
  .compare-player { justify-content:flex-start; min-height:170px; padding:18px; gap:16px; }
  .compare-player-copy { padding-right:25px; }
  .compare-avatar { flex:0 0 62px; height:62px; }
  .compare-picker { min-height:0; padding:18px; }
  .compare-search-results { max-height:110px; }
  .compare-picker .eyebrow { margin-bottom:6px; }
  .compare-picker h3 { margin-bottom:12px; }
  .insight-filters { gap:12px; padding:14px; }
  .insight-filters .field { flex-basis:calc(50% - 12px); }
  .insight-tabs button { padding:12px 14px; font-size:11px; }
  .insight-section>header { padding:18px; }
  .insight-section h2 { font-size:18px; }
  .compare-table th,.compare-table td { padding:14px 12px; }
  .compare-table th:first-child { min-width:135px; width:135px; max-width:135px; position:sticky; left:0; z-index:1; background:#101823; border-right:1px solid #2c394d; }
  .compare-table thead th:first-child { background:#151f2d; }
  .compare-table td { min-width:105px; font-size:16px; }
  .clan-dossier-hero { flex-wrap:wrap; gap:16px; padding:20px; }
  .clan-dossier-logo { width:74px; height:74px; padding:10px; border-radius:14px; }
  .clan-dossier-title { flex-basis:calc(100% - 90px); }
  .clan-dossier-title .eyebrow { font-size:8px; }
  .clan-dossier-title h1 { font-size:28px; }
  .clan-elo { width:100%; flex-direction:row; justify-content:space-between; align-items:center; border-left:0; border-top:1px solid #344456; padding:16px 0 0; }
  .clan-elo strong { font-size:24px; }
  .clan-elo small { max-width:100px; }
  .insight-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .insight-kpis .insight-metric:last-child { grid-column:1/-1; }
  .insight-metric { padding:16px; }
  .insight-metric strong { font-size:23px; }
  .insight-metric>span { font-size:9px; }
  .insight-duel { gap:12px; padding:24px 14px; }
  .insight-duel .insight-player-link,.insight-duel .insight-team-link { flex-direction:column; text-align:center; font-size:12px; }
  .insight-duel>div>strong { font-size:38px; }
  .insight-duel>span { font-size:8px; max-width:100px; }
  .insight-match { padding:12px; }
  .insight-match>div { gap:8px; }
  .insight-match>div .insight-team-link { flex-direction:column; text-align:center; font-size:11px; }
  .insight-match>div>strong { font-size:17px; }
  .insight-matches { padding:12px; }
  .insight-roster-controls { align-items:stretch; flex-direction:column; }
  .insight-roster-controls .field { width:100%; }
  .insight-spotlight article { flex-wrap:wrap; }
  .insight-result { grid-template-columns:45px minmax(0,1fr) 12px; padding:16px 12px; }
  .insight-result time { grid-column:2; grid-row:2; }
  .insight-result>span:last-child { grid-column:3; grid-row:1; }
  .insight-rivals article { gap:10px; flex-wrap:wrap; }
  .insight-event-dialog { padding:18px; }
}

/* Compact archive rows keep the match action beside its metadata. */
.clan-dossier-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.clan-dossier-toolbar .community-back-link{margin:0}
.insight-matches{gap:8px;padding:14px}
.insight-match{padding:10px 14px}
.insight-match>header{display:flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:wrap}
.insight-match>header>span{display:flex;align-items:center;gap:5px}
.insight-match>header>.button{margin-left:auto;padding:4px 8px;min-height:26px;font-size:10px}
.insight-match>div{margin:9px 0 1px;gap:12px}
.insight-match>div>strong{font-size:18px}
@media(max-width:600px){.insight-matches{padding:10px}.insight-match{padding:9px 10px}.insight-match>header{gap:6px}.insight-match>header>.button{font-size:9px}}

/* Rating comparison keeps samples and public feedback separate from CW stats. */
.compare-rating-filters{display:grid;grid-template-columns:minmax(180px,300px) auto minmax(0,1fr)}
.compare-rating-filters .button{justify-self:start;align-self:end}
.compare-rating-table td{min-width:205px;vertical-align:top}
.compare-rating-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.compare-rating-summary>b{color:var(--vote-color);font-size:1.15rem}
.compare-community-tier{display:inline-block;color:var(--vote-color);font-size:1rem;font-weight:900;padding:3px 9px;border:1px solid currentColor;border-radius:6px;background:#111a28}
.compare-rating-summary>span{font-weight:700;font-size:.8rem}
.compare-rating-summary>small{flex-basis:100%;margin:0}
.compare-rating-table .rating-grade-counts{gap:4px;max-width:270px}
.compare-opinion-columns{display:grid;grid-template-columns:repeat(var(--opinion-columns,3),minmax(0,1fr));gap:14px;padding:18px}
.compare-opinion-columns>section{min-width:0}
.compare-opinion-columns h3{margin:0 0 12px}
.compare-opinion-columns .community-opinion{min-width:0;overflow-wrap:anywhere}
.compare-opinion-columns .community-opinion-sides{grid-template-columns:1fr}
@media(max-width:800px){.compare-opinion-columns{grid-template-columns:1fr}.compare-rating-filters{grid-template-columns:minmax(0,1fr) auto}.compare-rating-filters .insight-filter-note{grid-column:1/-1}}

/* Two compact profile cards. Identity content stays in normal grid flow. */
#comparePage .compare-player{position:relative}
#comparePage .compare-lineup{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px;width:100%;max-width:1040px;margin-inline:auto}
#comparePage .compare-slot{min-width:0;position:relative}
#comparePage .compare-player,#comparePage .compare-picker{height:auto;min-height:194px;padding:0;border-radius:12px;border-bottom:2px solid var(--compare-color);background:#101923}
#comparePage .compare-player{display:grid;grid-template-columns:92px minmax(0,1fr);grid-template-rows:auto 1fr;align-items:start;gap:0;overflow:hidden}
/* Match the full profile's 16:5 frame and saved crop instead of a thin strip. */
#comparePage .compare-cover{position:relative;inset:auto;grid-column:1/-1;width:100%;height:auto;aspect-ratio:16 / 5;border-bottom:1px solid #344558;overflow:hidden}
#comparePage .compare-cover .media-banner{position:absolute;inset:0}
#comparePage .compare-cover:after{background:linear-gradient(180deg,#10192305,#10192365)}
#comparePage .compare-portrait{position:relative;grid-column:1;grid-row:2;display:flex;flex-direction:column;align-items:center;gap:8px;margin:14px 8px 14px 14px;min-width:0}
#comparePage .compare-avatar{width:56px;height:56px;flex:0 0 56px;border:1px solid #41546d;border-radius:11px}
#comparePage .compare-activity{position:static;inset:auto;transform:none;white-space:nowrap;min-height:18px;padding:3px 5px;font-size:9px;line-height:1.2;max-width:100%}
#comparePage .compare-player-copy{position:static;grid-column:2;grid-row:2;padding:14px 16px 16px 8px;min-width:0;width:auto;align-self:start;overflow-wrap:anywhere}
#comparePage .compare-player-copy h2{font-size:clamp(16px,1.45vw,23px);margin:0 0 4px;line-height:1.2}
#comparePage .compare-player-copy .eyebrow{font-size:9px;margin:0 0 5px}
#comparePage .compare-player-copy small{font-size:11px;margin:0;line-height:1.3}
#comparePage .compare-player-copy>a{margin:6px 0 0;font-size:11px}
#comparePage .compare-remove{display:grid;place-items:center;width:26px;height:26px;min-height:26px;padding:0;line-height:1;font-size:20px;right:8px;top:8px}
#comparePage .compare-picker{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;text-align:center;border-style:dashed;padding:14px}
#comparePage .compare-picker .eyebrow,#comparePage .compare-picker h3,#comparePage .compare-picker p{margin:0}
#comparePage .compare-picker p{color:#94abc5;font-size:11px}
#comparePage .compare-empty-avatar{display:grid;place-items:center;width:48px;height:48px;border:1px solid #344b64;border-radius:12px;color:var(--compare-color);background:#1b2c3d;font-size:24px}
#comparePage .compare-slot-picker{position:relative;margin-top:10px}
#comparePage .compare-search-results{position:absolute;inset:100% 0 auto;z-index:30;max-height:280px;overflow-y:auto;margin:6px 0 0;padding:6px 8px;border:1px solid #49627f;border-radius:10px;background:#101b2b;box-shadow:0 12px 28px #0009}
#comparePage .compare-search-results[hidden]{display:none!important}
#comparePage .compare-search-results button{padding:10px 6px;min-height:40px;gap:6px}
#comparePage .compare-search-results>small{display:block;padding:10px}
#comparePage .compare-slot:has(input:focus){z-index:3}
.insight-result .insight-place{align-self:center;justify-self:start;display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:26px;padding:4px 6px;line-height:1;border-radius:6px}
.insight-result .insight-result-copy{min-width:0}.insight-result-copy>b{display:block}
.insight-result-team{display:inline-flex;margin-top:7px;padding:3px 7px;border-radius:5px;border:1px solid #40516a;color:#bcd0e7;font-size:11px!important;max-width:100%;overflow-wrap:anywhere}
.insight-result-team.gold{color:#ffe29a;border-color:#806e36;background:#51431e55}.insight-result-team.silver{color:#d5e6f8;border-color:#64758c;background:#42536c44}.insight-result-team.bronze{color:#f0ba93;border-color:#79533b;background:#593c2644}
#comparePage .insight-timelines{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px;padding:14px}
#comparePage .insight-timelines .insight-result{grid-template-columns:36px 28px minmax(0,1fr)!important;gap:8px;padding:10px!important;align-items:start;border-radius:8px}
#comparePage .insight-timelines .achievement-community-logo{width:28px;height:28px;align-self:start}
#comparePage .insight-timelines .insight-result time{grid-column:3;grid-row:2}
#comparePage .insight-timelines .insight-result-open{display:none}
#comparePage .insight-result-list{gap:8px}
@media(max-width:1000px){#comparePage .compare-lineup{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){#comparePage .compare-lineup{gap:12px 9px}#comparePage .compare-player-copy h2{font-size:16px}#comparePage .compare-slot-picker input{padding-inline:8px}#comparePage .compare-search-results{width:max(100%,220px)}#comparePage .compare-slot:nth-child(even) .compare-search-results{left:auto;right:0}}
.compare-player-copy .compare-arena{display:block;color:#9bbdd6;font-size:10px;font-weight:700;letter-spacing:.06em;margin:4px 0}
#comparePage .compare-player-copy h2{font-size:clamp(15px,1.4vw,21px)}
#comparePage .compare-player-copy .insight-player-link{flex-wrap:wrap;gap:4px;justify-content:flex-start}
#comparePage .insight-timelines{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}
#comparePage .insight-timelines>article{min-width:0;width:auto}
#comparePage .insight-timelines .insight-result{grid-template-columns:28px minmax(0,1fr)!important;grid-template-rows:auto auto auto;column-gap:8px;row-gap:5px;min-height:118px;text-align:left}
#comparePage .insight-timelines .insight-place{grid-column:1/-1;grid-row:1;justify-self:start;align-self:start;white-space:nowrap;flex-direction:row!important;font-size:11px;min-height:22px;line-height:1.1;padding:4px 7px}
#comparePage .insight-timelines .insight-place.gold{background:#66532155;color:#ffe297}
#comparePage .insight-timelines .insight-place.unknown{writing-mode:vertical-rl;grid-column:1;grid-row:1/4;font-size:9px;padding:5px 4px;background:#273645;color:#abc0d3}
#comparePage .insight-timelines .achievement-community-logo{grid-column:1;grid-row:2}
#comparePage .insight-timelines .insight-result-copy{grid-column:2;grid-row:2;min-width:0}
#comparePage .insight-timelines .insight-result time{grid-column:2;grid-row:3;font-size:10px}
#comparePage .insight-timelines .insight-result-team{display:block;border:0;background:none;padding:0;margin-top:5px;line-height:1.35}
#comparePage .insight-timelines .insight-result:has(.unknown) .achievement-community-logo{display:none}
#comparePage .insight-timelines .insight-result:has(.unknown) .insight-result-copy{grid-row:1/3}
@media(max-width:1000px){#comparePage .insight-timelines{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){#comparePage .insight-timelines{padding:8px;gap:8px}}
#comparePage .insight-timelines .insight-result{grid-template-columns:39px minmax(0,1fr)!important;grid-template-rows:auto auto;min-height:116px;align-content:start}
#comparePage .insight-timelines .insight-place{grid-column:1;grid-row:1;font-size:10px;padding:4px 5px}
#comparePage .insight-timelines .achievement-community-logo{grid-column:1;grid-row:2;justify-self:center}
#comparePage .insight-timelines .insight-result-copy{grid-column:2;grid-row:1/3}
#comparePage .insight-timelines .insight-result time{grid-column:2;grid-row:3}

/* Evolution is a dated history, with its own plotting area and period ledger. */
.evolution-content{padding:20px 24px 24px;min-width:0}
.evolution-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.evolution-toolbar strong{color:#e0f2ff;font-size:.95rem}.evolution-toolbar p{color:#a5bfd4;font-size:.8rem;margin:5px 0}
.evolution-toolbar label{display:grid;gap:6px;font-size:.75rem;color:#bfd4e7;min-width:190px}.evolution-toolbar select{padding:9px 12px;border:1px solid #456278;border-radius:8px;background:#0c1a28;color:#edf6ff}
.evolution-legend{display:flex;flex-wrap:wrap;gap:12px 22px;padding:16px 0;font-size:.82rem;font-weight:700}.evolution-legend span{display:flex;align-items:center;gap:8px}.evolution-legend i{width:10px;height:10px;border-radius:50%}
.evolution-chart-scroll{overflow-x:auto;border:1px solid #2e4a62;border-radius:12px;background:linear-gradient(150deg,#101e2e,#0b1420);padding:12px}
.evolution-chart{display:block;width:100%;max-width:1040px;min-width:560px;height:auto;margin-inline:auto;aspect-ratio:960/270}.evolution-chart text{fill:#b5cce0;font-size:12px}.evolution-chart .evolution-axis-title{font-size:11px;letter-spacing:.1em}.evolution-grid{stroke:#486279;stroke-opacity:.28}.evolution-baseline{stroke:#b2c4d6;stroke-opacity:.4;stroke-dasharray:5 5}.evolution-chart circle:focus,.evolution-chart circle:hover{stroke:#fff;stroke-width:3;outline:none}
.evolution-help{font-size:.76rem;line-height:1.6;color:#98b2c9;margin:12px 0 18px}
.evolution-players{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.evolution-player{min-width:0;border:1px solid #30475b;border-top:2px solid var(--evolution-color,#52738f);border-radius:10px;padding:16px;background:#101c2a}
.evolution-player>header{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;padding:0;border:0}.evolution-player h3{color:var(--evolution-color,#d7e8f6);font-size:1rem;margin:0}.evolution-player>header>span{font-size:.75rem;color:#acc6d9}.evolution-player h4{font-size:.78rem;color:#cee2f1;margin:16px 0 8px}
.evolution-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.evolution-summary small{display:block;font-size:.7rem;color:#9eb8ce;margin-bottom:4px}.evolution-summary b{font-size:1.1rem}.evolution-date-range{color:#a3bcd0;font-size:.72rem;margin:10px 0}
.evolution-milestones{display:grid;gap:6px}.evolution-milestones a{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #31495f;background:#172a3c;padding:9px 11px;border-radius:7px;color:#dcecf8;text-decoration:none;font-size:.78rem}.evolution-milestones a:hover{border-color:var(--evolution-color);background:#20384d}.evolution-milestones small{display:block;color:#9ebbd1;margin-top:4px;font-size:.68rem}.evolution-milestones b{white-space:nowrap;color:var(--evolution-color)}
.evolution-periods{margin-top:14px;border:1px solid #3c5970;border-radius:9px;background:#142737;overflow:hidden}.evolution-periods summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:10px 12px;cursor:pointer;color:#d8eeff;font-size:.79rem;font-weight:700;list-style:none;background:linear-gradient(120deg,#1d374a,#142635)}.evolution-periods summary::marker{content:''}.evolution-periods summary::-webkit-details-marker{display:none}.evolution-periods summary:hover{background:#234258}.evolution-periods summary:focus-visible{outline:2px solid #8bdcff;outline-offset:-3px}.evolution-breakdown-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:7px;background:#8bdcff14;color:var(--evolution-color,#8bdcff)}.evolution-breakdown-icon svg{width:19px;height:19px}.evolution-breakdown-copy{flex:1;min-width:0}.evolution-breakdown-copy small{display:block;margin-top:3px;font-size:.65rem;font-weight:400;color:#a3bdd0}.evolution-period-count{font-size:.66rem;font-weight:600;color:#b4cddd;white-space:nowrap}.evolution-breakdown-chevron{width:18px;height:18px;flex:none;transition:transform .15s}.evolution-periods[open] .evolution-breakdown-chevron{transform:rotate(180deg)}.evolution-periods[open] summary{border-bottom:1px solid #3c5970}.evolution-period-scroll{overflow:auto;max-height:260px;padding:0 8px}.evolution-periods table{width:100%;border-collapse:collapse;font-size:.74rem}.evolution-periods th,.evolution-periods td{padding:9px 8px;border-bottom:1px solid #283d50;text-align:right;white-space:nowrap}.evolution-periods th:first-child{text-align:left}.evolution-periods thead{position:sticky;top:0;background:#142737;color:#91abc3}
.evolution-chart-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:14px}.evolution-axis-switch{display:inline-flex;gap:3px;padding:3px;border:1px solid #3d5970;border-radius:9px;background:#0c1926}.evolution-axis-switch button{border:1px solid transparent;border-radius:6px;padding:7px 11px;background:transparent;color:#a6c1d4;font-size:.73rem;cursor:pointer;min-height:32px}.evolution-axis-switch button[aria-pressed=true]{background:#28495e;border-color:#6099b8;color:#ecf8ff}.evolution-axis-switch button:hover{color:#fff}.evolution-axis-switch button:focus-visible{outline:2px solid #8bdcff;outline-offset:1px}.evolution-axis-note{font-size:.7rem;color:#9db8cc}.evolution-legend{padding:12px 0}.evolution-help{margin:10px 0 14px}
@media(max-width:700px){.evolution-content{padding:14px}.evolution-players{grid-template-columns:1fr}.evolution-player{padding:13px}.evolution-chart-scroll{padding:4px}.evolution-chart{min-width:720px}.evolution-chart text{font-size:14px}.evolution-toolbar label{width:100%}}

/* Two-player focus, restricted source identities and immediate chart feedback. */
#comparePage .compare-lineup,#comparePage .insight-timelines{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){#comparePage .compare-lineup{grid-template-columns:1fr;max-width:440px}}
.career-account-section{overflow:visible}.career-source-pickers{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}
.career-account-picker{position:relative;min-width:0}.career-account-picker:focus-within{z-index:6}
.career-account-picker input{background:#0d1b29;color:#e8f5ff;border:1px solid #48677e;border-radius:9px;padding:12px 14px;min-height:44px;outline-offset:3px}
.career-account-selected{font-size:.75rem;line-height:1.5;color:#9bc5df;margin:8px 0 0;min-height:23px}
.career-account-options{position:absolute;z-index:8;top:calc(100% - 23px);left:0;right:0;max-height:290px;overflow-y:auto;padding:6px;border:1px solid #5788ab;border-radius:10px;background:#101e2d;box-shadow:0 12px 24px #0009}
.career-account-options[hidden]{display:none}.career-account-options button{display:flex;width:100%;justify-content:space-between;align-items:center;gap:12px;text-align:left;background:transparent;border:1px solid transparent;border-radius:7px;padding:11px 12px;color:#dceefb;cursor:pointer}
.career-account-options button:hover,.career-account-options button:focus-visible{background:#24435a;border-color:#73b6de}.career-account-options button[aria-pressed=true]{background:#1c3944;color:#b1f2cf}.career-account-options small{display:block;font-size:.68rem;color:#a5bdd1;margin-top:5px}.career-account-options p{font-size:.8rem;padding:10px;line-height:1.5}
.career-ranked-filters{display:flex;flex-wrap:wrap;gap:8px;padding:14px 22px;border-bottom:1px solid #31475d}.career-ranked-filters .button{min-height:38px;font-size:.78rem}.career-ranked-filters [aria-pressed=true]{box-shadow:inset 0 -3px #a7e553}
.career-cw-open{display:inline-flex;flex-direction:column;gap:2px;align-items:flex-start;border:1px solid #5487a7;background:#19364b;padding:8px 12px;border-radius:8px;text-decoration:none!important;color:#d5efff!important;font-size:.82rem}.career-cw-open:hover{background:#295571;border-color:#9ad7ff}.career-cw-open small{font-size:.66rem;color:#a1c3db;font-weight:400}
.career-cw-tags{display:flex;flex-wrap:wrap;gap:5px}.career-cw-tags b{font-size:.65rem;padding:4px 6px;background:#203246;border:1px solid #405671;border-radius:5px;color:#c1d9ed;white-space:nowrap}
.evolution-legend button{display:flex;align-items:center;gap:8px;border:1px solid #47627a;background:#142637;color:#bcd5e8;border-radius:8px;padding:9px 13px;cursor:pointer;font-weight:700;min-height:38px}.evolution-legend button[aria-pressed=true]{background:#294b61;border-color:#8bdcff;color:#fff}.evolution-legend button:hover{border-color:#a6d5f3}
.evolution-chart-wrap{position:relative}.evolution-tooltip{position:absolute;z-index:4;pointer-events:none;width:245px;max-width:calc(100% - 16px);padding:12px 14px;border:1px solid #8bdcff;background:#10283bf5;box-shadow:0 7px 20px #0008;border-radius:9px;color:#e9f7ff;font-size:.8rem}.evolution-tooltip[hidden]{display:none}.evolution-tooltip strong,.evolution-tooltip span,.evolution-tooltip small{display:block}.evolution-tooltip span{margin:6px 0}.evolution-tooltip small{color:#b4d3e8;font-size:.68rem}
.evolution-series{opacity:1}.evolution-series,.evolution-line,.evolution-point,.evolution-tooltip{transition:none!important;animation:none!important}.evolution-series.is-muted{opacity:.18}.evolution-series.is-highlighted .evolution-line{stroke-width:4}
.evolution-series.is-excluded{display:none!important;pointer-events:none!important}
.compare-achievement-date{display:block;margin:9px auto 0;max-width:230px;font-size:.7rem;font-weight:400;line-height:1.65;color:#9ebbd1}.compare-achievement-date a{color:#bddfff;text-decoration:none;border-bottom:1px dotted #628fab}.compare-achievement-date a:hover{color:#fff;border-color:#fff}
.evolution-line{stroke:var(--series-color);stroke-width:2.5;fill:none;pointer-events:none}.evolution-line-hit{stroke:transparent;stroke-width:12;fill:none;pointer-events:stroke;cursor:crosshair}
.evolution-point{cursor:pointer;outline:none}.evolution-point-hit{fill:transparent;stroke:none;pointer-events:all}.evolution-point-dot{fill:var(--series-color);stroke:#12283c;stroke-width:1.5;pointer-events:none}.evolution-point-dot.is-peak{stroke:#fff;stroke-width:2}
.evolution-chart .evolution-point circle{transition:none}.evolution-chart .evolution-point-hit:hover,.evolution-chart .evolution-point-hit:focus{stroke:none}.evolution-point:hover .evolution-point-dot,.evolution-point:focus .evolution-point-dot{r:6;stroke:#fff;stroke-width:2.5}
@media(max-width:600px){.career-source-pickers{grid-template-columns:1fr}.career-account-options{top:70px}.career-ranked-filters{padding:12px}.career-cw-tags b{font-size:.62rem}}
@media(max-width:420px){#comparePage .compare-lineup,#comparePage .insight-timelines{grid-template-columns:1fr}.evolution-legend{gap:7px}.evolution-legend button{padding:9px 10px}}
.career-shared-statistics>h2{margin:0;padding:20px 18px 12px;font-size:1.15rem;line-height:1.4;color:#d4ebff;overflow-wrap:anywhere}
.career-shared-statistics>h2+.career-h2h-note{line-height:1.6}
