.hill-boot-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--bg-body);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .4s ease, visibility .4s;
}
.hill-boot-loader.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.hill-boot-loader__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hill-boot-loader__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  animation: hillBootPulse 1.8s ease-in-out infinite;
}
.hill-boot-loader__title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -.03em;
  line-height: 1.2;
  white-space: nowrap;
}
.hill-boot-loader__ring {
  width: 42px;
  height: 42px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: hillBootSpin .8s linear infinite;
}
.hill-boot-loader__text {
  font-size: .82rem;
  color: var(--text-secondary);
  font-weight: 500;
  min-width: 9em;
  text-align: center;
}
html.hill-auth-pending .hill-boot-loader {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
html.hill-auth-pending #adminLogin,
html.hill-auth-pending .login-card,
html.hill-auth-pending #adminApp {
  visibility: hidden;
}
@keyframes hillBootSpin {
  to { transform: rotate(360deg); }
}
@keyframes hillBootPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 8px rgba(37, 99, 235, .28));
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 18px rgba(37, 99, 235, .52));
  }
}
[data-theme="dark"] .hill-boot-loader__logo {
  animation-name: hillBootPulseDark;
}
@keyframes hillBootPulseDark {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, .32));
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 18px rgba(59, 130, 246, .58));
  }
}
