
        :root {
            --u-yellow: #FFD700;
            --editorial-white: #F4F4F4;
            --overlay: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.75) 35%, rgba(0,0,0,0.2) 80%);
            --bg-color: #000000;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body { 
            font-family: 'Open Sans', sans-serif; 
            background: #000; 
            color: var(--editorial-white); 
            overflow: hidden; 
            width: 100vw; 
            height: 100vh; 
        }

        /* =========================================
           MODO LITE (RENDIMIENTO EXTREMO)
           ========================================= */
        body.lite-mode .overlay { display: none !important; }
        body.lite-mode #ticker-bar { display: none !important; }
        body.lite-mode #logo-badge { display: none !important; }
        body.lite-mode #movie-logo-badge { display: none !important; }
        body.lite-mode #qr-widget { display: none !important; }
        body.lite-mode .w-letter { animation: none !important; transform: none !important; }
        /* EFECTO BISELADO PARA EL WIDGET (MODO LITE) */
        body.lite-mode #side-widget {
            background: linear-gradient(135deg, rgba(40,40,40,0.85) 0%, rgba(10,10,10,0.95) 100%);
            padding: 20px 30px;
            border-radius: 16px;
            border-top: 2px solid rgba(255, 255, 255, 0.15);
            border-left: 2px solid rgba(255, 255, 255, 0.08);
            border-bottom: 2px solid rgba(0, 0, 0, 0.9);
            border-right: 2px solid rgba(0, 0, 0, 0.9);
            box-shadow: 5px 15px 30px rgba(0,0,0,0.7);
            bottom: 8%;
            right: 50px;
        }
        /* EFECTO BISELADO PARA LAS NOTICIAS (MODO LITE) */
        body.lite-mode .news-data {
            background: linear-gradient(135deg, rgba(40,40,40,0.85) 0%, rgba(10,10,10,0.95) 100%);
            padding: 25px 35px 25px 25px;
            border-radius: 16px;
            border-top: 2px solid rgba(255, 255, 255, 0.15);
            border-left: 2px solid rgba(255, 255, 255, 0.08);
            border-bottom: 2px solid rgba(0, 0, 0, 0.9);
            border-right: 2px solid rgba(0, 0, 0, 0.9);
            box-shadow: 5px 15px 30px rgba(0,0,0,0.7);
            overflow: hidden; /* Evita que la barra de progreso amarilla se salga de los bordes curvos */
        }

        #splash-screen {
            position: fixed; inset: 0; background: #000; z-index: 10000; display: flex;
            justify-content: center; align-items: center; transition: opacity 1s ease, visibility 1s;
        }
        #splash-screen.hidden { opacity: 0; visibility: hidden; }

        .logo-row-splash { font-size: 7.5rem; font-family: 'Roboto', sans-serif; font-weight: 300; line-height: 1; text-align: center; height: 1em; }
        .subtitle-splash { margin-top: 2.5rem; font-size: 1.4rem; font-weight: 300; color: #eeeeee; opacity: 0; transform: translateY(15px); transition: all 1.5s ease; text-align: center; }
        .subtitle-splash.active { opacity: 1; transform: translateY(0); }

        #main-content { width: 100%; height: 100%; position: relative; transition: opacity 1s ease; opacity: 0; z-index: 100; }
        #main-content.visible { opacity: 1; }
        
        .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease-in-out; z-index: 1; transform: translate3d(0, 0, 0); backface-visibility: hidden; perspective: 1000px; will-change: opacity; }
        .slide.active { opacity: 1; z-index: 10; }
        
        .bg-img { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transform: translateZ(0); backface-visibility: hidden; }
        .overlay { position: absolute; inset: 0; background: var(--overlay); z-index: -1; transform: translateZ(0); backface-visibility: hidden; }

        @keyframes pixelShift { 0% { transform: translate3d(0px, 0px, 0); } 25% { transform: translate3d(4px, 3px, 0); } 50% { transform: translate3d(0px, 6px, 0); } 75% { transform: translate3d(-4px, 2px, 0); } 100% { transform: translate3d(0px, 0px, 0); } }

        .widget { position: absolute; top: 40px; z-index: 10000 !important; animation: pixelShift 30s infinite alternate linear; will-change: transform, opacity; }
        
        #logo-widget { left: 60px; opacity: 1; transition: opacity 1s ease; }
        #side-widget { right: 60px; text-align: right; opacity: 1; top: auto; bottom: 12%; transition: opacity 1s ease; }
        .logo-text { font-family: 'Roboto', sans-serif; font-size: 2.2rem; font-weight: 900; letter-spacing: 1px; }
        .u-yellow { color: var(--u-yellow); }

        .beta-tag { font-family: 'Open Sans', sans-serif; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: rgba(255, 255, 255, 0.4); margin-top: -2px; text-align: left; width: 100%; padding-left: 2px; }
        .date-box { font-family: 'Open Sans', sans-serif; font-size: 0.95rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 5px; }
        .time-box { font-family: 'Merriweather', serif; font-size: 3.8rem; font-weight: 300; line-height: 1; }
        .temp-box { font-family: 'Open Sans', sans-serif; font-size: 1.4rem; font-weight: 300; margin-top: 8px; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 8px; display: inline-flex; align-items: center; gap: 10px; }

        #news-container, #ticker-bar { transition: opacity 1s ease; }

        .news-data { position: absolute; bottom: 12%; left: 60px; z-index: 20; width: 60%; padding-left: 25px;}
        .progress-track { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: rgba(255,255,255,0.2); }
        .progress-fill { width: 100%; height: 100%; background: var(--u-yellow); transform-origin: top; transform: scaleY(0); will-change: transform; }
        @keyframes fillVertical { from { transform: scaleY(0); } to { transform: scaleY(1); } }

        .fuente-tag { font-family: 'Open Sans', sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--u-yellow); margin-bottom: 15px; display: flex; align-items: center; }
        .fuente-tag::before { content: ""; display: inline-block; width: 25px; height: 1px; background-color: var(--u-yellow); margin-right: 12px; }
        h1 { font-family: 'Open Sans', sans-serif; font-size: 2.1rem; font-weight: 600; line-height: 1.3; margin-bottom: 15px; }
        p { font-family: 'Open Sans', sans-serif; font-size: 1.2rem; line-height: 1.6; font-weight: 300; color: rgba(255, 255, 255, 0.9); }

        #qr-widget { position: absolute; top: 40px; right: 60px; z-index: 100; background: rgba(0, 0, 0, 0.35); padding: 16px; border-radius: 20px; text-align: center; opacity: 0; transition: opacity 1.5s ease; backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
        #qr-container { width: 105px; height: 105px; border-radius: 10px; background: rgba(255, 255, 255, 0.95); padding: 5px; margin: 0 auto; display: flex; justify-content: center; align-items: center; }
        .qr-text { font-family: 'Open Sans', sans-serif; font-size: 0.7rem; color: rgba(255, 215, 0, 0.85); margin-top: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }

        #title-widget { right: 60px; text-align: right; opacity: 0; background: rgba(0, 0, 0, 0.65); padding: 12px 25px; border-radius: 12px; transition: opacity 1.5s ease; backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 10px 25px rgba(0,0,0,0.5); }
        .title-label { font-family: 'Open Sans', sans-serif; font-size: 0.75rem; color: #ccc; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 2px; display: block; font-weight: 400;}
        .title-name { font-family: 'Open Sans', sans-serif; font-size: 1.25rem; color: var(--u-yellow); font-weight: 700; text-transform: uppercase; letter-spacing: 1px;}

        #ticker-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 70px; background: rgba(0, 0, 0, 0.85); z-index: 150; border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-family: 'Open Sans', sans-serif; color: #fff; overflow: hidden; }
       .ticker-content { position: absolute; width: 100%; text-align: center; opacity: 0; transition: opacity 1.5s ease; display: flex; justify-content: center; gap: 12px; padding: 0 20px; box-sizing: border-box; }
        .ticker-content.active { opacity: 1; }
        .t-item { display: flex; align-items: center; gap: 6px; }
        .t-lbl { font-size: 0.8rem; font-weight: 400; color: #bbb; text-transform: uppercase; letter-spacing: 0.5px; }
        .t-val { font-size: 1.1rem; font-weight: 700; color: var(--u-yellow); }
        .t-min { font-size: 0.85rem; color: #888; margin-left: 3px; }
        .t-pop { font-size: 0.8rem; color: #60a5fa; font-weight: 600; margin-left: 4px; }

        #ad-player { position: fixed; inset: 0; width: 100%; height: 100%; background: transparent !important; display: none; object-fit: cover; transition: opacity 2s ease-in-out; z-index: 9998; opacity: 1; }
        #movie-player { position: fixed; top: 0; left: 50%; transform: translateX(-50%); height: 100vh !important; width: 133.33vh !important; background: transparent !important; display: none; object-fit: fill; transition: opacity 2s ease-in-out; z-index: 50; opacity: 0; box-shadow: 0 0 0 100vw #000; }
        
        #slow-tv-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #000; display: none; z-index: 45; opacity: 0; transition: opacity 2s ease-in-out; pointer-events: none; }
        #slow-tv-container iframe { width: 100%; height: 100%; border: none; transform: scale(1.15); }

        .w-letter { display: inline-block; }
        .wave-active .w-letter { animation: olaDeMar 1.2s ease-in-out; animation-delay: calc(var(--i) * 0.08s); }
        @keyframes olaDeMar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
        
        .eq-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
        .eq-bar { width: 3px; background-color: var(--u-yellow); border-radius: 1px; animation: bounce 1s infinite ease-in-out; }
        .eq-bar-1 { animation-duration: 1.2s; } .eq-bar-2 { animation-duration: 1.8s; } .eq-bar-3 { animation-duration: 1.4s; } .eq-bar-4 { animation-duration: 2.2s; }
        @keyframes bounce { 0%, 100% { height: 3px; } 50% { height: 12px; } }
        
        /* --- ESTILOS PARA LA PLACA INFORMATIVA --- */
#placa-container {
    position: absolute;
    top: 15%; /* Deja espacio arriba para el logo y hora */
    left: 15%;
    width: 70%;
    height: 70%;
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(20,20,20,0.85) 100%);
    border: 2px solid var(--u-yellow); /* Borde con el color de UnicaTV */
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.9);
    z-index: 60; /* Por encima de las noticias, por debajo del HUD */
    display: none; /* Oculto por defecto */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    color: var(--editorial-white);
    opacity: 0;
    transition: opacity 1s ease;
}

#placa-container.active {
    display: flex;
    opacity: 1;
}

#placa-titulo {
    font-family: 'Merriweather', serif;
    font-size: 4rem;
    color: var(--u-yellow);
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

#placa-desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.5rem;
    line-height: 1.5;
    font-weight: 300;
}
