/* JODAGRÁFICA — televisión venezolana 80/90, ejecutada en serio. */
:root {
  --ink: #0d0b14;
  --ink2: #16121f;
  --ink3: #221c30;
  --paper: #f4ecdb;
  --muted: #b3a891;
  --line: rgba(244, 236, 219, 0.14);
  --r: #e5352b;
  --o: #f28a1e;
  --y: #f7d02c;
  --g: #36a845;
  --b: #1e64c8;
  --phos: #7dff9a;
  --c: var(--y);
  --rainbow: linear-gradient(90deg, var(--r) 0 20%, var(--o) 20% 40%, var(--y) 40% 60%, var(--g) 60% 80%, var(--b) 80% 100%);
  --f: 'Archivo', system-ui, sans-serif;
  --f-osd: 'VT323', ui-monospace, monospace;
  --f-script: 'Yellowtail', cursive;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-wipe: cubic-bezier(.87, 0, .13, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f);
  font-size: clamp(16px, 1.05vw + 10px, 19px);
  line-height: 1.5;
  font-variation-settings: 'wdth' 100;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* Textura CRT: líneas de barrido + grano fijo, sin coste de scroll */
body::before, body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 90; }
body::before { background: repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; opacity: .55; }
body::after {
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.55) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: .95; font-weight: 900; text-wrap: balance; }
p { margin: 0 0 1em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--y); color: var(--ink); padding: 8px 14px; font-weight: 800; }
.skip:focus { top: 8px; }
.osd { font-family: var(--f-osd); font-size: 1.15em; letter-spacing: .04em; line-height: 1.1; color: var(--phos); text-shadow: 0 0 8px rgba(125,255,154,.45); font-variant-numeric: tabular-nums; }
p.osd { margin: 0 0 .9rem; }
main { display: block; }
section { padding-inline: var(--gut); }
.lead { font-size: clamp(1.1rem, 1.2vw + .7rem, 1.5rem); max-width: 40ch; color: var(--paper); line-height: 1.35; }
.fine { color: var(--muted); font-size: .85rem; max-width: 70ch; margin: 0 auto; padding: 0 var(--gut) 72px; }

/* ---------- botones ---------- */
.btn {
  --bg: var(--y); --fg: var(--ink);
  display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: .7em 1.3em;
  background: var(--bg); color: var(--fg); font-weight: 800; font-variation-settings: 'wdth' 112;
  text-decoration: none; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem;
  border: 2px solid var(--bg); box-shadow: 5px 5px 0 var(--ink3), 5px 5px 0 2px var(--paper);
  transition: transform .18s var(--e-out), box-shadow .18s var(--e-out);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink3), 7px 7px 0 2px var(--paper); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink3), 2px 2px 0 2px var(--paper); }
.btn-o { --bg: transparent; --fg: var(--paper); border-color: var(--paper); }

/* ---------- barra superior ---------- */
.bar {
  position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 24px;
  padding: 10px var(--gut); background: rgba(13, 11, 20, .86); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar-logo img { height: 30px; width: auto; }
.bar-nav { margin-left: auto; }
.bar-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.bar-nav a { display: flex; flex-direction: column; padding: 4px 12px; text-decoration: none; font-weight: 750; font-variation-settings: 'wdth' 110; font-size: .95rem; line-height: 1.1; border-left: 1px solid var(--line); }
.bar-nav a .osd { font-size: .95rem; }
.bar-nav a:hover, .bar-nav a[aria-current] { color: var(--y); }
.bar-yt { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: .9rem; padding: 8px 12px; border: 1px solid var(--line); }
.rec { width: 10px; height: 10px; border-radius: 50%; background: var(--r); box-shadow: 0 0 10px var(--r); animation: blink 1.2s steps(2) infinite; flex: none; display: inline-block; }
@keyframes blink { 50% { opacity: .15; } }
.bar-menu { display: none; }
.menu { position: fixed; inset: 0; z-index: 70; background: var(--ink); padding: 84px var(--gut) 32px; overflow: auto; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: clamp(1.6rem, 7vw, 2.4rem); font-weight: 900; font-variation-settings: 'wdth' 80; }
.menu .osd { min-width: 4.2em; font-size: 1.1rem; }
.menu-ep a { color: var(--c); }
.menu-k { margin-bottom: 8px; }

@media (max-width: 860px) {
  .bar { gap: 12px; }
  .bar-nav, .bar-yt { display: none; }
  .bar-logo img { height: 24px; }
  .bar-menu {
    display: inline-flex; margin-left: auto; position: relative; z-index: 80; min-height: 44px; align-items: center;
    background: transparent; color: var(--phos); border: 1px solid var(--phos); font-family: var(--f-osd); font-size: 1.25rem; padding: 4px 14px; cursor: pointer;
  }
  .menu-open .bar { background: var(--ink); }
}

/* ---------- texto cinético ---------- */
.kt { display: inline; }
.kt-v { display: inline; }
.js .kt-ready .w { display: inline-block; overflow: clip; padding-block: .14em; margin-block: -.14em; vertical-align: top; }
.js .kt-ready .wi { display: inline-block; will-change: transform; }
.js .kt-ready .ch { display: inline-block; will-change: transform; }
.js .kt-ready .wd { display: inline-block; white-space: nowrap; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: calc(100svh - 58px); display: grid; align-items: center; gap: clamp(24px, 4vw, 64px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); max-width: var(--max); margin: 0 auto; padding-block: 40px 120px;
}
.hero-h { display: flex; flex-direction: column; font-size: clamp(3.4rem, 8.4vw, 8.6rem); white-space: nowrap; line-height: .82; letter-spacing: -.01em; margin-bottom: 20px; }
.hero-l1, .hero-l2 { display: block; font-variation-settings: 'wdth' 125, 'wght' 900; }
.hero-l2 { color: transparent; -webkit-text-stroke: 2px var(--paper); font-variation-settings: 'wdth' 72, 'wght' 900; }
.hero-l1 .kt-v { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js .hero-l1 .wd, .js .hero-l1 .ch { background: inherit; -webkit-background-clip: text; background-clip: text; }
.hero-s { font-family: var(--f-script); font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: 1.05; color: var(--y); margin-bottom: 16px; max-width: 18ch; transform: rotate(-3deg); transform-origin: left; }
.hero-p { max-width: 44ch; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.hero .l3 { position: absolute; left: var(--gut); bottom: 36px; }

/* TV */
.tv { margin: 0; position: relative; }
.tv-scr {
  position: relative; aspect-ratio: 4 / 3; border-radius: 28px / 34px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 10px #1d1826, 0 0 0 12px #2c2538, 0 0 0 26px #120f18, 0 30px 80px rgba(0,0,0,.6), inset 0 0 80px rgba(0,0,0,.8);
}
.tv-scr::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(130% 100% at 30% 10%, rgba(255,255,255,.12), transparent 40%), repeating-linear-gradient(0deg, rgba(0,0,0,.3) 0 1px, transparent 1px 3px); }
.tv-ch { position: absolute; inset: 0; opacity: 0; visibility: hidden; text-decoration: none; }
.tv-ch.on { opacity: 1; visibility: visible; }
.tv-ch img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.15) contrast(1.05); }
.tv-osd { position: absolute; top: 16px; right: 20px; font-size: 2rem; background: rgba(0,0,0,.72); padding: 0 10px; z-index: 1; }
.tv-l3 { position: absolute; left: 0; bottom: 22px; padding: 8px 16px 8px 22px; background: var(--ink); border-left: 8px solid var(--y); font-size: .95rem; max-width: 90%; }
.tv-l3 b { display: block; font-variation-settings: 'wdth' 115; text-transform: uppercase; font-size: 1.05rem; }
.tv-noise { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.tv-cap { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-inline: 8px; }
.tv-next { background: none; border: 1px solid var(--phos); color: var(--phos); font: inherit; padding: 6px 14px; cursor: pointer; min-height: 44px; }
.tv-next:hover { background: var(--phos); color: var(--ink); text-shadow: none; }

/* Lower third */
.l3 { display: inline-flex; align-items: stretch; max-width: calc(100% - 2 * var(--gut)); font-size: clamp(.9rem, 1vw + .5rem, 1.15rem); }
.l3-k { background: var(--c); color: var(--ink); font-weight: 900; font-variation-settings: 'wdth' 120; padding: 8px 14px; letter-spacing: .04em; white-space: nowrap; display: flex; align-items: center; font-size: .8em; }
.l3-t { background: var(--paper); color: var(--ink); padding: 8px 16px; font-weight: 650; }
.l3-t strong { font-weight: 900; }

/* Ticker */
.ticker { display: flex; align-items: stretch; border-block: 2px solid var(--paper); background: var(--ink2); overflow: hidden; }
.ticker-k { flex: none; background: var(--r); color: #fff; font-weight: 900; font-variation-settings: 'wdth' 125; padding: 12px 18px; font-size: .9rem; letter-spacing: .05em; z-index: 1; }
.ticker-w { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker-t { display: flex; gap: 48px; white-space: nowrap; margin: 0; padding-left: 24px; animation: tick 60s linear infinite; font-weight: 650; font-variation-settings: 'wdth' 90; text-transform: uppercase; }
.ticker-t span::before { content: '●'; color: var(--y); margin-right: 16px; font-size: .7em; vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Encabezados de sección */
.sec-h { max-width: var(--max); margin: 0 auto clamp(32px, 5vw, 64px); }
.sec-h h2 { font-size: clamp(2.3rem, 6vw, 5.6rem); font-variation-settings: 'wdth' 72; letter-spacing: -.005em; max-width: 16ch; }
.sec-h > p:not(.osd) { color: var(--muted); max-width: 52ch; margin-top: 16px; }

/* Parrilla */
.guide { padding-block: clamp(80px, 12vw, 160px); }
.guide-list { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); border-top: 2px solid var(--paper); }
.guide-row a {
  position: relative; display: grid; grid-template-columns: 7em 4.5em minmax(0, 1.2fr) minmax(0, 1fr) 4em; gap: 20px; align-items: center;
  padding: 26px 8px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .25s, color .25s;
}
.guide-title { font-size: clamp(1.8rem, 3.6vw, 3.4rem); font-weight: 900; font-variation-settings: 'wdth' 70; line-height: .95; text-transform: uppercase; transition: font-variation-settings .45s var(--e-out); }
.guide-who { color: var(--muted); font-size: .95rem; }
.guide-who b { display: block; color: var(--paper); font-size: 1.1rem; font-variation-settings: 'wdth' 110; }
.guide-time { font-size: 1.6rem; }
.guide-ch { color: var(--c); text-shadow: none; }
.guide-dur { text-align: right; }
.guide-thumb.vhs { position: absolute; right: 12%; top: 50%; width: 260px; translate: 0 -50%; opacity: 0; scale: .9; rotate: -3deg; pointer-events: none; transition: opacity .25s, scale .35s var(--e-out), rotate .35s var(--e-out); box-shadow: 0 20px 40px rgba(0,0,0,.6); z-index: 2; }
.guide-row a:hover, .guide-row a:focus-visible { background: var(--c); color: var(--ink); }
.guide-row a:hover .guide-title { font-variation-settings: 'wdth' 125; }
.guide-row a:hover .osd, .guide-row a:hover .guide-who, .guide-row a:hover .guide-who b { color: var(--ink); text-shadow: none; }
@media (hover: hover) and (min-width: 1000px) { .guide-row a:hover .guide-thumb { opacity: 1; scale: 1; rotate: 2deg; } }

/* VHS en imágenes */
.vhs { position: relative; overflow: hidden; }
.vhs::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 1px, transparent 1px 3px); }
.vhs img { transition: filter .3s; }
a:hover .vhs img, .vhs:hover img { filter: saturate(1.3) contrast(1.1) drop-shadow(3px 0 0 rgba(229,53,43,.7)) drop-shadow(-3px 0 0 rgba(30,100,200,.7)); animation: jitter .35s steps(3) infinite; }
@keyframes jitter { 0% { transform: translateX(0); } 33% { transform: translateX(-2px) skewX(-1deg); } 66% { transform: translateX(2px); } }

/* Elenco */
.cast { padding-block: clamp(40px, 8vw, 120px); }
.cast-list { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.cast-it a { display: block; text-decoration: none; position: relative; }
.cast-it img { aspect-ratio: 941 / 1670; object-fit: cover; border-radius: 6px; transition: transform .45s var(--e-out); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.cast-it a:hover img { transform: translateY(-10px) rotate(-1.5deg); }
.cast-name { display: block; margin-top: 16px; font-weight: 900; font-size: clamp(1.1rem, 1.6vw, 1.6rem); font-variation-settings: 'wdth' 80; text-transform: uppercase; line-height: 1; border-left: 6px solid var(--c); padding-left: 10px; }
.cast-ref { display: block; padding-left: 16px; margin-top: 6px; color: var(--muted); text-shadow: none; }

/* Promo */
.promo { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(80px, 12vw, 160px); }
.promo-img { border: 2px solid var(--paper); box-shadow: 14px 14px 0 var(--r); }
.promo-txt h2 { font-size: clamp(2.3rem, 5vw, 4.6rem); font-variation-settings: 'wdth' 72; margin-bottom: 20px; }
.promo-txt p:not(.osd) { color: var(--muted); max-width: 42ch; margin-bottom: 28px; }

/* Firma */
.sign { text-align: center; padding-block: clamp(80px, 14vw, 200px); border-top: 1px solid var(--line); }
.sign-h { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .2em .35em; font-size: clamp(2.2rem, 8.5vw, 9rem); font-variation-settings: 'wdth' 125; line-height: .9; margin-bottom: 20px; }
.sign-x { font-family: var(--f-script); color: var(--y); font-weight: 400; font-size: .8em; }
.sign-s { font-family: var(--f-script); color: var(--y); font-size: clamp(1.5rem, 2.6vw, 2.4rem); margin-bottom: 36px; }

/* ---------- páginas internas ---------- */
.page-h { max-width: var(--max); margin: 0 auto; padding-block: clamp(56px, 10vw, 140px) clamp(40px, 6vw, 80px); }
.page-h h1 { font-size: clamp(2.6rem, 10vw, 11rem); font-variation-settings: 'wdth' 125; line-height: .85; margin-bottom: 28px; }
.page-h .l3 { margin-top: 24px; }
.season-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); padding-bottom: clamp(80px, 10vw, 140px); }
.card-a { display: block; text-decoration: none; }
.card-img { border: 2px solid var(--paper); box-shadow: 10px 10px 0 var(--c); margin-bottom: 20px; transition: box-shadow .3s var(--e-out), transform .3s var(--e-out); }
.card-a:hover .card-img { transform: translate(-4px, -4px); box-shadow: 14px 14px 0 var(--c); }
.card-k { margin-bottom: 6px; }
.card-t { font-size: clamp(1.8rem, 3.4vw, 3rem); font-variation-settings: 'wdth' 75; text-transform: uppercase; }
.card-s { color: var(--muted); margin-top: 8px; }
.refs { padding-block: clamp(64px, 10vw, 140px); border-top: 1px solid var(--line); }
.refs-list { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.refs-it { padding: 24px 0; border-top: 2px solid var(--c); }
.refs-it dt a { font-weight: 900; font-size: 1.5rem; font-variation-settings: 'wdth' 90; text-decoration: none; color: var(--c); }
.refs-it dd { margin: 8px 0 0; color: var(--paper); max-width: 46ch; }

/* Episodio */
.crumbs { max-width: var(--max); margin: 0 auto; padding: 20px var(--gut) 0; font-size: .85rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: '▸'; margin-right: 8px; color: var(--c); }
.ep-hero { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding-block: clamp(32px, 6vw, 72px) clamp(96px, 10vw, 140px); }
.ep-script { font-family: var(--f-script); color: var(--c); font-size: clamp(3.2rem, 9vw, 8.5rem); line-height: .9; margin: 0 0 -.12em -.04em; transform: rotate(-4deg); transform-origin: left bottom; text-shadow: 4px 4px 0 var(--ink), 6px 6px 0 rgba(0,0,0,.5); position: relative; z-index: 1; }
.ep-h { font-size: clamp(2.2rem, 5.4vw, 5rem); font-variation-settings: 'wdth' 70; text-transform: uppercase; max-width: 14ch; }
.ep-tag { font-size: clamp(1.1rem, 1.3vw + .6rem, 1.5rem); color: var(--muted); margin-top: 20px; max-width: 32ch; }
.ep-fig { margin: 0; justify-self: center; max-width: 380px; width: 100%; }
.ep-fig img { border-radius: 8px; box-shadow: 0 0 0 2px var(--c), 18px 18px 0 var(--ink3), 0 30px 60px rgba(0,0,0,.6); rotate: 2deg; }
.ep-hero .l3 { position: absolute; left: var(--gut); bottom: 32px; }

.ep-video { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid var(--line); }
.crt { position: relative; display: block; border-radius: 22px / 28px; overflow: hidden; box-shadow: 0 0 0 10px #1d1826, 0 0 0 12px #2c2538, 0 30px 60px rgba(0,0,0,.6); }
.crt::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 100% at 30% 0%, rgba(255,255,255,.1), transparent 40%), repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px); pointer-events: none; }
.crt img { width: 100%; transition: transform .6s var(--e-out), filter .3s; }
.crt:hover img { transform: scale(1.03); filter: saturate(1.3); }
.crt-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 88px; height: 88px; display: grid; place-items: center; background: var(--c); color: var(--ink); font-size: 2rem; border-radius: 50%; box-shadow: 0 0 0 8px rgba(13,11,20,.5); transition: scale .25s var(--e-out); z-index: 1; }
.crt:hover .crt-play { scale: 1.12; }
.crt-osd { position: absolute; top: 16px; left: 22px; font-size: 1.6rem; z-index: 1; }
.ep-meta h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-variation-settings: 'wdth' 72; text-transform: uppercase; margin-bottom: 20px; }
.ep-meta dl { margin: 0 0 28px; border-top: 1px solid var(--line); }
.ep-meta dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ep-meta dt { color: var(--muted); }
.ep-meta dd { margin: 0; font-weight: 700; text-align: right; }
.note { color: var(--muted); font-size: .85rem; margin-top: 20px; max-width: 40ch; }

.dossier { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); padding-block: clamp(56px, 8vw, 112px); }
.dos-col h2 { font-size: clamp(2rem, 4vw, 3.6rem); font-variation-settings: 'wdth' 72; text-transform: uppercase; margin-bottom: 24px; }
.dos-col > p:not(.osd) { max-width: 58ch; }
.dos-ref { background: var(--paper); color: var(--ink); padding: clamp(24px, 3.5vw, 48px); box-shadow: 12px 12px 0 var(--c); position: relative; }
.dos-ref::before { content: 'CONFIDENCIAL'; position: absolute; top: 18px; right: -8px; rotate: 8deg; font-weight: 900; font-variation-settings: 'wdth' 125; font-size: .8rem; color: var(--r); border: 2px solid var(--r); padding: 4px 10px; letter-spacing: .1em; }
.dos-ref .osd { color: #1c6b31; text-shadow: none; }
.dos-ref strong { background: linear-gradient(transparent 60%, color-mix(in srgb, var(--c) 70%, transparent) 60%); }
.facts { margin: 24px 0; border-top: 2px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 11em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(13,11,20,.2); font-size: .95rem; }
.facts dt { font-weight: 800; font-variation-settings: 'wdth' 110; text-transform: uppercase; font-size: .8rem; letter-spacing: .04em; padding-top: 3px; }
.facts dd { margin: 0; }
.srcs { font-size: .85rem; margin: 0; }
.srcs a { color: #1d4fa3; }

.extra { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid var(--line); }
.extra-cover { width: 100%; max-width: 520px; box-shadow: 0 30px 60px rgba(0,0,0,.6); rotate: -2deg; }
.extra h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); font-variation-settings: 'wdth' 80; text-transform: uppercase; }
.extra-by { font-family: var(--f-script); color: var(--c); font-size: 1.8rem; margin: 6px 0 16px; }
.extra-txt > p:not(.osd):not(.extra-by) { color: var(--muted); max-width: 48ch; }
.deck { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 14px; border: 1px solid var(--line); background: var(--ink2); max-width: 520px; }
.deck-b { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--c); color: var(--ink); font-size: 1.2rem; cursor: pointer; }
.deck-i { flex: 1; min-width: 0; }
.deck-i .osd { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 8px; }
.deck-bar { display: block; height: 6px; background: var(--ink3); }
.deck-bar i { display: block; height: 100%; width: 0; background: var(--rainbow); background-size: 520px 100%; }

.ep-fig2 { max-width: var(--max); margin: 0 auto; padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.ep-fig2 .osd { margin: 0; }
.ep-fig2-t { margin: 0; font-size: clamp(1.1rem, 1.4vw + .5rem, 1.6rem); font-weight: 650; max-width: 50ch; }

.faq { max-width: 900px; margin: 0 auto; padding-block: clamp(40px, 6vw, 80px); }
.faq h2 { font-weight: 400; font-size: 1.4rem; margin-bottom: 16px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 750; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--c); font-weight: 900; }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); max-width: 64ch; }

.surf { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--paper); }
.surf-a { display: flex; flex-direction: column; gap: 6px; padding: clamp(28px, 5vw, 64px) var(--gut); text-decoration: none; transition: background .3s, color .3s; }
.surf-a b { font-size: clamp(1.6rem, 4vw, 3.6rem); font-variation-settings: 'wdth' 75; text-transform: uppercase; line-height: .95; }
.surf-n { text-align: right; align-items: flex-end; border-left: 1px solid var(--line); }
.surf-a:hover { background: var(--c); color: var(--ink); }
.surf-a:hover .osd { color: var(--ink); text-shadow: none; }

/* Merch */
.status { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); background: var(--ink2); max-width: 64ch; font-size: .95rem; }
.shelf { padding-block: clamp(48px, 8vw, 112px); border-top: 1px solid var(--line); }
.shelf-grid { max-width: var(--max); margin: 0 auto; display: grid; gap: clamp(16px, 2.5vw, 32px); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-inline: auto; }
.prod { display: flex; flex-direction: column; }
.prod-img { background: var(--ink2); margin-bottom: 16px; overflow: hidden; border-bottom: 4px solid var(--c, var(--y)); }
.prod-img { aspect-ratio: 1; }
#figuras .prod-img { aspect-ratio: 941 / 1670; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--e-out); }
.page-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.page-split .ep-fig { max-width: none; margin: 0; }
@media (max-width: 760px) { .page-split { grid-template-columns: 1fr; } }
.prod:hover .prod-img img { transform: scale(1.04); }
.prod-k { margin-bottom: 4px; font-size: 1rem; }
.prod h3 { font-size: 1.25rem; font-variation-settings: 'wdth' 90; line-height: 1.1; margin-bottom: 8px; }
.prod p:not(.osd) { color: var(--muted); font-size: .92rem; margin-bottom: 10px; }
.prod-p { margin-top: auto; }
.prod-p b { color: var(--paper); font-size: 1.4rem; font-variation-settings: 'wdth' 110; margin-right: 6px; }

/* Créditos */
.roll { max-width: var(--max); margin: 0 auto; text-align: center; padding-block: clamp(64px, 12vw, 180px); }
.roll-names { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(16px, 4vw, 64px); margin: 24px 0 32px; }
.roll-n { font-size: clamp(2.2rem, 8.5vw, 9rem); font-weight: 900; font-variation-settings: 'wdth' 125; line-height: .9; margin: 0 0 10px; }
.roll-x { font-family: var(--f-script); color: var(--y); font-size: clamp(3rem, 7vw, 6rem); }
.roll-s { font-family: var(--f-script); color: var(--y); font-size: clamp(1.6rem, 3vw, 2.8rem); }
.roll .lead { margin: 24px auto 0; color: var(--muted); }
.acta { padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid var(--line); }
.acta-list { list-style: none; max-width: var(--max); margin: 0 auto 48px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.acta-list li { border-top: 2px solid var(--paper); padding-top: 16px; }
.acta-list b { display: block; font-size: 2.6rem; font-weight: 400; margin-bottom: 8px; }
.acta-list p { color: var(--muted); }

/* 404 */
.nosig { min-height: 80svh; display: grid; place-content: center; text-align: center; gap: 16px; position: relative; }
.nosig h1 { font-size: clamp(2.6rem, 10vw, 10rem); font-variation-settings: 'wdth' 125; }
.nosig .btn { justify-self: center; }
.nosig-bars, .foot-bars { display: flex; height: 18px; }
.nosig-bars i, .foot-bars i { flex: 1; }
.nosig-bars { position: absolute; inset: 0; height: auto; z-index: -1; opacity: .16; }
.nosig-bars i:nth-child(1), .foot-bars i:nth-child(1) { background: #c0c0c0; }
.nosig-bars i:nth-child(2), .foot-bars i:nth-child(2) { background: #c0c000; }
.nosig-bars i:nth-child(3), .foot-bars i:nth-child(3) { background: #00c0c0; }
.nosig-bars i:nth-child(4), .foot-bars i:nth-child(4) { background: #00c000; }
.nosig-bars i:nth-child(5), .foot-bars i:nth-child(5) { background: #c000c0; }
.nosig-bars i:nth-child(6), .foot-bars i:nth-child(6) { background: #c00000; }
.nosig-bars i:nth-child(7), .foot-bars i:nth-child(7) { background: #0000c0; }

/* Pie */
.foot { border-top: 2px solid var(--paper); }
.foot-in { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gut) 96px; }
.foot-big { font-size: clamp(2.4rem, 7vw, 6.4rem); font-weight: 900; font-variation-settings: 'wdth' 72; text-transform: uppercase; line-height: .9; margin-bottom: 20px; }
.foot-s { color: var(--muted); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 28px 0; }
.foot-nav a { text-decoration: none; font-weight: 700; padding: 6px 0; }
.foot-nav a:hover { color: var(--y); }
.foot-legal { font-size: .8rem; color: var(--muted); max-width: 80ch; }
.bug { display: none !important; position: fixed; right: 18px; bottom: 16px; z-index: 50; font-weight: 900; font-variation-settings: 'wdth' 125; font-size: 1.3rem; color: rgba(244,236,219,.5); pointer-events: none; line-height: 1; text-align: right; mix-blend-mode: screen; }
.bug span { display: block; font-family: var(--f-osd); font-weight: 400; font-size: .8rem; color: var(--r); letter-spacing: .1em; }

/* Zapping (transición entre páginas) */
.zap { position: fixed; inset: 0; z-index: 150; pointer-events: none; visibility: hidden; background: #000; }
.zap canvas { width: 100%; height: 100%; image-rendering: pixelated; opacity: .9; }
.zap-ch { position: absolute; top: 28px; right: 36px; font-size: clamp(3rem, 8vw, 6rem); margin: 0; }
.zapping .zap { visibility: visible; }

.kt-wait main [data-kt], .kt-wait [data-l3], .kt-wait .foot-big { visibility: hidden; }
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 28px 120px; }
  .hero .tv { max-width: 640px; }
  .cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acta-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-row a { grid-template-columns: 5.2em minmax(0, 1fr) 3.4em; grid-template-areas: 'time title dur' 'ch who who'; row-gap: 6px; }
  .guide-time { grid-area: time; font-size: 1.3rem; } .guide-ch { grid-area: ch; } .guide-title { grid-area: title; } .guide-who { grid-area: who; } .guide-dur { grid-area: dur; }
  .guide-thumb { display: none; }
}
@media (max-width: 760px) {
  .promo, .ep-hero, .ep-video, .dossier, .extra, .season-grid, .refs-list { grid-template-columns: 1fr; }
  .ep-fig { max-width: 260px; justify-self: start; }
  .ep-hero { padding-bottom: 150px; }
  .ep-fig2 { grid-template-columns: 1fr; gap: 16px; }
  .surf-a b { font-size: 1.4rem; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .hero-l2 { -webkit-text-stroke-width: 1.5px; }
  .tv-osd { font-size: 1.5rem; top: 10px; right: 14px; }
  .tv-l3 { font-size: .8rem; bottom: 12px; }
  .tv-scr { box-shadow: 0 0 0 6px #1d1826, 0 0 0 8px #2c2538, 0 0 0 16px #120f18, 0 20px 50px rgba(0,0,0,.6); }
  .tv-cap { margin-top: 28px; }
  .bug { display: none; }
  .l3 { flex-direction: column; } .l3-k { align-self: flex-start; }
  .dos-ref::before { right: 8px; top: -12px; }
}
@media (max-width: 420px) {
  .g4, .cast-list { grid-template-columns: 1fr 1fr; gap: 12px; }
  .acta-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker-t { animation: none; flex-wrap: wrap; white-space: normal; gap: 8px 32px; }
}

/* ---------- retratos, pendientes, temporadas futuras, nosotros ---------- */
.cast-img, .ep-portrait { display: block; }
.cast-img img, .cast-img .ph { aspect-ratio: 9 / 16; width: 100%; object-fit: cover; border-radius: 4px; box-shadow: 0 16px 40px rgba(0,0,0,.5); transition: transform .45s var(--e-out), filter .3s; filter: sepia(.08) contrast(1.03); }
.cast-it a:hover .cast-img img { transform: translateY(-10px) rotate(-1.2deg); filter: none; }
.ep-portrait img, .ep-portrait .ph { aspect-ratio: 9 / 16; width: 100%; object-fit: cover; }
.ep-portrait img { border-radius: 2px; box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px rgba(0,0,0,.2), 22px 22px 0 10px var(--c), 0 40px 70px rgba(0,0,0,.6); rotate: 2deg; }
.ph { position: relative; display: grid; place-content: center; gap: 8px; text-align: center; background: var(--ink2); border: 1px solid var(--line); overflow: hidden; padding: 16px; }
.ph-bars { position: absolute; inset: 0 0 auto 0; height: 38%; display: flex; opacity: .5; }
.ph-bars i { flex: 1; }
.ph-bars i:nth-child(1) { background: #c0c0c0; } .ph-bars i:nth-child(2) { background: #c0c000; } .ph-bars i:nth-child(3) { background: #00c0c0; } .ph-bars i:nth-child(4) { background: #00c000; } .ph-bars i:nth-child(5) { background: #c000c0; } .ph-bars i:nth-child(6) { background: #c00000; } .ph-bars i:nth-child(7) { background: #0000c0; }
.ph .osd, .ph b { position: relative; }
.ph b { font-variation-settings: 'wdth' 80; text-transform: uppercase; font-size: 1.2rem; }
.soon { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.soon-it { border: 1px dashed var(--line); padding: 20px; display: grid; gap: 6px; background: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(244,236,219,.025) 10px 20px); }
.soon-it b { font-size: clamp(1.4rem, 2.4vw, 2.2rem); font-variation-settings: 'wdth' 75; text-transform: uppercase; color: var(--muted); line-height: 1; }
.soon-s { color: var(--r); text-shadow: none; animation: blink 1.6s steps(2) infinite; }
.guide-soon { max-width: var(--max); margin: 32px auto 0; }
.dos-note { margin: 16px 0 0; font-size: .8rem; color: #5b5548; font-style: italic; }
.about { padding-block: clamp(48px, 8vw, 112px); border-top: 1px solid var(--line); }
.about-txt { max-width: 46ch; margin: 0 auto; font-size: clamp(1.15rem, 1.1vw + .7rem, 1.6rem); line-height: 1.4; }
.about-txt p { margin-bottom: 1.1em; }
.about-end { font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 900; font-variation-settings: 'wdth' 125; line-height: .95; color: var(--y); margin-top: .6em; }
@media (max-width: 760px) { .soon { grid-template-columns: 1fr; } .ep-portrait img { box-shadow: 0 0 0 6px var(--paper), 14px 14px 0 6px var(--c), 0 30px 50px rgba(0,0,0,.6); } }
@media (max-width: 760px) { .roll-names { flex-direction: column; gap: 8px; } .roll-x { font-size: 2.6rem; line-height: 1; } .sign-h { flex-direction: column; gap: .05em; } }

/* ---------- INTRO: 20 s de transmisión al ritmo del tema ---------- */
.intro { display: none; position: fixed; inset: 0; z-index: 140; background: #000; color: var(--paper); }
.intro-on .intro { display: block; }
.intro-on body { overflow: hidden; }
.intro-on .bar, .intro-on .bug { visibility: hidden; }
.in-scr { position: absolute; inset: 0; overflow: hidden; background: #07060c; }
.in-scr::after { content: ''; position: absolute; inset: 0; z-index: 30; pointer-events: none; background: radial-gradient(120% 100% at 50% 50%, transparent 58%, rgba(0,0,0,.55) 100%), repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 1px, transparent 1px 3px); }
.in-s { position: absolute; inset: 0; visibility: hidden; overflow: hidden; }
.in-w { display: inline-block; white-space: nowrap; }
.in-w i, .end-house i { font-style: normal; display: inline-block; }

/* compuerta: carta de ajuste + botón de encendido */
.in-gate { position: absolute; inset: 0; }
.in-bars { position: absolute; inset: 0 0 25% 0; display: flex; }
.in-bars2 { position: absolute; inset: 75% 0 0 0; display: flex; }
.in-bars i, .in-bars2 i { flex: 1; }
.in-bars i:nth-child(1) { background: #c0c0c0; } .in-bars i:nth-child(2) { background: #c0c000; } .in-bars i:nth-child(3) { background: #00c0c0; } .in-bars i:nth-child(4) { background: #00c000; } .in-bars i:nth-child(5) { background: #c000c0; } .in-bars i:nth-child(6) { background: #c00000; } .in-bars i:nth-child(7) { background: #0000c0; }
.in-bars2 i:nth-child(odd) { background: #0a0a14; } .in-bars2 i:nth-child(even) { background: #e8e8e8; } .in-bars2 i:nth-child(4) { background: #1a0060; }
.in-card { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; background: #0d0b14; border: 3px solid var(--paper); padding: clamp(18px, 3vw, 36px) clamp(18px, 4vw, 52px); text-align: center; width: min(90vw, 620px); box-shadow: 12px 12px 0 rgba(0,0,0,.5); }
.in-card .osd { margin: 0; }
.in-on { display: inline-flex; align-items: center; gap: 16px; margin: 20px 0 10px; padding: 16px 28px; min-height: 64px; background: var(--y); color: var(--ink); border: 0; font-family: var(--f); font-weight: 900; font-variation-settings: 'wdth' 120; font-size: clamp(1.1rem, 2.6vw, 1.6rem); letter-spacing: .04em; cursor: pointer; box-shadow: 6px 6px 0 var(--r); transition: transform .15s var(--e-out), box-shadow .15s var(--e-out); animation: pulse 1.2s ease-in-out infinite; }
.in-on:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--r); }
.in-on:focus-visible { outline: 3px solid var(--paper); outline-offset: 4px; }
@keyframes pulse { 50% { box-shadow: 6px 6px 0 var(--r), 0 0 0 10px rgba(247,208,44,.18); } }
.in-hint { color: var(--muted) !important; text-shadow: none !important; }
.in-alt-btns { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.in-alt-btns button { background: none; border: 0; color: var(--paper); text-decoration: underline; font: inherit; cursor: pointer; padding: 6px; min-height: 36px; }

/* ícono de TV con trazo */
.tvi { width: 100%; height: auto; display: block; overflow: visible; }
.tvi path, .tvi rect { fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.tvi-btn { width: 34px; color: var(--ink); }
.tvi-btn path, .tvi-btn rect { stroke-width: 3; }

/* 01 ignición */
.in-ign { background: radial-gradient(70% 70% at 50% 50%, #2b1450 0%, #0d0b14 70%); }
.ign-stack { position: absolute; left: 50%; top: 50%; width: min(46vw, 440px); aspect-ratio: 200 / 170; translate: -50% -50%; }
.ign-l { position: absolute; inset: 0; color: var(--c); filter: drop-shadow(0 0 10px var(--c)); }
.ign-l .tvi path, .ign-l .tvi rect { stroke-width: 4; }
.ign-l:nth-child(5) { color: #fff; }
.ign-logo { position: absolute; left: 15%; width: 70%; top: 49%; translate: 0 -50%; }
.ign-star { position: absolute; right: -4%; top: 14%; font-size: clamp(2rem, 4vw, 3.4rem); color: #fff; text-shadow: 0 0 18px #fff, 0 0 40px var(--y); }

/* 02 palabras */
.in-word { background: var(--bg); color: var(--fg, var(--paper)); }
.wd-t, .wd-echo { position: absolute; left: 6vw; right: 4vw; top: 50%; translate: 0 -50%; margin: 0; font-family: var(--f-osd); font-size: clamp(4.4rem, 15vw, 17rem); line-height: .8; letter-spacing: -.02em; white-space: nowrap; }
.wd-echo { color: transparent; -webkit-text-stroke: 2px currentColor; opacity: .45; }
.in-word .wd-echo { -webkit-text-stroke-color: var(--fg, var(--paper)); }
.wd-last .wd-t .in-w i { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wd-hud { position: absolute; left: clamp(16px, 3vw, 40px); bottom: clamp(56px, 9vh, 90px); margin: 0; color: var(--fg, var(--phos)) !important; text-shadow: none !important; display: grid; gap: 4px; font-size: 1.3rem; }
.wd-hud span { opacity: .7; font-size: 1rem; }
.wd-tv { position: absolute; right: clamp(16px, 4vw, 64px); top: clamp(60px, 10vh, 100px); width: clamp(150px, 22vw, 340px); aspect-ratio: 16 / 10; border: 6px solid var(--fg, var(--paper)); border-radius: 18px; overflow: hidden; background: #000; box-shadow: 10px 10px 0 rgba(0,0,0,.35); rotate: 3deg; }
.wd-tv .in-v { width: 100%; height: 100%; object-fit: cover; }
.wd-tv .osd { position: absolute; top: 6px; right: 10px; font-size: 1.2rem; }

/* 03 túnel */
.in-tun { background: #0d0b14; perspective: 520px; perspective-origin: 50% 50%; }
.tn-cam { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; }
.tn-wrap { position: absolute; inset: 0; transform-style: preserve-3d; }
.tn-scr { position: absolute; width: 420px; height: 262px; left: -210px; top: -131px; border-radius: 14px; overflow: hidden; border: 3px solid var(--paper); box-shadow: 0 0 24px rgba(255,95,162,.5); }
.tn-scr img { width: 100%; height: 100%; object-fit: cover; }
.tn-scr:nth-child(5n+1) { border-color: var(--r); } .tn-scr:nth-child(5n+2) { border-color: var(--o); } .tn-scr:nth-child(5n+3) { border-color: var(--y); } .tn-scr:nth-child(5n+4) { border-color: var(--g); } .tn-scr:nth-child(5n) { border-color: var(--b); }
.tn-core { position: absolute; left: 50%; top: 50%; width: 22vw; aspect-ratio: 16 / 10; translate: -50% -50%; border: 4px solid #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 0 60px #ff5fa2, 0 0 120px rgba(247,208,44,.5); }
.tn-core img { width: 100%; height: 100%; object-fit: cover; }

/* 04 canales */
.in-shot { position: absolute; inset: 0; visibility: hidden; overflow: hidden; background: #000; }
.in-shot .in-v { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; }
.in-ch { position: absolute; top: clamp(44px, 7vh, 70px); right: clamp(16px, 3.5vw, 44px); z-index: 4; margin: 0; font-size: clamp(2.4rem, 6vw, 5rem); background: rgba(0,0,0,.55); padding: 0 12px; }
.in-t { position: absolute; left: 0; right: 0; bottom: clamp(100px, 17vh, 180px); z-index: 4; margin: 0; padding: 0 clamp(12px, 3vw, 40px); text-align: center; font-weight: 900; font-variation-settings: 'wdth' 108; font-size: clamp(2.2rem, 7.4vw, 9rem); line-height: .85; color: var(--paper); text-shadow: 6px 6px 0 var(--c), 12px 12px 0 rgba(0,0,0,.6); white-space: nowrap; }
.in-alt { color: #ff2a2a; text-shadow: 6px 6px 0 #000, -3px 0 0 #00e1ff; visibility: hidden; font-size: clamp(3.4rem, 15vw, 15rem); bottom: 50%; translate: 0 50%; }
.in-n { position: absolute; left: clamp(16px, 4vw, 56px); bottom: clamp(56px, 9vh, 90px); z-index: 4; margin: 0; display: flex; font-size: clamp(.9rem, 1.4vw, 1.3rem); }
.in-n-k { background: var(--c); color: var(--ink); font-weight: 900; font-variation-settings: 'wdth' 120; padding: 8px 14px; letter-spacing: .05em; font-size: .8em; display: flex; align-items: center; }
.in-n-t { background: var(--paper); color: var(--ink); font-weight: 800; padding: 8px 16px; font-variation-settings: 'wdth' 110; text-transform: uppercase; }
.in-intr { position: absolute; z-index: 12; right: 6vw; top: 18vh; width: clamp(160px, 26vw, 380px); aspect-ratio: 16 / 10; border: 6px solid var(--y); border-radius: 16px; overflow: hidden; background: #000; visibility: hidden; box-shadow: 14px 14px 0 rgba(0,0,0,.5); }
.in-intr .in-v { width: 100%; height: 100%; object-fit: cover; }
.in-intr .osd { position: absolute; left: 0; right: 0; bottom: 0; background: var(--r); color: #fff; text-shadow: none; text-align: center; font-size: 1.1rem; }

/* 05 parrilla */
.in-grid { background: #0d0b14; background-image: linear-gradient(rgba(201,179,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(201,179,255,.12) 1px, transparent 1px); background-size: 48px 48px; }
.gr { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; gap: clamp(4px, .8vw, 10px); width: min(84vmin, 760px); aspect-ratio: 1; visibility: hidden; }
.gr-2 { grid-template-columns: repeat(2, 1fr); } .gr-4 { grid-template-columns: repeat(4, 1fr); } .gr-8 { grid-template-columns: repeat(8, 1fr); gap: 4px; }
.gr-t { border-radius: 12%; overflow: hidden; border: 2px solid var(--y); box-shadow: 0 0 10px rgba(255,95,162,.5); }
.gr-t:nth-child(5n+1) { border-color: var(--r); } .gr-t:nth-child(5n+2) { border-color: var(--o); } .gr-t:nth-child(5n+4) { border-color: var(--g); } .gr-t:nth-child(5n) { border-color: var(--b); }
.gr-t img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.gr-n { position: absolute; left: clamp(16px, 3vw, 40px); bottom: clamp(56px, 9vh, 90px); margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); }

/* 06 cierre */
.in-end { background: #12082a; }
.end-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.end-floor { position: absolute; left: -50%; right: -50%; bottom: 0; height: 34%; background-image: linear-gradient(rgba(0,229,255,.55) 2px, transparent 2px), linear-gradient(90deg, rgba(255,95,162,.6) 2px, transparent 2px); background-size: 80px 60px; transform: perspective(300px) rotateX(62deg); transform-origin: 50% 100%; mix-blend-mode: screen; opacity: .6; }
.end-lock { position: absolute; left: 50%; top: 46%; translate: -50% -50%; width: min(86vw, 860px); display: grid; justify-items: center; gap: clamp(10px, 2vh, 22px); text-align: center; }
.tvi-end { width: clamp(70px, 9vw, 120px); color: #fff; filter: drop-shadow(0 0 12px #ff5fa2); }
.end-logo { width: 100%; box-shadow: 0 0 40px rgba(247,208,44,.45), 10px 10px 0 rgba(0,0,0,.4); }
.end-house { margin: 0; font-weight: 900; font-variation-settings: 'wdth' 118; font-size: clamp(1.1rem, 3.2vw, 2.6rem); letter-spacing: .06em; color: #fff; text-shadow: 0 0 18px #ff5fa2, 3px 3px 0 #000; }

/* efectos comunes */
.in-flash { position: absolute; inset: 0; z-index: 25; pointer-events: none; opacity: 0; background: radial-gradient(40% 8% at 50% 50%, #fff 0%, #ff9ad1 35%, transparent 70%), radial-gradient(18% 18% at 50% 50%, #fff, transparent 70%); }
.in-noise { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; z-index: 24; opacity: 0; pointer-events: none; }
.hud { position: absolute; inset: 0; z-index: 28; pointer-events: none; visibility: hidden; }
.hb { position: absolute; width: 28px; height: 28px; border: 2px solid rgba(255,255,255,.7); }
.hb.tl { left: 16px; top: 16px; border-right: 0; border-bottom: 0; } .hb.tr { right: 16px; top: 16px; border-left: 0; border-bottom: 0; } .hb.bl { left: 16px; bottom: 16px; border-right: 0; border-top: 0; } .hb.br { right: 16px; bottom: 16px; border-left: 0; border-top: 0; }
.hud .osd { position: absolute; margin: 0; font-size: 1.15rem; color: #fff; text-shadow: 0 0 6px rgba(0,0,0,.8); }
.hud-rec { left: 54px; top: 18px; display: flex; gap: 8px; align-items: center; }
.hud-ch { right: 54px; top: 18px; }
.hud-tc { left: 54px; bottom: 20px; }
.hud-sc { right: 54px; bottom: 20px; }
.in-skip { position: absolute; right: 16px; bottom: 52px; z-index: 32; min-height: 44px; padding: 6px 16px; background: rgba(0,0,0,.7); color: var(--phos); border: 1px solid var(--phos); font-family: var(--f-osd); font-size: 1.3rem; cursor: pointer; display: none; }
.in-skip:hover, .in-skip:focus-visible { background: var(--phos); color: #000; }
.in-playing .in-skip { display: block; }
.rgb { filter: drop-shadow(5px 0 0 rgba(255,0,60,.75)) drop-shadow(-5px 0 0 rgba(0,220,255,.75)); }
.tv-cap { gap: 12px; flex-wrap: wrap; }
.tv-replay { margin-right: auto; }
@media (max-width: 760px) {
  .wd-t, .wd-echo { font-size: 21vw; white-space: normal; left: 5vw; right: 5vw; top: 46%; }
  .wd-tv { top: auto; bottom: 22vh; right: 5vw; width: 46vw; }
  .ign-stack { width: 72vw; }
  .tn-wrap { transform: scale(.55); }
  .tn-core { width: 54vw; }
  .in-t { bottom: 22vh; white-space: normal; font-size: 13vw; font-variation-settings: 'wdth' 85; }
  .in-ch { font-size: 2rem; }
  .in-intr { width: 52vw; right: 4vw; top: 14vh; }
  .hud-sc { display: none; }
}

/* ---------- consolita ---------- */
.cons { position: fixed; right: 16px; bottom: 16px; z-index: 55; display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; background: rgba(13,11,20,.92); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.5); backdrop-filter: blur(6px); max-width: min(420px, calc(100vw - 32px)); }
.intro-on .cons { visibility: hidden; }
.cons-play { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--y); color: var(--ink); font-size: 1rem; cursor: pointer; }
.cons-reel { flex: none; display: flex; gap: 6px; padding: 6px 8px; background: #241c33; border-radius: 6px; }
.cons-reel i { width: 16px; height: 16px; border-radius: 50%; border: 3px dotted var(--paper); }
.cons.on .cons-reel i { animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cons-info { min-width: 0; flex: 1; }
.cons-t { margin: 0; font-weight: 800; font-size: .9rem; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cons-a { margin: 0 0 4px; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cons-bar { display: block; height: 3px; background: var(--ink3); }
.cons-bar i { display: block; height: 100%; width: 0; background: var(--rainbow); background-size: 300px 100%; }
.cons-b { flex: none; width: 36px; height: 36px; background: none; border: 1px solid var(--line); color: var(--paper); cursor: pointer; font-size: .95rem; }
.cons-b:hover, .cons-play:hover { filter: brightness(1.15); }
.deck-s { display: block; color: var(--muted); text-shadow: none; }
@media (max-width: 760px) { .cons { left: 8px; right: 8px; bottom: 8px; max-width: none; } .cons-reel { display: none; } body { padding-bottom: 68px; } }

/* hero: la casa */
.hero-house { margin: 0 0 14px; font-weight: 900; font-variation-settings: 'wdth' 118; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(1rem, 1.5vw, 1.35rem); display: inline-block; padding-bottom: 6px; border-bottom: 6px solid transparent; border-image: var(--rainbow) 1; }
.hero-motto { margin: 18px 0 0; font-weight: 900; font-variation-settings: 'wdth' 80; text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 3.2rem); line-height: .95; color: var(--y); }

/* ---------- álbum de retratos ---------- */
.album { padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid var(--line); }
.film { list-style: none; margin: 0 auto; max-width: var(--max); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 26px 14px; background: #17110b; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.film::before, .film::after { content: ''; position: absolute; left: 0; right: 0; height: 12px; background: repeating-linear-gradient(90deg, transparent 0 10px, #e9dcc0 10px 22px, transparent 22px 34px); opacity: .85; }
.film::before { top: 7px; } .film::after { bottom: 7px; }
.film-it { padding: 0 6px; }
.film-f { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.film-f img { aspect-ratio: 9 / 16; width: 100%; object-fit: cover; filter: sepia(.12) contrast(1.04); transition: filter .3s, transform .45s var(--e-out); }
.film-f:hover img, .film-f:focus-visible img { filter: none; transform: scale(1.02); }
.film-n { position: absolute; left: 6px; bottom: 6px; color: #f2a44a; text-shadow: none; font-size: 1rem; }
.film-c { margin: 12px 2px 0; font-size: .85rem; color: #d9cbb0; line-height: 1.3; }
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5,4,8,.96); color: var(--paper); }
.lb::backdrop { background: rgba(0,0,0,.8); }
.lb[open] { display: grid; place-items: center; }
.lb-fig { margin: 0; position: relative; height: min(86dvh, 1400px); aspect-ratio: 9 / 16; max-width: 92vw; }
.lb-fig img { width: 100%; height: 100%; object-fit: cover; box-shadow: 0 0 0 8px var(--paper), 0 40px 80px rgba(0,0,0,.7); }
.lb-noise { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; opacity: 0; pointer-events: none; }
.lb-fig figcaption { position: absolute; left: 0; right: 0; bottom: -52px; text-align: center; font-size: .95rem; }
.lb-b { position: fixed; min-height: 48px; padding: 8px 16px; background: rgba(0,0,0,.6); color: var(--phos); border: 1px solid var(--phos); font-family: var(--f-osd); font-size: 1.4rem; cursor: pointer; }
.lb-b:hover, .lb-b:focus-visible { background: var(--phos); color: #000; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; } .lb-next { right: 16px; top: 50%; translate: 0 -50%; } .lb-x { right: 16px; top: 16px; }
@media (max-width: 760px) {
  .film { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .lb-fig { height: auto; width: 86vw; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; translate: none; }
  .lb-fig figcaption { bottom: -44px; font-size: .85rem; }
}

.in-shot .in-por { object-position: 50% 28%; }

/* JODAGRÁFICA siempre pegado: una sola palabra en el hero */
.hero-h { flex-direction: row; flex-wrap: nowrap; font-size: clamp(2.3rem, 5.6vw, 6.4rem); line-height: .9; }
.hero-word { display: inline-flex; white-space: nowrap; }
.hero-l1, .hero-l2 { display: inline-block; font-variation-settings: 'wdth' 82, 'wght' 900; }
.hero-l2 { -webkit-text-stroke-width: 2px; }
@media (max-width: 1000px) { .hero-h { font-size: 11.2vw; } }

/* ---------- sesión de modelaje ---------- */
.moda { max-width: var(--max); margin: 0 auto; padding-block: clamp(80px, 12vw, 160px); }
.moda-h { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.moda-h h2 { font-size: clamp(2.3rem, 5.6vw, 5.4rem); font-variation-settings: 'wdth' 72; }
.moda-cta p { color: var(--muted); max-width: 44ch; margin-bottom: 24px; }
.moda-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.moda-it a { display: block; text-decoration: none; }
.moda-img { display: block; position: relative; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line), 0 24px 50px rgba(0,0,0,.5); }
.moda-img img { aspect-ratio: 9 / 16; width: 100%; object-fit: cover; transition: transform .7s var(--e-out), filter .4s; filter: sepia(.06) contrast(1.03); }
.moda-it a:hover .moda-img img { transform: scale(1.04); filter: none; }
.moda-n { position: absolute; left: 10px; top: 8px; color: #f2a44a; text-shadow: none; font-size: 1.1rem; }
.moda-it:nth-child(even) { margin-top: clamp(24px, 5vw, 64px); }
.moda-who { display: block; margin-top: 14px; font-weight: 900; font-variation-settings: 'wdth' 80; text-transform: uppercase; font-size: clamp(1rem, 1.4vw, 1.3rem); border-left: 6px solid var(--c); padding-left: 10px; line-height: 1; }
.moda-piece { display: block; padding-left: 16px; margin-top: 6px; color: var(--muted); text-shadow: none; }
.sw { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px; }
.sw-b { width: 28px; height: 28px; border-radius: 50%; background: var(--sw); border: 2px solid var(--line); cursor: pointer; padding: 0; box-shadow: inset 0 0 0 2px rgba(0,0,0,.25); }
.sw-b.on, .sw-b:hover { border-color: var(--paper); outline: 2px solid var(--paper); outline-offset: 2px; }
.sw-n { margin-left: 6px; font-size: 1.05rem; }
@media (max-width: 1000px) { .moda-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .moda-h { grid-template-columns: 1fr; } }

/* ---------- CRT: carta de ajuste con logo ---------- */
.in-logo { display: block; width: min(100%, 440px); height: auto; margin: 0 auto 14px; box-shadow: 0 0 30px rgba(247,208,44,.35); }
.in-sig { letter-spacing: .12em; }
.in-alt-btns { margin-top: 10px; }

/* ---------- CRT fuerte en la intro: vidrio abombado, fósforo, aberración, ruido ---------- */
.in-scr { border-radius: 26px / 20px; animation: crt-flicker 3.2s steps(1) infinite; }
.intro.crt-on .in-scr > :not(.in-glass):not(.in-noise) { filter: saturate(1.18) contrast(1.08) brightness(1.04); }
.intro.crt-bend .in-scr { filter: url(#crt-bend); }
.in-glass { position: absolute; inset: 0; z-index: 29; pointer-events: none; border-radius: inherit;
  background:
    radial-gradient(130% 120% at 50% 50%, transparent 52%, rgba(0,0,0,.35) 74%, rgba(0,0,0,.9) 100%),
    radial-gradient(60% 40% at 28% 18%, rgba(255,255,255,.10), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 90px 30px rgba(0,0,0,.75), inset 0 0 0 3px rgba(0,0,0,.9);
  animation: crt-grain .24s steps(3) infinite; }
.in-roll, .crt-roll { position: absolute; left: 0; right: 0; height: 22vh; top: -22vh; background: linear-gradient(transparent, rgba(255,255,255,.06) 45%, rgba(180,255,220,.08) 50%, transparent); animation: crt-roll 6.5s linear infinite; }
.in-t, .wd-t, .in-slop-a, .end-house, .in-card-t { text-shadow: 0 0 14px rgba(255,255,255,.28), 0 0 2px rgba(255,255,255,.4); }
.in-t { text-shadow: 6px 6px 0 var(--c), 12px 12px 0 rgba(0,0,0,.6), 0 0 22px rgba(255,255,255,.35); }
@keyframes crt-flicker { 0%, 100% { opacity: 1; } 47% { opacity: .985; } 48% { opacity: .96; } 49% { opacity: 1; } 83% { opacity: .99; } }
@keyframes crt-grain { 0% { background-position: 0 0, 0 0, 0 0; } 33% { background-position: 0 0, 0 0, -40px 30px; } 66% { background-position: 0 0, 0 0, 60px -20px; } }
@keyframes crt-roll { to { transform: translateY(150vh); } }

/* ---------- CRT suave en todo el sitio ---------- */
.crt-glass { position: fixed; inset: 0; z-index: 91; pointer-events: none; border-radius: 22px / 18px;
  box-shadow: 0 0 0 40px #000, inset 0 0 120px rgba(0,0,0,.42), inset 0 0 0 1px rgba(0,0,0,.6);
  background: radial-gradient(70% 45% at 25% 12%, rgba(255,255,255,.035), transparent 60%); overflow: hidden; }
.crt-roll { opacity: .7; animation-duration: 9s; }
main h1, main h2, .foot-big { text-shadow: -1px 0 rgba(255,40,80,.32), 1px 0 rgba(0,210,255,.32), 0 0 18px rgba(244,236,219,.12); }
body::after { animation: crt-grain-page .3s steps(2) infinite; }
@keyframes crt-grain-page { 50% { background-position: 0 0, 37px -23px; } }
.intro-on .crt-glass { display: none; }
@media (max-width: 760px) { .crt-glass { border-radius: 14px; box-shadow: 0 0 0 30px #000, inset 0 0 60px rgba(0,0,0,.4); } }
@media (prefers-reduced-motion: reduce) { .in-roll, .crt-roll { display: none; } body::after, .in-glass, .in-scr { animation: none !important; } }
