/*
 * Shared skin for the portal shell. Served from the public mount so the
 * pre-auth page can style itself without a session.
 */
:root {
  color-scheme: light dark;
  --bg: #14161a;
  --fg: #e9edf2;
  --muted: #98a2b3;
  --accent: #4f8cff;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}

.gate, .deck {
  width: min(100%, 26rem);
  text-align: center;
}

h1 {
  margin: 0 0 0.25rem;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.lede, .note { color: var(--muted); }
.note { min-height: 1.5rem; font-size: 0.9rem; }

.primary {
  margin-top: 1.25rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.primary:disabled { opacity: 0.5; cursor: default; }
