@import url('./styles-base.css');

/*
 * Production boot gate.
 * The page stays invisible while the final enhancement bundle is assembled,
 * preventing historical intermediate layouts from flashing on first load.
 */
html {
  background: #07120d;
  color-scheme: dark;
}

html:not(.expedition-ready) body {
  visibility: hidden !important;
  opacity: 0 !important;
  animation: expedition-boot-fallback 0s linear 12s forwards;
}

html.expedition-ready body {
  visibility: visible !important;
  opacity: 1 !important;
}

@media (prefers-reduced-motion: no-preference) {
  html.expedition-ready body {
    transition: opacity 140ms ease-out;
  }
}

@keyframes expedition-boot-fallback {
  to {
    visibility: visible;
    opacity: 1;
  }
}
