/* Profile studio: one destination, three sections, a reachable save action. */
.profile-editor-shell{max-width:850px;margin:20px auto}.profile-editor-intro{color:#aec1ce}
.profile-studio-form{gap:12px}.profile-settings-group{border:1px solid #344b59;border-radius:14px;background:#11212b;padding:0 18px;margin:12px 0;min-width:0}.profile-settings-group>summary{cursor:pointer;min-height:68px;align-content:center;color:#eddbb9;font-size:17px;font-weight:600;padding:16px 0;overflow-wrap:anywhere}.profile-settings-group>summary small{display:block;color:#9fb5c3;font-size:12px;font-weight:400;margin:5px 0 0 16px}.profile-settings-group[open]{padding-bottom:18px}.profile-settings-group>label{margin:14px 0;display:grid;gap:8px}.profile-settings-group .profile-photo-editor{margin:22px 0}.profile-settings-group .membership-customize{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.profile-studio-form input,.profile-studio-form select,.profile-studio-form textarea{max-width:100%;min-width:0}.profile-studio-form select{width:100%;text-overflow:ellipsis}.profile-settings-group .character-studio{padding:14px;margin:15px 0}.character-studio>summary,.profile-extra-styles>summary{min-height:44px;align-content:center;cursor:pointer;color:#d9c18b}.profile-extra-styles{margin-top:10px}.profile-save-bar{position:sticky;bottom:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;background:#172832;border:1px solid #54616a;border-radius:12px;box-shadow:0 -8px 20px #0b141d55}.profile-save-bar>div{min-width:0}.profile-save-bar p{margin:0;color:#bcd5ce;font-size:13px;line-height:1.45}.profile-save-bar p.error{color:#f0b5a6}.profile-save-bar>button{min-width:130px;min-height:46px}.profile-save-bar [data-c-profile-reload]{min-height:44px;margin-top:6px}.profile-save-bar [hidden]{display:none!important}.profile-studio-form>.community-check{margin:10px 0}.profile-style-card.style-coastal-cartographer{background:linear-gradient(140deg,#173b45,#132635)}.profile-style-card.style-copper-archivist{background:linear-gradient(140deg,#4a2f24,#22242a)}
/* Free themes and collection-only themes are server-validated. Owner signature remains separate. */
.theme-pelagic .membership-hero:not(.owner-signature){background:radial-gradient(ellipse at 95% 0,#36909b44,transparent 65%),linear-gradient(125deg,#113746,#132532);border-color:#619b9e}.theme-copper .membership-hero:not(.owner-signature){background:linear-gradient(125deg,#483024,#20202a);border-color:#b98765}
.theme-boundary-bronze .membership-hero:not(.owner-signature){background:repeating-linear-gradient(45deg,transparent,transparent 30px,#b79a5c12 30px,#b79a5c12 31px),linear-gradient(130deg,#3a3021,#18212a);border-color:#b89d63}
.theme-illuminated .membership-hero:not(.owner-signature){background:radial-gradient(ellipse at 0 0,#a4793544,transparent 70%),#24231d;border-color:#d7bd75;box-shadow:inset 0 0 0 5px #171c1a,inset 0 0 0 6px #927a43}
.theme-astral-atlas .membership-hero:not(.owner-signature){background:radial-gradient(ellipse at 85% 0,#50639d55,transparent 60%),linear-gradient(150deg,#1b2a42,#152027);border-color:#879cce}
.theme-forum-marble .membership-hero:not(.owner-signature){background:repeating-linear-gradient(100deg,transparent,transparent 42px,#bdccc31a 43px,#bdccc31a 44px),linear-gradient(130deg,#34403b,#17232c);border-color:#a4c0ae}
.theme-edition-noir .membership-hero:not(.owner-signature){background:linear-gradient(145deg,#302b23,#111820);border-color:#d6b87a;box-shadow:inset 0 0 0 6px #10151b,inset 0 0 0 7px #8e764e}
.theme-museum-night .membership-hero:not(.owner-signature){background:radial-gradient(ellipse at 50% -20%,#ac875055,transparent 65%),linear-gradient(160deg,#152b34,#121c26);border-color:#9db8b8;box-shadow:inset 0 1px 0 #e1c68d}
.hardware-goal{display:flex;align-items:center;gap:18px;justify-content:space-between;margin:20px 0;padding:18px;background:#1b2b30;border:1px solid #4b6e69;border-radius:13px}.hardware-goal>div{min-width:0;flex:1}.hardware-goal h3{margin:7px 0;font-size:19px}.hardware-goal p{margin:6px 0;font-size:13px;line-height:1.5}.hardware-goal small{font-size:12px;color:#b1c4cd}.hardware-goal progress{width:100%;height:8px;display:block;margin:12px 0 9px;accent-color:#cbb479}.hardware-goal button{min-height:44px;flex-shrink:0}.vault-goal-button{color:#c8d9d7!important;background:#1b3034!important;border-color:#526e6a!important}.vault-goal-button[aria-pressed=true]{border-color:#c5ba89!important}.collection-reward{padding-top:10px;border-top:1px solid #3a4b57;color:#b6c6d0}.collection-reward strong{color:#edcf8e}.vault-set-list button{min-height:44px}.layout-cabinet{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}.layout-cabinet article{flex-direction:column;text-align:center;padding:16px 12px;background:linear-gradient(145deg,#27312f,#13202a);border:1px solid #47594f;border-radius:12px}.layout-cabinet .hardware-emblem{width:64px;height:78px}.layout-folio{grid-template-columns:1fr;counter-reset:hardware}.layout-folio article{border-bottom:1px solid #3c4b56;padding:12px;counter-increment:hardware}.layout-folio article:before{content:counter(hardware,decimal-leading-zero);font-family:Georgia,serif;color:#6e8b9b;font-size:26px;margin-right:8px}.layout-folio .hardware-emblem{border-radius:7px}
@media(max-width:600px){.profile-editor-shell{margin-top:14px}.profile-settings-group{padding:0 13px}.profile-settings-group[open]{padding-bottom:13px}.profile-settings-group>summary{font-size:16px;min-height:60px}.profile-settings-group .membership-customize{grid-template-columns:1fr}.profile-studio-form .profile-style-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-studio-form .profile-style-card{padding:12px 8px;min-width:0}.profile-studio-form .profile-style-card strong{font-size:12px}.profile-studio-form .profile-style-card small{display:none}.profile-save-bar{gap:10px;padding:12px;bottom:0}.profile-save-bar>button{min-width:106px;padding:10px}.profile-save-bar p{font-size:12px}.profile-settings-group .profile-photo-editor{display:grid;grid-template-columns:1fr}.profile-studio-form input,.profile-studio-form textarea,.profile-studio-form select{font-size:16px}.hardware-goal{flex-wrap:wrap;padding:14px}.hardware-goal>div{flex-basis:100%}.layout-cabinet{grid-template-columns:repeat(2,minmax(0,1fr))}.layout-cabinet article{padding:12px 8px}.layout-cabinet strong{font-size:12px}}
#community-content .profile-save-bar>button{white-space:nowrap;padding:12px 15px!important;font-size:14px!important;min-height:46px}

.theme-field-notes .membership-hero:not(.owner-signature){background:repeating-linear-gradient(0deg,transparent 0,transparent 27px,#adc9b010 28px),radial-gradient(ellipse at 95% 0,#789f6955,transparent 55%),linear-gradient(150deg,#18302d,#17202a);border-color:#a3ba98;box-shadow:inset 0 1px 0 #e5cf92}

/* A saved profile should leave the editor clear; keep the action only while needed. */
.profile-save-bar[hidden]{display:none!important}
