/* Shared dog. Origins are the image pixels (694, 432) and (692, 282) in the 1024×768 view. */
.dog { position: relative; }
.dog > img { display: block; width: 100%; height: auto; }
.dog > .ink {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.dog-tongue,
.dog-ear { transform-box: view-box; }
.dog-tongue {
  transform-origin: calc(694 / 1024 * 100%) calc(432 / 768 * 100%);
  animation: dog-pant 0.6s ease-in-out infinite;
}
.dog-ear { transform-origin: calc(692 / 1024 * 100%) calc(282 / 768 * 100%); }
@keyframes dog-pant {
  0%, 100% { transform: scaleY(1) rotate(0deg); }
  50% { transform: scaleY(1.14) rotate(2deg); }
}
.dog.is-off .dog-tongue,
.dog.is-oops .dog-tongue { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .dog-tongue { animation: none; transform: none; }
  .dog-ear { transform: none; }
}
