/* Transmission layer: a fictional recording that is occasionally "intercepted" as part of the page BACKGROUND. No frame, border, controls or window.
   BEHIND all content, no pointer events, no layout impact (fixed, contained). The recording's black is true black and its edges fade to black inside
   the file (or, for a windows recording, through the soft mask below); mix-blend-mode:screen then adds only the lit parts onto the page, so the black
   disappears into the background and there is no rectangle. If a browser lacks mix-blend-mode the near-black recording still sits on the near-black
   page with soft, masked edges.
   Public pages: z-index 0, under <main> (z-index 1). Reader (#tx.rd): z-index -1, i.e. above the page background but under everything in the flow.
   data-mask="none": a pre-composed recording (the Interview) already carries its own soft edges and dark fragmented look, so no extra mask is applied.
   Reduced motion: the whole layer is removed. To disable: remove the #tx div and the tags that load this file and its scripts, or ?tx=off. */
#tx{position:fixed;left:0;top:0;width:100%;height:100vh;height:100lvh;z-index:0;overflow:hidden;pointer-events:none;contain:strict;
  mix-blend-mode:screen;opacity:0;visibility:hidden;transition:opacity .12s linear,visibility 0s linear .12s}
#tx.rd{z-index:-1}
#tx.on{opacity:var(--tx-o,.6);visibility:visible;transition:opacity .07s linear,visibility 0s}
#tx[hidden]{display:none}
#tx video{position:absolute;left:var(--tx-x,0px);top:var(--tx-y,0px);width:var(--tx-w,60vh);height:var(--tx-h,45vh);max-width:none;
  transform:translate3d(var(--tx-dx,0px),var(--tx-dy,0px),0) scale(var(--tx-s,1));transform-origin:50% 50%;object-fit:fill;background:#000;pointer-events:none;
  -webkit-mask-image:radial-gradient(ellipse 54% 58% at 50% 50%,#000 56%,transparent 100%);mask-image:radial-gradient(ellipse 54% 58% at 50% 50%,#000 56%,transparent 100%)}
#tx[data-mask="none"] video{-webkit-mask-image:none;mask-image:none}
/* data-fit="cover" (public pages): the recording takes over the WHOLE background: it fills the viewport edge to edge (cropped, never stretched).
   It sits ABOVE the page content but under the sticky header and the fixed controls (z 30-40), with screen blend, so only its lit parts add light
   and the page stays readable; it never takes a click, tap or scroll (pointer-events:none). A layer behind the opaque cover and cards was tested
   and is almost invisible on a phone, which is why a full-bleed recording is composited over the page instead. */
#tx[data-fit="cover"]{z-index:25}
#tx[data-fit="cover"] video{object-fit:cover;object-position:var(--tx-ox,50%) var(--tx-oy,50%)}
@media (prefers-reduced-motion:reduce){#tx{display:none}}
@media print{#tx{display:none}}
