/* Branded splash shown by the browser while the app downloads. */
html,
body {
  margin: 0;
  height: 100%;
  background: #10142a;
}
#splash {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: radial-gradient(120% 80% at 50% 0%, #1b3b33 0%, #10142a 60%);
  color: #e9edf5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: opacity 200ms ease-out;
}
#splash.gone {
  opacity: 0;
  pointer-events: none;
}
.splash-mark {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  animation: splash-in 300ms ease-out both;
}
.splash-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  animation: splash-in 300ms 120ms ease-out both;
}
.splash-bar {
  width: 120px;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.splash-bar span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: 3px;
  background: #5fd3a4;
  animation: splash-slide 1.1s ease-in-out infinite;
}
.splash-note {
  max-width: 260px;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  color: rgba(233, 237, 245, 0.62);
  opacity: 0;
  animation: splash-in 300ms 2.5s ease-out forwards;
}
@keyframes splash-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
@keyframes splash-slide {
  from { transform: translateX(-100%); }
  to { transform: translateX(250%); }
}
@media (prefers-reduced-motion: reduce) {
  .splash-mark,
  .splash-name { animation: none; }
  .splash-bar span { animation-duration: 2.4s; }
}
