/* Only containers explicitly configured with Watson Bunny are affected. */
.watson-bunny-host { isolation: isolate; }
.watson-bunny-static { position: relative; }
.watson-bunny-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  container-type: size;
}
.watson-bunny-layer > iframe {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100cqw, calc(100cqh * var(--watson-bunny-ratio, 1.77777778)));
  height: max(100cqh, calc(100cqw / var(--watson-bunny-ratio, 1.77777778)));
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  transform: translate(-50%, -50%);
  border: 0;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.watson-bunny-layer > iframe.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .watson-bunny-layer { display: none; } }
