/* Splash / anti-FOUC — cores via --splash-* (theme-boot.js) */
html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--splash-bg, #111113);
}

#root:empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

#root:empty::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid var(--splash-track, rgba(255, 255, 255, 0.12));
  border-top-color: var(--splash-spin, #a1a1aa);
  border-radius: 50%;
  animation: sp 0.7s linear infinite;
}

@keyframes sp {
  to {
    transform: rotate(360deg);
  }
}

