:root {
  color-scheme: dark;
  background: #011023;
}

.startup-loading-screen {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-sizing: border-box;
  min-width: 100vw;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: #011023;
  isolation: isolate;
}

.startup-loading-screen::after {
  position: absolute;
  inset: auto 0 clamp(1.25rem, 5vh, 3rem);
  z-index: 1;
  height: 1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(74 222 128 / 28%), transparent);
}

.startup-loading-screen__animation {
  display: block;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: #011023;
}

.startup-loading-screen__status {
  position: absolute;
  inset: auto 1rem clamp(1.5rem, 5.5vh, 3.5rem);
  z-index: 2;
  margin: 0;
  color: rgb(232 240 249 / 90%);
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.78rem, 1.4vw, 0.95rem);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.02em;
  animation: startup-status-pulse 1.8s ease-in-out infinite;
}

@keyframes startup-status-pulse {
  0%,
  100% {
    opacity: 0.58;
  }

  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .startup-loading-screen__status {
    animation: none;
  }
}
