.pu-video-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pu-video-screen::before {
    z-index: 2;
    opacity: 0.22;
    pointer-events: none;
}

.pu-video-screen::after {
    z-index: 3;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.58));
    pointer-events: none;
}

.pu-video-placeholder {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    background: transparent;
    color: transparent;
}

.pu-video-caption {
    z-index: 5;
}

.pu-video-ended {
    z-index: 6;
}

.pu-sample-animation-stage {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    background: #eeece3;
}

.pu-sample-animation-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: #eeece3;
}

.pu-sample-animation-frame.is-active {
    opacity: 1;
    visibility: visible;
}

.pu-video-screen::before,
.pu-video-screen::after {
    display: none;
    background: none;
}

.pu-video-caption {
    z-index: 4;
}

.pu-video-ended {
    z-index: 6;
}
