.account-page { min-height: 100vh; display: flex; flex-direction: column; }
.account-header { position: relative; }
.account-main { flex: 1; display: grid; place-items: center; padding: 126px 22px 76px; }
.account-card { width: min(100%, 520px); padding: clamp(24px, 6vw, 48px); border: 1px solid var(--line); background: radial-gradient(ellipse at 2% 0, rgba(215,180,61,.08), transparent 50%), var(--panel); box-shadow: 0 24px 80px rgba(0,0,0,.24); }
.account-card > .section-kicker { font-size: 9px; }
.account-card h1 { margin: 18px 0 10px; font: 800 clamp(38px, 8vw, 54px)/.95 var(--heading); }
.account-intro { margin: 0 0 26px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 23px; padding: 5px; background: rgba(0,0,0,.22); }
.account-tab { min-height: 42px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.account-tab.is-active { border-color: rgba(215,180,61,.35); background: rgba(215,180,61,.09); color: var(--gold-bright); }
.account-form { display: grid; gap: 9px; }
.account-form label { margin-top: 6px; color: #d3d0ca; font-size: 10px; font-weight: 700; }
.account-form input:not([type="file"]) { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 2px; outline: none; background: #121319; color: var(--text); font: 12px var(--body); }
.account-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(215,180,61,.12); }
.account-form input[type="file"] { width: 100%; padding: 11px; border: 1px dashed rgba(255,255,255,.2); background: rgba(0,0,0,.13); color: var(--muted); font-size: 10px; }
.field-note { margin-left: 5px; color: #898890; font-size: 9px; font-weight: 500; }
.account-submit { width: 100%; margin-top: 14px; }
.account-status { min-height: 20px; margin: 16px 0 0; color: var(--gold-bright); font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
.account-status.is-error { color: #ff9a8f; }
.account-footnote { margin: 13px 0 0; color: #77777e; font-size: 9px; line-height: 1.7; }
.profile-panel { padding-top: 4px; }
.profile-heading { display: flex; align-items: center; gap: 17px; margin: 4px 0 25px; }
.avatar-preview { position: relative; display: grid; width: 78px; height: 78px; flex: 0 0 78px; place-items: center; overflow: hidden; border: 1px solid rgba(215,180,61,.5); border-radius: 50%; background: var(--gold); color: #111318; font: 800 34px var(--heading); }
.avatar-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-identity .section-kicker { margin: 0 0 7px; }
.profile-email { margin: 0; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.account-sign-out { min-height: 42px; margin-top: 12px; font-size: 9px; }
.account-footer { grid-template-columns: 1fr auto; }
.account-footer > p:not(.legal-note) { text-align: right; }
.account-footer .legal-note { grid-column: 1/-1; }
.account-form button:disabled, .account-sign-out:disabled { opacity: .55; cursor: wait; }
[hidden] { display: none !important; }
@media (max-width: 650px) {
  .account-main { padding: 96px 16px 54px; }
  .account-footer { grid-template-columns: 1fr auto; }
  .account-footer > p:not(.legal-note) { grid-row: 2; grid-column: 1/-1; text-align: left; }
  .account-footer .legal-note { grid-row: 3; }
}
