/* Player de vídeo protegido — controles próprios, sem menu nativo de download */

.ph-video-protected {
    position: relative;
    line-height: 0;
}

.ph-video-protected video {
    background: #000;
}

.ph-vp-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #14151f;
    padding: 6px 10px;
    border-radius: 0 0 6px 6px;
    line-height: normal;
}

.ph-vp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    opacity: .85;
    transition: opacity .15s ease;
}

.ph-vp-btn:hover {
    opacity: 1;
}

.ph-vp-btn svg {
    width: 20px;
    height: 20px;
}

.ph-vp-time {
    color: #cfd3dc;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    min-width: 32px;
}

.ph-vp-duration {
    text-align: right;
}

.ph-vp-seek {
    position: relative;
    flex: 1;
    height: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.ph-vp-seek::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .18);
}

.ph-vp-seek-buffered,
.ph-vp-seek-played {
    position: absolute;
    left: 0;
    height: 4px;
    border-radius: 2px;
    width: 0%;
}

.ph-vp-seek-buffered {
    background: rgba(255, 255, 255, .32);
}

.ph-vp-seek-played {
    background: #0f5faa;
}

/* Fullscreen: a barra de controles acompanha o vídeo */
.ph-video-protected:fullscreen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #000;
}

.ph-video-protected:fullscreen video {
    max-height: calc(100vh - 42px);
}
