/* Hood Aura preloader — a small quiet spinner over white with a
   footer-style HOOD AURA caption. Shown once per tab session on
   first load; removed by preloader.js. */
#ha-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  display: grid;
  place-items: center;
  opacity: 1;
  transition: opacity .45s ease;
}
#ha-preloader.done { opacity: 0; pointer-events: none; }
html.ha-preloading { overflow: hidden; }

.ha-pre-center {
  display: grid;
  justify-items: center;
  gap: 20px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Minimal circle: faint 1px ring with a black arc. */
.ha-pre-spin {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #ececec;
  border-top-color: #121212;
  animation: ha-spin .9s linear infinite;
}

/* Same voice as the footer: small, muted, letter-spaced uppercase. */
.ha-pre-brand {
  font-size: 10px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #767676;
  padding-left: .32em; /* optically recenters the tracked text */
}

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

/* Reduced motion: no spinner, just the static wordmark. */
@media (prefers-reduced-motion: reduce) {
  .ha-pre-spin { display: none; }
  #ha-preloader { transition: none; }
}
