/* Static start-up screen (index.html, #splash): visible before any JS runs; main.ts removes it
   when the loading screen takes over. External CSS (no inline style: the CSP of the closed beta). */
html,
body {
  margin: 0;
  background: #02040a;
  color: #e8eef7;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 120%, #0d2340 0%, #02040a 60%);
  overflow: auto;
}
.splash h1 {
  margin: 0;
  font-size: 36px;
  letter-spacing: 0.3em;
  font-weight: 300;
}
.splash-bar {
  width: min(320px, 80%);
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.splash-bar > i {
  display: block;
  width: 35%;
  height: 100%;
  background: #62d0ff;
  animation: splash-slide 1.4s ease-in-out infinite;
}
@keyframes splash-slide {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(300%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .splash-bar > i {
    animation: none;
    width: 100%;
    opacity: 0.5;
  }
}
.splash p {
  margin: 0;
  max-width: 420px;
  line-height: 1.45;
  color: #c5cfdc;
}
.splash button {
  min-height: 44px;
  padding: 0 18px;
  font: inherit;
  font-size: 16px;
  color: #02040a;
  background: #62d0ff;
  border: 0;
  border-radius: 10px;
}
.splash.stuck .splash-bar {
  display: none;
}
