/* Shared by the lobby (/) and the room-not-found page. The room page has its own (style.css). */
:root {
  --bg: #0f1115;
  --panel: #181b22;
  --line: #262a33;
  --text: #e7e9ee;
  --muted: #8b91a0;
  --accent: #4f8cff;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, sans-serif;
  display: grid;
  place-items: center;
  padding: 16px;
}
main { width: 100%; max-width: 440px; }
h1 { font-size: 28px; margin: 0 0 4px; }
.lede { color: var(--muted); margin: 0 0 24px; }
.card {
  display: block; padding: 16px; margin-bottom: 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  color: inherit; text-decoration: none;
}
a.card:hover { border-color: var(--accent); }
.card h2 { font-size: 18px; margin: 0 0 2px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.actions { display: flex; flex-direction: column; gap: 10px; }
.button {
  display: block; width: 100%; text-align: center; font: inherit; cursor: pointer;
  padding: 12px 16px; border-radius: 999px; text-decoration: none;
  color: var(--text); background: var(--panel); border: 1px solid var(--line);
}
.button:hover:not(:disabled) { border-color: var(--accent); }
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.button:disabled { opacity: .6; cursor: default; }
.small { font-size: 14px; color: var(--muted); }
.small a { color: var(--muted); }
.error { color: #ff8a8d; min-height: 1.5em; font-size: 14px; }
[hidden] { display: none !important; }
