/* Sibling of #app (NOT inside it): Vue mount replaces #app immediately — keep splash until router.isReady() in main.js. */
html.dark #badger-app-boot-splash {
  background: linear-gradient(145deg, #111827 0%, #1f2937 45%, #0f172a 100%);
  color: #e5e7eb;
}
html.dark #badger-app-boot-splash .boot-spinner {
  border-color: #374151;
  border-top-color: #38bdf8;
}
#badger-app-boot-splash {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(145deg, #ecf0f1 0%, #ffffff 45%, #e8f4f0 100%);
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;
  color: #0a3d62;
}
#badger-app-boot-splash img {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(10, 61, 98, 0.12);
}
#badger-app-boot-splash .boot-spinner {
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 1.25rem;
  border: 3px solid #dbeafe;
  border-top-color: #0a3d62;
  border-radius: 50%;
  animation: badger-boot-spin 0.75s linear infinite;
}
#badger-app-boot-splash p {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 16rem;
  line-height: 1.4;
}
@keyframes badger-boot-spin {
  to {
    transform: rotate(360deg);
  }
}
body.badger-boot-active {
  overflow: hidden;
  background: #ecf0f1;
}
html.dark body.badger-boot-active {
  background: #111827;
}
