/* Our film, played on the page (film.js). The browser's own player keeps its bar up for
   several seconds and can't be told otherwise, so this one draws its own: a thin progress line and a
   close button that fade out one second after the last touch or mouse move, and stay up while paused.
   An external file (not the inline <style>) so the front door's CSP hash for that block is unchanged. */
.film-open { overflow: hidden; }
.film { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; }
.film[hidden] { display: none; }
/* Sized to the screen itself, not 100% of the grid cell: a grid row that sizes to its content gives a
   percentage height nothing to resolve against, so a portrait film (the 20-second sending one) came out
   at its own 1280 px height and ran off the bottom of a computer screen. */
.film video { width: 100vw; height: 100vh; height: 100dvh; object-fit: contain; background: #000; cursor: pointer; }
.film .film-ui { transition: opacity .35s ease; }
.film.idle .film-ui { opacity: 0; pointer-events: none; }
.film.idle video { cursor: none; }
.film-close { position: absolute; top: 16px; right: 16px; width: 56px; height: 56px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.95); color: #1b2233; font: 700 1.6rem/1 system-ui, sans-serif; cursor: pointer; }
.film-close:focus-visible, .film-big:focus-visible { outline: 3px solid #ffd84d; outline-offset: 3px; }
.film-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); min-width: 96px; height: 96px;
  padding: 0 28px; border-radius: 48px; border: 0; background: rgba(255,255,255,.95); color: #1b2233;
  font: 700 1.25rem/1 system-ui, sans-serif; cursor: pointer; display: none; }
.film.paused .film-big { display: block; }
.film-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(255,255,255,.25); }
.film-bar i { display: block; height: 100%; width: 100%; background: #ffd84d; transform-origin: left; transform: scaleX(0); }
@media (prefers-reduced-motion: reduce) { .film .film-ui { transition: none; } }

/* The Play pill on every film poster is near-white in both themes, so its words and its circle keep the
   fixed dark ink. Following --ink, they went pale in dark mode and the words vanished into the pill. */
.poster .play { color: var(--ink-fixed); }
.poster .play i { background: var(--ink-fixed); }
