/* LoL account insights. Interaction principles: read-only reference
   84452cup/docs/ui-design-guidelines.md at 993cc324562a5eba15e28198f1010692700ed1be.
   No source copied; public reviewed observations only. */
.account-history-panel{--account-body:clamp(15px,.88vw,21px);--account-meta:clamp(13px,.74vw,17px);--account-number:clamp(26px,1.8vw,44px)}
.account-history-panel .section-heading{margin-bottom:24px;flex-wrap:wrap}.account-updated{font-size:var(--account-meta);color:var(--muted);font-variant-numeric:tabular-nums}
.account-history-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding-bottom:24px;border-bottom:1px solid var(--line)}
.account-history-filters label{display:grid;gap:6px;color:var(--muted);font-size:var(--account-meta);min-width:110px}.account-history-filters .account-name-filter{min-width:190px;max-width:340px}
.account-history-filters select,.account-record-filters select{min-height:44px;max-width:100%;padding:9px 34px 9px 12px;color:var(--text);background:var(--surface-2);border:1px solid var(--line);border-radius:4px;font-size:var(--account-body)}
.account-history-filters .button,.account-record-filters .button{font-size:var(--account-body);min-height:44px;color:var(--text);background:var(--surface-2);border-radius:4px;gap:8px}
.account-history-filters .account-date-filter{min-width:160px;max-width:200px;flex:0 1 175px}
.account-date-filter input{min-height:44px;width:100%;min-width:0;max-width:100%;padding:8px 10px;color:var(--text);background:var(--surface-2);border:1px solid var(--line);border-radius:4px;font-size:var(--account-body);font-variant-numeric:tabular-nums}
.account-clear-dates{display:inline-flex;align-items:center;min-height:44px;color:var(--muted);font-size:var(--account-body);white-space:nowrap;padding:8px 3px}
.account-clear-dates:hover{color:var(--accent)}
.account-date-error{font-size:var(--account-body);color:var(--loss);margin-top:14px;line-height:1.6}
.account-records-title{display:grid;gap:5px}
.account-record-counts{display:flex;gap:8px 20px;flex-wrap:wrap;font-size:var(--account-meta);color:var(--muted)}
.account-record-counts b{font-weight:500;color:var(--text);font-variant-numeric:tabular-nums}
@media(max-width:600px){.account-history-filters .account-date-filter{min-width:0;max-width:none;flex:1 1 calc(50% - 10px)}.account-date-filter input{font-size:14px;padding:8px 9px}.account-clear-dates{justify-content:center;width:100%;min-height:34px;padding:0}.account-record-counts{gap:6px 16px;font-size:13px}.account-pagination>span{font-size:13px;white-space:nowrap}}
.account-overview{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:36px;padding:30px 0 24px;align-items:center}.account-results-overview{display:flex;align-items:center;gap:26px;min-width:0}.account-win-ring{width:clamp(112px,7.7vw,160px);height:clamp(112px,7.7vw,160px);flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--win) var(--win-rate),color-mix(in srgb,var(--loss) 55%,var(--surface-3)) 0);transform:rotate(-90deg)}.account-win-ring.is-unknown{background:var(--line)}.account-win-ring>div{width:calc(100% - 12px);height:calc(100% - 12px);background:var(--surface);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(90deg)}.account-win-ring strong{font-size:var(--account-number);font-variant-numeric:tabular-nums;line-height:1.25;font-weight:600}.account-win-ring small{font-size:var(--account-meta);margin-left:2px}.account-win-ring span{font-size:var(--account-meta);color:var(--muted)}.account-result-counts{min-width:0}.account-result-counts>strong{font-size:var(--account-number);font-variant-numeric:tabular-nums;font-weight:500;white-space:nowrap}.account-result-counts>strong>span{font-size:var(--account-body);color:var(--muted);margin:0 6px}.account-result-counts i{font-size:22px;font-style:normal;color:var(--line);margin-right:6px}.account-result-counts>p{font-size:var(--account-meta);color:var(--muted);margin:3px 0 12px}.account-recent-form{display:flex;gap:4px;flex-wrap:wrap;max-width:380px}.account-recent-form>span{width:22px;height:23px;display:grid;place-items:center;font-size:11px;font-weight:600;border-radius:2px;color:var(--muted);background:var(--surface-3)}.account-recent-form>.is-win{color:var(--win);background:color-mix(in srgb,var(--win) 14%,var(--surface))}.account-recent-form>.is-loss{color:var(--loss);background:color-mix(in srgb,var(--loss) 14%,var(--surface))}
.account-performance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;border-left:1px solid var(--line);padding-left:32px}.account-performance dt{font-size:var(--account-meta);color:var(--muted)}.account-performance dd{font-size:var(--account-number);font-variant-numeric:tabular-nums;font-weight:500;margin-top:6px}.account-performance .perfect-kda{font-size:clamp(22px,1.6vw,36px)}
.account-window{display:flex;justify-content:space-between;gap:12px;font-size:var(--account-meta);color:var(--muted);padding-bottom:22px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}.account-insights{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:38px;padding:24px 0 30px}.account-insights section>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.account-insights h3,.account-records-heading h3{font-size:clamp(18px,1.1vw,25px);font-weight:500}.account-insights header>span{font-size:var(--account-meta);color:var(--muted)}.account-champion-list{display:grid;gap:12px}.account-champion-stat{display:flex;align-items:center;justify-content:space-between;gap:16px}.account-champion-identity{display:flex;align-items:center;gap:12px;min-width:0}.account-champion-identity>img{width:clamp(42px,3vw,60px);height:clamp(42px,3vw,60px);border-radius:4px;object-fit:cover}.account-champion-identity strong{display:block;font-size:var(--account-body);font-weight:500}.account-champion-identity span{display:block;font-size:var(--account-meta);color:var(--muted)}.account-champion-rate{min-width:120px;width:24%;text-align:right}.account-champion-rate>strong{font-size:var(--account-body);font-variant-numeric:tabular-nums;font-weight:500}.account-champion-rate small{font-size:var(--account-meta)}.account-history-panel meter{display:block;width:100%;height:5px;background:var(--surface-3);border:0;border-radius:2px;overflow:hidden;appearance:none}.account-history-panel meter::-webkit-meter-bar{background:var(--surface-3);border:0;height:5px}.account-history-panel meter::-webkit-meter-optimum-value{background:var(--blue)}.account-history-panel meter::-moz-meter-bar{background:var(--blue)}.account-champion-rate meter{margin-top:6px}.account-all-champions{margin-top:18px}.account-all-champions>summary{cursor:pointer;color:var(--muted);font-size:var(--account-meta);padding:10px 0}.account-all-champions[open]>.account-champion-list{margin-top:10px;max-height:560px;overflow:auto;padding-right:12px}.account-position-insights{border-left:1px solid var(--line);padding-left:34px}.account-position-list{display:grid;gap:20px}.account-position-stat>div{display:flex;align-items:center;gap:12px;font-size:var(--account-body);margin-bottom:8px}.account-position-stat img,.account-position-stat .role-icon{width:30px;height:30px;flex:0 0 30px;color:var(--muted)}.account-position-stat img{background:#17202d;border-radius:3px;padding:3px}.account-position-stat strong{margin-left:auto;font-weight:500;font-variant-numeric:tabular-nums}.account-position-stat small{font-size:var(--account-meta);color:var(--muted)}
.account-records-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 0 18px;border-top:1px solid var(--line);flex-wrap:wrap}.account-records-heading h3>span{font-size:var(--account-meta);color:var(--muted);margin-left:8px}.account-record-filters{display:flex;flex-wrap:wrap;gap:8px}.account-record-filters select{max-width:220px;min-width:125px}
.account-history-record{grid-template-columns:66px minmax(200px,1.25fr) minmax(122px,.7fr) minmax(220px,1.4fr) minmax(150px,1fr);gap:16px;padding:17px 20px;background:linear-gradient(90deg,color-mix(in srgb,var(--muted) 5%,var(--surface-2)),var(--surface-2) 35%);border-radius:4px;transition:border-color .2s,background .2s,box-shadow .2s;position:relative}.account-history-record.is-win{background:linear-gradient(90deg,color-mix(in srgb,var(--win) 8%,var(--surface-2)),var(--surface-2) 35%)}.account-history-record.is-loss{background:linear-gradient(90deg,color-mix(in srgb,var(--loss) 7%,var(--surface-2)),var(--surface-2) 35%)}.account-history-record:hover{border-top-color:color-mix(in srgb,var(--blue) 35%,var(--line));border-bottom-color:color-mix(in srgb,var(--blue) 35%,var(--line));box-shadow:0 5px 18px #0000000a}.account-history-record .history-result strong{font-size:var(--account-body)}.account-history-record .history-result small,.account-history-record .history-identity small,.account-history-record .history-kda>small,.account-history-record .history-details dt{font-size:var(--account-meta)}.account-history-record .history-identity{gap:12px}.account-history-record .history-identity strong{font-size:var(--account-body)}.account-history-record .history-identity small{white-space:normal;font-variant-numeric:tabular-nums;line-height:1.5}.account-champion-portrait{position:relative;width:52px;height:52px;flex:0 0 52px;display:grid;place-items:center;background:var(--surface-3);border-radius:4px;color:var(--muted)}.account-champion-portrait>img:first-child{width:100%;height:100%;object-fit:cover;border-radius:4px}.account-champion-portrait>.account-lane-icon{position:absolute;width:21px;height:21px;right:-5px;bottom:-5px;padding:2px;background:#17202d;border:2px solid var(--surface-2);border-radius:3px}.account-spell-icons{display:grid;gap:3px;flex-shrink:0}.account-spell-icons>img,.account-spell-icons>.account-icon-fallback{width:23px;height:23px;border-radius:3px}.account-spell-icons>.account-icon-fallback{font-size:9px}.account-history-record .history-kda{font-size:clamp(20px,1.2vw,29px);white-space:nowrap}.account-history-record .history-kda>span{color:var(--muted);font-size:.7em}.account-history-record .history-kda>em{color:var(--loss);font-style:normal}.account-history-record .history-details{gap:12px}.account-history-record .history-details dd{font-size:var(--account-body);white-space:nowrap}.account-history-record .history-details dd small{font-size:var(--account-meta);color:var(--muted)}.account-build{display:flex;gap:12px;align-items:center;justify-content:flex-end}.account-item-icons{display:grid;grid-template-columns:repeat(4,30px);gap:4px;align-items:center}.account-item-icons>img,.account-item-icons>.account-icon-fallback{width:30px;height:30px;border-radius:3px}.account-icon-fallback{display:grid;place-items:center;background:var(--surface-3);border:1px solid var(--line);font-size:9px;color:var(--muted);overflow:hidden}.account-icon-fallback.is-empty{font-size:20px}.account-icon-fallback>.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.account-build-unavailable{grid-column:1/-1;font-size:var(--account-meta);color:var(--muted);white-space:nowrap}.account-provider-score{color:var(--blue);font-size:var(--account-body);font-variant-numeric:tabular-nums;text-align:center}.account-provider-score>small{display:block;color:var(--muted);font-size:11px}
.account-game-details{grid-column:1/-1;border-top:1px solid var(--line);font-size:var(--account-body);margin-top:0}.account-game-details>summary{display:flex;align-items:center;justify-content:flex-end;gap:8px;list-style:none;cursor:pointer;color:var(--muted);font-size:var(--account-meta);padding:8px 0 0;min-height:36px}.account-game-details>summary::-webkit-details-marker{display:none}.account-game-details>summary>svg{width:18px;height:18px;transition:transform .22s}.account-game-details[open]>summary>svg{transform:rotate(180deg)}.account-game-details[open]>summary{color:var(--text)}.account-game-more{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:24px;padding:18px 0 0;animation:account-reveal .22s ease-out}.account-expanded-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.account-expanded-stats dt{color:var(--muted);font-size:var(--account-meta)}.account-expanded-stats dd{margin:4px 0 0;font-size:var(--account-body);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.account-runes{display:grid;gap:10px;align-content:start;padding-left:24px;border-left:1px solid var(--line)}.account-runes>strong{font-weight:500;font-size:var(--account-body)}.account-rune-group{display:grid;grid-template-columns:70px minmax(0,1fr);align-items:center;gap:8px;font-size:var(--account-meta);color:var(--muted)}.account-rune-group>div{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.account-rune-group img{width:28px;height:28px;object-fit:contain}.account-rune-name{display:inline-flex;padding:3px 8px;border:1px solid var(--line);border-radius:3px;color:var(--text);font-size:var(--account-meta);background:var(--surface)}.account-detail-foot{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-top:14px;border-top:1px solid var(--line);font-size:var(--account-meta);color:var(--muted)}.account-detail-foot>.source-notice{margin-left:auto}.account-pagination{margin-top:24px}.account-empty>svg{width:48px;height:48px;margin:0 auto 16px;color:var(--blue);opacity:.6}
@keyframes account-reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:2200px){.account-overview{gap:64px}.account-results-overview{gap:34px}.account-recent-form{max-width:560px;gap:6px}.account-recent-form>span{width:29px;height:30px;font-size:14px}.account-performance{padding-left:48px}.account-insights{gap:60px}.account-champion-list{gap:16px}.account-history-record{grid-template-columns:90px minmax(280px,1.2fr) minmax(160px,.65fr) minmax(330px,1.4fr) minmax(230px,1fr);gap:26px;padding:24px 28px}.account-champion-portrait{width:68px;height:68px;flex-basis:68px}.account-spell-icons>img,.account-spell-icons>.account-icon-fallback{width:30px;height:30px}.account-item-icons{grid-template-columns:repeat(4,40px);gap:5px}.account-item-icons>img,.account-item-icons>.account-icon-fallback{width:40px;height:40px}.account-icon-fallback{font-size:12px}.account-game-details>summary{min-height:42px}.account-history-panel .section-heading h2{font-size:clamp(24px,1.1vw,32px)}}
@media(max-width:1350px){.account-overview{gap:24px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.account-results-overview{gap:18px}.account-performance{gap:16px;padding-left:22px}.account-history-record{grid-template-columns:60px minmax(200px,1.25fr) minmax(115px,.65fr) minmax(190px,1.2fr);gap:14px}.account-build{grid-column:2/-1;justify-content:flex-start}.account-item-icons{display:flex;flex-wrap:wrap}.account-game-details{grid-column:1/-1}.account-history-record .history-details dd small{display:block}.account-expanded-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.account-overview{grid-template-columns:1fr;gap:24px}.account-performance{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}.account-insights{grid-template-columns:minmax(0,1.35fr) minmax(200px,1fr);gap:24px}.account-position-insights{padding-left:24px}.account-history-record{grid-template-columns:54px minmax(190px,1fr) 116px}.account-history-record .history-details{grid-column:2/-1;grid-template-columns:repeat(3,minmax(0,1fr))}.account-history-record .history-details dd small{display:inline}.account-build{grid-column:2/-1}.account-game-more{grid-template-columns:1fr}.account-runes{padding:16px 0 0;border-left:0;border-top:1px solid var(--line)}}
@media(max-width:600px){.account-history-panel{padding:18px 14px;--account-body:15px;--account-meta:13px;--account-number:28px}.account-history-panel .section-heading{gap:8px;margin-bottom:18px}.account-history-panel .section-heading h2{font-size:21px}.account-history-filters{gap:12px 10px}.account-history-filters label{flex:1 1 calc(50% - 10px);min-width:0}.account-history-filters .account-name-filter{min-width:0;max-width:none}.account-history-filters select{width:100%;padding-left:10px;font-size:14px}.account-history-filters .button{width:100%}.account-results-overview{gap:18px}.account-win-ring{width:100px;height:100px}.account-win-ring>div{width:calc(100% - 10px);height:calc(100% - 10px)}.account-result-counts>strong{font-size:26px}.account-result-counts>strong>span{font-size:14px;margin:0 3px}.account-result-counts>p{font-size:12px}.account-recent-form{gap:3px}.account-recent-form>span{width:18px;height:20px;font-size:10px}.account-performance{gap:10px}.account-performance dd{font-size:25px}.account-performance dt{font-size:12px}.account-performance .perfect-kda{font-size:21px}.account-window{gap:8px;flex-wrap:wrap;font-size:12px}.account-insights{grid-template-columns:1fr;gap:26px}.account-position-insights{border-left:0;border-top:1px solid var(--line);padding:22px 0 0}.account-position-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}.account-position-stat>div{gap:7px;font-size:14px}.account-position-stat img,.account-position-stat .role-icon{width:24px;height:24px;flex-basis:24px}.account-champion-rate{min-width:88px}.account-records-heading{gap:12px}.account-record-filters{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.account-record-filters select{width:100%;min-width:0;padding:8px;font-size:13px}.account-record-filters .button{padding:8px 12px;font-size:13px}.account-history-record{grid-template-columns:42px minmax(0,1fr) 89px;gap:12px 9px;padding:13px 10px}.account-history-record .history-result strong{font-size:14px}.account-history-record .history-result small{font-size:12px}.account-history-record .history-identity{gap:8px}.account-history-record .history-identity strong{font-size:14px}.account-history-record .history-identity small{font-size:11px}.account-champion-portrait{width:40px;height:40px;flex-basis:40px}.account-champion-portrait>.account-lane-icon{width:18px;height:18px;right:-4px;bottom:-4px}.account-spell-icons{display:none}.account-history-record .history-kda{font-size:17px}.account-history-record .history-kda>small{font-size:11px}.account-history-record .history-details{grid-column:2/-1;gap:8px}.account-history-record .history-details dt{font-size:11px}.account-history-record .history-details dd{font-size:14px}.account-history-record .history-details dd small{font-size:11px;display:block}.account-build{grid-column:2/-1;flex-wrap:wrap;gap:8px}.account-item-icons>img,.account-item-icons>.account-icon-fallback{width:27px;height:27px}.account-expanded-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px}.account-expanded-stats dt{font-size:12px}.account-expanded-stats dd{font-size:14px}.account-rune-group{grid-template-columns:62px minmax(0,1fr)}.account-rune-name{font-size:12px}.account-detail-foot{font-size:12px}.account-game-more{gap:18px}.account-game-details>summary{font-size:12px}.account-pagination{gap:8px}.account-pagination>a{font-size:13px;padding:6px 9px}}
@media(prefers-reduced-motion:reduce){.account-history-record,.account-game-details>summary>svg{transition:none}.account-game-more{animation:none}}

/* SQGG's public profile informed information grouping only; all markup,
   styling and assets belong to this project. The full row opens native details. */
.account-history-panel .history-list{gap:7px}
.account-history-panel .account-match-card{display:block;padding:0;min-width:0;overflow:hidden}
.account-match-disclosure>summary{list-style:none;cursor:pointer}
.account-match-disclosure>summary::-webkit-details-marker{display:none}
.account-match-summary{display:grid;grid-template-columns:100px minmax(160px,1fr) 108px minmax(192px,1.2fr) 115px 44px;gap:12px;align-items:center;padding:10px 12px;min-height:94px}
.account-match-summary:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
.account-match-outcome{display:grid;gap:3px;min-width:0}
.account-match-outcome>strong{font-size:12px;line-height:1.35;font-weight:600}
.account-match-outcome>time{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.account-match-outcome>span{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.account-match-outcome .match-outcome{font-size:12px;padding:3px 5px;gap:3px}
.account-match-outcome .match-outcome svg{width:12px;height:12px}
.account-match-outcome small{font-size:11px;color:var(--muted)}
.account-match-summary .history-identity{min-width:0;gap:6px}
.account-match-summary .account-champion-portrait{width:40px;height:40px;flex-basis:40px}
.account-champion-level{position:absolute;right:-2px;bottom:-3px;padding:0 3px;border-radius:3px;background:#17202d;color:#fff;font-size:10px;line-height:15px;font-weight:500}
.account-match-summary .account-spell-icons{display:grid;gap:2px}
.account-match-summary .account-spell-icons>img,.account-match-summary .account-spell-icons>.account-icon-fallback{width:19px;height:19px}
.account-champion-label{min-width:0}
.account-match-summary .account-champion-label>strong{font-size:13px;line-height:1.4;white-space:normal}
.account-champion-label>small{display:flex!important;gap:4px;align-items:center;font-size:11px!important}
.account-champion-label .role-icon{width:13px;height:13px;flex-shrink:0}
.account-match-summary .history-kda{font-size:18px;text-align:center}
.account-match-summary .history-kda>small{font-size:11px;display:block}
.account-match-summary .account-build{grid-column:auto;display:flex;align-items:center;gap:4px 9px;flex-wrap:wrap;justify-content:flex-start;min-width:0}
.account-match-summary .account-item-icons{display:flex;gap:2px;flex-wrap:nowrap}
.account-match-summary .account-item-icons>img,.account-match-summary .account-item-icons>.account-icon-fallback{width:25px;height:25px;flex:0 0 25px}
.account-match-summary .account-provider-score{font-size:12px}
.account-source-mvp{font-size:10px;color:var(--accent);font-weight:500}
.account-summary-stats{display:grid;gap:3px;font-size:11px;color:var(--muted)}
.account-summary-stats>span{display:flex;gap:8px;justify-content:space-between}
.account-summary-stats b{font-weight:500;color:var(--text);font-variant-numeric:tabular-nums}
.account-match-toggle{min-height:44px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--muted);font-size:11px}
.account-match-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform .18s}
.account-match-disclosure[open] .account-match-toggle svg{transform:rotate(180deg)}
.account-match-disclosure[open]>.account-match-summary{border-bottom:1px solid var(--line)}
.account-match-expanded{padding:12px;background:color-mix(in srgb,var(--surface) 65%,transparent)}
.account-match-expanded h4{font-size:13px;font-weight:600;margin:0 0 10px}
.account-match-expanded .account-game-more{padding-top:12px;gap:14px;grid-template-columns:minmax(0,2fr) minmax(210px,1fr)}
.account-match-expanded .account-expanded-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px;margin:0}
.account-match-expanded .account-expanded-stats dt{font-size:11px}
.account-match-expanded .account-expanded-stats dd{font-size:13px}
.account-match-expanded .account-runes{padding-left:14px;gap:9px}
.account-detail-spells{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}
.account-detail-spells .account-item-icons{display:flex}
.account-detail-spells .account-item-icons>img,.account-detail-spells .account-item-icons>.account-icon-fallback{width:25px;height:25px}
.account-scoreboard{display:grid;gap:9px;min-width:0}
.account-scoreboard-side{min-width:0;border:1px solid var(--line);border-radius:4px;overflow:hidden}
.account-scoreboard-side>header{display:flex;align-items:center;gap:9px 14px;flex-wrap:wrap;padding:8px 10px;background:color-mix(in srgb,var(--blue) 7%,var(--surface));font-size:12px}
.account-scoreboard-side.side-red>header{background:color-mix(in srgb,var(--red) 7%,var(--surface))}
.account-scoreboard-side>header>strong{color:var(--blue)}
.account-scoreboard-side.side-red>header>strong{color:var(--red)}
.account-scoreboard-side>header .match-outcome{font-size:11px;padding:2px 5px}
.account-scoreboard-side>header .match-outcome svg{width:12px;height:12px}
.account-scoreboard-side>header b{font-weight:500}
.account-bans{display:flex;align-items:center;gap:4px;margin-left:auto;color:var(--muted);font-size:11px}
.account-bans img{width:22px;height:22px;object-fit:cover;border-radius:2px}
.account-scoreboard-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.account-scoreboard-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.account-scoreboard table{width:100%;min-width:820px;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}
.account-scoreboard th,.account-scoreboard td{padding:7px 8px;border-bottom:1px solid var(--line);text-align:center;white-space:nowrap}
.account-scoreboard thead th{font-size:11px;color:var(--muted);font-weight:500}
.account-scoreboard tbody tr:last-child>*{border-bottom:0}
.account-scoreboard tbody th{width:230px;text-align:left}
.account-scoreboard td b{font-weight:500}
.account-scoreboard td>small{display:block;font-size:10px;color:var(--muted)}
.account-scoreboard .is-self{background:color-mix(in srgb,var(--accent) 8%,var(--surface))}
.account-scoreboard-player{display:flex;align-items:center;gap:5px}
.account-scoreboard-player .account-champion-portrait{width:31px;height:31px;flex-basis:31px}
.account-scoreboard-player .account-spell-icons{display:grid;gap:2px}
.account-scoreboard-player .account-spell-icons>img,.account-scoreboard-player .account-spell-icons>.account-icon-fallback{width:15px;height:15px}
.account-scoreboard-player>span:last-child{min-width:0}
.account-scoreboard-player strong{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:500}
.account-scoreboard .is-self .account-scoreboard-player strong{font-weight:700}
.account-scoreboard-player small{display:block;font-size:10px;color:var(--muted);font-weight:400}
.account-scoreboard .account-item-icons{display:flex;flex-wrap:nowrap;gap:2px}
.account-scoreboard .account-item-icons>img,.account-scoreboard .account-item-icons>.account-icon-fallback{width:23px;height:23px;flex:0 0 23px;font-size:8px}
.account-scoreboard-note{font-size:11px;color:var(--muted);line-height:1.5;margin:0}
@media(max-width:1100px){
  .account-match-summary{grid-template-columns:90px minmax(150px,1fr) 95px minmax(190px,1.1fr) 44px;gap:8px}
  .account-summary-stats{display:none}
}
@media(max-width:760px){
  .account-match-summary{grid-template-columns:78px minmax(0,1fr) 95px 28px;gap:7px;padding:9px}
  .account-match-summary .account-match-outcome{grid-column:1;grid-row:1/3;align-self:start}
  .account-match-summary .history-identity{grid-column:2;grid-row:1}
  .account-match-summary .history-kda{grid-column:3;grid-row:1;font-size:16px}
  .account-match-summary .account-build{grid-column:2/4;grid-row:2}
  .account-match-toggle{grid-column:4;grid-row:1/3}
  .account-champion-label{display:none}
  .account-match-summary .account-item-icons>img,.account-match-summary .account-item-icons>.account-icon-fallback{width:24px;height:24px;flex-basis:24px}
  .account-match-expanded{padding:8px}
  .account-match-expanded .account-game-more{grid-template-columns:1fr}
  .account-match-expanded .account-runes{border-left:0;border-top:1px solid var(--line);padding:12px 0 0}
  .account-match-expanded .account-expanded-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .account-scoreboard-side>header{gap:6px 10px}
  .account-bans{margin-left:0}
}
@media(prefers-reduced-motion:reduce){.account-match-toggle svg{transition:none}}
@media(max-width:420px){
  .account-match-summary{grid-template-columns:67px minmax(0,1fr) 84px 24px;gap:6px;padding:8px}
  .account-match-summary .account-champion-portrait{width:34px;height:34px;flex-basis:34px}
  .account-match-summary .account-spell-icons>img,.account-match-summary .account-spell-icons>.account-icon-fallback{width:16px;height:16px}
  .account-match-summary .history-kda{font-size:15px}
  .account-match-summary .account-item-icons>img,.account-match-summary .account-item-icons>.account-icon-fallback{width:21px;height:21px;flex-basis:21px}
}

/* Keep account switching and the first records visible without shrinking touch targets. */
.account-history-panel{--account-body:14px;--account-meta:12px;--account-number:26px}
.account-history-panel .section-heading{margin-bottom:12px}
.account-history-filters{gap:8px 12px;padding-bottom:12px}
.account-history-filters label{gap:4px}
.account-history-panel .account-profile-snapshot{padding-top:12px;gap:10px 20px}
.account-history-panel .account-rank-snapshots>div{padding:6px 10px}
.account-overview{gap:20px;padding:16px 0 12px}
.account-results-overview{gap:16px}
.account-win-ring{width:82px;height:82px}
.account-win-ring>div{width:calc(100% - 8px);height:calc(100% - 8px)}
.account-win-ring strong{font-size:24px}
.account-result-counts>p{margin-bottom:7px}
.account-recent-form>span{width:19px;height:20px}
.account-performance{gap:14px;padding-left:20px}
.account-performance dd{margin-top:3px}
.account-window{padding-bottom:10px}
.account-analysis{border-bottom:1px solid var(--line)}
.account-analysis>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;cursor:pointer;font-size:14px}
.account-analysis>summary>span{font-size:12px;color:var(--muted)}
.account-insights{gap:24px;padding:10px 0 16px}
.account-position-insights{padding-left:20px}
.account-position-list{gap:12px}
.account-position-stat>div{margin-bottom:4px}
.account-insights section>header{margin-bottom:10px}
.account-insights h3,.account-records-heading h3{font-size:17px}
.account-champion-identity>img{width:38px;height:38px}
.account-champion-list{gap:8px}
.account-records-heading{gap:10px;padding:12px 0 10px;border-top:0}
.account-history-record{padding:12px 14px;gap:12px}
.account-pagination{margin-top:14px}
@media(max-width:900px){
  .account-overview{grid-template-columns:1fr;gap:12px}
  .account-performance{padding:12px 0 0;border-left:0}
}
@media(max-width:600px){
  .account-history-panel{padding:14px 12px;--account-body:14px;--account-meta:12px;--account-number:23px}
  .account-history-panel .section-heading{margin-bottom:10px}
  .account-history-panel .section-heading h2{font-size:19px}
  .account-history-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px}
  .account-history-filters label,.account-history-filters .account-name-filter{min-width:0;max-width:none}
  .account-history-filters .account-name-filter{grid-column:1/-1;grid-row:1}
  .account-history-filters .button{grid-column:3;grid-row:2;align-self:end;padding-inline:12px}
  .account-history-filters label:first-of-type{grid-column:1;grid-row:2}
  .account-history-filters label:last-of-type{grid-column:2;grid-row:2}
  .account-win-ring{width:76px;height:76px}
  .account-result-counts>strong{font-size:24px}
  .account-performance dd{font-size:23px}
  .account-analysis>summary{font-size:13px}
  .account-analysis>summary>span{font-size:11px}
  .account-insights{grid-template-columns:1fr;gap:16px}
  .account-position-insights{padding:14px 0 0}
  .account-position-list{gap:12px}
  .account-history-record{padding:11px 9px;gap:9px}
}

.account-profile-snapshot{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;padding:20px 0 0}.account-profile-snapshot>div:first-child{display:flex;gap:12px 18px;align-items:center;flex-wrap:wrap}.account-profile-snapshot strong{font-size:var(--account-body);font-weight:500}.account-profile-snapshot>div:first-child>span,.account-rank-missing{font-size:var(--account-meta);color:var(--muted)}.account-rank-snapshots{display:flex;gap:18px;flex-wrap:wrap}.account-rank-snapshots>div{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:2px 12px;padding:10px 14px;background:var(--surface-2);border-left:2px solid var(--accent)}.account-rank-snapshots span{font-size:var(--account-meta);color:var(--muted);grid-column:1/-1}.account-rank-snapshots b{font-size:var(--account-meta);font-weight:500;color:var(--accent);font-variant-numeric:tabular-nums}.account-rank-snapshots small{font-size:var(--account-meta);color:var(--muted);grid-column:1/-1}.account-mobile-spells{display:none}@media(max-width:600px){.account-mobile-spells{display:flex;align-items:center;gap:16px;padding-bottom:12px}.account-mobile-spells>strong{font-size:14px;font-weight:500}.account-mobile-spells .account-item-icons{display:flex}.account-profile-snapshot{gap:14px}.account-rank-snapshots{gap:10px}}

/* Dense account workspace. All numbers come from validated public history.
   Container queries also cover the narrower profile preview dialog. */
.account-history-panel{container-type:inline-size}
.account-workspace{display:grid;grid-template-columns:230px minmax(0,1fr);gap:16px;padding-top:14px;align-items:start}
.account-sidebar,.account-main{min-width:0}
.account-sidebar{display:grid;gap:12px}
.account-sidebar-block{padding:12px;background:var(--surface-2);border:1px solid var(--line);border-radius:6px;min-width:0}
.account-sidebar-block>header{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:10px}
.account-sidebar-block h3{font-size:13px;font-weight:600;margin:0}
.account-sidebar-block>header>span,.account-sidebar-note{font-size:11px;color:var(--muted);line-height:1.6}
.account-sidebar-note{margin:6px 0 10px}
.account-current-name{display:block;font-size:13px;overflow-wrap:anywhere;margin-bottom:10px}
.account-sidebar .account-rank-snapshots{display:grid;gap:8px}
.account-sidebar .account-rank-snapshots>div{padding:7px 9px;background:var(--surface)}
.account-sidebar .account-rank-snapshots strong{font-size:15px}
.account-sidebar .account-rank-snapshots span,.account-sidebar .account-rank-snapshots small{font-size:11px}
.account-sidebar .account-champion-stat{gap:8px}
.account-sidebar .account-champion-identity{gap:7px}
.account-sidebar .account-champion-identity>img{width:32px;height:32px}
.account-sidebar .account-champion-identity strong,.account-sidebar .account-champion-rate>strong{font-size:12px}
.account-sidebar .account-champion-identity span,.account-sidebar .account-champion-rate small{font-size:10px}
.account-sidebar .account-champion-rate{min-width:44px;width:44px}
.account-sidebar .account-all-champions{margin-top:8px}
.account-teammates{display:grid;gap:9px}
.account-teammates>div{display:grid;gap:2px}
.account-teammates strong{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-teammates span{font-size:11px;color:var(--muted)}
.account-page-overview{display:grid;grid-template-columns:minmax(210px,1.2fr) minmax(160px,1fr) minmax(125px,.8fr);gap:16px;background:var(--surface-2);border:1px solid var(--line);border-radius:6px;padding:12px}
.account-overview-label{display:block;font-size:11px;color:var(--muted);margin-bottom:8px}
.account-overview-numbers{display:flex;align-items:center;gap:13px}
.account-page-overview .account-win-ring{width:68px;height:68px}
.account-page-overview .account-win-ring strong{font-size:20px}
.account-page-kda{display:grid;gap:3px;font-size:12px;font-variant-numeric:tabular-nums}
.account-page-kda>strong{font-size:22px;color:var(--accent);line-height:1.2}
.account-page-kda small{font-size:11px;font-weight:400}
.account-page-kda>span:last-child{font-size:11px;color:var(--muted)}
.account-page-champions>div{display:flex;align-items:center;gap:6px;font-size:11px;margin-bottom:4px}
.account-page-champions img{width:22px;height:22px;border-radius:3px}
.account-page-champions strong{font-weight:500;flex:1}
.account-page-champions b{font-weight:500;min-width:36px;text-align:right}
.account-page-champions span:not(.account-overview-label){color:var(--muted)}
.account-page-positions>div{display:flex;justify-content:space-around;gap:6px}
.account-page-positions>div>span{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;color:var(--muted)}
.account-position-bar{display:flex;align-items:end;width:12px;height:46px;border-radius:2px;background:var(--surface-3);overflow:hidden}
.account-position-bar>i{display:block;width:100%;background:var(--accent);opacity:.65}
.account-page-positions .role-icon{width:14px;height:14px}
.account-main .account-records-heading{padding:10px 0;gap:8px}
.account-main .account-records-heading h3{font-size:14px}
.account-main .account-record-counts{font-size:11px;gap:10px}
.account-main .account-record-filters{gap:5px}
.account-main .account-record-filters select{min-width:100px;max-width:155px;font-size:12px;padding:7px 25px 7px 8px}
.account-main .account-record-filters .button{font-size:12px;padding-inline:10px}
.account-main .account-match-summary{grid-template-columns:77px minmax(115px,.8fr) 82px 105px minmax(170px,1.1fr) 24px;gap:6px 8px;padding:9px 10px;min-height:110px}
.account-main .account-match-outcome{grid-column:1;grid-row:1/3}
.account-main .account-match-summary .history-identity{grid-column:2;grid-row:1}
.account-main .account-match-summary .history-kda{grid-column:3;grid-row:1;font-size:16px;line-height:1.25}
.account-main .account-match-summary .history-kda>small{line-height:1.4}
.account-main .account-match-summary .account-build{grid-column:2/5;grid-row:2;align-self:start;gap:2px 8px;line-height:1.3}
.account-main .account-summary-stats{display:grid;grid-column:4;grid-row:1;font-size:10px}
.account-summary-stats>small{font-size:10px;text-align:right}
.account-main .account-summary-stats>span{white-space:nowrap;gap:4px}
.account-main .account-match-summary .account-item-icons>img,.account-main .account-match-summary .account-item-icons>.account-icon-fallback{width:23px;height:23px;flex-basis:23px}
.account-main .account-match-toggle{grid-column:6;grid-row:1/3}
.account-participation{color:var(--muted);font-size:10px!important;font-weight:400}
.account-rune-mini{display:grid;gap:3px;flex-shrink:0}
.account-rune-mini>img,.account-rune-mini>.account-icon-fallback{width:16px;height:16px;object-fit:contain;border-radius:50%;font-size:8px}
.account-farm-line{font-size:10px;color:var(--muted);flex-basis:100%;line-height:1.4}
.account-summary-stats>span>small{font-size:9px;min-width:28px;text-align:right}
.account-match-rosters,.account-roster-missing{grid-column:5;grid-row:1/3;min-width:0}
.account-match-rosters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.account-mini-team{display:grid;gap:2px;min-width:0}
.account-mini-player{display:flex;align-items:center;gap:3px;min-width:0;color:var(--muted);font-size:10px;line-height:16px}
.account-mini-player>img{width:16px;height:16px;border-radius:2px;flex-shrink:0}
.account-mini-fallback{display:grid;place-items:center;width:16px;height:16px;border-radius:2px;flex-shrink:0;font-style:normal;background:var(--surface-3);border:1px solid var(--line)}
.account-mini-player>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-mini-player.is-current{color:var(--text);font-weight:700}
.account-roster-missing{font-size:11px;color:var(--muted);text-align:center}
.account-stat-bar{display:block;height:4px;max-width:80px;background:var(--surface-3);margin:4px auto 0;border-radius:2px;overflow:hidden}
.account-stat-bar>i{display:block;height:100%;background:var(--blue)}
.side-red .account-stat-bar>i{background:var(--red)}
.account-main .account-scoreboard table{min-width:860px}
.account-main .account-scoreboard tbody th{width:205px}
.account-main .account-scoreboard-player strong{max-width:124px}
@container(max-width:1120px){
  .account-workspace{grid-template-columns:200px minmax(0,1fr);gap:12px}
  .account-page-overview{grid-template-columns:minmax(190px,1.2fr) minmax(140px,1fr)}
  .account-page-positions{display:none}
  .account-main .account-match-summary{grid-template-columns:72px minmax(115px,1fr) 76px minmax(150px,1.1fr) 24px;gap:6px}
  .account-main .account-summary-stats{grid-column:2/4;grid-row:3;display:flex;flex-wrap:wrap;gap:3px 10px}
  .account-main .account-summary-stats>span{gap:5px}
  .account-main .account-match-summary .account-build{grid-column:2/4}
  .account-match-rosters,.account-roster-missing{grid-column:4;grid-row:1/4}
  .account-main .account-match-toggle{grid-column:5;grid-row:1/4}
  .account-main .account-match-summary .account-champion-label{display:none}
  .account-main .account-match-outcome{grid-row:1/4}
}
@container(max-width:900px){
  .account-workspace{grid-template-columns:minmax(0,1fr)}
  .account-sidebar{grid-row:2;grid-template-columns:repeat(3,minmax(0,1fr))}
  .account-main{grid-row:1}
  .account-page-overview{grid-template-columns:minmax(190px,1.2fr) minmax(150px,1fr) minmax(115px,.8fr)}
  .account-page-positions{display:block}
}
@container(max-width:600px){
  .account-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .account-sidebar-block:last-child{grid-column:1/-1}
  .account-page-overview{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:10px}
  .account-page-positions{display:none}
  .account-page-overview .account-win-ring{width:48px;height:48px}
  .account-page-overview .account-win-ring strong{font-size:15px}
  .account-overview-numbers{gap:7px}
  .account-page-kda{font-size:10px}
  .account-page-kda>strong{font-size:18px}
  .account-page-kda>span:last-child{font-size:10px}
  .account-page-champions strong{display:none}
  .account-main .account-match-summary{grid-template-columns:65px minmax(0,1fr) 82px 22px;gap:6px;padding:9px 8px}
  .account-main .account-match-outcome{grid-column:1;grid-row:1/4}
  .account-main .account-match-summary .history-identity{grid-column:2;grid-row:1}
  .account-main .account-match-summary .history-kda{grid-column:3;grid-row:1}
  .account-main .account-match-summary .account-build{grid-column:2/4;grid-row:2}
  .account-main .account-summary-stats{grid-column:2/4;grid-row:3;font-size:10px}
  .account-main .account-match-toggle{grid-column:4;grid-row:1/5}
  .account-match-rosters{grid-column:1/4;grid-row:4;gap:10px;border-top:1px solid var(--line);padding-top:6px;margin-top:2px}
  .account-mini-team{display:flex;justify-content:space-between}
  .account-mini-player>img,.account-mini-fallback{width:22px;height:22px}
  .account-mini-player>span{display:none}
  .account-roster-missing{display:none}
  .account-main .account-match-summary .account-item-icons>img,.account-main .account-match-summary .account-item-icons>.account-icon-fallback{width:22px;height:22px;flex-basis:22px}
  .account-main .account-match-summary .account-champion-portrait{width:36px;height:36px;flex-basis:36px}
  .account-main .account-record-filters{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}
  .account-main .account-record-filters select{max-width:none;min-width:0;width:100%}
}

/* Provider honors do not count as organizer tournament awards. */
.account-source-honors{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.account-source-honors>span{display:inline-flex;align-items:center;min-height:18px;padding:1px 5px;border:1px solid color-mix(in srgb,var(--accent) 35%,var(--line));border-radius:3px;color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,var(--surface));font-size:10px;line-height:1.3;white-space:nowrap}

/* Mode choices apply together after a short pause without a full-page reload. */
.account-mode-filter [data-account-mode-apply][hidden]{display:none!important}
.account-mode-status{font-size:11px;color:var(--muted);line-height:1.4;min-width:0}
.account-mode-status:empty{display:none}
