/* wait-live.css - the editor's real work on the Editing screen (web/wait-live.js; Grady, 2026-10-09 02:34: "make this screen show the
   actual screenshots of what the editor is doing, like assembling the videos timeline and adding captions and synking the cuts the to
   the music"). Every piece sits at its own --x (and --w) in % of its row, set by the script; every move is transform or opacity and
   plays once, as the piece arrives (--i is its turn): the picked moments light up on his clips, the shots slide down onto the video's
   timeline, the hits tick in, the words appear; a shot made gets its yellow line. Reduce motion: the same picture, standing still. */
.wl { margin: 10px 0 12px; padding: 10px 14px 12px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.wl-label { margin: 0 0 4px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.wl-row { position: relative; height: 38px; }
.wl i { font-style: normal; }
.wl-row > i, .wl-ticks > i, .wl-words > i { position: absolute; left: calc(var(--x) * 1%); }
.wl-takes { margin-bottom: 8px; }

/* his clips: film strips, as wide as their share of what he filmed */
.wl-strip { top: 5px; bottom: 5px; width: calc(var(--w) * 1%); border-radius: 6px; background: #0d0d0d; }
.wl-strip::before, .wl-strip::after { content: ""; position: absolute; left: 4px; right: 4px; height: 3px; opacity: .55;
  background: repeating-linear-gradient(90deg, var(--cream) 0 3px, transparent 3px 7px); }
.wl-strip::before { top: 3px; }
.wl-strip::after { bottom: 3px; }
/* a moment the editor picked: his frame, ringed in yellow, lighting up one after another */
.wl-pick { top: 0; width: 22px; height: 38px; margin-left: -11px; border-radius: 5px; overflow: hidden; background: var(--yellow);
  box-shadow: 0 0 0 2px var(--yellow); animation: wl-light .45s var(--ease-out) calc(var(--i) * 45ms) backwards; }
.wl-pick img, .wl-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* the video: each shot slides down onto its place; a cut on the song's hit has a yellow tick; a shot made, its yellow line */
.wl-reel { border-radius: 6px; background: var(--line); }
.wl-cut .wl-reel { background: none; }
.wl-shot { top: 0; bottom: 0; width: calc(var(--w) * 1%); background: #0d0d0d; box-shadow: -1px 0 0 var(--surface);
  animation: wl-slide .5s var(--ease-out) calc(350ms + var(--i) * 45ms) backwards; }
.wl-shot img { opacity: .5; transition: opacity .3s var(--ease-out); }
.wl-shot.made img { opacity: 1; }
.wl-shot::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; background: var(--yellow);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.wl-shot.made::after { transform: none; }
.wl-beat-on::before { content: ""; position: absolute; z-index: 1; left: -1px; top: -5px; bottom: -5px; width: 2px; border-radius: 1px; background: var(--yellow); }

/* the song's hits under it, the drop taller; the words where they are said (a dot where a label would sit on another) */
.wl-ticks { position: relative; height: 10px; margin-top: 10px; }
.wl-tick, .wl-drop { top: 0; width: 2px; height: 7px; margin-left: -1px; border-radius: 1px; background: var(--cyan);
  animation: wl-in .3s var(--ease-out) 700ms backwards; }
.wl-drop { width: 3px; height: 10px; background: var(--orange); }
.wl-words { position: relative; height: 16px; margin-top: 4px; }
.wl-word { top: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 2px; background: var(--muted);
  animation: wl-in .3s var(--ease-out) calc(900ms + var(--i) * 25ms) backwards; }
.wl-said { top: 0; width: auto; height: auto; margin-left: 0; background: none; font-size: .68rem; font-weight: 700; line-height: 16px;
  white-space: nowrap; color: var(--ink); }

@keyframes wl-light { from { opacity: 0; transform: scale(.5); } }
@keyframes wl-slide { from { opacity: 0; transform: translateY(-52px); } }
@keyframes wl-in { from { opacity: 0; transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .wl * { animation: none !important; transition: none !important; } }
