/**
 * VSL SDK Embed Styles
 * Completamente escopado em .vsl-custom-embed para não vazar para a página pai.
 * NÃO use seletores globais (* ou :root).
 */

/* Variáveis escopadas no container do SDK */
.vsl-custom-embed {
    --primary-color: rgba(0, 0, 0, 0.5);
    --primary-hover: #1d4ed8;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --text-light: #f1f5f9;
    --text-gray: #94a3b8;
    --control-bg: rgba(0, 0, 0, 0.7);
    --control-bg-hover: rgba(0, 0, 0, 0.85);
    --cta-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Reset apenas dentro do container */
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.vsl-custom-embed *,
.vsl-custom-embed *::before,
.vsl-custom-embed *::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

/* Player Container */
.vsl-custom-embed .player-container {
    width: 100%;
    margin: 0 auto;
}

/* Loading State */
.vsl-custom-embed .loading-state {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    z-index: 50;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}

.vsl-custom-embed .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #ff0000 !important;
    border-radius: 50%;
    animation: vsl-spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

@keyframes vsl-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Error State */
.vsl-custom-embed .error-state {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    z-index: 50;
    text-align: center;
    padding: 60px 20px;
}

.vsl-custom-embed .error-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.vsl-custom-embed .error-message {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.vsl-custom-embed .retry-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.vsl-custom-embed .retry-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Player Wrapper */
.vsl-custom-embed .player-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    /* Default horizontal */
    background: #000;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    container-type: inline-size;
    container-name: playercontainer;
}

/* Aspect Ratio Overrides based on orientation classes */
.vsl-custom-embed.is-vertical .player-wrapper {
    aspect-ratio: 9 / 16;
    max-width: 450px;
    /* Cap size for vertical */
}

.vsl-custom-embed.is-v45 .player-wrapper {
    aspect-ratio: 4 / 5;
    max-width: 550px;
}

.vsl-custom-embed.is-square .player-wrapper {
    aspect-ratio: 1 / 1;
    max-width: 650px;
}

/* Play Overlay */
.vsl-custom-embed .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(255, 255, 255);
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.3s ease;
    pointer-events: none;
    opacity: 0;
}

.vsl-custom-embed .play-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.vsl-custom-embed .play-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

.vsl-custom-embed .play-overlay-button {
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.vsl-custom-embed .play-overlay:hover .play-overlay-button {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
}

.vsl-custom-embed .play-overlay-button svg {
    width: 80px;
    height: 80px;
    fill: white;
}

.vsl-custom-embed .play-overlay.with-thumbnail {
    background-color: rgba(0, 0, 0, 0.3);
    background-size: cover;
    background-position: center;
}

.vsl-custom-embed .play-overlay.with-thumbnail .play-overlay-button {
    background: var(--primary-color);
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.vsl-custom-embed .play-overlay.with-thumbnail .play-overlay-button svg {
    fill: white;
}

.vsl-custom-embed .play-overlay.with-thumbnail:hover .play-overlay-button {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
}

/* Video Element */
.vsl-custom-embed .video-element {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

/* Fake Progress Bar */
.vsl-custom-embed .fake-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 5;
    pointer-events: none;
}

.vsl-custom-embed .fake-progress-filled {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.1s linear;
}

/* Controls */
.vsl-custom-embed .controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px 20px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    /* Não bloqueia cliques quando invisível */
}

/* Exibir controles via classes JS (para mobile e estados) */
.vsl-custom-embed .player-wrapper.vsl-controls-visible .controls,
.vsl-custom-embed .player-wrapper.paused .controls {
    opacity: 1;
    pointer-events: auto;
}

/* Progress Bar */
.vsl-custom-embed .progress-bar-wrapper {
    margin-bottom: 15px;
}

.vsl-custom-embed .progress-bar {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    transition: height 0.2s ease;
}

.vsl-custom-embed .progress-bar:hover {
    height: 8px;
}

.vsl-custom-embed .progress-filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.vsl-custom-embed .progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.6);
}

.vsl-custom-embed .progress-bar:hover .progress-handle {
    opacity: 1;
}

.vsl-custom-embed .time-display {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 8px;
    font-variant-numeric: tabular-nums;
}

/* Control Buttons */
.vsl-custom-embed .control-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vsl-custom-embed .control-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.vsl-custom-embed .control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.vsl-custom-embed .icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Volume Control */
.vsl-custom-embed .volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vsl-custom-embed .volume-slider {
    width: 80px;
    height: 4px;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.vsl-custom-embed .volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.vsl-custom-embed .volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* CTA Container */
.vsl-custom-embed .kv-cta-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    background: transparent !important;
}

.vsl-custom-embed .kv-cta {
    position: absolute;
    pointer-events: all;
    opacity: 0;
    transition: var(--transition);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.vsl-custom-embed .kv-cta:not(.pulse) {
    transform: translateY(20px);
}

.vsl-custom-embed .kv-cta-overlay:not(.pulse) {
    transform: translateY(0);
}

.vsl-custom-embed .kv-cta.kv-visible {
    opacity: 1;
}

/* Generic Pulse for CTAs */
.vsl-custom-embed .kv-cta.pulse .kv-cta-button-float,
.vsl-custom-embed .kv-cta.pulse .kv-cta-button-large {
    animation: vsl-actionButtonPulse 2s ease-in-out infinite;
}

/* CTA Positions */
.vsl-custom-embed .kv-cta-position-bottom-center {
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: auto;
}
.vsl-custom-embed .kv-cta-position-bottom-center.kv-visible {
    transform: translateX(-50%) translateY(0);
}

.vsl-custom-embed .kv-cta-position-top-center {
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: auto;
}
.vsl-custom-embed .kv-cta-position-top-center.kv-visible {
    transform: translateX(-50%) translateY(0);
}

.vsl-custom-embed .kv-cta-position-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 20px));
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: auto;
}
.vsl-custom-embed .kv-cta-position-center.kv-visible {
    transform: translate(-50%, -50%);
}

.vsl-custom-embed .kv-cta-position-center-left {
    top: 50%;
    left: 20px;
    transform: translateY(calc(-50% + 20px));
}
.vsl-custom-embed .kv-cta-position-center-left.kv-visible {
    transform: translateY(-50%);
}

.vsl-custom-embed .kv-cta-position-center-right {
    top: 50%;
    right: 20px;
    transform: translateY(calc(-50% + 20px));
}
.vsl-custom-embed .kv-cta-position-center-right.kv-visible {
    transform: translateY(-50%);
}

.vsl-custom-embed .kv-cta-position-bottom-left {
    bottom: 80px;
    left: 20px;
}

.vsl-custom-embed .kv-cta-position-bottom-right {
    bottom: 80px;
    right: 20px;
}

.vsl-custom-embed .kv-cta-position-top-right {
    top: 20px;
    right: 20px;
}

.vsl-custom-embed .kv-cta-position-top-left {
    top: 20px;
    left: 20px;
}

/* CTA Banner */
.vsl-custom-embed .kv-cta-banner .kv-cta-content {
    background: var(--cta-gradient);
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.vsl-custom-embed .kv-cta-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.vsl-custom-embed .kv-cta-button {
    display: inline-block;
    background: var(--primary-color, #667eea);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.vsl-custom-embed .kv-cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.vsl-custom-embed .kv-cta-close {
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    transition: var(--transition);
    font-family: inherit;
}

.vsl-custom-embed .kv-cta-close:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* CTA Overlay */
.vsl-custom-embed .kv-cta-overlay {
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vsl-custom-embed .kv-cta-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.vsl-custom-embed .kv-cta-overlay .kv-cta-content {
    position: relative;
    text-align: center;
    max-width: 500px;
    padding: 40px;
}

.vsl-custom-embed .kv-cta-title {
    color: white;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
}

.vsl-custom-embed .kv-cta-button-large {
    display: inline-block;
    background: var(--primary-color, #667eea);
    color: white;
    padding: 20px 60px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 22px;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.vsl-custom-embed .kv-cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6);
}

/* CTA Button Float */
.vsl-custom-embed .kv-cta-button-float {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color, #667eea);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    margin: 0;
    transform: scale(1);
}

.vsl-custom-embed .kv-cta-button-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(102, 126, 234, 0.6);
}

/* Full Screen Recovery Overlay */
.vsl-custom-embed .recovery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-decoration: none !important;
}

.vsl-custom-embed .recovery-overlay.visible {
    opacity: 1;
}

.vsl-custom-embed .recovery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border: none;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease;
}

.vsl-custom-embed .recovery-overlay:hover .recovery-image {
    transform: scale(1.02);
}

/* Smart Autoplay Overlay */
.vsl-custom-embed .smart-autoplay-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    cursor: pointer;
    animation: vsl-fadeIn 0.3s ease;
}

@keyframes vsl-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.vsl-custom-embed .smart-autoplay-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, color-mix(in srgb, var(--primary-color) 80%, black) 100%);
    padding: 28px 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.vsl-custom-embed .smart-autoplay-button:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
}

.vsl-custom-embed .smart-autoplay-button.pulse {
    animation: vsl-autoplayPulse 2s ease-in-out infinite;
}

@keyframes vsl-autoplayPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 12px 40px rgba(245, 101, 101, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 16px 50px rgba(245, 101, 101, 0.8), 0 0 0 20px rgba(245, 101, 101, 0);
    }
}

.vsl-custom-embed .smart-autoplay-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.vsl-custom-embed .smart-autoplay-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vsl-custom-embed .smart-autoplay-text-top {
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.95;
}

.vsl-custom-embed .smart-autoplay-text-bottom {
    color: white;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

/* Continue Watching Overlay */
.vsl-custom-embed .continue-watching-overlay {
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--primary-color) 75%, transparent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    animation: vsl-fadeIn 0.3s ease;
}

.vsl-custom-embed .continue-watching-heading {
    color: white;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 48px;
    text-align: center;
    padding: 0 20px;
    line-height: 1.3;
}

.vsl-custom-embed .continue-watching-buttons {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
}

.vsl-custom-embed .continue-watching-button {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 3px solid white;
    border-radius: 16px;
    padding: 24px 40px;
    color: white;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.vsl-custom-embed .continue-watching-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.vsl-custom-embed .continue-watching-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Utility */
.vsl-custom-embed .hidden {
    display: none !important;
}

/* Action Button */
.vsl-custom-embed .action-button.pulse {
    animation: vsl-actionButtonPulse 2s ease-in-out infinite;
}

@keyframes vsl-actionButtonPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 15px rgba(236, 34, 88, 0);
    }
}

/* Action Button Container (SDK) */
.vsl-custom-embed #action-button-container {
    width: 100%;
    border: none;
    background: transparent !important;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0;
    padding: 0;
}

.vsl-custom-embed #action-button-container:not(:empty) {
    padding: 20px 0;
    min-height: 20px;
}

/* Custom Context Menu */
.vsl-custom-embed .custom-context-menu {
    position: absolute;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 6px;
    z-index: 9999;
    display: none;
    min-width: 180px;
    transform-origin: top left;
    animation: vsl-menuFadeIn 0.2s ease;
}

.vsl-custom-embed .custom-context-menu.visible {
    display: block;
}

.vsl-custom-embed .context-menu-item {
    padding: 10px 16px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
    user-select: none;
}

.vsl-custom-embed .context-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

@keyframes vsl-menuFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .vsl-custom-embed .recovery-text {
        font-size: 20px;
    }

    .vsl-custom-embed .recovery-btn {
        font-size: 16px;
        padding: 14px 32px;
    }

    .vsl-custom-embed .kv-cta-title {
        font-size: 24px;
    }

    .vsl-custom-embed .kv-cta-button-large {
        font-size: 16px;
        padding: 14px 32px;
    }

    .vsl-custom-embed .volume-control {
        display: none;
    }
}



/* Continue Watching: Responsive Container Queries */
@container playercontainer (max-width: 600px) {
    .vsl-custom-embed .continue-watching-heading {
        font-size: 20px;
        margin-bottom: 20px;
        padding: 0 12px;
    }

    .vsl-custom-embed .continue-watching-buttons {
        gap: 12px;
        padding: 0 12px;
    }

    .vsl-custom-embed .continue-watching-button {
        padding: 14px 18px;
        font-size: 14px;
        gap: 10px;
        border-width: 2px;
    }

    .vsl-custom-embed .continue-watching-icon {
        width: 20px;
        height: 20px;
    }
}

@container playercontainer (max-width: 450px) {
    .vsl-custom-embed .continue-watching-overlay {
        padding: 12px;
    }

    .vsl-custom-embed .continue-watching-heading {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 14px;
        padding: 0 8px;
        line-height: 1.2;
    }

    .vsl-custom-embed .continue-watching-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
        padding: 0 8px;
        width: 100%;
        justify-content: center;
    }

    .vsl-custom-embed .continue-watching-button {
        padding: 10px 14px;
        font-size: 13px;
        gap: 8px;
        border-radius: 10px;
        border-width: 2px;
        flex: 1;
        justify-content: center;
        max-width: 48%;
    }

    .vsl-custom-embed .continue-watching-icon {
        width: 18px;
        height: 18px;
    }
}

/* Smart Autoplay & Play Button: Responsive Container Queries */
@container playercontainer (max-width: 500px) {
    .vsl-custom-embed .smart-autoplay-button {
        padding: 16px 24px !important;
        gap: 12px !important;
        border-radius: 12px !important;
    }

    .vsl-custom-embed .smart-autoplay-icon {
        width: 42px !important;
        height: 42px !important;
    }

    .vsl-custom-embed .smart-autoplay-text-top {
        font-size: 12px !important;
        letter-spacing: 0.5px !important;
    }

    .vsl-custom-embed .smart-autoplay-text-bottom {
        font-size: 18px !important;
        line-height: 1.2 !important;
    }

    /* Play Overlay Button */
    .vsl-custom-embed .play-overlay-button {
        width: 80px !important;
        height: 80px !important;
    }

    .vsl-custom-embed .play-overlay-button svg {
        width: 50px !important;
        height: 50px !important;
    }
}

@container playercontainer (max-width: 380px) {
    .vsl-custom-embed .smart-autoplay-button {
        padding: 14px 18px !important;
        gap: 10px !important;
    }

    .vsl-custom-embed .smart-autoplay-text-bottom {
        font-size: 15px !important;
    }

    .vsl-custom-embed .smart-autoplay-icon {
        width: 36px !important;
        height: 36px !important;
    }

    .vsl-custom-embed .play-overlay-button {
        width: 64px !important;
        height: 64px !important;
    }

    .vsl-custom-embed .play-overlay-button svg {
        width: 40px !important;
        height: 40px !important;
    }
}

/* Live Views Simulator */
.vsl-custom-embed .live-views-container {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 12;
    pointer-events: none;
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vsl-custom-embed .live-views-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.vsl-custom-embed .live-views-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: inherit;
    border-radius: 50%;
    opacity: 0.5;
    animation: vsl-viewsPulse 2s ease-out infinite;
}

.vsl-custom-embed .live-views-divider {
    width: 1px;
    height: 12px;
    background: currentColor;
    opacity: 0.5;
    margin: 0 2px;
}

@keyframes vsl-viewsPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}
/* Headline Container (Required for Web Component/SDK) */
.vsl-custom-embed .headline-container {
  width: 100%;
  display: none;
  box-sizing: border-box;
  word-wrap: break-word;
  padding: 0 10px;
}
