.account-page { max-width: 30rem; margin-block: clamp(2.5rem, 8vw, 5.5rem); }
.account-page h1 { font-family: "Songti SC", STSong, SimSun, serif; font-size: clamp(2.1rem, 7vw, 3.5rem); line-height: 1.18; }
.account-page section > p { margin-top: .75rem; line-height: 1.6; }
.account-page form { margin-top: 1.55rem; }
.account-page label { display: block; margin: .85rem 0 .35rem; font-size: .95rem; font-weight: 650; }
.account-page input:not([type=checkbox]) {
  width: 100%; min-width: 0; min-height: 2.9rem;
  border: 1px solid #b9b3a9; background: #fffdfa; padding: .55rem .7rem; font: inherit; color: inherit;
}
.account-page input:focus-visible, .account-page button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.account-page button {
  min-height: 2.9rem; padding: .6rem .95rem; background: #121212; color: #fff8f3;
  border: 1px solid #121212; font: inherit; font-weight: 650; cursor: pointer;
}
.account-page button.secondary { background: transparent; color: #121212; border-color: #b9b3a9; white-space: nowrap; }
.account-page button:disabled { opacity: .55; cursor: default; }
.account-page .toggle { display: inline-block; margin-top: 1.05rem; color: var(--accent); text-decoration: underline; text-underline-offset: .25em; }
.account-page .code-row { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: .55rem; }
.account-page .notice, .account-page .error { font-size: .92rem; line-height: 1.5; margin: .6rem 0; }
.account-page .error { color: var(--accent); white-space: pre-line; }
.account-page #legacy-option { font-weight: 400; font-size: .875rem; color: var(--muted); }
.account-page #captcha { margin-block: 1rem; }
.account-page [hidden] { display: none !important; }
.account-actions { display: flex; flex-wrap: wrap; align-items: center; margin-block: 1.55rem; gap: .85rem; }
.account-actions a { text-decoration: underline; text-underline-offset: .25em; }
