.profile-shortcut { display:flex; align-items:center; gap:11px; background:transparent; border:0; padding:2px; color:var(--text); text-align:right; cursor:default }
.identity-copy { display:grid; gap:2px; font-size:.83rem }
.identity-copy strong { font-weight:800 }
.identity-copy small { color:var(--gold); font-size:inherit }
.wallet { display:grid; grid-template-columns:repeat(3,max-content); justify-content:end; align-items:center; gap:4px 14px; color:var(--gold); font-size:.72rem }
.wallet > span { display:inline-flex; align-items:center; justify-content:flex-end; gap:3px; white-space:nowrap }
.wallet img { width:22px; height:22px; object-fit:contain }
.wallet b { font-weight:800 }
.avatar-frame { display:grid; place-items:center; width:58px; height:58px; flex:none; overflow:hidden; border:0; background:transparent; color:var(--green); font-weight:900; font-size:1.3rem }
.avatar-frame img { width:100%; height:100%; object-fit:cover; grid-area:1/1 }
.avatar-frame span { grid-area:1/1 }
.profile-layout { display:grid; grid-template-columns:1.2fr 1fr; gap:16px }
.profile-identity { display:flex; flex-wrap:wrap; align-items:center; gap:20px }
.profile-avatar { width:174px; height:174px; font-size:4rem }
.profile-identity h2 { font-size:1.5rem; color:var(--text); margin:0 0 6px; overflow-wrap:anywhere }
.profile-identity p { margin:4px 0; font-size:.82rem }
.profile-accent { color:var(--gold) }
.profile-level { display:grid; gap:7px; flex:1 1 180px; margin-left:auto; font-size:.82rem }
.profile-level strong { color:var(--green); font-size:1.15rem }
.xp-track { height:9px; border:1px solid var(--line); background:#06160e }
.xp-track div { height:100%; width:0; background:var(--green) }
.profile-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(105px,1fr)); gap:14px }
.profile-stats div { display:grid; gap:4px; padding:10px; border:1px solid var(--line) }
.profile-stats small { color:var(--muted); font-size:.7rem }
.profile-stats strong { font-size:1.25rem }
.profile-customize h3 { color:var(--green); font-size:.81rem; margin:24px 0 10px }
.profile-choices { display:flex; flex-wrap:wrap; gap:9px }
.profile-choice { display:flex; align-items:center; gap:9px; min-height:48px; max-width:100%; overflow-wrap:anywhere; text-align:left }
.profile-choice img { width:36px; height:36px; object-fit:cover }
.profile-choice.active { border-color:var(--green); color:var(--green); background:#0e3e28 }
.avatar-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(290px,1fr)); gap:16px }
.avatar-card { display:grid; grid-template-columns:110px minmax(0,1fr); align-items:center; gap:13px; min-height:160px; background:var(--panel); border:1px solid var(--line); padding:17px }
.avatar-card.locked > img { filter:grayscale(.55); opacity:.7 }
.avatar-card > img { width:110px; height:110px; object-fit:cover; border:0 }
.avatar-card div { display:grid; gap:7px }.avatar-card strong { color:var(--text) }
.avatar-card small { color:var(--muted); font-size:.73rem; line-height:1.35 }
.avatar-card b { color:var(--green); font-size:.7rem }
.avatar-card button { grid-column:1/-1 }
#profile-status:empty { display:none }
.profile-shortcut { min-width:0; gap:18px }
.identity-copy { justify-items:center; flex:none; min-width:42px; max-width:140px; text-align:center }
.identity-copy > strong { max-width:100%; overflow-wrap:anywhere }
#username { color:var(--text) }
.profile-shortcut > .wallet { flex:0 1 auto; min-width:90px }
.header-badge, .header-badge:hover:not(:disabled) { display:grid; place-items:center; width:32px; height:32px; padding:0; border:0; background:transparent }
.header-badge img { width:100%; height:100%; object-fit:contain }
.profile-badge-display, .profile-badge-display:hover:not(:disabled) { display:flex; align-items:center; gap:10px; padding:5px 0; max-width:240px; border:0; background:transparent; text-align:left; color:var(--muted); font-size:.73rem }
.profile-badge-display img { width:76px; height:76px; object-fit:contain; flex:none }
.profile-badge-display span { overflow-wrap:anywhere }
@media(max-width:980px) { .wallet { grid-template-columns:repeat(2,max-content); gap:3px 10px } }
@media(max-width:750px) { .profile-shortcut { flex:none; gap:7px }.topbar .brand { min-width:0 }.topbar .brand strong { min-width:0 }.identity-copy { max-width:70px; font-size:.68rem }.profile-shortcut > .wallet { min-width:116px; max-width:170px; font-size:.6rem }.header-badge { width:25px; height:25px }.profile-badge-display img { width:64px; height:64px } }
@media(max-width:750px) { .profile-layout { grid-template-columns:1fr } .profile-identity { align-items:flex-start } .identity-copy { font-size:.7rem } .profile-shortcut { gap:7px } .avatar-frame { width:46px; height:46px } .profile-avatar { width:150px; height:150px } .wallet { grid-template-columns:repeat(2,max-content); max-width:220px; font-size:.63rem; gap:2px 6px } .wallet img { width:15px; height:15px } }

/* Profile resource overview, using existing game currency PNGs. */
.profile-resources { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-areas:"gold dirty" "pee joint" "nano mash"; grid-auto-flow:row; gap:6px 24px; margin-bottom:18px; align-items:start; border:0 }
.profile-resources > .profile-resource:nth-child(1) { grid-area:gold }
.profile-resources > .profile-resource:nth-child(2) { grid-area:pee }
.profile-resources > .profile-resource:nth-child(3) { grid-area:nano }
.profile-resources > .profile-resource:nth-child(4) { grid-area:dirty }
.profile-resources > .profile-resource:nth-child(5) { grid-area:joint }
.profile-resources > .profile-resource:nth-child(6) { grid-area:mash }
.profile-resource { display:flex; align-items:flex-start; gap:18px; padding:15px 0; min-width:0 }
.profile-resource:first-child { padding:15px 0; border:0; background:transparent }
.profile-resource:nth-child(n+2) { border:0; background:transparent }
.profile-resource > img { width:68px; height:68px; flex:none; object-fit:contain }
.profile-resource > div { min-width:0 }
.profile-resource-name { display:flex; flex-wrap:wrap; align-items:baseline; gap:7px 18px }
.profile-resource-name strong { color:var(--green); font-size:1rem; letter-spacing:.04em }
.profile-resource-name span { color:var(--gold); font-size:1.18rem; font-weight:800; font-variant-numeric:tabular-nums }
.profile-resource p { margin:6px 0 0; font-size:.75rem; color:var(--muted); line-height:1.45 }
.profile-section-links { display:flex; align-items:center; gap:10px; flex-wrap:wrap }
@media(max-width:900px) { .profile-resources { grid-template-columns:minmax(0,1fr); grid-template-areas:"gold" "pee" "nano" "dirty" "joint" "mash"; gap:4px } }
@media(max-width:750px) { .profile-resource { gap:12px; padding:10px 0 } .profile-resource:first-child { padding:10px 0 } .profile-resource > img { width:54px; height:54px } .profile-resource-name span { font-size:1rem } }
