/* Ink mask media: the print itself is an SVG filter that part.js writes (one per palette) and hands to the
   element as --ink-filter. --ink-post = extra CSS filters after the print (the source blurs its alt video 20px). */
.ink-mask { filter: var(--ink-filter) var(--ink-post,); }

/* canvas mode: the media keeps playing in its own box (so layout and playback observers stay intact) but is
   clipped to nothing; the printed canvas sits exactly over it (the source does the same on WebKit) */
.ink-mask--hidden { clip-path: inset(50%) !important; }

.ink-mask__surface {
  position: absolute;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
}
