/* Small extras Tailwind's CDN build doesn't cover. Keep this file thin —
   prefer Tailwind utility classes in markup; put things here only when
   there's no utility for it (scrollbar hiding, keyframes, etc). */

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

#game-player {
  animation: player-in 0.18s ease-out;
}
@keyframes player-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Interstitial ad overlay — same contract/markup as the original index.html
   test page (toggled via the "visible" class from player.js). */
#ad-interstitial {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#ad-interstitial.visible {
  display: flex;
}
#ad-interstitial-slot {
  background: #fff;
}
#ad-interstitial-close {
  margin-top: 12px;
  padding: 8px 20px;
  cursor: pointer;
  background: #fff;
  border: 0;
  border-radius: 4px;
  font-size: 14px;
}
