:root {
  --ink: #241b2d;
  --ink-soft: #51485b;
  --coral: #0366f9;
  --coral-dark: #0248c4;
  --violet: #6517ec;
  --mist: #fbf9fc;
  --paper: #ffffff;
  --line: #e7e3ea;
  --brand-gradient: linear-gradient(122deg, #6517ec 0%, #3b4ff0 48%, #0366f9 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--mist); line-height: 1.45; }
a { color: inherit; text-decoration: none; } button, input, select { font: inherit; }
.topbar { position: sticky; top: 0; z-index: 5; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 6px clamp(20px, 5vw, 80px); background: var(--paper); border-bottom: 1px solid var(--line); }
.brand img { display: block; width: 128px; height: auto; margin-top: -3px; }
.nav-dropdown { position: relative; }
.nav-dropdown-boton { padding: 0; color: inherit; font: inherit; background: none; border: 0; cursor: pointer; }
.nav-dropdown-menu { position: absolute; top: calc(100% + 12px); left: 0; z-index: 6; display: none; flex-direction: column; min-width: 170px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 34px rgb(20 24 77 / 15%); }
.nav-dropdown.abierta .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a { padding: 7px 10px; border-radius: 8px; color: var(--ink-soft); font-size: .88rem; font-weight: 700; }
.nav-dropdown-menu a:hover { color: var(--coral); background: var(--mist); }.nav { display: flex; align-items: center; gap: 22px; color: var(--ink-soft); font-size: .93rem; }.nav a:hover, .nav .active, .nav-watchlist:hover { color: var(--coral); font-weight: 700; }.nav .admin-link { padding: 8px 13px; color: var(--violet); background: #f4efff; border-radius: 999px; }.nav-watchlist { padding: 0; color: inherit; font-weight: inherit; background: transparent; border: 0; cursor: pointer; }.nav-toggle-movil { display: none; }
.hero { position: relative; padding: clamp(22px, 3.4vw, 34px) clamp(20px, 8vw, 140px) 22px; color: #fff; background: var(--brand-gradient); }.hero-blob { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }.hero-blob::after { position: absolute; right: -70px; bottom: -130px; width: 370px; height: 370px; border: 45px solid rgb(255 255 255 / 16%); border-radius: 50%; content: ""; }.eyebrow { margin: 0 0 10px; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .82; }h1, h2, h3, p { margin-top: 0; }.hero h1 { max-width: 750px; margin-bottom: 6px; font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.1; letter-spacing: -.045em; }.hero-copy { max-width: 600px; margin-bottom: 16px; font-size: .96rem; opacity: .94; }
.search-box { position: relative; z-index: 1; display: flex; max-width: 720px; padding: 6px; background: var(--paper); border-radius: 18px; box-shadow: 0 16px 34px rgb(20 24 77 / 21%); }.search-box input { min-width: 0; flex: 1; padding: 13px 15px; color: var(--ink); border: 0; outline: 0; background: transparent; }.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; color: #fff; font-weight: 800; border: 0; border-radius: 13px; background: var(--coral); cursor: pointer; }.button:hover { background: var(--coral-dark); }.button--small { min-height: 38px; padding: 8px 13px; border-radius: 10px; font-size: .88rem; }#sorprendeme { position: fixed; right: 22px; bottom: 22px; z-index: 25; display: inline-grid; width: 46px; height: 46px; place-items: center; padding: 0; border-radius: 50%; background: var(--violet); box-shadow: 0 10px 24px rgb(101 23 236 / 38%); transition: transform .18s ease-out, background .18s ease-out; }#sorprendeme:hover { transform: translateY(-3px); background: #4f0fc4; }#sorprendeme svg { width: 21px; height: 21px; stroke-width: 2.15; }@media (max-width: 520px) { #sorprendeme { right: 14px; bottom: 14px; width: 42px; height: 42px; } }
.proveedor-chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 1320px; margin: 14px auto; padding: 0 clamp(20px, 5vw, 64px); }.chip { padding: 6px 10px; color: var(--ink-soft); font-size: .8rem; font-weight: 700; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); cursor: pointer; }.chip--activo { color: #fff; border-color: var(--violet); background: var(--violet); }
.layout { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 32px; max-width: 1320px; margin: 0 auto; padding: 18px clamp(20px, 5vw, 64px) 32px; }.layout--full { grid-template-columns: minmax(0, 1fr); }.sidebar { align-self: start; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }.sidebar h2 { margin-bottom: 17px; font-size: 1rem; }.filter { padding: 15px 0; border-top: 1px solid var(--line); }.filter:first-of-type { border-top: 0; padding-top: 0; }.filter label { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: .84rem; font-weight: 700; }select { padding: 8px 10px; color: var(--ink); font: inherit; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); cursor: pointer; }.filter select, .filter input[type="number"], .sort-select { width: 100%; padding: 10px; color: var(--ink); border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }.filter-check { display: flex; align-items: center; gap: 8px; margin: 8px 0; color: var(--ink-soft); font-size: .88rem; }.filter-check input { accent-color: var(--coral); }.clear { width: 100%; margin-top: 6px; padding: 10px; color: var(--coral); font-size: .87rem; font-weight: 700; text-align: center; background: var(--paper); border: 1px solid var(--coral); border-radius: 9px; cursor: pointer; }.clear:hover { background: #fdf0ee; }
.paginacion-genero { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }.results-heading h2 { margin-bottom: 3px; font-size: 1.45rem; letter-spacing: -.025em; }.results-heading p { margin-bottom: 0; color: var(--ink-soft); font-size: .92rem; }.sort-select { width: auto; font-size: .86rem; white-space: nowrap; }.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 21px; }
.carrusel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }.carrusel-header h2 { margin-bottom: 0; }.carrusel-flechas { display: flex; gap: 6px; }.carrusel-flecha { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; color: var(--ink); font-size: 1.3rem; line-height: 1; background: var(--paper); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }.carrusel-flecha:hover { background: var(--mist); }.carrusel-pista { display: flex; gap: 21px; padding-bottom: 4px; overflow-x: auto; scroll-snap-type: x proximity; }.carrusel-pista .card { flex: 0 0 auto; width: 195px; scroll-snap-align: start; }
.card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 5px 14px rgb(36 27 45 / 4%); }.poster { position: relative; min-height: 235px; display: flex; align-items: end; padding: 19px; color: #fff; overflow: hidden; }.poster::before { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(13 9 25 / 80%), transparent 63%); content: ""; }.poster > span { position: relative; font-size: 1.3rem; font-weight: 850; line-height: 1.03; letter-spacing: -.03em; }.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }.rating-badge { position: absolute; z-index: 1; top: 12px; right: 12px; padding: 4px 7px; color: var(--paper); font-size: .72rem; font-weight: 800; line-height: 1; border-radius: 6px; background: rgb(36 27 45 / 84%); }.poster--aurora { background: linear-gradient(150deg, #5d24ac, #15a7d7 58%, #e6d6a4); }.poster--archivo { background: linear-gradient(150deg, #132b51, #007f91 56%, #e7b54a); }.poster--nexo { background: linear-gradient(145deg, #ec4e70, #741cb4 53%, #10144c); }.poster--ruta { background: linear-gradient(145deg, #f47725, #c11e4a 58%, #351c55); }.poster--satelite { background: linear-gradient(145deg, #0d264a, #4467ba 55%, #c0e8e2); }.poster--paralelo { background: linear-gradient(145deg, #31312e, #7e753b 50%, #2f5f75); }.card-body { padding: 16px; }.card h3 { margin-bottom: 5px; font-size: 1.02rem; }.card-meta { margin-bottom: 13px; color: var(--ink-soft); font-size: .82rem; }.badges { display: flex; flex-wrap: wrap; gap: 6px; min-height: 25px; margin-bottom: 15px; }.badge { display: inline-flex; align-items: center; padding: 4px 7px; color: #fff; font-size: .67rem; font-weight: 800; line-height: 1; border-radius: 6px; background: var(--violet); }.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 13px; border-top: 1px solid var(--line); }.price-label { display: block; color: var(--ink-soft); font-size: .68rem; }.price { font-size: 1rem; font-weight: 850; }
.card-bottom { align-items: stretch; flex-direction: column; }.plan-fila { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.plan-fila > div { min-width: 0; }.plan-fila + .plan-fila { padding-top: 10px; border-top: 1px solid var(--line); }.plan-fila--destacado { padding-left: 8px; border-left: 3px solid var(--coral); }.plan-fila .price { color: var(--ink); }
.proveedor-planes + .proveedor-planes { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }.proveedor-planes h4 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 8px; color: var(--ink-soft); font-size: .82rem; }.badge--nuevo { background: #1a9e6e; }.badge--expira { background: #c0392b; }.badge--verificado { background: #c0504d; }.badge--oferta { color: var(--ink); background: #e7edf5; }.badge--mas-barato { background: #1a9e6e; }
.watchlist-button { width: 100%; margin-top: 12px; color: var(--violet); background: #f4efff; border: 1px solid #dcd0f6; }.watchlist-button:hover { color: #fff; background: var(--violet); }.watchlist-lista { display: grid; gap: 10px; }.watchlist-item { display: flex; align-items: center; gap: 12px; padding: 10px; background: var(--mist); border-radius: 10px; }.watchlist-item-info { display: flex; flex: 1; align-items: center; gap: 12px; min-width: 0; padding: 0; text-align: left; background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }.watchlist-item img, .watchlist-item-poster { flex: 0 0 42px; width: 42px; height: 58px; object-fit: cover; border-radius: 6px; }.watchlist-item-poster { background: var(--brand-gradient); }.watchlist-item-titulo { flex: 1; min-width: 0; margin: 0; font-weight: 800; }.watchlist-item-acciones { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }.watchlist-quitar { flex: 0 0 auto; padding: 7px 9px; color: var(--coral); font-size: .78rem; font-weight: 700; background: var(--paper); border: 1px solid var(--coral); border-radius: 8px; cursor: pointer; }
.badge--watchlist-aviso { margin-top: 5px; background: #c0392b; }
.detalle-panel .compartir-button { width: 100%; margin-top: 10px; color: var(--violet); background: #f4efff; border: 1px solid #dcd0f6; }.detalle-panel .compartir-button:hover { color: #fff; background: var(--violet); }
.detalle-ficha-enlace { margin: -5px 0 14px; }
.detalle-ficha-enlace a { color: var(--violet); font-size: .86rem; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.detalle-ficha-enlace a:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
#watchlist-aviso { position: fixed; z-index: 20; top: 20px; right: 20px; padding: 11px 18px; color: #fff; font-size: .86rem; font-weight: 700; background: #1a9e6e; border-radius: 10px; box-shadow: 0 10px 26px rgb(36 27 45 / 28%); opacity: 0; transform: translateX(12px); transition: opacity .2s, transform .2s; pointer-events: none; }#watchlist-aviso.watchlist-aviso--visible { opacity: 1; transform: translateX(0); }
.notice { max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px) 24px; color: var(--ink-soft); font-size: .8rem; }.notice strong { color: var(--ink); }.site-footer { margin-top: 1.1rem; color: #e8e4ef; background: var(--ink); }.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: min(1320px, calc(100% - clamp(40px, 10vw, 128px))); margin: auto; padding: 1.1rem 0; }.footer-brand { display: flex; align-items: center; gap: .9rem; }.footer-brand img { width: 70px; height: auto; }.footer-brand p, .footer-note { margin: 0; color: #c8c0d0; font-size: .78rem; }.footer-note { text-align: right; }
.detalle-overlay { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; padding: 4vh 4vw; background: rgb(36 27 45 / 72%); }.detalle-overlay[hidden] { display: none; }.detalle-panel { position: relative; width: min(640px, 92vw); max-height: 92vh; overflow-y: auto; scrollbar-gutter: stable; padding: 22px; background: var(--paper); border-radius: 18px; box-shadow: 0 20px 50px rgb(36 27 45 / 36%); }.detalle-cerrar { position: absolute; z-index: 1; top: 12px; right: 12px; width: 34px; height: 34px; padding: 0; color: var(--paper); font-size: 1.6rem; line-height: 1; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; }.detalle-backdrop { display: block; width: calc(100% + 44px); height: 220px; margin: -22px -22px 20px; object-fit: cover; }.detalle-cabecera { display: flex; align-items: flex-start; gap: 18px; }.detalle-poster { width: 110px; max-height: 165px; object-fit: cover; border-radius: 10px; }.detalle-cabecera h2 { margin-bottom: 5px; }.detalle-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; color: var(--ink-soft); font-size: .88rem; }.detalle-sinopsis { color: var(--ink-soft); }.detalle-panel .badges { margin-top: 16px; }.detalle-personas { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }.detalle-persona-enlace { padding: 5px 10px; color: var(--violet); font-size: .82rem; font-weight: 700; border: 1px solid #dcd0f6; border-radius: 999px; background: #f4efff; cursor: pointer; }.detalle-persona-enlace:hover, .detalle-persona-enlace:focus-visible { color: #fff; background: var(--violet); outline: 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }.step { padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }.step-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 12px; color: #fff; font-weight: 850; border-radius: 50%; background: var(--brand-gradient); }.step h3 { margin-bottom: 6px; font-size: 1.02rem; }.step p { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.page-hero { padding: clamp(20px, 3vw, 30px) clamp(20px, 8vw, 140px) 20px; color: #fff; background: var(--brand-gradient); }.page-hero h1 { max-width: 700px; margin-bottom: 6px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }.page-hero p { max-width: 600px; margin-bottom: 0; opacity: .94; }.back-link { display: inline-block; margin: 16px clamp(20px, 5vw, 64px) 0; color: var(--coral); font-weight: 700; font-size: .9rem; }
@media (max-width: 720px) { .topbar { flex-wrap: wrap; }.nav-toggle-movil { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; color: var(--ink); font-size: 1.3rem; line-height: 1; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }.nav { display: none; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; order: 1; margin-top: 12px; }.nav.abierta { display: flex; }.nav a { width: 100%; padding: 8px 0; }.layout { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 16px; }.sidebar { display: none; }.search-box { border-radius: 14px; }.search-box input { padding-left: 9px; }.results-heading { align-items: flex-start; flex-direction: column; }.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }.carrusel-pista .card { width: 160px; }.poster { min-height: 190px; padding: 13px; }.poster > span { font-size: 1.06rem; }.card-body { padding: 12px; }.card-bottom .button { width: 100%; }.plan-fila { gap: 8px; }.plan-fila .button--small { width: auto; min-height: 32px; padding: 6px 9px; font-size: .78rem; white-space: nowrap; flex: 0 0 auto; }.steps { grid-template-columns: 1fr; }.detalle-overlay { padding: 2vh 2vw; }.detalle-panel { width: 96vw; padding: 18px; }.detalle-backdrop { width: calc(100% + 36px); height: 170px; margin: -18px -18px 16px; }.detalle-cabecera { gap: 13px; }.detalle-poster { width: 88px; max-height: 132px; } }
@media (max-width: 640px) { .footer-inner { align-items: stretch; flex-direction: column; }.footer-note { text-align: left; } }@media (max-width: 410px) { .grid { grid-template-columns: 1fr; } }
.buscador-sugerencias { position: absolute; z-index: 2; top: calc(100% + 8px); right: 0; left: 0; overflow-y: auto; max-height: 320px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 16px 34px rgb(20 24 77 / 21%); }.buscador-sugerencia { display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 12px; color: var(--ink); text-align: left; border: 0; border-top: 1px solid var(--line); background: var(--paper); cursor: pointer; }.buscador-sugerencia:first-child { border-top: 0; }.buscador-sugerencia:hover, .buscador-sugerencia:focus-visible { background: #f8f6ff; outline: 0; }.buscador-sugerencia img { width: 34px; height: 48px; object-fit: cover; border-radius: 5px; background: var(--line); }.buscador-sugerencia-titulo { display: block; font-weight: 800; }.buscador-sugerencia-anio { color: var(--ink-soft); font-size: .85rem; }.filtros-toggle-movil { display: none; }
.chips-toggle-movil { display: none; }
.clear--chips { display: none; }
.detalle-relacionados { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }.detalle-relacionados h3 { margin-bottom: 12px; }.detalle-persona-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 12px; }.detalle-relacionados > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }.relacionado { min-width: 0; }.relacionado img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; background: var(--mist); }.relacionado p { margin: 6px 0 2px; overflow: hidden; font-size: .78rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }.relacionado span { display: block; overflow: hidden; color: var(--ink-soft); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }.sugerencias-busqueda { color: var(--ink-soft); }.sugerencias-busqueda button { margin: 0 3px 4px; padding: 5px 8px; color: var(--violet); font-weight: 700; border: 1px solid #dcd0f6; border-radius: 999px; background: #f4efff; cursor: pointer; }
@media (max-width: 720px) { .nav-watchlist { width: 100%; padding: 8px 0; text-align: left; }.nav-dropdown-boton { width: 100%; padding: 8px 0; text-align: left; }.nav-dropdown-menu { position: static; margin-top: 4px; padding: 0 0 0 12px; background: none; border: 0; box-shadow: none; } }
@media (max-width: 720px) {
  .filtros-toggle-movil { display: block; width: 100%; margin-bottom: 16px; padding: 12px; color: var(--ink); font-weight: 700; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
  .chips-toggle-movil { display: block; width: 100%; margin: 20px auto 0; padding: 12px; color: var(--ink); font-weight: 700; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
  #proveedor-chips { display: none; }
  #proveedor-chips.abierta { display: flex; }
  .sidebar.abierta { display: block; margin-bottom: 16px; }
  .clear--chips { display: block; }
}
.detalle-persona-verTodos { display: inline-flex; align-items: center; justify-content: center; color: var(--violet); font-weight: 700; text-decoration: none; background: #f4efff; border: 1px solid #dcd0f6; }
.detalle-persona-verTodos:hover, .detalle-persona-verTodos:focus-visible { color: #fff; background: var(--violet); outline: 0; }
.detalle-persona-filtros label { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; }
.detalle-persona-filtros label select { width: auto; min-width: 130px; }
.enlace-persona { color: var(--violet); font-weight: 600; text-decoration: none; }
.enlace-persona:hover, .enlace-persona:focus-visible { text-decoration: underline; }
/* Seleccion editorial local: visible antes de ejecutar JavaScript. */
.seleccion-portada { max-width: 1320px; margin: 32px auto; padding: 0 clamp(20px, 5vw, 64px); }
.seleccion-portada > p { color: var(--ink-soft); }
.seleccion-portada .card { min-width: 0; color: inherit; text-decoration: none; }
.seleccion-portada h3 { overflow-wrap: anywhere; }
.seleccion-poster { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.portada-seccion { scroll-margin-top: 6rem; }
#buscador-tendencias, #proveedores, #destacados, #elegidos { scroll-margin-top: 4rem; }
.proveedores-titulo { max-width: 1320px; margin: 20px auto 0; padding: 0 clamp(20px, 5vw, 64px); }
.portada-seccion:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
.busqueda-cabecera { display: flex; flex: 0 1 245px; align-items: stretch; min-width: 190px; height: 38px; margin-left: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.busqueda-cabecera[hidden] { display: none; }
.busqueda-cabecera-etiqueta { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.busqueda-cabecera input { flex: 1; min-width: 0; padding: 0 9px; color: var(--ink); font-size: .78rem; border: 0; border-radius: 10px 0 0 10px; outline: 0; }
.busqueda-cabecera:focus-within { outline: 2px solid var(--coral); outline-offset: 2px; }
.busqueda-cabecera button { display: grid; flex: 0 0 36px; place-items: center; padding: 0; color: #fff; border: 0; border-radius: 0 9px 9px 0; background: var(--coral); cursor: pointer; }
.busqueda-cabecera button svg { width: 17px; height: 17px; }
.busqueda-cabecera button:hover { background: var(--coral-dark); }
.titulo-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 14px; }
.titulo-acciones button { min-height: 38px; padding: 7px 14px; font-weight: 700; border-radius: 9px; cursor: pointer; }
.titulo-watchlist { color: var(--violet); background: #fff; border: 1px solid #fff; }
.titulo-compartir { color: #fff; background: transparent; border: 1px solid rgb(255 255 255 / 80%); }
.titulo-acciones button:hover, .titulo-acciones button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
#titulo-acciones-estado { font-size: .82rem; font-weight: 700; }
.ficha-relacionados h2 { margin-bottom: 14px; font-size: 1.25rem; }
.ficha-relacionados .relacionado { display: block; }
.ficha-backdrop-movil { display: none; }
@media (max-width: 720px) {
  .layout--titulo .ficha-resumen { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 12px; }
  .ficha-resumen .poster { flex: 0 0 88px; width: 88px; height: 132px; min-height: 0; padding: 0; border-radius: 8px; overflow: hidden; }
  .ficha-resumen-info { min-width: 0; }
  .ficha-resumen-info .card-meta { margin-bottom: 10px; }
  .ficha-resumen-info .badges { margin-bottom: 0; }
  .layout--titulo .detalle-backdrop { display: none; }
  .ficha-backdrop-movil { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 0 0 18px; object-fit: cover; border-radius: 10px; }
  .ficha-relacionados > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#resultados { scroll-margin-top: 7rem; }
@media (min-width: 1321px) {
  .topbar { display: grid; grid-template-columns: minmax(0, 1fr) 245px minmax(0, 1fr); gap: 15px; }
  .brand { grid-column: 1; }
  .busqueda-cabecera { grid-column: 2; min-width: 0; width: 100%; margin: 0; }
  .nav { grid-column: 3; justify-self: end; gap: 13px; font-size: .82rem; }
  .topbar:has(.busqueda-cabecera[hidden]) .nav { grid-column: 2 / 4; gap: 22px; font-size: .93rem; }
}
@media (max-width: 1320px) {
  .topbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px) minmax(0, 1fr); gap: 8px 12px; }
  .brand { grid-column: 1; }
  .nav-toggle-movil { display: inline-flex; grid-column: 3; justify-self: end; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; color: var(--ink); font-size: 1.3rem; line-height: 1; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
  .nav { display: none; grid-column: 1 / -1; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; margin-top: 8px; }
  .nav.abierta { display: flex; }
  .nav a { width: 100%; padding: 8px 0; }
  .busqueda-cabecera { grid-column: 2; min-width: 0; width: 100%; margin: 0; }
}
.topbar:has(.busqueda-cabecera:not([hidden])) .nav > a:first-child { display: none; }
.disponibilidad-peru { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 14px; padding: 7px 10px; color: #17613b; font-size: .86rem; font-weight: 750; border: 1px solid #a8ddbe; border-radius: 8px; background: #e9f7ee; }
.disponibilidad-peru::before { content: '✓'; font-weight: 900; }
.disponibilidad-fecha { margin: -8px 0 18px; color: var(--ink-soft); font-size: .8rem; }
.disponibilidad-otro-pais { margin: 4px 0 14px; padding: 7px 10px; color: #8c2929; font-size: .84rem; font-weight: 650; border: 1px solid #edb9b9; border-radius: 8px; background: #fff0f0; }
.disponibilidad-pendiente { margin: 4px 0 14px; padding: 7px 10px; color: #805400; font-size: .84rem; font-weight: 700; border: 1px solid #edca82; border-radius: 8px; background: #fff6df; }
@media (max-width: 720px) {
  .topbar { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 12px; }
  .brand { flex: 0 0 auto; }
  .brand img { width: 40px; height: 40px; margin-top: 0; object-fit: contain; }
  .busqueda-cabecera { flex: 1 1 0; min-width: 0; max-width: none; width: auto; height: 36px; order: 0; margin: 0; }
  .nav-toggle-movil { flex: 0 0 40px; margin-left: 0; order: 0; }
  .topbar:has(.busqueda-cabecera[hidden]) .nav-toggle-movil { margin-left: auto; }
  .nav { order: 2; margin-top: 0; }
}
.topbar:has(.busqueda-abierta) { z-index: 30; }
.busqueda-panel-fondo { position: fixed; inset: 0; z-index: 29; background: rgb(15 19 29 / 65%); }
.busqueda-panel { position: fixed; z-index: 31; width: min(820px, calc(100vw - 24px)); overflow-y: auto; padding: 20px; color: #eef1f7; background: #171d2a; border: 1px solid #394356; border-radius: 14px; box-shadow: 0 18px 48px rgb(0 0 0 / 30%); }
.busqueda-panel[hidden], .busqueda-panel-fondo[hidden], .busqueda-panel-ver[hidden] { display: none; }
.busqueda-panel h3 { margin: 0 0 14px; color: #acb8cd; font-size: .88rem; font-weight: 600; }
.busqueda-panel button { display: inline-flex; flex: initial; height: auto; padding: 8px 10px; color: #eef1f7; font-size: .8rem; font-weight: 600; text-align: left; background: transparent; border: 1px solid #465168; border-radius: 8px; }
.busqueda-panel button:hover { background: #2c3548; }
.busqueda-panel button:focus-visible { outline: 2px solid #86b7ff; outline-offset: 2px; }
.busqueda-panel-cabecera { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.busqueda-panel-cabecera strong { font-size: .92rem; }
.busqueda-panel-cabecera button { flex: 0 0 32px; justify-content: center; font-size: 1.2rem; }
.busqueda-panel-recientes { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.busqueda-panel-recientes h3 { margin: 0; }
.busqueda-panel-recientes button { padding: 4px; color: #a8caff; border: 0; }
.busqueda-panel-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.busqueda-panel-estado { margin: 0; color: #acb8cd; font-size: .85rem; }
.busqueda-panel-titulos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.busqueda-panel .busqueda-panel-titulo { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 0; padding: 0 0 6px; font-size: .8rem; font-weight: 600; border: 0; overflow-wrap: anywhere; }
.busqueda-panel .busqueda-panel-titulo:hover { background: #2c3548; }
.busqueda-panel .busqueda-panel-titulo:focus-visible { outline: 2px solid #86b7ff; outline-offset: 2px; }
.busqueda-panel-titulo img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 7px; background: #2c3548; }
.busqueda-panel-titulo span { line-height: 1.35; }
.busqueda-panel-titulo small { color: #acb8cd; font-weight: 400; }
.busqueda-panel .busqueda-panel-ver { display: flex; justify-content: center; width: 100%; margin-top: 20px; padding: 15px 4px 0; color: #a8caff; border: 0; border-top: 1px solid #394356; border-radius: 0; }
.busqueda-panel .busqueda-panel-ver[hidden] { display: none; }
@media (max-width: 720px) {
  .busqueda-panel { padding: 15px; border-radius: 12px; }
  .busqueda-panel-titulos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .busqueda-panel-cabecera { margin-bottom: 16px; }
}
