/* Loading screen (PageLoader + loader.js): logo, a loading bar under it, and a line of text. */
.zl {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #fff;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0s linear 0s;
  /* if the script never runs, the screen still goes away after three minutes */
  animation: zl-failsafe 0s linear 180s forwards;
}
.zl[hidden] {
  display: none;
}
.zl.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.zl.is-lazy:not(.is-shown) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none;
}
.zl__box {
  width: min(320px, 100%);
  text-align: center;
}
.zl__logo {
  display: block;
  width: 180px;
  height: auto;
  margin: 0 auto 22px;
}
.zl__bar {
  position: relative;
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: #f5d3d6;
}
.zl__bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 38%;
  border-radius: 2px;
  background: var(--red, #e71926);
  animation: zl-slide 1.15s ease-in-out infinite;
}
.zl__text {
  margin: 14px 0 0;
  min-height: 1.4em;
  font-size: 0.9rem;
  color: var(--muted, #5b6270);
}
.zl__fail {
  margin-top: 14px;
}
.zl__fail p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--ink, #111827);
}
.zl.is-failed .zl__bar,
.zl.is-failed .zl__text {
  display: none;
}
@keyframes zl-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(263%); }
}
@keyframes zl-failsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .zl__bar i { width: 100%; animation: zl-pulse 1.6s ease-in-out infinite; }
  @keyframes zl-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
  .zl, .zl.is-done { transition: none; }
}
