/* DooPlay TV Show Ribbons */
article.item .poster,
.items article.item .poster,
#featured-titles article.item .poster,
.owl-carousel article.item .poster,
.mp-tv-card .mp-tv-poster,
.mp-featured-card-wrap .mp-featured-poster {
    position: relative;
    overflow: hidden;
}

.dtvsr-ribbon {
    position: absolute;
    left: 0;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: auto;
    min-width: 0;
    max-width: 78%;
    height: 20px;
    padding: 0 8px;
    border-radius: 0 4px 4px 0;
    box-sizing: border-box;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 20px;
    letter-spacing: .4px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .35);
}

.dtvsr-ribbon-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dtvsr-ribbon-ep {
    bottom: 31px;
    background: #e50914;
}

.dtvsr-ribbon-status {
    bottom: 7px;
}

.dtvsr-ribbon-ongoing {
    background: #9c27b0;
}

.dtvsr-ribbon-completed {
    background: #37bd1c;
}

.dtvsr-live-dot {
    position: relative;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .75);
}

.dtvsr-live-dot:before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .75);
    animation: dtvsrRipple 1.5s infinite;
}

@keyframes dtvsrRipple {
    0% {
        transform: scale(.35);
        opacity: .9;
    }
    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

@media only screen and (max-width: 768px) {
    .dtvsr-ribbon {
        height: 18px;
        padding: 0 7px;
        font-size: 10px;
        line-height: 18px;
        max-width: 82%;
    }

    .dtvsr-ribbon-ep {
        bottom: 29px;
    }

    .dtvsr-ribbon-status {
        bottom: 7px;
    }
}
