.member-banner {display:block;width:100%;max-height:16rem;aspect-ratio:4/1;object-fit:cover;border-radius:.5rem}
.member-avatar {display:block;width:6rem;height:6rem;object-fit:cover;border:2px solid #b99165;border-radius:50%}
.member-banner + .member-avatar {position:relative;margin:-2.5rem 0 .75rem 1rem}
.collection form label,#profile label,#art-editor label {display:grid;gap:.3rem;margin:.6rem 0}
.collection article {padding:1rem 0;border-top:1px solid #705344}
.collection article video,.collection article img {display:block;width:auto;max-height:55vh;margin:.75rem auto;object-fit:contain}
#accounts {list-style:none;padding:0}
#accounts li {display:flex;flex-wrap:wrap;align-items:center;gap:1rem;padding:.9rem 0;border-bottom:1px solid #705344}
#accounts strong {flex:1;min-width:9rem}
#accounts label {display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;min-height:44px}
#accounts [role=switch] {appearance:none;width:2.6rem;height:1.5rem;margin:0;border:1px solid #ac9584;border-radius:1rem;background:#392f29;cursor:pointer}
#accounts [role=switch]::before {content:"";display:block;width:1rem;height:1rem;margin:.17rem;border-radius:50%;background:#f7e9dd}
#accounts [role=switch]:checked {background:#a2262e}
#accounts [role=switch]:checked::before {transform:translateX(1.08rem)}
.account-page {min-height:100vh;background:#000000;color:#eee7df}
.account-page [hidden] {display:none!important}
.account-nav {height:72px;padding:0 max(5vw,calc((100vw - 1120px)/2));border-bottom:1px solid #423336;background:#000000;display:flex;align-items:center;justify-content:space-between}
.account-nav>a:last-child,.identity-details>a,.account-links a {font-size:.94rem;color:#e4c7ac}
.account-brand {display:flex;align-items:center;gap:10px;font: bold 1.45rem Cinzel,Georgia,serif;letter-spacing:.08em}
.account-brand img {width:42px;height:48px;object-fit:contain}
.account-shell {width:min(92%,1000px);margin:clamp(24px,5vw,72px) auto 60px}
.account-shell h1,.account-shell h2 {font-family:Cinzel,Georgia,serif;line-height:1.12;margin:0}
.account-shell h1 {font-size:clamp(1.9rem,4vw,3rem);overflow-wrap:anywhere}
.account-shell h2 {font-size:1.4rem;margin-bottom:1.25rem}
#status {color:#f4d5af}#status:empty {display:none}
.welcome-panel {display:grid;grid-template-columns:1.12fr 1fr;border:1px solid #52403e;border-radius:12px;overflow:hidden;box-shadow:0 28px 75px #0006;background:#000000}
.welcome-scene {min-height:420px;background:linear-gradient(0deg,#160d11a8,transparent 55%),url('/assets/vault-room.webp') center/cover}
.welcome-actions {display:flex;align-items:stretch;justify-content:center;flex-direction:column;padding:clamp(28px,4vw,64px)}
.welcome-crest {width:66px;height:78px;object-fit:contain;margin-bottom:1.4rem;filter:drop-shadow(0 0 15px #cb203155)}
.welcome-actions p,.settings-card p,.settings-card small {color:#cbbdb7}
.welcome-actions p {margin:.85rem 0 1.65rem}
.primary-action,.secondary-action {display:inline-flex;justify-content:center;align-items:center;min-height:45px;padding:.6rem 1.2rem;border-radius:5px;font:600 1rem/1.3 system-ui;cursor:pointer}
.primary-action {color:#fff5eb;border:1px solid #c85468;background:#8e2639}.primary-action:hover {background:#a63347}
.secondary-action {margin-top:.7rem;color:#f4e1cb;border:1px solid #705653;background:#291f21}.secondary-action:hover {border-color:#ccac92}
.identity-card,.settings-card {border:1px solid #4a383a;border-radius:9px;background:#000000;overflow:hidden}
.identity-art {position:relative;height:clamp(130px,19vw,205px);background:linear-gradient(to top,#130a1299,transparent),url('/assets/vault-room-small.webp') center 46%/cover}
.identity-art .member-banner {width:100%;height:100%;max-height:none;border-radius:0}
.identity-art .member-avatar,.identity-art:not(:has(.member-avatar))::after {position:absolute;bottom:-28px;left:24px;width:72px;height:72px;border:3px solid #2a2023;border-radius:50%;margin:0;background:#000000}
.identity-art:not(:has(.member-avatar))::after {content:'';background:#000000 url('/assets/dragon-crest.webp') center/contain no-repeat}
.identity-details {padding:42px 24px 24px;display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:12px}
#membership {color:#dac3a9;font-size:.9rem}
.account-links {display:flex;gap:24px;padding:18px 0}
.settings-grid {display:grid;grid-template-columns:1.05fr 1fr;gap:16px}
.settings-card {padding:clamp(18px,3vw,30px)}
.settings-card input,.settings-card select {box-sizing:border-box;width:100%;min-width:0;padding:.65rem;background:#000000;color:#f3e7df;border:1px solid #6c585b;border-radius:4px;font:inherit}
.settings-card label {font-weight:600}
.settings-card .primary-action {margin-top:.8rem}
.settings-card input::file-selector-button,#logout button {padding:.4rem .8rem;border:1px solid #80666a;border-radius:4px;background:#30252a;color:#f5ded3;cursor:pointer}
#logout {margin-top:20px}
#member-posts article {padding:1rem 0;border-bottom:1px solid #483438}
#member-posts img,#member-posts video {display:block;max-width:100%;max-height:60vh;margin:1rem 0}
.account-shell>.identity-card+h2 {margin-top:2rem}
@media(max-width:650px){.welcome-panel,.settings-grid{grid-template-columns:1fr}.welcome-scene{min-height:150px;background-position:center 41%}.welcome-actions{padding:24px}.welcome-crest{display:none}.account-nav{height:60px}.account-shell{margin-top:20px}.identity-details{align-items:start}.settings-card input[type=file]{font-size:.85rem}}
