@font-face {
  font-family: "Preloader Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/inter-800.ttf") format("truetype");
}
html.is-preloading,
html.is-preloading body {
  margin: 0;
  background: #009cfd;
  overflow: hidden;
}
html.is-preloading #root {
  visibility: hidden;
}
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  box-sizing: border-box;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: #009cfd;
  color: white;
  font-family: "Preloader Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  opacity: 1;
  transition: opacity 320ms ease-out;
}
#preloader.is-leaving {
  opacity: 0;
  pointer-events: none;
}
.preloader-stage {
  position: relative;
  flex-shrink: 0;
  font-size: clamp(44px, min(15.5vw, calc((100svh - 60px) / 2.95)), 280px);
  height: 2.95em;
  display: flex;
  justify-content: center;
}
.preloader-word {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(47% - 0.56em);
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
  z-index: 1;
}
.preloader-girl {
  position: relative;
  z-index: 2;
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  transform-origin: 50% 100%;
  animation: preloader-sway 4.5s ease-in-out infinite;
}
@keyframes preloader-sway {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-1.4deg);
  }
}
.startup-error {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  text-align: center;
  font:
    14px/1.5 Arial,
    sans-serif;
}
.startup-error[hidden] {
  display: none;
}
.startup-error p {
  margin: 0 0 10px;
}
.startup-error button {
  padding: 10px 18px;
  border: 1px solid white;
  border-radius: 7px;
  background: white;
  color: #262820;
  font: inherit;
  cursor: pointer;
}
.startup-error button:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}
@media (max-width: 480px) {
  .preloader-stage {
    font-size: min(15.5vw, calc((100svh - 60px) / 4.3));
    height: 4.3em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .preloader-girl {
    animation: none;
  }
  #preloader {
    transition: none;
  }
}
