/* Decoración automática: capa acotada, sin controles ni captura de clics. */
.doki-escena {
  position: fixed;
  inset: auto 0 max(0px, env(safe-area-inset-bottom));
  height: 150px;
  overflow: hidden;
  contain: strict;
  pointer-events: none;
  z-index: 40;
}
.doki-escena[hidden] { display: none; }
.doki-sprite {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 220px;
  height: 150px;
  pointer-events: none;
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
  .doki-sprite { will-change: auto; }
}
@media print {
  .doki-escena { display: none !important; }
}

/* Alternativa estática cuando Canvas no está disponible. */
.doki-estatica { position: absolute; right: 26px; bottom: 10px; width: 94px; height: auto; pointer-events: none; }
.doki-sprite[hidden], .doki-estatica[hidden] { display: none; }
/* Espacio libre en el extremo del footer para la figura en reposo. */
.footer__bottom { padding-right: 120px; }
