:root{color-scheme:dark;--bg:#0b101b;--panel:#121b2b;--line:#253047;--muted:#93a3bc;--text:#e7edf8;--blue:#719bff;--green:#54d9b0;--red:#f18596;--gold:#e3c481}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}button,input,select{font:inherit}button,select,input{border:1px solid var(--line);background:#162238;color:var(--text);border-radius:7px;padding:10px 14px}button{cursor:pointer}button:hover{background:#223653}button:disabled{opacity:.5}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--blue);outline-offset:4px}.top{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 max(24px,calc((100vw - 1240px)/2));gap:24px}.brand{font-size:16px;letter-spacing:1.5px;font-weight:800;white-space:nowrap;display:flex;align-items:center;gap:8px}.brand>span:last-child{font-weight:400;color:var(--muted)}.brand-mark{display:grid;place-items:center;border:1px solid #577bdb;background:#213765;color:#bacfff;width:34px;height:34px;transform:skew(-8deg);margin-right:6px}nav{display:flex;align-items:center;gap:35px}.live{font-size:10px;letter-spacing:1.5px;color:var(--muted)}.live i{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;margin-right:6px}main{max-width:1240px;min-height:70vh;margin:0 auto;padding:36px 24px 60px}h1{font-size:34px;letter-spacing:-1px;line-height:1.2;margin:8px 0 12px}h2{font-size:17px;margin:0}p{margin:0 0 16px}.eyebrow{color:var(--blue);letter-spacing:2px;font-size:10px;font-weight:700}.muted,small{color:var(--muted)}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.heading p{margin:0}.summary{display:flex;gap:30px}.summary strong{display:block;font-size:25px;line-height:1.1;font-variant-numeric:tabular-nums}.summary small{font-size:11px}.grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:22px}.panel-head{padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:14px;border-bottom:1px solid var(--line)}.panel-body{padding:20px}.search{width:210px;padding:8px 12px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-variant-numeric:tabular-nums;white-space:nowrap}th{font-size:10px;color:var(--muted);letter-spacing:1px;font-weight:500;padding:12px 16px;background:#101827}td{padding:15px 16px;border-top:1px solid #202c40}.roster td:first-child{color:var(--muted);width:45px}.identity{font-weight:650}.identity small{font-weight:400;margin-left:4px}.rank{color:var(--gold);font-weight:600}.rank small{color:var(--muted);font-weight:400}.positive{color:var(--green)}.negative{color:var(--red)}.meter{display:flex;width:105px;height:4px;background:#78364b;border-radius:4px;overflow:hidden;margin-top:6px}.meter i{background:#54bda4}.recent{display:block;padding:16px 20px;border-bottom:1px solid var(--line)}.recent:last-child{border:0}.recent strong{font-size:13px;display:block}.recent .meta{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:5px}.badge{font-size:9px;letter-spacing:.7px;border:1px solid #3c568a;color:#a9c5ff;border-radius:4px;padding:2px 5px;white-space:nowrap}.note{font-size:12px;color:var(--muted);padding:16px 20px;border-top:1px solid var(--line)}.empty{padding:45px 24px;text-align:center;color:var(--muted)}.crumb{display:inline-block;color:var(--muted);font-size:12px;margin-bottom:22px}.profile-grid{display:grid;grid-template-columns:290px minmax(0,1fr);gap:24px}.rank-block{padding:24px}.rank-emblem{height:72px;width:72px;display:grid;place-items:center;font-size:28px;color:var(--gold);background:linear-gradient(145deg,#343240,#182235);border:1px solid #7b6b47;clip-path:polygon(20% 0,80% 0,100% 25%,90% 80%,50% 100%,10% 80%,0 25%);margin:0 0 18px}.rank-block h2{font-size:23px;color:var(--gold)}.rank-block .lp{font-size:32px;font-weight:650;margin:6px 0}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 22px}.stat{padding:20px;border:1px solid var(--line);border-radius:9px;background:var(--panel)}.stat strong{display:block;font-size:25px;margin:5px 0}.stat small{font-size:11px}.filters{display:flex;gap:8px;align-items:center}.champ-row{display:flex;align-items:center;gap:12px;padding:13px 18px;border-bottom:1px solid var(--line)}.champ-row:last-child{border:0}.portrait{width:40px;height:40px;border-radius:7px;background:#26364e;object-fit:cover;display:inline-grid;place-items:center;color:#c2d2ed;font-weight:700;flex-shrink:0}.champ-row .right{margin-left:auto;text-align:right}.champ-row small{display:block;font-size:11px}.chart{width:100%;height:auto;display:block}.chart text{fill:var(--muted);font-size:10px}.history-row{display:flex;align-items:center;gap:16px;border-top:1px solid var(--line);border-left:3px solid #557fc0;padding:15px 18px;background:linear-gradient(90deg,#182c4544,transparent)}.history-row.loss{border-left-color:#b05d73;background:linear-gradient(90deg,#4a223444,transparent)}.history-row.remake{border-left-color:var(--muted)}.result{min-width:70px;font-weight:700}.result small,.performance small{display:block;font-size:11px;font-weight:400;margin-top:4px}.performance{min-width:110px}.history-row .meta{margin-left:auto;color:var(--muted);text-align:right;font-size:11px}.arrow{color:var(--muted);font-size:20px}.load{display:block;margin:20px auto}.score-banner{display:flex;justify-content:space-between;align-items:center;padding:26px 30px;background:linear-gradient(105deg,#162b4b,#171e2b 48%,#3b202d)}.score-banner .side{font-size:20px;font-weight:700}.score-banner .side small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:2px}.score{font-size:34px;font-weight:700;letter-spacing:8px}.blue{color:#8ab4ff}.red{color:#f59bae}.team-title{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}.objectives{font-size:12px;color:var(--muted);display:flex;gap:20px}.scoreboard td{padding:14px 12px}.scoreboard .who{display:flex;align-items:center;gap:10px}.scoreboard .who small{display:block;font-size:10px;font-weight:400;color:var(--muted)}.scoreboard .badge{margin-left:5px}.damage{height:4px;background:#26354c;width:95px;margin-top:6px}.damage i{display:block;background:#779ef1;height:4px}.items{display:flex;gap:3px}.item{width:24px;height:24px;background:#0b1423;border:1px solid #2a374b;border-radius:4px}.item img{width:100%;height:100%;border-radius:3px}.legend{display:flex;gap:20px;margin:18px 0;color:var(--muted);font-size:12px}footer{border-top:1px solid var(--line);max-width:1192px;margin:0 auto;padding:24px 0;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:10px}footer b{margin:0 8px}.error h1{font-size:25px}.error button{margin-top:12px}@media(max-width:1000px){.grid{grid-template-columns:1fr}.grid>aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.profile-grid{grid-template-columns:240px minmax(0,1fr)}.history-row{gap:10px}.history-row .meta{max-width:85px}.live{display:none}footer{margin:0 24px}.scoreboard{font-size:12px}}@media(max-width:720px){.top{height:66px;padding:0 18px}.brand{font-size:12px;letter-spacing:1px}.brand-mark{width:28px;height:28px}.top nav{font-size:12px}main{padding:25px 16px 40px}h1{font-size:28px}.heading{align-items:flex-start;flex-direction:column;gap:18px}.summary{gap:28px}.summary strong{font-size:22px}.panel-head{padding:16px}.search{width:150px}.profile-grid{grid-template-columns:1fr}.profile-grid>aside{display:grid;grid-template-columns:1fr 1fr;gap:12px}.rank-block{padding:18px}.rank-block h2{font-size:19px}.champ-row{padding:12px;gap:8px}.champ-row .portrait{width:30px;height:30px}.champ-row .right{font-size:11px}.stat{padding:14px}.stat strong{font-size:21px}.history-row{padding:14px 10px;gap:9px}.history-row .performance{min-width:85px}.history-row .portrait{width:32px;height:32px}.history-row .result{min-width:53px;font-size:12px}.history-row .meta{font-size:10px}.grid>aside{display:block}.score-banner{padding:20px 16px}.score-banner .side{font-size:16px}.score{font-size:25px;letter-spacing:3px}.objectives{gap:12px;font-size:10px}.legend{flex-wrap:wrap;gap:8px}footer{flex-direction:column}.panel-head:has(.filters){align-items:flex-start;flex-direction:column}.filters select{padding:8px;font-size:12px}}@media(max-width:430px){.brand>span:last-child{display:none}.profile-grid>aside{display:block}.history-row .meta{display:none}.stat-grid{gap:7px}.stat small{font-size:10px}.scoreboard td{padding:12px 9px}}

[hidden]{display:none!important}

[hidden]{display:none!important}

/* Link affordances: labels remain text; destinations react to hover/focus. */
.identity{text-decoration:underline;text-underline-offset:3px;text-decoration-color:#526b92}.identity:hover{text-decoration-color:currentColor}.recent:hover,.recent:focus-visible{background:#1c2b43}.history-row:hover,.history-row:focus-visible{background:#203149}.badge{cursor:default}

/* Official Riot artwork and profile controls. */
.riot-emblem{width:100px;height:100px;object-fit:contain;flex-shrink:0}.riot-emblem.small{width:56px;height:56px;margin:-18px 0}.rank-inline{display:flex;align-items:center;gap:6px}.current-rank{display:flex;align-items:center;padding:8px 12px;border-bottom:1px solid var(--line);gap:6px;min-height:115px}.current-rank>div{display:flex;flex-direction:column;gap:3px}.current-rank strong{color:var(--gold);font-size:16px}.current-rank small{font-size:12px}.filter-bar{display:flex;align-items:end;gap:16px;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:16px 20px;margin-bottom:24px}.filter-bar label{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0;color:var(--muted);font-size:13px}.filter-bar select{width:100%;font-size:14px;min-height:44px}.reset-filters{color:var(--blue);padding:12px 0;font-size:13px;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}.profile-grid{grid-template-columns:310px minmax(0,1fr)}.partner-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid var(--line)}.partner-row>div{min-width:0}.partner-row .identity{display:block;overflow-wrap:anywhere;font-size:14px}.partner-row small{display:block;font-size:12px;margin-top:5px}.partner-row .identity small{display:inline}.partner-row>strong{font-size:15px}.role-row{padding:13px 18px;border-bottom:1px solid var(--line)}.role-heading,.role-detail{display:flex;justify-content:space-between;gap:12px}.role-heading{font-size:14px}.role-heading span,.role-detail{font-size:12px;color:var(--muted)}.role-meter{height:5px;background:#26364f;margin:9px 0;border-radius:5px;overflow:hidden}.role-meter i{height:100%;display:block;background:var(--blue)}.empty.compact{padding:24px 18px;font-size:13px}.profile-grid .note{font-size:12px}.profile-grid .panel-head small{font-size:12px}.profile-grid .stat small{font-size:12px}@media(max-width:1000px){.profile-grid{grid-template-columns:280px minmax(0,1fr)}.filter-bar{gap:12px}.current-rank{padding:8px}.riot-emblem{width:85px;height:85px}}@media(max-width:760px){.profile-grid{grid-template-columns:1fr}.profile-grid>aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.filter-bar{flex-wrap:wrap;padding:16px}.filter-bar label{flex-basis:calc(50% - 12px)}.filter-bar .reset-filters{flex-basis:calc(50% - 12px)}.current-rank strong{font-size:14px}.riot-emblem{width:70px;height:70px}}@media(max-width:500px){.profile-grid>aside{display:block}.filter-bar label{flex-basis:100%}.filter-bar .reset-filters{flex-basis:100%;padding:3px 0}.current-rank{padding:10px 18px}.riot-emblem{width:100px;height:100px}.rank-inline{gap:0}.riot-emblem.small{width:42px;height:42px}.profile-grid .stat{padding:12px}.profile-grid .stat small{font-size:11px}}

.latest-panel .recent-win{background:#143029;border-left:3px solid #429a76}.latest-panel .recent-loss{background:#351f2b;border-left:3px solid #b15569}.latest-panel .recent-remake{background:#292c34;border-left:3px solid #8a8e99}.latest-panel .recent-mixed{background:#242a35;border-left:3px solid #858a9c}.latest-panel .recent-win:hover{background:#1b3a32}.latest-panel .recent-loss:hover{background:#422633}.latest-panel .recent-remake:hover{background:#32353e}.recent-outcome{display:block;margin-top:6px;font-size:10px;font-weight:700}.recent-win .recent-outcome{color:#78d9ac}.recent-loss .recent-outcome{color:#f19bab}.recent-remake .recent-outcome{color:#c0c3cd}.recent-players .player-win{background:#163e30;border-radius:4px;padding:4px}.recent-players .player-loss{background:#472833;border-radius:4px;padding:4px}.individual-result{margin-left:auto!important;font-weight:700}.profile-placeholder{font-size:13px}
/* Compact leaderboard, with a single page heading. */
main{max-width:1540px;padding-top:38px}footer{max-width:1492px;padding-left:24px;padding-right:24px}
.leaderboard-heading{margin-bottom:28px}.leaderboard-heading h1{font-size:30px;font-weight:750;letter-spacing:-.8px;margin:0}.leaderboard-heading .summary{font-size:12px;color:var(--muted);gap:22px}.leaderboard-heading .summary strong{display:inline;font-size:15px;color:var(--text);margin-right:5px}
.leaderboard-grid{grid-template-columns:minmax(0,1fr) 280px;gap:24px}.leaderboard-panel{min-width:0}.leaderboard-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;min-height:62px}.queue-tabs{display:flex;background:#1c2030;border:1px solid #303247;border-radius:7px;padding:3px}.queue-tabs button{background:transparent;border:0;font-weight:650;color:var(--muted);padding:9px 13px;white-space:nowrap}.queue-tabs button[aria-pressed=true]{background:#36334d;color:#e7e3ff}.role-filters{display:flex;gap:2px}.role-filters button{border:1px solid transparent;background:transparent;border-radius:7px;color:#9192a7;display:grid;justify-items:center;gap:4px;padding:7px 8px;min-width:39px}.role-icon{width:22px;height:22px;display:inline-block;vertical-align:middle}.role-filters small{font-size:10px;color:inherit}.role-filters button[aria-pressed=true]{background:#bbb5e5;color:#151421}.role-filters button:hover{border-color:#a79ed2}.leaderboard-tools .search{width:180px;background:#1a1f2e;min-width:125px}
.leaderboard-table{border-collapse:separate;border-spacing:0 5px;font-size:14px;min-width:960px}.leaderboard-table th{background:transparent;text-transform:none;letter-spacing:0;font-size:13px;padding:8px 10px;color:#9da5bc}.leaderboard-table td{border:0;padding:8px 10px;height:61px;background:#202331}.leaderboard-table tbody tr:nth-child(-n+3) td{background:#292638}.leaderboard-table tbody tr:hover td{background:#323248}.leaderboard-table td:first-child{border-radius:6px 0 0 6px;font-size:18px;font-weight:650;text-align:center;color:#c6c5d4;width:42px}.leaderboard-table td:last-child{border-radius:0 6px 6px 0}.leaderboard-table th:nth-child(3),.leaderboard-table th:nth-child(6){text-align:center}.leaderboard-player{display:flex;align-items:center;gap:10px;min-width:210px}.leaderboard-player .portrait{width:40px;height:40px}.leaderboard-player .identity{font-size:15px;text-decoration:none;display:block;line-height:1.25}.leaderboard-player .identity:hover{text-decoration:underline}.leaderboard-player .identity small{display:block;font-size:11px;margin:3px 0 0}.leaderboard-player .sync-note{font-size:9px;display:block;line-height:1.1;margin-top:3px}.in-game{margin-left:auto;color:#fff;background:#b93643;border:1px solid #dd5663;border-radius:4px;font-size:9px;letter-spacing:.2px;font-weight:800;padding:3px 5px;white-space:nowrap}.main-role{text-align:center;color:#a3a0b4}.main-role small{display:block;font-size:11px;margin-top:1px;color:inherit}.main-role .role-icon{width:19px;height:19px}.leaderboard-rank{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:15px;min-width:135px}.leaderboard-rank .riot-emblem.small{height:45px;width:45px;margin:-5px 0;object-fit:contain}.tier-iron{color:#aaa2a1}.tier-bronze{color:#c59470}.tier-silver{color:#c2d1dc}.tier-gold{color:#e3bd5d}.tier-platinum{color:#81ccdf}.tier-emerald{color:#46d092}.tier-diamond{color:#a596ed}.tier-master{color:#d28feb}.tier-grandmaster{color:#ef8493}.tier-challenger{color:#efd38b}.tier-unranked{color:var(--muted);font-size:13px}
.record-bar{position:relative;display:flex;align-items:stretch;width:180px;border-radius:5px;background:#363646;overflow:hidden;min-height:34px;font-size:12px;text-align:center;font-weight:650}.record-count{flex:1;padding:7px 5px}.record-percent{padding:7px 9px;background:#676772;min-width:45px}.record-percent.winning{background:#668ca5}.record-bar i{position:absolute;bottom:0;left:0;height:2px;background:#bcb4e9;opacity:.6}.leaderboard-table .kda{text-align:center;color:#91cfdf;font-size:16px;font-weight:650}.best-champs{display:flex;gap:5px}.best-champs a{border-radius:6px;display:block}.best-champs .portrait{width:31px;height:31px;border-radius:6px;font-size:10px}.best-champs a:hover{outline:2px solid #a99bdf}.leaderboard-note{font-size:11px;line-height:1.7;color:#8590a7;margin:12px 6px 0}.latest-panel{margin-top:8px}.latest-panel .panel-head{padding:17px 16px}.latest-panel h2{font-size:15px}.latest-panel .recent{padding:15px 16px}.recent-match{display:block}.recent-match:hover strong{text-decoration:underline}.recent-players{display:flex;flex-direction:column;gap:8px;margin-top:12px}.recent-players:empty{display:none}.recent-player{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px}.recent-player>.portrait{width:25px;height:25px;border-radius:4px;font-size:9px}.recent-player>span{min-width:0;overflow-wrap:anywhere}.recent-player small{font-size:10px;margin-left:4px}.recent-player:hover>span{text-decoration:underline}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1340px){.leaderboard-grid{grid-template-columns:1fr}.leaderboard-grid>aside{display:block}.latest-panel{margin-top:0}.latest-panel #latest-matches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.latest-panel .recent{border-bottom:1px solid var(--line);border-right:1px solid var(--line)}.leaderboard-table{min-width:930px}.leaderboard-tools{justify-content:flex-start}.leaderboard-tools .search{margin-left:auto}}
@media(max-width:760px){main{padding:24px 16px 40px}.leaderboard-heading h1{font-size:27px}.leaderboard-heading{gap:12px}.leaderboard-heading .summary{gap:16px}.leaderboard-tools{flex-wrap:wrap;gap:12px}.role-filters{order:3;flex-basis:100%}.role-filters button{min-width:44px}.leaderboard-tools .search{width:160px}.leaderboard-table{min-width:920px}.latest-panel #latest-matches{grid-template-columns:repeat(2,minmax(0,1fr))}.leaderboard-grid>aside{display:block}.leaderboard-note{font-size:11px}.leaderboard-grid .table-wrap{border-radius:6px}}
@media(max-width:430px){.latest-panel #latest-matches{grid-template-columns:1fr}.leaderboard-tools .search{width:145px}.queue-tabs button{padding:8px 9px;font-size:12px}.leaderboard-heading .summary{font-size:11px}}

/* Original client role artwork, with clear contrast on the selected filter. */
.role-icon{object-fit:contain}.role-filters button[aria-pressed=true] img.role-icon{filter:brightness(0);opacity:.8}.all-roles-icon{text-align:center;line-height:22px;font-size:23px}.role-heading .role-icon{width:20px;height:20px;margin-right:4px}
.played-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(45px,.7fr) minmax(48px,.7fr);gap:12px;padding:10px 16px;align-items:center}.played-head{color:var(--muted);font-size:11px;padding-bottom:3px}.played-name{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px}.played-name .portrait{width:30px;height:30px;flex-shrink:0}.played-name .role-icon{width:28px;height:28px;flex-shrink:0}.played-name .identity{min-width:0;overflow-wrap:anywhere}.mini-meter{height:7px;background:#263242;margin-bottom:4px}.mini-meter i{display:block;height:100%;background:#39a8ca}.mini-meter.wins i{background:#43cba5}.history-roles{margin:18px 0}.season-head,.season-row{display:grid;grid-template-columns:65px 1fr 30px;gap:8px;align-items:center;width:100%;padding:8px 14px;text-align:left;font-size:11px}.season-head{color:var(--muted);background:#1b2333}.season-row{border:0;background:transparent;color:inherit;cursor:pointer}.season-row>span:last-child{text-align:right}.season-row>span:nth-child(2){display:flex;align-items:center;gap:4px}.season-row .riot-emblem.small{width:25px;height:25px}.season-entry{position:relative}.season-entry:nth-child(even){background:#ffffff04}.season-tooltip{display:none;position:absolute;z-index:10;bottom:100%;left:0;width:100%;padding:14px;background:#080e18;border:1px solid #40485c;box-shadow:0 8px 24px #0008;grid-template-columns:1fr 1fr;gap:12px}.season-tooltip>div{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center}.season-tooltip .riot-emblem{width:48px;height:48px}.season-tooltip strong{font-size:12px}.season-tooltip small{font-size:10px;color:var(--muted)}.season-tooltip>small{grid-column:1/-1}.season-row:focus-visible+.season-tooltip,.season-row[aria-expanded=true]+.season-tooltip{display:grid}@media(hover:hover){.season-entry:hover .season-tooltip{display:grid}}.season-entry[hidden]{display:none}

/* Peak cards must escape the season panel; plain final ranks are not controls. */
.panel.past-ranks{overflow:visible}.season-row:not(button){cursor:default}.season-entry:focus-within,.season-entry:hover{z-index:20}
.lp-role-details{margin-top:8px;color:var(--muted,#a5b2cc);font-size:12px}
.lp-role-details summary{cursor:pointer;width:fit-content;padding:4px 0}
.lp-role-details p{margin:8px 0;line-height:1.5}
.lp-role-details ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.lp-role-details li{display:flex;align-items:center;gap:8px;line-height:1.5}
.lp-role-details .role-icon{width:18px;height:18px;flex-shrink:0}
.site-nav{max-width:1500px;margin:0 auto;padding:18px 24px 0;display:flex;gap:24px;font-size:14px}.site-nav a{color:var(--muted,#a5b2cc)}.site-nav a:hover{color:#fff}
.counter-controls{padding:20px;display:flex;flex-wrap:wrap;gap:16px;align-items:end}.counter-controls label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#a5b2cc}.counter-controls select,.counter-controls input{min-height:42px;min-width:150px}.counter-search{flex:1;min-width:230px}.counter-roles{flex-basis:100%;display:flex;gap:6px}.counter-roles button{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:52px}.counter-roles .role-icon{width:22px;height:22px}.counter-roles button.active{background:#b8b1df;color:#101725}.counter-heading{display:flex;align-items:center;gap:18px;margin:30px 0 16px}.counter-heading>.portrait{width:80px;height:80px;border-radius:14px}.counter-heading h2{font-size:25px;margin:0 0 8px}.counter-heading p,.counter-note{color:#a5b2cc;font-size:13px;line-height:1.6}.counter-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px;align-items:start}.counter-columns h2{font-size:17px}.counter-row{padding:16px 20px;display:flex;align-items:center;gap:14px;border-top:1px solid #26334c}.counter-row>.portrait{width:48px;height:48px;border-radius:8px}.counter-name{flex:1;min-width:0}.counter-name>small{display:block;margin-top:5px}.counter-rate{text-align:right;font-size:20px}.counter-rate small{display:block;color:#a5b2cc;font-size:11px;font-weight:normal}.counter-meter{height:4px;background:#29354a;margin-top:9px;width:120px;max-width:100%}.counter-meter i{height:100%;display:block;background:#719bff}
@media(max-width:720px){.counter-columns{grid-template-columns:1fr}.counter-controls label{flex:1;min-width:130px}.counter-controls select{width:100%;min-width:0}.counter-controls .counter-search{flex-basis:100%}.counter-roles{justify-content:space-between}.counter-roles button{min-width:38px;padding:8px 4px}.counter-heading h2{font-size:21px}}

.counter-scroll{max-height:560px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#647593 #172132}.counter-scroll:focus-visible{outline:2px solid #719bff;outline-offset:-2px}@media(max-width:720px){.counter-scroll{max-height:420px}}

/* Player pages and the full champion statistics table. */
.profile-tabs{display:flex;gap:8px;margin-top:18px}.profile-tabs a{padding:10px 24px;border-radius:6px;background:#192132;color:var(--muted);font-size:14px;font-weight:600}.profile-tabs a[aria-current=page]{background:#bcb6e2;color:#171526}.profile-tabs a:hover{box-shadow:inset 0 0 0 1px #bcb6e2}.profile-tabs a:focus-visible,.champion-table button:focus-visible{outline:2px solid #93b4ff;outline-offset:3px}
.champion-controls{display:grid;grid-template-columns:1fr auto 1fr;gap:24px;align-items:center;margin:20px 0}.champion-controls>label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:12px;justify-self:end}.champion-controls>.champion-season{justify-self:center;text-align:center;text-transform:uppercase;font-weight:700}.champion-controls select{min-height:42px;min-width:170px;font-size:14px}.champion-controls .role-filters{gap:5px}.champion-controls .role-filters button{min-width:40px}
.champion-table{width:100%;min-width:800px;border-collapse:separate;border-spacing:0 5px;font-size:14px}.champion-table th,.champion-table td{padding:10px 14px;border:0;vertical-align:middle;text-align:center}.champion-table thead th{color:var(--muted);font-weight:400;font-size:13px}.champion-table thead button{padding:6px 0;background:transparent;border:0;color:inherit;font:inherit;cursor:pointer}.champion-table thead th[aria-sort=descending],.champion-table thead th[aria-sort=ascending]{color:#e4e8f6;font-weight:700}.champion-table tbody tr{background:#1c2433}.champion-table tbody td:first-child{border-radius:6px 0 0 6px;width:40px}.champion-table tbody td:last-child{border-radius:0 6px 6px 0}.champion-table th:nth-child(2){text-align:left;min-width:175px}.champion-name{display:flex;align-items:center;gap:12px;width:fit-content}.champion-name:hover span{text-decoration:underline}.champion-name .portrait{width:42px;height:42px;border-radius:6px}.champion-table .champ-games{font-weight:700;font-size:17px}.champ-record{display:inline-block;color:var(--muted);margin-left:12px;font-size:11px;white-space:nowrap}.champ-kda strong{white-space:nowrap;font-size:13px}.champ-kda small{display:block;color:#8ed5ec;font-size:12px;margin-top:3px}.champ-cs{font-weight:700;color:#bce8f5}.champ-results{display:flex;justify-content:center;gap:4px;white-space:nowrap}.champ-result{display:inline-grid;place-items:center;width:23px;height:26px;border-radius:5px;color:#fff;font-size:11px;font-weight:700}.champ-result.win{background:#495f93}.champ-result.loss{background:#974555}.champ-result:hover{outline:1px solid white}.champion-note{font-size:12px;color:var(--muted);line-height:1.6;margin-top:14px}
@media(max-width:900px){.champion-controls{grid-template-columns:1fr 1fr;gap:14px}.champion-controls>.role-filters{grid-column:1/-1}.champion-controls>.champion-season{justify-self:start;text-align:left}.champion-table th,.champion-table td{padding:8px 10px}.champ-record{display:block;margin:4px 0 0}}
@media(max-width:480px){.champion-controls select{min-width:0;width:100%}.champion-controls>label{width:100%}.profile-tabs a{padding:10px 20px}}

/* Losing records alone use the existing muted red palette. */
.profile-tabs{flex-wrap:wrap}
.champion-table tbody tr.negative-record{background:#351f2b}

.partner-controls{display:flex;justify-content:center;margin:20px 0}
.partner-controls label{display:flex;flex-direction:column;gap:6px;text-align:center;text-transform:uppercase;color:var(--muted);font-size:12px;font-weight:700}
.partner-controls select{min-height:42px;min-width:170px;font-size:14px}
.partner-tag{display:block;color:var(--muted);font-weight:400;margin-top:4px}
.duo-combo,.duo-champion{display:inline-flex;align-items:center;gap:8px}
.duo-combo{justify-content:center;gap:12px}
.duo-combo .portrait{width:34px;height:34px;border-radius:5px;flex-shrink:0}
.partner-expand{font-size:20px;min-width:36px;min-height:36px;padding:4px;background:transparent;color:var(--muted);border:0;cursor:pointer}
.partners-table>tbody>tr.partner-detail{background:#171e2c}
.partners-table>tbody>tr.partner-detail>td{padding:12px 24px 18px;text-align:left;border-radius:6px}
.combo-heading{display:flex;align-items:center;gap:16px;margin-bottom:6px}
.combo-heading h2{font-size:14px;margin:0}.combo-heading small{color:var(--muted);font-size:11px}
.combo-table{width:100%;border-collapse:separate;border-spacing:0 3px;font-size:13px}
.champion-table .combo-table th,.champion-table .combo-table td{padding:6px 12px;text-align:center;width:auto;min-width:0}
.champion-table .combo-table th:first-child{text-align:left;width:55%}
.combo-table .duo-combo{justify-content:flex-start}
.combo-table .duo-combo .portrait{width:28px;height:28px}
.champion-table .combo-table .champ-games{font-size:14px}
.partner-detail[hidden]{display:none}
@media(max-width:600px){.partners-table>tbody>tr.partner-detail>td{padding:10px}.combo-heading{gap:8px}.duo-combo{gap:8px}}

/* Keep statistics as table rows; the old sidebar .partner-row uses flex. */
.champion-table tbody th{background:transparent;font-size:inherit;letter-spacing:normal;color:inherit}
.partners-table{table-layout:fixed;min-width:980px}
.partner-number-col{width:48px}.partner-name-col{width:26%}.partner-games-col{width:10%}.partner-record-col{width:18%}.partner-combo-col{width:18%}.partner-arrow-col{width:52px}
.partners-table>tbody>tr.duo-partner-row{display:table-row}
.partners-table>thead>tr>th:first-child,.partners-table>tbody>tr.duo-partner-row>td:first-child{width:48px;padding-left:8px;padding-right:8px}
.partners-table>thead>tr>th:last-child,.partners-table>tbody>tr.duo-partner-row>td:last-child{padding-left:8px;padding-right:8px}
.partners-table .champion-name{max-width:100%;width:auto;min-width:0}
.partners-table .champion-name>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.partners-table .champ-record{display:block;margin:4px 0 0}

.lp-tooltip{position:fixed;z-index:1000;display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #26334b;border-radius:7px;background:#0b101bf5;box-shadow:0 6px 20px #0006;pointer-events:none;font-size:12px}.lp-tooltip[hidden]{display:none}.lp-tooltip .riot-emblem.small{width:30px;height:30px;object-fit:contain}.lp-tooltip strong,.lp-tooltip small{display:block}.lp-tooltip small{margin-top:3px;color:var(--muted,#91a3ba)}[data-lp-chart]:focus-visible{outline:1px solid #a596ed;outline-offset:4px}

.profile-hero{position:relative;isolation:isolate;overflow:hidden;min-height:260px;padding:52px 32px 28px;border:1px solid var(--line);border-radius:10px;background:var(--panel);align-items:flex-end}.profile-hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;z-index:-2}.profile-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0b101bf2 0%,#0b101ba8 42%,#0b101b28 100%),linear-gradient(0deg,#0b101bf2 0%,#0b101b22 80%);pointer-events:none}.profile-hero-content{min-width:0;width:100%}.profile-hero h1{font-size:clamp(32px,3.5vw,46px);font-weight:800;line-height:1.2;margin:20px 0 30px;overflow-wrap:anywhere;text-shadow:0 2px 12px #0008}.profile-hero h1 .muted{font-size:.65em;font-weight:600;color:#b7c3d5}.profile-hero .profile-tabs{margin-top:0}.profile-hero .eyebrow{color:#a8c1ff}@media(max-width:720px){.profile-hero{padding:36px 20px 22px;min-height:250px;align-items:stretch}.profile-hero h1{margin:18px 0 28px}.profile-hero-art{object-position:65% 30%}.profile-hero::before{background:linear-gradient(90deg,#0b101bd9,#0b101b66),linear-gradient(0deg,#0b101bf2,transparent)}.profile-hero .profile-tabs{gap:7px}.profile-hero .profile-tabs a{padding:9px 14px}}

/* Compact, mirrored two-team match details; existing portrait/item/damage primitives. */
.match-details .crumb{margin-bottom:8px}.match-details .heading{margin-bottom:14px}.match-details h1{font-size:26px;margin:4px 0 6px}.match-score{margin-bottom:12px}.match-details .score-banner{padding:10px 16px}.match-details .score-banner .side{font-size:16px}.match-details .score-banner .side.red{text-align:right}.match-details .score{font-size:26px}
.match-teams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.match-team{margin:0;min-width:0}.match-team .team-title{padding:10px 12px;gap:8px;flex-wrap:wrap}.match-team h2{font-size:12px;text-transform:uppercase}.match-team .objectives{gap:8px;font-size:10px;flex-wrap:wrap}
.match-player{display:grid;grid-template-columns:minmax(0,1fr) 108px 70px 105px;grid-template-areas:"identity stats damage items";gap:8px;align-items:center;min-height:76px;padding:8px 10px;border-top:1px solid var(--line);font-size:12px}.match-identity{grid-area:identity;display:flex;align-items:center;gap:7px;min-width:0}.match-identity>div{min-width:0}.match-identity .identity{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}.match-identity small{display:block;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.match-identity .portrait{width:38px;height:38px;border-radius:4px}.match-player.is-tracked .identity,.match-tracked-key{color:#ffd34f}.match-player-stats{grid-area:stats;text-align:center}.match-player-stats small{display:block;font-size:10px;white-space:nowrap}.match-kda{font-size:13px;white-space:nowrap}.match-assists{color:#ffd34f}.match-damage{grid-area:damage;min-width:0;text-align:center;font-size:11px}.match-damage small{display:block;font-size:9px}.match-damage .damage{width:100%;margin-top:4px}.match-items{grid-area:items;display:grid;grid-template-columns:repeat(4,24px);gap:3px}.match-team-red .match-player{grid-template-columns:105px 70px 108px minmax(0,1fr);grid-template-areas:"items damage stats identity"}.match-team-red .match-identity{flex-direction:row-reverse;text-align:right}
@media(max-width:1150px) and (min-width:901px){.match-player{grid-template-columns:minmax(0,1fr) 92px 48px 89px;gap:5px;padding:7px}.match-team-red .match-player{grid-template-columns:89px 48px 92px minmax(0,1fr)}.match-items{grid-template-columns:repeat(4,20px)}.match-items .item{width:20px;height:20px}.match-identity .portrait{width:30px;height:30px}.match-player-stats small{font-size:9px}}
@media(max-width:900px){.match-teams{grid-template-columns:1fr}.match-team-red .match-player{grid-template-columns:minmax(0,1fr) 108px 70px 105px;grid-template-areas:"identity stats damage items"}.match-team-red .match-identity{flex-direction:row;text-align:left}}
@media(max-width:520px){.match-player,.match-team-red .match-player{grid-template-columns:minmax(105px,1fr) 55px 90px;grid-template-areas:"identity identity stats" "items damage stats";min-height:104px;gap:6px}.match-details .heading{gap:8px}.match-details h1{font-size:22px}.match-details .legend{font-size:10px}.match-identity .identity{white-space:normal;overflow-wrap:anywhere}.match-player-stats small{white-space:normal}}

.match-identity .identity small{display:inline;margin-left:2px}.match-player .identity:focus-visible{outline-offset:1px}

/* Match emphasis: larger identities and restrained team-colored leader rows. */
main:has(.match-details){max-width:1680px;padding-top:28px}.match-player{min-height:84px;padding-top:10px;padding-bottom:10px}.match-identity{gap:9px}.match-identity .identity{font-size:15px}.match-identity .portrait{width:46px;height:46px}.match-kda{font-size:15px}.match-player-stats small{font-size:11px}.match-damage{font-size:12px}.match-team h2{font-size:13px}.match-champion-icon{position:relative;display:inline-flex;flex-shrink:0;line-height:1}.match-level{position:absolute;bottom:-2px;left:-2px;min-width:17px;padding:2px 3px;border:1px solid #536079;border-radius:3px;background:#0b101bf2;color:var(--text);font-size:10px;font-weight:700;text-align:center}.match-team-red .match-level{left:auto;right:-2px}
@media(min-width:1151px){.match-player{grid-template-columns:minmax(0,1fr) 120px 76px 113px}.match-team-red .match-player{grid-template-columns:113px 76px 120px minmax(0,1fr)}.match-items{grid-template-columns:repeat(4,26px)}.match-items .item{width:26px;height:26px}}
@media(max-width:1150px) and (min-width:901px){.match-identity .portrait{width:40px;height:40px}.match-player-stats small{font-size:9px}.match-kda{font-size:14px}}
@media(max-width:520px){.match-player{min-height:118px}.match-player-stats small{font-size:10px}.match-identity .portrait{width:42px;height:42px}}

.match-team-blue .match-player.is-damage-leader{background:linear-gradient(90deg,#719bff25,#719bff0d);box-shadow:inset 3px 0 #719bff}.match-team-red .match-player.is-damage-leader{background:linear-gradient(270deg,#f1859625,#f185960d);box-shadow:inset -3px 0 #f18596}.match-objective{display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:600}.objective-icon{display:inline-block;width:20px;height:24px;background-image:url('/assets/objectives/reference-icons.png');background-repeat:no-repeat;mix-blend-mode:screen}.objective-void_grubs{background-position:-24px -4px}.objective-dragons{background-position:-99px -4px}.objective-barons{background-position:-174px -4px}.objective-rift_heralds{background-position:-249px -4px}.objective-towers{background-position:-330px -4px}

.match-keystone{position:absolute;top:-7px;right:-5px}.match-keystone img{width:22px;height:22px;object-fit:contain}.match-summoners{position:absolute;bottom:-3px;right:-5px;display:flex;gap:1px}.match-summoners img{width:16px;height:16px;border:1px solid var(--line);border-radius:3px}.match-team-red .match-keystone{right:auto;left:-5px}.match-team-red .match-summoners{right:auto;left:-5px}.match-extra-section>label{display:flex;align-items:center;gap:12px;margin:20px 0}.match-extra-panels{display:grid;grid-template-columns:1fr 1fr;gap:16px}.match-pings{display:flex;flex-wrap:wrap;gap:16px;padding:18px}.match-pings>div{display:flex;flex-direction:column;align-items:center;justify-content:end;gap:5px;width:65px}.match-pings small{font-size:10px;text-align:center}.ping-image{width:40px;height:40px;object-fit:contain}.match-rune-trees{display:flex;justify-content:center;gap:24px;padding:20px}.match-rune-tree{flex:1;min-width:0;text-align:center}.match-rune-tree>img{width:36px;height:36px}.match-rune-tree>strong{display:block;font-size:12px}.rune-options{display:flex;justify-content:center;gap:7px;margin-top:12px}.rune-option{opacity:.3;font-size:10px}.rune-option.selected{opacity:1;filter:drop-shadow(0 0 3px #719bff)}.rune-option img{width:34px;height:34px;object-fit:contain}.match-shards{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;padding:0 15px 20px;font-size:12px}@media(max-width:760px){.match-extra-panels{grid-template-columns:1fr}}

.match-extra-section select{min-width:0;max-width:100%;flex:1}.match-extra-panels>.panel{min-width:0}.match-rune-trees{gap:12px;padding:16px 10px}.rune-options{gap:4px}.rune-option img{width:28px;height:28px}

.match-ping-panel{align-self:start;justify-self:center;width:100%;max-width:580px}.match-ping-panel .match-pings{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));justify-items:center;align-items:center;gap:clamp(4px,1vw,14px);padding:20px}.match-ping-panel .match-pings>div{width:100%;min-width:0;justify-content:center}.match-ping-panel .ping-image{max-width:100%;height:auto;aspect-ratio:1}.match-ping-panel .match-pings>p{grid-column:1/-1;margin:0;text-align:center}@media(max-width:400px){.match-ping-panel .match-pings{padding:16px 12px}}

@media(min-width:1151px){.match-player{grid-template-columns:minmax(0,1fr) 120px minmax(0,.15fr) 76px minmax(0,.15fr) 113px;grid-template-areas:"identity stats . damage . items"}.match-team-red .match-player{grid-template-columns:113px minmax(0,.15fr) 76px minmax(0,.15fr) 120px minmax(0,1fr);grid-template-areas:"items . damage . stats identity"}}

/* Compact text navigation at the lower edge of the existing player banner. */
.profile-hero .profile-tabs{position:relative;display:flex;flex-wrap:nowrap;gap:28px;width:calc(100% + 64px);margin:16px -32px -28px;padding:0 32px;border-top:1px solid #d4dffd1c;overflow-x:auto;scrollbar-width:none;white-space:nowrap;align-items:stretch;scroll-padding-inline:24px}
.profile-hero .profile-tabs::-webkit-scrollbar{display:none}
.profile-hero .profile-tabs a{position:relative;flex-shrink:0;display:block;padding:16px 0 17px;border:0;border-radius:0;background:transparent;color:#94a4be;font-size:13px;font-weight:600;line-height:1.4;box-shadow:none;transition:color .18s}
.profile-hero .profile-tabs a:hover{color:#e1e8f8;background:transparent;box-shadow:none}
.profile-hero .profile-tabs a[aria-current=page]{color:#f6f7ff;background:transparent}
.profile-hero .profile-tabs a[aria-current=page]::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#b8b2fa;border-radius:2px;box-shadow:0 0 7px #91a6ff50}
.profile-hero .profile-tabs a:focus-visible{outline:2px solid #a8baff;outline-offset:-4px}
.profile-tab-indicator{position:absolute;bottom:0;left:0;height:2px;border-radius:2px;background:linear-gradient(90deg,#9db9ff,#c8b5ff);box-shadow:0 0 7px #91a6ff50;pointer-events:none;opacity:0;transition:transform .22s ease,width .22s ease}
.profile-tabs[data-ready] .profile-tab-indicator{opacity:1}
.profile-tabs[data-ready] a[aria-current=page]::after{display:none}
@media(max-width:720px){.profile-hero .profile-tabs{width:calc(100% + 40px);margin:16px -20px -22px;padding:0 20px;gap:24px}.profile-hero .profile-tabs a{padding:15px 0 16px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.profile-hero .profile-tabs a,.profile-tab-indicator{transition:none}}

.profile-hero-content{display:flex;flex-direction:column;align-self:stretch}.profile-hero .profile-tabs{margin-top:auto}

.profile-hero{flex-direction:row}
