/* Estilo del plató del cara a cara de la Academia de Televisión (19-N-2026):
   gris malva casi monocromo, tipografía monoespaciada espaciada en mayúsculas,
   marcas de esquina como las de los rótulos de la realización y el logotipo
   negro geométrico. El único color fuerte de la página son los veredictos. */
:root {
  --bg: #e2e1e7;
  --surface: #edecf0;
  --surface-2: #d8d7de;
  --ink: #131316;
  --ink-2: #3b3b41;
  --ink-soft: #6b6a73;
  --line: rgba(19, 19, 22, 0.14);
  --rotulo: rgba(48, 48, 53, 0.9);
  --blanco: #ffffff;

  /* Veredictos: --vc es el color, --vt el texto encima. */
  --v-true: #1d8a4b;
  --v-mostly: #8db83b;
  --v-misleading: #f2a400;
  --v-false: #e1262c;
  --v-unverifiable: #8b8a93;

  --label-w: 200px;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background: var(--bg);
  background-image: radial-gradient(120% 80% at 70% 0%, #f1f0f4 0%, var(--bg) 60%);
  background-attachment: fixed;
  color: var(--ink);
  font: 15px/1.5 var(--sans);
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; }
button { font: inherit; color: inherit; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--blanco);
  padding: 10px 14px; text-decoration: none;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em;
}
.saltar:focus { top: 12px; }
main:focus { outline: none; }

/* Marcas de esquina, las de los rótulos del plató. */
.marcas {
  --m: var(--ink);
  --ml: 12px;
  background-image:
    linear-gradient(var(--m), var(--m)), linear-gradient(var(--m), var(--m)),
    linear-gradient(var(--m), var(--m)), linear-gradient(var(--m), var(--m)),
    linear-gradient(var(--m), var(--m)), linear-gradient(var(--m), var(--m)),
    linear-gradient(var(--m), var(--m)), linear-gradient(var(--m), var(--m));
  background-repeat: no-repeat;
  background-size:
    var(--ml) 2px, 2px var(--ml), var(--ml) 2px, 2px var(--ml),
    var(--ml) 2px, 2px var(--ml), var(--ml) 2px, 2px var(--ml);
  background-position:
    top left, top left, top right, top right,
    bottom left, bottom left, bottom right, bottom right;
}

/* Etiqueta tipo «#CARAaCARA26»: texto pequeño entre dos rayas. */
.etiqueta {
  display: inline-grid;
  gap: 3px;
  width: fit-content;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}
.etiqueta::before, .etiqueta::after { content: ''; width: 14px; height: 1.5px; background: currentColor; }
.etiqueta::after { justify-self: end; }

.preprod {
  margin: 0;
  background: var(--ink);
  color: var(--blanco);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: calc(4px + env(safe-area-inset-top, 0px)) 16px 4px;
}

/* ── Cabecera ─────────────────────────────────────────────────── */
.cabecera {
  background: rgba(237, 236, 240, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
  position: sticky;
  top: 0;
  z-index: 20;
}
.preprod:not([hidden]) + .cabecera { padding-top: 0; }

.cabecera-in {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.marca svg { width: 30px; height: 30px; flex-shrink: 0; }
.marca-texto {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marca-texto small { font-size: 0.82em; text-transform: none; letter-spacing: 0.06em; }

.cabecera-der { display: flex; align-items: center; gap: 16px; }
.estado {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.estado:not(:empty)::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 8px;
  background: var(--ink);
  animation: parpadeo 1.2s steps(2) infinite;
}
@keyframes parpadeo { 50% { opacity: 0; } }

.segmentado { display: inline-flex; background: var(--surface-2); padding: 3px; gap: 3px; }
.segmentado button {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.segmentado button.is-on { background: var(--ink); color: var(--blanco); }

/* ── Página ───────────────────────────────────────────────────── */
.app {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 20px 48px;
  flex: 1;
  display: grid;
  gap: 26px;
  align-content: start;
  animation: panel-in 0.4s ease-out both;
}

.cabeza { display: grid; gap: 14px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.cabeza-titulo {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(1.8rem, 4.6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}

.vacio {
  margin: 0;
  border: 1px dashed var(--ink-soft);
  padding: 18px 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}

@keyframes tile-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }

/* Cabecera de panel: texto mono entre rayas, sin bloques de color. */
.panel-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 20px;
  flex-wrap: wrap;
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.panel {
  background: var(--surface);
}

/* ── Caras ────────────────────────────────────────────────────── */
.faces {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.face {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px 16px;
  align-items: center;
  padding: 18px 20px;
  background-color: var(--surface);
  --m: transparent;
  animation: tile-in 0.4s ease-out both;
  animation-delay: calc(var(--i, 0) * 60ms);
  transition: --m 0.2s ease;
}
.face.speaking { --m: var(--ink); }
.face.mod {
  grid-column: 1 / -1;
  grid-template-columns: auto auto;
  justify-content: start;
  column-gap: 12px;
  padding: 8px 14px;
  background-color: transparent;
}
.face.mod .avatar { --size: 30px; grid-row: span 2; font-size: 11px; }
.face.mod .face-name { font-size: 12px; }
.avatar {
  --size: 64px;
  width: var(--size);
  height: var(--size);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--surface-2);
  font-family: var(--mono);
  font-weight: 600;
  font-size: calc(var(--size) * 0.34);
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: saturate(0.85); }
.face-id { min-width: 0; }
.face-name {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.face-party {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}
.face-score { display: grid; grid-template-columns: auto auto; align-items: baseline; justify-items: end; column-gap: 3px; }
.face-rank {
  grid-column: 1 / -1;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.face-rank:empty { display: none; }
.face-score-num { font-family: var(--mono); font-weight: 500; font-size: 2.6rem; line-height: 1; letter-spacing: -0.02em; }
.face-score-of { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); }
.face.provisional .face-score-num { color: var(--ink-soft); }
.spark { grid-column: 1 / -1; width: 100%; height: 30px; overflow: visible; }
.spark line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.spark polyline { fill: none; stroke: var(--ink); stroke-width: 1.75; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.face-speaking-tag {
  position: absolute;
  top: 10px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  opacity: 0;
  transition: opacity 0.2s;
}
.face-speaking-tag::before { content: ''; width: 6px; height: 6px; background: var(--ink); animation: parpadeo 1.2s steps(2) infinite; }
.face.speaking .face-speaking-tag { opacity: 1; }
.face:not(.mod) .face-speaking-tag + .avatar { margin-top: 6px; }
.face-stats { grid-column: 1 / -1; }
.scorebar { display: flex; height: 6px; background: var(--surface-2); gap: 2px; }
.scorebar span { background: var(--vc); transition: flex-grow 0.5s; }
.score-text { margin-top: 10px; display: grid; gap: 6px; }
.score-counts { display: flex; flex-wrap: wrap; gap: 3px 14px; font-size: 13px; }
.score-counts span { display: inline-flex; align-items: center; gap: 6px; }
.score-counts i { width: 8px; height: 8px; background: var(--vc); }
.score-n {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ── Veracímetro ──────────────────────────────────────────────── */
.meter { background-color: var(--surface); }
.meter-body { padding: 22px 44px 16px; display: grid; }
.meter-pins {
  --rows: 1;
  position: relative;
  height: calc(var(--rows) * 70px);
  transition: height 0.4s ease;
}
.pin {
  position: absolute;
  bottom: calc(var(--row, 0) * 70px);
  width: 52px;
  margin-left: -26px;
  display: grid;
  justify-items: center;
  gap: 3px;
  transition: left 0.8s cubic-bezier(.2,.8,.2,1), bottom 0.4s ease;
}
.pin .avatar { --size: 46px; }
.pin::after { content: ''; width: 1.5px; height: 7px; background: var(--ink); }
.pin-score { font-size: 11px; font-weight: 600; background: var(--ink); color: var(--blanco); padding: 1px 5px; }
.pin.provisional { opacity: 0.5; }
.meter-track { display: flex; height: 10px; gap: 2px; }
.meter-track span { background: var(--vc); }
.meter-track .v-falso { flex: 12.5; }
.meter-track .v-enganoso { flex: 37.5; }
.meter-track .v-mayormente_verdadero { flex: 37.5; }
.meter-track .v-verdadero { flex: 12.5; }
.meter-labels { position: relative; height: 22px; margin-top: 8px; }
.meter-labels span {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.meter-labels span:first-child { transform: none; }
.meter-labels span:last-child { transform: translateX(-100%); }
.meter-empty { margin: 4px 0 0; color: var(--ink-soft); font-size: 14px; }
.metodo { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 14px; line-height: 1.55; }
.metodo summary {
  cursor: pointer;
  width: fit-content;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.metodo p { max-width: 72ch; margin: 8px 0 0; }
.metodo .creditos { font-size: 12px; color: var(--ink-soft); }

/* «Dijo» frente al dato real */
.versus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 10px;
  gap: 2px;
  background: var(--line);
}
.versus > div { padding: 8px 10px; display: grid; gap: 2px; min-width: 0; background: var(--surface); }
.versus > div + div { background: var(--bg); }
.versus-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.versus s { text-decoration-color: var(--v-false); text-decoration-thickness: 2px; color: var(--ink-soft); font-weight: 500; }
.versus b { font-family: var(--mono); font-weight: 600; font-size: 0.98rem; }

/* ── Vídeo + verificaciones ───────────────────────────────────── */
.stage {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 410px;
}
.player-wrap {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16 / 9;
}
.player, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Rótulo sobre el vídeo, como los de la realización del debate. */
.toast {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 66px;
  display: flex;
  align-items: stretch;
  gap: 10px;
  max-width: 760px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.show { opacity: 1; transform: none; }
.toast-verdict {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px 14px;
  min-width: 120px;
  background: var(--vc);
  color: var(--vt);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.toast-verdict i { display: block; font-style: normal; font-size: 26px; line-height: 1; margin-bottom: 4px; }
.toast-body {
  flex: 1;
  min-width: 0;
  background-color: var(--rotulo);
  color: var(--blanco);
  padding: 12px 18px;
  --m: var(--ink);
}
.toast-who {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}
.toast-title {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 4px;
}
/* Fase «analizando»: gris, con un indicador giratorio y una barra que se llena. */
.toast.analizando .toast-verdict { background: var(--ink-2); color: var(--blanco); }
.toast-spinner {
  width: 22px;
  height: 22px;
  margin: 0 auto 6px;
  border: 2.5px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--blanco);
  border-radius: 50%;
  animation: girar 0.8s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }
.toast-cita {
  text-transform: none;
  font-style: italic;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.toast-progreso { height: 2px; margin-top: 10px; background: rgba(255, 255, 255, 0.2); position: relative; overflow: hidden; }
.toast-progreso::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blanco);
  transform-origin: left;
  animation: llenar var(--s, 7s) linear forwards;
}
@keyframes llenar { from { transform: scaleX(0); } }
.badge .pulso { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: parpadeo 0.9s steps(2) infinite; }
.card:has(.badge.pending) { border-left-color: var(--ink-2); }
.toast .versus { margin-top: 10px; background: rgba(255, 255, 255, 0.2); }
.toast .versus > div { background: rgba(0, 0, 0, 0.25); }
.toast .versus > div + div { background: rgba(255, 255, 255, 0.08); }
.toast .versus-k { color: rgba(255, 255, 255, 0.7); }
.toast .versus s { color: rgba(255, 255, 255, 0.75); }

/* Reproductor sin vídeo (debates sin enlace de YouTube) */
.demo-player {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--surface);
  color: var(--ink);
}
.demo-stage { display: grid; place-items: center; text-align: center; }
.demo-stage .avatar { --size: 130px; margin: 0 auto 14px; }
.demo-stage .who { font-family: var(--mono); font-size: 1.4rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.demo-stage .party { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }
.demo-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--surface-2);
}
.demo-bar button {
  background: var(--ink);
  color: var(--blanco);
  border: 0;
  padding: 7px 12px;
  min-width: 44px;
  cursor: pointer;
  font-family: var(--mono);
}
.demo-bar input[type=range] { flex: 1; accent-color: var(--ink); }
.demo-bar .clock { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); }
.demo-player:has(.demo-caption) { grid-template-rows: 1fr auto auto; }
.demo-caption {
  margin: 0 auto 12px;
  max-width: 90%;
  min-height: 2.6em;
  padding: 4px 10px;
  background: var(--rotulo);
  color: var(--blanco);
  font-size: 15px;
  line-height: 1.3;
  text-align: center;
}
.demo-caption:empty { visibility: hidden; }
.demo-yt { font-family: var(--mono); font-size: 12px; white-space: nowrap; text-underline-offset: 3px; }

.feed-panel {
  display: flex;
  flex-direction: column;
  contain: size; /* la altura la marca el vídeo, no la lista */
  min-height: 360px;
  background-color: var(--surface);
}
.feed {
  list-style: none;
  margin: 0;
  padding: 14px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feed-empty { margin: 0 14px 14px; }
.feed:not(:empty) + .feed-empty { display: none; }

.card {
  --vc: var(--surface-2);
  --vt: var(--ink);
  flex-shrink: 0;
  background: var(--blanco);
  border-left: 4px solid var(--vc);
  padding: 13px 15px;
  cursor: pointer;
  animation: tile-in 0.35s ease-out both;
  transition: background 0.15s ease;
}
.card:hover { background: #fbfbfc; }
.card.focus { outline: 1.5px solid var(--ink); outline-offset: -1.5px; }
.card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.card-top .avatar { --size: 30px; }
.card-who {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex: 1;
  min-width: 0;
}
.card-time {
  font-family: var(--mono);
  font-size: 11.5px;
  background: var(--surface-2);
  border: 0;
  padding: 3px 7px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.card-time:hover { background: var(--ink); color: var(--blanco); }
.card-quote { margin: 0 0 10px; font-style: italic; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--vc);
  color: var(--vt);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}
.badge.pending { background: var(--surface-2); color: var(--ink-soft); }
.topic {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-left: 8px;
}
.card-title { font-weight: 600; margin-top: 9px; line-height: 1.4; }
.card-more { display: none; margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.card.open .card-more { display: block; animation: panel-in 0.25s ease-out both; }
.card-more p { margin: 0 0 8px; }
.card-more .correct { padding: 8px 10px; border-left: 3px solid var(--vc); background: var(--bg); color: var(--ink); }
.card-more ul { margin: 0; padding-left: 18px; }
.card-more a { text-underline-offset: 3px; text-decoration-color: var(--ink-soft); }

/* ── Línea de tiempo ──────────────────────────────────────────── */
.timeline { background-color: var(--surface); }
.legend {
  display: flex;
  gap: 6px 16px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 10.5px;
  letter-spacing: 0.1em;
}
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; background: var(--vc); }

.timeline-body { position: relative; padding: 12px 18px 18px; }
.axis { position: relative; height: 22px; margin-left: var(--label-w); font-size: 10.5px; color: var(--ink-soft); }
.axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.lanes { display: flex; flex-direction: column; gap: 8px; }
.lane { display: grid; grid-template-columns: var(--label-w) 1fr; align-items: center; height: 50px; }
.lane-label { display: flex; align-items: center; gap: 10px; min-width: 0; padding-right: 12px; }
.lane-label .avatar { --size: 34px; }
.lane-label span {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.track { position: relative; height: 100%; background: var(--bg); cursor: pointer; }
.turn {
  position: absolute;
  top: 0;
  bottom: 0;
  background: repeating-linear-gradient(-45deg, rgba(19, 19, 22, 0.1) 0 3px, transparent 3px 7px);
}
.turn.past { background: rgba(19, 19, 22, 0.16); }
.marker {
  --vt: var(--ink);
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--vt);
  background: var(--vc);
  border: 0;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 0 0 2px var(--bg);
  transition: transform 0.12s ease;
  animation: tile-in 0.3s ease-out both;
}
.marker.pending { background: var(--surface); outline: 1px dashed var(--ink-soft); color: var(--ink-soft); }
.marker:hover, .marker.focus { transform: scale(1.25); z-index: 2; }
.playhead-layer { position: absolute; top: 12px; bottom: 18px; left: calc(18px + var(--label-w)); right: 18px; pointer-events: none; }
.playhead { position: absolute; top: 0; bottom: 0; width: 1.5px; margin-left: -0.75px; background: var(--ink); }
.playhead::before {
  content: '';
  position: absolute;
  top: 0;
  left: -4.5px;
  width: 10px;
  height: 10px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.v-verdadero { --vc: var(--v-true); --vt: var(--blanco); }
.v-mayormente_verdadero { --vc: var(--v-mostly); --vt: var(--ink); }
.v-enganoso { --vc: var(--v-misleading); --vt: var(--ink); }
.v-falso { --vc: var(--v-false); --vt: var(--blanco); }
.v-no_verificable { --vc: var(--v-unverifiable); --vt: var(--blanco); }

@media (max-width: 1100px) {
  .stage { grid-template-columns: 1fr; }
  .feed-panel { contain: none; max-height: 520px; min-height: 0; }
}

@media (max-width: 640px) {
  :root { --label-w: 46px; }
  .app { padding: 20px 16px 36px; gap: 20px; }
  .cabecera-in { padding: 10px 16px; }
  .marca svg { width: 26px; height: 26px; }
  .marca-texto { font-size: 14px; letter-spacing: 0.1em; }
  .estado { display: none; }
  .segmentado button { padding: 6px 8px; letter-spacing: 0.06em; }
  .lane-label span { display: none; }
  .faces { grid-template-columns: 1fr; gap: 14px; }
  .face { padding: 14px; }
  .avatar { --size: 50px; }
  .face-score-num { font-size: 2rem; }
  .meter-body { padding: 16px 28px 12px; }
  .pin { width: 42px; margin-left: -21px; }
  .pin .avatar { --size: 38px; }
  .meter-labels span:nth-child(2), .meter-labels span:nth-child(3) { display: none; }
  .versus { grid-template-columns: 1fr; }
  .toast { bottom: 50px; left: 8px; right: 8px; gap: 6px; }
  .toast-verdict { min-width: 78px; padding: 8px; font-size: 9.5px; }
  .toast-verdict i { font-size: 20px; }
  .toast-title { font-size: 0.82rem; }
  .toast-body { padding: 8px 12px; }
  .toast .versus { display: none; } /* en móvil taparía el vídeo; sigue en el panel */
  .demo-stage .avatar { --size: 72px; margin-bottom: 8px; }
  .demo-stage .who { font-size: 1.05rem; }
  .timeline-body { padding: 10px 10px 14px; }
  .playhead-layer { left: calc(10px + var(--label-w)); right: 10px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Con subtítulos (versión sin vídeo) el rótulo va arriba para no taparlos. */
.player-wrap:has(.demo-caption) .toast { bottom: auto; top: 14px; }
