.wp-block-tvas-hls-video.tvas-hls-video-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.wp-block-tvas-hls-video .tvas-hls-video-player {
    width: 100%;
    max-width: var(--tvas-hls-max-width, 1200px);
    height: auto;
    display: block;
}

.wp-block-tvas-hls-video.is-style-rounded .tvas-hls-video-player {
    border-radius: 12px;
}

.wp-block-tvas-hls-video .tvas-hls-video-error {
    margin: 0;
}

.tvas-hls-persistent-player {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999999;
    width: min(640px, calc(100vw - 40px));
    background: #000;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

.tvas-hls-persistent-video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
    background: #000;
}

.tvas-hls-persistent-close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.tvas-hls-persistent-resume {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    border: 0;
    border-radius: 4px;
    padding: 10px 14px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .tvas-hls-persistent-player {
        right: 12px;
        bottom: 12px;
        width: min(360px, calc(100vw - 24px));
    }

    .tvas-hls-persistent-close {
        top: -10px;
        right: -10px;
    }
}

.tvas-hls-persistent-sound-notice {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    padding: 7px 10px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 12px;
    line-height: 1.35;
    pointer-events: none;
}
