/* Original image, layout, caption and all interactive DOM stay in place. */
/* Keep one stable compositing layer even during the still/reduced-motion state.
   Otherwise adding/removing a GPU sibling rerasterizes fixed edges and text. */
.art-frame { isolation: isolate; transform: translateZ(0); }
.bh-weave-canvas {
  position: absolute;
  inset: auto;
  contain: strict;
  display: block;
  pointer-events: none;
  opacity: 0;
}
/* The real image stays untouched. The canvas is transparent everywhere except
   the free tail and the narrow strip it uncovers. No full-image replacement. */
[data-bh-weave="active"] > .bh-weave-canvas { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  [data-bh-weave] > img { opacity: 1 !important; }
  [data-bh-weave] > .bh-weave-canvas { opacity: 0 !important; }
}
