/* CRYOTALE VIDEO ONLY v1.1 / 2026-10-30.
   Scope: homepage center artwork ONLY. Never replace avatar/chat/login pictures.
   Do not reveal the still illustration when a role's MP4 starts/buffers/loops.
   Respect reduced-motion preferences (static fallback remains available).
*/
@media (prefers-reduced-motion: no-preference) {
  body:not([data-cryo-video="off"])[data-character="gpt"] .terminal-center .character-image,
  body:not([data-cryo-video="off"])[data-character="deepseek"] .terminal-center .character-image,
  body:not([data-cryo-video="off"])[data-character="grok"] .terminal-center .character-image,
  body:not([data-cryo-video="off"])[data-character="claude"] .terminal-center .character-image,
  body:not([data-cryo-video="off"])[data-character="gemini"] .terminal-center .character-image,
  body:not([data-cryo-video="off"])[data-character="qwen"] .terminal-center .character-image,
  body:not([data-cryo-video="off"])[data-character="glm"] .terminal-center .character-image,
  body:not([data-cryo-video="off"])[data-character="venice"] .terminal-center .character-image,
  body:not([data-cryo-video="off"])[data-character="mimo"] .terminal-center .character-image,
  body:not([data-cryo-video="off"])[data-character="yueqi"] .terminal-center .character-image {
    background-image: none !important;
  }

  /* Display the video itself without fading through the unrelated portrait.
     On initial buffering there may be a brief solid stage, never a wrong still.
     Native MP4 loops normally retain the last decoded frame. */
  .terminal-center[data-cryo-motion-active="gpt"] .character-image .cryo-seven-video[data-motion-role="gpt"],
  .terminal-center[data-cryo-motion-active="grok"] .character-image .cryo-seven-video[data-motion-role="grok"],
  .terminal-center[data-cryo-motion-active="claude"] .character-image .cryo-seven-video[data-motion-role="claude"],
  .terminal-center[data-cryo-motion-active="gemini"] .character-image .cryo-seven-video[data-motion-role="gemini"],
  .terminal-center[data-cryo-motion-active="qwen"] .character-image .cryo-seven-video[data-motion-role="qwen"],
  .terminal-center[data-cryo-motion-active="glm"] .character-image .cryo-seven-video[data-motion-role="glm"],
  .terminal-center[data-cryo-motion-active="venice"] .character-image .cryo-seven-video[data-motion-role="venice"],
  .terminal-center[data-cryo-motion-active="mimo"] .character-image .cryo-seven-video[data-motion-role="mimo"],
  .terminal-center[data-cryo-motion-active="yueqi"] .character-image .cryo-seven-video[data-motion-role="yueqi"],
  body:not([data-cryo-video="off"])[data-character="deepseek"] .terminal-center.cryo-whale-active .character-image .cryo-whale-video {
    opacity: 1 !important;
    transition: none !important;
  }
}
