/* CSS */
.dots-spinner {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  /* size tweak: adjust font-size to scale everything */
  font-size: 1rem;
  color: #444; /* spinner color */
}

.dots-spinner > div {
  width: 0.5em;
  height: 0.5em;
  background: currentColor;
  border-radius: 50%;
  opacity: 0;
  animation: dot-pulse 1s ease-in-out infinite;
}

/* Staggered delay on each dot */
.dots-spinner > div:nth-child(1) { animation-delay: 0s; }
.dots-spinner > div:nth-child(2) { animation-delay: 0.2s; }
.dots-spinner > div:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-pulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.3; }
  40%          { transform: scale(1);   opacity: 1;   }
}

/* Splash overlay covers full viewport and centers its content */
#splash {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* ensure it sits above everything */
  z-index: 9999;
  /* overlay background (optional) */
  background: #fff;

  /* flex centering */
  display: flex;
  align-items: center;
  justify-content: center;
}
