/* Utilities the Tailwind Play CDN can't generate from config alone
   (raw keyframes, focus-visible base styles, safe-area helpers).
   Everything else is expressed with Tailwind utility classes directly
   in the markup produced by js/components/*.js. */

html,
body,
#root {
  height: 100%;
}

/* Visible keyboard focus everywhere — accessibility floor. */
:focus-visible {
  outline: 2px solid #6fa8f5;
  outline-offset: 2px;
  border-radius: 6px;
}

* {
  -webkit-tap-highlight-color: transparent;
}

/* Respect device notches / home indicators when the app runs standalone. */
.safe-top {
  padding-top: env(safe-area-inset-top);
}
.safe-bottom {
  padding-bottom: env(safe-area-inset-bottom);
}
.safe-x {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@keyframes ripple {
  0% {
    transform: scale(0.6);
    opacity: 0.55;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}
.animate-ripple {
  animation: ripple 700ms ease-out forwards;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.animate-pulse-dot {
  animation: pulse-dot 1.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
