/* Cahuenga: dusk over the pass. One dark theme, readable at arm's length on a phone. */
:root {
  --bg: #12151c;
  --panel: #1b202b;
  --panel-2: #232a38;
  --line: #2f3848;
  --text: #edf0f5;
  --muted: #9aa6b8;
  --accent: #f2a03d;      /* sodium streetlight */
  --accent-ink: #1c1203;
  --good: #58c99a;
  --bad: #ef7d6b;
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100dvh;
}
main { max-width: 34rem; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
h1 { font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0; font-weight: 700; }
h2 { font-size: 1.6rem; margin: .15rem 0 0; font-weight: 650; }
p { margin: .5rem 0; }
a { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
[hidden] { display: none !important; }

button, .button {
  font: inherit; font-weight: 650; border: 0; border-radius: 999px; padding: .7rem 1.2rem;
  background: var(--accent); color: var(--accent-ink); cursor: pointer; text-decoration: none; display: inline-block;
}
button.quiet, .button.quiet { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); }
button:disabled { opacity: .5; cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

label { display: block; font-weight: 600; margin: 1rem 0 .35rem; }
input[type=password], input[type=text], input[type=number], textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: .75rem .85rem;
}
.notice { border-radius: 10px; padding: .7rem .85rem; margin-top: 1rem; background: var(--panel); border: 1px solid var(--line); }
.notice.bad { border-color: var(--bad); color: var(--bad); }

.gate { max-width: 24rem; margin: 12vh auto 0; padding: 0 1rem; }
.gate form { margin-top: 1.5rem; }
.gate button { width: 100%; margin-top: 1.25rem; }
