/*
 * Hover-to-play exercise clips. The element is created and positioned by
 * components/hover-video.js; this file only owns the visual fade so the swap
 * from still image to motion reads smoothly. Layout/size are set inline.
 */
.iw-hover-video {
    display: block;
    background: transparent;
    pointer-events: none;       /* clicks fall through to the link beneath */
    opacity: 0;
    z-index: 2;                 /* sit above the still, below modals/tooltips */
    transition: opacity 0.18s ease-in;
}

.iw-hover-video.is-playing {
    opacity: 1;
}

/*
 * Touch-only "Details" pill: a small link to the full how-to page, shown along
 * the bottom edge of a playing clip so tapping the illustration can play it
 * without stranding the user. Sized/positioned inline by the script.
 */
.iw-hover-details {
    z-index: 3;
    box-sizing: border-box;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    padding: 3px 0;
    color: #fff;
    text-decoration: none;
    background: rgba(17, 24, 39, 0.72);
    border-radius: 0 0 6px 6px;
}

.iw-hover-details::after {
    content: " \2192";  /* → */
}

