/* First-paint identity, independent of the application bundle and network calls. */
#zerido-boot {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: #f4f5f4;
  pointer-events: none;
  animation: z-boot-out 180ms ease 720ms both;
}
.dark #zerido-boot {
  background: #181a1b;
}
#zerido-boot .z-boot-emblem {
  position: relative;
  animation: z-boot-in 480ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
#zerido-boot .z-boot-emblem:before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid #c7463e55;
  border-radius: 31px;
  animation: z-boot-ring 700ms ease-out both;
}
#zerido-boot img {
  display: block;
  max-width: 70vw;
  height: auto;
}
#zerido-boot .z-boot-dark {
  display: none;
}
.dark #zerido-boot .z-boot-dark {
  display: block;
}
.dark #zerido-boot .z-boot-light {
  display: none;
}
.z-boot-track {
  width: 96px;
  height: 2px;
  background: #c7463e33;
  border-radius: 2px;
  overflow: hidden;
}
.z-boot-track:after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #c7463e;
  transform-origin: left;
  animation: z-boot-track 700ms ease both;
}
@keyframes z-boot-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes z-boot-ring {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  40% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: scale(1.18);
  }
}
@keyframes z-boot-track {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes z-boot-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  #zerido-boot {
    display: none;
  }
  #zerido-boot,
  #zerido-boot * {
    animation: none !important;
  }
}
