html .yfl-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: #fffaf1;
  background-image: radial-gradient(rgba(10, 10, 11, .12) .7px, transparent .7px);
  background-size: 12px 12px;
  color: #0a0a0b;
  opacity: 1;
  transition: opacity .46s ease, visibility .46s ease;
  animation: yflLoaderFailsafe 0s 4s forwards;
}

html .yfl-loader::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 250, 241, .1), rgba(255, 250, 241, .82));
}

html .yfl-loader::after {
  content: none;
}

html .yfl-loader.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html .yfl-loader-lockup {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(82vw, 360px);
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

html .yfl-loader-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  animation: yflLoaderIn .5s ease both;
}

html .yfl-loader-boundlearn,
html .yfl-loader-program {
  display: block;
  height: auto;
  object-fit: contain;
}

html .yfl-loader-boundlearn { width: 112px; }
html .yfl-loader-program { width: 108px; }

html .yfl-loader-divider {
  width: 1px;
  height: 40px;
  background: rgba(10, 10, 11, .24);
}

html .yfl-loader-accent {
  display: grid;
  width: min(178px, 46vw);
  height: 4px;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

html .yfl-loader-accent span {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  animation: yflLoaderPulse 1s ease-in-out infinite;
}

html .yfl-loader-accent span:nth-child(1) { background: #2fd4c3; }
html .yfl-loader-accent span:nth-child(2) { background: #7a48f5; animation-delay: .14s; }
html .yfl-loader-accent span:nth-child(3) { background: #c9ff3d; animation-delay: .28s; }

@keyframes yflLoaderIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes yflLoaderPulse {
  0%, 100% { opacity: .35; transform: scaleX(.78); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes yflLoaderFailsafe {
  to { visibility: hidden; pointer-events: none; }
}

@media (max-width: 520px) {
  html .yfl-loader-logos { gap: 14px; }
  html .yfl-loader-boundlearn { width: 98px; }
  html .yfl-loader-program { width: 96px; }
  html .yfl-loader-divider { height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html .yfl-loader,
  html .yfl-loader-logos,
  html .yfl-loader-accent span {
    animation: none;
    transition-duration: 1ms;
  }
}
