.profile-shell [hidden] { display:none !important; }
.profile-identity { grid-template-columns: auto minmax(0,1fr) minmax(260px,.65fr); }
.profile-identity-meta { display:flex; align-items:center; gap:10px; }
.profile-identity-meta > span { color:var(--muted); font-size:11px; font-weight:700; }
.profile-showcase-hero { align-self:stretch; display:flex; flex-direction:column; justify-content:center; padding-left:28px; border-left:1px solid var(--line); text-align:left; }
.profile-showcase-hero small { color:var(--lime); font-size:9px; font-weight:900; letter-spacing:1.5px; }
.profile-showcase-hero b { margin:5px 0 9px; font:18px "Archivo Black"; }
.profile-showcase-hero strong { color:var(--lime); font:30px "Archivo Black"; }
.profile-showcase-hero span { margin-top:5px; color:var(--muted); font-size:10px; }
.profile-feature-grid { grid-template-columns:minmax(0,1.55fr) minmax(260px,.75fr); align-items:stretch; margin-bottom:20px; }
.most-valuable-panel { min-height:315px; margin-bottom:0; }
.most-valuable-panel .valuable-object { grid-template-columns:260px minmax(0,1fr); gap:26px; }
.most-valuable-panel .valuable-object img { width:260px; height:210px; }
.profile-trophy-summary { display:grid; grid-template-rows:repeat(3,minmax(0,1fr)); gap:12px; }
.profile-trophy-summary .profile-panel { display:grid; grid-template-columns:64px minmax(0,1fr); align-items:center; column-gap:14px; margin:0; padding:22px; }
.profile-trophy-summary strong { color:var(--lime); font:32px "Archivo Black"; text-align:center; }
.profile-trophy-summary h2 { margin:0; font:19px "Archivo Black"; text-transform:uppercase; text-align:left; }
.profile-stat-logo { position:absolute; right:15px; top:13px; width:25px; height:25px; object-fit:contain; opacity:.78; }
.profile-avatar-wrap { position:relative; }
.profile-monogram.has-object-avatar { background-color:#100d20; background-position:center; background-repeat:no-repeat; background-size:contain; font-size:0; }
.profile-avatar-change { display:block; width:94px; margin-top:7px; padding:6px 4px; border:1px solid var(--line); border-radius:6px; background:#100d20; color:var(--ink); font-size:10px; font-weight:800; cursor:pointer; }
.profile-avatar-change:hover { border-color:var(--lime); color:var(--lime); }
.avatar-modal>div { width:min(760px,94vw); max-height:min(760px,90vh); overflow:auto; }
.avatar-modal>div>small { display:block; margin:-10px 0 18px; color:var(--muted); }
.avatar-choices { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; text-align:left; }
.avatar-choice { min-width:0; padding:10px; border:1px solid var(--line); border-radius:8px; background:#100d20; color:var(--ink); cursor:pointer; }
.avatar-choice:hover { border-color:var(--lime); }
.avatar-choice img { width:100%; height:100px; object-fit:contain; background:transparent; }
.avatar-choice strong { display:block; overflow:hidden; margin-top:7px; color:var(--ink); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.avatar-remove { margin-top:18px; padding:10px 14px; border:1px solid var(--line); border-radius:6px; background:transparent; color:var(--ink); font-weight:800; cursor:pointer; }
.profile-tooltip-card { position:relative; outline:none; }
.profile-tooltip-card:hover,.profile-tooltip-card:focus-visible { z-index:4; border-color:var(--lime); }
.profile-tooltip-card:focus-visible { box-shadow:0 0 0 3px rgba(215,255,67,.2); }
.profile-tooltip { position:absolute; z-index:20; left:50%; bottom:calc(100% + 12px); width:max-content; max-width:min(300px,calc(100vw - 48px)); padding:11px 13px; border:1px solid #77698f; border-radius:8px; background:#0d0918; box-shadow:0 12px 35px rgba(0,0,0,.55); color:var(--ink); font-size:12px; font-weight:600; line-height:1.45; text-align:left; opacity:0; pointer-events:none; transform:translate(-50%,6px); transition:opacity .16s ease,transform .16s ease; }
.profile-tooltip::after { content:""; position:absolute; top:100%; left:50%; border:7px solid transparent; border-top-color:#77698f; transform:translateX(-50%); }
.profile-tooltip-card:hover .profile-tooltip,.profile-tooltip-card:focus-visible .profile-tooltip { opacity:1; transform:translate(-50%,0); }
@media(max-width:760px){.profile-identity{grid-template-columns:68px 1fr}.profile-showcase-hero{grid-column:1/-1;padding:18px 0 0;border-left:0;border-top:1px solid var(--line)}.profile-feature-grid{grid-template-columns:1fr}.profile-trophy-summary{grid-template-columns:1fr;grid-template-rows:repeat(3,auto)}}
@media(max-width:600px){.profile-avatar-change{width:68px}.avatar-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.most-valuable-panel{min-height:0}.most-valuable-panel .valuable-object{grid-template-columns:140px minmax(0,1fr);gap:16px}.most-valuable-panel .valuable-object img{width:140px;height:125px}}
@media(max-width:460px){.profile-trophy-summary{grid-template-columns:1fr}.profile-identity-meta{align-items:flex-start;flex-direction:column}}
.most-valuable-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);grid-template-rows:auto 1fr auto;column-gap:24px;row-gap:8px}
.featured-title{grid-column:1;grid-row:1;margin-bottom:0}
.most-valuable-panel #mostValuable{display:contents}
.featured-info{grid-column:1;grid-row:2;align-self:center;padding-left:24px;min-width:0;overflow-wrap:anywhere}
.featured-info small{color:var(--muted);font-size:12px;text-transform:uppercase}
.featured-info h3{font-size:23px;margin:6px 0;font-weight:800}
.featured-info strong{color:var(--lime);font-size:25px;font-weight:900}
.featured-image{grid-column:2;grid-row:1/3;align-self:stretch;width:100%;min-width:0;min-height:240px;padding:0;border:1px solid var(--line);border-radius:8px;background:#100d20;cursor:pointer}
.featured-image img{display:block;width:100%;height:240px;object-fit:contain}
.featured-placeholder{display:grid;place-items:center;color:var(--muted);font-size:13px;cursor:default}
.most-valuable-panel #featuredControls{grid-column:2;grid-row:3;justify-self:center}
.most-valuable-panel .featured-change{width:auto;max-width:100%;margin-top:0;padding:6px 10px}
@media(max-width:600px){.most-valuable-panel{column-gap:12px}.featured-title h2{font-size:18px}.featured-info{padding-left:0}.featured-info h3{font-size:17px}.featured-image{min-height:190px}.featured-image img{height:190px}}
@media(max-width:380px){.most-valuable-panel{grid-template-columns:1fr}.featured-title{grid-column:1;grid-row:1}.featured-info{grid-column:1;grid-row:2}.featured-image{grid-column:1;grid-row:3}.most-valuable-panel #featuredControls{grid-column:1;grid-row:4}}
.profile-identity-meta #profileReputation{font-size:20px;font-weight:800;color:var(--ink)}
.profile-stats{grid-template-columns:minmax(0,1.4fr) repeat(4,minmax(0,1fr));gap:10px}
.profile-stats .profile-spent strong{font-size:26px;overflow-wrap:anywhere}
.profile-stats .profile-spent>span{color:var(--lime);opacity:1}
.profile-trophy-summary{grid-template-rows:repeat(3,minmax(0,1fr))}
@media(max-width:850px){.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.profile-trophy-summary{grid-template-columns:1fr;grid-template-rows:repeat(3,auto)}}
@media(max-width:600px){.profile-stats{grid-template-columns:1fr}.profile-identity-meta #profileReputation{font-size:16px}}
