.profile-page{max-width:1180px;margin:0 auto;padding:28px 22px 80px;color:#f5f5f7}
.profile-hero,.profile-section,.profile-facts,.profile-nav{background:rgba(10,10,13,.72);border:1px solid rgba(255,255,255,.09);box-shadow:0 20px 70px rgba(0,0,0,.28);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.profile-hero{border-radius:22px;padding:26px;position:relative;overflow:hidden}.profile-hero:after{content:"";position:absolute;inset:-30% auto auto 55%;width:360px;height:220px;background:radial-gradient(circle,rgba(103,119,255,.13),transparent 70%);pointer-events:none}.profile-hero__grain{display:none}.profile-identity,.profile-actions{position:relative;z-index:1}.profile-avatar{width:76px;height:76px;border-radius:18px;border:1px solid rgba(255,255,255,.16);box-shadow:0 8px 28px #000;overflow:hidden}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-who h1{letter-spacing:-.04em}.profile-meta{color:#8b8b96}.profile-steam button{color:#a8afff;background:transparent;border:0;cursor:pointer}.profile-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-radius:16px;margin:14px 0;overflow:hidden}.profile-facts>div{padding:18px 20px;border-right:1px solid rgba(255,255,255,.07)}.profile-facts>div:last-child{border-right:0}.profile-facts span,.profile-stat-grid span,.hitstats__metrics span{color:#858591}.profile-facts strong{display:block;margin-top:6px;font-size:21px}.profile-nav{display:flex;gap:5px;padding:5px;border-radius:13px;margin-bottom:14px}.profile-nav a{color:#8e8e99;padding:10px 14px;border-radius:9px}.profile-nav a[aria-current=page]{color:#fff;background:rgba(255,255,255,.09)}.profile-section{border-radius:18px}.profile-section__head{border-bottom:1px solid rgba(255,255,255,.07)}.profile-stat-grid>div{background:rgba(255,255,255,.025);border-color:rgba(255,255,255,.06)}.hitstats{border-color:rgba(255,255,255,.08);background:rgba(0,0,0,.18)}.hitstats__visual{background:#050507}.profile-action{border-color:rgba(255,255,255,.13);background:rgba(255,255,255,.035)}.profile-action:hover{background:rgba(255,255,255,.1);border-color:rgba(142,153,255,.55)}
@media(max-width:760px){.profile-page{padding:16px 12px 50px}.profile-facts{grid-template-columns:repeat(2,1fr)}.profile-facts>div:nth-child(2){border-right:0}.profile-nav{overflow:auto;white-space:nowrap}.profile-hero{padding:18px}.profile-actions{flex-wrap:wrap}}

/* Final profile layout: hierarchy first, decoration second. */
.profile-page{max-width:1340px;padding-left:28px;padding-right:28px}
.profile-identity-card{border:1px solid rgba(255,255,255,.1);border-radius:21px;overflow:hidden;background:linear-gradient(145deg,rgba(16,16,20,.84),rgba(4,4,6,.7));box-shadow:0 22px 80px rgba(0,0,0,.3);backdrop-filter:blur(22px)}
.profile-hero{min-height:180px;padding:30px 32px;border-radius:20px;background:linear-gradient(110deg,rgba(20,20,25,.82),rgba(5,5,7,.68))}
.profile-avatar{width:88px;height:88px;border-radius:20px}.profile-avatar img{border-radius:15px}
.profile-name h1{font-size:clamp(2rem,3.2vw,3rem)}
.profile-actions{gap:8px}.profile-action{min-height:38px;padding:0 14px}
.profile-identity-card .profile-hero{border:0;border-radius:0;box-shadow:none;background:transparent}
.profile-facts{margin-top:0;border:0;border-top:1px solid rgba(255,255,255,.08);border-radius:0;background:rgba(0,0,0,.14)}
.profile-facts>div{padding:18px 22px}.profile-facts strong{font-size:1.05rem}
.profile-facts>div:first-child{padding-left:22px}
.profile-nav{margin:16px 0;padding:4px;background:rgba(12,12,15,.66);border:1px solid rgba(255,255,255,.08);border-radius:14px}
.profile-nav a{padding:11px 16px}.profile-grid{grid-template-columns:minmax(0,1.65fr) minmax(320px,.9fr);gap:16px}
.profile-section{padding:24px;border-radius:18px;background:linear-gradient(145deg,rgba(18,18,22,.78),rgba(5,5,7,.62))}
.combat-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px}.combat-summary{min-width:0}.combat-summary__title{padding:4px 0 12px;color:#9a9aa4;font-size:.76rem;font-weight:700}.combat-summary__grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid rgba(255,255,255,.08)}.combat-summary__grid>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 12px;border-bottom:1px solid rgba(255,255,255,.07)}.combat-summary__grid>div:nth-child(odd){border-right:1px solid rgba(255,255,255,.07)}.combat-summary__grid span{color:#8c8c96;font-size:.72rem}.combat-summary__grid strong{font-size:.9rem}.accent-blue{color:#70a9ff}.accent-green{color:#56d39a}.hitstats{display:flex;flex-direction:column;gap:11px;margin:0;padding:0;border:0}.hitstats__visual{min-height:290px;width:100%;border-radius:15px}.hitstats__legend{display:grid;grid-template-columns:1fr;gap:7px;padding:10px 2px;color:#9a9aa4;font-size:.7rem}.hitstats__legend>div{display:flex;align-items:center;gap:7px}.hitstats__legend b{margin-left:auto;color:#ddd}.dot{width:6px;height:6px;border-radius:50%;background:#ef6262}.dot--blue{background:#5f9cff}.dot--green{background:#49d38b}
.hitstats__visual{background:radial-gradient(ellipse at 50% 38%,rgba(71,88,111,.2),rgba(3,4,7,.96) 72%);}.hitstats__visual>img{display:none}.hitstats__zones{inset:0;display:block}.hitstats__zone{position:absolute;display:block;width:auto;height:auto;max-width:none;object-fit:contain;opacity:.9;filter:drop-shadow(0 8px 10px rgba(0,0,0,.7))}.hitstats__zone--head{left:50%;top:4%;width:28%;height:auto;transform:translateX(-50%)}.hitstats__zone--chest{left:50%;top:21%;width:62%;transform:translateX(-50%)}.hitstats__zone--belly{left:50%;top:43%;width:43%;transform:translateX(-50%)}.hitstats__zone--left_arm{left:4%;top:23%;width:30%}.hitstats__zone--right_arm{right:4%;top:23%;width:30%}.hitstats__zone--left_leg{left:23%;top:57%;width:25%}.hitstats__zone--right_leg{right:23%;top:57%;width:25%}.hitstats__zone--neak{display:none}.hitstats__visual:after{background:linear-gradient(180deg,transparent 68%,rgba(3,3,4,.85))}
.profile-section__head h2{font-size:1.02rem}.profile-stat-grid>div{padding:18px 17px;background:rgba(255,255,255,.018)}
.hitstats{grid-template-columns:260px minmax(0,1fr);gap:24px;margin-top:22px;padding-top:22px}.hitstats__visual{min-height:270px;border-radius:16px}.hitstats__data{padding-top:2px}.hitstats__metrics{margin-top:10px}.hitstats__metrics>div{padding:18px 16px}
@media(max-width:900px){.profile-page{padding-left:16px;padding-right:16px}.profile-grid{grid-template-columns:1fr}.hitstats{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:760px){.combat-layout{grid-template-columns:1fr}.hitstats__visual{min-height:250px}}
.combat-layout{grid-template-columns:1fr}.combat-layout>.hitstats{display:none}.combat-summary__grid{max-width:none}

/* Premier rating keeps the original badge from the reference leaderboard. */
.profile-facts .profile-rating{display:grid;align-content:center;gap:8px;min-width:0}
.profile-rating__rank{display:flex;align-items:center;min-height:32px}
.profile-bonus-grid{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.45fr);gap:16px}.profile-bonus-redeem form label>span{display:block;margin-bottom:8px;color:#7e7e86;font-size:.68rem}.profile-bonus-redeem form label>div{display:flex}.profile-bonus-redeem input{min-width:0;flex:1;height:42px;padding:0 12px;border:1px solid rgba(255,255,255,.1);border-radius:9px 0 0 9px;background:#050505;color:#fff;text-transform:uppercase}.profile-bonus-redeem button{padding:0 15px;border:1px solid rgba(182,255,69,.28);border-radius:0 9px 9px 0;background:rgba(182,255,69,.1);color:#cfff56;font-weight:700;cursor:pointer}.profile-bonus-redeem>a{display:inline-block;margin-top:18px;color:#9da8ff;font-size:.7rem}.profile-payment .is-bonus{color:#b6ff45}@media(max-width:820px){.profile-bonus-grid{grid-template-columns:1fr}}
.profile-identity-card{background:#000!important;border:1px solid rgba(255,255,255,.11)!important;border-radius:20px!important;overflow:hidden}
.profile-hero{padding:32px!important;background:transparent!important}.profile-hero__grain{display:none!important}
.profile-name h1{font-size:clamp(30px,4vw,44px)!important;letter-spacing:-.045em!important}
.profile-meta,.profile-steam{color:rgba(255,255,255,.55)!important}
.profile-facts{border-top:1px solid rgba(255,255,255,.08)!important;background:transparent!important}
.profile-facts>div{padding:22px 28px!important}.profile-facts>div>span{color:rgba(255,255,255,.56)!important}
.profile-nav{border:0!important;border-bottom:1px solid rgba(255,255,255,.12)!important;border-radius:0!important;background:transparent!important;gap:20px!important;margin:24px 0!important;padding:0!important;overflow-x:auto}
.profile-nav>a{padding:15px 4px!important;white-space:nowrap;border-radius:0!important;background:transparent!important;font-size:13px!important;color:rgba(255,255,255,.55)!important}
.profile-nav>a[aria-current]{color:#fff!important;border-bottom:2px solid #fff!important}
.profile-section{background:#000!important;border-color:rgba(255,255,255,.1)!important;border-radius:16px!important;padding:24px!important}
.profile-details dt,.combat-summary__grid span{color:rgba(255,255,255,.57)!important}
.profile-donations .profile-list article{padding:20px 0!important}.profile-donations .profile-list strong{font-size:19px!important;color:#fff!important;letter-spacing:-.02em}.profile-donations .profile-list span{margin-top:7px!important;color:rgba(255,255,255,.6)!important;font-size:12px!important}
@media(max-width:640px){.profile-hero{padding:22px!important}.profile-facts>div{padding:18px!important}.profile-nav{gap:16px!important}.profile-section{padding:20px!important}}
.profile-stat-chart{margin:28px -24px -24px;padding:24px;border:0;border-top:1px solid rgba(255,255,255,.09);border-radius:0;background:#000;overflow:hidden}.profile-stat-chart__head{display:flex;align-items:center;justify-content:space-between;gap:24px}.profile-stat-chart__eyebrow{display:block;color:rgba(255,255,255,.38);font-size:9px;font-weight:750;letter-spacing:.14em}.profile-stat-chart h3{margin:5px 0 0;color:#fff;font-size:17px;letter-spacing:-.025em}.profile-stat-chart__status{display:flex;align-items:center;gap:7px;color:rgba(255,255,255,.36);font-size:9px}.profile-stat-chart__status i{width:5px;height:5px;border-radius:50%;background:#63d19a}
.profile-stat-periods{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:12px;margin-top:22px}.profile-stat-periods>span{color:rgba(255,255,255,.36);font-size:9px}.profile-stat-periods>div,.profile-stat-tabs{display:flex;gap:3px;overflow-x:auto;scrollbar-width:none}.profile-stat-periods>div::-webkit-scrollbar,.profile-stat-tabs::-webkit-scrollbar{display:none}.profile-stat-periods button,.profile-stat-tabs button{flex:0 0 auto;border:0;background:transparent;color:rgba(255,255,255,.43);font:600 10px/1.2 inherit;cursor:pointer;transition:background .16s ease,color .16s ease}.profile-stat-periods button{padding:7px 9px;border-radius:6px}.profile-stat-periods button:hover,.profile-stat-tabs button:hover{color:#fff}.profile-stat-periods button.is-active{background:#fff;color:#050505}.profile-stat-periods button:focus-visible,.profile-stat-tabs button:focus-visible,.profile-stat-custom input:focus-visible,.profile-stat-custom button:focus-visible,.profile-stat-chart canvas:focus-visible{outline:2px solid #fff;outline-offset:2px}
.profile-stat-custom{display:flex;align-items:flex-end;gap:8px;margin:12px 0 0 64px;padding:12px;border:1px solid rgba(255,255,255,.09);border-radius:9px;background:#050505}.profile-stat-custom[hidden]{display:none}.profile-stat-custom label span{display:block;margin-bottom:5px;color:rgba(255,255,255,.38);font-size:9px}.profile-stat-custom input{height:34px;padding:0 9px;border:1px solid rgba(255,255,255,.12);border-radius:6px;background:#000;color:#fff;color-scheme:dark;font-size:10px}.profile-stat-custom input[aria-invalid=true]{border-color:#e46b6b}.profile-stat-custom>i{align-self:center;color:rgba(255,255,255,.25);font-style:normal}.profile-stat-custom>button{height:34px;padding:0 13px;border:0;border-radius:6px;background:#fff;color:#050505;font-size:10px;font-weight:750;cursor:pointer}
.profile-stat-tabs{margin:20px -24px 0;padding:0 24px 13px;border-bottom:1px solid rgba(255,255,255,.075)}.profile-stat-tabs button{padding:6px 9px;border-radius:5px}.profile-stat-tabs button.is-active{background:rgba(255,255,255,.09);color:#fff}.profile-stat-chart__summary{display:flex;align-items:flex-end;gap:11px;margin-top:19px}.profile-stat-chart__summary>div>span{display:block;margin-bottom:4px;color:rgba(255,255,255,.4);font-size:9px}.profile-stat-chart__summary strong{display:block;color:#fff;font:700 27px/1 var(--font-mono,ui-monospace,monospace);letter-spacing:-.05em}.profile-stat-chart__delta{margin-bottom:1px;color:rgba(255,255,255,.38);font-size:9px}.profile-stat-chart__delta.is-up{color:#64d49c}.profile-stat-chart__delta.is-down{color:#ef7b7b}
.profile-stat-chart__canvas{position:relative;height:240px;margin:8px -6px 0}.profile-stat-chart canvas{display:block;width:100%;height:100%;touch-action:pan-y}.profile-stat-chart__tooltip{position:absolute;z-index:2;transform:translate(-50%,-100%);min-width:92px;padding:8px 9px;border:1px solid rgba(255,255,255,.14);border-radius:7px;background:#0a0a0a;box-shadow:0 12px 30px #000;pointer-events:none}.profile-stat-chart__tooltip span,.profile-stat-chart__tooltip strong{display:block}.profile-stat-chart__tooltip span{color:rgba(255,255,255,.46);font-size:9px}.profile-stat-chart__tooltip strong{margin-top:3px;color:#fff;font:700 12px var(--font-mono,ui-monospace,monospace)}.profile-stat-chart>footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;color:rgba(255,255,255,.34);font:9px var(--font-mono,ui-monospace,monospace)}.profile-stat-chart>footer span:last-child{text-align:right}.profile-stat-chart>footer small{font:9px inherit;text-align:center;color:rgba(255,255,255,.27)}
@media(max-width:640px){.profile-stat-chart{margin:24px -20px -20px;padding:20px}.profile-stat-chart__head{display:block}.profile-stat-chart__status{margin-top:10px}.profile-stat-periods{grid-template-columns:1fr;gap:8px}.profile-stat-custom{margin-left:0;flex-wrap:wrap}.profile-stat-custom label{flex:1;min-width:115px}.profile-stat-custom input{width:100%}.profile-stat-custom>i{display:none}.profile-stat-custom>button{width:100%}.profile-stat-tabs{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}.profile-stat-chart__canvas{height:200px}.profile-stat-chart__summary strong{font-size:24px}.profile-stat-chart>footer{grid-template-columns:1fr 1fr}.profile-stat-chart>footer small{display:none}}
@media(prefers-reduced-motion:reduce){.profile-stat-periods button,.profile-stat-tabs button{transition:none}}
.profile-avatar{overflow:visible!important}.profile-avatar>img,.profile-avatar>span{overflow:hidden}.profile-avatar>.profile-avatar__status{position:absolute;z-index:3;right:-5px!important;bottom:-5px!important;width:17px!important;height:17px!important;padding:0!important;border:4px solid #000!important;border-radius:50%!important;background:#57d594!important;box-shadow:0 3px 12px rgba(0,0,0,.75)!important}
.profile-status-editor{padding:2px 0 15px}.profile-status-editor>label>span,.profile-status-editor legend{display:block;margin-bottom:7px;color:rgba(255,255,255,.56);font-size:11px}.profile-status-editor>label>input{width:100%;height:41px;padding:0 12px;border:1px solid rgba(255,255,255,.11);border-radius:8px;background:#050505;color:#fff;outline:0}.profile-status-editor>label>input:focus{border-color:rgba(255,255,255,.35)}.profile-status-editor fieldset{display:flex;gap:10px;margin:14px 0 0;padding:0;border:0}.profile-status-editor fieldset label{position:relative;cursor:pointer}.profile-status-editor fieldset input{position:absolute;opacity:0}.profile-status-editor fieldset i{display:block;width:25px!important;height:25px!important;padding:0!important;border:5px solid #090909!important;border-radius:50%!important;background:var(--status-color)!important;box-shadow:0 0 0 1px rgba(255,255,255,.17)!important;transition:transform .15s ease,box-shadow .15s ease}.profile-status-editor fieldset i:after{display:none!important}.profile-status-editor fieldset label:hover i{transform:scale(1.08)}.profile-status-editor fieldset input:checked+i{box-shadow:0 0 0 2px #fff!important;transform:scale(1.08)}.profile-status-editor fieldset input:focus-visible+i{outline:2px solid #fff;outline-offset:3px}.profile-status-editor>small{display:block;margin-top:11px;color:rgba(255,255,255,.36);font-size:10px;line-height:1.45}.profile-badges__divider{height:1px;margin:0 0 17px;background:rgba(255,255,255,.08)}.profile-section__head--compact{margin-bottom:6px}
