/* CANAL 8 GT - FIX REDES Y PORTADA V6.1.2 */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    background:#f5f6f8;
    color:#111827;
}
.header{
    background:#fff;
    padding:14px 5%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    position:sticky;
    top:0;
    z-index:20;
    box-shadow:0 2px 12px rgba(0,0,0,.06);
}
.brand{font-weight:900;font-size:1.25rem}
.header-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.header-btn,.install,.control-btn{
    border:0;
    border-radius:10px;
    padding:11px 15px;
    font-weight:700;
    cursor:pointer;
}
.header-btn{background:var(--secondary);color:#fff}
.install{background:var(--primary);color:#fff}

.hero{
    background:linear-gradient(135deg,var(--secondary),#000);
    color:#fff;
    padding:34px 5% 42px;
}
.player{
    position:relative;
    max-width:1100px;
    margin:auto;
    aspect-ratio:16/9;
    background:#000;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.player video{width:100%;height:100%;display:block;background:#000}
.player-toolbar{
    max-width:1100px;
    margin:14px auto 0;
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}
.live{
    display:inline-flex;
    align-items:center;
    background:var(--primary);
    color:#fff;
    padding:9px 14px;
    border-radius:999px;
    font-weight:800;
}
.control-btn{background:#fff;color:#111827}

.section{max-width:1200px;margin:auto;padding:42px 5%}
.section h2{margin-top:0}
.section-heading{
    display:flex;
    justify-content:space-between;
    align-items:end;
    margin-bottom:18px;
}
.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:18px;
}
.card{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,.06);
}
.card img{width:100%;height:190px;object-fit:cover;display:block}
.card .body{padding:18px}
.card h3{margin-top:0}
.card p{line-height:1.55;color:#4b5563}

.sponsors{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:16px;
}
.sponsor{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:16px;
    text-align:center;
    text-decoration:none;
    color:#111827;
    transition:.2s;
}
.sponsor:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 28px rgba(0,0,0,.08);
}
.sponsor img{
    width:100%;
    height:80px;
    object-fit:contain;
    display:block;
    margin-bottom:10px;
}

.eyebrow{
    font-size:.76rem;
    font-weight:900;
    letter-spacing:.12em;
    color:var(--primary);
}
.next-match-card{
    display:grid;
    grid-template-columns:minmax(260px,38%) 1fr;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 14px 40px rgba(0,0,0,.08);
    border:1px solid #e5e7eb;
}
.next-match-art{min-height:280px;background:#111827}
.next-match-art img{width:100%;height:100%;min-height:280px;object-fit:cover}
.next-match-content{padding:30px;display:flex;flex-direction:column;justify-content:center}
.competition{
    font-weight:800;
    color:var(--primary);
    text-transform:uppercase;
    font-size:.86rem;
    letter-spacing:.05em;
}
.next-match-content h3{
    font-size:clamp(1.6rem,4vw,2.8rem);
    margin:10px 0 20px;
    line-height:1.05;
}
.next-match-content h3 span{font-size:.55em;color:#6b7280}
.match-detail-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}
.match-detail-grid div{
    background:#f8fafc;
    border:1px solid #eef2f7;
    border-radius:12px;
    padding:14px;
}
.match-detail-grid small{display:block;color:#6b7280;margin-bottom:5px}
.match-detail-grid strong{display:block}
.next-match-note{margin:20px 0 0;color:#4b5563}

/* REDES SOCIALES */
.social-section{padding-top:20px;padding-bottom:50px}
.social-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:20px;
    padding:30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}
.social-card h2{margin:6px 0 8px}
.social-card p{margin:0;color:#6b7280;line-height:1.5}
.social-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    justify-content:flex-end;
    align-items:center;
}
.social-buttons a{
    display:inline-flex;
    min-width:118px;
    align-items:center;
    justify-content:center;
    padding:12px 18px;
    border-radius:11px;
    text-decoration:none !important;
    font-weight:800;
    line-height:1;
    color:#fff !important;
    background:var(--secondary);
    transition:transform .15s ease,box-shadow .15s ease;
}
.social-buttons a:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,.14);
}
.social-buttons a:nth-child(1){background:#1877f2}
.social-buttons a:nth-child(2){background:#ff0033}
.social-buttons a:nth-child(3){background:#111}
.social-buttons a:nth-child(4){background:#128c7e}

footer{text-align:center;padding:30px;color:#6b7280}

/* MODO TV */
.tv-mode{
    font-size:1.12rem;
    background:#070a10;
}
.tv-mode .header{background:#0b0f17;color:#fff;padding-top:20px;padding-bottom:20px}
.tv-mode .player{max-width:1500px;border-radius:10px}
.tv-mode .player-toolbar,.tv-mode .section{max-width:1500px}
.tv-mode button,.tv-mode a{font-size:1.05em}
.tv-mode *:focus{outline:4px solid #fbbf24;outline-offset:4px}

@media(max-width:760px){
    .header{padding:12px 16px}
    .hero{padding:24px 14px 32px}
    .section{padding:34px 18px}
    .next-match-card{grid-template-columns:1fr}
    .next-match-art,.next-match-art img{min-height:210px}
    .next-match-content{padding:22px}
    .match-detail-grid{grid-template-columns:1fr}
    .social-card{display:block;padding:22px}
    .social-buttons{
        margin-top:20px;
        justify-content:flex-start;
    }
    .social-buttons a{
        flex:1 1 calc(50% - 12px);
        min-width:120px;
    }
}

@media(max-width:420px){
    .social-buttons a{flex:1 1 100%}
}


/* V6.3 - AHORA AL AIRE + PROGRAMACIÓN ENRIQUECIDA */
.on-air-section{padding-top:34px;padding-bottom:12px}
.on-air-card{
    background:linear-gradient(135deg,#fff,#f8fafc);
    border:1px solid #e5e7eb;
    border-left:6px solid var(--primary);
    border-radius:20px;
    overflow:hidden;
    display:grid;
    grid-template-columns:minmax(220px,34%) 1fr;
    box-shadow:0 14px 36px rgba(0,0,0,.08);
}
.on-air-image{min-height:230px;background:#111827}
.on-air-image img{width:100%;height:100%;min-height:230px;object-fit:cover;display:block}
.on-air-content{padding:30px;display:flex;flex-direction:column;justify-content:center}
.on-air-content h2{font-size:clamp(1.7rem,4vw,2.7rem);margin:6px 0 10px}
.on-air-content p{margin:7px 0;color:#4b5563;line-height:1.55}
.on-air-time{font-weight:900;color:var(--secondary);font-size:1.08rem;margin-bottom:8px}

.program-card{display:flex;flex-direction:column}
.program-card>img{height:180px;object-fit:cover}
.program-time{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--secondary)}
.program-live{
    background:var(--primary);
    color:#fff;
    padding:4px 8px;
    border-radius:999px;
    font-size:.68rem;
    font-weight:900;
}
.program-presenter{font-weight:700;color:#374151!important}

@media(max-width:760px){
    .on-air-card{grid-template-columns:1fr}
    .on-air-image,.on-air-image img{min-height:200px}
    .on-air-content{padding:22px}
}


/* V6.3.1 - ISOTIPO EN ENCABEZADO */
.brand-block{display:flex;flex-direction:column;justify-content:center}
.brand-line{display:flex;align-items:center;gap:10px;min-height:46px}
.brand-isotipo{width:46px;height:46px;object-fit:contain;display:block;flex:0 0 auto}
.brand-block>small{display:block;margin-top:-3px}
@media(max-width:520px){
  .brand-line{gap:7px;min-height:38px}
  .brand-isotipo{width:38px;height:38px}
  .brand{font-size:1.08rem}
}
.tv-mode .brand-isotipo{width:54px;height:54px}


/* =========================================================
   CANAL 8 GT V6.3.2
   AHORA AL AIRE + PRÓXIMO PARTIDO
   ========================================================= */

/* AHORA AL AIRE */
.on-air-card{
    position:relative;
    grid-template-columns:minmax(270px,38%) 1fr;
    border-left:0;
    background:#fff;
    box-shadow:0 18px 45px rgba(17,24,39,.10);
}
.on-air-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:5px;
    background:linear-gradient(90deg,var(--primary),var(--secondary));
    z-index:2;
}
.on-air-image{
    position:relative;
    min-height:270px;
}
.on-air-image img{
    min-height:270px;
}
.on-air-image::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.42));
    pointer-events:none;
}
.on-air-image-badge{
    position:absolute;
    left:16px;
    bottom:16px;
    z-index:2;
    background:rgba(0,0,0,.74);
    color:#fff;
    padding:7px 10px;
    border-radius:8px;
    font-size:.72rem;
    font-weight:900;
    letter-spacing:.1em;
}
.on-air-content{
    padding:34px 36px;
}
.on-air-topline{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:5px;
}
.on-air-pulse{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#111827;
    font-weight:900;
    font-size:.78rem;
    letter-spacing:.1em;
}
.on-air-pulse i,
.match-status-live i{
    width:10px;
    height:10px;
    display:inline-block;
    border-radius:50%;
    background:#ef4444;
    box-shadow:0 0 0 0 rgba(239,68,68,.5);
    animation:c8pulse 1.7s infinite;
}
@keyframes c8pulse{
    0%{box-shadow:0 0 0 0 rgba(239,68,68,.5)}
    70%{box-shadow:0 0 0 8px rgba(239,68,68,0)}
    100%{box-shadow:0 0 0 0 rgba(239,68,68,0)}
}
.on-air-live{
    background:#ef4444;
    color:#fff;
    padding:5px 9px;
    border-radius:999px;
    font-size:.68rem;
    font-weight:900;
}
.on-air-content h2{
    margin:8px 0 15px;
}
.on-air-time{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#f3f4f6;
    border-radius:10px;
    padding:9px 12px;
    margin-bottom:10px;
}
.on-air-time span{
    color:#6b7280;
    font-size:.74rem;
    font-weight:800;
    text-transform:uppercase;
}
.on-air-time strong{
    color:#111827;
}
.on-air-presenter{margin-top:7px!important}
.on-air-description{max-width:680px}
.watch-live-btn{
    align-self:flex-start;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:14px;
    padding:12px 17px;
    border-radius:11px;
    background:var(--secondary);
    color:#fff!important;
    text-decoration:none;
    font-weight:900;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
    transition:.18s ease;
}
.watch-live-btn:hover{
    transform:translateY(-2px);
}

/* PRÓXIMO PARTIDO */
.match-heading{
    gap:18px;
}
.official-broadcast{
    display:inline-flex;
    align-items:center;
    padding:8px 12px;
    border-radius:999px;
    background:#111827;
    color:#fff;
    font-size:.7rem;
    font-weight:900;
    letter-spacing:.08em;
    white-space:nowrap;
}
.next-match-card{
    grid-template-columns:minmax(300px,42%) 1fr;
    border:0;
    box-shadow:0 18px 48px rgba(17,24,39,.11);
}
.next-match-art{
    position:relative;
    min-height:330px;
}
.next-match-art img{
    min-height:330px;
}
.next-match-art::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,transparent 42%,rgba(0,0,0,.7));
    pointer-events:none;
}
.match-art-overlay{
    position:absolute;
    left:22px;
    right:22px;
    bottom:22px;
    z-index:2;
    color:#fff;
}
.match-art-overlay span{
    display:block;
    font-size:.75rem;
    font-weight:800;
    opacity:.88;
    margin-bottom:4px;
}
.match-art-overlay strong{
    display:block;
    font-size:1.15rem;
    letter-spacing:.06em;
}
.next-match-content{
    padding:32px 34px;
}
.match-versus{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:18px;
    margin:16px 0 22px;
}
.match-team small{
    display:block;
    margin-bottom:6px;
    color:#9ca3af;
    font-size:.68rem;
    font-weight:900;
    letter-spacing:.1em;
}
.match-team strong{
    display:block;
    font-size:clamp(1.25rem,2.8vw,2rem);
    line-height:1.08;
}
.match-team-away{
    text-align:right;
}
.versus-badge{
    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--secondary);
    color:#fff;
    font-weight:900;
    font-size:.88rem;
    box-shadow:0 8px 18px rgba(0,0,0,.13);
}
.match-detail-grid div{
    min-height:86px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.match-detail-grid small{
    font-size:.66rem;
    font-weight:900;
    letter-spacing:.08em;
}
.match-detail-grid strong{
    line-height:1.25;
}
.match-actions{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    margin-top:22px;
    padding-top:20px;
    border-top:1px solid #e5e7eb;
}
.match-status-live{
    display:inline-flex;
    align-items:center;
    gap:9px;
    color:#b91c1c;
    font-weight:900;
    font-size:.82rem;
}
.match-tv-label{
    display:block;
    color:var(--secondary);
}
.match-actions .next-match-note{
    margin:3px 0 0;
}
.match-watch-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    background:var(--primary);
    color:#111827!important;
    text-decoration:none;
    padding:12px 16px;
    border-radius:11px;
    font-weight:900;
    box-shadow:0 8px 20px rgba(0,0,0,.10);
    transition:.18s ease;
}
.match-watch-btn:hover{
    transform:translateY(-2px);
}

/* TV mode */
.tv-mode .on-air-card,
.tv-mode .next-match-card{
    box-shadow:0 18px 50px rgba(0,0,0,.24);
}
.tv-mode .on-air-content,
.tv-mode .next-match-content{
    color:#111827;
}

@media(max-width:820px){
    .match-heading{
        align-items:flex-start;
        flex-direction:column;
    }
    .next-match-card{
        grid-template-columns:1fr;
    }
    .next-match-art,
    .next-match-art img{
        min-height:230px;
    }
}
@media(max-width:760px){
    .on-air-card{
        grid-template-columns:1fr;
    }
    .on-air-image,
    .on-air-image img{
        min-height:220px;
    }
    .on-air-content{
        padding:24px;
    }
    .next-match-content{
        padding:24px;
    }
    .match-versus{
        grid-template-columns:1fr auto 1fr;
        gap:10px;
    }
    .match-detail-grid{
        grid-template-columns:1fr;
    }
    .match-actions{
        align-items:stretch;
        flex-direction:column;
    }
    .match-watch-btn,
    .watch-live-btn{
        width:100%;
    }
}
@media(max-width:480px){
    .versus-badge{
        width:42px;
        height:42px;
    }
    .match-team strong{
        font-size:1.05rem;
    }
    .official-broadcast{
        white-space:normal;
    }
}


/* =========================================================
   CANAL 8 GT V6.3.3 - NOTICIAS
   ========================================================= */
.news-section{padding-top:38px}
.news-heading{gap:18px}
.news-heading h2{margin-bottom:0}
.news-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#eef2f7;
    color:#4b5563;
    border-radius:999px;
    padding:8px 12px;
    font-size:.75rem;
    font-weight:800;
    white-space:nowrap;
}

.news-featured{
    display:grid;
    grid-template-columns:minmax(320px,48%) 1fr;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 16px 42px rgba(17,24,39,.09);
    margin-bottom:22px;
}
.news-featured-image{
    position:relative;
    min-height:350px;
    background:#111827;
}
.news-featured-image img{
    width:100%;
    height:100%;
    min-height:350px;
    object-fit:cover;
    display:block;
}
.news-featured-image::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,transparent 60%,rgba(0,0,0,.28));
    pointer-events:none;
}
.news-featured-badge{
    position:absolute;
    top:18px;
    left:18px;
    z-index:2;
    background:var(--primary);
    color:#111827;
    border-radius:999px;
    padding:7px 11px;
    font-size:.68rem;
    font-weight:900;
    letter-spacing:.08em;
}
.news-featured-content{
    padding:34px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.news-meta{
    display:flex;
    gap:10px;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    margin-bottom:9px;
    color:#6b7280;
    font-size:.72rem;
    font-weight:800;
}
.news-meta span{
    color:var(--secondary);
    letter-spacing:.07em;
}
.news-featured h3{
    font-size:clamp(1.65rem,3.7vw,2.65rem);
    line-height:1.08;
    margin:7px 0 14px;
}
.news-summary{
    color:#4b5563;
    line-height:1.65;
    font-size:1.02rem;
}

.news-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
}
.news-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    box-shadow:0 9px 26px rgba(17,24,39,.055);
    transition:transform .18s ease,box-shadow .18s ease;
}
.news-card:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 34px rgba(17,24,39,.10);
}
.news-card-image{
    height:200px;
    background:#111827;
    overflow:hidden;
}
.news-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .28s ease;
}
.news-card:hover .news-card-image img{
    transform:scale(1.03);
}
.news-card-body{
    padding:20px;
    display:flex;
    flex-direction:column;
    flex:1;
}
.news-card h3{
    margin:5px 0 10px;
    font-size:1.14rem;
    line-height:1.25;
}
.news-card p{
    color:#4b5563;
    line-height:1.55;
    margin:0 0 14px;
}

.news-details{
    margin-top:15px;
    border-top:1px solid #e5e7eb;
    padding-top:14px;
}
.news-details summary{
    display:inline-flex;
    align-items:center;
    cursor:pointer;
    list-style:none;
    color:var(--secondary);
    font-weight:900;
    font-size:.86rem;
    user-select:none;
}
.news-details summary::-webkit-details-marker{display:none}
.news-details summary::after{
    content:"+";
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-left:8px;
    width:22px;
    height:22px;
    border-radius:50%;
    background:#eef2f7;
    font-size:1rem;
}
.news-details[open] summary::after{content:"−"}
.news-full-content{
    margin-top:14px;
    padding:16px;
    background:#f8fafc;
    border-radius:12px;
    color:#374151;
    line-height:1.7;
}
.news-details.compact{
    margin-top:auto;
}

.tv-mode .news-featured,
.tv-mode .news-card{
    color:#111827;
}

@media(max-width:980px){
    .news-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:800px){
    .news-featured{
        grid-template-columns:1fr;
    }
    .news-featured-image,
    .news-featured-image img{
        min-height:250px;
    }
    .news-featured-content{
        padding:25px;
    }
}
@media(max-width:620px){
    .news-heading{
        align-items:flex-start;
        flex-direction:column;
    }
    .news-grid{
        grid-template-columns:1fr;
    }
    .news-card-image{
        height:210px;
    }
    .news-featured h3{
        font-size:1.65rem;
    }
}


/* =========================================================
   CANAL 8 GT V6.3.4 - PATROCINADORES
   ========================================================= */
.sponsors-section{padding-top:34px}
.sponsors-heading{gap:18px}
.sponsor-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 12px;
    border-radius:999px;
    background:#eef2f7;
    color:#4b5563;
    font-size:.75rem;
    font-weight:800;
    white-space:nowrap;
}
.sponsors-pro{
    grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
    gap:18px;
}
.sponsor-pro-card{
    position:relative;
    min-height:190px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    text-align:left;
    padding:18px;
    border-radius:18px;
    background:#fff;
    border:1px solid #e5e7eb;
    overflow:hidden;
    box-shadow:0 9px 26px rgba(17,24,39,.055);
}
.sponsor-pro-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:4px;
    background:linear-gradient(90deg,var(--primary),var(--secondary));
}
.sponsor-pro-card:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 34px rgba(17,24,39,.10);
}
.sponsor-logo-wrap{
    height:105px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f8fafc;
    border-radius:14px;
    padding:14px;
    margin-bottom:14px;
}
.sponsor-pro-card img{
    width:100%;
    height:100%;
    max-height:78px;
    object-fit:contain;
    margin:0;
}
.sponsor-placeholder{
    width:62px;
    height:62px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:18px;
    background:var(--secondary);
    color:#fff;
    font-size:1.5rem;
    font-weight:900;
}
.sponsor-info{
    display:flex;
    flex-direction:column;
    gap:4px;
}
.sponsor-info strong{
    font-size:1rem;
    line-height:1.2;
}
.sponsor-info span{
    color:#6b7280;
    font-size:.78rem;
    font-weight:700;
}
.tv-mode .sponsor-pro-card{
    color:#111827;
}

@media(max-width:620px){
    .sponsors-heading{
        align-items:flex-start;
        flex-direction:column;
    }
    .sponsors-pro{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:420px){
    .sponsors-pro{
        grid-template-columns:1fr;
    }
}


/* =========================================================
   CANAL 8 GT V6.3.6 - ENCABEZADO FINAL
   ========================================================= */
.header{
    min-height:74px;
}
.brand-block{
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.brand-line{
    display:flex;
    align-items:center;
    gap:11px;
}
.brand{
    font-size:1.35rem;
    letter-spacing:.015em;
    line-height:1;
}
.brand-isotipo{
    width:48px;
    height:48px;
    object-fit:contain;
    display:block;
    flex:0 0 auto;
}
.brand-tagline{
    display:block;
    margin-top:-3px;
    color:#6b7280;
    font-size:.76rem;
    font-weight:700;
    letter-spacing:.07em;
    text-transform:uppercase;
}
.header-live{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:40px;
    padding:9px 13px;
    border-radius:999px;
    background:#fff1f2;
    border:1px solid #fecdd3;
    color:#be123c;
    text-decoration:none;
    font-size:.74rem;
    font-weight:900;
    letter-spacing:.06em;
    transition:.18s ease;
}
.header-live:hover{
    transform:translateY(-1px);
    background:#ffe4e6;
}
.header-live-dot{
    width:9px;
    height:9px;
    border-radius:50%;
    background:#ef4444;
    box-shadow:0 0 0 0 rgba(239,68,68,.5);
    animation:c8HeaderPulse 1.7s infinite;
}
@keyframes c8HeaderPulse{
    0%{box-shadow:0 0 0 0 rgba(239,68,68,.5)}
    70%{box-shadow:0 0 0 7px rgba(239,68,68,0)}
    100%{box-shadow:0 0 0 0 rgba(239,68,68,0)}
}

.tv-mode .brand-tagline{color:#cbd5e1}
.tv-mode .header-live{
    background:#2a1014;
    border-color:#7f1d1d;
    color:#fecaca;
}

@media(max-width:700px){
    .header{
        min-height:66px;
        gap:10px;
    }
    .brand-line{gap:7px}
    .brand{font-size:1.08rem}
    .brand-isotipo{width:39px;height:39px}
    .brand-tagline{font-size:.62rem;margin-top:-1px}
    .header-actions{gap:5px}
    .header-live{
        padding:8px 10px;
        min-height:36px;
        font-size:.66rem;
    }
    .header-btn,.install{
        padding:9px 10px;
        font-size:.76rem;
    }
}
@media(max-width:470px){
    .header{
        align-items:center;
    }
    .brand-tagline{
        max-width:120px;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }
    .header-live span:last-child{
        display:none;
    }
    .header-live{
        width:36px;
        padding:0;
    }
    .header-live-dot{
        width:10px;
        height:10px;
    }
}


/* =========================================================
   CANAL 8 GT V6.3.7 - GUÍA DE TV
   ========================================================= */
.tv-guide-section{padding-top:36px}
.tv-guide-heading{gap:18px}
.tv-guide-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#eef2f7;
    color:#4b5563;
    border-radius:999px;
    padding:8px 12px;
    font-size:.75rem;
    font-weight:800;
    white-space:nowrap;
}
.tv-guide-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}
.tv-guide-item{
    display:grid;
    grid-template-columns:95px 150px minmax(0,1fr) auto;
    align-items:center;
    gap:18px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:14px 16px;
    box-shadow:0 7px 22px rgba(17,24,39,.05);
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.tv-guide-item:hover{
    transform:translateY(-2px);
    box-shadow:0 11px 28px rgba(17,24,39,.085);
}
.tv-guide-item.is-current{
    border-color:var(--primary);
    box-shadow:0 12px 34px rgba(17,24,39,.11);
    position:relative;
}
.tv-guide-item.is-current::before{
    content:"";
    position:absolute;
    left:0;
    top:14px;
    bottom:14px;
    width:5px;
    border-radius:0 5px 5px 0;
    background:var(--primary);
}
.tv-guide-time{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding-left:4px;
}
.tv-guide-start{
    font-size:1.12rem;
    font-weight:900;
    color:#111827;
}
.tv-guide-end{
    margin-top:3px;
    color:#9ca3af;
    font-size:.74rem;
    font-weight:700;
}
.tv-guide-thumb{
    position:relative;
    width:150px;
    height:86px;
    border-radius:12px;
    overflow:hidden;
    background:#111827;
}
.tv-guide-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.tv-guide-placeholder{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,var(--secondary),#111827);
    color:#fff;
    font-size:2rem;
    font-weight:900;
}
.tv-guide-now,
.tv-guide-live{
    position:absolute;
    left:8px;
    bottom:8px;
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:5px 8px;
    border-radius:999px;
    color:#fff;
    font-size:.62rem;
    font-weight:900;
    letter-spacing:.05em;
}
.tv-guide-now{background:#dc2626}
.tv-guide-live{background:rgba(17,24,39,.88)}
.tv-guide-now i{
    width:7px;
    height:7px;
    border-radius:50%;
    background:#fff;
    animation:c8GuidePulse 1.6s infinite;
}
@keyframes c8GuidePulse{
    0%,100%{opacity:1}
    50%{opacity:.35}
}
.tv-guide-info{
    min-width:0;
}
.tv-guide-topline{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}
.tv-guide-info h3{
    margin:0;
    font-size:1.08rem;
    line-height:1.25;
}
.tv-guide-status-current{
    display:inline-flex;
    align-items:center;
    padding:4px 8px;
    border-radius:999px;
    background:#fff1f2;
    color:#be123c;
    font-size:.62rem;
    font-weight:900;
    letter-spacing:.05em;
}
.tv-guide-presenter{
    margin:6px 0 0;
    color:#4b5563;
    font-size:.86rem;
}
.tv-guide-description{
    margin:6px 0 0;
    color:#6b7280;
    font-size:.84rem;
    line-height:1.45;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.tv-guide-action{
    display:flex;
    justify-content:flex-end;
}
.tv-guide-watch{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    background:var(--secondary);
    color:#fff!important;
    border-radius:10px;
    padding:10px 13px;
    font-size:.78rem;
    font-weight:900;
    white-space:nowrap;
}
.tv-guide-channel{
    color:#9ca3af;
    font-size:.68rem;
    font-weight:900;
    letter-spacing:.08em;
    white-space:nowrap;
}
.tv-guide-empty{
    background:#fff;
    border:1px dashed #cbd5e1;
    border-radius:16px;
    padding:24px;
    display:flex;
    flex-direction:column;
    gap:6px;
    color:#4b5563;
}
.tv-guide-empty strong{color:#111827}

.tv-mode .tv-guide-item{
    color:#111827;
}
.tv-mode .tv-guide-start,
.tv-mode .tv-guide-info h3{
    color:#111827;
}

@media(max-width:900px){
    .tv-guide-item{
        grid-template-columns:82px 125px minmax(0,1fr);
    }
    .tv-guide-thumb{
        width:125px;
        height:76px;
    }
    .tv-guide-action{
        grid-column:3;
        justify-content:flex-start;
        margin-top:-4px;
    }
}
@media(max-width:650px){
    .tv-guide-heading{
        align-items:flex-start;
        flex-direction:column;
    }
    .tv-guide-item{
        grid-template-columns:74px 100px minmax(0,1fr);
        gap:12px;
        padding:12px;
    }
    .tv-guide-thumb{
        width:100px;
        height:68px;
    }
    .tv-guide-info h3{
        font-size:.95rem;
    }
    .tv-guide-description{
        display:none;
    }
    .tv-guide-action{
        grid-column:2 / 4;
        padding-left:0;
    }
}
@media(max-width:430px){
    .tv-guide-item{
        grid-template-columns:68px 82px minmax(0,1fr);
        gap:9px;
    }
    .tv-guide-thumb{
        width:82px;
        height:60px;
    }
    .tv-guide-start{
        font-size:1rem;
    }
    .tv-guide-end{
        font-size:.66rem;
    }
    .tv-guide-presenter{
        font-size:.76rem;
    }
}


/* =========================================================
   CANAL 8 GT V6.3.8 - MENÚ DE NAVEGACIÓN
   ========================================================= */
.main-nav{
    position:sticky;
    top:74px;
    z-index:18;
    background:rgba(255,255,255,.97);
    backdrop-filter:blur(10px);
    border-top:1px solid #f1f5f9;
    border-bottom:1px solid #e5e7eb;
    box-shadow:0 4px 16px rgba(17,24,39,.04);
}
.main-nav-inner{
    max-width:1200px;
    margin:auto;
    padding:8px 5%;
    display:flex;
    align-items:center;
    gap:8px;
    overflow-x:auto;
    scrollbar-width:none;
}
.main-nav-inner::-webkit-scrollbar{display:none}
.main-nav a{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 13px;
    border-radius:999px;
    text-decoration:none;
    color:#374151;
    font-size:.78rem;
    font-weight:800;
    white-space:nowrap;
    transition:.16s ease;
}
.main-nav a:hover{
    background:#f3f4f6;
    color:var(--secondary);
}
.main-nav a:first-child{
    background:var(--secondary);
    color:#fff;
}
.main-nav a:first-child:hover{
    filter:brightness(1.05);
}
section[id]{
    scroll-margin-top:145px;
}
.tv-mode .main-nav{
    background:rgba(11,15,23,.96);
    border-color:#1f2937;
}
.tv-mode .main-nav a{
    color:#e5e7eb;
}
.tv-mode .main-nav a:hover{
    background:#1f2937;
}
.tv-mode .main-nav a:first-child{
    background:var(--primary);
    color:#111827;
}

@media(max-width:700px){
    .main-nav{
        top:66px;
    }
    .main-nav-inner{
        padding:7px 12px;
    }
    .main-nav a{
        padding:8px 11px;
        font-size:.72rem;
    }
    section[id]{
        scroll-margin-top:130px;
    }
}

/* CANAL 8 GT V6.4.0 - espectadores en vivo */
.live-viewer-badge{
    position:absolute;right:14px;top:14px;z-index:8;
    display:inline-flex;align-items:center;gap:7px;
    padding:8px 11px;border-radius:999px;
    background:rgba(0,0,0,.72);color:#fff;
    font-size:.78rem;font-weight:700;line-height:1;
    backdrop-filter:blur(8px);pointer-events:none
}
.live-viewer-dot{
    width:8px;height:8px;border-radius:50%;
    background:#ef4444;
    box-shadow:0 0 0 0 rgba(239,68,68,.7);
    animation:c8ViewerPulse 1.6s infinite
}
@keyframes c8ViewerPulse{
    0%{box-shadow:0 0 0 0 rgba(239,68,68,.7)}
    70%{box-shadow:0 0 0 7px rgba(239,68,68,0)}
    100%{box-shadow:0 0 0 0 rgba(239,68,68,0)}
}
@media(max-width:700px){
    .live-viewer-badge{top:10px;right:10px;padding:7px 9px;font-size:.7rem}
}
