/* =====================================================================
   GUIADEX · TEMA STREAMING
   Lo mejor de Netflix (portada a pantalla completa, filas y tarjeta
   emergente), HBO Max (tipografía limpia, degradados profundos, canales)
   y Prime Video (flechas de carrusel, episodios con miniatura).
   Este archivo se carga después de estilo.css y lo sobrescribe.
   ===================================================================== */
:root {
  --fondo: #0b0b10;
  --superficie: #16161d;
  --superficie-2: #202029;
  --borde: #2b2b36;
  --texto: #ffffff;
  --suave: #b8b8c4;
  --tenue: #80808e;
  --rojo: #e50914;
  --verde: #46d369;
  --azul: #54b9e5;
  --gut: max(16px, 4vw);
  --gap: 8px;
  --radio: 6px;
  --ancho: 100%;
  --caja-info: #181820;
}
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--fondo);
  background-image: radial-gradient(1200px 600px at 50% -250px, rgba(124, 58, 237, .12), transparent 70%);
  background-attachment: scroll;
  letter-spacing: -.005em;
}
h1, h2, h3 { letter-spacing: -.02em; }
.contenedor { max-width: none; padding-inline: var(--gut); }
html.sin-scroll { overflow: hidden; }

/* ---------- Cabecera ---------- */
.cab { height: 68px; background: var(--fondo); border-bottom: 0; transition: background .35s; backdrop-filter: none; -webkit-backdrop-filter: none; }
.cab::after { display: none; }
.cab-fila { height: 68px; gap: 28px; max-width: none; padding-inline: var(--gut); }
body.con-billboard .cab { position: fixed; left: 0; right: 0; top: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .78) 10%, rgba(0, 0, 0, 0)); }
body.con-billboard .cab.con-sombra { background: rgba(11, 11, 16, .97); }
.cab.con-sombra { box-shadow: none; }
.marca { font-size: 23px; letter-spacing: -.035em; }
.marca-logo { width: 32px; height: 32px; }
.cab-nav { gap: 2px; margin-left: 0; align-items: center; }
.cab-nav a { padding: 6px 10px; border-radius: 0; background: none !important; box-shadow: none !important; color: #e5e5e5; font-size: 14.5px; font-weight: 500; transition: color .2s; }
.cab-nav a svg { display: none; }
.cab-nav a:hover { color: #b3b3b3; }
.cab-nav a[aria-current] { color: #fff; font-weight: 700; }
.cab-cats { position: relative; }
.cab-cats-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; color: #e5e5e5; font-size: 14.5px; font-weight: 500; padding: 6px 10px; }
.cab-cats-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .2s; }
.cab-cats:hover .cab-cats-btn svg, .cab-cats.abierto .cab-cats-btn svg { transform: rotate(180deg); }
.cab-cats-menu { position: absolute; top: calc(100% + 14px); left: -10px; width: 440px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; padding: 16px 20px; background: rgba(8, 8, 12, .95); border: 1px solid rgba(255, 255, 255, .14); border-top: 2px solid #e5e5e5; border-radius: 0 0 6px 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); z-index: 50; }
.cab-cats-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.cab-cats:hover .cab-cats-menu, .cab-cats:focus-within .cab-cats-menu, .cab-cats.abierto .cab-cats-menu { opacity: 1; visibility: visible; transform: none; }
.cab-cats-menu a { display: block; padding: 6px 0 !important; font-size: 14px; color: #d6d6d6 !important; font-weight: 500 !important; }
.cab-cats-menu a:hover { color: #fff !important; text-decoration: underline; }
.cab-cats-menu .cats-canales { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 8px; padding-top: 12px !important; color: #fff !important; font-weight: 700 !important; }

/* Buscador: lupa que se despliega (Netflix) */
@media (min-width: 721px) {
  .buscador input { width: 40px; padding: 0 0 0 38px; border-color: transparent; background: transparent; cursor: pointer; color: #fff; transition: width .3s, background .3s, border-color .3s; border-radius: 4px; }
  .buscador input::placeholder { color: transparent; }
  .buscador input:focus, .buscador input:not(:placeholder-shown) { width: 280px; cursor: text; background: rgba(0, 0, 0, .75); border-color: rgba(255, 255, 255, .85); box-shadow: none; }
  .buscador input:focus::placeholder { color: #8c8c8c; }
  .buscador svg { stroke: #fff; width: 20px; height: 20px; left: 10px; top: 9px; }
}
@media (max-width: 720px) {
  .cab, .cab-fila { height: 56px; }
  .marca { font-size: 20px; }
  .buscador input { width: 132px; background: rgba(255, 255, 255, .08); border-color: transparent; }
}

/* Pastillas de categorías en móvil (app de Netflix) */
.pildoras { display: none; }
@media (max-width: 720px) {
  .pildoras { display: flex; gap: 8px; position: fixed; top: 56px; left: 0; right: 0; z-index: 39; padding: 6px 16px 10px; overflow-x: auto; scrollbar-width: none; transition: background .35s; }
  .pildoras::-webkit-scrollbar { display: none; }
  body.scrolled .pildoras { background: rgba(11, 11, 16, .97); }
  .pildoras a { flex: none; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); color: #fff; font-size: 13.5px; font-weight: 600; background: rgba(0, 0, 0, .25); backdrop-filter: blur(6px); }
}

/* Barra inferior */
@media (max-width: 720px) {
  .barra-inferior { background: rgba(11, 11, 16, .96); border-top: 1px solid rgba(255, 255, 255, .06); }
  .barra-inferior a { color: #8c8c8c; font-size: 10.5px; }
  .barra-inferior a[aria-current] { color: #fff; }
}

/* ---------- Botones ---------- */
.boton { border-radius: 6px; height: 44px; padding: 0 24px; font-family: Inter, sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 0; box-shadow: none; }
.boton:hover:not(:disabled) { transform: none; box-shadow: none; }
.boton svg { width: 22px; height: 22px; }
.boton.blanco, .boton.blanco:hover:not(:disabled) { background: #fff; color: #000; }
.boton.blanco:hover:not(:disabled) { background: rgba(255, 255, 255, .78); }
.boton.gris, .boton.gris:hover:not(:disabled) { background: rgba(109, 109, 110, .7); color: #fff; backdrop-filter: blur(4px); }
.boton.gris:hover:not(:disabled) { background: rgba(109, 109, 110, .45); }
.boton.gris svg { fill: none; }
.boton.sec { border-radius: 6px; }
.c-btn { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); background: rgba(42, 42, 42, .6); display: inline-grid; place-items: center; padding: 0; color: #fff; transition: border-color .2s, background .2s, transform .15s; }
.c-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.c-btn:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.c-btn:active { transform: scale(.94); }
.c-btn.grande { width: 46px; height: 46px; }
.c-btn.on { border-color: #fff; }
.c-btn.blanco { background: #fff; border-color: #fff; color: #000; }
.c-btn.blanco svg { fill: #000; stroke: none; margin-left: 2px; }
.c-btn.blanco:hover { background: rgba(255, 255, 255, .8); }
.boton-texto { background: none; border: 0; color: var(--tenue); font-size: 13.5px; font-weight: 600; padding: 4px 0; }
.boton-texto:hover { color: #fff; text-decoration: underline; }

/* ---------- Portada a pantalla completa (billboard) ---------- */
.billboard { position: relative; height: 56.25vw; max-height: 94vh; min-height: 560px; overflow: hidden; background: #000; isolation: isolate; }
.billboard.compacto { height: 50vw; max-height: 80vh; min-height: 480px; }
.billboard .hero-capa { position: absolute; inset: 0; background-size: cover; background-position: center 22%; opacity: 0; transition: opacity 1.1s ease; z-index: 0; }
.billboard .hero-capa.activa { opacity: 1; animation: kenburns 12s ease-out both; }
.bb-sombra { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, var(--fondo) 0%, rgba(11, 11, 16, .75) 10%, rgba(11, 11, 16, 0) 32%),
    linear-gradient(77deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .42) 34%, rgba(0, 0, 0, 0) 66%),
    linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 20%); }
.bb-pagina { position: absolute; z-index: 3; top: 96px; left: var(--gut); display: flex; align-items: center; gap: 16px; }
.bb-pagina h1 { margin: 0; font-family: Sora, sans-serif; font-weight: 800; font-size: clamp(28px, 2.6vw, 42px); text-shadow: 0 2px 16px rgba(0, 0, 0, .6); background: none; -webkit-text-fill-color: #fff; color: #fff; }
.bb-pagina span { font-size: 13px; font-weight: 600; color: #fff; border: 1px solid rgba(255, 255, 255, .6); padding: 4px 10px; border-radius: 3px; background: rgba(0, 0, 0, .35); }
.bb-contenido { position: absolute; z-index: 3; left: var(--gut); bottom: 30%; width: min(42vw, 640px); }
.billboard.compacto .bb-contenido { bottom: 16%; width: min(46vw, 620px); }
.bb-contenido.cambia > * { animation: subir .7s cubic-bezier(.2, .7, .2, 1) both; }
.bb-contenido.cambia > *:nth-child(2) { animation-delay: .06s; } .bb-contenido.cambia > *:nth-child(3) { animation-delay: .12s; }
.bb-contenido.cambia > *:nth-child(4) { animation-delay: .16s; } .bb-contenido.cambia > *:nth-child(5) { animation-delay: .2s; } .bb-contenido.cambia > *:nth-child(6) { animation-delay: .24s; }
.bb-marca { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .32em; color: #ddd; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.bb-marca img { width: 22px; height: 22px; filter: drop-shadow(0 0 8px rgba(255, 61, 127, .5)); }
.bb-titulo { font-family: Sora, sans-serif; font-weight: 800; font-size: clamp(34px, 4.8vw, 80px); line-height: 1; margin: 14px 0 16px; text-shadow: 0 4px 30px rgba(0, 0, 0, .55); letter-spacing: -.035em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.billboard.compacto .bb-titulo { font-size: clamp(26px, 3vw, 50px); -webkit-line-clamp: 2; }
@media (min-width: 761px) and (max-height: 780px) { .billboard.compacto .bb-texto { display: none; } .billboard.compacto .bb-botones { margin-top: 18px; } .billboard.compacto .bb-contenido { bottom: 14%; } }
.bb-top { display: flex; align-items: center; gap: 10px; font-size: clamp(15px, 1.35vw, 21px); font-weight: 700; margin-bottom: 10px; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.bb-top:empty { display: none; }
.nuevo-pill { background: var(--rojo); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 3px; letter-spacing: .04em; text-transform: uppercase; }
.bb-generos { display: none; }
.bb-texto { font-size: clamp(15px, 1.25vw, 20px); line-height: 1.45; color: #fff; margin: 12px 0 22px; text-shadow: 0 1px 10px rgba(0, 0, 0, .7); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bb-botones { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bb-botones .boton { height: clamp(42px, 3.2vw, 54px); font-size: clamp(15px, 1.2vw, 19px); padding: 0 clamp(20px, 2.2vw, 34px); }
.bb-edad { position: absolute; z-index: 3; right: 0; bottom: 34%; padding: 7px 70px 7px 12px; border-left: 3px solid #dcdcdc; background: rgba(51, 51, 51, .6); font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.billboard.compacto .bb-edad { bottom: 20%; }
.bb-flecha { position: absolute; z-index: 4; top: 42%; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(10, 10, 14, .45); display: grid; place-items: center; opacity: 0; transition: opacity .25s, background .2s, transform .2s; backdrop-filter: blur(6px); }
.bb-flecha svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bb-flecha.izq { left: 14px; } .bb-flecha.der { right: 14px; }
.bb-flecha:hover { background: rgba(255, 255, 255, .2); transform: scale(1.08); }
.billboard:hover .bb-flecha { opacity: 1; }
.billboard .hero-puntos { position: absolute; z-index: 4; right: var(--gut); left: auto; bottom: calc(34% - 44px); display: flex; gap: 6px; }
.billboard.compacto .hero-puntos { bottom: calc(20% - 44px); }
.billboard .hero-puntos button { width: 22px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.billboard .hero-puntos button[aria-current] { width: 36px; background: rgba(255, 255, 255, .3); }
.billboard .hero-puntos button[aria-current]::after { background: #fff; animation-duration: 8s; }
.billboard + .filas { position: relative; z-index: 5; margin-top: calc(-1 * min(8vw, 150px)); }
body.con-billboard .billboard.compacto + main { position: relative; z-index: 5; margin-top: -3vw; }

/* Datos en línea (afinidad, capítulos, idioma, HD) */
.meta-linea { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14.5px; font-weight: 600; color: #fff; }
.meta-linea .afin { color: var(--verde); font-weight: 800; }
.meta-linea .borde { border: 1px solid rgba(255, 255, 255, .45); padding: 0 6px; border-radius: 3px; font-size: 11.5px; line-height: 18px; font-weight: 600; color: #ddd; }
.bb-contenido .meta-linea { text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }

/* Top 10 */
.top10 { position: absolute; z-index: 3; top: 0; right: 8px; width: 26px; height: 36px; background: var(--rojo); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 0 0 3px 3px; line-height: 1; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.top10 b { font-size: 7.5px; font-weight: 800; letter-spacing: .06em; }
.top10 i { font-style: normal; font-weight: 800; font-size: 15px; letter-spacing: -.04em; margin-top: 1px; }
.top10.plano { position: static; width: 28px; height: 32px; border-radius: 3px; flex: none; box-shadow: none; }

/* Móvil: portada tipo cartel (app de Netflix) */
@media (max-width: 760px) {
  .billboard, .billboard.compacto { height: auto; min-height: 0; max-height: none; padding: 104px 16px 0; background: transparent; overflow: visible; display: flex; flex-direction: column; }
  .billboard::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; background: radial-gradient(120% 70% at 50% 0%, rgba(124, 58, 237, .35), transparent 70%); }
  .billboard .hero-capa, .bb-sombra { inset: 104px 16px auto; height: calc((100vw - 32px) * 1.22); border-radius: 12px; }
  .billboard .hero-capa.activa { animation: none; }
  .bb-sombra { background: linear-gradient(to top, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .5) 32%, rgba(0, 0, 0, 0) 58%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 20px 40px rgba(0, 0, 0, .5); }
  .bb-contenido, .billboard.compacto .bb-contenido { position: relative; left: auto; bottom: auto; width: auto; min-height: calc((100vw - 32px) * 1.22); display: flex; flex-direction: column; justify-content: flex-end; padding: 0 18px 22px; text-align: center; }
  .bb-marca { justify-content: center; font-size: 11px; }
  .bb-titulo, .billboard.compacto .bb-titulo { font-size: 30px; margin: 8px 0 8px; -webkit-line-clamp: 2; }
  .bb-top, .bb-texto, .meta-linea, .bb-edad, .bb-flecha { display: none !important; }
  .bb-generos { display: block; font-size: 13.5px; font-weight: 600; color: #fff; margin-bottom: 14px; }
  .bb-generos i { font-style: normal; color: #bbb; margin: 0 6px; }
  .bb-botones { justify-content: center; flex-wrap: nowrap; }
  .bb-botones .boton.blanco { flex: 1; max-width: 190px; height: 44px; font-size: 16px; }
  .bb-botones .boton.gris { font-size: 0; width: 44px; height: 44px; padding: 0; border-radius: 50%; gap: 0; }
  .bb-botones .boton.gris svg { width: 22px; height: 22px; }
  .bb-pagina { top: 66px; left: 16px; right: 16px; }
  .bb-pagina h1 { font-size: min(26px, calc((100vw - 32px) / (var(--lt, 20) * .6))); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .bb-pagina span { display: none; }
  body[data-pagina="inicio"] .bb-pagina { display: none; }
  .billboard .hero-puntos, .billboard.compacto .hero-puntos { position: static; justify-content: center; margin: -8px 0 4px; }
  .billboard + .filas, body.con-billboard .billboard.compacto + main { margin-top: 18px; }
  body.con-billboard:not([data-pagina="inicio"]) .billboard { padding-top: 110px; }
  body.con-billboard:not([data-pagina="inicio"]) .billboard .hero-capa, body.con-billboard:not([data-pagina="inicio"]) .bb-sombra { top: 110px; height: calc((100vw - 32px) * .9); }
  body.con-billboard:not([data-pagina="inicio"]) .bb-contenido { min-height: calc((100vw - 32px) * .9); }
}

/* ---------- Filas ---------- */
.filas { padding-inline: var(--gut); padding-bottom: 20px; }
.seccion { margin-top: clamp(26px, 2.8vw, 46px); }
.filas > .seccion:first-child, .filas > .seccion.oculto + .seccion.oculto + .seccion { margin-top: 0; }
.seccion-cab { justify-content: flex-start; align-items: center; gap: 14px; margin-bottom: 10px; position: relative; }
.seccion-cab h2 { padding-left: 0; font-family: Inter, sans-serif; font-weight: 700; font-size: clamp(17px, 1.4vw, 24px); letter-spacing: -.01em; }
.seccion-cab h2::before { display: none !important; }
.seccion-cab h2 em { font-style: normal; color: #fff; }
.seccion-cab small { font-size: 13px; }
.seccion-cab a.rosa { background: none !important; padding: 0; color: var(--azul); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 2px; opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .3s; }
.seccion-cab a.rosa::after { content: "›"; font-size: 20px; line-height: 1; margin-left: 2px; }
.seccion:hover .seccion-cab a.rosa, .seccion-cab a.rosa:focus-visible { opacity: 1; transform: none; }
@media (hover: none), (max-width: 900px) { .seccion-cab a.rosa { opacity: 1; transform: none; } }
.fila-paginas { margin-left: auto; display: flex; gap: 2px; opacity: 0; transition: opacity .3s; }
.fila-paginas i { width: 14px; height: 2px; background: #4d4d4d; }
.fila-paginas i.on { background: #aaa; }
.seccion:hover .fila-paginas { opacity: 1; }
@media (hover: none) { .fila-paginas { display: none; } }

.fila-caja { position: relative; margin-inline: calc(-1 * var(--gut)); padding-inline: 0; overflow: visible; }
.fila { gap: var(--gap); padding: 4px var(--gut) 12px; margin: -4px 0 0; scroll-padding-inline: var(--gut); scroll-snap-type: x proximity; grid-auto-columns: calc((100% - 5 * var(--gap)) / 6); }
@media (max-width: 1400px) { .fila { grid-auto-columns: calc((100% - 4 * var(--gap)) / 5); } }
@media (max-width: 1100px) { .fila { grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); } }
@media (max-width: 800px) { .fila { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); } }
@media (max-width: 600px) { .fila { grid-auto-columns: 46%; } }
.fila.posters { grid-auto-columns: calc((100% - 7 * var(--gap)) / 8); }
@media (max-width: 1100px) { .fila.posters { grid-auto-columns: calc((100% - 5 * var(--gap)) / 6); } }
@media (max-width: 600px) { .fila.posters { grid-auto-columns: 31%; } }
.flecha { top: 4px; bottom: 12px; width: var(--gut); min-width: 40px; height: auto; border-radius: 0; border: 0; background: rgba(11, 11, 16, .55); backdrop-filter: none; box-shadow: none; transform: none; opacity: 0; }
.flecha.izq { left: 0; border-radius: 0 6px 6px 0; } .flecha.der { right: 0; border-radius: 6px 0 0 6px; }
.flecha svg { width: 30px; height: 30px; stroke-width: 2.6; transition: transform .2s; }
.flecha:hover { background: rgba(11, 11, 16, .75); transform: none; }
.flecha:hover svg { transform: scale(1.25); }
@media (hover: hover) and (min-width: 721px) { .fila-caja:hover .flecha { opacity: 1; } }

/* ---------- Tarjetas ---------- */
.tarjeta { position: relative; transition: none; }
.tarjeta:hover { transform: none; }
.portada { border-radius: var(--radio); background: #1b1b23; box-shadow: none; animation: none; }
.portada::after { background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .35) 42%, rgba(0, 0, 0, 0) 62%); }
.portada img { transition: opacity .4s; }
.tarjeta:hover .portada img { transform: none; }
.tarjeta:hover .portada { box-shadow: none; }
.tarjeta:focus-visible .portada { outline: 2px solid #fff; outline-offset: 2px; }
.portada-texto { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 9px; display: flex; flex-direction: column; gap: 2px; pointer-events: none; }
.portada-texto b { font-size: 14.5px; font-weight: 700; line-height: 1.2; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.portada-texto small { font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cinta { position: absolute; z-index: 3; left: 0; top: 8px; background: var(--rojo); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; padding: 3px 8px; border-radius: 0 3px 3px 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.portada .progreso, .pop-img .progreso, .ep-img .progreso { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; margin: 0; border-radius: 0; background: rgba(128, 128, 128, .55); }
.portada .progreso i, .pop-img .progreso i, .ep-img .progreso i { background: var(--rojo); }
.portada:has(.progreso) .portada-texto { bottom: 11px; }
.quitar { position: absolute; z-index: 4; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); background: rgba(0, 0, 0, .65); color: #fff; font-size: 18px; line-height: 1; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.tarjeta:hover .quitar, .quitar:focus-visible { opacity: 1; }
@media (hover: none) { .quitar { opacity: .9; } }
.tarjeta-info { font-size: 12.5px; color: var(--suave); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tarjeta:active .portada { transform: scale(.98); }
.rejilla { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px 8px; }
@media (max-width: 520px) { .rejilla { grid-template-columns: 1fr 1fr; gap: 14px 8px; } .portada-texto b { font-size: 13px; } }

/* Top 10: número grande con contorno */
.fila.ranking { grid-auto-columns: calc((100% - 3 * var(--gap)) / 4.3); }
@media (max-width: 1100px) { .fila.ranking { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3.2); } }
@media (max-width: 600px) { .fila.ranking { grid-auto-columns: 78%; } }
.fila.ranking .tarjeta { padding-left: 34%; }
.fila.ranking .tarjeta::before { left: -2%; bottom: -4px; top: auto; font-size: clamp(90px, 10.5vw, 190px); line-height: .78; color: var(--fondo); -webkit-text-stroke: 3px #595959; letter-spacing: -.1em; font-family: Inter, sans-serif; font-weight: 800; }
.fila.ranking .tarjeta:nth-child(-n+3)::before { -webkit-text-stroke: 3px #6b6b6b; background: none; -webkit-background-clip: border-box; color: var(--fondo); }
.fila.ranking .tarjeta:nth-child(10) { padding-left: 48%; }
.fila.ranking .top10 { display: none; }
.fila.ranking .portada { position: relative; z-index: 1; }

/* ---------- Tarjeta emergente (Netflix) ---------- */
.pop { position: absolute; z-index: 70; background: #181820; border-radius: 8px; box-shadow: 0 14px 44px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .05); overflow: hidden; opacity: 0; transform: scale(.7); pointer-events: none; transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .2s; }
.pop.visible { opacity: 1; transform: none; pointer-events: auto; }
.pop-img { display: block; position: relative; aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.pop-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pop-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(24, 24, 32, .95), rgba(24, 24, 32, 0) 50%); }
.pop-img .portada-texto b { font-size: 17px; }
.pop-cuerpo { padding: 12px 16px 18px; }
.pop-botones { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.pop-botones .hueco { flex: 1; }
.pop .meta-linea { font-size: 13.5px; }
.pop-progreso { font-size: 12.5px; color: var(--suave); margin-top: 8px; }
.pop-generos, .bb-generos { font-size: 13.5px; color: #e5e5e5; margin-top: 10px; }
.pop-generos i, .bb-generos i { font-style: normal; color: #646464; margin: 0 7px; }

/* ---------- Ventana "Más información" ---------- */
.info-modal { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, .74); overflow-y: auto; padding: 30px 16px 60px; display: block; overscroll-behavior: contain; }
.info-modal.oculto { display: none; }
.info-caja { position: relative; max-width: 880px; margin: 0 auto; background: var(--caja-info); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 90px rgba(0, 0, 0, .8); animation: abrirInfo .35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes abrirInfo { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
.info-cerrar { position: absolute; z-index: 5; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #181818; display: grid; place-items: center; }
.info-cerrar svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.info-cabecera { position: relative; aspect-ratio: 16 / 9; background: #000 center/cover no-repeat; }
.info-cabecera::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--caja-info) 0%, rgba(24, 24, 32, .5) 28%, rgba(24, 24, 32, 0) 55%), linear-gradient(77deg, rgba(0, 0, 0, .55), transparent 55%); }
.info-cab-cont { position: absolute; z-index: 2; left: 44px; right: 44px; bottom: 8%; }
.info-cab-cont h2 { font-family: Sora, sans-serif; font-weight: 800; font-size: clamp(26px, 4vw, 46px); line-height: 1.02; margin: 12px 0 18px; text-shadow: 0 3px 20px rgba(0, 0, 0, .6); }
.info-cuerpo { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 30px; padding: 4px 44px 20px; }
.info-izq .bb-top { font-size: 17px; margin: 12px 0 0; }
.info-sinopsis { font-size: 15.5px; line-height: 1.55; color: #fff; margin: 14px 0 0; }
.info-der p, .info-acerca p { font-size: 14px; line-height: 1.45; color: #ddd; margin: 0 0 10px; }
.info-der span, .info-acerca span { color: #777; }
.info-der a, .info-acerca a { color: #ddd; } .info-der a:hover, .info-acerca a:hover { text-decoration: underline; color: #fff; }
.info-seccion { padding: 10px 44px 26px; }
.info-seccion h3 { font-size: 23px; font-weight: 700; margin: 0 0 16px; }
.info-eps-cab { display: flex; justify-content: space-between; align-items: baseline; }
.info-eps-cab span { color: #ddd; font-size: 15px; font-weight: 600; }
.info-eps { border-top: 1px solid #2c2c36; }
.ep-fila { display: grid; grid-template-columns: 34px 150px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 14px; border-bottom: 1px solid #2c2c36; border-radius: 6px; transition: background .2s; }
.ep-fila:hover { background: #22222c; }
.ep-fila.actual { background: #2a2a34; }
.ep-num { font-size: 22px; font-weight: 600; color: #999; text-align: center; }
.ep-img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #111; }
.ep-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ep-play { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.ep-play svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; border: 2px solid #fff; background: rgba(0, 0, 0, .5); fill: #fff; }
.ep-fila:hover .ep-play, .lista-partes .ep:hover .ep-play { opacity: 1; }
.ep-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ep-txt b { font-size: 15px; font-weight: 700; }
.ep-txt small { font-size: 13px; color: #a3a3a3; }
.info-eps-rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; }
.info-eps-rejilla .ep { display: grid; place-items: center; }
.info-mas { display: inline-block; margin-top: 14px; color: #fff; font-weight: 700; font-size: 14.5px; }
.info-mas:hover { text-decoration: underline; }
.info-similares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sim { background: #2a2a33; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: background .2s; }
.sim:hover { background: #33333d; }
.sim-img { position: relative; aspect-ratio: 16 / 9; background: #111; display: block; }
.sim-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sim-img small { position: absolute; right: 8px; top: 8px; font-size: 11.5px; font-weight: 700; background: rgba(0, 0, 0, .7); padding: 2px 6px; border-radius: 3px; }
.sim-cuerpo { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.sim-cuerpo .meta-linea { font-size: 13px; }
.sim-cuerpo b { font-size: 15px; line-height: 1.25; }
.sim-txt { font-size: 13px; line-height: 1.45; color: #bdbdbd; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.info-acerca { border-top: 2px solid #2c2c36; margin: 0 44px; padding: 22px 0 30px; }
.info-acerca h3 b { font-weight: 800; }
@media (max-width: 720px) {
  .info-modal { padding: 0; }
  .info-caja { border-radius: 0; min-height: 100%; }
  .info-cab-cont { left: 18px; right: 18px; }
  .info-cuerpo { grid-template-columns: 1fr; gap: 10px; padding: 4px 18px 14px; }
  .info-seccion { padding: 8px 18px 22px; }
  .info-acerca { margin: 0 18px; }
  .info-similares { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ep-fila { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 6px; }
  .ep-num { display: none; }
}

/* ---------- Canales oficiales (HBO Max / Prime Video) ---------- */
.fila.canales { grid-auto-columns: calc((100% - 5 * var(--gap)) / 6); }
@media (max-width: 1100px) { .fila.canales { grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); } }
@media (max-width: 600px) { .fila.canales { grid-auto-columns: 42%; } }
.hub { position: relative; isolation: isolate; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; text-align: center; padding: 10px;
  background: radial-gradient(120% 120% at 0% 0%, var(--c1), rgba(11, 11, 16, .95) 75%); border: 1px solid rgba(255, 255, 255, .1); transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s; }
.hub::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--img) center/cover; opacity: .2; filter: grayscale(.4); transition: opacity .3s; }
.hub::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, transparent 40%, rgba(0, 0, 0, .55)); }
.hub b { font-family: Sora, sans-serif; font-weight: 800; font-size: clamp(18px, 1.6vw, 28px); letter-spacing: -.03em; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.hub small { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.hub:hover { transform: scale(1.05); border-color: var(--c2); box-shadow: 0 12px 34px rgba(0, 0, 0, .55); z-index: 2; }
.hub:hover::before { opacity: .38; }
.canales-rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 18px; }

/* Explorar categorías */
.explorar { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.cat { border-radius: 8px; min-height: 96px; }
.cat b { font-family: Inter, sans-serif; font-weight: 800; font-size: 16px; }

/* ---------- Páginas de catálogo ---------- */
.cab-pagina { margin: 26px 0 10px; }
.cab-pagina h1 { background: none; -webkit-text-fill-color: #fff; color: #fff; font-weight: 800; }
.cab-pagina.solo-texto { margin-top: 0; }
.cab-pagina.solo-texto p { color: var(--suave); font-size: 15px; }
body:not(.con-billboard) main.contenedor { padding-top: 6px; }
.busqueda-grande input { border-radius: 6px; background: #16161d; border-color: #2e2e3a; }
.busqueda-grande input:focus { border-color: #fff; box-shadow: none; }
.chip { border-radius: 999px; background: transparent; border-color: rgba(255, 255, 255, .28); color: #e5e5e5; font-weight: 600; font-size: 14px; }
.chip:hover { border-color: #fff; }
.chip[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.orden-barra select { border-radius: 4px; background: #000; border-color: rgba(255, 255, 255, .6); }
.pestanas button[aria-selected="true"] { border-color: #fff; }
.vacio-grande { grid-column: 1 / -1; text-align: center; padding: 50px 16px 30px; color: var(--suave); }
.vacio-grande b { display: block; color: #fff; font-size: 20px; margin: 14px 0 6px; }
.vacio-grande p { margin: 0 auto 20px; max-width: 420px; }
.vacio-icono { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); display: grid; place-items: center; }
.vacio-icono svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; }

/* ---------- Reproductor ---------- */
.ver-ambiente { opacity: .22; }
.pantalla { border-radius: 8px; box-shadow: 0 24px 70px rgba(0, 0, 0, .6); }
.gran-play { background: rgba(255, 255, 255, .95); animation: none; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.gran-play svg { fill: #000; }
.portada-play::before { background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, .35)); }
.lateral { background: #14141b; border-color: #25252f; border-radius: 10px; backdrop-filter: none; }
.eps-cab h2 { font-size: 19px; }
.rangos button[aria-pressed="true"] { background: #fff; color: #000; }
.episodios .ep { background: #1e1e27; border-color: #2c2c38; border-radius: 6px; }
.episodios .ep[aria-current] { background: #fff; color: #000; border-color: #fff; box-shadow: none; }
.episodios .ep.bloq[aria-current]::after { color: #b45309; }
.lista-partes { gap: 4px; }
.lista-partes .ep { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px; min-height: 0; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 8px; font-weight: 400; }
.lista-partes .ep:hover { background: #1f1f28; transform: none; border-color: transparent; }
.lista-partes .ep[aria-current] { background: #2a2a34; border-color: rgba(255, 255, 255, .22); box-shadow: none; color: #fff; }
.lista-partes .ep::after, .lista-partes .ep::before { display: none !important; }
.lista-partes .ep-txt b { font-size: 14px; }
.lista-partes .ep-txt small { font-size: 12px; }
.lista-partes .ep.bloq .ep-txt small { color: #f5b942; }
.lista-partes .ep.externo .ep-txt small { color: #ff6b62; }
.lista-partes .ep[aria-current] .ep-txt small { color: var(--verde); }
.avance-serie i, .siguiente-auto .barra-sig i { background: var(--rojo); }
.ficha h1 { font-family: Sora, sans-serif; font-weight: 800; }
.boton-compartir { border-radius: 6px; }
.migas a:hover { color: #fff; }
.siguiente-auto { background: rgba(20, 20, 26, .96); border-radius: 10px; }

/* Muro de anuncio y avisos */
.modal-caja { background: #181820; border-radius: 12px; border-color: #2a2a34; }
.modal-caja .boton { background: #fff; color: #000; }
.cuenta .barra { stroke: var(--rojo); }
.aviso-toast { background: #fff; color: #000; border-radius: 6px; font-weight: 700; }

/* Pie */
.pie { background: none; border-top: 0; color: #808080; padding-top: 40px; }
.pie-cols h4 { color: #b3b3b3; }
.pie-cols a { color: #808080; font-size: 13.5px; }
.pie-cols a:hover { color: #fff; }

/* Accesibilidad: sin animaciones si el sistema lo pide */
@media (prefers-reduced-motion: reduce) { .billboard .hero-capa.activa { animation: none; } .pop { transition: none; } }
@media (max-width: 720px) { .fila-paginas { display: none; } .billboard .hero-puntos, .billboard.compacto .hero-puntos { margin: 12px 0 0; } }
@media (max-width: 600px) {
  .cinta { font-size: 9.5px; padding: 2px 6px; top: 6px; }
  .portada-texto { left: 8px; right: 8px; bottom: 7px; }
  .portada-texto b { font-size: 12.5px; }
  .portada-texto small { display: none; }
  .top10 { width: 22px; height: 30px; right: 6px; } .top10 i { font-size: 13px; } .top10 b { font-size: 6.5px; }
}
.info-cab-cont .bb-marca, .info-cab-cont .bb-botones { justify-content: flex-start; }
@media (max-width: 720px) { .info-cab-cont h2 { font-size: 26px; margin: 8px 0 12px; } .info-cab-cont { bottom: 4%; } }

/* =====================================================================
   FUNCIONES DE PLATAFORMA (perfiles, avisos, valoraciones, novedades…)
   ===================================================================== */
.cab-acciones { display: flex; align-items: center; gap: 6px; margin-left: 6px; }
.cab-ico { position: relative; width: 38px; height: 38px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.cab-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cab-ico:hover { background: rgba(255, 255, 255, .1); }
#btn-sorpresa circle { fill: currentColor; stroke: none; }
.notif-n { position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--rojo); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.notif, .cab-perfil { position: relative; }
.notif-panel, .perfil-menu { position: absolute; right: 0; top: calc(100% + 12px); z-index: 60; background: rgba(10, 10, 14, .97); border: 1px solid rgba(255, 255, 255, .14); border-top: 2px solid #e5e5e5; border-radius: 0 0 6px 6px; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.notif.abierto .notif-panel, .cab-perfil.abierto .perfil-menu { opacity: 1; visibility: visible; transform: none; }
.notif-panel { width: 380px; max-height: 70vh; overflow-y: auto; }
.notif-cab { padding: 12px 16px; font-weight: 700; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.notif-item { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13.5px; color: #ddd; }
.notif-item:hover { background: rgba(255, 255, 255, .06); }
.notif-item img { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: #222; }
.notif-item b { display: block; font-size: 12px; color: #fff; margin-bottom: 2px; }
.notif-item small { display: block; color: #888; font-size: 12px; margin-top: 2px; }
.notif-item.sin-leer b::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rojo); margin-right: 6px; vertical-align: middle; }
.notif-todo { display: block; padding: 12px 16px; text-align: center; font-weight: 700; font-size: 13.5px; }
.notif-todo:hover { text-decoration: underline; }
.btn-perfil { display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px; color: #fff; }
.btn-perfil .flechita { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.4; transition: transform .2s; }
.cab-perfil.abierto .flechita { transform: rotate(180deg); }
.avatar { width: 32px; height: 32px; border-radius: 5px; background: var(--av, #e50914); display: inline-grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; flex: none; background-image: linear-gradient(140deg, rgba(255, 255, 255, .22), rgba(0, 0, 0, .15)); }
.avatar.grande { width: min(20vw, 120px); height: min(20vw, 120px); border-radius: 8px; font-size: clamp(34px, 6vw, 56px); }
.avatar.mas { background: transparent; border: 2px solid #666; color: #aaa; font-weight: 300; }
.perfil-menu { width: 240px; padding: 8px 0; }
.pm-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 16px; background: none; border: 0; color: #ddd; font-size: 13.5px; text-align: left; }
.pm-item:hover { color: #fff; text-decoration: underline; }
.pm-item .avatar { width: 28px; height: 28px; font-size: 13px; }
.pm-ico { width: 28px; text-align: center; color: #aaa; font-size: 16px; }
.pm-sep { height: 1px; background: rgba(255, 255, 255, .12); margin: 6px 0; }
.pm-nota { display: block; padding: 4px 16px 6px; font-size: 12px; color: #888; }
@media (max-width: 720px) {
  .cab-acciones { gap: 0; margin-left: 2px; }
  #btn-sorpresa { display: none; }
  .btn-perfil .flechita { display: none; }
  .avatar { width: 28px; height: 28px; font-size: 13px; }
  .notif-panel { position: fixed; left: 8px; right: 8px; top: 56px; width: auto; }
  .perfil-menu { position: fixed; right: 8px; top: 56px; }
  .buscador input { width: 110px; }
}

/* Perfiles: ¿Quién está viendo? */
.perfiles-modal { position: fixed; inset: 0; z-index: 110; background: #0b0b10; display: grid; place-items: center; padding: 30px 16px; overflow-y: auto; animation: entrar .3s ease both; }
.perfiles-modal.oculto { display: none; }
.perfiles-caja { text-align: center; max-width: 900px; }
.perfiles-caja h2 { font-family: Inter, sans-serif; font-weight: 600; font-size: clamp(28px, 4.5vw, 52px); margin: 0 0 30px; }
.perfiles-lista { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 2.4vw, 30px); }
.perfil-item { position: relative; background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; color: #808080; font-size: clamp(13px, 1.3vw, 17px); transition: color .2s; }
.perfil-item .avatar { outline: 3px solid transparent; outline-offset: 0; transition: outline-color .2s, transform .2s; }
.perfil-item:hover { color: #fff; }
.perfil-item:hover .avatar { outline-color: #fff; }
.perfil-item.actual span:last-child { color: #fff; font-weight: 700; }
.perfil-item.gestion .avatar { filter: brightness(.55); }
.perfil-borrar { position: absolute; top: -8px; right: -8px; width: 30px; height: 30px; border-radius: 50%; background: var(--rojo); color: #fff; font-style: normal; font-size: 20px; line-height: 30px; }
.perfil-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.perfil-form.oculto { display: none; }
.perfil-form input { height: 44px; min-width: 240px; border-radius: 4px; border: 1px solid #555; background: #1c1c24; color: #fff; font: inherit; padding: 0 14px; }
.perfiles-nota { color: #777; font-size: 13.5px; margin: 26px auto 0; max-width: 460px; }
.perfiles-pie { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 26px; }
.boton-borde { background: none; border: 1px solid #808080; color: #999; padding: 10px 26px; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.boton-borde:hover { color: #fff; border-color: #fff; }

/* Valoraciones */
.valorar { position: relative; display: inline-flex; }
.val-opciones { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.7); display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: #2b2b33; box-shadow: 0 8px 26px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; z-index: 5; }
.val-opciones button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; color: #fff; }
.val-opciones button:hover { background: rgba(255, 255, 255, .14); transform: scale(1.12); }
.val-opciones button.on { background: rgba(255, 255, 255, .22); }
.val-opciones svg, .val-principal svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.valorar:hover .val-opciones, .valorar.abierto .val-opciones { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.val-principal.on { background: rgba(255, 255, 255, .2); }
.acciones-ver .valorar .c-btn { width: 34px; height: 34px; }
.acciones-ver .valorar .c-btn svg { width: 17px; height: 17px; }

/* Novedades */
.nov-lista { display: flex; flex-direction: column; gap: 18px; margin-top: 10px; }
.nov-item { position: relative; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 26px; align-items: center; padding: 16px; border-radius: 10px; background: linear-gradient(90deg, #15151c, transparent); }
.nov-rank { position: absolute; z-index: 2; left: -6px; top: -22px; font-family: Inter, sans-serif; font-weight: 800; font-size: 76px; line-height: 1; color: var(--fondo); -webkit-text-stroke: 2px #6b6b6b; letter-spacing: -.06em; }
.nov-img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #1b1b23; }
.nov-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nov-item:hover .nov-img img { transform: scale(1.04); }
.nov-etq { color: var(--rojo); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.nov-cuerpo h3 { font-family: Sora, sans-serif; font-weight: 800; font-size: clamp(20px, 2vw, 30px); margin: 0 0 8px; }
.nov-cuerpo p { color: #cfcfd8; margin: 10px 0 6px; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nov-cuerpo .bb-botones { margin-top: 14px; }
.nov-cuerpo .bb-botones .boton { height: 42px; font-size: 15px; }
.nov-aviso { color: var(--suave); background: #16161d; border-left: 3px solid var(--rojo); padding: 12px 16px; border-radius: 4px; margin: 0 0 6px; }
@media (max-width: 760px) { .nov-item { grid-template-columns: 1fr; gap: 12px; padding: 10px 0; background: none; } .nov-rank { font-size: 56px; top: -12px; } }

/* Colecciones */
.etq-col { display: inline-block; margin-right: 10px; padding: 2px 8px; border-radius: 3px; background: linear-gradient(120deg, #ff3d7f, #7c5cff); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }

/* Modo cine */
body.modo-cine .ver { grid-template-columns: 1fr; }
body.modo-cine .ver > div:first-child { max-width: 1500px; width: 100%; margin: 0 auto; }
body.modo-cine .lateral { position: static; max-height: none; }
body.modo-cine::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .78); z-index: 3; pointer-events: none; }
body.modo-cine .pantalla { position: relative; z-index: 4; }
body.modo-cine .ver-ambiente { opacity: .45; }
#modo-cine[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; position: relative; z-index: 4; }

/* Buscador */
.busqueda-grande .buscar-voz { position: absolute; right: 10px; top: 9px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; display: grid; place-items: center; color: #ccc; }
.busqueda-grande .buscar-voz svg { position: static; width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.buscar-voz.escuchando { background: var(--rojo); color: #fff; animation: latido 1.2s infinite; }
.quisiste { color: var(--suave); font-size: 15px; margin: -4px 0 10px; }
.quisiste a { color: #fff; font-weight: 700; text-decoration: underline; }

/* v7: ajustes */
.busqueda-grande input { padding-right: 52px; }
.acciones-ver .val-opciones { top: auto; bottom: calc(100% + 8px); transform: translate(-50%, 6px) scale(.9); }
.acciones-ver .valorar:hover .val-opciones, .acciones-ver .valorar.abierto .val-opciones { transform: translate(-50%, 0) scale(1); }
