html.yovoy-splash-lock,
html.yovoy-splash-lock body {
  overflow: hidden;
}

.yovoy-app-preloader {
  --splash-background: #ff6508;
  --splash-accent: #fff;
  --splash-text: #fff;
  --splash-muted: rgba(255, 255, 255, .78);
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, .16), transparent 35%),
    linear-gradient(145deg, #ff790c 0%, var(--splash-background) 48%, #e84f00 100%);
  color: var(--splash-text);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .42s ease, visibility .42s ease;
  isolation: isolate;
}

.yovoy-app-preloader.is-driver {
  --splash-background: #0b0c0f;
  --splash-accent: #ff6508;
  --splash-muted: rgba(255, 255, 255, .66);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 101, 8, .13), transparent 34%),
    linear-gradient(155deg, #181a1f 0%, #0b0c0f 52%, #050506 100%);
}

.yovoy-app-preloader.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.yovoy-loader-glow {
  position: absolute;
  z-index: -1;
  width: min(68vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 50%;
  opacity: .75;
  animation: yovoy-loader-glow 3.2s ease-in-out infinite;
}

.yovoy-loader-glow-one {
  top: -29%;
  right: -21%;
}

.yovoy-loader-glow-two {
  bottom: -34%;
  left: -22%;
  animation-delay: -1.45s;
}

.is-driver .yovoy-loader-glow {
  border-color: rgba(255, 101, 8, .18);
}

.yovoy-loader-card {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(380px, 100%);
  text-align: center;
}

.yovoy-loader-logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(82vw, 310px);
  height: 185px;
  margin-bottom: 18px;
  animation: yovoy-logo-arrive .82s cubic-bezier(.16, 1, .3, 1) both;
}

.yovoy-loader-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: min(66vw, 238px);
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(65, 19, 0, .2));
  animation: yovoy-logo-breathe 1.9s .75s ease-in-out infinite;
}

.is-driver .yovoy-loader-logo {
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, .56));
}

.yovoy-loader-mode {
  margin-bottom: 9px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.7px;
  animation: yovoy-copy-arrive .55s .38s ease both;
}

.is-driver .yovoy-loader-mode {
  border-color: rgba(255, 101, 8, .34);
  color: #ff8a44;
  background: rgba(255, 101, 8, .08);
}

.yovoy-loader-title {
  display: block;
  margin: 0 0 7px;
  color: var(--splash-text);
  font-size: clamp(22px, 6vw, 28px);
  font-weight: 900;
  letter-spacing: -.7px;
  animation: yovoy-copy-arrive .55s .48s ease both;
}

.yovoy-loader-detail {
  display: block;
  min-height: 39px;
  color: var(--splash-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  animation: yovoy-copy-arrive .55s .58s ease both;
}

.yovoy-loader-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 13px;
  animation: yovoy-copy-arrive .55s .62s ease both;
}

.yovoy-loader-topics span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .11);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .02em;
}

.yovoy-loader-progress {
  width: min(210px, 64vw);
  height: 3px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .18);
  animation: yovoy-copy-arrive .55s .66s ease both;
}

.yovoy-loader-progress span {
  display: block;
  width: 44%;
  height: 100%;
  border-radius: inherit;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, .48);
  animation: yovoy-loader-progress 1.08s ease-in-out infinite;
}

.is-driver .yovoy-loader-progress span {
  background: var(--splash-accent);
  box-shadow: 0 0 13px rgba(255, 101, 8, .58);
}

@keyframes yovoy-logo-arrive {
  from { opacity: 0; transform: scale(.72) translateY(18px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes yovoy-logo-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.018); }
}

@keyframes yovoy-copy-arrive {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes yovoy-loader-glow {
  0%, 100% { opacity: .45; transform: scale(.93); }
  50% { opacity: .85; transform: scale(1.06); }
}

@keyframes yovoy-loader-progress {
  0% { transform: translateX(-115%); }
  100% { transform: translateX(340%); }
}

@media (max-height: 560px) {
  .yovoy-loader-logo-stage {
    height: 135px;
    margin-bottom: 8px;
  }

  .yovoy-loader-logo {
    width: min(55vw, 190px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .yovoy-loader-logo-stage,
  .yovoy-loader-logo,
  .yovoy-loader-glow,
  .yovoy-loader-mode,
  .yovoy-loader-title,
  .yovoy-loader-detail,
  .yovoy-loader-topics,
  .yovoy-loader-progress,
  .yovoy-loader-progress span {
    animation: none;
  }
}
