/* Hide app until we say it's ready (kept inline too, but harmless to keep here) */
body.booting #root { opacity: 0; }

/* Fullscreen loader overlay (duplicated inline for critical path; safe here too) */
#boot-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: opacity .7s ease-out;
}
#boot-loader.hide { opacity: 0; pointer-events: none; }

/* Spinner: borders are inline for instant visibility; animation rule here is fine */
#boot-spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  animation: boot-spin 1s linear infinite;
}
@keyframes boot-spin { to { transform: rotate(360deg); } }
