/**
 * Reelfeed video cards — styling counterpart to assets/js/feed-video.js.
 * Everything here only affects the injected <video> and its mute button;
 * base card/image layout lives in screen.css and is untouched by this file.
 */
.feed-item__media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feed-item__play-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(8, 8, 10, 0.45);
    color: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.85);
    transition: opacity 200ms ease, transform 200ms ease;
}
.feed-item__play-pulse.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.feed-item__play-pulse svg { width: 30px; height: 30px; }
.feed-item__play-pulse .icon-play,
.feed-item__play-pulse .icon-pause { display: none; }
.feed-item__play-pulse.is-play .icon-play { display: block; }
.feed-item__play-pulse.is-pause .icon-pause { display: block; }
.feed-item__mute {
    position: absolute;
    right: 14px;
    bottom: 24px;
    z-index: 5;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(8, 8, 10, 0.45);
    color: var(--paper);
    cursor: pointer;
}
.feed-item__mute svg { width: 20px; height: 20px; }
.feed-item__mute .icon-muted { display: none; }
.feed-item__mute.is-muted .icon-unmuted { display: none; }
.feed-item__mute.is-muted .icon-muted { display: block; }

.feed-item__video-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    padding: 0;
}
.feed-item__video-bar-track {
    position: relative;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: rgba(243, 239, 231, 0.3);
}
.feed-item__video-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    border-radius: 2px;
    background: var(--paper);
}
.feed-item__video-bar-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--paper);
    transform: translate(-50%, -50%);
}
