.player-profile { margin-bottom:24px; border:1px solid #294653; border-radius:10px; overflow:hidden; background:#0b1823; color:#e3edf5; }
.profile-hero { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:28px 30px 24px; background:#12302f; background:radial-gradient(ellipse at top right,rgba(255,199,46,.13),transparent 55%),linear-gradient(110deg,#16463f,#132d43 65%,#192939); border-top:3px solid #56dcb3; }
.profile-hero>div:first-child { min-width:0; }
.profile-eyebrow { margin:0 0 8px; color:#8fe7ce; font-size:11px; letter-spacing:2px; text-transform:uppercase; }
.profile-hero h1 { margin:0; font-family:"Handel Gothic","Courier New",monospace; font-size:36px; color:#e3edf5; overflow-wrap:anywhere; }
.profile-rating { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; flex-shrink:0; min-width:150px; padding:16px 26px; text-align:center; border:1px solid rgba(255,199,46,.52); border-radius:14px; background:linear-gradient(155deg,rgba(255,199,46,.16),rgba(255,199,46,.035) 55%),rgba(7,20,30,.7); box-shadow:inset 0 1px 0 rgba(255,231,163,.28),0 10px 26px rgba(0,0,0,.18); }
.profile-rating-label { color:#f6d47d; font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase; }
.profile-rating strong { display:block; color:#ffc72e; font-family:"Handel Gothic","Courier New",monospace; font-size:48px; font-variant-numeric:tabular-nums; line-height:1.05; text-shadow:0 2px 12px rgba(255,199,46,.18); }
.profile-rating-rank { display:block; min-width:36px; padding:3px 10px; border-radius:99px; background:rgba(255,199,46,.14); color:#f4dfaa; font-size:12px; font-weight:700; }
.profile-totals { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid #173449; border-bottom:1px solid #173449; }
.profile-totals div { padding:16px 24px; border-right:1px solid #294653; background:#102a3a; }
.profile-totals div:last-child { border:0; background:#2a2537; }
.profile-totals div:nth-child(2) { background:#12342e; }
.profile-totals div:nth-child(3) { background:#33242e; }
.profile-totals div:nth-child(1) strong { color:#8cd4f5; }
.profile-totals div:nth-child(2) strong { color:#87e5bc; }
.profile-totals div:nth-child(3) strong { color:#f2a2ad; }
.profile-totals div:nth-child(4) strong { color:#ccb1f4; }
.profile-totals strong { display:block; font-size:22px; color:#e3edf5; }
.profile-totals span { display:block; margin-top:5px; font-size:11px; color:#a4bccb; }
.profile-selected { display:flex; align-items:center; gap:18px; padding:20px 30px; border-bottom:1px solid #806637; background:radial-gradient(ellipse at 15% 50%,#5a482c55,transparent 55%),linear-gradient(110deg,#2a302c,#142937); }
.profile-selected .profile-badge-icon { width:108px; height:108px; flex-basis:108px; }
.profile-selected span { color:#ffdc80; font-size:11px; letter-spacing:1.4px; text-transform:uppercase; }
.profile-selected h2 { margin:6px 0; color:#ffc72e; font-size:21px; }
.profile-selected p { margin:0; color:#c4d3db; font-size:12px; line-height:1.5; }
.profile-section { padding:22px 30px; border-bottom:1px solid #173449; }
.profile-section-heading { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:16px; }
.profile-section h3 { margin:0; color:#e3edf5; font-family:"Handel Gothic","Courier New",monospace; font-size:17px; letter-spacing:.5px; }
.profile-section-heading>span { color:#a4bccb; font-size:11px; text-align:right; }
.profile-status-section { background:linear-gradient(110deg,#102d2a,#101e2d); }
.profile-earned-section { background:linear-gradient(110deg,#25251e,#101e2d 70%); }
.profile-week-section { background:linear-gradient(110deg,#21273d,#101e2d 75%); }
.profile-status-section h3 { color:#91e7c7; }
.profile-earned-section h3 { color:#ffdc80; }
.profile-week-section h3 { color:#c5b5f0; }
.profile-statuses { display:flex; gap:12px; flex-wrap:wrap; }
.profile-status { display:flex; align-items:center; gap:12px; padding:14px 18px; background:linear-gradient(120deg,#293522,#142c34); border:1px solid #67724b; border-radius:8px; flex:1 1 230px; }
.profile-badge-icon { display:block; width:88px; height:88px; flex:0 0 88px; object-fit:contain; }
.profile-status .profile-badge-icon { width:96px; height:96px; flex-basis:96px; }
.profile-challenge .profile-badge-icon { float:right; width:64px; height:64px; margin:0 0 8px 12px; }
.profile-status h4,.profile-badge h4,.profile-challenge h4 { margin:0 0 6px; font-family:"Handel Gothic","Courier New",monospace; font-size:15px; line-height:1.3; color:#ffc72e; }
.profile-status p,.profile-badge p,.profile-challenge p { margin:0; color:#a6bdce; font-size:12px; line-height:1.6; }
.profile-badges { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:12px; }
.profile-badge { display:flex; gap:12px; padding:16px; background:#0d1c29; border:1px solid #203b4e; }
.profile-badge.earned { background:linear-gradient(120deg,#323021,#162637); border-color:#61573a; border-radius:8px; }
.profile-status[data-badge="ranked_contender"] { background:linear-gradient(120deg,#293b50,#182a3c); border-color:#657f97; }
.profile-status[data-badge="ranked_rising"],.profile-status[data-badge="ranked_dark_horse"] { background:linear-gradient(120deg,#234333,#152d32); border-color:#507e61; }
.profile-status[data-badge="ranked_elite"] { background:linear-gradient(120deg,#3c2c51,#21283c); border-color:#80639d; }
.profile-status[data-badge="ranked_falling"] { background:linear-gradient(120deg,#442731,#24283b); border-color:#965d6c; }
.profile-badge>div { flex:1; min-width:0; }
.profile-badge small,.profile-challenge small { display:block; margin-top:10px; color:#a4bccb; font-size:10px; }
.profile-badge.locked .profile-badge-icon { filter:grayscale(1); opacity:.45; }
.profile-badge.locked h4 { color:#a6bdce; }
.profile-pending { margin-top:18px; }
.profile-pending summary { cursor:pointer; font-size:12px; color:#a6bdce; padding:10px 0; }
.profile-pending summary span { margin-left:8px; color:#a4bccb; }
.profile-pending[open] summary { margin-bottom:8px; }
.profile-challenges { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.profile-challenge { display:flow-root; padding:16px; border-radius:8px; background:linear-gradient(120deg,#233a4c,#182a3a); border-left:2px solid #76bad8; }
.profile-challenge:nth-child(2) { background:linear-gradient(120deg,#403323,#252b37); border-color:#e2b561; }
.profile-challenge:nth-child(3) { background:linear-gradient(120deg,#352d4e,#212b3d); border-color:#b09ad7; }
.profile-challenge h4 { color:#e3edf5; }
.profile-challenge.complete { background:linear-gradient(120deg,#214638,#183039); border-color:#56dcb3; }
.player-profile progress { display:block; appearance:none; width:100%; height:5px; border:0; background:#203b4e; margin-top:14px; color:#ffc72e; }
.player-profile progress::-webkit-progress-bar { background:#203b4e; }
.player-profile progress::-webkit-progress-value { background:linear-gradient(90deg,#e2ab36,#ffda75); }
.player-profile progress::-moz-progress-bar { background:linear-gradient(90deg,#e2ab36,#ffda75); }
.profile-empty,.profile-week-minimum { color:#a4bccb; font-size:11px; line-height:1.7; }
.profile-empty { margin:0; }
.profile-week-minimum { margin:14px 0 0; }
@media(max-width:720px) { .profile-hero { padding:22px 18px; gap:12px; } .profile-hero h1 { font-size:27px; } .profile-rating { min-width:110px; padding:11px 14px; } .profile-rating strong { font-size:36px; } .profile-totals div { padding:14px 12px; } .profile-selected { padding:18px; } .profile-selected .profile-badge-icon { width:82px; height:82px; flex-basis:82px; } .profile-section { padding:20px 18px; } .profile-section-heading { display:block; } .profile-section-heading>span { display:block; text-align:left; margin-top:6px; } .profile-challenges,.profile-badges { grid-template-columns:1fr; } }
@media(max-width:460px) { .profile-hero { flex-direction:column; align-items:stretch; } .profile-rating { box-sizing:border-box; width:100%; } .profile-totals { grid-template-columns:repeat(2,1fr); } .profile-totals div:nth-child(2) { border-right:0; } .profile-totals div:nth-child(-n+2) { border-bottom:1px solid #294653; } }
