/* Profile-only presentation. Existing score policies and shared rank styles are unchanged. */
body.profile-gui{--panel:#1b1e23;--muted:#b4bdc9;--line:#373e48}
.profile-gui .page-shell{max-width:1200px}.profile-gui .profile-hero{background:var(--panel);border-left:1px solid var(--line);margin-bottom:16px;grid-template-columns:minmax(0,1fr) 175px 145px;gap:22px;padding:24px;min-height:0}.profile-gui .score-value{color:var(--text);font-size:48px}.profile-gui .profile-hero .avatar{width:72px;height:84px}.profile-gui .hero-meta{display:grid;grid-column:auto;border-top:0;padding-top:0;gap:10px}.profile-gui .hero-meta div{gap:10px}.profile-gui .hero-meta .rank-value{font-size:22px}
.profile-gui .gui-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:18px 0;background:var(--panel);border:1px solid var(--line);border-radius:14px;margin-bottom:22px}
.gui-summary>div{padding:0 22px;border-right:1px solid var(--line)}.gui-summary>div:last-child{border:0}.gui-summary span{font-size:12px;color:var(--muted)}.gui-summary strong{display:block;font-size:26px;font-variant-numeric:tabular-nums}.gui-summary small{font-size:16px;color:var(--muted)}
.gui-win-track{height:5px;background:#76575c;border-radius:4px;overflow:hidden;margin-top:6px}.gui-win-track i{display:block;height:100%;background:var(--cyan)}
.gui-main-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin:12px 0 22px}.gui-main-tabs button{background:none;border:0;border-bottom:3px solid transparent;color:var(--muted);padding:13px 20px;font-weight:650;min-height:46px}.gui-main-tabs button[aria-selected=true]{color:var(--text);border-bottom-color:var(--amber)}
.gui-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.profile-gui #scoreBreakdownSection,.profile-gui #scoreBreakdown,.profile-gui #recordInsightsSection,.profile-gui #recordInsights,.profile-gui #performanceSection,.profile-gui #styleHelp{display:contents}
.gui-card{background:var(--panel);border:1px solid var(--line);border-radius:15px;padding:22px;min-width:0;height:100%}.gui-card h2{font-size:18px;margin:0;letter-spacing:-.035em}
.gui-score{order:1}.gui-growth{order:2}.profile-gui .player-style-panel{order:3}.gui-support{order:4}.gui-analysis-details{order:5;grid-column:1/-1}.gui-core-details{order:6;grid-column:1/-1}
.gui-card-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px;margin-bottom:14px}.gui-card-heading h2{margin:0}
.gui-help{display:inline-grid;place-items:center;width:36px;height:36px;flex:none;border:0;border-radius:7px;background:none;vertical-align:middle;padding:0}.gui-help>span{display:grid;place-items:center;border:1px solid var(--muted);border-radius:50%;width:20px;height:20px;font-size:12px;font-weight:700;color:var(--muted)}.gui-help[aria-expanded=true]{background:#303741}.gui-help[aria-expanded=true]>span{color:var(--amber);border-color:var(--amber)}
.gui-help-body{flex-basis:100%;width:100%;padding:16px;background:#252a32;border-left:3px solid var(--amber);border-radius:8px;font-size:13px;line-height:1.7;overflow-wrap:anywhere;margin:8px 0 0}.gui-help-body p{margin:0 0 10px}.gui-help-close{display:block;margin:12px 0 0 auto}.gui-help-body .insight-details{margin:12px 0 0}.gui-help-body .insight-details-body{padding:10px}.gui-help-body .score-equation{grid-template-columns:repeat(2,minmax(0,1fr))}
.gui-axis-label{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:11px;margin-bottom:9px}.gui-score-row{display:grid;grid-template-columns:68px minmax(0,1fr) 88px;gap:8px;align-items:center;min-height:33px;font-size:12px}.gui-score-row b{text-align:right;font-variant-numeric:tabular-nums;font-weight:650}.gui-score-row.is-bonus{color:var(--amber)}
.gui-bar{position:relative;height:14px;background:#262c34;border-radius:3px;overflow:hidden}.gui-bar i{position:absolute;display:block;height:100%;min-width:2px;background:var(--cyan);border-radius:2px}.gui-bar .is-negative{background:var(--red)}.gui-bar.is-bonus i{background:var(--amber)}.gui-zero{position:absolute;top:0;bottom:0;border-left:1px solid #75808d}.gui-bar.is-previous i{background:#9aa5b4}.gui-bar.is-unavailable{background:repeating-linear-gradient(135deg,#252b32,#252b32 5px,#3b434e 5px,#3b434e 6px)}
.gui-equation{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;border-top:1px solid var(--line);padding-top:14px;margin-top:15px;font-size:12px}.gui-equation strong{font-size:23px}.gui-gold{color:var(--amber)}.gui-meta{font-size:12px;color:var(--muted);margin:14px 0 0;line-height:1.65}.gui-empty{color:var(--muted);font-size:14px;line-height:1.8;padding:20px 0}
.gui-growth-controls,.gui-relation-controls{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}.gui-chip{border:1px solid var(--line);background:transparent;border-radius:7px;padding:8px 12px;min-height:36px;font-size:12px}.gui-chip[aria-pressed=true]{background:var(--text);color:var(--bg);border-color:var(--text)}
.gui-growth-delta{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;margin:14px 0 18px}.gui-growth-delta strong{font-size:32px;font-variant-numeric:tabular-nums}.gui-growth-delta span{font-size:12px;color:var(--muted)}.gui-comparison{margin-top:14px}.gui-comparison>div:first-child{display:flex;justify-content:space-between;font-size:12px;margin-bottom:5px}.gui-comparison span{color:var(--muted)}.gui-comparison b{font-variant-numeric:tabular-nums}
.gui-support-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;text-align:center;margin:12px 0 24px}.gui-support-values strong{display:block;font-size:30px}.gui-support-values span{display:block;font-size:12px;color:var(--muted)}.gui-support-values .gui-support-icon{height:42px;font-size:28px;color:var(--cyan)}.gui-activity-label{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted)}.gui-activity-label b{color:var(--text)}.gui-activity-track{height:13px;margin-top:8px;background:#293039;border-radius:4px;overflow:hidden}.gui-activity-track i{display:block;height:100%;background:var(--cyan)}
.gui-advanced{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:0 20px;min-width:0}.gui-advanced>summary{padding:17px 0;font-size:14px;font-weight:600}.gui-advanced[open]{padding-bottom:20px}.profile-gui .gui-core-details .section-heading{margin-top:8px}.profile-gui .gui-core-details .performance-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.profile-gui .player-style-panel{margin:0;padding:22px;border-radius:15px;background:var(--panel);height:100%;min-width:0}.profile-gui .player-style-heading{margin-bottom:14px}.profile-gui .player-style-heading>p,.profile-gui .style-kicker{display:none}.profile-gui .player-style-heading h3{font-size:18px}.profile-gui .style-overview{display:flex;flex-direction:column;gap:18px}.profile-gui .style-type{border:0;padding:0}.profile-gui .style-type h4{font-size:24px}.profile-gui .style-type-label{display:none}.profile-gui .style-rulers{padding:0;border:0}.profile-gui .style-axes{gap:17px}.profile-gui .style-axis-track{height:9px}.profile-gui .style-axis-marker{display:none}.profile-gui .style-axis-track:not([role=meter]){background:repeating-linear-gradient(135deg,#272d35,#272d35 5px,#3c444f 5px,#3c444f 6px)}.profile-gui .style-axis-fill{background:var(--amber)}.profile-gui .style-sample{font-size:11px}.profile-gui .style-comparison-note,.profile-gui .style-panel-note{font-size:11px}.profile-gui .gui-style-details{padding:0;border:0;margin-top:12px}.profile-gui .gui-style-details>summary{font-size:12px;color:var(--muted)}.profile-gui .style-observations{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:5px}
.profile-gui .opponent-heading{flex-wrap:wrap}.profile-gui .opponent-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-gui .opponent-group li{display:flex;flex-wrap:wrap;gap:5px 10px;align-items:center}.profile-gui .opponent-name{flex:1;min-width:80px}.profile-gui .opponent-duel{font-size:12px}.profile-gui .opponent-evidence{flex-basis:100%}.gui-duel{display:flex;gap:3px;width:100%;height:10px;border-radius:3px;overflow:hidden}.gui-duel i{display:block;background:var(--cyan)}.gui-duel i+i{background:var(--red);opacity:.75}.gui-duel-legend{font-size:12px;color:var(--muted);margin:8px 0 15px}.gui-duel-legend span{display:inline-flex;align-items:center;margin-right:15px;gap:5px}.gui-duel-legend i{width:8px;height:8px;background:var(--cyan);border-radius:2px}.gui-duel-legend span+span i{background:var(--red)}.profile-gui .opponent-highlight .gui-bar{margin-top:5px;height:6px;min-width:40px}
.profile-gui .segment-table{min-width:0;text-align:center;border-collapse:separate;border-spacing:4px}.profile-gui .segment-table th,.profile-gui .segment-table td{padding:12px 5px;border:0}.profile-gui .segment-table td{background:rgba(116,205,220,var(--gui-heat,0));border-radius:5px;color:var(--text)}.profile-gui .segment-table td.gui-death{background:rgba(237,150,152,var(--gui-heat,0))}.profile-gui .segment-table .zero{color:var(--muted);background:#252a31}.profile-gui .segment-table td.gui-missing{background:repeating-linear-gradient(135deg,#252a31,#252a31 4px,#3a424d 4px,#3a424d 5px)}.gui-heat-legend{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0;color:var(--muted);font-size:12px}.gui-heat-legend i{display:block;width:72px;height:9px;background:linear-gradient(90deg,#252a31,#50818d);border-radius:2px}.profile-gui .segment-role-changes{font-size:12px}
@media(max-width:900px){.profile-gui .opponent-grid{grid-template-columns:1fr}.profile-gui .opponent-group ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px}}
@media(max-width:700px){.gui-overview{grid-template-columns:1fr}.gui-summary>div{padding:0 14px}.gui-summary strong{font-size:22px}.gui-card,.profile-gui .player-style-panel{padding:18px}.profile-gui .gui-core-details .performance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gui-main-tabs{gap:0;justify-content:space-between}.gui-main-tabs button{padding:12px 10px;font-size:14px}.profile-gui .page-shell{padding:24px 16px}.profile-gui .opponent-tabs{width:100%;display:flex;flex-wrap:wrap}.profile-gui .opponent-tabs button{flex:1;min-height:44px;white-space:nowrap}.profile-gui .opponent-group ol{grid-template-columns:1fr}.profile-gui .table-scroll{padding:0 8px 10px}.profile-gui .segment-table{font-size:12px;border-spacing:3px}.profile-gui .segment-table th{font-size:11px}.profile-gui .session-card>summary{padding:16px 12px}.profile-gui .session-meta{gap:7px;white-space:nowrap}.profile-gui .session-label{gap:6px}.profile-gui .session-label strong{font-size:13px}}
@media(max-width:450px){.profile-gui .gui-summary{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px}.gui-summary>div:nth-child(2){border:0}.profile-gui .profile-hero{padding:20px;gap:20px}.gui-score-row{grid-template-columns:59px minmax(0,1fr) 86px;gap:5px}.gui-advanced{padding:0 12px}.gui-main-tabs button{font-size:13px}.profile-gui .gui-core-details .performance-grid{grid-template-columns:1fr}.profile-gui .search input{font-size:16px}.profile-gui .opponent-box{padding:16px 12px}}
@media(pointer:coarse){.gui-help{min-width:44px;min-height:44px}.gui-chip{min-height:44px}}
.profile-gui .player-style-heading{margin:0 0 14px;padding:0;border:0;flex-direction:row;align-items:center}.profile-gui .style-overview{align-items:stretch;padding:0;gap:16px}.profile-gui .style-sample{margin-top:10px}.profile-gui .style-tags{margin-top:9px}.profile-gui .style-panel-note{margin:0;padding:12px 0 0}.profile-gui .style-axis-heading{margin-bottom:6px}.profile-gui .style-axis p{margin-top:5px}.profile-gui .style-comparison-note{margin-top:12px}
@media(max-width:760px){.profile-gui .profile-hero{grid-template-columns:minmax(0,1fr) 135px;gap:18px}.profile-gui .hero-meta{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);padding-top:14px}.profile-gui .hero-meta div{display:block}.profile-gui .hero-meta strong{display:block;font-size:18px}.profile-gui .hero-meta .rank-value{font-size:18px}.profile-gui .score-value{font-size:42px}}
@media(max-width:450px){.profile-gui .profile-hero{grid-template-columns:1fr}.profile-gui .hero-score{border:0;padding:0}.profile-gui .hero-meta{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-gui .score-value{font-size:40px}.profile-gui .hero-meta div{font-size:11px}.profile-gui .hero-meta strong{white-space:normal}.profile-gui .callsign{font-size:24px}}

.gui-teamkill { grid-column:1/-1; border-color:rgba(255,130,130,.28); }
.gui-teamkill-values { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:20px 0; }
.gui-teamkill-values div { display:flex; flex-direction:column; gap:8px; }
.gui-teamkill-values span { font-size:12px; color:#b7bcc5; }
.gui-teamkill-values strong { font-size:26px; color:#ffaaa5; }
@media(max-width:600px) { .gui-teamkill-values { grid-template-columns:repeat(2,minmax(0,1fr)); } }
