/* The gate page (gate.html): sign-in before the game. Colours as style.css. */
/* Pixelify Sans with clearer digits, served from here (public/fonts/, made by tools/fonts/digits.py) */
@font-face { font-family: 'Pixelify Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/pixelify-400.woff2) format('woff2'); }
@font-face { font-family: 'Pixelify Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/pixelify-500.woff2) format('woff2'); }
@font-face { font-family: 'Pixelify Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/pixelify-600.woff2) format('woff2'); }
@font-face { font-family: 'Pixelify Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/pixelify-700.woff2) format('woff2'); }
:root { --bg: #120f0d; --panel: #1d1814; --line: #3a2f26; --fg: #e6dccb; --muted: #9a8c78; --torch: #f0a24a; --bad: #e07a5f;
  --display: 'Pixelify Sans', system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--fg); font-family: var(--mono); font-size: 15px; line-height: 1.45; }
.gate { max-width: 380px; margin: 0 auto; padding: 12vh 16px 32px; }
h1 { font-family: var(--display); font-weight: 700; font-size: 2.6rem; color: var(--torch); margin: 0 0 18px; letter-spacing: .02em; }
section[hidden] { display: none; }
p { margin: 0 0 12px; }
form { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; padding: 12px; background: var(--panel); border: 1px solid var(--line); }
label { font-size: .8rem; color: var(--muted); }
input { font: inherit; color: var(--fg); background: #0c0a09; border: 1px solid var(--line); padding: 9px 10px; min-height: 44px; }
input:focus { outline: 2px solid var(--torch); outline-offset: 0; }
button { font: inherit; cursor: pointer; min-height: 44px; }
.act { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: #1a1209; background: var(--torch); border: 0; padding: 8px 14px; margin-top: 4px; }
.act.ghost { color: var(--fg); background: transparent; border: 1px solid var(--line); }
.act:disabled { opacity: .5; cursor: default; }
.link { display: block; background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 6px 0; }
.row .link { display: inline; }
.err { color: var(--bad); min-height: 1.2em; }
.ver { margin-top: 40px; font-size: .72rem; color: var(--muted); }
.tag { font-family: var(--display); font-size: 2rem; color: var(--torch); user-select: all; }
.row { display: flex; gap: 14px; align-items: center; }
