/* The sign-in pages: the sizer's look, nothing of its content. */
@font-face { font-family: "Betsizer Sans"; src: url("fonts/betsizer-sans.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }
@font-face { font-family: "Betsizer Mono"; src: url("fonts/betsizer-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
:root {
  --bg: #eef1f4; --paper: #fbfcfd; --ink: #0d1217; --ink-2: #39424d; --muted: #5d6874; --line: #cfd6dd;
  --field: #ffffff; --field-line: #9aa6b2; --accent: #2f7a1f; --accent-ink: #ffffff; --neg: #b4321f;
  --w0: #7d8896; --w1: #2463d8; --w2: #c27a0e; --w3: #c0359a;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d10; --paper: #11161b; --ink: #e8edf1; --ink-2: #c3cbd3; --muted: #8e99a5; --line: #29323b;
    --field: #0b0f13; --field-line: #4b5864; --accent: #a6e35a; --accent-ink: #0a0d10; --neg: #ff7a63;
    --w0: #7f8b99; --w1: #5c95ff; --w2: #e9a23b; --w3: #e766c3;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.5 "Betsizer Sans", system-ui, sans-serif; }
.gate { max-width: 460px; margin: 0; padding: 12vh max(16px, env(safe-area-inset-right)) 48px max(24px, env(safe-area-inset-left)); display: flex; flex-direction: column; gap: 16px; }
.gate::before { content: ""; display: block; height: 10px; width: 100%; max-width: 320px;
  background: linear-gradient(90deg, var(--w0) 0 76%, var(--w1) 76% 88%, var(--w2) 88% 95%, var(--w3) 95%); }
.kicker { margin: 0; font-family: "Betsizer Mono", ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0; font-size: 2.1rem; font-weight: 650; line-height: 1.05; letter-spacing: -0.025em; }
.lede, .foot, .msg { margin: 0; }
.lede { color: var(--ink-2); }
.stack { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
label { font-family: "Betsizer Mono", ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
input { font: inherit; color: inherit; width: 100%; max-width: 22em; background: var(--field); border: 1px solid var(--field-line); border-radius: 2px; padding: 9px 11px; }
input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--ink); }
.btn { font: inherit; font-family: "Betsizer Mono", ui-monospace, monospace; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 9px 14px; border-radius: 2px; cursor: pointer; border: 1px solid var(--accent); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn:disabled { opacity: 0.6; cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.msg { min-height: 1.5em; color: var(--ink-2); }
.msg.err { color: var(--neg); }
.foot { color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line); padding-top: 14px; }
a { color: inherit; }
