.cdp-wrap {
    --cdp-accent: #832275;
    --cdp-bg: #000;
    --cdp-radius: 10px;
    --cdp-ratio: 16 / 9;
    position: relative;
    width: 100%;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    outline: none;
}
.cdp-centered { margin-left: auto; margin-right: auto; }
.cdp-shadow .cdp-stage { box-shadow: 0 14px 35px rgba(0,0,0,.18); }
.cdp-title { font-weight: 700; font-size: 1rem; margin: 0 0 .55rem; }
.cdp-stage {
    position: relative;
    width: 100%;
    aspect-ratio: var(--cdp-ratio);
    overflow: hidden;
    border-radius: var(--cdp-radius);
    background: var(--cdp-bg);
}
.cdp-stage > .video-js,
.cdp-stage > video,
.cdp-stage .vjs-fluid,
.cdp-preview-frame {
    width: 100% !important;
    height: 100% !important;
}
.cdp-stage > .video-js,
.cdp-stage > video,
.cdp-preview-frame {
    position: absolute;
    inset: 0;
}
.cdp-preview-frame { border: 0; background: #000; }
.cdp-video { background: var(--cdp-bg); object-fit: contain; }
.cdp-video.video-js { padding-top: 0 !important; }
.cdp-video.video-js .vjs-tech { object-fit: contain; }
.cdp-video.video-js .vjs-big-play-button {
    border: 0;
    border-radius: 999px;
    width: 3.6em;
    height: 3.6em;
    line-height: 3.6em;
    background: color-mix(in srgb, var(--cdp-accent) 88%, transparent);
    transition: transform .18s ease, background .18s ease;
}
.cdp-video.video-js:hover .vjs-big-play-button { transform: scale(1.06); background: var(--cdp-accent); }
.cdp-video.video-js .vjs-play-progress,
.cdp-video.video-js .vjs-volume-level { background-color: var(--cdp-accent); }
.cdp-video.video-js .vjs-slider-bar:before { color: var(--cdp-accent); }
.cdp-video.video-js .vjs-control-bar { background: linear-gradient(transparent, rgba(0,0,0,.82)); height: 4em; padding-top: 1em; }
.cdp-video.video-js .vjs-poster { background-size: cover; }
.cdp-error {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .6rem;
    padding: 1.5rem;
    background: rgba(0,0,0,.88);
    color: #fff;
}
.cdp-error[hidden] { display: none !important; }
.cdp-error strong { font-size: 1.05rem; }
.cdp-error span { opacity: .78; max-width: 620px; font-size: .9rem; }
.cdp-fallback-button {
    appearance: none;
    border: 0;
    border-radius: 7px;
    background: var(--cdp-accent);
    color: #fff;
    font-weight: 700;
    padding: .7rem 1rem;
    cursor: pointer;
}
.cdp-native video { width: 100%; height: 100%; object-fit: contain; background: var(--cdp-bg); }
.cdp-editor-error { padding: 12px 14px; border-left: 4px solid #d63638; background: #fff; color: #1d2327; }
@media (max-width: 600px) {
    .cdp-video.video-js .vjs-control-bar { font-size: 11px; }
}

/* Seletor de qualidade */
.cdp-quality-control {
    position: absolute;
    right: 10px;
    bottom: 52px;
    z-index: 18;
    font-family: inherit;
}
.cdp-quality-toggle {
    appearance: none;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 6px;
    background: rgba(0,0,0,.72);
    color: #fff;
    min-width: 66px;
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(7px);
}
.cdp-quality-toggle:hover,
.cdp-quality-toggle:focus-visible {
    background: var(--cdp-accent);
    border-color: var(--cdp-accent);
    outline: none;
}
.cdp-quality-menu {
    position: absolute;
    right: 0;
    bottom: 38px;
    min-width: 136px;
    max-height: 270px;
    overflow-y: auto;
    padding: 6px;
    border-radius: 8px;
    background: rgba(15,15,15,.96);
    box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.cdp-quality-menu[hidden] { display: none !important; }
.cdp-quality-option {
    appearance: none;
    display: block;
    width: 100%;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #fff;
    padding: 8px 10px;
    text-align: left;
    font-size: 12px;
    cursor: pointer;
}
.cdp-quality-option:hover,
.cdp-quality-option:focus-visible { background: rgba(255,255,255,.12); outline: none; }
.cdp-quality-option.is-active { background: var(--cdp-accent); font-weight: 700; }
.cdp-native .cdp-quality-control { bottom: 48px; }
@media (max-width: 600px) {
    .cdp-quality-control { right: 7px; bottom: 46px; }
    .cdp-quality-toggle { height: 29px; min-width: 58px; padding: 0 8px; font-size: 11px; }
    .cdp-quality-menu { min-width: 124px; bottom: 34px; }
}

/* Plyr 3.8.4 */
.cdp-stage > .plyr {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    --plyr-color-main: var(--cdp-accent);
    --plyr-video-background: var(--cdp-bg);
}
.cdp-stage > .plyr .plyr__video-wrapper,
.cdp-stage > .plyr video {
    width: 100%;
    height: 100%;
    background: var(--cdp-bg);
}
.cdp-stage > .plyr video {
    object-fit: contain;
}
.cdp-stage > .plyr .plyr__poster {
    background-size: cover;
}
.cdp-plyr-ready .cdp-quality-control {
    bottom: 58px;
}
@media (max-width: 600px) {
    .cdp-plyr-ready .cdp-quality-control {
        bottom: 52px;
    }
}

/* YouTube via Plyr */
.cdp-stage > .cdp-youtube {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--cdp-bg);
}
.cdp-youtube-wrap .cdp-stage > .plyr,
.cdp-youtube-wrap .plyr__video-embed,
.cdp-youtube-wrap .plyr__video-embed iframe {
    width: 100% !important;
    height: 100% !important;
}
.cdp-youtube-wrap .plyr__video-embed iframe {
    position: absolute;
    inset: 0;
}
.cdp-youtube-wrap .plyr__poster {
    background-size: cover;
    background-position: center;
}

/* Mobile e tela cheia, versão 1.4.4 */
.cdp-wrap {
    max-width: 100%;
    min-width: 0;
}
.cdp-stage,
.cdp-stage > .plyr,
.cdp-stage > .cdp-youtube,
.cdp-stage > video {
    max-width: 100%;
    min-width: 0;
}
.cdp-stage > .plyr {
    border-radius: inherit;
}

html.cdp-mobile-fullscreen-active,
body.cdp-mobile-fullscreen-active {
    overflow: hidden !important;
    width: 100% !important;
    height: 100% !important;
    overscroll-behavior: none;
}

.cdp-wrap.cdp-mobile-fullscreen {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483646 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #000 !important;
}
.cdp-wrap.cdp-mobile-fullscreen .cdp-title {
    display: none !important;
}
.cdp-wrap.cdp-mobile-fullscreen .cdp-stage {
    position: absolute !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    aspect-ratio: auto !important;
    border-radius: 0 !important;
    margin: 0 !important;
}
.cdp-wrap.cdp-mobile-fullscreen .cdp-stage > .plyr,
.cdp-wrap.cdp-mobile-fullscreen .cdp-stage > .cdp-youtube,
.cdp-wrap.cdp-mobile-fullscreen .cdp-stage > video,
.cdp-wrap.cdp-mobile-fullscreen .plyr__video-wrapper,
.cdp-wrap.cdp-mobile-fullscreen .plyr__video-embed,
.cdp-wrap.cdp-mobile-fullscreen .plyr__video-embed iframe {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: none !important;
    border-radius: 0 !important;
}

.cdp-stage .plyr--fullscreen-fallback,
.cdp-stage .plyr.plyr--fullscreen-active {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: none !important;
    border-radius: 0 !important;
    background: #000 !important;
}
.cdp-stage .plyr--fullscreen-fallback .plyr__video-wrapper,
.cdp-stage .plyr--fullscreen-fallback .plyr__video-embed,
.cdp-stage .plyr--fullscreen-fallback iframe,
.cdp-stage .plyr.plyr--fullscreen-active .plyr__video-wrapper,
.cdp-stage .plyr.plyr--fullscreen-active .plyr__video-embed,
.cdp-stage .plyr.plyr--fullscreen-active iframe {
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 782px) {
    .cdp-wrap {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .cdp-stage {
        width: 100% !important;
        border-radius: min(var(--cdp-radius), 8px);
    }
    .cdp-stage > .plyr .plyr__controls {
        padding-left: 8px;
        padding-right: 8px;
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }
    .cdp-stage > .plyr .plyr__control {
        padding: 7px;
    }
    .cdp-stage > .plyr .plyr__volume input[type="range"] {
        max-width: 58px;
    }
    .cdp-youtube-wrap .plyr__video-embed,
    .cdp-youtube-wrap .plyr__video-embed iframe {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
}

@media (max-height: 600px) and (orientation: landscape) and (pointer: coarse) {
    .cdp-wrap.cdp-mobile-fullscreen .plyr__controls,
    .cdp-stage .plyr--fullscreen-fallback .plyr__controls {
        padding-left: max(10px, env(safe-area-inset-left));
        padding-right: max(10px, env(safe-area-inset-right));
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }
    .cdp-wrap.cdp-mobile-fullscreen .plyr__video-wrapper,
    .cdp-stage .plyr--fullscreen-fallback .plyr__video-wrapper {
        height: 100vh !important;
        height: 100dvh !important;
    }
}


/* 1.4.5: controles móveis reforçados */
@media (max-width: 782px), (pointer: coarse) {
    .cdp-stage .plyr__control[data-plyr="fullscreen"],
    .cdp-stage .plyr__control.cdp-fullscreen-visible,
    .cdp-stage .cdp-mobile-fs-button {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex: 0 0 auto !important;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
    }
    .cdp-stage .cdp-mobile-fs-button svg {
        width: 20px;
        height: 20px;
        display: block;
    }
    .cdp-stage > .plyr .plyr__controls {
        flex-wrap: nowrap !important;
        overflow: visible !important;
        gap: 1px;
    }
}

@media (max-width: 520px) {
    /* Libera espaço para CC, configurações e tela cheia em celulares estreitos. */
    .cdp-stage > .plyr .plyr__volume input[type="range"] {
        display: none !important;
    }
    .cdp-stage > .plyr .plyr__volume {
        min-width: 0 !important;
        width: auto !important;
        flex: 0 0 auto !important;
    }
    .cdp-stage > .plyr .plyr__time--duration {
        display: none !important;
    }
    .cdp-stage > .plyr .plyr__controls > * {
        min-width: 0;
    }
}

.cdp-wrap.cdp-mobile-fullscreen .plyr,
.cdp-wrap.cdp-mobile-fullscreen .plyr__video-wrapper,
.cdp-wrap.cdp-mobile-fullscreen .plyr__video-embed,
.cdp-wrap.cdp-mobile-fullscreen .plyr__video-embed iframe {
    max-width: none !important;
    max-height: none !important;
}

/* 1.4.7: o controle extra de fullscreen existe apenas no modo móvel. */
.cdp-stage .cdp-mobile-fs-button {
    display: none !important;
}

/* 1.4.6: fullscreen móvel independente do embed do YouTube */
@media (max-width: 782px), (pointer: coarse) {
    .cdp-stage .plyr__control[data-plyr="fullscreen"] {
        display: none !important;
    }
    .cdp-stage .cdp-mobile-fs-button {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex: 0 0 38px !important;
        width: 38px !important;
        height: 38px !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: 1px;
    }
    .cdp-stage .cdp-mobile-fs-button .cdp-fs-exit {
        display: none;
    }
    .cdp-stage .cdp-mobile-fs-button.cdp-is-fullscreen .cdp-fs-enter {
        display: none;
    }
    .cdp-stage .cdp-mobile-fs-button.cdp-is-fullscreen .cdp-fs-exit {
        display: block;
    }
}

.cdp-wrap.cdp-native-fullscreen,
.cdp-wrap:fullscreen,
.cdp-wrap:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #000 !important;
    border-radius: 0 !important;
}
.cdp-wrap.cdp-native-fullscreen .cdp-stage,
.cdp-wrap:fullscreen .cdp-stage,
.cdp-wrap:-webkit-full-screen .cdp-stage {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    border-radius: 0 !important;
}
.cdp-wrap.cdp-native-fullscreen .plyr,
.cdp-wrap.cdp-native-fullscreen .plyr__video-wrapper,
.cdp-wrap.cdp-native-fullscreen .plyr__video-embed,
.cdp-wrap.cdp-native-fullscreen iframe,
.cdp-wrap:fullscreen .plyr,
.cdp-wrap:fullscreen .plyr__video-wrapper,
.cdp-wrap:fullscreen .plyr__video-embed,
.cdp-wrap:fullscreen iframe,
.cdp-wrap:-webkit-full-screen .plyr,
.cdp-wrap:-webkit-full-screen .plyr__video-wrapper,
.cdp-wrap:-webkit-full-screen .plyr__video-embed,
.cdp-wrap:-webkit-full-screen iframe {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
}


/* 1.4.11: embeds sociais responsivos */
.cdp-social-wrap {
    width: 100%;
    max-width: var(--cdp-social-width, 540px);
    margin: 1.25rem auto;
    overflow: hidden;
}
.cdp-instagram-wrap .instagram-media {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.cdp-instagram-wrap iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}
@media (max-width: 600px) {
    .cdp-social-wrap {
        max-width: 100%;
        margin: .75rem auto;
    }
}


/* 1.4.12: X e TikTok */
.cdp-x-wrap .twitter-tweet,
.cdp-x-wrap iframe,
.cdp-tiktok-wrap .tiktok-embed,
.cdp-tiktok-wrap iframe {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.cdp-tiktok-wrap .tiktok-embed {
    min-width: 0 !important;
}


/* 1.4.15: incorporações em bloco integral e centralizadas */
.cdp-wrap,
.cdp-social-wrap {
    clear: both !important;
    float: none !important;
    display: block !important;
    box-sizing: border-box;
    width: 100% !important;
}

/* O bloco social ocupa toda a linha, enquanto o conteúdo da rede fica centralizado. */
.cdp-social-wrap {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0;
    padding-right: 0;
    overflow: visible;
}

.cdp-social-wrap > .instagram-media,
.cdp-social-wrap > .twitter-tweet,
.cdp-social-wrap > .tiktok-embed,
.cdp-social-wrap > iframe {
    display: block !important;
    float: none !important;
    width: min(100%, var(--cdp-social-width, 540px)) !important;
    max-width: var(--cdp-social-width, 540px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Proteção contra floats aplicados pelo tema aos iframes/blockquote das redes. */
.cdp-social-wrap iframe,
.cdp-social-wrap blockquote {
    float: none !important;
    clear: both !important;
}

/* Garante que o conteúdo seguinte comece em uma nova linha mesmo em temas antigos. */
.cdp-wrap::after,
.cdp-social-wrap::after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 600px) {
    .cdp-social-wrap > .instagram-media,
    .cdp-social-wrap > .twitter-tweet,
    .cdp-social-wrap > .tiktok-embed,
    .cdp-social-wrap > iframe {
        width: 100% !important;
        max-width: min(100%, var(--cdp-social-width, 540px)) !important;
    }
}

.cdp-x-broadcast-wrap {
    margin: 1.5em auto;
}
.cdp-x-broadcast {
    margin: 0;
    padding: 1em 1.15em;
    border: 1px solid #d9dee3;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}
.cdp-x-broadcast a {
    font-weight: 700;
    text-decoration: none;
}


/* Globoplay público */
.cdp-globoplay-wrap {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}
.cdp-globoplay-stage {
    position: relative;
    width: 100%;
    aspect-ratio: var(--cdp-ratio, 16 / 9);
    overflow: hidden;
    background: #000;
    border-radius: var(--cdp-radius, 10px);
}
.cdp-globoplay-frame {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.cdp-globoplay-fallback {
    margin-top: .65rem;
    text-align: center;
    font-size: .92rem;
}
.cdp-globoplay-fallback a {
    font-weight: 700;
    text-decoration: none;
}


.cdp-globoplay-card {
    display: block;
    text-decoration: none;
    overflow: hidden;
    border: 1px solid #d9dee3;
    border-radius: var(--cdp-radius, 10px);
    background: #fff;
}
.cdp-globoplay-poster {
    position: relative;
    width: 100%;
    aspect-ratio: var(--cdp-ratio, 16 / 9);
    background: #111 center center / cover no-repeat;
}
.cdp-globoplay-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: rgba(0,0,0,.72);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    padding-left: 4px;
}
.cdp-globoplay-card-body {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: .9rem 1rem 1rem;
}
.cdp-globoplay-card-body strong {
    color: inherit;
}
.cdp-globoplay-card-body span {
    font-size: .92rem;
    opacity: .75;
}
