/* App splash shown until Vue mounts and the first route is resolved. */
#app-splash {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  font-family: 'Karla', 'Geogtq', system-ui, sans-serif;
}

#app-splash .app-splash__logo {
  width: 180px;
  max-width: 55vw;
  height: auto;
  margin-bottom: 28px;
  animation: app-splash-pulse 1.6s ease-in-out infinite;
}

#app-splash .app-splash__bar {
  position: relative;
  width: 220px;
  max-width: 60vw;
  height: 4px;
  border-radius: 4px;
  background: rgba(0, 180, 184, 0.18);
  overflow: hidden;
}

#app-splash .app-splash__bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  border-radius: 4px;
  background: #00b4b8;
  animation: app-splash-slide 1.1s ease-in-out infinite;
}

#app-splash .app-splash__text {
  margin-top: 18px;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #7a7a7a;
  transition: opacity 220ms ease, transform 220ms ease;
}

#app-splash .app-splash__text.is-fading {
  opacity: 0;
  transform: translateY(6px);
}

@keyframes app-splash-slide {
  0% { left: -40%; }
  100% { left: 100%; }
}

@keyframes app-splash-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  #app-splash .app-splash__logo { animation: none; }
  #app-splash .app-splash__bar::after { animation-duration: 2s; }
  #app-splash .app-splash__text { transition: none; }
  #app-splash .app-splash__text.is-fading { transform: none; }
}
