/* Costa Noroeste TV · App HbbTV · 1280×720
   Tokens de marca: rojo #d10014, grises #32373c / #404040, tipografías Poppins (títulos) y Mulish (texto). */

@font-face { font-family: 'Poppins'; font-weight: 600; src: url(../fonts/poppins-latin-600-normal.woff) format('woff'); }
@font-face { font-family: 'Poppins'; font-weight: 700; src: url(../fonts/poppins-latin-700-normal.woff) format('woff'); }
@font-face { font-family: 'Mulish'; font-weight: 400; src: url(../fonts/mulish-latin-400-normal.woff) format('woff'); }
@font-face { font-family: 'Mulish'; font-weight: 700; src: url(../fonts/mulish-latin-700-normal.woff) format('woff'); }

html, body {
  margin: 0; padding: 0; width: 1280px; height: 720px; overflow: hidden;
  background: transparent;
  font-family: 'Mulish', Tiresias, Arial, sans-serif; font-size: 22px; line-height: 1.35; color: #fff;
}
* { box-sizing: border-box; }
.hidden { display: none !important; }

/* ---------------------------------------------------------------- vídeo de emisión */
#vb, #livefb { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; background: transparent; }
#livefb { background: #000; }

/* ---------------------------------------------------------------- lanzador lateral (botón rojo)
   Panel que entra desde la izquierda al sintonizar. El fondo llega al borde; el texto respeta el margen de seguridad de 64 px. */
#prompt {
  position: absolute; left: -370px; top: 200px; width: 350px; padding: 20px 24px 8px 64px;
  background: #18191c; background: rgba(22, 23, 26, 0.92);
  border-radius: 0 18px 18px 0; border-right: 5px solid #d10014;
  -webkit-transition: left 0.45s ease-out; -o-transition: left 0.45s ease-out; transition: left 0.45s ease-out;
}
#prompt.in { left: 0; }
#prompt .plogo { display: block; height: 76px; margin: 0 0 14px -6px; }
#prompt .prow { height: 54px; line-height: 54px; border-top: 1px solid rgba(255, 255, 255, 0.16); white-space: nowrap; }
#prompt .prow .pk { display: inline-block; width: 64px; font-size: 13px; font-weight: 700; letter-spacing: 1px; color: #b8bcc4; }
#prompt .prow i { display: inline-block; width: 22px; height: 22px; border-radius: 11px; border: 2px solid #fff; vertical-align: -5px; margin-right: 12px; }
#prompt .prow b { font-family: 'Poppins', Arial, sans-serif; font-weight: 600; font-size: 21px; }

/* ---------------------------------------------------------------- L Shape Digital
   La emisión pasa a x 320, y 0, 960×540. La creatividad (1280×720) solo se pinta en el marco:
   dos capas con la misma imagen y distinto background-position, para no tapar el vídeo. */
#lshape { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; }
/* Entrada y salida en corte (sin animación) */
#ls-left, #ls-bottom { position: absolute; background-color: #d10014; background-repeat: no-repeat; }
#ls-left { left: 0; top: 0; width: 320px; height: 720px; background-position: 0 0; }
#ls-bottom { left: 320px; top: 540px; width: 960px; height: 180px; background-position: -320px -540px; }
#lshape .adtag { position: absolute; left: 64px; top: 14px; padding: 1px 8px; font-size: 13px; color: #fff; background: rgba(0, 0, 0, 0.45); border-radius: 3px; }

/* ---------------------------------------------------------------- menú */
#menu { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; }
/* Marco opaco con un hueco transparente para la emisión: x 832, y 36, 384×216 */
#frame {
  position: absolute; left: 0; top: 0; width: 1280px; height: 720px;
  border-style: solid; border-color: #141518; border-width: 36px 64px 468px 832px;
}
#livewin { position: absolute; left: 832px; top: 36px; width: 384px; height: 216px; border: 3px solid #32373c; }
#livewin .tag {
  position: absolute; left: 10px; top: 10px; padding: 2px 10px; font-size: 16px; font-weight: 700;
  font-family: 'Poppins', Arial, sans-serif; background: #d10014; border-radius: 4px; letter-spacing: 1px;
}

#logo { position: absolute; left: 64px; top: 30px; height: 62px; }
#clock { position: absolute; left: 632px; top: 44px; width: 168px; text-align: right; font-family: 'Poppins', Arial, sans-serif; font-weight: 600; font-size: 30px; color: #fff; }

#nav { position: absolute; left: 64px; top: 108px; width: 736px; height: 46px; }
#nav span {
  float: left; height: 46px; line-height: 46px; padding: 0 12px; margin-right: 4px; border-radius: 23px;
  font-family: 'Poppins', Arial, sans-serif; font-weight: 600; font-size: 20px; color: #c9ccd2;
}
#nav span i { display: inline-block; width: 14px; height: 14px; border-radius: 7px; margin-right: 8px; vertical-align: 1px; }
#nav span.sel { color: #fff; background: #32373c; }
#nav.focus span.sel { background: #d10014; }

#content { position: absolute; left: 64px; top: 172px; width: 736px; height: 468px; overflow: hidden; }

#side { position: absolute; left: 832px; top: 268px; width: 384px; height: 372px; }
#onair { background: #1f2125; border-radius: 10px; padding: 14px 18px; height: 112px; overflow: hidden; }
#onair .lbl { font-size: 16px; color: #ff4d5e; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
#onair .now { font-family: 'Poppins', Arial, sans-serif; font-weight: 600; font-size: 22px; height: 30px; overflow: hidden; white-space: nowrap; }
#onair .next { font-size: 18px; color: #b8bcc4; height: 26px; overflow: hidden; white-space: nowrap; }
#sidebanner { margin-top: 16px; width: 384px; height: 216px; border-radius: 10px; overflow: hidden; background: #1f2125; position: relative; }
#sidebanner img { width: 384px; height: 216px; }
#sidebanner .txt { position: absolute; left: 0; bottom: 0; width: 384px; padding: 10px 14px; background: rgba(0,0,0,0.7); font-size: 18px; }
#sidebanner .ad { position: absolute; right: 8px; top: 8px; font-size: 13px; padding: 1px 6px; background: rgba(0,0,0,0.6); border-radius: 3px; color: #ddd; }

#legend { position: absolute; left: 64px; top: 652px; width: 1152px; height: 32px; font-size: 18px; color: #c9ccd2; white-space: nowrap; }
#legend span { margin-right: 26px; }
#legend i { display: inline-block; width: 18px; height: 18px; border-radius: 9px; vertical-align: -3px; margin-right: 8px; }
.c-red { background: #e3001b; } .c-green { background: #1fa53a; } .c-yellow { background: #f2c400; } .c-blue { background: #1d6fd6; }
#legend b { display: inline-block; padding: 0 8px; border: 2px solid #8a8f98; border-radius: 4px; font-size: 14px; line-height: 20px; margin-right: 8px; vertical-align: 1px; }

/* ---------------------------------------------------------------- piezas comunes */
h1, h2, h3 { font-family: 'Poppins', Arial, sans-serif; font-weight: 600; margin: 0; }
.muted { color: #b8bcc4; }
.date { font-size: 18px; color: #b8bcc4; }
.empty { padding: 40px 0; font-size: 24px; color: #b8bcc4; }
.f { border: 4px solid transparent; border-radius: 10px; }
.f.on { border-color: #d10014; background: #2a1517; }
.ph { background: #2a2d32; }

/* ---------------------------------------------------------------- Inicio */
.hero { position: relative; height: 252px; padding: 0; background: #1f2125; overflow: hidden; }
.hero img, .hero .ph { position: absolute; left: 0; top: 0; width: 432px; height: 244px; }
.hero .tx { position: absolute; left: 452px; top: 14px; width: 266px; height: 220px; overflow: hidden; }
.hero .kick { font-size: 15px; font-weight: 700; color: #ff4d5e; text-transform: uppercase; letter-spacing: 1px; }
.hero h2 { font-size: 24px; line-height: 30px; max-height: 90px; overflow: hidden; margin: 6px 0 8px; }
.hero p { margin: 0; font-size: 18px; line-height: 24px; color: #c9ccd2; max-height: 96px; overflow: hidden; }
.row3 { margin-top: 16px; height: 200px; }
.card { float: left; width: 240px; height: 200px; margin-right: 8px; background: #1f2125; overflow: hidden; }
.card.last { margin-right: 0; }
.card img, .card .ph { display: block; width: 232px; height: 130px; border-radius: 6px 6px 0 0; }
.card .t { padding: 6px 10px; font-size: 18px; line-height: 1.25; height: 58px; overflow: hidden; font-weight: 700; }

/* ---------------------------------------------------------------- Noticias */
.nl { height: 90px; margin-bottom: 4px; background: #1f2125; position: relative; overflow: hidden; }
.nl img, .nl .ph { position: absolute; left: 4px; top: 4px; width: 128px; height: 74px; border-radius: 6px; }
.nl .t { position: absolute; left: 148px; top: 6px; right: 14px; height: 52px; overflow: hidden; font-weight: 700; font-size: 20px; line-height: 1.3; }
.nl .date { position: absolute; left: 148px; bottom: 6px; font-size: 16px; }
.scrollhint { position: absolute; right: 0; bottom: 0; font-size: 16px; color: #b8bcc4; }

.detail { position: absolute; left: 0; top: 0; width: 736px; height: 468px; overflow: hidden; }
.detail .inner { position: absolute; left: 0; top: 0; width: 720px; }
.detail h1 { font-size: 30px; line-height: 1.22; margin-bottom: 6px; }
.detail .lead { font-weight: 700; font-size: 22px; margin: 12px 0; }
.detail img { float: right; width: 320px; height: 180px; margin: 4px 0 10px 18px; border-radius: 8px; }
.detail p { margin: 0 0 14px; font-size: 22px; line-height: 1.45; }
.detail .bar { position: absolute; right: 0; top: 0; width: 6px; height: 468px; background: #2a2d32; border-radius: 3px; }
.detail .bar i { position: absolute; left: 0; width: 6px; background: #d10014; border-radius: 3px; }

/* ---------------------------------------------------------------- Programación */
.days { height: 46px; margin-bottom: 12px; white-space: nowrap; overflow: hidden; }
.days span { display: inline-block; height: 42px; line-height: 34px; padding: 0 12px; margin-right: 2px; font-size: 18px; font-weight: 700; color: #c9ccd2; }
.days span.sel { color: #fff; background: #32373c; }
.days span.sel.on { background: #d10014; border-color: #d10014; }
.slot { height: 50px; line-height: 42px; margin-bottom: 2px; background: #1f2125; overflow: hidden; white-space: nowrap; padding-right: 12px; }
.slot .h { display: inline-block; width: 196px; padding-left: 14px; font-family: 'Poppins', Arial, sans-serif; font-weight: 600; color: #c9ccd2; }
.slot.now { background: #3a1015; }
.slot.now .h { color: #fff; }
.slot .live { display: inline-block; margin-left: 12px; padding: 0 8px; line-height: 24px; font-size: 14px; font-weight: 700; background: #d10014; border-radius: 4px; vertical-align: 2px; }

/* ---------------------------------------------------------------- Vídeos */
.chips { height: 46px; margin-bottom: 10px; white-space: nowrap; overflow: hidden; }
.chips span { display: inline-block; height: 42px; line-height: 34px; padding: 0 14px; margin-right: 4px; font-size: 18px; font-weight: 700; color: #c9ccd2; }
.chips span.sel { color: #fff; background: #32373c; }
.chips span.sel.on { background: #d10014; }
.vcard { float: left; width: 240px; height: 200px; margin: 0 8px 8px 0; background: #1f2125; overflow: hidden; position: relative; }
.vcard.c2 { margin-right: 0; }
.vcard img, .vcard .ph { display: block; width: 232px; height: 130px; border-radius: 6px 6px 0 0; }
.vcard .d { position: absolute; right: 8px; top: 100px; padding: 0 6px; font-size: 15px; background: rgba(0,0,0,0.75); border-radius: 3px; }
.vcard .t { margin: 6px 10px 0; font-size: 18px; line-height: 23px; height: 46px; overflow: hidden; font-weight: 700; }
.vcard .p { position: absolute; left: 8px; top: 100px; padding: 0 6px; font-size: 15px; background: rgba(0,0,0,0.75); border-radius: 3px; }

/* ---------------------------------------------------------------- Info */
.info .inner { position: absolute; left: 0; top: 0; width: 736px; }
.info h2 { font-size: 24px; margin: 0 0 8px; color: #fff; }
.info p { margin: 0 0 12px; }
.info .kv { margin: 0 0 18px; }
.info .kv div { position: relative; margin-bottom: 6px; padding-left: 150px; }
.info .kv b { position: absolute; left: 0; top: 0; color: #b8bcc4; font-weight: 400; }
.info .ads { background: #1f2125; border-left: 6px solid #d10014; border-radius: 8px; padding: 14px 18px; margin-bottom: 14px; }
.info .ads img { display: block; max-width: 680px; max-height: 200px; margin-top: 10px; border-radius: 6px; }

/* ---------------------------------------------------------------- reproductor */
#player { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; background: #000; }
#player video, #player object { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; }
#posd { position: absolute; left: 0; bottom: 0; width: 1280px; height: 170px; padding: 24px 64px 0; background: rgba(10, 10, 12, 0.85); }
#posd h2 { font-size: 26px; height: 36px; overflow: hidden; white-space: nowrap; }
#posd .prog { position: relative; height: 8px; margin: 16px 0 10px; background: #404040; border-radius: 4px; }
#posd .prog i { position: absolute; left: 0; top: 0; height: 8px; background: #d10014; border-radius: 4px; }
#posd .row { font-size: 18px; color: #c9ccd2; }
#posd .row .tm { float: right; font-family: 'Poppins', Arial, sans-serif; color: #fff; }
#pmsg { position: absolute; left: 0; top: 300px; width: 1280px; text-align: center; font-size: 28px; font-family: 'Poppins', Arial, sans-serif; }
#pmsg span { background: rgba(0,0,0,0.7); padding: 12px 26px; border-radius: 8px; }
