html,
body {
  height: 100%;
  margin: 0;
  background: #ffffff;
}

html.dark,
html.dark body {
  background: #181b25;
}

#boot-splash {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: #ffffff;
  z-index: 2147483647;
  opacity: 1;
  transition: opacity 160ms ease;
}

html.dark #boot-splash {
  background: #181b25;
}

#boot-splash.boot-splash--hidden {
  opacity: 0;
  pointer-events: none;
}

#boot-card {
  width: 100%;
  max-width: 430px;
  text-align: center;
}

#boot-title {
  font: 700 20px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.2px;
  color: #111827;
}

html.dark #boot-title {
  color: #f9fafb;
}

#boot-subtitle {
  margin-top: 10px;
  font: 500 13px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: rgba(17, 24, 39, 0.62);
}

html.dark #boot-subtitle {
  color: rgba(249, 250, 251, 0.62);
}

#boot-spinner {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  border: 3px solid rgba(17, 24, 39, 0.12);
  border-top-color: rgba(17, 24, 39, 0.55);
  margin: 18px auto 0;
  animation: boot-spin 900ms linear infinite;
}

html.dark #boot-spinner {
  border-color: rgba(249, 250, 251, 0.12);
  border-top-color: rgba(249, 250, 251, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  #boot-spinner {
    animation: none;
  }
}

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