.splash-active { overflow: hidden; }
.splash-audio-hint { position: absolute; bottom: max(30px, env(safe-area-inset-bottom)); inset-inline: 20px; margin: 0; text-align: center; color: #bdbdbd; font: 14px/1.6 system-ui, sans-serif; }
.splash-audio-hint[hidden] { display: none; }
.poker-splash.awaiting-audio { cursor: pointer; }
.poker-splash { position: fixed; inset: 0; z-index: 1000; background: #000000; color: #ededed; display: grid; place-items: center; overflow: hidden; animation: splash-out .5s 8s both; }
.splash-scene { width: 100%; position: relative; display: flex; flex-direction: column; align-items: center; }
.splash-logo { width: min(76vw, 620px); height: auto; display: block; animation: logo-in .8s both; }
.splash-water { position: relative; width: 100%; height: 175px; margin-top: -20px; }
.splash-water svg { width: 100%; height: 100%; overflow: visible; }
.splash-fish { position: absolute; left: calc(50% - 55px); top: 40px; width: 110px; height: 71px; animation: fish-swim 8.5s linear both; }
.fish-tail { transform-origin: 38px 45px; animation: tail-wag .3s ease-in-out infinite alternate; }
.splash-shark { z-index: 2; position: absolute; left: calc(50% - 40px); top: -5px; width: clamp(240px, 35vw, 350px); height: 180px; animation: shark-swim 8.5s linear both; }
.shark-tail { transform-origin: 290px 100px; animation: tail-wag .45s ease-in-out infinite alternate; }
.shark-mouth { transform-box: fill-box; transform-origin: center top; animation: two-bites 8.5s linear both; }
.splash-caption { position: absolute; z-index: 1; top: 52px; left: 50%; width: min(76vw, 620px); transform: translateX(-50%); display: flex; gap: 2.8%; }
.crunch-word { display: block; width: 31.46%; mask-image: linear-gradient(transparent, transparent); }
.crunch-word img { display: block; width: 100%; opacity: 0; transform: translateY(20px) scale(.9); transform-origin: center; }



.bite-ring { position: absolute; left: calc(50% - 30px); top: 54px; width: 62px; height: 62px; border: 2px solid #b9b9b9; border-radius: 50%; opacity: 0; }
.bite-one { animation: bite-pop .35s 3.74s both; }
.bite-two { animation: bite-pop .35s 4.76s both; }
@keyframes logo-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tail-wag { from { transform: scaleX(.8) skewY(-4deg); } to { transform: scaleX(1) skewY(4deg); } }
@keyframes fish-swim {
  0%, 5% { transform: translateX(-65vw); clip-path: inset(0); }
  24% { transform: translate(0, 0); }
  29% { transform: translate(0, -5px); }
  34%, 43.9% { transform: translate(0, 0); clip-path: inset(0); }
  44%, 55.9% { transform: translate(-8px, 3px) rotate(-9deg); clip-path: inset(0 52% 0 0); opacity: 1; }
  56%, 100% { clip-path: inset(0 100% 0 0); opacity: 0; }
}
@keyframes shark-swim {
  0%, 26% { transform: translateX(75vw); }
  40% { transform: translateX(18px); }
  44% { transform: translateX(-18px); }
  49% { transform: translateX(8px); }
  56% { transform: translateX(-40px); }
  64% { transform: translateX(-40px); }
  88%, 100% { transform: translateX(calc(-65vw - 380px)); }
}
@keyframes two-bites {
  0%, 33% { transform: scaleY(.12); }
  40% { transform: scaleY(1); }
  44%, 46% { transform: scaleY(.08); }
  51% { transform: scaleY(1); }
  56%, 100% { transform: scaleY(.08); }
}
@keyframes bite-pop { 0% { opacity: 0; transform: scale(.4); } 20% { opacity: .8; } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .poker-splash, .poker-splash * { animation: none !important; }
  .splash-fish, .splash-shark, .bite-ring { display: none; }
  .crunch-word { mask-image: none !important; }
  .crunch-word img { opacity: 1 !important; transform: none !important; filter: none !important; }
}

.splash-fish > svg { animation: fish-bob 1.5s ease-in-out infinite; transform-origin: center; }
@keyframes fish-bob { 0%, 100% { transform: translateY(5px) rotate(3deg); } 50% { transform: translateY(-6px) rotate(-3deg); } }



