/* ============================================================
   The cinema-hall scene — FEAT-143. ONE source for three pages (decision 13, Jacob 2026-11-13):
   the mockup imports it; the Angular build copies it unchanged to /splash.css (angular.json → assets), where the
   app's index.html (the loading splash) and the server's own login.html and paused.html link it. Edit it here only.
   The art sits beside it in mockup-app/public/brand/splash/ → /brand/splash/.

   Class names: the mockup's React pages and the server's hand-written pages name a few things differently, so the
   selectors below list both (mockup · server): .ef-hint · .auth-foot, .code-cross · .way-link.
   ============================================================ */

/* ---------- the scene + the loading splash ----------
   Art from Jacob's splash pack, downscaled (originals in brand/splash/): the wordmark PNG at ~3x its shown size, the
   seats flattened to JPEG — their top fade is the mask below, so the JPEG needs no alpha. Fixed blue: the scene
   shows before the app knows the viewer's world or theme. */
.splash { position: fixed; inset: 0; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse at 50% 34%, #102d61 0%, #06132f 45%, #020713 100%); }
.splash img { display: block; }
.splash .sp-lights { position: absolute; inset: 0; pointer-events: none; filter: blur(24px);
  background: conic-gradient(from 152deg at 12% -8%, transparent 0deg, #459bff3a 12deg, transparent 27deg),
              conic-gradient(from 180deg at 88% -8%, transparent 0deg, #459bff3a 12deg, transparent 27deg); }
.splash .sp-logo { position: absolute; z-index: 2; top: 31%; inset-inline: 0; display: flex; flex-direction: column; align-items: center; }
.splash .sp-word { width: min(73vw, 350px, 43vh); height: auto; }
.splash .sp-arc { width: min(75vw, 380px); height: 22px; margin-top: -5px; opacity: .8; }
/* Width capped at 120vh: on landscape and desktop a full-width 3:2 picture would be taller than the screen and the
   seats would climb over the wordmark. The side fade hides the picture's edges where it no longer spans the screen. */
.splash .sp-seats { position: absolute; z-index: 1; bottom: 0; left: 50%; transform: translateX(-50%);
  width: min(max(100vw, 100vh), 120vh); height: auto; max-width: none; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 18%, #000 40%), linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 18%, #000 40%), linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  mask-composite: intersect; }
.splash .sp-spin { position: absolute; z-index: 3; left: calc(50% - 13px); bottom: 8%; width: 26px; height: 26px; box-sizing: border-box;
  border: 2px solid #389fff33; border-top-color: #79ccff; border-radius: 50%; animation: sp-spin 1.1s linear infinite; }
@keyframes sp-spin { to { transform: rotate(360deg); } }
@media (max-height: 500px) and (min-aspect-ratio: 1/1) {
  .splash .sp-logo { top: 22%; } .splash .sp-word { width: 44vh; } }
@media (prefers-reduced-motion: reduce) { .splash .sp-spin { animation: none; } }

/* ---------- sign-in pages on the scene (login, paused) — decisions 9–11 ----------
   Always the blue scene (decision 10): the colour tokens are re-set on the scene, so every control inside follows
   them, whatever the device's light/dark preference. The page scrolls when its content is taller than the screen;
   the spotlights and seats stay put behind it. */
.splash.splash-login { overflow-y: auto; display: flex; flex-direction: column; align-items: center; padding: 7vh 16px 32px;
  color-scheme: dark; color: var(--text);
  --bg: #020713; --bg-2: #0a1838; --panel: #0b1a3a; --panel-2: #12244a; --panel-hover: #1a2f5a92;
  --border: #24406f; --border-soft: #1b3159; --hover-border: #33568f; --nav-active: #12244a;
  --text: #eef3fb; --text-dim: #a9b8d3; --text-faint: #7486a6;
  --accent: #5aa8ff; --accent-ink: #04122e; --shadow: 0 24px 60px -20px rgba(0,0,0,.85);
  --scene-back: rgba(4, 12, 32, .78); }
.splash-login .sp-lights, .splash-login .sp-seats { position: fixed; }
.splash-login .sp-logo { position: relative; top: auto; inset-inline: auto; margin-bottom: 22px; }
.splash-login .sp-word { width: min(62vw, 300px, 32vh); }
/* No panel behind the content (Jacob, 2026-11-13): it stands on the scene itself. The seats sit lower than on the
   splash, so the content clears them, and a soft shadow keeps headings legible. */
.splash-login .auth-card { position: relative; z-index: 2; background: none; border: 0; box-shadow: none;
  text-shadow: 0 1px 10px rgba(2, 7, 19, .9); }
.splash-login .sp-seats { bottom: -14vh; }
/* Buttons and helper text carry their own dark backing (Jacob, 2026-11-13: they must read on the colourful
   background) — each on its own, so the scene still shows between them. */
.splash-login .btn:not(.btn-primary) { background: var(--scene-back); border-color: var(--border);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.splash-login :is(.ef-hint, .auth-foot, .auth-p) { background: var(--scene-back); border-radius: 10px; padding: 8px 12px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-shadow: none; }
.splash-login .auth-p { width: fit-content; max-width: 100%; margin-inline: auto; }
.splash-login .picker-tile .pt-name { background: var(--scene-back); border-radius: 999px; padding: 3px 10px; }
.splash-login :is(.code-cross, .way-link) { background: var(--scene-back); border-radius: 999px; padding: 6px 14px; width: fit-content;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-shadow: none; }
/* An empty message line (the server pages fill some in later) shows no backing. */
.splash-login :is(.ef-hint, .auth-foot, .auth-p):empty { background: none; padding: 0; }
/* A disabled primary keeps a solid fill: the usual half-opacity would let the scene show through it. */
.splash-login .btn-primary:disabled { opacity: 1; background: #1d3463; color: var(--text-dim); }
