.profile-return-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.profile-return-row .back-link{margin:0}.profile-return-row>span{font-size:14px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.player-dossier{display:grid;grid-template-columns:clamp(240px,20vw,330px) minmax(360px,1fr) clamp(250px,21vw,320px);align-items:start;gap:20px}.player-dossier>*{min-width:0}.player-dossier .panel{padding:24px}.dossier-identity .player-card{width:100%;margin:0}.dossier-abilities{min-height:100%;overflow:hidden;container:profile-abilities / inline-size;display:flex;flex-direction:column}.profile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid var(--line)}.profile-section-heading h1{font-size:clamp(20px,1.6vw,26px);margin:0;line-height:1.25;overflow-wrap:anywhere}.profile-section-heading>div{min-width:0}.profile-compact-identity{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap}.profile-section-heading .profile-role{font-size:12px;margin:0;gap:5px;color:var(--muted)}.profile-section-heading .profile-role .role-icon{width:17px;height:17px}.profile-game-id{font-size:14px;color:var(--muted);margin-top:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-squad{display:flex;gap:10px;align-items:center;min-width:0;max-width:42%;font-size:14px;color:var(--muted)}.profile-squad>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-squad>.team-mark{width:38px;height:38px;flex:0 0 38px}.profile-squad>span:last-child{color:var(--accent);font-size:20px}.profile-chart-heading{display:flex;align-items:center;gap:9px;margin-top:16px}.profile-chart-heading h2,.profile-small-heading h2{margin:0;font-size:18px;font-weight:650}.profile-chart-help{display:inline-grid;place-items:center;border:1px solid var(--line);width:18px;height:18px;border-radius:50%;font-size:12px;color:var(--muted);cursor:help}.profile-radar{position:relative;display:grid;place-items:center;min-width:0;min-height:0;margin:0;background:radial-gradient(ellipse at center,color-mix(in srgb,var(--accent) 6%,transparent),transparent 68%)}.profile-radar-svg{display:block;width:100%;height:auto;max-width:620px;max-height:480px;overflow:visible}.profile-radar-grid{fill:none;stroke:color-mix(in srgb,var(--text) 14%,transparent);stroke-width:1}.profile-radar-spoke{stroke:var(--line);stroke-width:1}.profile-radar-scale{fill:var(--muted);font-size:10px;opacity:.7}.profile-radar-label{fill:var(--text);font-size:15px;font-weight:600}.profile-radar-value{fill:var(--accent);font-size:14px;font-weight:650;font-variant-numeric:tabular-nums}.profile-radar-layer{--radar-color:var(--accent);color:var(--radar-color)}.profile-radar-layer.is-player{--radar-color:#e9c979}.profile-radar-layer.is-position{--radar-color:#4f9ee5}.profile-radar-layer.is-event{--radar-color:#9d88d5}.profile-radar-layer polygon{fill:currentColor;fill-opacity:.11;stroke:currentColor;stroke-width:2}.profile-radar-layer.is-player polygon{fill-opacity:.2;stroke-width:3.2}.profile-radar-layer.is-position polygon{fill-opacity:.06;stroke-opacity:.8}.profile-radar-layer.is-event polygon{stroke-dasharray:4 5;stroke-width:1.5;fill-opacity:.025;stroke-opacity:.75}.profile-radar-layer line{stroke:currentColor;stroke-width:2}.profile-radar-layer circle{fill:currentColor;stroke:var(--surface);stroke-width:1.5}.profile-radar-layer[hidden]{display:none}.profile-radar-empty{position:absolute;top:49%;left:50%;transform:translate(-50%,-50%);padding:9px 14px;background:var(--surface);border:1px solid var(--line);font-size:14px;color:var(--muted);white-space:nowrap}.profile-radar-empty[hidden]{display:none}.profile-radar-legend{border:1px solid var(--line);border-radius:8px;background:var(--surface-2);padding:10px;display:flex;align-items:center;justify-content:center;gap:10px 16px;flex-wrap:wrap;margin:4px 0 0}.profile-radar-legend label{display:flex;align-items:center;gap:7px;font-size:13px;cursor:pointer;white-space:nowrap}.profile-radar-legend input{position:absolute;opacity:0;width:1px;height:1px}.profile-radar-legend i{width:22px;height:3px;background:var(--legend-color);position:relative}.profile-radar-legend .is-player{--legend-color:#e9c979}.profile-radar-legend .is-position{--legend-color:#4f9ee5}.profile-radar-legend .is-event{--legend-color:#9d88d5}.profile-radar-legend input:focus-visible+i{outline:2px solid var(--accent);outline-offset:5px}.profile-radar-legend label:has(input:not(:checked)),.profile-radar-legend label:has(input:disabled){opacity:.4}.profile-radar-legend label:has(input:disabled){cursor:default}.profile-ability-details{border-top:1px solid var(--line);padding:14px 0 0;margin-top:14px}.profile-ability-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-size:14px;list-style:none}.profile-ability-details>summary:after{content:'＋';color:var(--accent);margin-left:auto}.profile-ability-details[open]>summary:after{content:'−'}.profile-ability-details>summary>span{font-size:12px;color:var(--muted);margin-left:auto}.profile-axis-table{width:100%;border-collapse:collapse;margin-top:16px;font-size:14px;font-variant-numeric:tabular-nums}.profile-axis-table th,.profile-axis-table td{padding:10px 8px;text-align:right;border-bottom:1px solid var(--line)}.profile-axis-table th:first-child{text-align:left}.profile-axis-table thead{color:var(--muted);font-size:12px}.profile-axis-table tbody td:first-of-type{color:var(--accent);font-weight:650}.profile-biography>p{margin-top:14px;font-size:15px;line-height:1.8;color:var(--muted)}
/* The chart and its two observations share the middle column's available space. */
.profile-ability-overview{display:grid;align-content:center;gap:16px;flex:1;min-width:0;min-height:0;padding-top:10px}
.profile-ability-chart{display:flex;flex-direction:column;justify-content:center;min-width:0}
.profile-ability-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.profile-ability-highlight{min-width:0;padding:14px;border:1px solid var(--line);border-radius:10px;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 5%,var(--surface-2)),var(--surface));box-shadow:inset 0 2px color-mix(in srgb,var(--accent) 20%,transparent)}
.profile-ability-highlight dt{font-size:12px;line-height:1.4;color:var(--muted)}
.profile-ability-highlight dd{display:flex;flex-direction:column;gap:6px;margin:9px 0 0;min-width:0}
.profile-ability-highlight strong{font-size:clamp(26px,5cqw,36px);font-weight:650;line-height:1;letter-spacing:-.03em;color:var(--accent);font-variant-numeric:tabular-nums}
.profile-ability-highlight dd>span{font-size:13px;line-height:1.5;overflow-wrap:anywhere;color:var(--text)}
.profile-ability-highlight[data-direction=unavailable] strong{color:var(--muted)}
.profile-ability-highlight[data-direction=negative] strong{color:var(--text)}
@container profile-abilities (min-width:720px){
 .profile-ability-overview{grid-template-columns:minmax(0,1fr) minmax(150px,.32fr);align-items:center;gap:18px}
 .profile-ability-highlights{grid-template-columns:minmax(0,1fr);gap:14px}
 .profile-ability-highlight{padding:18px}
}
.dossier-performance{display:grid;gap:16px}.profile-small-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-small-heading>span{color:var(--muted);font-size:12px}.profile-event-metrics{display:grid;grid-template-columns:1fr 1fr;gap:22px 16px;margin-top:24px}.profile-event-metrics dt{color:var(--muted);font-size:13px;margin-bottom:8px}.profile-event-metrics dd{font-size:36px;line-height:1.1;letter-spacing:-.03em;font-weight:650;font-variant-numeric:tabular-nums}.profile-event-metrics dd small{font-size:12px;color:var(--muted);margin-left:6px;letter-spacing:0;font-weight:400}.profile-event-metrics .profile-kda-metric{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center;border-top:1px solid var(--line);padding-top:18px}.profile-kda-metric dt{grid-column:1;margin-bottom:0}.profile-kda-metric dd{grid-column:2;grid-row:1/3;font-size:30px;color:var(--accent)}.profile-kda-metric p{grid-column:1;font-size:16px;font-weight:550;margin-top:8px;font-variant-numeric:tabular-nums}.profile-kda-metric p span{color:var(--muted);margin:0 4px}.profile-organizer-score{display:flex;align-items:center;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.profile-organizer-score>span{font-size:13px;color:var(--muted);margin-right:auto}.profile-organizer-score strong{font-size:20px;font-variant-numeric:tabular-nums}.profile-organizer-score>b{color:var(--accent);font-size:15px;border:1px solid var(--line);padding:3px 6px;border-radius:4px}.profile-rating-entry .profile-small-heading>svg{width:21px;height:21px;stroke:var(--accent);fill:none;stroke-width:1.3}.profile-rating-number{font-size:44px;line-height:1.1;margin:22px 0;font-weight:650;color:var(--accent);font-variant-numeric:tabular-nums}.profile-rating-number>small{font-size:14px;color:var(--muted);margin-left:8px;font-weight:400}.profile-rate-action{display:flex;width:100%;justify-content:space-between;gap:16px;font-size:15px;min-height:46px}.profile-rating-entry>p{font-size:12px;color:var(--muted);text-align:center;margin-top:12px}.profile-rating-entry>p>span{margin:0 7px}.profile-no-rating{padding:13px;text-align:center;background:var(--surface-2);border:1px solid var(--line);border-radius:5px;font-size:14px;color:var(--muted)}.profile-hero-picks>div{display:flex;gap:12px;margin-top:18px;flex-wrap:wrap}.profile-hero-picks>div>span{width:calc((100% - 24px)/3);min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px}.profile-hero-picks img,.profile-missing-champion{display:grid;place-items:center;width:56px;height:56px;border-radius:8px;border:1px solid var(--line);object-fit:cover;background:var(--surface-2)}.profile-hero-picks>div>span>span:last-child{font-size:12px;color:var(--muted);width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.profile-live{margin-top:14px;display:grid;gap:9px}.profile-live-link{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);background:var(--surface);border-radius:8px;min-width:0;transition:border-color .18s,transform .18s}.profile-live-link:hover{border-color:var(--accent);transform:translateY(-2px)}.profile-live-link.is-live{border-color:color-mix(in srgb,var(--win) 65%,var(--line));box-shadow:inset 3px 0 var(--win)}.profile-live-symbol,.profile-live-unset>svg{flex:none;width:30px;height:30px;color:var(--accent)}.profile-live-symbol svg,.profile-live-unset>svg{width:30px;height:30px;stroke:currentColor;stroke-width:1.4;fill:none}.profile-live-link>span:has([data-live-name]){display:flex;flex-direction:column;gap:6px;min-width:0}.profile-live-link strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-live-link .live-state{font-size:12px}.profile-room-arrow{margin-left:auto;font-size:23px;color:var(--accent)}.profile-live-unset{margin-top:14px;display:flex;align-items:center;justify-content:center;gap:9px;padding:13px;border:1px solid var(--line);border-radius:7px;color:var(--muted);font-size:13px}.profile-live-unset>svg{width:22px;height:22px;color:var(--muted)}
.profile-history-workspace{margin-top:32px}.profile-history-tabs{display:flex;align-items:center;gap:30px;border-bottom:1px solid var(--line);margin-bottom:20px}.profile-history-tabs>a{display:flex;gap:10px;align-items:center;padding:15px 2px;font-size:18px;color:var(--muted);border-bottom:3px solid transparent;transition:color .18s,border-color .18s}.profile-history-tabs>a[aria-current=true]{color:var(--text);border-bottom-color:var(--accent)}.profile-history-tabs>a:hover{color:var(--text)}.profile-history-tabs>a>span{font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:4px;padding:1px 6px;font-variant-numeric:tabular-nums}.profile-history-pane[hidden]{display:none}.profile-history-pane .section-block{margin-top:0}.profile-event-history>.section-heading>span{font-size:13px;color:var(--muted)}.profile-event-records{display:grid;gap:10px}.profile-event-record{display:grid;grid-template-columns:64px 48px minmax(150px,1fr) 130px 180px auto;gap:16px;align-items:center;border:1px solid var(--line);border-left:3px solid var(--line);background:var(--surface-2);padding:18px}.profile-event-record.is-win{border-left-color:var(--win)}.profile-event-record.is-loss{border-left-color:var(--loss)}.profile-event-outcome{display:flex;flex-direction:column;align-items:center;gap:8px}.profile-event-outcome>span{font-size:12px;color:var(--muted)}.profile-event-champion>img,.profile-event-champion>span{width:48px;height:48px;object-fit:cover;border-radius:7px;border:1px solid var(--line)}.profile-event-champion>span{display:grid;place-items:center;color:var(--muted)}.profile-event-match{min-width:0}.profile-event-match>a{display:block;font-size:16px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.profile-event-match>a>span{font-size:12px;color:var(--muted);padding:0 7px;font-weight:400}.profile-event-match>p{font-size:12px;color:var(--muted);margin-top:8px}.profile-event-match>p>span{margin:0 8px}.profile-event-record-kda{display:flex;flex-direction:column;gap:7px;align-items:center;font-variant-numeric:tabular-nums}.profile-event-record-kda>strong{font-size:17px}.profile-event-record-kda>strong>span{color:var(--muted);margin:0 3px}.profile-event-record-kda>span{font-size:10px;letter-spacing:.05em;color:var(--muted)}.profile-event-resources{display:grid;grid-template-columns:1fr 1fr;gap:18px;font-variant-numeric:tabular-nums}.profile-event-resources dt{color:var(--muted);font-size:12px}.profile-event-resources dd{font-size:15px;margin-top:7px}.profile-event-open{font-size:14px;color:var(--accent);white-space:nowrap}.profile-event-open>span{margin-left:8px}.profile-professional-history{margin-top:18px;padding:20px;border:1px solid var(--line);background:var(--surface)}.profile-professional-history>summary{font-size:16px;cursor:pointer}.profile-professional-history[open]>.panel{margin-top:20px}.player-dossier a:focus-visible,.player-dossier summary:focus-visible,.profile-history-tabs>a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
[data-theme=light] .profile-radar-layer.is-player{--radar-color:#a27d29}[data-theme=light] .profile-radar-layer.is-position{--radar-color:#2675bc}[data-theme=light] .profile-radar-layer.is-event{--radar-color:#7b59b8}[data-theme=light] .profile-radar-legend .is-player{--legend-color:#a27d29}[data-theme=light] .profile-radar-legend .is-position{--legend-color:#2675bc}[data-theme=light] .profile-radar-legend .is-event{--legend-color:#7b59b8}
@media(min-width:2400px){.player-dossier{grid-template-columns:clamp(330px,17vw,440px) minmax(500px,1fr) clamp(320px,17vw,420px);gap:28px}.player-dossier .panel{padding:32px}.profile-radar-svg{max-width:760px;max-height:620px}.profile-section-heading h1{font-size:30px}.profile-small-heading h2,.profile-chart-heading h2{font-size:22px}.profile-event-metrics dd{font-size:44px}.profile-radar-legend label{font-size:16px}.profile-history-tabs>a{font-size:21px}}
@media(max-width:1150px){.player-dossier{grid-template-columns:250px minmax(0,1fr)}.dossier-performance{grid-column:1/-1;grid-template-columns:1fr 1fr 1fr;align-items:stretch}.profile-radar-svg{max-height:430px}.profile-event-record{grid-template-columns:58px 44px minmax(120px,1fr) 118px auto}.profile-event-resources{display:none}.profile-section-heading{gap:12px}.profile-squad{max-width:40%;font-size:12px}.profile-squad>.team-mark{width:30px;height:30px;flex-basis:30px}.player-dossier .panel{padding:22px}}
@media(max-width:760px){.player-dossier{grid-template-columns:minmax(0,1fr)}.dossier-identity{display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);gap:18px;align-items:center}.dossier-identity .player-card{width:100%}.profile-live,.profile-live-unset{margin-top:0}.dossier-performance{grid-template-columns:1fr 1fr}.profile-hero-picks{grid-column:1/-1}.profile-hero-picks>div{justify-content:flex-start}.profile-hero-picks>div>span{width:auto;min-width:70px;max-width:100px}.profile-section-heading h1{font-size:24px}.profile-radar-svg{max-height:460px}.profile-event-record{grid-template-columns:48px 40px minmax(0,1fr);gap:12px;padding:14px}.profile-event-record-kda{grid-column:3;grid-row:2;align-items:flex-start}.profile-event-record-kda>span{display:none}.profile-event-open{grid-column:1/3;grid-row:2;justify-self:center}.profile-event-match>a{font-size:14px}.profile-event-champion>img,.profile-event-champion>span{width:40px;height:40px}.profile-return-row>span{max-width:48%;font-size:12px}.profile-history-tabs{gap:24px}.profile-history-tabs>a{font-size:17px}.profile-event-history>.section-heading>span{font-size:12px}}
@media(max-width:480px){.dossier-identity{display:block}.dossier-identity>.player-card{max-width:280px;margin:0 auto}.profile-live,.profile-live-unset{margin:14px auto 0;max-width:280px}.player-dossier .panel{padding:18px}.profile-section-heading h1{font-size:22px}.profile-squad>span:nth-child(2){display:none}.profile-squad{max-width:30%}.profile-radar{margin:0 -8px}.profile-radar-label{font-size:16px}.profile-radar-value{font-size:15px}.profile-radar-legend{gap:10px 13px}.profile-radar-legend label{font-size:12px}.profile-radar-legend i{width:16px}.dossier-performance{gap:12px}.profile-event-metrics{gap:18px 8px}.profile-event-metrics dd{font-size:28px}.profile-event-metrics dd small{font-size:10px;margin-left:3px}.profile-kda-metric p{font-size:13px}.profile-event-metrics .profile-kda-metric{grid-template-columns:1fr}.profile-kda-metric dd{grid-row:auto;grid-column:1;margin-top:8px;font-size:27px}.profile-kda-metric p{grid-row:3}.profile-organizer-score{gap:6px}.profile-organizer-score>span{font-size:11px}.profile-organizer-score strong{font-size:17px}.profile-organizer-score b{font-size:12px}.profile-small-heading{align-items:flex-start}.profile-small-heading h2{font-size:16px}.profile-small-heading>span{display:none}.profile-rating-number{font-size:36px}.profile-rate-action{font-size:12px;padding:10px;gap:4px}.profile-rating-entry>p{font-size:11px}.profile-no-rating{font-size:12px;padding:12px 6px}.profile-history-tabs{gap:20px}.profile-history-tabs>a{font-size:16px}.profile-ability-details>summary>span{font-size:11px}.profile-event-outcome>span{font-size:10px}}
.profile-radar-svg{stroke:none;fill:none}.profile-radar-svg text,.profile-radar-svg tspan{stroke:none}.profile-radar-layer line.profile-radar-spoke{stroke:var(--line)}.profile-extra-abilities>.dimensions{margin-top:18px;grid-template-columns:repeat(2,minmax(0,1fr))}.profile-extra-abilities .dimension>div{font-size:14px}
@media(prefers-reduced-motion:reduce){.profile-live-link,.profile-history-tabs>a{transition:none}.profile-live-link:hover{transform:none}}

/* Aligned dossier columns; narrow screens retain their natural reading order. */
@media(min-width:1151px){
 .player-dossier{align-items:stretch}
 .dossier-identity{display:flex;flex-direction:column}
 .dossier-abilities{display:flex;flex-direction:column;min-height:0}
 .dossier-performance{grid-template-rows:minmax(0,1.15fr) minmax(0,1fr) auto;align-content:stretch}
 .dossier-performance>.panel{display:flex;flex-direction:column}
 .profile-rating-number{margin:auto 0;padding:20px 0}
 .profile-live{flex:1;grid-auto-rows:minmax(100px,1fr)}
}
.profile-radar-legend{margin-bottom:0}
.profile-score-source{margin-left:auto;font-size:12px;line-height:1.4;padding:4px 8px;border:1px solid var(--line);border-radius:4px;color:var(--muted);cursor:help;white-space:nowrap}
.profile-score-source[data-score-origin=manual],.profile-score-source[data-score-origin=mixed]{border-style:dotted;color:var(--accent)}
.profile-radar-tooltip{position:absolute;z-index:5;width:230px;max-width:calc(100% - 8px);padding:15px;background:var(--surface);border:1px solid var(--line);border-radius:7px;box-shadow:0 10px 40px #0004;pointer-events:none;text-align:left}
.profile-radar-tooltip[hidden]{display:none}.profile-radar-tooltip>strong{font-size:16px}.profile-radar-tooltip dl{display:grid;gap:12px;margin-top:14px}
.profile-radar-tooltip dl>div{display:flex;align-items:center;justify-content:space-between;gap:16px}.profile-radar-tooltip dt{font-size:13px;color:var(--muted)}.profile-radar-tooltip dt small{display:block;font-size:11px;margin-top:2px}.profile-radar-tooltip dd{font-size:19px;font-weight:650;font-variant-numeric:tabular-nums}.profile-radar-tooltip dl>div:first-child dd{color:var(--accent)}.profile-radar-label[tabindex]{cursor:help;outline:none}.profile-radar-label:focus{fill:var(--accent)}
.profile-page-actions{display:flex;gap:15px;align-items:center;min-width:0}.profile-page-actions>span{font-size:13px;color:var(--muted)}
.profile-page-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;min-width:0}.profile-score-edit-button{min-height:38px;padding:8px 12px;font-size:13px;white-space:nowrap}.profile-page-controls>[data-player-sync]{display:contents}.profile-page-controls .profile-sync-message{flex-basis:100%;text-align:right}
[data-player-sync]{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.profile-sync-button{display:flex;align-items:center;gap:8px;min-height:38px;padding:8px 12px;font-size:13px}.profile-sync-button>svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}.profile-sync-message{font-size:12px;color:var(--muted);max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-sync-message:empty{display:none}
.profile-sync-button:disabled{cursor:default;opacity:.65}.profile-sync-button.is-syncing>svg{animation:profile-sync-turn 2s linear infinite}@keyframes profile-sync-turn{to{transform:rotate(360deg)}}
.profile-live-link{position:relative;flex-wrap:wrap;align-content:end;overflow:hidden;isolation:isolate}.profile-live-cover{position:absolute;inset:0;z-index:-2}.profile-live-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#0c111b18,#0c111bea)}.profile-live-cover img{width:100%;height:100%;object-fit:cover}.profile-live-link:has(.profile-live-cover){min-height:160px;color:#edf1f6}.profile-live-link:has(.profile-live-cover) .live-state{color:#edf1f6}.profile-live-link:has(.profile-live-cover)>span:not(.profile-live-cover){position:relative}.profile-live-link>span:has([data-live-name]){flex:1;min-width:70px}
.profile-room-preview{position:fixed;z-index:90;width:330px;max-width:calc(100vw - 16px);padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 15px 50px #0007;pointer-events:none}.profile-room-preview[hidden]{display:none}.profile-room-preview [data-room-preview-image]{aspect-ratio:16/9;overflow:hidden;background:var(--surface-2);border-radius:4px}.profile-room-preview [data-room-preview-image]:empty{display:none}.profile-room-preview img{width:100%;height:100%;object-fit:cover}.profile-room-preview>strong{display:block;margin-top:10px;font-size:16px}.profile-room-preview>span{font-size:13px;color:var(--accent)}.profile-room-preview>p{font-size:14px;margin:6px 0;overflow-wrap:anywhere}.profile-room-preview>small{font-size:11px;color:var(--muted)}
@media(max-width:760px){.profile-return-row{align-items:start;gap:12px}.profile-page-actions{flex-direction:column;align-items:end;max-width:72%}.profile-page-actions>span{display:none}.profile-sync-message{max-width:180px;font-size:11px}.profile-score-source{font-size:11px}.profile-radar-tooltip{width:205px}.profile-room-preview{display:none}}
@media(max-width:520px){.profile-return-row{flex-direction:column;align-items:stretch}.profile-return-row>.back-link{align-self:flex-start}.profile-page-actions{width:100%;max-width:none;align-items:stretch}.profile-page-controls{width:100%;justify-content:flex-start}.profile-page-controls .profile-sync-message{max-width:100%;text-align:left}}
@media(prefers-reduced-motion:reduce){.profile-sync-button.is-syncing>svg{animation:none}}

.profile-radar-data-table{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
/* Keep rating actions readable in the shared detail and preview dossier. */
@media(max-width:480px){.dossier-performance{grid-template-columns:minmax(0,1fr)}}

/* A compact dossier keeps the chart, identity and match summary in one glance. */
.player-dossier{grid-template-columns:clamp(210px,17.5vw,260px) minmax(0,1fr) clamp(230px,19vw,280px);gap:16px;align-items:stretch}
.player-dossier .panel{padding:18px}
.player-dossier .dossier-abilities{min-height:0;align-self:stretch}
.player-dossier .dossier-performance{grid-column:auto;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;align-content:stretch;gap:12px}
.player-dossier .dossier-identity{display:flex;flex-direction:column;gap:12px}
.dossier-identity .profile-hero-picks{margin:0}
.player-dossier .profile-live,.player-dossier .profile-live-unset{margin:0;flex:none}
.player-dossier .profile-live{grid-auto-rows:auto}
.player-dossier .profile-live-link:has(.profile-live-cover){min-height:112px}
.profile-section-heading{padding-bottom:12px;gap:12px}
.profile-section-heading h1{font-size:22px}
.profile-squad{gap:6px;font-size:12px}
.profile-squad>.team-mark{width:28px;height:28px;flex-basis:28px}
.profile-chart-heading{margin-top:12px}
.profile-chart-heading h2,.profile-small-heading h2{font-size:16px}
.profile-chart-hint{margin-left:auto;font-size:11px;color:var(--muted)}
.profile-ability-overview{flex:1;align-content:center;gap:12px;padding-top:4px}
.profile-radar-svg{max-width:440px;max-height:370px}
.profile-radar-legend{padding:9px 6px;gap:10px 14px}
.profile-radar-legend label{font-size:12px}
.profile-ability-highlight{padding:10px 12px}
.profile-ability-highlight dd{margin-top:6px;gap:4px}
.profile-ability-highlight strong{font-size:26px}
.profile-ability-highlight dd>span{font-size:12px}
@container profile-abilities (min-width:560px){
 .profile-ability-overview{grid-template-columns:minmax(0,1fr) 124px;align-items:center;gap:12px}
 .profile-ability-highlights{grid-template-columns:minmax(0,1fr);gap:12px}
 .profile-ability-highlight{padding:12px}
}
.profile-event-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 8px;margin-top:16px}
.profile-event-metrics dt{display:flex;align-items:center;gap:4px;font-size:12px;margin-bottom:6px}
.profile-event-metrics dt .ui-icon{width:14px;height:14px;flex:none;color:var(--accent)}
.profile-event-metrics dd{font-size:26px}
.profile-event-metrics dd small{font-size:11px;margin-left:3px}
.profile-event-metrics .profile-kda-metric{grid-template-columns:1fr auto;padding-top:12px}
.profile-kda-metric dd{grid-column:2;grid-row:1/3;font-size:28px;margin:0}
.profile-kda-metric p{font-size:13px;grid-column:1;grid-row:2;margin-top:6px}
.profile-kda-metric p span{margin:0 2px}
.profile-organizer-score{margin-top:14px;padding-top:12px}
.player-dossier .profile-rating-number{font-size:34px;margin:10px 0;padding:0}
.profile-rating-entry>p.profile-rating-context{text-align:left;margin:6px 0 0}
.profile-rate-action{min-height:42px;font-size:13px;padding:9px 12px}
.profile-rating-entry>p{margin-top:8px}
.profile-no-rating{padding:10px}
.profile-hero-picks>div{gap:8px;margin-top:12px}
.profile-hero-picks>div>span{width:calc((100% - 16px)/3);gap:6px}
.profile-hero-picks img,.profile-missing-champion{width:40px;height:40px}
.profile-hero-picks>div>span>span:last-child{font-size:11px}
.profile-history-workspace{margin-top:22px}
.profile-history-tabs{margin-bottom:16px}
.profile-history-tabs>a{padding:12px 2px;font-size:16px}

/* Distinct reading surfaces, without changing cards, chart geometry or outcome colours. */
:root[data-theme=light] .player-dossier .dossier-performance>.profile-event-summary{background:linear-gradient(145deg,#eaf2fa,#f8fbfe);border-color:#ccdcea;box-shadow:inset 0 1px #fff,0 6px 20px #274f7312}
:root[data-theme=light] .player-dossier .dossier-performance>.profile-rating-entry{background:linear-gradient(145deg,#f7f0e3,#fffcf6);border-color:#e4d5b9;box-shadow:inset 0 1px #fff,0 6px 20px #735a2710}
/* The tooltip has its own solid-tinted glass surface, independent of page panels. */
.profile-radar-tooltip{z-index:8;padding:13px 14px;border-radius:12px;background:rgba(17,29,46,.94);color:#edf4ff;border:1px solid rgba(160,190,225,.3);box-shadow:0 12px 32px #0005,inset 0 1px #ffffff12;backdrop-filter:blur(16px) saturate(140%);-webkit-backdrop-filter:blur(16px) saturate(140%)}
[data-theme=light] .profile-radar-tooltip{background:rgba(248,251,255,.94);color:#15263c;border-color:rgba(72,108,150,.24);box-shadow:0 12px 32px #19354f2b,inset 0 1px #fff}
.profile-radar-tooltip>strong{font-size:15px}
.profile-radar-tooltip dl{margin-top:10px;gap:10px}
.profile-radar-tooltip dt{color:inherit;opacity:.85}
.profile-radar-tooltip small{color:inherit;opacity:.7}
.profile-radar-tooltip dd{font-size:17px}
.profile-radar-label,.profile-radar-spoke,.profile-radar-layer circle{transition:fill .14s,stroke .14s,stroke-width .14s,r .14s,filter .14s}
.profile-radar-label.is-active,.profile-radar-label.is-active .profile-radar-value{fill:var(--accent);font-weight:750}
.profile-radar-spoke.is-active{stroke:var(--accent);stroke-width:2;stroke-opacity:.55}
.profile-radar-layer circle.is-active{r:6;stroke-width:2.5;filter:drop-shadow(0 0 4px currentColor)}
.profile-radar-layer.is-player circle.is-active{r:7}
.profile-radar-layer [data-radar-bar].is-active{stroke-width:10;filter:drop-shadow(0 0 3px currentColor)}
@media(min-width:1800px){.profile-radar-svg{max-width:490px;max-height:410px}}
@media(max-width:1100px){
 .player-dossier{grid-template-columns:210px minmax(0,1fr)}
 .player-dossier .dossier-performance{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 .profile-squad{max-width:42%}
}
@media(max-width:700px){
 .player-dossier{grid-template-columns:minmax(0,1fr);gap:14px}
 .player-dossier .dossier-identity{display:grid;grid-template-columns:minmax(0,190px) minmax(0,1fr);gap:12px;align-items:start}
 .dossier-identity>.player-card{grid-row:span 2;max-width:none;margin:0}
 .dossier-identity .profile-hero-picks{padding:12px;align-self:start}
 .dossier-identity .profile-hero-picks>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
 .dossier-identity .profile-hero-picks>div>span{width:auto;min-width:0;max-width:none}
 .dossier-identity .profile-hero-picks img,.dossier-identity .profile-missing-champion{width:30px;height:30px}
 .dossier-identity .profile-hero-picks>div>span>span:last-child{display:none}
 .dossier-identity .profile-live,.dossier-identity .profile-live-unset{grid-column:2;max-width:none;width:100%}
 .profile-live-unset{padding:10px 6px;font-size:11px;gap:5px}
 .profile-live-unset>svg{width:17px;height:17px}
 .profile-live-link{padding:10px;gap:6px}
 .profile-live-link strong{font-size:12px}
 .profile-live-symbol{display:none}
 .profile-chart-hint{font-size:10px}
 .profile-section-heading h1{font-size:20px}
 .profile-radar{margin:0}
 .profile-radar-svg{max-height:340px}
 .profile-ability-overview{grid-template-columns:minmax(0,1fr)}
 .profile-ability-highlights{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .profile-ability-highlight{padding:10px}
 .profile-ability-highlight strong{font-size:24px}
 .player-dossier .dossier-performance{grid-template-columns:minmax(0,1fr)}
 .profile-hero-picks{grid-column:auto}
 .profile-small-heading>span{display:block}
}
@media(max-width:360px){.player-dossier .dossier-identity{grid-template-columns:minmax(0,165px) minmax(0,1fr)}.dossier-identity .profile-hero-picks{padding:10px}.dossier-identity .profile-hero-picks img,.dossier-identity .profile-missing-champion{width:25px;height:25px}}
@media(prefers-reduced-motion:reduce){.profile-radar-label,.profile-radar-spoke,.profile-radar-layer circle{transition:none}.profile-radar-layer circle.is-active,.profile-radar-layer [data-radar-bar].is-active{filter:none}}

/* Event appearances and the shared ability plot share the available space. */
.profile-event-champions{min-width:0}
.profile-champion-list{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:9px;align-content:center;flex:1}
.profile-champion-list>li{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:9px;align-items:center;min-width:0}
.profile-champion-portrait{display:grid;place-items:center;width:40px;height:40px;border-radius:9px;overflow:hidden;background:var(--surface-2);border:1px solid var(--line);color:var(--muted)}
.profile-champion-portrait img{width:100%;height:100%;object-fit:cover}
.profile-champion-name,.profile-champion-record{display:flex;flex-direction:column;gap:4px;min-width:0}
.profile-champion-name>strong{font-size:13px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-champion-name>span,.profile-champion-record>span{font-size:11px;line-height:1.3;color:var(--muted);font-variant-numeric:tabular-nums}
.profile-champion-name i{font-style:normal;margin:0 2px}
.profile-champion-record{text-align:right}
.profile-champion-record>strong{font-size:17px;line-height:1.15;color:var(--accent);font-variant-numeric:tabular-nums}
.profile-champion-record small{font-size:10px;margin-left:1px}
.profile-champions-empty{margin:auto 0;padding:16px 0;font-size:12px;line-height:1.7;color:var(--muted)}
.profile-champions-note{margin:9px 0 0;font-size:11px;line-height:1.5;color:var(--muted)}
:root .player-dossier .dossier-abilities{background:radial-gradient(ellipse at 16% 36%,#4f9ee51c,transparent 62%),radial-gradient(ellipse at 88% 76%,#d8ba7220,transparent 65%),var(--surface);border-color:color-mix(in srgb,var(--accent) 24%,var(--line));box-shadow:inset 0 1px color-mix(in srgb,var(--text) 10%,transparent),0 8px 24px #07101d0d}
.profile-radar{isolation:isolate;background:radial-gradient(ellipse at 50% 52%,#d8ba7217,transparent 70%)}
.profile-radar:before{content:'';position:absolute;inset:8% 4% 4%;z-index:-1;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 27px,color-mix(in srgb,var(--text) 10%,transparent) 27px 28px),repeating-linear-gradient(90deg,transparent 0 27px,color-mix(in srgb,var(--text) 10%,transparent) 27px 28px);mask-image:radial-gradient(ellipse,#000b,transparent 74%);-webkit-mask-image:radial-gradient(ellipse,#000b,transparent 74%)}
.profile-radar-grid{stroke:color-mix(in srgb,#91b4d5 42%,var(--line));stroke-width:1;vector-effect:non-scaling-stroke;fill:color-mix(in srgb,#4f9ee5 3%,transparent)}
.profile-radar-grid:nth-of-type(odd){stroke:color-mix(in srgb,#d8ba72 36%,var(--line))}
.profile-radar-layer.is-player polygon{filter:drop-shadow(0 0 5px #e9c97925)}
/* Keep both the marks and their legend above the general light-theme palette. */
:root[data-theme=light] .player-dossier .profile-radar-layer.is-player{--radar-color:#927024}
:root[data-theme=light] .player-dossier .profile-radar-legend .is-player{--legend-color:#927024}
:root[data-theme=light] .player-dossier .profile-radar-layer.is-position{--radar-color:#2675bc}
:root[data-theme=light] .player-dossier .profile-radar-legend .is-position{--legend-color:#2675bc}
:root[data-theme=light] .player-dossier .profile-radar-layer.is-event{--radar-color:#7b59b8}
:root[data-theme=light] .player-dossier .profile-radar-legend .is-event{--legend-color:#7b59b8}
:root[data-theme=light] .player-dossier .profile-radar-grid{stroke:color-mix(in srgb,#416588 36%,transparent)}
:root[data-theme=light] .player-dossier .profile-radar-grid:nth-of-type(odd){stroke:color-mix(in srgb,#927024 30%,transparent)}
@media(min-width:1101px){
 /* Stretch only the live area; the portrait keeps its intrinsic proportions. */
 .player-dossier .dossier-identity{align-self:stretch;justify-content:flex-start;min-height:0}
 .player-dossier .dossier-identity>.player-card{flex:none}
 .player-dossier .profile-live{flex:1 1 170px;min-height:170px;max-height:none;overflow:auto;grid-auto-rows:minmax(120px,1fr);gap:8px;overscroll-behavior:contain;scrollbar-width:thin}
 .player-dossier .profile-live-link,.player-dossier .profile-live-link:has(.profile-live-cover){min-height:120px;height:auto;padding:12px;gap:8px}
 .player-dossier .profile-live-link strong{font-size:13px}
 .player-dossier .profile-live-unset{flex:1;min-height:130px}
 .player-dossier .dossier-performance>.panel{display:flex;flex-direction:column}
 .player-dossier .profile-rating-entry{padding-top:14px;padding-bottom:14px}
 .player-dossier .profile-rating-number{font-size:30px;margin:8px 0}
}
@media(max-width:1100px) and (min-width:701px){
 .player-dossier .dossier-performance{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;align-items:stretch}
 .player-dossier .dossier-performance>.panel{display:flex;flex-direction:column}
}
@media(max-width:700px){
 .player-dossier .dossier-identity{align-items:stretch}
 .dossier-identity>.player-card{grid-row:auto}
 .player-dossier .dossier-identity .profile-live{max-height:260px;overflow:auto;align-content:start;scrollbar-width:thin}
 .player-dossier .dossier-identity .profile-live-unset{align-self:center}
 .player-dossier .dossier-performance{grid-template-rows:auto}
 .profile-champion-list{grid-template-columns:minmax(0,1fr);gap:12px}
 .profile-champion-list>li{grid-template-columns:42px minmax(0,1fr) auto;gap:12px}
 .profile-champion-name>strong{font-size:14px}
 .profile-champion-name>span,.profile-champion-record>span{font-size:12px}
 .profile-champion-record>strong{font-size:19px}
}
@media(prefers-reduced-motion:reduce){.profile-radar-layer.is-player polygon{filter:none}}

/* Geometry is relative to event-wide raw bounds; labels retain native units. */
.profile-ability-highlight dd strong{overflow-wrap:anywhere}
.profile-radar-svg[data-radar-scale=event_raw_minmax_30_100] .profile-radar-value{font-size:14px}

.profile-ability-highlight strong .profile-highlight-unit{display:block;margin-top:5px;font-size:.48em;font-weight:500;line-height:1.3;letter-spacing:0;white-space:nowrap}
.profile-ability-highlight strong .profile-highlight-unit.is-inline{display:inline;margin:0 0 0 1px;font-size:.6em}

/* Overall rating belongs to the ability summary, outside the six radar axes. */
.profile-total-highlight{grid-column:1/-1}
.profile-total-highlight dd{flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px}
.profile-total-highlight dd{--total-color:#aab6c4}
.profile-total-highlight dd:has(>[data-grade="s-plus"]){--total-color:#fff0bf}
.profile-total-highlight dd:has(>[data-grade="s"]){--total-color:#f4d487}
.profile-total-highlight dd:has(>[data-grade="a"]){--total-color:#dbb1fa}
.profile-total-highlight dd:has(>[data-grade="b"]){--total-color:#82d8ec}
.profile-total-highlight dd:has(>[data-grade="c"]){--total-color:#d3dde6}
.profile-total-highlight dd:has(>[data-grade="d"]){--total-color:#e4ad7b}
.profile-total-highlight .profile-total-number{color:var(--total-color);white-space:nowrap}
.profile-total-highlight .grade-badge{align-self:flex-start}
[data-theme=light] .profile-total-highlight dd{--total-color:#647487}
[data-theme=light] .profile-total-highlight dd:has(>[data-grade="s-plus"]){--total-color:#795b20}
[data-theme=light] .profile-total-highlight dd:has(>[data-grade="s"]){--total-color:#946a1d}
[data-theme=light] .profile-total-highlight dd:has(>[data-grade="a"]){--total-color:#8251a6}
[data-theme=light] .profile-total-highlight dd:has(>[data-grade="b"]){--total-color:#207b91}
[data-theme=light] .profile-total-highlight dd:has(>[data-grade="c"]){--total-color:#566777}
[data-theme=light] .profile-total-highlight dd:has(>[data-grade="d"]){--total-color:#915b30}
@container profile-abilities (min-width:560px){.profile-ability-highlights{grid-template-columns:minmax(0,1fr)}}

.profile-radar-chinese{fill:var(--text);font-size:13px;font-weight:500}

.profile-card-text-field{display:grid;gap:8px;margin:18px 0}.profile-card-text-field textarea{font-size:22px;line-height:1.3;resize:vertical;max-height:160px}
.profile-card-rank-fields{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px}.profile-card-rank-fields label{display:grid;gap:7px;min-width:0}.profile-card-rank-fields select{width:100%;min-height:44px}
.profile-chart-heading{flex-wrap:wrap}.profile-chart-heading .profile-chart-hint{display:none}.profile-comparison-menu{position:relative;margin-left:auto;z-index:12}
.profile-comparison-menu>summary{display:flex;align-items:center;gap:8px;min-height:36px;padding:5px 11px;border:1px solid var(--line);border-radius:6px;list-style:none;font-size:12px;cursor:pointer;color:var(--text);background:var(--surface-2)}.profile-comparison-menu>summary::-webkit-details-marker{display:none}.profile-comparison-menu>summary>span{font-size:11px;color:var(--muted)}.profile-comparison-menu>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.profile-comparison-picker{position:absolute;right:0;top:calc(100% + 6px);width:min(300px,calc(100vw - 70px));display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--surface);box-shadow:0 9px 30px #0003}
.profile-comparison-picker input[type=search]{width:100%;min-height:40px;font:inherit;font-size:13px}.profile-comparison-options{max-height:238px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.profile-comparison-options>label{display:flex;align-items:center;gap:9px;min-height:42px;padding:5px 7px;border-radius:5px;font-size:13px;cursor:pointer}.profile-comparison-options>label[hidden]{display:none}.profile-comparison-options>label:has(input:checked){background:color-mix(in srgb,var(--accent) 12%,var(--surface))}.profile-comparison-options input{width:17px;height:17px;accent-color:var(--accent);flex:none}.profile-comparison-options span{min-width:0;overflow-wrap:anywhere}.profile-comparison-options small{margin-left:auto;color:var(--muted);font-size:11px;white-space:nowrap}.profile-comparison-picker p{font-size:12px;color:var(--muted);line-height:1.5}.profile-comparison-actions{display:flex;justify-content:space-between;gap:12px;align-items:center}.profile-comparison-actions>button{min-height:40px;font:inherit;font-size:12px}.profile-comparison-actions>[data-comparison-clear]{background:none;border:0;padding:6px;color:var(--muted);cursor:pointer}.profile-radar-player-empty{margin:9px 0 0;text-align:center;font-size:12px;color:var(--muted)}.profile-radar-player-empty[hidden]{display:none}
.profile-comparison-notice{color:var(--accent);font-size:12px;margin-top:8px}
.profile-radar-layer.is-compare_1{--radar-color:#39b9ce}.profile-radar-layer.is-compare_2{--radar-color:#b88ce6}.profile-radar-layer.is-compare_3{--radar-color:#e57f79}
.profile-radar-legend .is-compare_1{--legend-color:#39b9ce}.profile-radar-legend .is-compare_2{--legend-color:#b88ce6}.profile-radar-legend .is-compare_3{--legend-color:#e57f79}
[data-theme=light] .profile-radar-layer.is-compare_1{--radar-color:#17879a}[data-theme=light] .profile-radar-layer.is-compare_2{--radar-color:#8553b8}[data-theme=light] .profile-radar-layer.is-compare_3{--radar-color:#b74848}
.profile-radar-tooltip dt{display:flex;align-items:center;gap:7px;min-width:0}.profile-radar-tooltip dt img{width:24px;height:24px;border-radius:50%;object-fit:cover;flex:none}.profile-radar-tooltip dl>div.is-leading{color:var(--accent);font-weight:750;background:color-mix(in srgb,var(--accent) 10%,transparent);border-radius:4px;padding:5px;margin:0 -5px}
.profile-card-rank-fields>label:last-child{grid-column:1/-1}.profile-card-rank-fields input{width:100%;min-height:44px}
.profile-radar-legend label{max-width:100%;overflow-wrap:anywhere}.profile-radar-layer:not(.is-player) polygon{fill-opacity:.075}
@media(max-width:600px){.profile-card-rank-fields{grid-template-columns:1fr 1fr}.profile-card-rank-fields>label:first-child{grid-column:1/-1}.profile-comparison-menu>summary,.profile-comparison-options>label,.profile-comparison-actions>button{min-height:44px}}
/* Each room is a 4:3 preview; its height does not follow the statistics column. */
.player-dossier .dossier-identity{align-self:start}
.player-dossier .dossier-identity .profile-live{flex:none;min-height:0;max-height:none;overflow:visible;grid-auto-rows:auto;align-content:start}
.player-dossier .dossier-identity .profile-live-link,.player-dossier .dossier-identity .profile-live-link:has(.profile-live-cover){width:100%;height:auto;min-height:0;aspect-ratio:4/3}
.player-dossier .dossier-identity .profile-live-unset{flex:none;min-height:0}
