/* Profile and performance redesign. No rules target rooms, ratings or auctions. */
#stats-page .ranking-event-stage{display:flex;align-items:center;justify-content:center;gap:24px;margin:30px auto 26px;max-width:1100px;width:100%;min-width:0}
#stats-page .ranking-event-rule{height:1px;flex:1;background:linear-gradient(90deg,transparent,#c8a76688)}
#stats-page .ranking-event-rule:last-child{transform:rotate(180deg)}
#stats-page .ranking-event-frame{position:relative;width:min(580px,80%);min-width:0;padding:16px 24px 10px;border:1px solid #c9a65c99;border-top:2px solid #f1d494;border-radius:10px;background:radial-gradient(ellipse at 50% 0,#b38a3233,transparent 80%),linear-gradient(120deg,#182333,#101823);box-shadow:0 12px 36px #0004,inset 0 1px #ffebaf22}
#stats-page .ranking-event-frame label{display:block;color:#bda675;font-size:10px;letter-spacing:5px;text-align:center;pointer-events:none}
#stats-page #ranking-event{display:block;width:100%;max-width:none;height:58px;padding:8px 32px;margin:0;border:0;border-radius:5px;appearance:none;background:transparent;color:#f4dfa9;text-align:center;text-align-last:center;font-size:clamp(18px,2vw,29px);font-weight:650;letter-spacing:2px;cursor:pointer;text-overflow:ellipsis}
#stats-page #ranking-event option{background:#13202e;color:#edddb8;font-size:17px;letter-spacing:0}
#stats-page #ranking-event:focus-visible{outline:2px solid #f2d596;outline-offset:2px}
#stats-page .ranking-event-chevron{position:absolute;right:26px;bottom:26px;color:#d4b675;font-size:22px;pointer-events:none}
@media(max-width:800px){#stats-page .ranking-event-stage{gap:8px;margin:22px auto}#stats-page .ranking-event-frame{width:100%;padding:12px 8px 6px}#stats-page .ranking-event-rule{display:none}#stats-page #ranking-event{height:52px;padding-inline:22px;font-size:21px;letter-spacing:1px}#stats-page .ranking-event-chevron{right:17px;bottom:21px}}
#account-page, #stats-page { --athlete-gold:#dfc48c; --athlete-line:#9d875c55; }
#account-page .section-head, #stats-page .section-head { margin-bottom:24px; }
#account-page .section-head h1, #stats-page h1,
#stats-page #stats-comparison>header h2, #stats-page #stats-rankings>header h2 {
  color:var(--athlete-gold); font-size:36px; line-height:1.25; margin:8px 0;
}
#account-page .eyebrow { color:#8fa2b4; font-size:12px; letter-spacing:1px; }
#account-page #member-profile { background:transparent; border:0; padding:0; min-height:0; }
.member-identity-banner, #stats-page .athlete-overview {
  position:relative; display:flex; align-items:center; gap:26px; padding:28px;
  border:1px solid var(--athlete-line); border-radius:14px; overflow:hidden;
  background:linear-gradient(95deg,#0e1a27 15%,#0e1a27f2 60%,#0e1a27ad),url('/static/events-banner.webp') right center/cover;
}
.member-identity-banner { min-height:180px; margin-bottom:24px; }
#member-avatar { width:112px; height:112px; object-fit:cover; flex-shrink:0; border:2px solid #cdb175; border-radius:50%; padding:4px; background:#0b1521; }
.member-identity-copy { min-width:0; flex:1; }
.member-identity-copy>strong { display:block; font-size:27px; overflow-wrap:anywhere; color:#f2eee5; }
.member-identity-badges { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:14px; color:#9cacbc; font-size:12px; }
#member-vip-label { border:1px solid #bba16b77; border-radius:20px; padding:4px 12px; color:#e7cc91; background:#a98b3620; }
#member-signature-preview { color:#adbac8; font-size:14px; line-height:1.7; margin:14px 0 0; overflow-wrap:anywhere; }
#member-signature-preview:empty { display:none; }
.member-avatar-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; max-width:290px; align-self:flex-end; }
.member-avatar-actions small { flex-basis:100%; text-align:right; color:#8b9fb2; font-size:11px; }
#account-page .member-profile-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:24px; }
#member-profile .profile-settings-card { min-width:0; padding:26px; border:1px solid var(--athlete-line); border-radius:14px; background:linear-gradient(135deg,#101e2b,#0c1520); }
#member-profile .profile-settings-card h2 { margin:0 0 24px; padding-bottom:18px; border-bottom:1px solid #85745255; color:#eed8ab; font-size:23px; }
#member-profile .settings-form { display:flex; flex-direction:column; gap:14px; margin:0; padding:0; border:0; }
#member-profile .settings-form label { display:flex; flex-direction:column; gap:9px; margin:0; color:#c0cdd9; font-size:14px; }
#member-profile .settings-form input, #member-profile .settings-form textarea { width:100%; background:#08131e; border:1px solid #374653; border-radius:7px; padding:13px 14px; font:inherit; color:#e8edf3; min-height:46px; margin:0; }
#member-profile .settings-form input:focus, #member-profile .settings-form textarea:focus { outline:2px solid #d8b77188; outline-offset:2px; border-color:#c2a46a; }
#member-profile .settings-form button { align-self:flex-end; min-width:116px; width:auto; padding:11px 20px; }
#member-profile .primary-btn { background:linear-gradient(115deg,#edd494,#c4a365); color:#17202a; border:1px solid #d3b77e; box-shadow:none; }
#member-profile .ghost-btn { background:#131f2b; color:#e2c98f; border:1px solid #b59a6055; box-shadow:none; }
#member-profile #riot-form { position:relative; padding-bottom:24px; margin-bottom:24px; border-bottom:1px solid #253441; }
#member-profile #signature-form label { position:relative; }
#signature-count { position:absolute; top:0; right:0; color:#8fa1b3; }
#member-profile #member-signature { min-height:98px; resize:vertical; }
#member-profile #password-form { gap:18px; }
#member-profile .form-message { font-size:13px; overflow-wrap:anywhere; margin:8px 0 0; }
#stats-page .athlete-search { display:flex; flex:0 1 510px; justify-content:flex-end; align-items:center; gap:12px; }
.athlete-search-input { display:flex; min-width:0; flex:1; }
#stats-page #stats-account-search { width:100%; min-width:0; border-radius:8px 0 0 8px; padding:12px 16px; }
#stats-page #stats-account-search-btn { flex-shrink:0; border-radius:0 8px 8px 0; min-width:76px; }
#stats-page #stats-return-me-btn { color:#b8c8d8 !important; background:transparent; border-color:transparent; white-space:nowrap; }
#stats-page .athlete-overview { margin-bottom:20px; min-height:164px; padding:22px; }
#stats-page #stats-profile-title { flex:1; min-width:0; margin:0; gap:20px; }
#stats-profile-title>div { min-width:0; }
#stats-page #stats-profile-title img { width:94px; height:94px; flex-shrink:0; border-radius:50%; border:2px solid #cfb77a; padding:3px; }
#stats-page #stats-profile-title strong { font-size:25px; overflow-wrap:anywhere; }
#stats-page #stats-profile-title small { font-size:12px; line-height:1.6; margin-top:12px; }
#stats-page #stats-profile-title .profile-signature { font-size:14px; }
#stats-page .stats-summary { flex:1.15; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px 0; margin:0; }
#stats-page .stats-summary article { min-height:0; border:0; border-left:1px solid #78879740; border-radius:0; padding:0 18px; gap:6px; background:transparent; }
#stats-page .stats-summary small { font-size:11px; white-space:nowrap; }
#stats-page .stats-summary strong { color:#f0e5ca; font-size:24px; font-variant-numeric:tabular-nums; margin-top:0; }
#stats-page .athlete-filters { background:transparent; border:0; padding:0; justify-content:flex-start; margin-bottom:20px; }
#stats-page .athlete-filters select { flex:0 1 210px; }
#stats-page .stats-main-grid { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); }
#stats-page .panel { border-color:var(--athlete-line); background:linear-gradient(130deg,#101d29,#0a141f); }
#stats-page .panel>header h2 { color:#e7cc94; font-size:23px; }
#stats-page .panel>header { border-bottom:1px solid #8b79543b; margin-bottom:20px; padding-bottom:15px; }
#stats-page .radar-chart { min-height:0; }
#stats-page .radar-chart svg { height:350px; max-height:none; }
#stats-page .radar-chart .radar-area { fill:#d6b56738; stroke:#dfbd78; }
#stats-page .radar-chart svg .radar-value-label { fill:#e4ce9f; }
#stats-page .stats-heroes article { background:#10212d66; border:1px solid #334654; border-radius:9px; padding:14px; margin-bottom:10px; gap:14px; }
#stats-page .stats-hero-icon { width:60px; height:60px; min-width:60px; object-fit:cover; }
#stats-page .stats-heroes strong { font-size:16px; }
#stats-page .stats-heroes small { font-size:12px; }
#stats-page .stats-heroes b { font-size:22px; }
#stats-page .stats-heroes span { font-size:12px; }
#stats-page .stats-series-panel { margin-top:20px; }
#stats-page #stats-series-list button { padding:14px 18px; border-radius:6px; background:#10202c; }
#stats-page #stats-series-list { max-height:230px; }
#stats-page #stats-comparison, #stats-page #stats-rankings { padding:0; border:0; background:transparent; }
#stats-page #stats-comparison>header, #stats-page #stats-rankings>header { border:0; margin-bottom:22px; padding:0; }
#stats-page #performance-event { max-width:250px; }
#stats-page [hidden] { display:none !important; }
#stats-page .lane-tabs { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0; padding:0; border:1px solid #39505f; border-radius:10px; overflow:hidden; margin-bottom:22px; background:linear-gradient(90deg,#101f2d,#0d1823); }
#stats-page .lane-tabs button { position:relative; min-height:52px; padding:12px 6px; font-size:16px; border:0; border-right:1px solid #293d4b; border-radius:0; background:transparent; color:#aabcce; }
#stats-page .lane-tabs button:last-child { border-right:0; }
#stats-page .lane-tabs button[aria-selected=true] { color:#f2d797; background:linear-gradient(120deg,#c7a35230,#c7a35210); font-weight:700; box-shadow:inset 0 -3px 0 #d7b66d; }
#stats-page .lane-tabs button:focus-visible { outline-offset:-4px; }
#stats-page .matchup-selectors { background:transparent; border:0; padding:0; justify-content:center; gap:16px; align-items:flex-end; }
#stats-page .matchup-selectors label { flex:0 1 340px; }
#stats-page .matchup-selectors label:first-child { color:#73c8f8; }
#stats-page .matchup-selectors label:nth-of-type(2) { color:#f18ca0; }
#stats-page #performance-left { border-color:#3aa9e480; }
#stats-page #performance-right { border-color:#e6597780; }
#stats-page .performance-comparison { grid-template-columns:minmax(180px,1fr) minmax(0,2fr) minmax(180px,1fr); gap:16px; }
#stats-page .performance-comparison>aside { padding:22px 16px; border-top:4px solid #42b7f5; border-radius:12px; background:linear-gradient(145deg,#112433,#0b1520); }
#stats-page .performance-comparison>aside:last-child { border-top-color:#ef637f; background:linear-gradient(225deg,#2a1c29,#0b1520); }
#stats-page .performance-comparison>div { align-self:stretch; display:grid; place-items:center; background:linear-gradient(140deg,#101e29,#0c1520); border:1px solid #405362; border-radius:12px; padding:14px 6px; }
.compare-player-heading { display:flex; flex-direction:column; gap:10px; align-items:center; min-height:142px; }
#stats-page .performance-player-portrait { width:76px; height:76px; border-radius:50%; object-fit:cover; border-color:#b9a574; }
#stats-page .performance-comparison h3 { margin:0 0 8px; color:#e6edf4; font-size:18px; text-align:center; }
#stats-page .performance-player-summary { font-size:12px; margin:0; }
.compare-kda { display:flex; justify-content:space-between; align-items:center; padding:18px 4px; margin-top:16px; border-block:1px solid #56647555; color:#b6c9dc; }
.compare-kda strong { font-size:34px; color:#e5cb8f; }
#stats-page .performance-comparison h4 { font-size:15px; color:#dbc28b; border:0; padding:0; margin:22px 0 14px; }
#stats-page .performance-comparison .stats-heroes { max-height:300px; }
#stats-page .performance-comparison .stats-heroes article { padding:10px; gap:10px; flex-wrap:wrap; }
#stats-page .performance-comparison .stats-hero-icon { width:40px; height:40px; min-width:40px; }
#stats-page .performance-comparison .stats-heroes strong { font-size:13px; }
#stats-page .performance-comparison .stats-heroes small { font-size:11px; }
#stats-page .performance-comparison .stats-heroes b { font-size:15px; margin-left:auto; }
#stats-page .compare-radar { width:100%; }
#stats-page .compare-legend { gap:12px; flex-wrap:wrap; font-size:12px; }
#stats-page .performance-rank-tabs { margin:0 0 20px; padding:0; border-bottom:1px solid #30434e; overflow:auto; gap:10px; }
#stats-page .performance-rank-tabs button { flex-shrink:0; padding:14px 18px; border-radius:0; border:0; min-height:48px; font-size:15px; }
#stats-page .performance-rank-tabs button.active { background:transparent; box-shadow:inset 0 -2px #d2b271; }
#stats-page .performance-podium { margin:0 0 20px; }
#stats-page .performance-podium article { border-color:#7c715355; background:linear-gradient(120deg,#222c32,#101b27); min-height:142px; padding:18px 22px; }
#stats-page .performance-podium article:first-child { border-color:#c4a66c; background:linear-gradient(120deg,#51442a80,#14212c); }
#stats-page .performance-podium article:nth-child(2) { border-color:#a9bcc280; }
#stats-page .performance-podium article:nth-child(3) { border-color:#bf855580; }
#stats-page .hero-podium .ranking-identity img { width:58px; height:58px; flex-basis:58px; }
#stats-page .performance-podium h3 { margin:8px 0; }
#stats-page .performance-podium strong { font-size:30px; }
#stats-page .performance-podium em { font-size:86px; }
#stats-page #performance-rank-table { border:1px solid #304552; border-radius:12px; overflow-x:auto; }
#stats-page #ranking-lanes { grid-template-columns:repeat(6,minmax(0,1fr)); }
#stats-page .ranking-note { color:#95a8b9; font-size:12px; margin:0 0 18px; }
#stats-page .ranking-pool-heroes { display:flex; flex-wrap:wrap; gap:6px; min-width:130px; max-width:260px; max-height:108px; overflow:auto; padding:3px; scrollbar-width:thin; }
#stats-page .ranking-pool-heroes img { width:32px; height:32px; object-fit:cover; border-radius:5px; border:1px solid #566575; }
#stats-page .performance-ranking th { background:#142431; font-size:13px; color:#aebdcc; }
#stats-page .performance-ranking td { font-size:15px; padding:18px; }
#stats-page .performance-ranking .ranking-identity img { width:42px; height:42px; }
@media(min-width:1600px) {
  .compare-player-heading { flex-direction:row; min-height:102px; }
  #stats-page .performance-player-portrait { margin:0; }
  #stats-page .performance-comparison h3, #stats-page .performance-player-summary { text-align:left; }
}
@media(max-width:1200px) {
  .member-identity-banner { gap:18px; flex-wrap:wrap; }
  .member-avatar-actions { max-width:none; margin-left:auto; }
  #stats-page .athlete-overview { flex-wrap:wrap; }
  #stats-page #stats-profile-title { flex-basis:100%; }
  #stats-page .stats-summary { flex-basis:100%; grid-template-columns:repeat(6,minmax(0,1fr)); }
  #stats-page .stats-summary article { padding:0 10px; }
  #stats-page .stats-summary strong { font-size:21px; }
  #stats-page .stats-heroes article { flex-wrap:wrap; }
  #stats-page .performance-comparison { grid-template-columns:minmax(140px,1fr) minmax(0,1.8fr) minmax(140px,1fr); }
}
@media(max-width:800px) {
  #account-page .member-profile-grid { grid-template-columns:1fr; }
  #account-page .section-head h1, #stats-page h1, #stats-page #stats-comparison>header h2, #stats-page #stats-rankings>header h2 { font-size:28px; }
  #member-profile .profile-settings-card { padding:20px; }
  .member-identity-banner { padding:20px; gap:16px; }
  #member-avatar { width:76px; height:76px; }
  .member-identity-copy>strong { font-size:21px; }
  .member-identity-badges { gap:6px; }
  .member-avatar-actions { justify-content:flex-start; width:100%; }
  .member-avatar-actions small { text-align:left; }
  #stats-personal>.section-head { flex-wrap:wrap; gap:14px; }
  #stats-page .athlete-search { flex-basis:100%; gap:4px; }
  #stats-page .athlete-overview { padding:18px; }
  #stats-page #stats-profile-title img { width:66px; height:66px; }
  #stats-page #stats-profile-title strong { font-size:20px; }
  #stats-page .stats-summary { grid-template-columns:repeat(3,minmax(0,1fr)); }
  #stats-page .stats-main-grid { grid-template-columns:1fr; }
  #stats-page .athlete-filters { gap:8px; }
  #stats-page .athlete-filters select { min-width:0; flex:1 1 100px; font-size:12px; padding:10px; }
  #stats-page .lane-tabs button { font-size:14px; min-height:46px; padding:10px 4px; }
  #stats-page .matchup-selectors { gap:8px; }
  #stats-page .matchup-selectors label { flex:1 1 120px; min-width:0; }
  #stats-page .matchup-selectors select { min-width:0; }
  #stats-page .performance-comparison { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  #stats-page .performance-comparison>div { grid-column:1/-1; grid-row:1; }
  #stats-page .performance-comparison>aside { padding:16px 10px; }
  #stats-page .performance-comparison h3 { font-size:15px; }
  #stats-page .performance-podium { gap:8px; }
  #stats-page .performance-podium article { padding:12px; }
  #stats-page .performance-podium .ranking-identity { flex-direction:column; align-items:flex-start; gap:6px; }
  #stats-page .performance-podium strong { font-size:22px; }
  #stats-page .performance-podium article>span { display:block; margin:5px 0 0; }
  #stats-page .performance-ranking { min-width:610px; }
  #stats-page #performance-event { max-width:160px; }
}
