/*
  The highlight media already fills its frame with object-fit: cover. The former
  1 px orange border sat outside the video content box and read as a bright
  horizontal seam on dark frames, especially above the mobile section gap.
*/
.highlight-stage {
  border: 0;
}

.highlight-progress {
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.highlight-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #f47a20, #ffb45e);
  box-shadow: 0 0 14px rgba(244, 122, 32, 0.72);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .highlight-progress > span {
    will-change: auto;
  }
}
