#nxw-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  background: var(--bg-primary, #f7f5f2);
  color: var(--text-secondary, #696675);
  transition: opacity .28s ease, visibility .28s ease;
}

#nxw-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#nxw-loader .spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(128, 128, 128, .2);
  border-top-color: var(--brand-primary, #6c5ce7);
  border-radius: 50%;
  animation: nxw-loader-spin .72s linear infinite;
}

#nxw-loader .loader-label {
  font-size: .9rem;
  font-weight: 550;
  letter-spacing: .01em;
}

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

@media (prefers-reduced-motion: reduce) {
  #nxw-loader, #nxw-loader .spinner { transition-duration: .01ms; animation-duration: 1.8s; }
}
