/* CRYOTALE Whale Motion V1: restricted to homepage's center artwork. */
.terminal-center .character-image .cryo-whale-video {
  position:absolute; inset:0; display:block; width:100%; height:100%;
  object-fit:cover; object-position:50% 34%; opacity:0;
  pointer-events:none; transition:opacity .35s ease;
}
body[data-character="deepseek"] .terminal-center .character-image.cryo-whale-video-ready .cryo-whale-video{ opacity:1; }
.terminal-center .cryo-sea-bubbles{
  position:absolute; inset:0; z-index:3; overflow:hidden; pointer-events:none;
  visibility:hidden; opacity:0; transition:opacity .3s ease;
}
body[data-character="deepseek"] .terminal-center.cryo-whale-active .cryo-sea-bubbles{
  visibility:visible; opacity:1;
}
body[data-character="deepseek"] .terminal-center.cryo-whale-active .cryo-sea-bubble{animation-play-state:running;}
.terminal-center .cryo-sea-bubble{
  position:absolute; left:var(--x); bottom:-35px;
  width:var(--d); height:var(--d); border-radius:50%;
  border:1px solid rgba(200,241,255,.33);
  background:radial-gradient(circle at 29% 27%,rgba(247,255,255,.35) 0 12%,rgba(159,227,255,.12) 30%,rgba(63,176,233,.06) 58%,transparent 70%);
  box-shadow:inset -2px -2px 5px rgba(97,202,245,.2),0 0 9px rgba(120,221,255,.11);
  opacity:0; animation:cryo-sea-rise var(--time) linear var(--delay) infinite;
  animation-play-state:paused;
  will-change:transform;
}
@keyframes cryo-sea-rise{
  0%{opacity:0;transform:translate3d(0,0,0) scale(.8)}
  12%{opacity:.56} 72%{opacity:.45}
  100%{opacity:0;transform:translate3d(var(--drift),-850px,0) scale(1.2)}
}
/* The existing dark bottom gradient, character name, tagline, coordinates,
   floating labels, and character avatars are intentionally untouched. */
@media(prefers-reduced-motion:reduce){
  .terminal-center .cryo-sea-bubble{animation:none!important;opacity:0!important}
  .terminal-center .character-image .cryo-whale-video{display:none!important}
}
