/* "Watch the flow" inside the stage (flow-film.js): the film's frame over the body, its close button, and the film's
   controls drawn into the side dock (meridian-flow.html ?dock=1) in place of the points panel. */
.stage .flow-in { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 6; background: #090b12; }
.stage .flow-in-x { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 7; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #1b1f27cc; color: #fff; font-size: 18px; cursor: pointer; }
.stage .flow-in-x:hover { background: #1b1f27; }

#flowDock { display: flex; flex-direction: column; gap: 18px; }
#flowDock[hidden] { display: none; }
#flowDock h1 { margin: 0; font-size: 18px; } #flowDock h1 small { display: block; margin-top: 2px; font-weight: 500; font-size: 13px; color: var(--muted); }
#flowDock .k { margin: 0 0 6px; font: 700 10.5px "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
#flowDock .seg { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: #eef0f4; }
#flowDock .seg button { flex: 1; min-height: 40px; border: 0; background: none; border-radius: 9px; font: 700 13px "Plus Jakarta Sans", system-ui, sans-serif; color: var(--muted); cursor: pointer; }
#flowDock .seg button[aria-checked="true"] { background: #fff; color: var(--indigo); box-shadow: 0 1px 3px #14182122; }
#flowDock .range .k { display: block; }
#flowDock .range .ends { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11.5px; }
#flowDock .range input { flex: 1; width: 0; min-width: 0; height: 28px; accent-color: var(--indigo); }
#flowDock .check { display: flex; align-items: center; gap: 10px; min-height: 40px; margin: 0; padding: 0; font-weight: 700; font-size: 13px; cursor: pointer; }
#flowDock .check input { width: 18px; height: 18px; accent-color: var(--indigo); }
#flowDock .ring { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
#flowDock .ring li { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 4px 8px; border-radius: 6px; font-size: 13px; color: var(--muted); overflow: hidden; }
#flowDock .ring li i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: var(--c); opacity: .22; }
#flowDock .ring li.on { color: var(--ink); font-weight: 700; }
#flowDock .ring li span { position: relative; }
[dir="rtl"] #flowDock .ring li span:last-child { direction: ltr; unicode-bidi: isolate; } /* clock times read left to right */
