/* Login page (login.html): luminous blue sky with drifting aurora colour fields, the globe canvas,
   a grain veil, and a bright frosted card. Self-contained: does not load the app's stylesheets. */
@import url("login-card.css");
@import url("login-form.css");
@import url("login-sky.css");
:root {
  --red: #e31e24; --red-2: #bb141b; --ink: #0b1530; --ink-2: #33415e; --muted: #56647f;
  --line: rgba(20, 40, 90, .14); --sky-ink: #eaf3ff; --sky-muted: #b9cdf0;
  --font: "Geist", ui-sans-serif, system-ui, sans-serif; --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1); color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; } html { background: #0a1a44; }
body.login {
  min-height: 100dvh; overflow: hidden; color: var(--ink); font: 400 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased; background: linear-gradient(160deg, #0a1a44 0%, #10265e 50%, #172f7a 100%);
}
body.spinning { cursor: grabbing; user-select: none; }
#globe { position: fixed; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; z-index: 1;
  opacity: 0; transition: opacity 1.6s var(--ease); }
body.ready #globe { opacity: 1; }
.login-wrap { position: relative; z-index: 3; min-height: 100dvh; display: flex; flex-direction: column;
  justify-content: center; gap: 24px; padding: 48px clamp(20px, 7vw, 112px); width: min(100%, 600px);
  pointer-events: none; }
.login-wrap > * { pointer-events: auto; }
.mono { font-family: var(--mono); }
.login-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--sky-muted); max-width: 420px;
  text-shadow: 0 1px 8px rgba(6, 18, 60, .6); }
.login-foot b { color: #fff; font-weight: 600; }
.live { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #3ef0b0; margin-right: 8px;
  box-shadow: 0 0 0 3px rgba(62, 240, 176, .22), 0 0 10px #3ef0b0; vertical-align: 1px; }
.legend { position: fixed; right: 28px; bottom: 24px; z-index: 3; display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-muted); opacity: 0;
  transition: opacity 1s .9s var(--ease); }
.legend i { width: 36px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #ff4860, #ffb547); }
body.ready .legend { opacity: 1; }
@media (max-width: 900px) {
  body.login { overflow-y: auto; }
  #globe { opacity: 0; } body.ready #globe { opacity: .9; }
  .login-wrap { margin: 0 auto; justify-content: flex-end; padding: 30vh 18px 28px; }
  .legend { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
