:root {
  color-scheme: dark;
  font-family: "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  color: #f1f4ef;
  background: #11181f;
  --accent: #e3f976;
}

* { box-sizing: border-box; }
body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 24px;
  background: radial-gradient(ellipse at 25% 0%, #344655, transparent 65%);
}
.login-card {
  width: min(100%, 420px);
  border: 1px solid #556777;
  border-top-color: var(--accent);
  border-radius: 16px;
  padding: clamp(22px, 7vw, 38px);
  background: #1a232c;
  box-shadow: 0 20px 75px #0006;
}
.brand { margin: 0 0 10px; font-size: 13px; font-weight: 700; }
.brand span { margin-inline-start: 6px; color: var(--accent); }
h1 { margin: 0 0 24px; font-size: 32px; line-height: 1.2; letter-spacing: -.04em; }
form { display: grid; gap: 8px; }
label { font-size: 13px; color: #dce5ec; }
input, button { min-height: 44px; padding: 10px 12px; border-radius: 7px; font: inherit; }
input { width: 100%; margin-bottom: 8px; border: 1px solid #5b6c7c; background: #131b22; color: inherit; }
button { margin-top: 7px; border: 1px solid transparent; background: var(--accent); color: #212917; font-weight: 750; cursor: pointer; }
button:hover { background: #efffa6; }
input:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.login-error { margin: 0; color: #ffc0bc; font-size: 13px; }
