.rt-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
  background:
    radial-gradient(circle at center, rgba(10, 10, 10, 0.58), rgba(0, 0, 0, 0.22) 42%, rgba(0, 0, 0, 0.08) 68%, transparent);
}

.rt-loader-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.rt-loader {
  position: relative;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.5));
}

.rt-loader::before,
.rt-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.rt-loader::before {
  border: 3px solid rgba(255, 255, 255, 0.14);
  border-top-color: #fbbf24;
  border-right-color: rgba(251, 191, 36, 0.62);
  animation: rtLoaderSpin 900ms linear infinite;
}

.rt-loader::after {
  inset: 10px;
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: rgba(10, 10, 10, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.rt-loader-logo {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
}

.rt-loader-label {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: max-content;
  max-width: min(280px, calc(100vw - 40px));
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.78);
  font: 800 11px/1.3 Manrope, Inter, system-ui, sans-serif;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

@keyframes rtLoaderSpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .rt-loader::before {
    animation-duration: 1800ms;
  }
}
