/* CDLM – Countdown próximo episodio (StreamVid) */
.videos_player {
    position: relative;
}

.cdlm-nec-overlay {
    position: absolute;
    right: 20px;
    bottom: 64px; /* por encima de la barra de controles */
    width: 340px;
    max-width: calc(100% - 40px);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    pointer-events: none;
    font-family: inherit;
}

.cdlm-nec-overlay.cdlm-nec-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.cdlm-nec-card {
    position: relative;
    background: #ffffff;
    color: #141414;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .5);
    padding: 16px 16px 14px;
}

.cdlm-nec-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #737373;
    margin-bottom: 10px;
    padding-right: 28px;
}

.cdlm-nec-body {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.cdlm-nec-thumb {
    width: 104px;
    height: 58px;
    object-fit: cover;
    border-radius: 8px;
    flex: 0 0 auto;
    background: #e5e5e5;
}

.cdlm-nec-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cdlm-nec-foot {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cdlm-nec-ring {
    position: relative;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
}

.cdlm-nec-ring svg {
    width: 46px;
    height: 46px;
    transform: rotate(-90deg);
}

.cdlm-nec-ring-bg {
    fill: none;
    stroke: #e5e5e5;
    stroke-width: 4;
}

.cdlm-nec-ring-fg {
    fill: none;
    stroke: #141414;
    stroke-width: 4;
    stroke-linecap: round;
}

.cdlm-nec-secs {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #141414;
}

.cdlm-nec-play {
    flex: 1 1 auto;
    border: 0;
    border-radius: 8px;
    background: #141414;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 12px;
    cursor: pointer;
}

.cdlm-nec-play:hover {
    background: #000;
}

.cdlm-nec-cancel {
    display: block;
    width: 100%;
    margin-top: 10px;
    border: 0;
    background: transparent;
    color: #737373;
    font-size: 13px;
    cursor: pointer;
    padding: 4px;
}

.cdlm-nec-cancel:hover {
    color: #141414;
    text-decoration: underline;
}

.cdlm-nec-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #f1f1f1;
    color: #141414;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.cdlm-nec-close:hover {
    background: #e5e5e5;
}

@media (max-width: 560px) {
    .cdlm-nec-overlay {
        right: 12px;
        left: 12px;
        bottom: 56px;
        width: auto;
    }
}
