:root{--ink:#172522;--paper:#f6f2e8;--white:#fffdf8;--line:rgba(23,37,34,.19);--muted:#65706a;--yellow:#f2ca62;--red:#c95542;--green:#dcebdc}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 Inter,system-ui,sans-serif}.account-shell{width:min(1120px,calc(100% - 2rem));margin:3rem auto 6rem}.account-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.65fr);gap:2rem;align-items:end;padding:2rem 0 2.5rem;border-bottom:1px solid var(--line)}.eyebrow{margin:0 0 .65rem;color:var(--muted);font-size:.68rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.account-hero h1{max-width:760px;margin:0;font:400 clamp(3.5rem,9vw,7.3rem)/.86 Georgia,serif;letter-spacing:-.065em}.lede{max-width:680px;margin:1.3rem 0 0;color:var(--muted);font-size:1.08rem}.account-promise{display:grid;gap:.25rem;padding:1.2rem;border:1px solid var(--line);border-radius:20px;background:var(--white);box-shadow:7px 8px 0 rgba(23,37,34,.07)}.account-promise strong{margin-top:.45rem}.account-promise span{color:var(--muted);font-size:.82rem}.account-status{margin:1.25rem 0;padding:.85rem 1rem;border-radius:14px;background:var(--green);font-weight:750}.account-status.error{background:#f8d9d2;color:#7b2417}.account-status[hidden]{display:none}.account-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:1rem}.account-card{padding:1.25rem;border:1px solid var(--line);border-radius:20px;background:var(--white)}.account-card h2{margin:.1rem 0 .55rem;font:400 2.3rem/1 Georgia,serif;letter-spacing:-.04em}.account-card h3{margin:.2rem 0}.account-card p{color:var(--muted)}.account-actions,.save-actions{display:flex;gap:.5rem;flex-wrap:wrap}.account-button,.account-actions a,.save-actions a{min-height:46px;padding:0 1rem;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--ink);font:inherit;font-weight:850;text-decoration:none;cursor:pointer}.account-button.primary{border-color:var(--ink);background:var(--ink);color:white}.account-button.danger{color:#8d2d20;border-color:rgba(141,45,32,.35)}.pending-card{border-color:#d2ab42;background:#fff5cf}.save-list{display:grid;gap:.7rem}.save-card{padding:1rem;border:1px solid var(--line);border-radius:15px}.save-meta{display:flex;gap:.5rem;flex-wrap:wrap;color:var(--muted);font-size:.74rem}.save-summary{display:flex;gap:.4rem;flex-wrap:wrap;margin:.65rem 0}.save-summary span{padding:.3rem .5rem;border-radius:999px;background:#edf1e8;font-size:.72rem}.account-form{display:grid;gap:.75rem;margin-top:1rem}.account-form label{display:grid;gap:.35rem;font-weight:800}.account-form input{min-height:48px;padding:0 .75rem;border:1px solid var(--line);border-radius:12px;background:white;font:inherit}.manage-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.account-explainer{margin-top:2rem;padding:1.5rem;border:1px solid var(--line);border-radius:22px;background:var(--white);display:grid;grid-template-columns:.7fr 1.3fr;gap:2rem}.account-explainer h2{margin:0;font:400 2.6rem/1 Georgia,serif}.account-explainer ol{margin:0;padding:0;list-style:none;display:grid;gap:.7rem}.account-explainer li{padding:.8rem;border-left:4px solid var(--yellow);display:grid}.account-explainer span{color:var(--muted)}.token-card{max-width:620px;margin:2rem auto;padding:1.4rem;border:1px solid var(--line);border-radius:20px;background:var(--white)}.empty-save{padding:1.2rem;border:1px dashed var(--line);border-radius:14px;color:var(--muted)}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #d49a3a;outline-offset:2px}@media(max-width:760px){.account-hero,.account-grid,.manage-grid,.account-explainer{grid-template-columns:1fr}.account-hero h1{font-size:clamp(3.3rem,18vw,5.2rem)}.account-shell{margin-top:1.5rem}.account-promise{box-shadow:none}}@media(max-width:390px){.account-shell{width:min(100% - 1.25rem,1120px)}.account-card{padding:1rem}.account-button,.account-actions a,.save-actions a{width:100%}}

/* Shared cosmic account treatment. */
:root{--bg:#080b14;--white:#151721;--ink:#f6f5fa;--muted:#b5b2c6;--line:#363747;--yellow:#bda1ff}body{background:#080b14;color:#f6f5fa}.account-hero h1{font:800 clamp(28px,4vw,44px)/1.1 Inter,system-ui,sans-serif;letter-spacing:-1px}.account-card h2,.account-explainer h2,.token-card h2{font:750 26px/1.2 Inter,system-ui,sans-serif;overflow-wrap:anywhere}.account-promise{background:#242033;box-shadow:none}.account-form input{background:#242431;color:#fff;border-color:#484352}.account-button.primary{background:#7950f2;border-color:#9575f1;color:#fff}.account-status{background:#201b2c;color:#e0d3ff}.account-actions a,.save-actions a,.account-shell a{color:#c4acff}.account-shell{margin-top:24px}.account-hero{padding-bottom:22px}.account-explainer{background:#13151e}@media(max-width:760px){.account-hero h1{font-size:32px}.account-promise{display:none}.account-hero{gap:12px}.account-explainer h2{font-size:26px}}

/* Private profile: compact navigation, clear storage scope, readable rows. */
body{background:#0c0d16;color:#f5f3ff}
.account-shell{max-width:1120px;margin:20px auto 64px}
.is-signed-in .account-hero,.is-signed-in .account-explainer{display:none}
.account-hero{padding-top:8px}.account-hero h1{font-size:36px}
.profile-header{display:flex;align-items:center;gap:20px;padding:24px 0 22px}
.profile-avatar{flex:none;display:grid;place-items:center;width:76px;height:76px;border-radius:24px;font-size:26px;font-weight:800;border:1px solid #b99bff;color:white}
.violet{background:#6236aa}.ocean{background:#146078}.forest{background:#287052}.sunset{background:#9f4936}
.profile-heading{min-width:0;flex:1}.profile-heading h1{font:800 36px/1.15 Inter,system-ui,sans-serif;letter-spacing:-1px;margin:0 0 5px;overflow-wrap:anywhere}
.profile-heading p{margin:0;color:#bbb6ce}.small,.scope-label{font-size:12px;color:#bcb6cf;line-height:1.5}
.profile-header-actions{display:flex;gap:8px}
.account-button,.account-actions a,.save-actions a{border-radius:11px;font-size:14px;font-weight:650;min-height:44px;width:auto}
.account-button.primary{background:#8654eb;border-color:#b093ff;color:#fff}
.account-button:hover{background:#2e2542}.account-button.primary:hover{background:#7142d1}
.account-button.danger{color:#ffb4b4;border-color:#8a464e}
.account-button:disabled{opacity:.55;cursor:default}
.profile-tabs{display:flex;gap:6px;border-bottom:1px solid #302b40;padding:0 0 12px}
.profile-tabs .account-button{border:0;color:#c6c0d8;min-width:100px}
.profile-tabs [aria-current="page"]{background:#2f2348;color:#e7d7ff;box-shadow:inset 0 -2px #b295ff}
.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);padding:23px 0;gap:15px}
.profile-stats>div{display:grid;gap:3px;border-right:1px solid #302b40;padding-left:20px}
.profile-stats>div:first-child{padding-left:0}.profile-stats>div:last-child{border:0}
.profile-stats strong{font-size:27px;line-height:1.15;letter-spacing:-.6px}.profile-stats span{font-size:12px;color:#bcb6cf}
.profile-content{outline:none}.profile-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.profile-panel{padding:22px;border:1px solid #302d41;border-radius:18px;background:#14141f;margin-bottom:18px;min-width:0}
.profile-panel h2{font:700 21px/1.3 Inter,system-ui,sans-serif;letter-spacing:-.4px;margin:0 0 10px}
.profile-panel h3{font:650 16px/1.35 Inter,system-ui,sans-serif;margin:0 0 4px;overflow-wrap:anywhere}
.profile-panel p{color:#bcb6cf;margin:0 0 16px;line-height:1.6}
.continue-panel{background:linear-gradient(115deg,#251b3b,#191524)}
.continue-panel h3{font-size:24px;margin:18px 0}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.section-heading h2,.section-heading h3,.section-heading p{margin:0}.section-heading p{margin-top:6px}
.profile-empty{padding:18px 0}.profile-empty h3{font-size:18px}.profile-empty p{margin-top:6px;max-width:60ch}
.experience-row{display:flex;align-items:center;gap:16px;padding:15px 0;border-top:1px solid #2c283b}
.experience-row img,.unavailable-art{width:96px;height:72px;flex:none;border-radius:10px;object-fit:cover;background:#242031}
.unavailable-art{display:grid;place-items:center;color:#bbb6ce;font-weight:700}
.experience-copy{flex:1;min-width:0}.experience-copy p{font-size:13px;margin:0;text-transform:capitalize}
.experience-actions{display:flex;gap:8px}
.achievement-list{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.achievement-list li{display:flex;align-items:flex-start;gap:12px;padding:10px 0}
.achievement-mark{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:12px;background:#3b2c53;color:#d1b4ff;font-size:25px}
.achievement-list p{margin:3px 0;font-size:13px}.achievement-list h3{font-size:15px}
.achievement-list .locked .achievement-mark{background:#242330;color:#aea7c1}
.achievement-list progress{display:block;width:min(300px,100%);height:7px;margin-top:9px;accent-color:#b69aff}
.profile-search{display:grid;gap:8px;margin-bottom:16px;color:#c6bed9;font-size:14px}
.profile-search input,.account-form input{width:100%;border:1px solid #474054;background:#1c1a2a;color:#f7f5ff;min-height:46px;border-radius:10px;padding:10px 12px;font:inherit}
.profile-panel .save-card{background:#191725;border-color:#373145;margin-top:12px}
.save-summary span{background:#282237;color:#d7cee7;border-radius:6px;font-size:12px}
.save-meta{font-size:13px}.save-actions{margin-top:15px}.save-actions a{color:white}
.activity-details{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:22px 0 30px}
.activity-details dt{font-size:13px;color:#bcb6cf}.activity-details dd{font-size:24px;font-weight:700;margin:5px 0}
.avatar-options{border:0;padding:0;margin:0;display:flex;gap:8px;flex-wrap:wrap}.avatar-options legend{margin:10px 0;font-weight:650}
.avatar-choice{display:flex!important;align-items:center;gap:6px!important;font-size:13px;padding:6px 8px;border:1px solid #494052;border-radius:9px;min-height:44px}
.avatar-choice input{min-height:18px;width:18px;accent-color:#b395f3}.avatar-swatch{width:18px;height:18px;border-radius:50%}
.account-form{max-width:520px}.account-form button{justify-self:start}
.profile-panel details{border-top:1px solid #3a324a;padding:12px 0;margin-top:15px}
.profile-panel summary{font-weight:650;cursor:pointer;min-height:44px;display:list-item;padding:10px 0;color:#e9ddff}
.profile-panel details[open]>summary{margin-bottom:10px}
.danger-zone{border-color:#613a46}.danger-zone summary{color:#ffb4b4}
.verification-notice,.notice{background:#302713;border:1px solid #66522c;border-radius:12px;padding:12px;color:#ffdfaa;margin:0 0 14px}
.verification-notice{display:flex;align-items:center;justify-content:space-between;gap:14px}.verification-notice p{margin:0}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.account-status{font-size:14px;margin:10px 0}.account-status.error{background:#4c2631;color:#ffd0d8}
:focus-visible{outline:3px solid #c5a7ff!important;outline-offset:3px}
@media(max-width:760px){
 .account-shell{width:calc(100% - 28px);margin-top:10px}
 .profile-header{gap:12px;padding:12px 0 15px;flex-wrap:wrap}
 .profile-avatar{width:52px;height:52px;border-radius:17px;font-size:20px}
 .profile-heading h1{font-size:27px;letter-spacing:-.7px}.profile-heading p{font-size:13px}.profile-heading .small{font-size:11px}
 .profile-header-actions{width:100%;justify-content:flex-end;margin-top:0}
 .profile-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;padding-bottom:8px}
 .profile-tabs .account-button{min-width:0;padding:0 3px;font-size:12px;border-radius:8px}
 .profile-stats{gap:7px;padding:16px 0}.profile-stats>div{padding-left:7px}.profile-stats strong{font-size:23px}.profile-stats span{font-size:10px;line-height:1.4}
 .profile-columns{grid-template-columns:1fr;gap:0}
 .profile-panel{padding:17px;margin-bottom:14px;border-radius:14px}.profile-panel h2{font-size:19px}
 .continue-panel h3{font-size:21px;margin:10px 0 14px}.continue-panel p{margin-bottom:10px}
 .experience-row{flex-wrap:wrap;gap:12px}.experience-row img,.unavailable-art{width:70px;height:53px}
 .experience-actions{width:100%;justify-content:flex-end}
 .activity-details{grid-template-columns:repeat(2,1fr)}
 .verification-notice{display:block}.verification-notice .account-button{margin-top:10px}
 .save-actions .account-button{flex:1}.save-meta{font-size:12px}.account-button{padding:0 12px}
 .account-hero h1{font-size:30px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.profile-stats[hidden]{display:none}.profile-tabs{margin-bottom:16px}.profile-stats{margin-top:-16px}.achievement-list li{padding:4px 0}.achievement-list{gap:10px}

@media(max-width:760px){.profile-stats span{font-size:11px}}

/* Favorites keep both account and browser collections in view. */
.profile-header{padding:12px 0 16px;gap:16px}
.profile-avatar{width:60px;height:60px;border-radius:19px;font-size:23px}
.profile-heading h1{font-size:32px}
.profile-tabs{padding-bottom:8px;margin-bottom:12px}
.favorites-panel{padding:18px}
.favorites-panel>.section-heading{margin-bottom:12px}
.favorites-panel h2{margin:0}
.favorites-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.favorites-toolbar .profile-search{flex:1;margin:0;min-width:0}
.favorites-toolbar input{min-height:44px;padding:9px 12px}
.favorite-group+.favorite-group{margin-top:18px}
.favorite-group-title{display:flex;align-items:center;gap:8px;color:#e4dbf2;font-size:13px!important;margin:0 0 8px!important}
.favorite-group-title span{color:#bcb6cf;font-weight:400}
.favorites-panel .favorite-group-note{font-size:12px;line-height:1.5;margin:0 0 8px;max-width:65ch}
.favorites-panel .experience-row{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:12px;padding:10px 0}
.favorites-panel .experience-row img,.favorites-panel .unavailable-art{width:72px;height:54px;border-radius:8px}
.favorites-panel .experience-copy h3{font-size:15px;margin-bottom:3px}
.favorites-panel .experience-actions{width:auto;gap:6px}
.favorites-panel .experience-actions .account-button{padding:0 12px}
.favorites-panel .favorite-remove{color:#bcb6cf}
.favorites-panel .profile-empty{padding:10px 0 0}
.profile-share-dialog{color:#f5f3ff;background:#191725;border:1px solid #544461;border-radius:16px;padding:20px;width:min(460px,calc(100% - 28px));max-height:calc(100% - 32px)}
.profile-share-dialog::backdrop{background:rgba(5,5,12,.75)}
.profile-share-dialog h2{font:700 20px/1.3 Inter,system-ui,sans-serif;margin:0;overflow-wrap:anywhere;flex:1}
.profile-share-dialog p{color:#bcb6cf;font-size:14px;line-height:1.5}
.profile-share-dialog label{display:grid;gap:7px;font-size:13px}
.profile-share-dialog input{width:100%;min-height:44px;background:#0c0d16;color:#f5f3ff;border:1px solid #5b506d;border-radius:8px;padding:10px;font:inherit}
.profile-share-dialog .account-actions{margin-top:12px}
@media(max-width:760px){
 .profile-header{gap:12px;padding:8px 0 12px}
 .profile-avatar{width:48px;height:48px;font-size:20px;border-radius:16px}
 .profile-heading h1{font-size:26px}
 .profile-header-actions{gap:6px}
 .favorites-panel{padding:14px}
 .favorites-toolbar{gap:8px;margin-bottom:14px}
 .favorites-toolbar>.account-button{padding:0 10px;font-size:12px;max-width:105px;text-align:center;line-height:1.25}
 .favorites-panel .experience-row{grid-template-columns:56px minmax(0,1fr);gap:8px 10px;padding:10px 0}
 .favorites-panel .experience-row img,.favorites-panel .unavailable-art{width:56px;height:42px}
 .favorites-panel .experience-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;width:100%;justify-content:flex-start}
 .favorites-panel .experience-actions .account-button{flex:1;padding:0 8px;font-size:12px;white-space:nowrap}
 .favorites-panel .experience-copy h3{font-size:14px}
 .favorites-panel .experience-copy p{font-size:12px}
 .favorite-group+.favorite-group{margin-top:14px}
}

[data-activity-status][hidden]{display:none}
@media(max-width:760px){
 .profile-header{padding:4px 0 8px;row-gap:8px}
 .profile-tabs{margin-bottom:8px}
 .favorites-toolbar{margin-bottom:10px}
}
