/* Nightside, Claudeck's default theme, so the first screen she sees is the same room. */
:root {
  --bg: #131110; --stage: #1A1715; --raised: #262220; --line: #46403A; --text: #F2EDE5;
  --muted: #B2A99D; --dim: #8A8178; --accent: #E0AC5B; --danger: #E58B72;
  --ui: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  display: flex; align-items: center; justify-content: center; padding: 16px;
  background: var(--bg); color: var(--text); font-family: var(--ui); font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
.box {
  width: 100%; max-width: 360px; padding: 30px 28px 22px;
  background: var(--stage); border: 1px solid var(--line); border-radius: 14px;
}
h1 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.lede { margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.5; }
label { display: block; margin-bottom: 7px; font-size: 12px; color: var(--muted); }
input {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px;
  background: var(--bg); color: var(--text); font: inherit; font-size: 15px; outline: none;
}
input:focus { border-color: var(--accent); }
button#go {
  width: 100%; margin-top: 14px; padding: 11px; border: 0; border-radius: 9px;
  background: var(--accent); color: var(--bg); font: inherit; font-weight: 600; cursor: pointer;
}
button#go:disabled { opacity: .6; cursor: default; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.msg { min-height: 20px; margin: 12px 0 0; font-size: 12.5px; color: var(--danger); line-height: 1.5; }
.lang {
  display: block; margin: 8px auto 0; padding: 6px 10px; border: 0; border-radius: 7px;
  background: transparent; color: var(--dim); font: inherit; font-size: 12px; cursor: pointer;
}
.lang:hover { color: var(--text); background: var(--raised); }
.dl {
  display: block; margin: 18px 0 0; padding: 11px; border: 1px solid var(--line); border-radius: 9px;
  color: var(--text); text-align: center; text-decoration: none; font-size: 13px;
}
.dl:hover { border-color: var(--accent); }
.dl[hidden], .dlnote[hidden] { display: none; }
.dlnote { margin: 8px 0 0; color: var(--dim); font-size: 12px; line-height: 1.5; text-align: center; }
