.video-recovery {
    position: absolute;
    z-index: 25;
    top: 76px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #ffffff30;
    border-radius: 10px;
    background: #141822e8;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    box-shadow: 0 5px 20px #0003;
}
.video-recovery[hidden] { display: none; }
.video-recovery button {
    flex-shrink: 0;
    border: 0;
    border-radius: 7px;
    padding: 8px 12px;
    background: #ff006a;
    color: #fff;
    cursor: pointer;
    font: inherit;
}

.video-buffering {
    position: absolute;
    z-index: 24;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #00000030;
    pointer-events: none;
}
.video-buffering[hidden] { display: none; }
.video-buffering > span {
    width: 52px;
    height: 52px;
    border: 4px solid #e5091430;
    border-top-color: #e50914;
    border-right-color: #e50914;
    border-radius: 50%;
    animation: video-buffer-spin .8s linear infinite;
    box-sizing: border-box;
}
.video-is-buffering .cinema-center,
.video-is-buffering .clip-center-play { visibility: hidden; }
@keyframes video-buffer-spin { to { transform: rotate(360deg); } }
@media (max-width: 767px) {
    .video-buffering { width: 66px; height: 66px; }
    .video-buffering > span { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .video-buffering > span { animation-duration: 2s; }
}
