/* ── ANALYSIS PAGE — Press Start ───────────────────────────
   Hereda variables y tipografía de styles.css. Solo añade
   estilos específicos de la página de análisis completo.
   ──────────────────────────────────────────────────────────── */

/* ── ANALYSIS HERO ───────────────────────────────────────── */
.ana-hero {
  position: relative; min-height: 92svh;
  padding-top: calc(var(--hh) + 32px);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.ana-cover-img {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  filter: brightness(.55) saturate(1.15);
  transform: scale(1.04);
  transition: transform 1.2s var(--ease);
}
.ana-hero:hover .ana-cover-img { transform: scale(1.08); }
.ana-cover-grad {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(9,9,15,.9) 5%, rgba(9,9,15,.35) 60%, rgba(9,9,15,.55) 100%),
    linear-gradient(to top,   rgba(9,9,15,1)  0%, rgba(9,9,15,.4)  35%, transparent 65%);
}

.ana-hero-inner {
  position: relative; z-index: 2;
  padding-bottom: 56px;
}

.crumbs {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: .76rem; color: var(--t3); margin-bottom: 22px;
}
.crumbs a { color: var(--t2); transition: color .2s; }
.crumbs a:hover { color: var(--purple-l); }
.crumbs span.sep { color: var(--t4); }
.crumbs strong { color: var(--t1); font-weight: 600; }

.ana-meta-top {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.ana-genre {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--purple-l); padding: 4px 12px;
  border: 1px solid rgba(167,139,250,.3); border-radius: 20px;
  background: rgba(124,58,237,.1);
}

.ana-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  font-weight: 800; letter-spacing: -2px; line-height: 1.0;
  color: var(--t1); max-width: 14ch;
}
.ana-title em { font-style: normal; color: var(--purple-l); display: block; }

.ana-subtitle {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.05rem, 1.9vw, 1.4rem);
  font-weight: 500; line-height: 1.45; letter-spacing: -.3px;
  color: var(--t2); max-width: 640px; margin-top: 22px;
  font-style: italic;
}

.ana-byline {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-top: 32px; font-size: .82rem; color: var(--t2);
}
.ana-byline-author { display: flex; align-items: center; gap: 10px; }
.ana-byline-author img {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid rgba(167,139,250,.4); background: var(--surf);
}
.ana-byline-author strong { color: var(--t1); display: block; font-size: .88rem; }
.ana-byline-author span { font-size: .72rem; color: var(--t3); }
.ana-byline-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ana-byline-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ana-byline-meta svg { color: var(--t3); }

/* Hero como grid de 2 columnas: contenido + score */
.ana-hero-inner {
  position: relative; z-index: 2;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: end;
}
.ana-hero-text { min-width: 0; }
.ana-title { max-width: 14ch; }

/* Score block — ahora forma parte del grid, sin position absolute */
.ana-score-block {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 26px 36px; border-radius: 18px;
  background: rgba(124,58,237,.18);
  border: 1px solid rgba(167,139,250,.35);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 60px rgba(124,58,237,.18);
  margin-bottom: 8px;
  width: 200px;
}
.ana-score-block .score-num {
  font-family: 'Syne', sans-serif; font-size: 5rem; font-weight: 800;
  color: #fff; line-height: 0.95;
  text-shadow: 0 0 40px rgba(167,139,250,.6);
}
.ana-score-block .score-out { font-size: .7rem; font-weight: 700; color: var(--t3); letter-spacing: .15em; text-transform: uppercase; }
.ana-score-block .score-tag {
  margin-top: 4px; padding: 5px 14px;
  background: var(--purple); color: #fff;
  border-radius: 30px;
  font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em;
}
.ana-score-block .score-stars { color: var(--amber); font-size: .85rem; letter-spacing: 2px; }

/* ── ACTIONS BAR ─────────────────────────────────────────── */
.ana-actions {
  position: sticky; top: var(--hh); z-index: 50;
  background: rgba(9,9,15,.85);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.ana-actions-inner {
  display: flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 24px;
  max-width: 1280px; margin: 0 auto;
}
.aa-progress {
  flex: 1; height: 4px; background: var(--surf2); border-radius: 10px; overflow: hidden;
}
.aa-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--purple), var(--purple-l), var(--cyan));
  border-radius: 10px; transition: width .15s linear;
}
.aa-pct {
  font-family: 'Syne', sans-serif; font-size: .76rem; font-weight: 700;
  color: var(--purple-l); min-width: 36px; text-align: right;
}
.aa-actions { display: flex; align-items: center; gap: 6px; }
.aa-btn {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--t2); background: transparent;
  border: 1px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
}
.aa-btn:hover { color: var(--t1); background: var(--surf); border-color: var(--border2); }
.aa-btn.active { color: var(--purple-l); background: rgba(124,58,237,.12); border-color: rgba(167,139,250,.35); }
.aa-btn .check { display: none; }
.aa-btn.copied .icon { display: none; }
.aa-btn.copied .check { display: block; color: var(--green); }

/* ── ANALYSIS LAYOUT ─────────────────────────────────────── */
.ana-section { padding: 56px 0 0; }

.ana-layout {
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  gap: 56px;
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  align-items: start;
}

/* ── TOC (sticky índice) ─────────────────────────────────── */
.ana-toc {
  position: sticky; top: calc(var(--hh) + 70px);
  padding: 22px 4px;
  font-size: .82rem;
}
.ana-toc-label {
  font-size: .65rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .15em; color: var(--t4); margin-bottom: 14px;
  padding-left: 14px;
}
.ana-toc ul { display: flex; flex-direction: column; gap: 2px; }
.ana-toc a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 6px;
  color: var(--t3); font-size: .82rem; font-weight: 500;
  border-left: 2px solid transparent;
  transition: color .2s, background .2s, border-color .2s, padding-left .2s;
  line-height: 1.35;
}
.ana-toc a::before {
  content: ''; display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--t4); flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.ana-toc a:hover { color: var(--t1); background: rgba(124,58,237,.05); }
.ana-toc a.active {
  color: var(--purple-l); background: rgba(124,58,237,.08);
  border-left-color: var(--purple-l);
}
.ana-toc a.active::before { background: var(--purple-l); transform: scale(1.6); box-shadow: 0 0 8px var(--purple-l); }

/* ── ARTICLE BODY ────────────────────────────────────────── */
.ana-article {
  font-size: 1.05rem; line-height: 1.75;
  color: var(--t2);
  max-width: 720px;
}
.ana-article > section { padding-top: 56px; scroll-margin-top: calc(var(--hh) + 70px); }
.ana-article > section:first-of-type { padding-top: 0; }
/* Hairline separator between sections for a cleaner rhythm */
.ana-article > section + section { border-top: 1px solid var(--border); }

/* ── BACKUP del título de sección (Syne) — descomenta para revertir ──
.ana-h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.6vw, 2.55rem);
  font-weight: 800; letter-spacing: -.8px;
  color: var(--t1); margin-bottom: 18px;
  line-height: 1.1;
}
─────────────────────────────────────────────────────────────────── */
.ana-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.95rem, 3.5vw, 2.5rem);
  font-weight: 700; letter-spacing: -.5px;
  color: var(--t1); margin-bottom: 18px;
  line-height: 1.15;
}
.ana-h2-eyebrow {
  /* flex (no inline-flex): bloque propio, así el título queda DEBAJO y no
     se solapa con el eyebrow en la misma línea */
  display: flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--purple-l);
  margin-bottom: 14px;
}
.ana-h2-eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: var(--purple-l);
}
.ana-h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem; font-weight: 700; letter-spacing: -.2px;
  color: var(--t1); margin: 28px 0 10px;
}
.ana-article p { margin-bottom: 18px; }
.ana-article p:last-child { margin-bottom: 0; }

.ana-article p strong, .ana-article p b { color: var(--t1); font-weight: 600; }
.ana-article p em { color: var(--purple-l); font-style: italic; }
.ana-article a { color: var(--purple-l); text-decoration: underline; text-decoration-color: rgba(167,139,250,.35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.ana-article a:hover { text-decoration-color: var(--purple-l); }

.ana-divider {
  height: 1px; background: var(--border);
  margin: 28px 0; border: none;
}

/* Drop cap on first paragraph */
.ana-lede { font-size: 1.18rem; line-height: 1.7; color: var(--t1); font-weight: 400; }
.ana-lede::first-letter {
  font-family: 'Syne', sans-serif;
  font-size: 4.4em; font-weight: 800; line-height: .85;
  float: left; padding: 6px 12px 0 0;
  color: var(--purple-l);
}

/* Inline image figure */
.ana-figure {
  margin: 32px -40px;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surf);
}
.ana-figure-img {
  width: 100%; aspect-ratio: 16/9;
  background-size: cover; background-position: center;
  background-color: var(--surf2);
}
.ana-lb-img {
  cursor: zoom-in;
  transition: filter .2s;
}
.ana-lb-img:hover { filter: brightness(1.08); }
.ana-figure-img.placeholder { background-image: url('images/.placeholder.svg'); background-size: cover; }
.ana-figure figcaption {
  padding: 12px 18px; font-size: .78rem; color: var(--t3);
  border-top: 1px solid var(--border); display: flex; gap: 8px; align-items: center;
}
.ana-figure figcaption::before {
  content: ''; width: 3px; height: 14px; background: var(--purple-l); border-radius: 2px;
}
.ana-figure.full {
  margin: 36px calc(50% - 50vw);
  border-radius: 0;
  border-left: none; border-right: none;
}
.ana-figure.full .ana-figure-img { aspect-ratio: 21/9; }

/* Pull quote */
.ana-pullquote {
  margin: 36px -20px;
  padding: 28px 36px;
  border-left: 3px solid var(--purple-l);
  background: linear-gradient(135deg, rgba(124,58,237,.08), transparent);
  border-radius: 0 12px 12px 0;
}
.ana-pullquote q {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.45rem; font-weight: 700; line-height: 1.4; letter-spacing: -.3px;
  color: var(--t1);
  font-style: italic;
}
.ana-pullquote q::before, .ana-pullquote q::after { content: none; }

/* Bullets */
.ana-list { margin: 16px 0 22px; padding-left: 0; }
.ana-list li {
  position: relative; padding: 6px 0 6px 28px;
  list-style: none; line-height: 1.65;
}
.ana-list li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 16px; height: 1px; background: var(--purple-l);
}

/* ── FICHA TÉCNICA ───────────────────────────────────────── */
.ana-fact {
  margin: 32px 0 8px;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.ana-fact-row {
  background: var(--surf);
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.ana-fact-row dt {
  font-size: .65rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--t3);
}
.ana-fact-row dd {
  font-size: .92rem; font-weight: 600; color: var(--t1); line-height: 1.4;
}
.ana-fact-row dd .pchip { margin-right: 4px; vertical-align: middle; }

/* ── SUB-SCORES ──────────────────────────────────────────── */
.ana-subscores {
  margin: 32px 0;
  padding: 24px;
  background: linear-gradient(135deg, rgba(124,58,237,.08), transparent);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.ana-subscores-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 18px; gap: 14px; flex-wrap: wrap;
}
.ana-subscores-head h3 {
  font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700;
  color: var(--t1);
}
.ana-subscores-head small { font-size: .72rem; color: var(--t3); }

.ana-sub { display: grid; grid-template-columns: 130px 1fr 48px; gap: 14px; align-items: center; padding: 10px 0; }
.ana-sub + .ana-sub { border-top: 1px solid var(--border); }
.ana-sub-label { font-size: .82rem; font-weight: 600; color: var(--t1); }
.ana-sub-track { height: 6px; background: var(--surf2); border-radius: 10px; overflow: hidden; }
.ana-sub-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--purple), var(--purple-l)); border-radius: 10px; transition: width 1.2s var(--ease); }
.ana-sub-num { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--purple-l); text-align: right; }

/* ── PROS/CONS ───────────────────────────────────────────── */
.ana-proscons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin: 28px 0;
}
.ana-pcbox {
  padding: 22px 24px;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
}
.ana-pcbox.pros { border-left: 3px solid var(--green); }
.ana-pcbox.cons { border-left: 3px solid var(--rose); }
.ana-pcbox h3 {
  font-family: 'Syne', sans-serif; font-size: .82rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.ana-pcbox.pros h3 { color: var(--green); }
.ana-pcbox.cons h3 { color: var(--rose); }
.ana-pcbox h3 .icon {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .9rem; line-height: 1;
}
.ana-pcbox.pros h3 .icon { background: rgba(16,185,129,.18); color: var(--green); }
.ana-pcbox.cons h3 .icon { background: rgba(244,63,94,.18); color: var(--rose); }
.ana-pcbox ul { display: flex; flex-direction: column; gap: 12px; }
.ana-pcbox li {
  font-size: .92rem; line-height: 1.55; color: var(--t1);
  padding-left: 18px; position: relative;
  list-style: none;
}
.ana-pcbox.pros li::before { content: '+'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.ana-pcbox.cons li::before { content: '−'; position: absolute; left: 0; top: 0; color: var(--rose); font-weight: 800; }

/* ── VEREDICTO FINAL ─────────────────────────────────────── */
.ana-verdict {
  margin: 64px 0 0;
  padding: 56px 48px;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(124,58,237,.18), transparent 70%),
    linear-gradient(180deg, rgba(124,58,237,.05), rgba(9,9,15,.6));
  border: 1px solid rgba(167,139,250,.25);
  border-radius: 20px;
  position: relative; overflow: hidden;
}
.ana-verdict::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple-l), transparent);
}
.ana-verdict-head {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.ana-verdict-score {
  display: flex; align-items: baseline; gap: 6px;
  font-family: 'Syne', sans-serif;
}
.ana-verdict-score .num {
  font-size: 6rem; font-weight: 800; line-height: .9;
  color: #fff;
  text-shadow: 0 0 60px rgba(167,139,250,.6);
  background: linear-gradient(180deg, #fff, #c7b8ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ana-verdict-score .out { font-size: 1.2rem; color: var(--t3); font-weight: 600; }
.ana-verdict-meta { display: flex; flex-direction: column; gap: 6px; }
.ana-verdict-meta .tag {
  display: inline-flex; align-self: flex-start;
  padding: 5px 14px; background: var(--purple);
  color: #fff; border-radius: 30px;
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em;
}
.ana-verdict-meta strong {
  font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800;
  color: var(--t1); letter-spacing: -.3px;
}
.ana-verdict-meta .stars { color: var(--amber); font-size: 1.1rem; letter-spacing: 4px; }

.ana-verdict p {
  font-size: 1.1rem; line-height: 1.75; color: var(--t2);
  max-width: 720px;
}
.ana-verdict p strong { color: var(--t1); }

.ana-verdict-recs {
  margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(167,139,250,.2);
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.ana-verdict-recs h4 {
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .15em;
  color: var(--t3); margin-bottom: 8px;
}
.ana-verdict-recs p { font-size: .9rem; color: var(--t1); margin: 0; line-height: 1.55; }

/* ── ASIDE: AUTOR + COMPARTIR ────────────────────────────── */
.ana-aside { display: flex; flex-direction: column; gap: 14px; }
.ana-aside-card {
  position: sticky; top: calc(var(--hh) + 70px);
  background: var(--surf); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px;
}

.ana-author-card { text-align: left; }
.ana-author-card .av {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(124,58,237,.4); margin-bottom: 12px;
}
.ana-author-card .name {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
  color: var(--t1); display: block; margin-bottom: 2px;
}
.ana-author-card .role { font-size: .75rem; color: var(--purple-l); display: block; margin-bottom: 12px; font-weight: 600; }
.ana-author-card .bio { font-size: .82rem; color: var(--t2); line-height: 1.6; margin-bottom: 14px; }
.ana-author-card .stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.ana-author-card .stat { display: flex; flex-direction: column; }
.ana-author-card .stat strong {
  font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 800; color: var(--t1);
}
.ana-author-card .stat span { font-size: .68rem; color: var(--t3); text-transform: uppercase; letter-spacing: .08em; }

.ana-share-card h4 {
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .15em;
  color: var(--t3); margin-bottom: 12px;
}
.ana-share-row { display: flex; gap: 8px; }
.ana-share-row a {
  flex: 1; height: 38px; display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; color: var(--t2);
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--spring);
  font-weight: 700; font-size: .9rem;
}
.ana-share-row a:hover { background: rgba(124,58,237,.12); border-color: var(--purple-l); color: var(--t1); transform: translateY(-2px); }

/* ── REACTIONS ───────────────────────────────────────────── */
.ana-reactions {
  margin: 56px 0 0;
  padding: 28px 32px;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.ana-reactions h4 {
  font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700;
  color: var(--t1); margin-bottom: 16px;
}
.ana-react-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ana-react-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 30px;
  font-size: .85rem; font-weight: 600; color: var(--t1);
  transition: background .2s, border-color .2s, transform .2s var(--spring);
}
.ana-react-btn:hover { background: rgba(124,58,237,.08); border-color: rgba(167,139,250,.35); transform: translateY(-2px); }
.ana-react-btn.active { background: rgba(124,58,237,.18); border-color: var(--purple-l); color: var(--purple-l); }
.ana-react-btn .em { font-size: 1.1rem; line-height: 1; }
.ana-react-btn .count { font-size: .76rem; color: var(--t3); font-weight: 700; }
.ana-react-btn.active .count { color: var(--purple-l); }

/* ── GALLERY ─────────────────────────────────────────────── */
.ana-gallery-section { padding: 80px 0 0; }
.ana-gallery-section .container { max-width: 1280px; }
.ana-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  gap: 8px;
}
.ana-gallery > * {
  background-size: cover; background-position: center;
  background-color: var(--surf);
  border-radius: 6px; cursor: pointer;
  position: relative; overflow: hidden;
  background-image: url('images/.placeholder.svg');
  transition: transform .3s var(--ease);
}
.ana-gallery > *:hover { transform: scale(1.02); }
.ana-gallery > *::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(124,58,237,0); transition: background .25s;
}
.ana-gallery > *:hover::after { background: rgba(124,58,237,.15); }
.ana-gallery .g1 { grid-column: span 3; grid-row: span 2; }
.ana-gallery .g2 { grid-column: span 3; grid-row: span 1; }
.ana-gallery .g3 { grid-column: span 2; grid-row: span 1; }
.ana-gallery .g4 { grid-column: span 1; grid-row: span 1; }
.ana-gallery .g5 { grid-column: span 2; grid-row: span 1; }
.ana-gallery .g6 { grid-column: span 4; grid-row: span 1; }

/* ── RELATED CAROUSEL ────────────────────────────────────── */
.ana-related-section {
  padding: 80px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  margin-top: 88px;
}

/* nav buttons */
.rel-nav-wrap { display: flex; gap: 6px; }
.rel-nav-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surf);
  color: var(--t1); font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s, opacity .15s;
}
.rel-nav-btn:hover:not(:disabled) { background: var(--purple); border-color: var(--purple); }
.rel-nav-btn:disabled { opacity: .3; cursor: default; }

/* carousel track */
.rel-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  margin: 0 -4px;
  padding: 4px;
}
.rel-carousel-track::-webkit-scrollbar { display: none; }

/* card */
.rel-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.rel-card:hover {
  border-color: rgba(124,58,237,.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}

/* card image */
.rel-card-img {
  height: 168px;
  background-size: cover;
  background-position: center;
  background-color: var(--surf2);
  position: relative;
}
.rel-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(9,9,15,.8));
}
.rel-card-chips {
  position: absolute; top: 10px; left: 10px;
  display: flex; gap: 4px; flex-wrap: wrap;
}
.rel-card-score {
  position: absolute; bottom: 10px; right: 10px; z-index: 1;
  width: 34px; height: 34px; border-radius: 50%;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: .82rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.rel-card-score.score-purple { background: var(--purple); }
.rel-card-score.score-blue   { background: #4f8ef7; }
.rel-card-score.score-green  { background: #22c55e; }
.rel-card-score.score-red    { background: #ef4444; }

/* card body */
.rel-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.rel-card-eyebrow {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--purple-l);
}
.rel-card-title {
  font-family: 'Syne', sans-serif; font-size: .95rem; font-weight: 700;
  color: var(--t1); line-height: 1.3; letter-spacing: -.1px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.rel-card-excerpt {
  font-size: .78rem; color: var(--t2); line-height: 1.5; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.rel-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 4px;
}
.rel-card-author {
  display: flex; align-items: center; gap: 6px;
  font-size: .75rem; color: var(--t2);
}
.rel-card-author img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.rel-card-date { font-size: .72rem; color: var(--t3); }

/* ── LIGHTBOX ────────────────────────────────────────────── */
.lb {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(5,5,10,.94); backdrop-filter: blur(12px);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lb.open { display: flex; animation: fadeIn .25s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lb-img {
  max-width: 90vw; max-height: 85vh;
  background-size: contain; background-repeat: no-repeat; background-position: center;
  width: 1200px; height: 700px;
  background-color: #000;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.7);
}
.lb-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.18); }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s var(--spring);
}
.lb-prev { left: 24px; } .lb-next { right: 24px; }
.lb-prev:hover, .lb-next:hover { background: var(--purple); transform: translateY(-50%) scale(1.1); }
.lb-counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  font-family: 'Syne', sans-serif; font-size: .82rem; font-weight: 700;
  color: rgba(255,255,255,.75); letter-spacing: 1px;
}

/* ── SHARE TOAST ─────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 80px);
  padding: 12px 22px;
  background: var(--purple); color: #fff;
  border-radius: 30px; font-size: .85rem; font-weight: 600;
  box-shadow: 0 10px 40px rgba(0,0,0,.5), var(--glow);
  z-index: 6000; opacity: 0;
  transition: opacity .25s, transform .35s var(--spring);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ana-layout { grid-template-columns: 200px 1fr; gap: 36px; }
  .ana-aside { display: none; }
  .ana-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .ana-score-block { justify-self: start; width: auto; padding: 20px 28px; }
  .ana-score-block .score-num { font-size: 4rem; }
  .rel-card { flex: 0 0 260px; }
  .ana-figure { margin-left: -20px; margin-right: -20px; }
}
@media (max-width: 900px) {
  .ana-layout { grid-template-columns: 1fr; gap: 0; }
  .ana-toc { display: none; }
  .ana-hero-inner { grid-template-columns: 1fr; gap: 24px; padding-bottom: 36px; }
  .ana-score-block { justify-self: start; width: auto; padding: 16px 24px; gap: 4px; }
  .ana-score-block .score-num { font-size: 3rem; }
  .ana-fact { grid-template-columns: 1fr; }
  .ana-proscons { grid-template-columns: 1fr; }
  .ana-verdict-recs { grid-template-columns: 1fr; gap: 18px; }
  .ana-verdict { padding: 36px 28px; }
  .ana-figure { margin-left: 0; margin-right: 0; }
  .ana-figure.full { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
  .ana-pullquote { margin-left: 0; margin-right: 0; padding: 20px 22px; }
  .ana-pullquote q { font-size: 1.2rem; }
  .rel-card { flex: 0 0 240px; }
  .ana-gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 100px; }
  .ana-gallery .g1 { grid-column: span 4; grid-row: span 2; }
  .ana-gallery .g2 { grid-column: span 4; }
  .ana-gallery .g3, .ana-gallery .g5 { grid-column: span 2; }
  .ana-gallery .g4 { grid-column: span 2; }
  .ana-gallery .g6 { grid-column: span 4; }
  .ana-byline { gap: 14px; }
  /* Punto focal personalizado solo en móvil */
  .ana-cover-img { background-position: var(--img-focus, center); }
}

/* ── TRÁILER (YouTube embed) ────────────────────────── */
.ana-trailer-sect { margin-bottom: 40px; }
.ana-trailer-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border, rgba(255,255,255,.08));
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
}
.ana-trailer-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
