/* Instant boot styles — prevent white FOUC before main CSS */
html {
  background: #0b0b0b;
  color-scheme: dark;
}

body {
  margin: 0;
  background: #0b0b0b;
  color: #fff;
  font-family: Manrope, system-ui, -apple-system, Segoe UI, sans-serif;
}

#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0b0b;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

#page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#page-loader .boot-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(200, 154, 43, 0.25);
  border-top-color: #c89a2b;
  animation: boot-spin 0.85s linear infinite;
}

@keyframes boot-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  #page-loader .boot-mark {
    animation: none;
    border-color: #c89a2b;
  }
}

/* Hide unstyled app chrome until ready */
#app-shell {
  opacity: 0;
}

body.is-ready #app-shell {
  opacity: 1;
  transition: opacity 0.4s ease;
}

noscript #app-shell {
  opacity: 1;
}
