[data-foley] { cursor: pointer; }
[data-foley] video { width: 100%; display: block; pointer-events: none; }
[data-foley].foley-playing video {
  outline: 2px solid #ab5631;
  outline-offset: -2px;
}
[data-foley].foley-playing:has(video)::after {
  content: "";
  position: absolute;
  height: max(2px, .25rem);
  left: 0;
  bottom: 0;
  width: var(--take-played, 0%);
  max-width: 100%;
  background: #e9a345;
  pointer-events: none;
}
