/* The passages between stops (the footage round's code, 2026-10-21; js/passages.js). The frame lies over the scene,
   where a film's full frame would be, and under the overlay; the panel holds only Skip, with no shade, since a passage
   has no words. */
.passage { position: absolute; left: var(--scene-x); top: var(--scene-y); width: var(--scene-w); height: var(--scene-h); z-index: 4; overflow: hidden; background: #000; pointer-events: none; contain: layout paint; }
.passage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* a clip that was not ready in time: its still stands in for it, over the clips (the site build of 2026-11-15) */
.passage .passage-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html.narrow .passage { left: 0; top: 0; }
.panel.passage-panel { justify-content: flex-end; }
.panel.passage-panel::before { display: none; }
.passage-row { display: flex; justify-content: flex-end; align-items: center; }
.passage-skip { min-width: 112px; }
html.narrow .panel.passage-panel { padding-top: 12px; }
/* a phone (the site build of 2026-11-15, D-134; the site review's item 5: "the opening and every passage between stops
   play in that strip, with a Skip button and more than half of the screen black below"): the passage fills the window
   under the bar, its clip whole across the width a little above the middle, its own light softened around it (a small
   canvas, js/soft.js, stretched, at half strength over the black), and Skip at the window's foot */
.passage .passage-soft { display: none; }
html.narrow .passage { position: fixed; width: 100%; height: 100vh; height: 100dvh; }
html.narrow .passage video, html.narrow .passage .passage-still { top: calc(50% - 14px); bottom: auto; height: auto; aspect-ratio: 16 / 9; transform: translateY(-50%); }
html.narrow .passage .passage-soft { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.5; }
.passage .passage-soft.soft-css { filter: blur(14px); }
html.narrow .panel.passage-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }

/* The room's answer to a choice (the site build of 2026-11-15, D-134; js/stops/fork.js): its own layer over the scene,
   where a passage's is, under the overlay; the stop's words stay over its foot, on their scrim. It waits clear until
   its first picture is ready, so the room shows until then. */
.answer { position: absolute; left: var(--scene-x); top: var(--scene-y); width: var(--scene-w); height: var(--scene-h); z-index: 4; overflow: hidden; background: rgb(var(--chrome-rgb)); pointer-events: none; contain: layout paint; }
.answer.waiting { opacity: 0; }
/* (its picture may be lifted clear of the words, js/stops/fork.js placeAnswer: what shows under its lower edge is the
   words' own shade, in the shade's colour; a later change of the lift, when the words grow, is eased) */
.answer video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
html.reduced .answer video, .answer.waiting video { transition: none; }
html.narrow .answer { left: 0; top: 0; }
/* a phone held sideways ("side", the held items of 2026-11-15, D-135; js/main.js): the passage covers the whole window,
   its clip across the width (cropped a little top and bottom), Skip at the window's foot on the right */
html.side .passage { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100dvh; }
html.side .panel.passage-panel { left: auto; right: 0; width: auto; padding: 12px max(16px, env(safe-area-inset-right, 0px)) 12px 16px; }
