/* Stable Lumi portrait; only the masked mouth alternates during playback. */
.lumi-avatar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  transform-origin: bottom center;
}
.home-avatar .lumi-avatar { filter: drop-shadow(0 16px 22px rgba(4,39,35,.24)); }
.lumi-avatar-base { opacity: 1; }
.lumi-avatar-mouth { opacity: 0; }
.teacher-presence.speaking .lumi-avatar-mouth {
  animation: lumiMouthSpeak .42s steps(1, end) infinite;
}
@keyframes lumiMouthSpeak {
  0%, 49% { opacity: 0; }
  50%, 100% { opacity: 1; }
}
