.account-main{max-width:1160px;margin:0 auto;padding:24px 16px 110px;color:#fff5e9}.account-main h1{font-size:clamp(30px,5vw,44px);line-height:1.12;margin:0 0 8px;letter-spacing:-.025em}.account-main h2{font-size:22px;line-height:1.25;margin:0 0 12px}.account-main p{font-size:16px;line-height:1.5;overflow-wrap:normal;word-break:normal}.account-heading,.account-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:10px 0 20px}.account-heading p{margin:0}.eyebrow{color:#bfb0c9;font-weight:800;font-size:14px!important;margin-bottom:8px!important}.account-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(275px,1fr);gap:20px}.account-primary,.account-side{display:grid;gap:20px;align-content:start}.account-panel{min-width:0;padding:24px;background:#2e1b38;border:1px solid #795986;border-radius:18px}.account-hero{display:flex;align-items:center;gap:18px;min-height:190px;background:linear-gradient(110deg,#3b2249,#2e1b38)}.account-hero>div{min-width:0;flex:1}.account-hero>img{width:115px;height:105px;object-fit:contain}.account-panel .ds-button{min-height:48px;text-align:center;white-space:normal;overflow-wrap:normal;word-break:normal}.account-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.account-pair .account-panel{display:flex;flex-direction:column;gap:10px}.account-pair p{margin:0 0 8px;flex:1}.account-profile-card{text-align:center;padding:0 0 22px;overflow:hidden}.account-profile-card>h2,.account-profile-card>p,.account-profile-card>.ds-button{margin-left:20px;margin-right:20px}.account-banner{display:block;position:relative;width:100%;aspect-ratio:4/1;overflow:hidden;border-radius:12px;background:radial-gradient(circle at 70% 20%,#65477a,transparent 55%),linear-gradient(120deg,#442952,#281a38)}.account-banner img{display:block;width:100%;height:100%;object-fit:cover}.account-profile-card .account-banner{border-radius:0}.account-avatar{display:block;flex:none;width:120px;height:120px;border:3px solid #fff5e9;border-radius:50%;object-fit:cover;background:#352240}.account-profile-card>.account-avatar,.profile-live-preview>.account-avatar{margin:-28px auto 18px;position:relative;width:96px;height:96px}.account-note{font-size:14px!important;line-height:1.5;color:#c4b2ce}.account-balance{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0}.account-balance strong{font-size:28px;color:#79ebcf}.account-welcome{max-width:560px;padding-top:40px}.welcome-panel{text-align:center}.welcome-dreamy{width:100px;height:90px;object-fit:contain}.welcome-panel .ds-button{display:flex;width:100%;margin:18px 0}.profile-editor-layout{display:grid;grid-template-columns:minmax(0,740px) minmax(260px,1fr);gap:24px;align-items:start}.profile-photo-row{display:flex;align-items:center;gap:20px;margin-bottom:28px}.profile-button-row{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 22px}.profile-button-row>.ds-button{flex:1;min-width:0}.profile-button-row .ds-button{font-size:15px}.file-pick{position:relative;cursor:pointer;overflow:hidden}.file-pick input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.file-pick:focus-within{outline:3px solid #79ebcf;outline-offset:3px}.profile-label{display:flex;justify-content:space-between;gap:10px;margin-top:20px;margin-bottom:8px;font-size:16px;font-weight:800}.profile-label span{font-size:14px;font-weight:500;color:#c4b2ce}.profile-editor input:not([type=file]),.profile-editor textarea{display:block;box-sizing:border-box;width:100%;font:inherit;font-size:16px;line-height:1.5;padding:12px;border:1px solid #8d6a9a;border-radius:10px;background:#3a2646;color:#fff5e9}.profile-editor textarea{resize:vertical}.profile-live-preview{text-align:center;position:sticky;top:24px}.profile-live-preview>h2{margin-bottom:20px}.profile-live-preview h3,#profilePreview h3{font-size:23px;overflow-wrap:anywhere}.profile-live-preview p,#profilePreview p{white-space:pre-line;overflow-wrap:anywhere}#profileFields{padding:0;margin:0;border:0;min-width:0}#profileStatus,#accountNotice{min-height:24px;color:#98efda;font-size:15px;line-height:1.5}#photoCrop,#profilePreview,#discardProfile{box-sizing:border-box;width:min(92vw,500px);max-height:90dvh;overflow:auto;border:1px solid #8d6a9a;border-radius:18px;padding:24px;background:#2e1b38;color:#fff5e9;font-family:DreamNunito,system-ui,sans-serif}#photoCrop::backdrop,#profilePreview::backdrop,#discardProfile::backdrop{background:#110b1cd9}#photoCrop h2,#profilePreview h2,#discardProfile h2{font-size:24px;line-height:1.25;margin-top:0}#photoCrop p{font-size:16px}#photoCrop canvas{display:block;max-width:100%;height:auto;border-radius:12px;background:#1b1126}#cropCanvas{width:100%;touch-action:none}#photoCrop.photo-circle #cropCanvas{border-radius:50%}#photoCrop label{display:block;margin:14px 0 5px;font-size:16px}#photoCrop input[type=range]{width:100%;accent-color:#79ebcf}#bannerFrames canvas{width:100%;object-fit:cover}#profilePreview>.account-avatar{margin:-20px auto 14px;position:relative}button:disabled,.file-pick:has(input:disabled){opacity:.55;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #79ebcf;outline-offset:3px}[hidden]{display:none!important}@media(max-width:800px){.account-layout,.profile-editor-layout{grid-template-columns:1fr}.account-side{grid-row:1}.account-profile-card .account-avatar{width:88px;height:88px}.profile-live-preview{position:static}.profile-photo-row{align-items:flex-start}.profile-photo-row .profile-button-row{flex-direction:column}.account-banner{aspect-ratio:3/1}}@media(max-width:520px){.account-main{padding:18px 12px 100px}.account-panel{padding:18px}.account-heading,.account-section-heading{align-items:flex-start;flex-direction:column}.account-section-heading>.ds-button{width:100%}.account-pair{grid-template-columns:1fr}.account-hero>img{width:74px;height:74px}.account-hero h2{font-size:21px}.account-hero .ds-button{width:100%}.profile-photo-row{align-items:center;flex-direction:column}.profile-photo-row>div{width:100%;text-align:center}.profile-photo-row .profile-button-row{flex-direction:row}.profile-button-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.profile-save-row{grid-template-columns:1fr}.profile-button-row>.ds-button{width:100%;min-height:52px}.profile-live-preview{display:none}#profilePreview .account-avatar{width:88px;height:88px}.account-profile-card{padding:0 0 18px}.account-profile-card>.account-banner{border-radius:0}}
/* Long customer-provided names stay on one line; the editor keeps the full value. */
#accountName,#liveName,#dialogName{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#accountBio{white-space:pre-line;overflow-wrap:anywhere}

html[data-ds-page] .account-main .ds-button.ds-primary,html[data-ds-page] dialog .ds-button.ds-primary{background:#83f1cc;color:#102b25;border-color:#92f4d2}
@media(max-width:520px){.profile-banner-actions{grid-template-columns:1fr}}

@media(max-width:520px){.account-hero{flex-direction:column-reverse;align-items:flex-start}.account-hero>div{width:100%}}

.account-credit-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:0 0 20px}.account-credit-track i{display:block;height:9px;border:1px solid #886291;border-radius:4px;background:#634570}.account-credit-track i.on{background:#83f1cc;border-color:#83f1cc}
/* Account entrance: restrained brand treatment for authentication only. */
html[data-ds-page=account-access] body.auth-page{--ds-bg:#15111e;--ds-text:#f5f1f7;--ds-muted:#bdb2c9;--ds-mint:#83f1cc;margin:0;min-height:100dvh;background:radial-gradient(ellipse at 10% 0,#38243f55,transparent 60%),#15111e;color:#f5f1f7;font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html[data-ds-page=account-access] .auth-page :is(h1,h2,p,a,strong,span){font-family:inherit;word-break:normal;overflow-wrap:normal;hyphens:none}
.auth-shell{width:min(1040px,calc(100% - 64px));margin:auto}.auth-header{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:100px;border-bottom:1px solid #4a3a55}.auth-brand{display:flex;align-items:center;gap:12px;color:#f5f1f7;font-size:25px;font-weight:650;letter-spacing:-.7px;text-decoration:none;white-space:nowrap}.auth-orbit{width:42px;height:42px;flex:none}.auth-header-label{font-size:13px;color:#bdb2c9;letter-spacing:.03em}.auth-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,410px);gap:70px;align-items:center;min-height:640px;padding:64px 0 72px}.auth-eyebrow{margin:0 0 22px;color:#83f1cc;font-size:12px;line-height:1.5;letter-spacing:.12em;text-transform:uppercase;font-weight:600}.auth-page .auth-intro h1{font-size:clamp(36px,4.8vw,56px);font-weight:600;line-height:1.08;letter-spacing:-.045em;margin:0 0 24px;text-wrap:initial}.auth-intro h1 span{display:block;white-space:nowrap}.auth-description{max-width:390px;margin:0;color:#bdb2c9;font-size:17px;line-height:1.65}.auth-features{display:grid;gap:22px;list-style:none;margin:38px 0 0;padding:0}.auth-features li{display:flex;align-items:flex-start;gap:14px}.auth-features svg{width:24px;height:24px;flex:none;fill:none;stroke:#b79ac8;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.auth-features strong{display:block;font-size:15px;font-weight:550;line-height:1.5}.auth-features div>span{display:block;color:#a99db6;font-size:14px;margin-top:3px}.auth-card{position:relative;padding:34px 30px;background:#241b2d;border:1px solid #5a4568;border-radius:10px;box-shadow:0 16px 48px #08060e30}.auth-card:before{content:"";position:absolute;left:30px;right:30px;top:-1px;height:2px;background:linear-gradient(90deg,#83f1cc,#83f1cc00)}.auth-card-label{display:flex;align-items:center;gap:9px;color:#baaac7;font-size:12px;font-weight:500;letter-spacing:.05em;text-transform:uppercase}.auth-card-label svg{width:18px;height:18px;fill:none;stroke:#83f1cc;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.auth-page .auth-card h2{font-size:27px;line-height:1.2;font-weight:600;letter-spacing:-.025em;margin:23px 0 10px}.auth-methods{font-size:15px;line-height:1.5;color:#c1b5cd;margin:0 0 26px}.auth-button{display:flex;align-items:center;justify-content:center;width:100%;box-sizing:border-box;min-height:52px;padding:12px 14px;border:1px solid transparent;border-radius:6px;font-size:15px;font-weight:600;line-height:1.35;text-decoration:none;text-align:center;white-space:nowrap}.auth-primary{background:#83f1cc;color:#102b25}.auth-primary:hover{background:#9cf7dc}.auth-secondary{color:#e5dce9;background:#30243b;border-color:#665072}.auth-secondary:hover{background:#3b2e46}.auth-provider{color:#a99db6;font-size:12px;line-height:1.5;margin:13px 0 0;text-align:center}.auth-divider{height:1px;background:#4a3a55;margin:26px 0 22px}.auth-new{color:#bdb2c9;font-size:14px;line-height:1.6;margin:0 0 16px}.auth-footer{display:flex;justify-content:space-between;gap:18px;border-top:1px solid #42324c;padding:22px 0 28px;color:#9f91ad;font-size:12px}.auth-button:focus-visible,.auth-brand:focus-visible{outline:2px solid #83f1cc;outline-offset:4px}
@media(max-width:760px){.auth-shell{width:min(540px,calc(100% - 40px))}.auth-header{min-height:82px}.auth-brand{font-size:23px;gap:9px}.auth-orbit{width:35px;height:35px}.auth-main{grid-template-columns:minmax(0,1fr);gap:30px;min-height:0;padding:36px 0 40px}.auth-eyebrow{margin-bottom:14px;font-size:11px}.auth-page .auth-intro h1{font-size:40px;margin-bottom:18px;line-height:1.12}.auth-description{font-size:16px;max-width:420px}.auth-features{display:none}.auth-card{padding:28px 24px}.auth-card:before{left:24px;right:24px}.auth-footer{flex-direction:column;gap:5px;padding:20px 0 26px}}
@media(max-width:380px){.auth-shell{width:calc(100% - 32px)}.auth-header-label{display:none}.auth-card{padding:25px 20px}.auth-page .auth-intro h1{font-size:36px}.auth-page .auth-card h2{font-size:25px}.auth-methods{font-size:14px}.auth-provider{font-size:12px}.auth-button{font-size:14px}}
/* A consistent, purposeful tile system for the authenticated account hub. */
html[data-ds-page=account] body.account-hub{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html[data-ds-page=account] .account-hub .account-main :is(h1,h2,h3,p,a,button,span,strong){font-family:inherit}
.account-hub .account-main{padding-top:26px;padding-bottom:40px}.account-hub .account-heading{margin-bottom:18px}.account-hub .account-main h1{font-size:clamp(30px,4vw,40px);font-weight:650;letter-spacing:-.035em}.account-hub #accountNotice:empty{display:none}.account-hub .account-layout,.account-hub .account-primary,.account-hub .account-side,.account-hub .account-pair{gap:18px}
.account-hub .account-panel{padding:24px;border-radius:14px;border-color:#71547f;background:radial-gradient(ellipse at 100% 0,#7453891a,transparent 65%),#2d1e37;box-shadow:inset 0 1px 0 #ffffff05;transition:border-color .16s ease}.account-hub .account-panel:focus-within{border-color:#99cabc}.account-hub .account-panel:hover{border-color:#92749f}
.account-tile-heading{display:flex;align-items:center;gap:13px;min-width:0;margin:0 0 20px}.account-tile-icon{display:block;flex:none;width:30px;height:30px;fill:none;stroke:#83f1cc;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;overflow:visible}.account-hub .account-tile-heading h2{margin:0;min-width:0;font-size:21px;font-weight:650;letter-spacing:-.025em;line-height:1.3}.account-hub .account-panel>p{margin:0;color:#d6c8df;font-size:16px;line-height:1.6}.account-hub .account-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:22px}
html[data-ds-page=account] .account-hub .account-panel .ds-button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:52px;margin:0;padding:12px 14px;border-radius:9px;font-size:15px;line-height:1.35;font-weight:650;white-space:normal;overflow-wrap:normal;word-break:normal;background:#3d2b48;color:#f6eef9;border-color:#866894;text-decoration:none}.account-hub .account-panel .ds-button:hover{background:#493553}html[data-ds-page=account] .account-hub .account-panel .ds-button.ds-primary{background:#83f1cc;color:#102b25;border-color:#92f4d2}.account-hub .account-panel .ds-primary:hover{filter:brightness(1.04)}
.account-hub .account-pair .account-panel{display:flex;flex-direction:column;gap:0}.account-hub .account-pair .account-panel>p{flex:1}.account-hub .account-pair .account-actions{padding-top:22px;margin-top:auto}.account-hub .account-profile-card{padding:24px;text-align:left;overflow:hidden}.account-hub .account-profile-card .account-banner{border-radius:8px;aspect-ratio:3/1}.account-hub .account-profile-card>.account-avatar{width:88px;height:88px;margin:-25px auto 18px;border:2px solid #e5d8ec;background:#34223e}.account-hub .account-profile-content{text-align:center;min-width:0}.account-hub .account-profile-content h3{margin:0 0 12px;font-size:23px;font-weight:650;letter-spacing:-.02em}.account-hub .account-profile-content p{margin:0;color:#d6c8df;font-size:16px;line-height:1.6}.account-hub .account-profile-content .account-note{margin-top:16px;color:#bba8c7;font-size:13px!important}.account-hub .account-note{font-size:14px!important;line-height:1.6}.account-hub .account-balance{margin:18px 0 12px;gap:12px}.account-hub .account-balance span{font-size:16px}.account-hub .account-balance strong{font-size:27px;font-weight:650;line-height:1}.account-hub .account-credit-track{margin-bottom:22px}.account-hub .account-credit-track i{height:8px}.account-hub .account-credit-track:last-of-type{margin-bottom:18px}
@media(max-width:800px){.account-hub .account-layout{grid-template-columns:minmax(0,1fr)}.account-hub .account-side{grid-row:1}.account-hub .account-profile-card .account-banner{aspect-ratio:4/1}}
@media(max-width:520px){.account-hub .account-main{padding:20px 12px 26px}.account-hub .account-panel,.account-hub .account-profile-card{padding:20px}.account-hub .account-tile-heading{gap:12px;margin-bottom:18px}.account-hub .account-tile-heading h2{font-size:20px}.account-hub .account-tile-icon{width:28px;height:28px}.account-hub .account-panel .account-actions{margin-top:20px}.account-hub .account-pair .account-actions{margin-top:auto;padding-top:20px}.account-hub .account-panel .ds-button{min-height:52px}.account-hub .account-profile-content h3{font-size:22px}}
@media(prefers-reduced-motion:reduce){.account-hub .account-panel{transition:none}}
/* Quiet themed collages sit behind the unchanged account controls. */
.account-hub .account-panel{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(120deg,var(--tile-tone,#34283e),var(--tile-base,#2b2138));border-color:var(--tile-line,#71547f)}
.account-hub .account-panel>.account-tile-collage{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;opacity:var(--collage-opacity,.22);pointer-events:none;user-select:none;mask-image:linear-gradient(100deg,#0002,#000b 46%,#000 80%)}
.account-hub .account-panel::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(100deg,#130f2080,transparent 72%)}
.account-hub .account-panel>:not(.account-tile-collage){position:relative;z-index:1}
.account-hub .account-tile-create{--tile-tone:#1e3842;--tile-base:#202837;--tile-line:#3f9e95;--tile-accent:#77e0d1;--collage-opacity:.26}
.account-hub .account-tile-artwork{--tile-tone:#222e58;--tile-base:#22243c;--tile-line:#537fbb;--tile-accent:#91bbff;--collage-opacity:.25}
.account-hub .account-tile-contest{--tile-tone:#4a2a26;--tile-base:#302234;--tile-line:#b07847;--tile-accent:#ffc087;--collage-opacity:.23}
.account-hub .account-tile-shares{--tile-tone:#203836;--tile-base:#242836;--tile-line:#458e66;--tile-accent:#88e5ac;--collage-opacity:.24}
.account-hub .account-tile-credits{--tile-tone:#473728;--tile-base:#302830;--tile-line:#9b853e;--tile-accent:#f5d76f;--collage-opacity:.20}
.account-hub .account-tile-profile{--tile-tone:#3c2350;--tile-base:#2e203c;--tile-line:#8c69ad;--tile-accent:#d0aff5;--collage-opacity:.15}
.account-hub .account-tile-profile>.account-tile-collage{object-position:65% center}
@media(prefers-contrast:more){.account-hub .account-panel>.account-tile-collage{opacity:.08}.account-hub .account-panel::after{background:#160f2077}}

.account-hub .account-tile-icon{stroke:var(--tile-accent,#83f1cc)}
.account-hub .account-tile-credits :is(.account-balance strong,.ds-credit-renewal){color:var(--tile-accent)!important}
.account-hub .account-tile-credits .account-credit-track i.on{background:var(--tile-accent);box-shadow:0 0 8px #f5d76f18}
.account-hub .account-panel:hover{border-color:var(--tile-accent,#92749f)}
.account-hub .account-tile-credits .account-credit-track i{background:#665534;border-color:#8f7c43}
.account-hub .account-tile-credits .account-credit-track i.on{background:var(--tile-accent);border-color:var(--tile-accent)}

.profile-wall-choice{display:flex;align-items:center;gap:10px;margin:16px 0;cursor:pointer}.profile-editor .profile-wall-choice input[type=checkbox]{width:20px;height:20px;flex:none;margin:0;padding:0;accent-color:#79ebcf}

.auth-picture img{width:100%;height:auto;display:block;max-height:350px;object-fit:contain}
.auth-card #authCardTitle{font-size:2rem;margin:0 0 .5rem}
@media(max-width:760px){
  .auth-main:has(.auth-picture){gap:12px;padding:12px 0}
  .auth-picture img{max-height:clamp(96px,22dvh,180px)}
}
