/* My profile: shared identity above four focused account sections. */
.profile-page{background:#07120f;color:#f2f8f3;background-image:none}
.profile-page main{max-width:1120px;margin:0 auto;padding:30px 24px 48px}
.profile-page .account-header{position:sticky;top:0;z-index:100;max-width:none;padding:14px max(24px,calc((100vw - 1072px)/2));background:#07120ff5;gap:18px}
.profile-page .account-header nav{margin-left:auto;gap:8px}
.profile-page .account-header nav a{border:0;border-radius:0;font-size:15px;padding:12px 8px}
.profile-page .account-header nav a[aria-current]{background:none;border-bottom:3px solid #b4ff22}
.profile-page .page-h1{font-size:38px;margin:0 0 22px;letter-spacing:-1px}
.profile-page .environment{margin-bottom:12px}.profile-page .environment:not(.test-environment){display:none}
.profile-nameplate{--profile-accent:#b4ff22;display:flex;align-items:center;gap:26px;background:#10221b;border:1px solid #345747;border-radius:14px;padding:24px 28px;min-height:178px}
.profile-nameplate[data-theme="ectoplasm"]{background:#102725;--profile-accent:#64f5cc}
.profile-nameplate[data-theme="after-dark"]{background:#211b2b;--profile-accent:#ff64c8}
.profile-avatar{width:120px;height:120px;border:3px solid var(--profile-accent);border-radius:50%;overflow:hidden;background:#163326;flex:none}
.profile-avatar img{height:100%;width:100%;object-fit:cover;object-position:50% 18%}
.profile-avatar img[data-avatar="riley"]{transform:scale(1.45);transform-origin:50% 25%}
.profile-identity{flex:1;min-width:0}.profile-identity h2{font-size:clamp(23px,3vw,36px);letter-spacing:-.8px;line-height:1.15;margin:0 0 10px;overflow-wrap:anywhere}
.profile-identity p{margin:9px 0 0;color:#adc3b7;font-size:15px}
.profile-tier{display:inline-flex;align-items:center;gap:8px;min-height:30px;padding:3px 12px;border:1px solid var(--profile-accent);color:var(--profile-accent);border-radius:7px;font-size:14px;font-weight:800}
.profile-tier::before{content:'◆';font-size:12px}
.profile-page .notice{margin:12px 0;font-size:13px;padding:0;border:0;background:none;min-height:21px;color:#adc3b7}
.profile-page .notice.error{color:#ffb5b5}
.profile-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}
.profile-tabs a{display:flex;justify-content:center;align-items:center;min-height:54px;border:1px solid #345747;border-radius:10px;text-decoration:none;font-weight:800;color:#adc3b7}
.profile-tabs a[aria-selected="true"]{color:#b4ff22;border-color:#b4ff22;background:#b4ff2209}
.profile-page .balance-strip{margin:0 0 20px;border:1px solid #345747;border-radius:12px;padding:20px 0;background:#10221b}
.profile-page .balance-strip strong{font-size:28px}.profile-page .balance-strip span{font-size:14px;letter-spacing:0}.profile-page .balance-strip small{font-size:11px}
.profile-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.profile-page .account-panel{background:#10221b;border:1px solid #345747;border-radius:12px;margin-bottom:18px;padding:24px}
.profile-page h2{font-size:24px;letter-spacing:-.5px}.profile-page .account-panel h2{margin:0 0 18px}
.profile-loyalty h3{font-size:29px;margin:20px 0 8px}.profile-loyalty p{font-size:15px;color:#adc3b7;line-height:1.6;margin:0 0 22px}
.profile-page .holdings-list{margin:12px 0}.profile-page .holdings-list>div{display:flex;gap:12px;padding:9px 0;border-bottom:1px solid #345747}.profile-page .holdings-list strong{margin-left:auto}.profile-page .holdings-list small{color:#adc3b7}
.profile-page .holdings-list>p{margin:12px 0}.profile-page .small,.profile-page .detail{font-size:13px;color:#adc3b7;line-height:1.6}.profile-page .detail{min-height:0}
.profile-page .button{font-size:14px;border-radius:9px;min-height:46px;padding:10px 18px}
.profile-page .quick-actions{display:flex;gap:14px;margin:0 0 22px}.profile-page .quick-actions>*{flex:1}
.profile-page .xp-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.profile-page .xp-tabs a{padding:10px 14px;border:1px solid #345747;border-radius:9px;text-decoration:none}
.profile-page .xp-section{padding:24px 0;border-top:1px solid #345747}.profile-page .xp-album{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-page .xp-card img{aspect-ratio:1;object-fit:cover}
.profile-page .xp-stamps{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-page .xp-stamp small{font-size:13px}
.profile-page .xp-note{font-size:14px}.profile-page .xp-record p{font-size:13px}
.profile-page fieldset{border:0;padding:0;margin:22px 0}.profile-page legend{font-size:16px;font-weight:800;margin-bottom:12px}
.profile-avatar-choices{display:flex;gap:12px;flex-wrap:wrap}.profile-avatar-choices label{width:95px;padding:8px;border:1px solid #345747;border-radius:10px;display:grid;gap:4px;justify-items:center;font-size:12px;cursor:pointer}
.profile-avatar-choices img{width:66px;height:66px;object-fit:cover;border-radius:50%}.profile-avatar-choices label:has(:checked),.profile-theme-choices label:has(:checked){border-color:#b4ff22;outline:1px solid #b4ff22}
.profile-theme-choices{display:flex;flex-wrap:wrap;gap:12px}.profile-theme-choices label{display:flex;align-items:center;gap:9px;padding:15px;border:1px solid #345747;border-radius:9px;background:#13281f;cursor:pointer}.profile-theme-choices [data-theme="ectoplasm"]{background:#102725}.profile-theme-choices [data-theme="after-dark"]{background:#211b2b}
.profile-page input[type="radio"],.profile-page input[type="checkbox"]{accent-color:#b4ff22;width:18px;height:18px}
.profile-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px}.profile-controls label{display:flex;align-items:center;gap:10px;font-size:14px;min-height:46px}.profile-controls select{background:#07120f;color:#f2f8f3;border:1px solid #345747;border-radius:6px;padding:8px;max-width:100%;font:inherit}
.profile-page footer{max-width:1072px;margin:0 auto;padding:22px 0;font-size:13px}.profile-page summary{font-size:15px}.profile-page [hidden]{display:none!important}
@media(max-width:760px){.profile-page main{padding:22px 18px}.profile-page .account-header{padding:10px 18px;flex-wrap:wrap;gap:10px}.profile-page .account-header .wordmark img{height:32px}.profile-page .account-header nav{order:3;width:100%;justify-content:center;margin:0}.profile-page .account-header nav a{font-size:14px;padding:7px 12px;min-height:36px}.profile-page .account-header .credit-cta{margin-left:auto}.profile-page .page-h1{font-size:30px}.profile-nameplate{gap:14px;padding:18px;flex-wrap:wrap;min-height:0}.profile-avatar{width:82px;height:82px}.profile-nameplate>.button{margin-left:96px;min-height:40px}.profile-identity h2{font-size:25px}.profile-identity p{font-size:13px}.profile-tabs{gap:6px}.profile-tabs a{font-size:13px;min-height:46px}.profile-page .balance-strip{padding:14px 0}.profile-page .balance-strip>div{padding:0 10px}.profile-page .balance-strip span{font-size:11px}.profile-page .balance-strip small{display:none}.profile-page .balance-strip strong{font-size:25px}.profile-overview-grid{grid-template-columns:1fr;gap:0}.profile-page .account-panel{padding:20px}.profile-page .quick-actions{flex-wrap:wrap;gap:10px}.profile-page .quick-actions>*{flex:1 1 42%;font-size:13px;padding:10px}.profile-page .xp-album,.profile-page .xp-stamps,.profile-controls{grid-template-columns:1fr 1fr}.profile-controls label{align-items:flex-start;flex-wrap:wrap}.profile-page footer{margin-inline:18px}.profile-page .xp-record{grid-template-columns:48px 1fr}.profile-page .xp-record-actions{grid-column:2}.profile-page .xp-record img{width:48px;height:48px}}
/* Reset the earlier collection tiles to a compact, readable holdings table. */
.profile-page .holdings-list{display:block}.profile-page .holdings-list>div{position:static;display:flex;align-items:center;min-height:42px;background:none!important;border:0;border-bottom:1px solid #345747;border-radius:0;padding:9px 0;margin:0}
.profile-page .holdings-list>div::before,.profile-page .holdings-list>div::after,.profile-page .holdings-list>div>span::before{display:none!important}
.profile-page .holdings-list>div>span{display:block!important;position:static!important;clip:auto!important;width:auto!important;height:auto!important;overflow:visible!important;color:#adc3b7;font-size:14px;padding:0!important}
.profile-page .holdings-list>div{flex-direction:row!important;text-align:left!important;height:auto!important}.profile-page .holdings-list>div>strong{position:static!important;font-size:18px!important;margin-left:auto!important}.profile-page .holdings-list>div>small{position:static!important;font-size:11px;min-width:52px;text-align:right}
.profile-page .profile-identity h2{font-size:clamp(25px,3vw,36px)}
@media(max-width:760px){.profile-page .account-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.profile-page .account-header .wordmark{width:auto;justify-self:start}.profile-page .account-header .wordmark img{max-width:160px;object-fit:contain}.profile-page .account-header nav{grid-column:1/-1;grid-row:2}.profile-page .account-header .credit-cta{grid-column:2;grid-row:1}.profile-nameplate{display:grid;grid-template-columns:82px minmax(0,1fr);gap:14px}.profile-nameplate>.button{grid-column:2;justify-self:start;margin:0}.profile-identity{width:100%}.profile-page .profile-identity h2{font-size:25px}.profile-controls{grid-template-columns:1fr}.profile-page .collection-heading{gap:8px;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.profile-page *{scroll-behavior:auto!important;animation:none!important}}
