/* hover scrub on Shorts: a player-style bar along the bottom edge */
.scrub {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 4px;
  height: 4px;
  opacity: 0; pointer-events: none;
  transition: opacity .15s var(--ease);
}
.scrub i { background: rgba(255, 255, 255, .45); }
.scrub i.on { background: #fff; }
.is-scrub .scrub { opacity: 1; }

/* flow: the connector fills like a timeline; numbers light up when it reaches them */
.flow__step::after {
  content: ""; position: absolute; left: 44px; right: 0; top: 21px;
  height: 2px; background: var(--blue);
  transform-origin: left center; transform: scaleX(var(--seg, 0));
}
.flow__step:last-child::after { display: none; }
.flow--live .flow__no {
  background: #fff; color: var(--sub);
  box-shadow: inset 0 0 0 2px var(--track);
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.flow--live .flow__step.is-reached .flow__no { background: var(--blue); color: #fff; box-shadow: inset 0 0 0 2px var(--blue); }

@media (max-width: 1080px) {
  .flow__step:nth-child(3)::after { display: none; }
}
@media (max-width: 860px) {
  .flow__step::after {
    left: 21px; right: auto; top: 44px; bottom: 0;
    width: 2px; height: auto;
    transform-origin: center top; transform: scaleY(var(--seg, 0));
  }
  .flow__step:nth-child(3)::after { display: block; }
  .flow__step:last-child::after { display: none; }
}
