/* MasTV launch film. The overlay is created only by the mastv-gated JS. */
html[data-brand="mastv"] .mastv-launch-splash {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    overflow: hidden;
    background: #000;
    opacity: 1;
    visibility: visible;
    transition: opacity .24s ease, visibility .24s ease;
}

html[data-brand="mastv"] .mastv-launch-splash.is-leaving {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

html[data-brand="mastv"] .mastv-launch-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

html[data-brand="mastv"] .mastv-launch-skip {
    position: absolute;
    right: 28px;
    bottom: 28px;
    min-width: 132px;
    min-height: 52px;
    padding: 10px 24px;
    border: 2px solid rgba(245,245,239,.72);
    border-radius: 999px;
    color: #F5F5EF;
    background: rgba(32,34,32,.76);
    font: 700 20px/1 var(--font, Arial, sans-serif);
    letter-spacing: .4px;
    cursor: pointer;
    outline: 0;
    box-shadow: 0 8px 28px rgba(0,0,0,.48);
}

html[data-brand="mastv"] .mastv-launch-skip:hover,
html[data-brand="mastv"] .mastv-launch-skip:focus,
html[data-brand="mastv"] .mastv-launch-skip.focused {
    border-color: #B9EF00;
    color: #202220;
    background: #B9EF00;
    box-shadow: 0 0 0 4px rgba(185,239,0,.22), 0 0 28px rgba(185,239,0,.46);
}

@media (max-width: 600px) {
    html[data-brand="mastv"] .mastv-launch-skip {
        right: 18px;
        bottom: 22px;
        min-width: 112px;
        min-height: 46px;
        padding: 9px 19px;
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html[data-brand="mastv"] .mastv-launch-splash { transition: none; }
}

/* Identidad Evolución v3. Estos overrides neutralizan únicamente en MasTV los
 * últimos acentos naranja/morado heredados del skin telco. */
html[data-brand="mastv"] {
    --brand-progress-gradient: linear-gradient(90deg, #B9EF00, #B9EF00);
    --warning: #B9EF00;
}

html[data-brand="mastv"] .vsd-imdb-badge,
html[data-brand="mastv"] .vd-class {
    color: #202220;
    background: #B9EF00 !important;
}

html[data-brand="mastv"] .toast-warning {
    border-color: #B9EF00;
    background: rgba(185,239,0,.18);
}
