/* Boat film player: every rule is scoped under .boat-film, so it cannot style the article and the article's own
   rules (at class or element specificity) cannot reach in. Fonts are named, never fetched. */
.boat-film {
  --ink: #123049;
  --muted: #5b7083;
  --accent: #0b7db8;
  --soft: #d6eaf3;
  --border: #dceaf2; --panel: #f6fafc; --ink-hover: #1d4566; --faint: #c3d7e3;   /* the essay visuals' strip tokens */
  --sans: Outfit, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: Newsreader, ui-serif, "Iowan Old Style", Georgia, "Times New Roman", serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s6: 24px; --s8: 32px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  display: block; margin: 0; padding: 0; border: 0; background: transparent;
  color: var(--ink); font: 400 15px/1.35 var(--sans); letter-spacing: normal; text-transform: none; text-align: left;
}
.boat-film *, .boat-film *::before, .boat-film *::after { box-sizing: border-box; }
/* element rules from the host page (p, li, button, figure ...) must not reach in: reset what they could set */
.boat-film :is(figure, div, p, ol, li, span, button, img, video, canvas) {
  text-transform: none; letter-spacing: normal; word-spacing: normal; text-indent: 0; text-shadow: none;
  float: none; min-width: 0; max-width: none;
}
.boat-film :is(figure, p, ol) { margin: 0; }

.boat-film .film-stage { position: relative; aspect-ratio: 16 / 9; background: #fff; overflow: hidden; margin: 0; padding: 0; }
.boat-film .film-stage video, .boat-film .film-stage .film-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block;
  margin: 0; border: 0; border-radius: 0; opacity: 0; pointer-events: none;
}
/* each video keeps its own compositor layer, so starting a fade costs no frame (measured: without it, a frame skipped ~5 frames into a fade) */
.boat-film .film-stage video { will-change: opacity; }
.boat-film .film-stage video.is-fading { transition: opacity var(--fade, 400ms) var(--fade-ease, var(--ease)); }
.boat-film.is-still .film-poster { opacity: 1; }

/* Lettering: lettering.js mounts one <canvas> here and draws the words on the water, driven by the video's own
   frame clock. Hidden at once when the reader jumps chapters, back in softly after the crossfade. */
.boat-film .film-letters { position: absolute; inset: 0; z-index: 100; pointer-events: none; transition: opacity 300ms var(--ease); }
.boat-film .film-letters.is-hidden { opacity: 0; transition: none; }

.boat-film .film-controls { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: var(--s6); row-gap: var(--s2); margin: var(--s2) 0 0; padding: 0; }
.boat-film .film-steps { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 3fr 4fr 4fr 4fr 5fr; column-gap: var(--s1); }

/* Back / "2 of 5" / Next: the essay visuals' control strip (round buttons, a 1px navy ring), at 44 px for touch.
   Next is filled while a chapter rests, so the way on is the strongest thing below the picture then; while a
   chapter plays it is outlined. The change is a slow colour fade, nothing moves. */
/* The buttons' 1px ring is a shadow, outside the layout box: 1px of margin and 4px of padding under the row keep
   it (and nothing else) inside the player's own box, so an iframe sized to the posted height never cuts it. */
.boat-film .film-nav { grid-column: 1; display: flex; align-items: center; gap: var(--s2); margin-left: 1px; }
.boat-film .film-controls { padding-bottom: var(--s1); }
.boat-film .film-nav button {
  appearance: none; margin: 0; border: 0; height: 44px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: 500 16px/1 var(--sans); color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--ink);
  transition: background-color 500ms var(--ease), color 500ms var(--ease), box-shadow 500ms var(--ease);
}
.boat-film .film-back { width: 44px; padding: 0; }
.boat-film .film-next { min-width: 104px; padding: 0 14px 0 20px; }
.boat-film .film-nav svg { display: block; flex: none; }
.boat-film .film-nav .film-icon-replay, .boat-film .film-nav .film-next.is-replay .film-icon-next { display: none; }
.boat-film .film-nav .film-next.is-replay .film-icon-replay { display: block; }
.boat-film .film-nav button:hover { background: var(--panel); }
@media (hover: none) { .boat-film .film-nav button:hover { background: #fff; } }   /* a tap leaves no sticky hover */
.boat-film.is-resting .film-next { background: var(--ink); color: #fff; }
.boat-film.is-resting .film-next:hover { background: var(--ink-hover); }
@media (hover: none) { .boat-film.is-resting .film-next:hover { background: var(--ink); } }
.boat-film .film-nav button:disabled { color: var(--faint); box-shadow: 0 0 0 1px var(--border); cursor: default; background: #fff; }
.boat-film .film-nav button:focus-visible { outline: 2px solid var(--accent); outline-offset: -5px; }   /* inside the ring */
.boat-film .film-nav button:focus:not(:focus-visible) { outline: none; }
.boat-film .film-count { min-width: 3.6em; text-align: center; font: 400 15px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); }
.boat-film.is-still .film-nav { display: none; }
.boat-film .film-steps > li { margin: 0; padding: 0; list-style: none; }
.boat-film .film-steps > li::before, .boat-film .film-steps > li::marker { content: none; }
.boat-film .film-step {
  appearance: none; border: 0; background: none; box-shadow: none; margin: 0; width: 100%; min-height: 0;
  padding: var(--s3) 0 var(--s2); text-align: left; cursor: pointer; color: var(--muted);
  font: 400 15px/1.35 var(--serif); letter-spacing: normal; text-transform: none; border-radius: 2px;
}
.boat-film .film-track { display: block; height: 2px; background: var(--soft); position: relative; overflow: hidden; }
.boat-film .film-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.boat-film.is-paused .film-fill { animation-play-state: paused; }
/* Progress line: a CSS animation started when the clip starts, so script never writes styles per frame. */
@keyframes boat-film-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.boat-film .film-name { display: block; margin-top: var(--s2); padding-right: var(--s2); transition: color 200ms var(--ease); }
.boat-film button.film-step:hover .film-name, .boat-film .film-step[aria-current="step"] .film-name { color: var(--ink); }
/* Reduced motion: the steps are a caption of the five chapters, not controls, with the poster's chapter current. */
.boat-film span.film-step { display: block; cursor: default; }
.boat-film .film-step:focus-visible, .boat-film .film-all:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.boat-film .film-step:focus:not(:focus-visible), .boat-film .film-all:focus:not(:focus-visible) { outline: none; }

.boat-film .film-current { display: none; grid-column: 1 / -1; margin: 0; padding: 0; font: 400 15px/1.35 var(--serif); color: var(--ink); }
.boat-film .film-all {
  appearance: none; border: 0; background: none; box-shadow: none; margin: 0; cursor: pointer;
  grid-column: 2; padding: 0; min-height: 44px; font: 400 14px/1.35 var(--sans); color: var(--accent);
  font-variant-numeric: tabular-nums; white-space: nowrap; border-radius: 2px; letter-spacing: normal; text-transform: none;
}
.boat-film .film-all span { color: var(--muted); margin-left: var(--s1); }
.boat-film .film-all:hover { color: var(--ink); }
.boat-film.is-still .film-all { display: none; }
.boat-film.is-still .film-controls { grid-template-columns: 1fr; }

.boat-film .film-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Narrow (the player's own width, not the window's): the five names do not fit, so steps become bare
   segments and the current name shows below. A container query, so the inline embed and the iframe agree. */
.boat-film { container-type: inline-size; container-name: boat-film; }
@container boat-film (max-width: 600px) {
  .boat-film .film-step { padding: 21px 0; }   /* 44 px tall tap targets */
  .boat-film .film-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
  .boat-film .film-current { display: block; }
}

/* ---------------------------------------------------------------------------------------------------------------
   The strip as a voyage (.is-chart). One fine course line across the width; five waypoints at the chapters' rest
   times; the part sailed in ink, the rest faint. Position is one warm point, the lamp (the film's rule: warm light
   comes only from the boat lamps), driven by the film clock so it slows into its waypoint with the picture.
   Names are set like chart lettering, Newsreader italic lowercase, ending under their waypoints. Back and Next are
   fine chevrons with no boxes; Next darkens and its stroke thickens while a chapter rests, slowly, nothing moves.
   Geometry: every control is 44 px tall and the line runs through their middle (y 22), so marks and hit areas share
   one baseline. The hairline is 1 CSS px at a whole-pixel offset, crisp at 1x and 2x. */
.boat-film.is-chart { --line: #cfdde7; --quiet: #7a90a1; --lamp: #e48f3c; --lamp-halo: rgba(255, 199, 140, .55); }
.boat-film .film-voyage { grid-column: 1 / -1; position: relative; }
.boat-film:not(.is-chart) .film-line, .boat-film:not(.is-chart) .film-sailed, .boat-film:not(.is-chart) .film-lamp { display: none; }
.boat-film.is-chart .film-controls {
  grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "back voyage next" "back voyage all";
  grid-template-rows: 44px auto; column-gap: var(--s2); row-gap: 0; align-items: start; margin-top: var(--s3); padding-bottom: var(--s1);
}
.boat-film.is-chart .film-voyage { grid-area: voyage; }
.boat-film.is-chart .film-nav { display: contents; }
.boat-film.is-chart .film-count { display: none; }
.boat-film.is-chart .film-back { grid-area: back; }
.boat-film.is-chart .film-next { grid-area: next; }
.boat-film.is-chart .film-all { grid-area: all; justify-self: end; align-self: start; min-height: 0; padding: var(--s1) 6px var(--s2); font-size: 13px; color: var(--quiet); }
.boat-film.is-chart .film-all span { color: var(--quiet); }
.boat-film.is-chart .film-all:hover, .boat-film.is-chart .film-all:hover span { color: var(--ink); }
.boat-film.is-chart .film-current { grid-area: current; }

/* the line, the part sailed, the lamp */
.boat-film.is-chart .film-line, .boat-film.is-chart .film-sailed { position: absolute; left: 0; top: 22px; height: 1px; pointer-events: none; }
.boat-film.is-chart .film-line { right: 0; background: var(--line); }
.boat-film.is-chart .film-sailed { width: calc(var(--sailed, 0) * 100%); background: var(--ink); }
.boat-film.is-chart .film-lamp {
  position: absolute; top: 19px; left: calc(var(--sailed, 0) * 100%); width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%;
  background: var(--lamp); box-shadow: 0 0 0 2px #fff, 0 0 7px 3px var(--lamp-halo); pointer-events: none; z-index: 2;
}
/* waypoints and names: each step is its segment of the line (a 44 px band over the line, the name under it) */
.boat-film.is-chart .film-steps { column-gap: 0; }
.boat-film.is-chart .film-step { position: relative; padding: 36px 0 var(--s1); min-height: 44px; }
.boat-film.is-chart .film-track { display: none; }
.boat-film.is-chart .film-step::after {
  content: ''; position: absolute; right: -3px; top: 19.5px; width: 6px; height: 6px; border-radius: 50%; box-sizing: border-box;
  background: #fff; border: 1px solid var(--line); transition: background-color 600ms var(--ease), border-color 600ms var(--ease); z-index: 1;
}
.boat-film.is-chart .film-step.is-passed::after { background: var(--ink); border-color: var(--ink); }
.boat-film.is-chart .film-step[aria-current="step"]::after { border-color: var(--ink); }
.boat-film.is-chart .film-name {
  margin: 0; padding: 0 0 0 var(--s2); text-align: right; font: italic 400 14px/1.3 var(--serif); text-transform: lowercase;
  color: var(--quiet); transition: color 600ms var(--ease); text-wrap: balance;
}
.boat-film.is-chart button.film-step:hover .film-name, .boat-film.is-chart .film-step[aria-current="step"] .film-name { color: var(--ink); }
.boat-film.is-chart .film-step:focus-visible { outline: none; }
.boat-film.is-chart .film-step:focus-visible::after { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--accent); }
.boat-film.is-chart .film-step:focus-visible .film-name { color: var(--ink); }

/* Back and Next: fine strokes, no boxes. The hit area is the full 44 px box; only the mark is drawn. */
.boat-film.is-chart .film-nav button {
  height: 44px; background: none; box-shadow: none; border-radius: 2px; color: var(--quiet);
  transition: color 700ms var(--ease);
}
.boat-film.is-chart .film-nav button:hover { background: none; color: var(--ink); }
.boat-film.is-chart .film-nav svg path { stroke-width: 1.25; transition: stroke-width 700ms var(--ease); }
.boat-film.is-chart .film-back { width: 44px; justify-content: flex-end; padding: 0; }
.boat-film.is-chart .film-back svg { margin-right: -2px; }
.boat-film.is-chart .film-back:disabled { color: var(--line); background: none; box-shadow: none; }
.boat-film.is-chart .film-next { min-width: 0; padding: 0 0 0 var(--s3); gap: 2px; font: italic 400 17px/1 var(--serif); text-transform: lowercase; }
.boat-film.is-chart .film-next-label { padding-bottom: 2px; text-transform: lowercase; }
.boat-film.is-chart.is-resting .film-next, .boat-film.is-chart.is-resting .film-next:hover { background: none; color: var(--ink); }
.boat-film.is-chart.is-resting .film-next svg path { stroke-width: 1.8; }
.boat-film.is-chart .film-nav button:focus-visible { outline: 1.5px solid var(--accent); outline-offset: -3px; }
@media (hover: none) { .boat-film.is-chart .film-nav button:hover { color: var(--quiet); } .boat-film.is-chart.is-resting .film-next:hover { color: var(--ink); } }

/* reduced motion: the voyage is sailed, the lamp rests on the last waypoint; no controls */
.boat-film.is-chart.is-still .film-controls { grid-template-columns: minmax(0, 1fr); grid-template-areas: "voyage"; grid-template-rows: auto; }

@container boat-film (max-width: 600px) {
  .boat-film.is-chart .film-controls { grid-template-areas: "back voyage next" ". current all"; column-gap: var(--s1); }
  .boat-film.is-chart .film-step { padding: 0; height: 44px; min-height: 44px; }
  .boat-film.is-chart .film-current { display: block; padding: 2px 0 0; font: italic 400 15px/1.3 var(--serif); text-transform: lowercase; color: var(--ink); align-self: start; }
  .boat-film.is-chart .film-all { padding-top: 4px; }
  .boat-film.is-chart.is-still .film-controls { grid-template-areas: "voyage" "current"; }
}
.boat-film.is-chart.is-still .film-nav, .boat-film.is-chart.is-still .film-back, .boat-film.is-chart.is-still .film-next { display: none; }
.boat-film.is-chart.is-still .film-voyage { margin: 0 4px; }   /* the end waypoints are drawn 3 px past their segments */
.boat-film.is-chart .film-current { font-style: italic; text-transform: lowercase; }   /* chart lettering at every width (shown only when narrow) */

/* ---------------------------------------------------------------------------------------------------------------
   Candidate strips ?strip=a | b | c (.is-v). One spacing unit, --u (12 px): picture to strip, line to names,
   names to "play all". One type family: the film's italic. The line is a chapter index: equal waypoints. */
.boat-film.is-v { --u: 12px; --name: 17px; }
.boat-film.is-v .film-line, .boat-film.is-v .film-sailed, .boat-film.is-v .film-lamp, .boat-film.is-v .film-step::after { display: none; }
.boat-film.is-v .film-controls {
  grid-template-columns: 44px minmax(0, 1fr) 44px; grid-template-areas: "back voyage next" ". all all"; grid-template-rows: auto auto;
  column-gap: var(--u); margin-top: var(--u); padding-bottom: var(--s1); align-items: start;
}
.boat-film.is-v .film-current { display: none !important; }
.boat-film.is-v .film-course { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 1; }
.boat-film.is-v .film-course path { fill: none; stroke-width: 1; stroke-linecap: round; }
.boat-film.is-v .c-base { stroke: var(--line); }
.boat-film.is-v .c-sailed { stroke: var(--ink); }
.boat-film.is-v .c-head { stroke: var(--quiet); stroke-linejoin: round; transition: stroke 700ms var(--ease), stroke-width 700ms var(--ease); }
.boat-film.is-v .c-wps circle { fill: #fff; stroke: var(--line); stroke-width: 1; transition: fill 600ms var(--ease), stroke 600ms var(--ease); }
.boat-film.is-v .c-wps circle.is-passed { fill: var(--ink); stroke: var(--ink); }
.boat-film.is-v .c-lamp { fill: var(--lamp); stroke: #fff; stroke-width: 2; paint-order: stroke; }
.boat-film.is-v .c-halo { fill: var(--lamp-halo); opacity: .55; }
/* steps: equal columns; each is a 44 px band over the line, the name one unit under it */
.boat-film.is-v .film-steps { position: relative; z-index: 2; }
.boat-film.is-v .film-step { display: flex; justify-content: center; padding: calc(22px + var(--u)) 0 0; min-height: 44px; overflow: visible; }
.boat-film.is-v .film-name { padding: 0; text-align: center; white-space: nowrap; font: italic 400 var(--name)/24px var(--serif); text-wrap: nowrap; }
.boat-film.is-v.is-tight .film-step:not([aria-current="step"]) .film-name { display: none; }
.boat-film.is-v.is-tight .film-step[aria-current="step"] .film-name { font-size: 19px; }
/* arrows: long fine shafts in the course's hairline; Back quiet, Next in ink at rest */
.boat-film.is-v .film-nav svg:not(.film-arrow) { display: none; }
.boat-film.is-v .film-next-label { display: none; }
.boat-film.is-v .film-back, .boat-film.is-v .film-next { width: 44px; padding: 0; justify-content: center; }
.boat-film.is-v .film-arrow { display: block; width: 44px; height: 20px; }
.boat-film.is-v .film-arrow path { stroke-width: 1.1; transition: stroke-width 700ms var(--ease); }
.boat-film.is-v.is-resting .film-next .film-arrow path { stroke-width: 1.6; }
.boat-film.is-v .film-next.is-replay .film-arrow { display: none; }
.boat-film.is-v .film-next.is-replay .film-icon-replay { display: block; }
.boat-film.is-v .film-next.is-replay .film-icon-replay path { stroke-width: 1.3; }
/* play all: the same italic and colour system, one unit under the names, at the course's right end */
.boat-film.is-v .film-all { grid-area: all; justify-self: end; padding: var(--u) 0 var(--s1); font: italic 400 15px/1.3 var(--serif); text-transform: lowercase; color: var(--quiet); min-height: 0; }
.boat-film.is-v .film-all span { margin-left: 6px; color: var(--quiet); font-variant-numeric: tabular-nums; }

/* B: the line carries no labels; the current name alone, large, under the lamp, cross-fading on change */
.boat-film.strip-b .film-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.boat-film.strip-b .film-step { padding: 0; height: 44px; }
.boat-film.strip-b .film-tag {
  position: relative; display: inline-block; left: var(--lamp-x, 0px); transform: translateX(-50%); margin: calc(var(--u) - 22px) 0 0;
  white-space: nowrap; font: italic 400 20px/28px var(--serif); text-transform: lowercase; color: var(--ink); pointer-events: none;
  transition: opacity 320ms var(--ease);
}
.boat-film.strip-b .film-tag.is-out { opacity: 0; }

/* C: the course turns after "the vision" and ends in the arrowhead, which is the Next control */
.boat-film.strip-c .film-controls { grid-template-areas: "back voyage voyage" ". all all"; }
.boat-film.strip-c .film-next { grid-area: 1 / 3 / 2 / 4; z-index: 3; align-self: start; }
.boat-film.strip-c .film-next .film-arrow { visibility: hidden; }
.boat-film.strip-c.is-resting .c-head { stroke: var(--ink); stroke-width: 1.6; }
.boat-film.strip-c .film-next.is-replay ~ * { }
.boat-film.strip-c.is-last .c-head { display: none; }

.boat-film.is-v.is-still .film-controls { grid-template-columns: minmax(0, 1fr); grid-template-areas: "voyage"; }
.boat-film.is-v.is-still .film-voyage { margin: 0 4px; }
@container boat-film (max-width: 600px) {
  .boat-film.is-v .film-controls { column-gap: var(--s1); grid-template-areas: "back voyage next" ". all all"; }
  .boat-film.strip-c .film-controls { grid-template-areas: "back voyage voyage" ". all all"; }
  .boat-film.is-v .film-step { padding-top: calc(22px + var(--u)); height: auto; }
  .boat-film.strip-b .film-step { padding: 0; height: 44px; }
}
@container boat-film (max-width: 600px) {
  .boat-film.is-v:not(.strip-b) .film-name { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin: 0; }
}
/* names centred on their waypoints, whatever their width (a nowrap name in a flex button overflows only rightward) */
.boat-film.is-v:not(.strip-b) .film-step { position: relative; display: block; height: calc(22px + var(--u) + 24px); padding: 0; }
.boat-film.is-v:not(.strip-b) .film-step .film-name { position: absolute; left: 50%; top: calc(22px + var(--u)); transform: translateX(-50%); width: max-content; }
@container boat-film (max-width: 600px) {
  .boat-film.is-v:not(.strip-b) .film-step { height: calc(22px + var(--u) + 24px); padding: 0; }
  .boat-film.is-v:not(.strip-b) .film-step .film-name { position: absolute; width: max-content; height: auto; clip: auto; overflow: visible; }
}

/* C: waypoints and their tap areas stop one unit short of the arrowhead, so a tap on chapter 5 never lands on Next */
.boat-film.strip-c .film-steps { margin-right: calc(44px + var(--u)); }

/* Before the first click (.is-waiting): the film shows chapter 1's first frame, still. The invitation is C's own Next,
   the arrowhead at the course's end, in ink at full weight, with "begin" set beneath it like a chart name. */
.boat-film.is-chart.is-waiting .film-nav .film-next, .boat-film.is-waiting .film-next { color: var(--ink); }
.boat-film.is-v.is-waiting .film-next .film-arrow path { stroke-width: 1.6; }
.boat-film.strip-c.is-waiting .c-head { stroke: var(--ink); stroke-width: 1.6; }
.boat-film.strip-c.is-waiting .film-next {
  grid-area: 1 / 3 / 3 / 4; height: calc(22px + var(--u) + 24px); width: auto; min-width: 44px;
  flex-direction: column; align-items: flex-end; justify-content: flex-end; padding: 0;
}
.boat-film.strip-c.is-waiting .film-next-label { display: block; padding: 0; font: italic 400 17px/24px var(--serif); color: var(--ink); white-space: nowrap; }
.boat-film.strip-c.is-waiting .film-next .film-arrow { display: none; }

.boat-film .film-play { position: absolute; z-index: 101; right: 24px; bottom: 24px; width: 56px; height: 56px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(10, 18, 44, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9), 0 10px 30px -8px rgba(2, 6, 20, .5); transition: background-color 200ms var(--ease), transform 300ms var(--ease); }
.boat-film .film-play svg { width: 32%; height: 32%; }
.boat-film .film-play .film-icon-play { transform: translateX(7%); }
.boat-film .film-play .film-icon-pause, .boat-film.is-playing-all .film-play .film-icon-play { display: none; }
.boat-film.is-playing-all .film-play .film-icon-pause { display: block; }
.boat-film .film-play:focus-visible { outline: 2px solid #0b7db8; outline-offset: 3px; }
.boat-film .film-play:active { transform: scale(.96); transition-duration: 100ms; }
@media (hover: hover) and (pointer: fine) { .boat-film .film-play:hover { background-color: rgba(10, 18, 44, .82); transform: scale(1.06); } }
.boat-film.is-still .film-play { display: none; }
@container boat-film (max-width: 600px) { .boat-film .film-play { right: 12px; bottom: 12px; width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .boat-film .film-play { transition: none; } }
.boat-film .film-stage { --film-fade: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .14) 3%, rgba(0, 0, 0, .5) 7%, rgba(0, 0, 0, .86) 11%, #000 14%, #000 86%, rgba(0, 0, 0, .86) 89%, rgba(0, 0, 0, .5) 93%, rgba(0, 0, 0, .14) 97%, transparent 100%), linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .14) 3.5%, rgba(0, 0, 0, .5) 8%, rgba(0, 0, 0, .86) 12%, #000 15%, #000 89%, rgba(0, 0, 0, .86) 91.5%, rgba(0, 0, 0, .5) 95%, rgba(0, 0, 0, .14) 98%, transparent 100%), radial-gradient(ellipse 64% 70% at 50% 50%, #000 78%, transparent 100%); }
.boat-film .film-stage :is(video, .film-poster) {
  -webkit-mask-image: var(--film-fade); -webkit-mask-composite: source-in;
  mask-image: var(--film-fade); mask-composite: intersect;
}
