:root {
  color-scheme: dark;
  font-family: "Noto Sans SC", "Microsoft YaHei UI", system-ui, sans-serif;
  color: #f2f6fc;
  background: #0c1523;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at top, #253b53, #0c1523 68%); }
header { padding: 24px max(22px, calc((100% - 950px) / 2)); }
header a { color: inherit; font-weight: 700; text-decoration: none; }
main {
  width: min(460px, calc(100% - 32px));
  margin: clamp(20px, 8vw, 75px) auto;
  padding: clamp(24px, 6vw, 36px);
  border: 1px solid #46566d;
  border-radius: 24px;
  background: #142134;
  box-shadow: 0 24px 65px #050a1266;
}
h1 { margin: 0 0 22px; font-size: 1.85rem; }
nav { display: flex; flex-wrap: wrap; gap: 6px; background: #0d192a; border-radius: 14px; padding: 5px; }
nav button { flex: 1; white-space: nowrap; }
button { min-height: 42px; border: 0; border-radius: 10px; background: transparent; color: inherit; cursor: pointer; font: inherit; padding: 8px 14px; }
button[aria-pressed="true"] { background: #2c4761; }
button:disabled { opacity: .6; cursor: wait; }
form { display: grid; gap: 10px; margin-top: 22px; }
input { min-width: 0; width: 100%; padding: 11px 12px; border: 1px solid #536982; border-radius: 10px; background: #0b1726; color: inherit; font: inherit; }
input + label { margin-top: 5px; }
small, #status { color: #bdcee1; }
.primary { background: #b8e6f3; color: #0c2939; font-weight: 700; margin-top: 6px; }
:focus-visible { outline: 2px solid #9fe2fa; outline-offset: 2px; }
#status { margin: 15px 0 0; min-height: 1.4em; }
#account-email { overflow-wrap: anywhere; }
