html.hadher-preloading {
  overflow: hidden !important;
  background: #120d29;
}

html.hadher-preloading body {
  min-height: 100vh;
  background: #120d29 !important;
}

html.hadher-preloading body > :not(#hadher-modern-preloader) {
  visibility: hidden !important;
}

#hadher-modern-preloader {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  color: #fff;
  background: radial-gradient(circle at 50% 48%, rgba(108, 74, 214, .14), transparent 34%), #120d29;
  opacity: 1;
  visibility: visible;
  transition: opacity .42s ease, visibility .42s ease;
}

#hadher-modern-preloader.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hadher-loader-card {
  display: flex;
  width: min(66vw, 220px);
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hadher-loader-logo {
  display: block;
  width: 178px;
  height: auto;
  filter: invert(1) brightness(3);
  animation: hadherLogoFade 1.35s ease-in-out infinite;
}

.hadher-loader-track {
  position: relative;
  width: 92px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
}

.hadher-loader-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: #9d8cff;
  animation: hadherLine 1s ease-in-out infinite;
}

.hadher-loader-ambient,
.hadher-loader-caption,
.hadher-loader-status {
  display: none;
}

@keyframes hadherLogoFade {
  0%, 100% { opacity: .72; transform: scale(.985); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes hadherLine {
  from { transform: translateX(-110%); }
  to { transform: translateX(245%); }
}

@media (max-width: 600px) {
  .hadher-loader-logo { width: 154px; }
  .hadher-loader-card { gap: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .hadher-loader-logo { animation: none; }
  .hadher-loader-track i { animation-duration: 1.8s; }
}
