.en-vivo {
    display: none;
    padding: 18px 80px 32px;
}

.en-vivo--reservado {
    display: block;
    min-height: calc(clamp(330px, 32vw, 470px) + 81px);
}

.en-vivo.is-listo {
    display: block;
    min-height: 0;
}

.en-vivo__cabecera {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.en-vivo__titulo {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.en-vivo__pulso {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff2d55;
    flex: none;
}

.en-vivo__pulso::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(255, 45, 85, .55);
    animation: en-vivo-pulso 1.8s ease-out infinite;
}

@keyframes en-vivo-pulso {
    0% { transform: scale(.55); opacity: 1; }
    100% { transform: scale(1.35); opacity: 0; }
}

.en-vivo__vertodo {
    color: #bdbdbd;
    font-size: .84rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.en-vivo__vertodo:hover { color: #fff; }

.en-vivo__pista {
    display: flex;
    align-items: stretch;
    gap: 16px;
}

.en-vivo__secundarios {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 0 0 clamp(190px, 19vw, 280px);
}

.en-vivo__secundarios[hidden] { display: none; }

.en-vivo__canal {
    position: relative;
    display: flex;
    align-items: flex-end;
    flex: 1 1 0;
    min-height: 118px;
    overflow: hidden;
    border-radius: 14px;
    background: #0d0d12;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.en-vivo__canal:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .16);
}

.en-vivo__canal[data-estilo="conferencia"] { --en-vivo-acento: #ff2d55; }
.en-vivo__canal[data-estilo="cine"] { --en-vivo-acento: #836cd1; }
.en-vivo__canal[data-estilo="noticias"] { --en-vivo-acento: #2f9e6b; }
.en-vivo__canal[data-estilo="evento"] { --en-vivo-acento: #fd07a7; }

.en-vivo__canal--sin-arte {
    background: linear-gradient(150deg, #111119 0%, #1d1327 55%, #241038 100%);
    background:
        radial-gradient(130% 120% at 76% 12%, color-mix(in srgb, var(--en-vivo-acento, #fd07a7) 38%, transparent) 0%, transparent 62%),
        linear-gradient(150deg, #111119 0%, #1d1327 55%, #241038 100%);
}

.en-vivo__canal-arte {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .9;
}

.en-vivo__canal-arte--marca {
    opacity: .5;
    transform: scale(1.15);
    filter: blur(9px) saturate(1.2);
}

.en-vivo__canal-velo {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(6, 6, 10, .96) 0%, rgba(6, 6, 10, .74) 42%, rgba(6, 6, 10, .28) 100%);
}

.en-vivo__canal-cuerpo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    height: 100%;
    padding: 16px 16px 18px;
}

.en-vivo__canal-pie {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.en-vivo__canal-logo {
    height: 26px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .85));
}

.en-vivo__canal-nombre {
    color: #fff;
    font-size: .95rem;
    font-weight: 800;
}

.en-vivo__canal-insignia {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(10, 10, 16, .5);
    border: 1.5px solid rgba(255, 255, 255, .9);
    backdrop-filter: blur(3px);
}

.en-vivo__canal-insignia .en-vivo__pulso { background: #fff; }
.en-vivo__canal-insignia .en-vivo__pulso::after { border-color: rgba(255, 255, 255, .8); }

.en-vivo__canal-programa {
    color: #fff;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .85);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.en-vivo__canal-hora {
    color: #dadae4;
    font-size: .78rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .95);
}

.en-vivo__cartel {
    position: relative;
    display: flex;
    align-items: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    min-height: clamp(330px, 32vw, 470px);
    border-radius: 16px;
    background: #0d0d12;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .07);
}

.en-vivo__cartel::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    pointer-events: none;
    box-shadow: inset 0 0 0 2px var(--en-vivo-acento, #ff2d55);
    opacity: .5;
}

.en-vivo__cartel[data-estilo="conferencia"] { --en-vivo-acento: #ff2d55; }
.en-vivo__cartel[data-estilo="cine"] { --en-vivo-acento: #836cd1; }
.en-vivo__cartel[data-estilo="noticias"] { --en-vivo-acento: #2f9e6b; }
.en-vivo__cartel[data-estilo="evento"] { --en-vivo-acento: #fd07a7; }

.en-vivo__media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 40%;
    z-index: 0;
    cursor: pointer;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .45) 14%, #000 32%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .45) 14%, #000 32%);
}

.en-vivo__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .85;
    transition: opacity .6s ease;
}

.en-vivo__cartel--con-video .en-vivo__poster { opacity: 0; }

.en-vivo__poster--marca {
    left: auto;
    right: 4%;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: min(48%, 300px);
    height: auto;
    max-height: 76%;
    object-fit: contain;
    opacity: .55;
    border-radius: 12px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .65));
}

.en-vivo__cartel--sin-arte {
    background: linear-gradient(115deg, #101018 0%, #1c1226 46%, #24103a 100%);
    background:
        radial-gradient(120% 140% at 82% 22%, color-mix(in srgb, var(--en-vivo-acento, #ff2d55) 42%, transparent) 0%, transparent 58%),
        linear-gradient(115deg, #101018 0%, #1c1226 46%, #24103a 100%);
}

.en-vivo__logos {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.en-vivo__logo {
    height: clamp(32px, 3.2vw, 48px);
    width: auto;
    max-width: 190px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .85));
}

.en-vivo__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .5s ease;
}

.en-vivo__cartel--con-video .en-vivo__video { opacity: 1; }

.en-vivo__video,
.en-vivo__video > div,
.en-vivo__video .bitmovinplayer-container {
    background: transparent !important;
}

.en-vivo__video video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    background: transparent !important;
}

.en-vivo__video .bmpui-ui-uicontainer,
.en-vivo__video .bitmovinplayer-poster { display: none !important; }

.en-vivo__velo {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(6, 6, 10, .98) 0%, rgba(6, 6, 10, .96) 33%, rgba(6, 6, 10, .68) 43%, rgba(6, 6, 10, .14) 57%, rgba(6, 6, 10, 0) 70%),
        linear-gradient(0deg, rgba(6, 6, 10, .5) 0%, rgba(6, 6, 10, 0) 42%);
}

.en-vivo__contenido {
    position: relative;
    z-index: 2;
    max-width: 46%;
    padding: 34px 36px 30px;
    pointer-events: none;
}

.en-vivo__contenido a,
.en-vivo__contenido button { pointer-events: auto; }

.en-vivo__meta {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.en-vivo__insignia {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(10, 10, 16, .5);
    border: 1.5px solid rgba(255, 255, 255, .9);
    backdrop-filter: blur(3px);
}

.en-vivo__insignia .en-vivo__pulso { background: #fff; }
.en-vivo__insignia .en-vivo__pulso::after { border-color: rgba(255, 255, 255, .8); }

.en-vivo__insignia--proximo {
    color: #fff;
    background: #ff2d55;
    border-color: #ff2d55;
    box-shadow: 0 6px 20px rgba(255, 45, 85, .38);
}

.en-vivo__horario {
    color: #d6d6e0;
    font-size: .88rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}

.en-vivo__nombre {
    margin: 0;
    color: #fff;
    font-size: clamp(1.7rem, 3.4vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.015em;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .8);
}

.en-vivo__nombre a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 2px;
    transition: background-size .3s ease;
}

.en-vivo__nombre a:hover {
    color: #fff;
    background-size: 100% 2px;
}

.en-vivo__sub {
    margin: 10px 0 0;
    color: #d8d8e2;
    font-size: clamp(.95rem, 1.3vw, 1.1rem);
    line-height: 1.35;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
}

.en-vivo__progreso {
    position: relative;
    height: 4px;
    margin-top: 20px;
    max-width: 460px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    overflow: hidden;
}

.en-vivo__progreso-barra {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: var(--en-vivo-acento, #ff2d55);
    box-shadow: 0 0 12px var(--en-vivo-acento, #ff2d55);
    transition: width 1s linear;
}

.en-vivo__pie {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.en-vivo__senales {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.en-vivo__senal {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 17px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(12, 12, 18, .55);
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(3px);
    transition: background-color .2s ease, border-color .2s ease;
}

.en-vivo__senal:hover {
    color: #fff;
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .5);
}

.en-vivo__senal img {
    height: 18px;
    width: auto;
    max-width: 74px;
    object-fit: contain;
}

.en-vivo__sigue {
    margin: 0;
    color: #b6b6c4;
    font-size: .86rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .9);
}

.en-vivo__sigue strong {
    color: #e8e8f0;
    font-weight: 700;
}

.en-vivo__sigue--pastilla {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, .9);
    background: rgba(10, 10, 16, .5);
    color: #e4e4ee;
    backdrop-filter: blur(3px);
    text-shadow: none;
}

.en-vivo__sigue--pastilla strong { color: #fff; }

.en-vivo__mute {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    background: rgba(0, 0, 0, .68);
    color: #fff;
    font-size: .84rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(3px);
    transition: opacity .3s ease, transform .3s ease, background-color .2s ease;
}

.en-vivo__mute:hover { background: rgba(0, 0, 0, .88); }

.en-vivo__mute.is-oculto {
    opacity: 0;
    pointer-events: none;
    transform: scale(.9);
}

@media (max-width: 991px) {
    .en-vivo__contenido { max-width: 54%; }
    .en-vivo__media { left: 48%; }

    .en-vivo__pista { flex-direction: column; }

    .en-vivo__secundarios {
        flex: 0 0 auto;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .en-vivo__secundarios::-webkit-scrollbar { display: none; }

    .en-vivo__canal {
        flex: 0 0 auto;
        width: 208px;
        min-height: 132px;
    }
}

@media (max-width: 767px) {
    .en-vivo { padding: 14px 20px 24px; }
    .en-vivo--reservado { min-height: calc(56.25vw + 269px); }

    .en-vivo__cartel {
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        border-radius: 14px;
    }

    .en-vivo__media {
        position: relative;
        inset: auto;
        aspect-ratio: 16 / 9;
        width: 100%;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .en-vivo__velo {
        inset: auto 0 0 0;
        height: 40%;
        background: linear-gradient(0deg, rgba(6, 6, 10, .95) 0%, rgba(6, 6, 10, 0) 100%);
    }

    .en-vivo__contenido {
        max-width: 100%;
        padding: 16px 18px 20px;
    }

    .en-vivo__logos { gap: 12px; margin-bottom: 12px; }
    .en-vivo__meta { margin-bottom: 10px; }
    .en-vivo__progreso { max-width: none; margin-top: 14px; }
    .en-vivo__pie { margin-top: 16px; gap: 12px; }
    .en-vivo__senales { width: 100%; }
    .en-vivo__senal { flex: 1 1 auto; justify-content: center; }
    .en-vivo__mute { right: 12px; bottom: auto; top: 12px; }
}
