/* Review queue tile: real muted looping video, no layout inflation. */
.w-vid,
.w-vid[data-astro-cid-rcyrgvg2] {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #121212;
  display: block;
}
.w-vid-poster,
.w-vid-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 14px;
}
.w-vid-poster { z-index: 0; }
.w-vid-media { z-index: 1; }
.w-vid.is-static .w-vid-media {
  opacity: 0;
  pointer-events: none;
}

/* Small pause/play control, corner overlay (same idea as the library pause chip). */
.w-vid-toggle {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 0;
  appearance: none;
  -webkit-appearance: none;
}
.w-vid-toggle:hover,
.w-vid-toggle:focus-visible {
  background: rgba(0, 0, 0, 0.78);
  outline: none;
}
.w-vid-toggle:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #ffb74a;
}
/* Pause: two bars */
.w-vid-icon {
  display: block;
  width: 8px;
  height: 9px;
  box-sizing: border-box;
  border-left: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
}
/* Play triangle when paused */
.w-vid-toggle.is-paused .w-vid-icon {
  width: 0;
  height: 0;
  border: 0;
  border-left: 7px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .w-vid .w-vid-media {
    opacity: 0;
    pointer-events: none;
  }
}
