/* Costa Noroeste TV · web nueva (v2).
   Web corporativa de televisión: el directo abre la web, después la programación y A la carta (parrilla tipo
   plataforma, oscura) y las noticias en vídeo (claras y compactas). Logo y símbolo «n.» como hilo conductor. */
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-600-normal.woff) format('woff'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url(/fonts/poppins-latin-700-normal.woff) format('woff'); }
@font-face { font-family: 'Mulish'; font-weight: 400; font-display: swap; src: url(/fonts/mulish-latin-400-normal.woff) format('woff'); }
@font-face { font-family: 'Mulish'; font-weight: 700; font-display: swap; src: url(/fonts/mulish-latin-700-normal.woff) format('woff'); }

:root {
  --red: #d10014; --red-2: #a8000f; --red-hi: #ff2d43; --red-soft: #fff0f1;
  --ink: #14161a; --ink-2: #444a52; --muted: #6e747d; --line: #e6e8eb; --bg: #ffffff; --bg-2: #f4f5f7; --card: #fff;
  --dk: #0d0e12; --dk-2: #17191f; --dk-3: #22252d; --dk-line: rgba(255,255,255,.08); --on-dk: #f1f2f4; --on-dk-2: #a9afb8;
  --r: 14px; --r-s: 10px;
  --wrap: 1320px; --gut: clamp(16px, 3vw, 32px); --hdr: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 'Mulish', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body.dark { background: var(--dk); color: var(--on-dk); }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; line-height: 1.18; margin: 0 0 .4em; letter-spacing: -.015em; }
h1 { font-size: clamp(26px, 3.4vw, 40px); }
h2 { font-size: clamp(20px, 2.1vw, 26px); }
h3 { font-size: 16px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
.clamp2, .clamp3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.clamp2 { -webkit-line-clamp: 2; } .clamp3 { -webkit-line-clamp: 3; }
.meta { color: var(--muted); font-size: 13.5px; }
body.dark .meta, .dk .meta { color: var(--on-dk-2); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fff; flex: none; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 700 14.5px 'Mulish', sans-serif; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { border-color: #c9cdd2; }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.red:hover { background: var(--red-2); }
.btn.wh { background: #fff; border-color: #fff; color: #111; }
.btn.gl { background: rgba(255,255,255,.14); border-color: transparent; color: #fff; }
.btn.gl:hover { background: rgba(255,255,255,.22); }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.ratio { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.ratio > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ------------------------------------------------------------------ cabecera: franja de emisión + barra roja de marca */
.hdr { position: sticky; top: 0; z-index: 40; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.hdr-top { background: #0d0e12; color: #c4c8cf; font-size: 13px; height: 34px; overflow: hidden; transition: margin-top .2s var(--ease); }
.hdr.scrolled .hdr-top { margin-top: -34px; }
.hdr-top .wrap { display: flex; align-items: center; gap: 18px; height: 34px; }
.hdr-top .date { white-space: nowrap; }
.hdr-top .now { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; color: #fff; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.15); }
.hdr-top .now .dot { background: var(--red-hi); }
.hdr-top .now b { font: 700 11.5px 'Poppins', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--red-hi); }
.hdr-top .now .t { font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.hdr-top .now .nx { color: #9aa0a9; overflow: hidden; text-overflow: ellipsis; }
.hdr-top .now:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.hdr-top .sp { flex: 1; }
.hdr-top .soc a { width: 26px; height: 26px; border-radius: 6px; background: transparent; }
.hdr-top .soc svg { width: 14px; height: 14px; }
.hdr-main { background: linear-gradient(90deg, #a5000e 0%, #d10014 45%, #e01a2f 100%); color: #fff; height: var(--hdr); }
.hdr-main .wrap { display: flex; align-items: center; gap: 22px; height: 100%; }
.logo { flex: none; }
.logo img { height: 42px; width: auto; }
.nav { display: flex; align-items: stretch; height: 100%; }
.nav a { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 15px; font: 600 15px 'Poppins', sans-serif; color: #fff; opacity: .92; transition: background .15s, opacity .15s; }
.nav a svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.nav a:hover { background: rgba(0,0,0,.14); opacity: 1; }
.nav a.on { background: rgba(0,0,0,.2); opacity: 1; }
.nav a.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: #fff; }
.hdr-main .sp { flex: 1; }
.ib { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; color: inherit; }
.hdr-main .ib { color: #fff; }
.hdr-main .ib:hover { background: rgba(0,0,0,.16); }
.ib svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.live-btn { flex: none; display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--red); font: 700 14px 'Poppins', sans-serif; letter-spacing: .03em; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.18); transition: transform .15s; }
.live-btn:hover { transform: scale(1.04); }
.live-btn .dot { background: var(--red); }
.menu-b { display: none; }
.subnav { display: none; }
@media (max-width: 1080px) { .nav a svg { display: none; } .nav a { padding: 0 11px; } .hdr-top .now .nx { display: none; } }
@media (max-width: 960px) {
  :root { --hdr: 58px; }
  .hdr-top { display: none; }
  .nav { display: none; } /* en el móvil, las secciones van en la barra de pestañas (sin menú lateral) */
  .logo img { height: 36px; } .hdr-main .wrap { gap: 8px; }
  /* Secciones en el móvil: las cinco a la vista, sin desplazar (icono y nombre, como una barra de pestañas) */
  .subnav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #0d0e12; padding: 0 4px; height: 54px; }
  .subnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; color: #aeb3bb; font: 600 11px/1.1 'Poppins', sans-serif; letter-spacing: -.01em; white-space: nowrap; border-bottom: 3px solid transparent; }
  .subnav a svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .subnav a.on { color: #fff; border-bottom-color: var(--red-hi); }
}
@media (max-width: 420px) { .live-btn { padding: 0 14px; font-size: 13px; gap: 7px; } .hdr-main .ib[data-search] { width: 38px; } }
/* menú lateral (móvil) */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; background: rgba(0,0,0,.5); }
.drawer.on { display: block; }
.drawer .in { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 340px); background: #fff; color: var(--ink); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; animation: slide .2s var(--ease); overflow-y: auto; }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.drawer .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer .top img { height: 36px; }
.drawer nav a { display: flex; align-items: center; gap: 12px; padding: 13px 4px; font: 600 17px 'Poppins', sans-serif; border-bottom: 1px solid var(--line); }
.drawer nav a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.drawer .soc { margin-top: 18px; }
/* buscador */
.search-ov { position: fixed; inset: 0; z-index: 60; display: none; background: rgba(13,14,18,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 14vh var(--gut) 0; }
.search-ov.on { display: block; }
.search-ov form { max-width: 720px; margin: 0 auto; display: flex; gap: 8px; background: #fff; border-radius: 12px; padding: 8px 8px 8px 18px; }
.search-ov input { flex: 1; min-width: 0; border: 0; outline: 0; font: 700 19px 'Mulish', sans-serif; color: var(--ink); }

/* ------------------------------------------------------------------ títulos de sección con el símbolo «n.» */
.sh { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.sh::before { content: ''; width: 30px; height: 30px; flex: none; background: url(/img/mark-red.png) center / contain no-repeat; }
.sh h2 { margin: 0; }
/* «Ver todo» de cada fila: botón visible (contorno; al pasar, relleno rojo) */
.sh .more { margin-left: auto; height: 38px; padding: 0 16px 0 18px; border-radius: 999px; border: 1.5px solid var(--red); font: 600 14px 'Poppins', sans-serif; color: var(--red); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; transition: background .15s, color .15s, border-color .15s; }
.sh .more span { display: inline-block; font-size: 18px; line-height: 1; transition: transform .2s var(--ease); }
.dk .sh .more, body.dark .sh .more { color: #fff; border-color: rgba(255,255,255,.4); }
.sh .more:hover, .dk .sh .more:hover, body.dark .sh .more:hover { background: var(--red); border-color: var(--red); color: #fff; }
.sh .more:hover span { transform: translateX(3px); }
@media (max-width: 640px) { .sh .more { height: 34px; padding: 0 12px 0 14px; font-size: 13px; } }
.sec { padding: clamp(28px, 4vw, 52px) 0; }
.sec.tight { padding-top: 0; }
.dk { background: var(--dk); color: var(--on-dk); }
.alt { background: var(--bg-2); }

/* ------------------------------------------------------------------ directo (abre la web) */
.live-hero { background: radial-gradient(1200px 500px at 20% -10%, #3a0910 0%, transparent 60%), var(--dk); color: var(--on-dk); padding: clamp(18px, 2.4vw, 30px) 0 0; }
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: stretch; }
@media (max-width: 1020px) { .live-grid { grid-template-columns: minmax(0, 1fr); } }
/* justify-self: Safari no estira en la rejilla los elementos con aspect-ratio y el directo quedaba con ancho 0 en el iPhone */
.player { position: relative; justify-self: stretch; align-self: start; width: auto; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.player .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player .bug { position: absolute; right: 18px; top: 16px; z-index: 3; height: 34px; width: auto; opacity: .85; pointer-events: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.player .tag { position: absolute; left: 16px; top: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; font: 700 12.5px/1 'Poppins', sans-serif; letter-spacing: .08em; padding: 8px 12px; border-radius: 6px; }
.player .ctl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 46px 14px 14px; background: linear-gradient(transparent, rgba(0,0,0,.72)); transition: opacity .25s; }
.player .ctl .sp { flex: 1; }
.player .unmute { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: #fff; color: #111; font: 700 14px 'Mulish', sans-serif; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.35); animation: nudge 2.4s 1.5s 2; }
@keyframes nudge { 10%, 30% { transform: translateY(-3px); } 20% { transform: translateY(1px); } }
.player .unmute svg, .player .pbtn svg { width: 20px; height: 20px; fill: currentColor; }
.player .pbtn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; transition: background .15s; }
.player .pbtn:hover { background: rgba(255,255,255,.3); }
.player .pbtn > span { display: grid; }
.player .vol { display: inline-flex; align-items: center; gap: 6px; }
.player [data-vol] { width: 90px; accent-color: #fff; cursor: pointer; }
.player .bigplay { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); width: 86px; height: 86px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 40px rgba(209,0,20,.5); }
.player .bigplay svg { width: 34px; height: 34px; fill: #fff; margin-left: 5px; }
.player .perr { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; text-align: center; color: #fff; background: rgba(0,0,0,.72); }
.player .perr[hidden] { display: none; }
.player .perr p { margin: 0; font-weight: 700; }
/* Estados: antes de empezar solo el botón grande; sin sonido, «Activar sonido»; con sonido, altavoz y volumen */
.player[data-state="playing"] .bigplay, .player[data-state="playing"] .poster, .player[data-state="paused"] .bigplay, .player[data-state="paused"] .poster { display: none; }
.player[data-state="idle"] .ctl, .player[data-state="error"] .ctl, .player[data-state="error"] .bigplay { display: none; }
.player[data-muted="1"] .vol, .player[data-muted="0"] .unmute { display: none; }
.player[data-state="paused"] .unmute { display: none; }
.player[data-state="playing"] .i-play, .player:not([data-state="playing"]) .i-pause { display: none; }
.player[data-muted="1"] .i-snd, .player[data-muted="0"] .i-mute { display: none; }
.player.ui-off .ctl { opacity: 0; pointer-events: none; }
.player.ui-off[data-muted="1"] .ctl { opacity: 1; pointer-events: auto; } /* sin sonido, «Activar sonido» siempre a la vista */
.player.ui-off { cursor: none; }
.player:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.player:fullscreen, .player:-webkit-full-screen { border-radius: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.now-card { display: flex; flex-direction: column; background: var(--dk-2); border-radius: var(--r); padding: 20px; min-width: 0; }
.now-card .lab { font: 700 12px/1 'Poppins', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--red-hi); }
.now-card h2 { font-size: 24px; margin: 10px 0 4px; }
.now-card .tm { color: var(--on-dk-2); font-size: 14px; }
.bar { height: 4px; background: rgba(255,255,255,.12); border-radius: 4px; overflow: hidden; margin: 14px 0 4px; }
.bar i { display: block; height: 100%; background: var(--red-hi); }
.now-card .desc { color: var(--on-dk-2); font-size: 14.5px; margin: 10px 0 0; }
.now-card .nx { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--dk-line); }
.now-card .nx li { display: grid; grid-template-columns: 50px 4px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--dk-line); font-size: 14.5px; }
.now-card .nx time { font: 600 14px 'Poppins', sans-serif; }
.now-card .nx i { height: 22px; border-radius: 2px; }
.now-card .go { margin-top: auto; padding-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
/* franja de la programación del día */
.strip { margin-top: 22px; border-top: 1px solid var(--dk-line); }
.strip .wrap { display: flex; align-items: stretch; gap: 0; }
.strip .lab2 { flex: none; display: flex; align-items: center; padding-right: 16px; font: 700 12px 'Poppins', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dk-2); }
.strip ol { flex: 1; display: flex; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.strip ol::-webkit-scrollbar { display: none; }
.strip li { flex: none; width: 210px; scroll-snap-align: start; border-left: 1px solid var(--dk-line); }
.strip li a, .strip li > span { display: block; padding: 14px 16px 16px; height: 100%; border-top: 3px solid var(--pc, transparent); }
.strip li a:hover { background: var(--dk-2); }
.strip time { font: 600 14px 'Poppins', sans-serif; color: #fff; }
.strip b { display: block; font-size: 14.5px; margin-top: 3px; line-height: 1.3; color: #dfe2e7; }
.strip li.now { background: var(--dk-2); }
.strip li.now time::after { content: 'AHORA'; margin-left: 8px; font: 700 10.5px 'Poppins', sans-serif; letter-spacing: .08em; background: var(--red); color: #fff; padding: 3px 6px; border-radius: 4px; vertical-align: 1px; }
.strip li.past { opacity: .5; }
@media (max-width: 640px) { .strip .lab2 { display: none; } .strip li { width: 170px; } }

/* ------------------------------------------------------------------ parrilla tipo plataforma (A la carta) */
.row { position: relative; margin-bottom: clamp(26px, 3vw, 38px); }
/* Filas: tarjetas enteras dentro del ancho de la página (5, 4, 3 o 2 y un trozo en el móvil) y flechas a los lados */
.row .track { --n: 5; --g: 16px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--n) - 1) * var(--g)) / var(--n)); gap: var(--g); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 0 14px; }
@media (max-width: 1180px) { .row .track { --n: 4; } }
@media (max-width: 900px) { .row .track { --n: 3; } }
@media (max-width: 640px) { .row .track { --n: 2.25; --g: 12px; } }
.row .track::-webkit-scrollbar { display: none; }
.row .track > * { scroll-snap-align: start; }

/* Flechas de las filas deslizantes y de la franja de programación: siempre visibles (también en el móvil) */
.arr { position: absolute; z-index: 4; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(13,14,18,.88); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.45); transition: background .15s, transform .15s, opacity .2s; }
.arr:hover { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.arr:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.arr[disabled] { opacity: 0; pointer-events: none; }
.row .arr[disabled] { opacity: .28; }
.arr svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.row .arr { top: 30%; }
.row .arr.p { left: -64px; } .row .arr.n { right: -64px; }
@media (max-width: 1460px) { .row .arr.p { left: -22px; } .row .arr.n { right: -22px; } }
@media (max-width: 760px) { .arr { width: 36px; height: 36px; } .arr svg { width: 17px; height: 17px; } .row .arr.p { left: -8px; } .row .arr.n { right: -8px; } }
.sxw { position: relative; flex: 1; min-width: 0; display: flex; }
.sxw ol { min-width: 0; }
.sxw .arr { top: 50%; margin-top: -18px; width: 36px; height: 36px; }
.sxw .arr.p { left: 4px; } .sxw .arr.n { right: 4px; }
.vc { display: block; position: relative; min-width: 0; }
.vc .ratio { border-radius: var(--r-s); background: var(--dk-3); transition: transform .25s var(--ease), box-shadow .25s; }
.vc:hover .ratio { transform: scale(1.04); box-shadow: 0 16px 40px rgba(0,0,0,.45); z-index: 2; }
.vc .ratio::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.6)); }
.vc .dur { position: absolute; right: 8px; bottom: 8px; z-index: 1; background: rgba(0,0,0,.8); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 6px; border-radius: 5px; }
.vc .pl { position: absolute; left: 8px; bottom: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; color: #fff; font: 600 12px 'Poppins', sans-serif; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.vc .pl i { width: 8px; height: 8px; border-radius: 50%; }
.vc .mk { position: absolute; left: 8px; top: 8px; z-index: 1; width: 26px; height: 26px; background: url(/img/mark-red.png) center / contain no-repeat; opacity: .95; }
.vc .pi { position: absolute; left: 50%; top: 50%; z-index: 1; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(209,0,20,.92); display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: .2s var(--ease); }
.vc .pi svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.vc:hover .pi { opacity: 1; transform: scale(1); }
.vc h3 { margin: 10px 0 2px; font-size: 15px; line-height: 1.3; font-weight: 600; }
.vc .meta { font-size: 12.5px; }
.tvb { position: absolute; right: 8px; top: 8px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 6px; border: 0; background: #fff; color: #111; font: 700 12px 'Mulish', sans-serif; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.tvb svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.tvb.on { background: #18864b; color: #fff; cursor: default; }
.tvb.wait { background: #f2b705; color: #111; cursor: default; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 24px 16px; }
/* carátulas de programa */
.pt { display: block; text-align: center; }
.pt .cv { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-s); overflow: hidden; background: var(--pc, #333); transition: transform .25s var(--ease); }
.pt:hover .cv { transform: translateY(-4px); }
.pt .cv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Como las tarjetas de programa de la tele: el color del programa al 85 % sobre su imagen y el nombre centrado */
.pt .cv .ov { position: absolute; inset: 0; z-index: 1; background: var(--pc, #d10014); opacity: .85; transition: opacity .25s var(--ease); }
.pt:hover .cv .ov { opacity: .72; }
.pt .cv h3 { position: absolute; inset: 0; z-index: 2; margin: 0; padding: 28px 16px 12px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.2; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.pt .cv .nb { position: absolute; top: 8px; right: 8px; z-index: 3; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.3; }
/* carrusel de destacados (A la carta) */
.feat { position: relative; height: clamp(380px, 46vw, 620px); overflow: hidden; background: #000; }
.feat .sl { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); display: flex; align-items: flex-end; }
.feat .sl.on { opacity: 1; z-index: 1; }
.feat .sl > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat .sl::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13,14,18,.95) 0%, rgba(13,14,18,.6) 40%, rgba(13,14,18,0) 70%), linear-gradient(0deg, var(--dk) 0%, rgba(13,14,18,0) 35%); }
.feat .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 6vw, 84px); }
.feat .in { max-width: 560px; }
.feat .pg2 { display: inline-flex; align-items: center; gap: 8px; font: 700 12.5px 'Poppins', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.feat .pg2 img { width: 26px; height: 26px; }
.feat h2 { font-size: clamp(24px, 3.2vw, 42px); margin: 12px 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feat p { color: #c9cdd3; margin: 0 0 20px; }
.feat .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.feat .dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 22px; }
.feat .dots .wrap { display: flex; gap: 8px; padding-bottom: 0; }
.feat .dots button { width: 34px; height: 4px; border-radius: 2px; border: 0; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; }
.feat .dots button.on { background: #fff; }
@media (max-width: 640px) { .feat .sl::before { background: linear-gradient(0deg, var(--dk) 10%, rgba(13,14,18,.7) 55%, rgba(13,14,18,.2)); } }
.vod-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.vod-bar form { display: flex; gap: 8px; flex: 1 1 320px; max-width: 480px; }
.vod-bar input, .sfield { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; }
body.dark .vod-bar input { background: var(--dk-2); border-color: var(--dk-line); color: #fff; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 8px 14px; border-radius: 8px; background: var(--bg-2); font: 600 14px 'Poppins', sans-serif; }
body.dark .chips a { background: var(--dk-2); color: #d5d8dd; }
.chips a:hover { background: var(--line); }
body.dark .chips a:hover { background: var(--dk-3); }
.chips a.on { background: var(--red); color: #fff; }
/* cabecera de programa */
.ph { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 80px) 0 30px; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: blur(2px); transform: scale(1.04); }
.ph::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--dk) 25%, rgba(13,14,18,.75) 60%, rgba(13,14,18,.4)), linear-gradient(0deg, var(--dk), transparent 40%); }
.ph .pg2 { display: inline-flex; align-items: center; gap: 8px; font: 700 12.5px 'Poppins', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dk-2); }
.ph .pg2 i { width: 10px; height: 10px; border-radius: 50%; }
.ph h1 { font-size: clamp(30px, 4.4vw, 54px); margin: 10px 0; }
.ph p { color: #c9cdd3; max-width: 640px; }
.ph .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
/* página de vídeo */
.theater { background: #000; }
.theater .stage { max-width: 1280px; margin: 0 auto; position: relative; }
.theater video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.yt { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.yt > button { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: #000; cursor: pointer; }
.yt > button img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.yt .bigplay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 14px 40px rgba(209,0,20,.5); transition: transform .2s; }
.yt > button:hover .bigplay { transform: translate(-50%, -50%) scale(1.06); }
.yt .bigplay svg { width: 32px; height: 32px; fill: #fff; margin-left: 5px; }
.yt .bug { position: absolute; right: 16px; top: 14px; height: 32px; width: auto; opacity: .85; }
.yt .note { position: absolute; left: 14px; bottom: 12px; font-size: 12px; color: #fff; background: rgba(0,0,0,.6); padding: 4px 10px; border-radius: 999px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vinfo { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(22px, 3vw, 44px); padding: 26px 0 10px; }
@media (max-width: 1020px) { .vinfo { grid-template-columns: minmax(0, 1fr); } }
.vinfo h1 { font-size: clamp(22px, 2.6vw, 32px); margin: 12px 0 6px; }
.vinfo .desc { color: #c6cad1; white-space: pre-line; margin-top: 14px; max-height: 9em; overflow: hidden; }
.vinfo .desc.open { max-height: none; }
.vinfo .more-d { background: none; border: 0; color: #fff; font-weight: 700; padding: 6px 0; cursor: pointer; }
.pchip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 8px; background: var(--dk-3); font: 600 13.5px 'Poppins', sans-serif; }
.pchip img { width: 22px; height: 22px; }
.acts-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.side-list h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dk-2); margin: 0 0 10px; }
.side-list a { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 8px; margin: 0 -8px; border-radius: 10px; }
.side-list a:hover { background: var(--dk-2); }
.side-list .ratio { border-radius: 8px; }
.side-list b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.3; }
.vplayer { position: relative; }
.vplayer .pre { position: absolute; inset: 0; z-index: 2; display: none; background: #000; }
.vplayer .pre.on { display: block; }
.vplayer .pre img, .vplayer .pre video { width: 100%; height: 100%; object-fit: cover; }
.vplayer .pre .ctl { position: absolute; right: 14px; bottom: 16px; z-index: 1; display: flex; align-items: center; gap: 8px; }
.vplayer .pre .ring { position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.55); }
.vplayer .pre .ring[hidden] { display: none; }
.vplayer .pre .ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: scaleX(-1) rotate(-90deg); }
.vplayer .pre .ring circle { fill: none; stroke-width: 2.5; }
.vplayer .pre .ring .tr { stroke: rgba(255,255,255,.25); }
.vplayer .pre .ring .pg { stroke: #fff; stroke-dasharray: 113.1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.vplayer .pre .ring b { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.vplayer .pre .adskip { height: 44px; padding: 0 20px; border: 0; border-radius: 22px; background: rgba(0,0,0,.55); color: rgba(255,255,255,.85); font: inherit; font-weight: 700; font-size: 15px; cursor: default; }
.vplayer .pre .adskip[hidden] { display: none; }
.vplayer .pre .adskip.on { background: #fff; color: #111; cursor: pointer; }
.vplayer .pre .adskip .sk { display: inline-block; position: relative; width: 0; height: 0; margin: 0 4px 0 8px; border-left: 10px solid #111; border-top: 7px solid transparent; border-bottom: 7px solid transparent; vertical-align: -1px; }
.vplayer .pre .adskip .sk::after { content: ''; position: absolute; left: 1px; top: -7px; width: 2px; height: 14px; background: #111; }
.vplayer .pre .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 1; background: rgba(255,255,255,.25); }
.vplayer .pre .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #ffcc00; transition: width 1s linear; }
.vplayer .pre .lab { position: absolute; left: 12px; top: 12px; z-index: 1; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; border: 2px solid rgba(255,255,255,.85); border-radius: 4px; }

/* ------------------------------------------------------------------ noticias en vídeo (claras y compactas) */
.ngrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; }
@media (max-width: 1100px) { .ngrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } }
.nc { display: flex; flex-direction: column; min-width: 0; }
.nc .ratio { border-radius: var(--r-s); }
.nc .ratio img { transition: transform .4s var(--ease); }
.nc:hover .ratio img { transform: scale(1.05); }
.nc .vb { position: absolute; left: 8px; bottom: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; background: var(--red); color: #fff; font: 700 11px/1 'Poppins', sans-serif; letter-spacing: .06em; padding: 5px 7px 5px 6px; border-radius: 5px; }
.nc .vb svg { width: 10px; height: 10px; fill: #fff; }
.nc .meta { margin: 10px 0 3px; font-size: 12.5px; }
.nc h3 { margin: 0; font-size: 15.5px; line-height: 1.32; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nc:hover h3 { color: var(--red); }
@media (max-width: 760px) { .nc h3 { font-size: 14px; } }
.ngrid .ad-cell { grid-column: 1 / -1; }
.more-btn { display: flex; justify-content: center; margin: 30px 0 0; }
/* noticia */
.art { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: clamp(24px, 3.4vw, 48px); padding: clamp(20px, 3vw, 36px) 0 40px; align-items: start; }
@media (max-width: 1020px) { .art { grid-template-columns: minmax(0, 1fr); } }
.art .yt, .art .fig { border-radius: var(--r); overflow: hidden; }
.art h1 { font-size: clamp(24px, 3vw, 36px); margin: 22px 0 10px; line-height: 1.15; }
.art .lead { font-size: 18.5px; color: var(--ink-2); margin: 0 0 14px; line-height: 1.5; }
.art .by { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.art .by img { height: 22px; }
.content { font-size: 18px; line-height: 1.75; max-width: 760px; }
.content p { margin: 0 0 1.1em; }
.content h2 { font-size: 23px; margin: 1.5em 0 .5em; }
.content img { border-radius: 10px; margin: 20px 0; height: auto; }
.content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.content blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--red); font: 600 20px/1.45 'Poppins', sans-serif; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 24px 0 0; }
.share a, .share button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); font: 700 13.5px 'Mulish', sans-serif; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--red); color: var(--red); }
.share svg { width: 16px; height: 16px; fill: currentColor; }
.embed { display: none; margin-top: 12px; }
.embed.on { display: block; }
.embed textarea { width: 100%; height: 84px; font: 13px ui-monospace, monospace; padding: 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-2); resize: vertical; }
.aside { display: grid; gap: 22px; position: sticky; top: calc(var(--hdr) + 16px); }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.box h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 16px; }
.box h3::before { content: ''; width: 20px; height: 20px; background: url(/img/mark-red.png) center / contain no-repeat; }
.mini { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.mini:first-of-type { border-top: 0; padding-top: 0; }
.mini .ratio { border-radius: 8px; }
.mini b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.32; font-weight: 700; }
.mini:hover b { color: var(--red); }

/* ------------------------------------------------------------------ bloques comunes y páginas de apoyo */
.page-h { padding: clamp(26px, 3.6vw, 46px) 0 clamp(14px, 2vw, 22px); }
.page-h h1 { display: flex; align-items: center; gap: 14px; margin: 0; }
.page-h h1::before { content: ''; width: 40px; height: 40px; flex: none; background: url(/img/mark-red.png) center / contain no-repeat; }
.page-h p { margin: 10px 0 0; color: var(--muted); max-width: 680px; }
body.dark .page-h p { color: var(--on-dk-2); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: clamp(24px, 3vw, 44px); align-items: start; }
@media (max-width: 1020px) { .cols { grid-template-columns: minmax(0, 1fr); } }
.stack > * + * { margin-top: 22px; }
.sticky { position: sticky; top: calc(var(--hdr) + 16px); }
.panel { background: var(--card); border-radius: var(--r); padding: 20px; border: 1px solid var(--line); }
.empty { padding: 36px 22px; text-align: center; color: var(--muted); background: var(--bg-2); border-radius: var(--r); }
body.dark .empty { background: var(--dk-2); color: var(--on-dk-2); }
.pager { display: flex; gap: 10px; justify-content: center; align-items: center; margin: 34px 0 0; flex-wrap: wrap; }
.pager span { color: var(--muted); font-size: 14px; }
.ad { position: relative; text-align: center; }
.ad img { margin: 0 auto; border-radius: 8px; }
.ad .ad-l { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.ad-band { padding-top: 22px; padding-bottom: 22px; }
.ad-band img { max-height: 120px; width: auto; }
/* programación */
.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 14px; position: sticky; top: var(--hdr); z-index: 6; background: var(--bg); }
.days::-webkit-scrollbar { display: none; }
.days a { flex: none; min-width: 86px; padding: 10px 14px; border-radius: 10px; background: var(--bg-2); font: 600 14px 'Poppins', sans-serif; text-align: center; line-height: 1.2; }
.days a small { display: block; font: 400 12.5px 'Mulish', sans-serif; color: var(--muted); margin-top: 3px; }
.days a.on { background: var(--red); color: #fff; }
.days a.on small { color: #ffd9dd; }
.epg { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.epg li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; padding: 16px 12px; border-bottom: 1px solid var(--line); }
.epg li.past { opacity: .5; }
.epg li.now { background: var(--red-soft); border-radius: 10px; border-bottom-color: transparent; }
.epg time { font: 600 18px 'Poppins', sans-serif; }
.epg .b { border-left: 4px solid var(--pc, #4a4e55); padding-left: 16px; }
.epg h3 { margin: 0; font-size: 17px; }
.epg h3 a:hover { color: var(--red); }
.epg p { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; }
.epg .now-b { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; background: var(--red); color: #fff; font: 700 10.5px 'Poppins', sans-serif; padding: 4px 8px; border-radius: 5px; vertical-align: 2px; letter-spacing: .06em; }
.epg .now-b .dot { width: 6px; height: 6px; }
.epg .bar { background: rgba(0,0,0,.08); margin: 10px 0 0; }
.epg .bar i { background: var(--red); }
/* el tiempo, encuesta, formularios */
.wx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.wx .today { display: flex; align-items: center; gap: 14px; margin: 8px 0 14px; }
.wx .today img { width: 68px; height: 68px; }
.wx .t { font: 700 42px/1 'Poppins', sans-serif; }
.wx .days3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.wx .days3 img { width: 34px; height: 34px; margin: 2px auto; }
.wx .days3 b { color: var(--ink); }
.wrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .wrow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wcell { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.wcell img { width: 40px; height: 40px; }
.wcell b { font: 700 20px 'Poppins', sans-serif; }
.wcell span { display: block; font-size: 13px; color: var(--muted); }
.poll .opt { display: flex; width: 100%; align-items: center; gap: 10px; text-align: left; margin: 8px 0 0; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); font: 700 15px 'Mulish', sans-serif; cursor: pointer; }
.poll .opt:hover { border-color: var(--red); }
.poll .opt.mine { border-color: var(--red); background: var(--red-soft); }
.poll .bar { height: 6px; background: var(--line); margin: 4px 0 0; }
.poll .bar i { background: var(--red); }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.form input, .form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 16px 'Mulish', sans-serif; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.notice { padding: 14px 18px; border-radius: 10px; background: #e9f8ef; color: #135c32; margin-bottom: 16px; font-weight: 700; }
.notice.err { background: var(--red-soft); color: var(--red-2); }
.page-body { font-size: 17.5px; line-height: 1.75; max-width: 780px; }
.page-body h2 { font-size: 23px; margin: 1.4em 0 .5em; }
.page-body a { color: var(--red); text-decoration: underline; }
.wmini ul { list-style: none; margin: 0; padding: 0; }
.wmini li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; }
.wmini li:first-child { border-top: 0; }
.wmini li img { width: 30px; height: 30px; }
.wmini li span { flex: 1; }
/* llamada a la Smart TV */
.cta-tv { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 24px 28px; border-radius: var(--r); background: linear-gradient(120deg, #8f000d, #d10014); color: #fff; }
.cta-tv h2 { margin: 0 0 4px; font-size: 22px; }
.cta-tv p { margin: 0; opacity: .92; }
.cta-tv .rb { width: 58px; height: 58px; border-radius: 50%; background: #e3001b; border: 5px solid #fff; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
@media (max-width: 700px) { .cta-tv { grid-template-columns: minmax(0, 1fr); } .cta-tv .rb { display: none; } }

/* ------------------------------------------------------------------ pie */
.ftr { background: var(--dk); color: var(--on-dk-2); font-size: 14.5px; }
.ftr .brand { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding: 36px 0 26px; border-bottom: 1px solid var(--dk-line); }
.ftr .brand img { height: 52px; }
.ftr .brand p { margin: 0; flex: 1; min-width: 240px; color: #c9cdd3; }
.ftr .cols4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 30px 0; }
@media (max-width: 760px) { .ftr .cols4 { grid-template-columns: 1fr 1fr; } }
.ftr h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ftr a:hover { color: #fff; }
.soc { display: flex; gap: 8px; }
.soc a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--dk-3); color: #fff; }
.drawer .soc a { background: var(--bg-2); color: var(--ink); }
.soc a:hover { background: var(--red); color: #fff; }
.soc svg { width: 17px; height: 17px; fill: currentColor; }
.ftr .bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; padding: 18px 0 26px; border-top: 1px solid var(--dk-line); font-size: 13.5px; }
.ftr .bottom .sp { flex: 1; }
.ftr .credit { color: #7d838c; }
.ftr .credit a { color: #b7bcc4; text-decoration: underline; text-underline-offset: 3px; }
.admin-bar { position: fixed; left: 12px; bottom: 12px; z-index: 50; display: flex; align-items: center; gap: 8px; background: #111; color: #fff; font-size: 13px; padding: 8px 12px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.admin-bar a { color: #ffb3bb; text-decoration: underline; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; background: #111; color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.4); max-width: calc(100vw - 32px); }

/* directo en el móvil: el vídeo a todo el ancho y los controles sin tapar la imagen */
@media (max-width: 640px) {
  .live-hero { padding-top: 0; }
  .live-hero .player { margin: 0 calc(var(--gut) * -1); border-radius: 0; box-shadow: none; }
  .player .bug { display: none; }
  .player .tag { left: 10px; top: 10px; font-size: 11px; padding: 6px 9px; }
  .player .ctl { padding: 30px 10px 10px; gap: 6px; }
  .player .unmute { height: 34px; padding: 0 12px; font-size: 13px; }
  .player .pbtn { width: 36px; height: 36px; background: rgba(0,0,0,.45); }
  .player [data-vol] { display: none; } /* en el móvil, el volumen es el del teléfono */
  .player .bigplay { width: 64px; height: 64px; }
  .player .bigplay svg { width: 26px; height: 26px; }
  .live-grid { gap: 14px; }
  .now-card { padding: 16px; }
  .now-card h2 { font-size: 21px; }
}
@media (max-width: 960px) { .days { top: calc(var(--hdr) + 44px); } .sticky, .aside { top: calc(var(--hdr) + 56px); } }

/* ------------------------------------------------------------------ ajustes 16/10 */
/* Publicidad en banda oscura, integrada con el directo y A la carta */
.ad-band { background: #fff; padding: 18px 0 22px; }
.ad-band .ad-l { color: var(--muted); opacity: .8; }
.ad-band img { max-height: 120px; width: auto; }
/* Compartir sobre fondo oscuro (páginas de vídeo) */
body.dark .share a, body.dark .share button, .dk .share a, .dk .share button { background: var(--dk-2); border-color: var(--dk-line); color: var(--on-dk); }
body.dark .share a:hover, body.dark .share button:hover { background: var(--dk-3); border-color: var(--red-hi); color: #fff; }
body.dark .embed textarea { background: var(--dk-2); color: var(--on-dk); border-color: var(--dk-line); }
/* Menú del móvil: oscuro, con los mismos apartados e iconos que el de la web */
.drawer .in { background: var(--dk); color: var(--on-dk); }
.drawer .top img { height: 40px; }
.drawer .top .ib { color: #fff; }
.drawer nav a { border-bottom-color: var(--dk-line); color: #e9ebee; }
.drawer nav a::before { display: none; }
.drawer nav a svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.drawer nav a.on { color: #fff; }
.drawer nav a.on svg { color: var(--red-hi); opacity: 1; }
.drawer .live-btn { margin-top: 18px; justify-content: center; height: 48px; }
.drawer .soc a { background: var(--dk-3); color: #fff; }
/* Navegadores sin aspect-ratio (iPhone con iOS 14 o anterior): sin esto el reproductor del directo quedaba con altura cero */
@supports not (aspect-ratio: 1 / 1) {
  .player::before, .ratio::before, .yt::before { content: ''; display: block; padding-top: 56.25%; }
  .pt .cv::before { content: ''; display: block; padding-top: 56.25%; }
  .theater video { height: 56.25vw; max-height: 80vh; }
}

/* Reproductor propio de A la carta: sin controles del navegador; barra roja, tiempo, volumen y pantalla completa */
.vplayer { position: relative; background: #000; outline: none; user-select: none; -webkit-user-select: none; }
.vplayer video { display: block; cursor: pointer; }
.vplayer .vp-ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.vplayer.inad .vp-ui > :not(.vp-next) { display: none; }
.vp-big { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; margin: 0; padding: 0; border: 3px solid rgba(255,255,255,.9); border-radius: 50%; background: var(--red); color: #fff; line-height: 0; cursor: pointer; pointer-events: auto; box-shadow: 0 8px 28px rgba(0,0,0,.45); transform: translate(-50%, -50%); transition: transform .15s, opacity .2s, background .15s; }
.vp-big svg { display: block; width: 36px; height: 36px; flex: none; transform: translateX(2px); } /* el triángulo, centrado a la vista */
.vp-big:hover { background: var(--red-hi); transform: translate(-50%, -50%) scale(1.07); }
.vplayer.playing .vp-big, .vplayer.nexting .vp-big { opacity: 0; pointer-events: none; }
.vp-wait { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border: 4px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; animation: vpspin .8s linear infinite; display: none; }
.vplayer.waiting.playing .vp-wait { display: block; }
@keyframes vpspin { to { transform: rotate(360deg); } }
.vp-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 8px; background: linear-gradient(transparent, rgba(0,0,0,.78)); pointer-events: auto; transition: opacity .25s; }
.vplayer:not(.started) .vp-bar { opacity: 0; pointer-events: none; }
.vplayer.idle .vp-bar { opacity: 0; }
.vplayer.idle, .vplayer.idle video { cursor: none; }
.vp-prog { position: relative; height: 16px; cursor: pointer; touch-action: none; outline: none; }
.vp-prog::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); transition: top .12s, height .12s; }
.vp-prog .vp-buf, .vp-prog .vp-played { position: absolute; left: 0; top: 6px; height: 4px; width: 0; border-radius: 2px; transition: top .12s, height .12s; }
.vp-prog .vp-buf { background: rgba(255,255,255,.4); }
.vp-prog .vp-played { background: var(--red); }
.vp-prog:hover::before, .vp-prog:hover .vp-buf, .vp-prog:hover .vp-played, .vp-prog:focus-visible::before, .vp-prog:focus-visible .vp-played { top: 5px; height: 6px; }
.vp-knob { position: absolute; top: 2px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .12s; }
.vp-prog:hover .vp-knob, .vp-prog:focus-visible .vp-knob { transform: scale(1); }
.vp-tip { position: absolute; bottom: 20px; transform: translateX(-50%); padding: 2px 7px; border-radius: 4px; background: rgba(0,0,0,.85); color: #fff; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; opacity: 0; pointer-events: none; white-space: nowrap; }
.vp-prog:hover .vp-tip { opacity: 1; }
.vp-row { display: flex; align-items: center; gap: 4px; margin-top: 4px; color: #fff; }
.vp-row button { width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.vp-row button:hover { background: rgba(255,255,255,.14); }
.vp-row button svg { width: 24px; height: 24px; }
.vp-vol { display: flex; align-items: center; }
.vp-volr { width: 0; opacity: 0; transition: width .2s, opacity .2s; accent-color: #fff; cursor: pointer; }
.vp-vol:hover .vp-volr, .vp-volr:focus { width: 84px; opacity: 1; margin-right: 6px; }
.vp-time { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; margin-left: 6px; white-space: nowrap; }
.vp-sp { flex: 1; }
.vplayer.fs, .vplayer.fs video { width: 100vw; height: 100vh; max-height: none; aspect-ratio: auto; }
.vplayer.fs video { object-fit: contain; }
/* «A continuación» */
.vp-next { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.86); pointer-events: auto; z-index: 4; }
.vp-next[hidden] { display: none; }
.vp-nx { display: flex; gap: 22px; align-items: center; max-width: 760px; padding: 0 24px; color: #fff; }
.vp-nx-im { flex: none; width: 300px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #222; }
.vp-nx-im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vp-nx-tx { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vp-nx-k { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #c9ccd2; }
.vp-nx-p { font-size: 13px; font-weight: 700; color: var(--red-hi); text-transform: uppercase; letter-spacing: 1px; }
.vp-nx-t { font-size: 22px; line-height: 1.25; }
.vp-nx-go { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.vp-nx-go .ring { position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); }
.vp-nx-go .ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: scaleX(-1) rotate(-90deg); }
.vp-nx-go .ring circle { fill: none; stroke-width: 2.5; }
.vp-nx-go .ring .tr { stroke: rgba(255,255,255,.25); }
.vp-nx-go .ring .pg { stroke: #fff; stroke-dasharray: 113.1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.vp-nx-go .ring b { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: 17px; }
.vp-nx-now { height: 40px; padding: 0 18px; border: 0; border-radius: 20px; background: #fff; color: #111; font: inherit; font-weight: 700; cursor: pointer; }
.vp-nx-no { height: 40px; padding: 0 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 20px; background: transparent; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 640px) {
  .vp-big { width: 62px; height: 62px; }
  .vp-big svg { width: 28px; height: 28px; }
  .vp-row .vp-b10, .vp-row .vp-f10, .vp-volr { display: none; }
  .vp-nx { flex-direction: column; gap: 12px; text-align: center; }
  .vp-nx-im { width: 180px; }
  .vp-nx-t { font-size: 16px; }
  .vp-nx-go { justify-content: center; }
}

/* ---------------------------------------------------------------- Zona privada (/web/zona-privada) */
.zp { padding-bottom: 56px; }
.zp .btn.sm { height: 34px; padding: 0 12px; font-size: 13.5px; }
.zp .btn svg { width: 16px; height: 16px; fill: none; }
.zp-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--line); }
.zp-bar .sp { flex: 1; }
.zp-bar form { margin: 0; }
.zp-home { display: inline-flex; align-items: center; gap: 8px; font: 700 14px 'Poppins', sans-serif; }
.zp-home svg, .zp-lock svg { width: 18px; height: 18px; fill: none; stroke: var(--red); stroke-width: 2; }
.zp-back { display: inline-block; margin-bottom: 10px; }
.zp-back:hover { color: var(--red); }
.zp-login { max-width: 440px; margin: clamp(28px, 6vw, 64px) auto 0; padding: clamp(22px, 4vw, 34px); }
.zp-login h1 { font-size: 26px; margin: 12px 0 6px; }
.zp-lock { width: 48px; height: 48px; border-radius: 12px; background: var(--red-soft); display: grid; place-items: center; }
.zp-lock svg { width: 24px; height: 24px; }
.zp-login .form { margin-top: 18px; }
.zp-login .btn.red { height: 46px; font-size: 15px; }
.zp-help { margin: 18px 0 0; }
.zp-help a { color: var(--red); }
.zp-folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.zp-folder { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); transition: border-color .15s, box-shadow .15s; }
.zp-folder:hover { border-color: var(--red); box-shadow: 0 6px 22px rgba(0,0,0,.06); }
.zp-fi { flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--red-soft); display: grid; place-items: center; }
.zp-fi svg { width: 26px; height: 26px; fill: var(--red); }
.zp-ft { flex: 1; min-width: 0; display: grid; gap: 4px; }
.zp-ft b { font: 700 18px/1.2 'Poppins', sans-serif; }
.zp-ft > span:not(.meta) { color: var(--ink-2); font-size: 14.5px; }
.zp-go { font-size: 28px; color: var(--muted); }
.zp-meets { display: grid; gap: 16px; max-width: 900px; }
.zp-meet { display: flex; gap: 20px; align-items: flex-start; }
.zp-meet.next { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset; }
.zp-date { flex: none; width: 74px; padding: 10px 0; border-radius: 12px; background: var(--bg-2); text-align: center; display: grid; line-height: 1.15; }
.zp-date b { font: 700 28px/1 'Poppins', sans-serif; }
.zp-date span { font-size: 13px; color: var(--muted); text-transform: uppercase; font-weight: 700; }
.zp-meet.next .zp-date { background: var(--red); color: #fff; }
.zp-meet.next .zp-date span { color: #fff; }
.zp-mb { flex: 1; min-width: 0; }
.zp-mb h2 { font-size: 19px; margin: 2px 0 2px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.zp-mb > .meta { margin: 0 0 10px; }
.zp-note { color: var(--ink-2); font-size: 15px; }
.zp-tag { font: 700 12px 'Mulish', sans-serif; background: var(--red); color: #fff; padding: 3px 9px; border-radius: 99px; letter-spacing: .02em; }
.zp-docs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.zp-docs li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.zp-doc { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.zp-doc:hover b { color: var(--red); }
.zp-pdf { flex: none; width: 40px; height: 46px; border-radius: 6px; background: var(--red); color: #fff; font: 700 11px 'Mulish', sans-serif; display: grid; place-items: end center; padding-bottom: 7px; position: relative; }
.zp-pdf::before { content: ''; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 12px 12px 0; border-color: transparent var(--bg) rgba(0,0,0,.25) transparent; }
.zp-dt { min-width: 0; display: grid; }
.zp-dt b { font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .zp-meet { flex-direction: column; align-items: stretch; gap: 12px; }
  .zp-date { width: auto; display: flex; gap: 8px; align-items: baseline; justify-content: flex-start; padding: 8px 12px; }
  .zp-date b { font-size: 20px; }
  .zp-dl { display: none; }
  .zp-home { width: 100%; }
  .zp-bar .sp { display: none; }
  .zp-bar .meta { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* Móvil y tablet: los textos largos del pie (correos) se parten en vez de ensanchar la página; en pantallas táctiles
   los carruseles se deslizan con el dedo y sus flechas sobran (tapaban la primera y la última tarjeta); Programas, a dos columnas */
.ftr a, .ftr li { overflow-wrap: anywhere; }
@media (hover: none) and (pointer: coarse) { .row .arr, .sxw .arr { display: none; } }
.pgrid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.pgrid .pt .cv h3 { font-size: 17px; padding: 30px 10px 10px; }
@media (max-width: 640px) { .vgrid, .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; } .pgrid .pt .cv h3 { padding: 26px 8px 8px; font-size: 14.5px; } .pgrid .pt .cv .nb { font-size: 11px; } }

/* Programas: buscador y orden */
.pg-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 22px; }
.pg-q { position: relative; flex: 1 1 280px; max-width: 420px; }
.pg-q svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--on-dk-2); stroke-width: 2; pointer-events: none; }
.pg-q input { width: 100%; height: 46px; padding: 0 14px 0 42px; border-radius: 999px; border: 1px solid var(--dk-line); background: var(--dk-2); color: #fff; font: 15px 'Mulish', sans-serif; }
.pg-q input::placeholder { color: var(--on-dk-2); }
.pg-q input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(209,0,20,.25); }
.pg-sort { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--dk-2); border: 1px solid var(--dk-line); }
.pg-sort button { height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--on-dk-2); font: 700 13.5px 'Mulish', sans-serif; cursor: pointer; }
.pg-sort button:hover { color: #fff; }
.pg-sort button.on { background: #fff; color: var(--ink); }
.pgrid .pt[hidden] { display: none; }
.pg-empty { display: none; padding: 30px 0; color: var(--on-dk-2); }
.pg-empty.on { display: block; }
@media (max-width: 640px) { .pg-q { max-width: none; } .pg-sort { width: 100%; justify-content: space-between; } .pg-sort button { padding: 0 10px; flex: 1; } }

/* Inicio: las noticias van justo debajo de la franja de publicidad (blanca): sin doble margen */
.ad-band:has(+ .sec) { padding-bottom: 4px; }
.ad-band + .sec { padding-top: clamp(14px, 1.6vw, 20px); }

/* Banner combinado en el móvil: el robapáginas (300×250) en lugar de la franja alargada */
@media (max-width: 640px) { .ad picture img { width: 300px; max-width: 100%; height: auto; max-height: none; } }
