/*
 * transcript-follow.css — visual highlight for the active transcript
 * line as the video plays. Only styles the .is-follow-active class
 * added/removed by app/static/js/transcript-follow.js. Designed to
 * compose with the existing search-highlight classes without
 * overriding them: the search ring stays more prominent.
 *
 * MVP2.0 item #2: the only style we need now is the highlight itself
 * (the active line). The MVP1.1 experiment also had a dropdown
 * styling and per-mode colors; both are gone.
 */
.transcript-line.is-follow-active {
    background-color: rgba(99, 102, 241, 0.12); /* indigo-500 @ 12% */
    box-shadow: inset 3px 0 0 0 rgb(99, 102, 241); /* left accent bar */
    transition: background-color 200ms ease, box-shadow 200ms ease;
}
.dark .transcript-line.is-follow-active {
    background-color: rgba(129, 140, 248, 0.18); /* indigo-400 @ 18% */
    box-shadow: inset 3px 0 0 0 rgb(129, 140, 248);
}

/* When the search-match ring AND the follow-active bar are both on
 * the same line, keep the search ring dominant. */
.transcript-line.is-follow-active.ring-2 {
    box-shadow: inset 3px 0 0 0 rgb(99, 102, 241), 0 0 0 2px rgb(129, 140, 248);
}
