.bcp-clean-player,
.bcp-clean-player * {
    box-sizing: border-box;
}

.bcp-clean-player {
    width: 100%;
    max-width: 100%;
    margin: 14px 0 18px;
    clear: both;
    position: relative;
    z-index: 1;
}

.bcp-clean-ratio {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 220px;
    max-height: var(--bcp-height, 480px);
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, #2b0b0b 0%, #111 55%, #5b1111 100%);
    box-shadow: 0 6px 18px rgba(0,0,0,.16);
}

.bcp-clean-video,
.bcp-clean-iframe,
.bcp-clean-oembed iframe,
.bcp-clean-oembed .wp-video,
.bcp-clean-oembed embed,
.bcp-clean-oembed object {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 220px !important;
    max-width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
}

.bcp-clean-video,
.bcp-clean-iframe,
.bcp-clean-oembed {
    position: absolute;
    inset: 0;
}

.bcp-clean-video {
    object-fit: contain;
    background: transparent;
}

.bcp-clean-start {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.2));
    transition: opacity .18s ease, visibility .18s ease;
}

.bcp-clean-player.is-playing .bcp-clean-start,
.bcp-clean-player.has-user-started .bcp-clean-start {
    opacity: 0;
    visibility: hidden;
}

.bcp-clean-start-inner {
    padding: 16px 18px;
    max-width: 85%;
    border-radius: 12px;
    background: rgba(0,0,0,.22);
    backdrop-filter: blur(2px);
}

.bcp-clean-play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    border: 2px solid rgba(255,255,255,.7);
    font-size: 24px;
    line-height: 1;
    padding-left: 4px;
}

.bcp-clean-start-text {
    display: block;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
}

.bcp-clean-start small {
    display: block;
    margin-top: 4px;
    opacity: .8;
}

.bcp-clean-status {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 46px;
    z-index: 3;
    min-height: 0;
    padding: 0;
    color: #fff;
    font-size: 13px;
    text-align: center;
    pointer-events: none;
}

.bcp-clean-status:not(:empty) {
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(0,0,0,.62);
}

.bcp-clean-error,
.bcp-clean-empty {
    padding: 14px 16px;
    border-radius: 8px;
    background: #fff5f5;
    border: 1px solid #f0b4b4;
    color: #8a1717;
    font-weight: 600;
}

.bcp-clean-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.bcp-clean-channel-card {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 10px;
}

.bcp-clean-channel-card img {
    width: 68px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
}

.bcp-clean-channel-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.bcp-clean-iptv-link {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    background: #9b111e;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
}

body.category-canli-tv .bcp-clean-player,
body.single .bcp-clean-player {
    float: none !important;
}

@media (max-width: 768px) {
    .bcp-clean-player {
        margin: 10px 0 14px;
    }
    .bcp-clean-ratio {
        min-height: 190px;
        border-radius: 8px;
    }
    .bcp-clean-video,
    .bcp-clean-iframe,
    .bcp-clean-oembed iframe {
        min-height: 190px !important;
    }
    .bcp-clean-play-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
    .bcp-clean-start-text {
        font-size: 16px;
    }
}

@supports not (aspect-ratio: 16 / 9) {
    .bcp-clean-ratio {
        height: var(--bcp-height, 480px);
    }
    @media (max-width: 768px) {
        .bcp-clean-ratio {
            height: 56.25vw;
            max-height: var(--bcp-height, 480px);
        }
    }
}

.bcp-clean-player:fullscreen,
.bcp-clean-player:fullscreen .bcp-clean-ratio,
.bcp-clean-video:fullscreen,
.bcp-clean-iframe:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    background: #000 !important;
}

.bcp-clean-player:-webkit-full-screen,
.bcp-clean-player:-webkit-full-screen .bcp-clean-ratio,
.bcp-clean-video:-webkit-full-screen,
.bcp-clean-iframe:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    background: #000 !important;
}
