/* =========================================================================
   PALAG · secciones.css
   -------------------------------------------------------------------------
   Cada sección tiene su propia personalidad:
   Tapa (revista) · Nota · Bardo (tablero de corcho) · Posta (editorial)
   Tabla (tabla de posiciones) · Saga (mapa de niveles) · Party (cartas)
   Vicio (tickets de arcade) · Muro (fama vs. vergüenza) · Sótano (terminal)
   Comentarios · 404
   ========================================================================= */

/* =======================================================================
   LA TAPA
   ======================================================================= */
.tapa { padding-top: 22px; }
.tapa-franja {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 10px 0;
  font-family: var(--f-pixel);
  font-size: 9px;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--tinta-2);
  border-top: 4px solid var(--tinta);
  border-bottom: 1px solid var(--tinta);
}
.ticker {
  overflow: hidden;
  margin: 16px -16px 26px;
  color: #fff;
  background: var(--acento-2);
  border-block: 2px solid var(--tinta);
  transform: rotate(-1deg);
}
.ticker-pista {
  display: flex;
  width: max-content;
  padding: 6px 0 4px;
  font-family: var(--f-titulo);
  font-size: 23px;
  letter-spacing: .04em;
  animation: ticker 45s linear infinite;
}
.ticker-pista span { padding: 0 26px; white-space: nowrap; }
.ticker-pista span::before { content: '★ '; color: var(--neon-ambar); }
@keyframes ticker { to { transform: translateX(-50%); } }

.tapa-grilla { display: grid; gap: 22px; }
@media (min-width: 900px) { .tapa-grilla { grid-template-columns: 2.1fr 1fr; } }

.tapa-principal {
  position: relative;
  display: block;
  min-height: min(76vh, 640px);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #000;
  border: 3px solid var(--tinta);
  box-shadow: 10px 10px 0 var(--acento);
}
.tapa-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.tapa-principal:hover .tapa-foto { transform: scale(1.05); }
.tapa-principal::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 25%, rgba(0, 0, 0, .9)); }
.tapa-texto { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(18px, 3vw, 30px); }
.tapa-texto h1 {
  margin: 12px 0 10px;
  font-family: var(--f-titulo);
  font-size: clamp(46px, 7.4vw, 100px);
  font-weight: 400;
  line-height: .9;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .6);
}
.tapa-texto p { max-width: 46ch; margin: 0; font-size: 18px; color: #eee; }
.tapa-sticker {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  padding: 10px;
  text-align: center;
  font-family: var(--f-pixel);
  font-size: 9px;
  line-height: 1.5;
  color: #111;
  background: var(--neon-ambar);
  clip-path: polygon(50% 0, 61% 12%, 77% 6%, 80% 22%, 96% 26%, 89% 41%, 100% 54%, 86% 63%, 89% 80%, 72% 80%, 64% 96%, 50% 87%, 36% 96%, 28% 80%, 11% 80%, 14% 63%, 0 54%, 11% 41%, 4% 26%, 20% 22%, 23% 6%, 39% 12%);
  animation: sticker 3s ease-in-out infinite;
}
@keyframes sticker { 0%, 100% { transform: rotate(10deg) scale(1); } 50% { transform: rotate(16deg) scale(1.07); } }

.tapa-lineas {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  background: var(--carta);
  border: 3px solid var(--tinta);
}
.tapa-lineas ol { list-style: none; margin: 12px 0 18px; padding: 0; counter-reset: linea; }
.tapa-lineas li { counter-increment: linea; border-top: 1px dashed var(--linea); }
.tapa-lineas li a { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 13px 0; text-decoration: none; }
.tapa-lineas li a::before {
  content: counter(linea, decimal-leading-zero);
  font-family: var(--f-titulo);
  font-size: 40px;
  line-height: .9;
  color: var(--acento-2);
}
.tapa-lineas small { display: block; font-family: var(--f-pixel); font-size: 8px; text-transform: uppercase; color: var(--tinta-2); margin-bottom: 4px; }
.tapa-lineas strong { display: block; font-family: var(--f-titulo); font-size: 25px; font-weight: 400; line-height: 1.02; }
.tapa-lineas li a:hover strong { color: var(--acento); }
.barras { width: 150px; margin-top: auto; align-self: flex-end; color: var(--tinta); background: var(--carta); }

/* Hoja de contactos (tira de negativos) */
.contactos {
  position: relative;
  margin: 46px 0;
  padding: 34px 14px;
  overflow-x: auto;
  color: #ffc52b;
  background: #15110e;
  border-radius: 4px;
  box-shadow: var(--sombra);
  scrollbar-color: #ffc52b #15110e;
}
.contactos::before, .contactos::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  background: repeating-linear-gradient(90deg, transparent 0 10px, #f2eadc 10px 22px, transparent 22px 32px);
  opacity: .8;
  min-width: 100%;
}
.contactos::before { top: 8px; }
.contactos::after { bottom: 8px; }
.contactos-cab { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; font-family: var(--f-pixel); font-size: 8px; position: sticky; left: 0; }
.contactos-tira { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); gap: 10px; }
.contactos figure { margin: 0; }
.contactos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: sepia(.2) contrast(1.08); cursor: zoom-in; transition: filter .3s, transform .3s; }
.contactos img:hover { filter: none; transform: scale(1.03); }
.contactos figcaption { margin-top: 6px; font-family: var(--f-pixel); font-size: 7px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Módulos chicos */
.tapa-modulos { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 10px 0 50px; }
.mod {
  display: block;
  padding: 20px;
  text-decoration: none;
  background: var(--carta);
  border: 2px solid var(--tinta);
  transition: transform .25s, box-shadow .25s;
}
.mod:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--tinta); }
.mod h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-family: var(--f-pixel); font-size: 9px; font-weight: 400; text-transform: uppercase; color: var(--acento); }
.mod-tabla ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.mod-tabla li { display: grid; grid-template-columns: auto 36px 1fr auto; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--linea); counter-increment: t; }
.mod-tabla li::before { content: counter(t); font-family: var(--f-pixel); font-size: 12px; color: var(--acento-3); }
.mod-tabla img { width: 36px; height: 36px; object-fit: cover; border: 2px solid var(--tinta); }
.mod-tabla span { font-family: var(--f-titulo); font-size: 24px; line-height: 1; }
.mod-tabla b { font-family: var(--f-pixel); font-size: 11px; }
.mod-chiste { background: var(--acento); color: var(--sobre-acento); border-color: var(--acento); transform: rotate(-1.2deg); }
.mod-chiste:hover { transform: rotate(0) translateY(-4px); }
.mod-chiste h3 { color: inherit; }
.mod-chiste p { margin: 0 0 8px; font-family: var(--f-mano); font-size: 23px; line-height: 1.3; }
.mod-partida strong { display: block; font-family: var(--f-titulo); font-size: 34px; font-weight: 400; line-height: 1; }
.mod-res { font-family: var(--f-pixel); font-size: 13px; color: var(--acento-2); margin: 10px 0; }

.tapa-sub {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  font-family: var(--f-titulo);
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 400;
  line-height: 1;
}
.tapa-sub::after { content: ''; flex: 1; height: 4px; background: var(--tinta); }
.notas-grilla { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tarjeta-nota {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--carta);
  border: 2px solid var(--linea);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.tarjeta-nota:hover { transform: translateY(-5px) rotate(-.5deg); border-color: var(--tinta); box-shadow: 7px 7px 0 var(--acento-2); }
.tarjeta-nota img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tarjeta-nota > div { padding: 16px 18px 18px; display: grid; gap: 8px; justify-items: start; }
.tarjeta-nota h3 { margin: 0; font-family: var(--f-titulo); font-size: 30px; font-weight: 400; line-height: 1; }
.tarjeta-nota p { margin: 0; font-size: 15px; color: var(--tinta-2); }
.tarjeta-nota time { font-family: var(--f-pixel); font-size: 8px; color: var(--tinta-2); }

/* =======================================================================
   NOTA COMPLETA (y detalle de anécdota)
   ======================================================================= */
.nota { padding-top: 30px; }
.volver { display: inline-block; margin-bottom: 26px; font-family: var(--f-pixel); font-size: 9px; text-decoration: none; color: var(--acento); }
.volver:hover { text-decoration: underline; }
.nota-cab h1 {
  margin: 16px 0 14px;
  font-family: var(--f-titulo);
  font-size: clamp(48px, 9vw, 92px);
  font-weight: 400;
  line-height: .9;
}
.bajada { font-size: 21px; line-height: 1.45; color: var(--tinta-2); }
.firma { padding: 11px 0; margin: 0 0 24px; font-family: var(--f-pixel); font-size: 8px; line-height: 1.6; text-transform: uppercase; color: var(--tinta-2); border-block: 1px solid var(--linea); }
.nota-foto { margin: 0 0 30px; }
.nota-foto img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 3px solid var(--tinta); box-shadow: 8px 8px 0 var(--acento-3); cursor: zoom-in; }
.cuerpo { font-size: 19px; line-height: 1.75; }
.cuerpo > p:first-child::first-letter {
  float: left;
  padding: 8px 10px 0 0;
  font-family: var(--f-titulo);
  font-size: 5.4em;
  line-height: .78;
  color: var(--acento-2);
}
.cuerpo strong { background: linear-gradient(transparent 60%, color-mix(in srgb, var(--acento) 40%, transparent) 60%); }
.galeria { display: grid; gap: 10px; margin-bottom: 30px; }
.galeria img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 3px solid var(--tinta); cursor: zoom-in; }
.galeria-2 { grid-template-columns: 1fr 1fr; }
.galeria-3 { grid-template-columns: 1fr 1fr; }
.galeria-3 img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.galeria-4 { grid-template-columns: 1fr 1fr; }
.posta-detalle .chips { margin-bottom: 24px; }
.sello-grande { position: static !important; display: inline-block; font-size: 10px !important; }

/* =======================================================================
   EL BARDO — tablero de corcho
   ======================================================================= */
.bardo { padding-top: 30px; }
.bardo-cab { text-align: center; margin-bottom: 22px; }
.bardo-cab h1 {
  margin: 0;
  font-family: var(--f-mano);
  font-size: clamp(64px, 13vw, 140px);
  font-weight: 400;
  line-height: 1;
  color: var(--acento);
  transform: rotate(-3deg);
  text-shadow: 5px 5px 0 var(--acento-2);
}
.bardo-cab p { max-width: 52ch; margin: 14px auto 0; color: var(--tinta-2); }
.bardo-filtros { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.bardo-muro {
  columns: 3 270px;
  column-gap: 28px;
  padding: 34px 26px 10px;
  border-radius: 10px;
  background-color: #3b2a1c;
  background-image:
    radial-gradient(rgba(0, 0, 0, .25) 1.5px, transparent 1.6px),
    radial-gradient(rgba(255, 220, 170, .12) 1.5px, transparent 1.6px);
  background-size: 14px 14px, 22px 22px;
  background-position: 0 0, 7px 9px;
  box-shadow: inset 0 0 0 10px #241910, inset 0 0 40px rgba(0, 0, 0, .5);
}
[data-theme="claro"] .bardo-muro { background-color: #c99b67; box-shadow: inset 0 0 0 10px #8a5f36, inset 0 0 40px rgba(80, 40, 10, .3); }
.meme, .postit {
  position: relative;
  break-inside: avoid;
  margin: 0 0 30px;
  transform: rotate(var(--rot, 0deg));
  transition: transform .3s cubic-bezier(.2, 1.4, .4, 1), translate .7s, opacity .6s;
}
.meme:hover, .postit:hover { transform: rotate(0deg) scale(1.04); z-index: 2; }
.polaroid { padding: 12px 12px 16px; color: #1b1512; background: #fbf8f1; box-shadow: 0 12px 26px rgba(0, 0, 0, .4); }
.cinta {
  position: absolute;
  top: -13px;
  left: 50%;
  z-index: 2;
  width: 96px;
  height: 28px;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(255, 197, 43, .6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
.meme-img { position: relative; overflow: hidden; background: #000; }
.meme-img img { width: 100%; aspect-ratio: 1; object-fit: cover; cursor: zoom-in; }
.meme-arriba, .meme-abajo {
  position: absolute;
  left: 8px;
  right: 8px;
  text-align: center;
  font-family: Impact, var(--f-titulo), sans-serif;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  -webkit-text-stroke: 1.5px #000;
  text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000;
  pointer-events: none;
}
.meme-arriba { top: 8px; }
.meme-abajo { bottom: 8px; }
.polaroid figcaption { margin-top: 12px; font-family: var(--f-mano); font-size: 20px; line-height: 1.2; }
.polaroid figcaption small { display: block; margin-top: 4px; font-family: var(--f-texto); font-size: 13px; opacity: .65; }
.postit { padding: 30px 22px 20px; color: #1b1512; box-shadow: 0 12px 22px rgba(0, 0, 0, .35); }
.postit::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 35%, #ff9a8a, #b3200c 70%);
  box-shadow: 0 3px 4px rgba(0, 0, 0, .45);
}
.postit p { margin: 0; font-family: var(--f-mano); font-size: 23px; line-height: 1.3; }
.postit small { display: block; margin-top: 12px; font-size: 13px; opacity: .7; }
.postit-0 { background: #d6ff7a; }
.postit-1 { background: #ffb59e; }
.postit-2 { background: #ffe38c; }
.postit-3 { background: #ffb8d6; }

/* =======================================================================
   POSTA QUE PASÓ — editorial
   ======================================================================= */
.posta { padding-top: 30px; }
.posta-cab { display: grid; gap: 10px; padding-bottom: 24px; margin-bottom: 44px; border-bottom: 4px solid var(--tinta); }
.posta-cab h1 {
  margin: 0;
  font-family: var(--f-titulo);
  font-size: clamp(76px, 16vw, 190px);
  font-weight: 400;
  line-height: .8;
  text-transform: uppercase;
}
.posta-cab h1 em { font-style: normal; font-family: var(--f-mano); font-size: .42em; color: var(--acento-2); vertical-align: middle; text-transform: lowercase; }
.posta-cab p { margin: 0; font-size: 20px; }
.posta-cab small { color: var(--tinta-2); font-size: 14px; }
.historia { display: grid; gap: 26px; align-items: center; margin-bottom: 64px; }
@media (min-width: 820px) {
  .historia { grid-template-columns: 1.1fr 1fr; gap: 44px; }
  .historia:nth-child(even) .historia-foto { order: 2; }
}
.historia-foto { position: relative; display: block; border: 3px solid var(--tinta); box-shadow: -10px 10px 0 var(--acento-3); transition: transform .3s; }
.historia:nth-child(even) .historia-foto { box-shadow: 10px 10px 0 var(--acento-4); }
.historia-foto:hover { transform: rotate(-1deg) scale(1.01); }
.historia-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sello {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 10px;
  font-family: var(--f-pixel);
  font-size: 9px;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--acento-2);
  background: color-mix(in srgb, var(--carta) 92%, transparent);
  border: 3px double var(--acento-2);
  transform: rotate(-8deg);
}
.historia-num { display: block; font-family: var(--f-titulo); font-size: 96px; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--acento); }
.historia h2 { margin: 6px 0 10px; font-family: var(--f-titulo); font-size: clamp(36px, 4.6vw, 54px); font-weight: 400; line-height: .95; }
.historia h2 a { text-decoration: none; }
.historia h2 a:hover { color: var(--acento); }
.historia-meta { font-family: var(--f-pixel); font-size: 8px; line-height: 1.6; text-transform: uppercase; color: var(--tinta-2); }
.historia .chips { margin: 14px 0 20px; }

/* =======================================================================
   LA TABLA — tabla de posiciones
   ======================================================================= */
.tabla { padding-top: 34px; }
.tabla-cab { text-align: center; }
.tabla-cab h1 {
  margin: 0 0 14px;
  font-family: var(--f-pixel);
  font-size: clamp(30px, 7vw, 60px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--acento);
  text-shadow: var(--glow), 5px 5px 0 var(--acento-2);
}
.tabla-cab p { max-width: 56ch; margin: 0 auto; color: var(--tinta-2); }
.podio { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 10px; max-width: 620px; margin: 46px auto 40px; }
.podio-puesto { position: relative; display: grid; justify-items: center; text-align: center; }
.podio-puesto img { width: clamp(64px, 15vw, 100px); aspect-ratio: 1; object-fit: cover; margin-bottom: 8px; border: 3px solid var(--tinta); background: var(--carta); }
.podio-copa { position: absolute; top: -34px; color: var(--neon-ambar); font-size: 30px; animation: saltito 1.2s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(255, 197, 43, .6)); }
@keyframes saltito { 50% { transform: translateY(-7px); } }
.podio-nombre { font-family: var(--f-titulo); font-size: clamp(22px, 4vw, 30px); line-height: 1; }
.podio-pts { margin: 4px 0 10px; font-family: var(--f-pixel); font-size: 8px; color: var(--tinta-2); }
.podio-bloque {
  display: grid;
  place-items: start center;
  width: 100%;
  padding-top: 12px;
  font-family: var(--f-pixel);
  font-size: clamp(20px, 5vw, 32px);
  color: #111;
  border: 3px solid var(--tinta);
  border-bottom: 0;
  background-image: repeating-linear-gradient(0deg, transparent 0 12px, rgba(0, 0, 0, .08) 12px 14px);
}
.p1 .podio-bloque { height: 170px; background-color: var(--neon-ambar); }
.p2 .podio-bloque { height: 120px; background-color: #d9d3c9; }
.p3 .podio-bloque { height: 90px; background-color: #d88a4c; }

.posiciones { list-style: none; margin: 0; padding: 0; border: 3px solid var(--tinta); background: var(--carta); box-shadow: 8px 8px 0 var(--acento); }
.fila {
  display: grid;
  grid-template-columns: 34px 48px 1fr auto;
  grid-template-areas: "pos av info pts" ". . extra extra";
  align-items: center;
  gap: 8px 12px;
  padding: 13px 14px;
  border-top: 1px solid var(--linea);
}
.fila:first-child { border-top: 0; }
.fila:nth-child(1) .fila-pos { color: var(--neon-ambar); }
.fila-pos { grid-area: pos; font-family: var(--f-pixel); font-size: 15px; color: var(--acento); }
.fila-av { grid-area: av; }
.fila-av img { width: 48px; height: 48px; object-fit: cover; border: 2px solid var(--tinta); }
.fila-info { grid-area: info; min-width: 0; }
.fila-nombre { display: block; font-family: var(--f-titulo); font-size: 27px; line-height: 1; }
.barra { display: block; height: 8px; margin-top: 7px; background: var(--bg-2); overflow: hidden; }
.barra i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--acento) 0 8px, var(--acento-3) 8px 10px); transition: width 1.3s cubic-bezier(.2, .8, .2, 1) .2s; }
.visto .barra i { width: var(--p); }
.fila-extra { grid-area: extra; display: flex; flex-wrap: wrap; gap: 6px; }
.chip-logro .ico { color: var(--acento-3); }
.chip-premio { border-color: var(--acento-3); }
.chip-premio .ico { color: var(--acento-3); }
.fila-pts { grid-area: pts; display: grid; justify-items: end; font-family: var(--f-pixel); font-size: 16px; line-height: 1.2; }
.fila-pts small { font-size: 7px; color: var(--tinta-2); }
.tend { font-size: 10px; margin-top: 4px; }
.tend.sube { color: var(--acento); }
.tend.baja { color: var(--acento-2); }
.tend.igual { color: var(--tinta-2); }
.colista { cursor: pointer; }
.colista:hover { background: var(--carta-2); }
@media (min-width: 760px) {
  .fila { grid-template-columns: 50px 56px 1.1fr 1.7fr 90px; grid-template-areas: "pos av info extra pts"; padding: 14px 20px; }
  .fila-av img { width: 56px; height: 56px; }
}

/* =======================================================================
   LA SAGA — mapa de niveles
   ======================================================================= */
.saga { padding-top: 34px; }
.saga-cab { text-align: center; margin-bottom: 46px; }
.saga-cab h1 {
  margin: 6px 0 8px;
  font-family: var(--f-titulo);
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 400;
  line-height: .85;
  color: var(--acento);
  background: linear-gradient(180deg, var(--acento) 0 50%, var(--acento-3) 50% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.saga-cab p:last-child { color: var(--tinta-2); max-width: 48ch; margin: 0 auto; }
.saga-mapa { position: relative; max-width: 980px; margin: 0 auto; }
.saga-linea {
  position: absolute;
  top: 0;
  bottom: 60px;
  left: 28px;
  width: 6px;
  background: repeating-linear-gradient(180deg, var(--linea) 0 10px, transparent 10px 18px);
}
.saga-progreso { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: linear-gradient(180deg, var(--acento), var(--acento-2)); box-shadow: var(--glow); }
.nivel { position: relative; padding-left: 76px; margin-bottom: 36px; }
.nivel-nodo {
  position: absolute;
  top: 8px;
  left: 6px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: var(--acento);
  background: var(--bg);
  border: 3px solid var(--acento);
  box-shadow: var(--glow);
  transition: transform .3s;
}
.nivel-nodo .ico { width: 26px; height: 26px; }
.nivel:hover .nivel-nodo { transform: scale(1.15) rotate(-6deg); }
.nivel-carta { position: relative; padding: 18px 20px; background: var(--carta); border: 2px solid var(--linea); transition: border-color .3s, box-shadow .3s; }
.nivel:hover .nivel-carta { border-color: var(--acento); box-shadow: 6px 6px 0 var(--acento); }
.nivel-num { font-family: var(--f-pixel); font-size: 10px; color: var(--acento-2); }
.nivel time { display: block; margin-top: 6px; font-family: var(--f-pixel); font-size: 8px; line-height: 1.6; color: var(--tinta-2); }
.nivel h2 { margin: 8px 0 8px; font-family: var(--f-titulo); font-size: 36px; font-weight: 400; line-height: 1; }
.nivel p { margin: 0; color: var(--tinta-2); }
.nivel-foto { margin-top: 14px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; cursor: zoom-in; }
@media (min-width: 820px) {
  .saga-linea { left: 50%; transform: translateX(-50%); }
  .nivel { width: 50%; padding: 0 60px 0 0; }
  .nivel.der { margin-left: 50%; padding: 0 0 0 60px; }
  .nivel-nodo { left: auto; right: -25px; }
  .nivel.der .nivel-nodo { right: auto; left: -25px; }
  .nivel.izq .nivel-carta { text-align: right; }
}
.saga-fin {
  position: relative;
  z-index: 1;
  display: table;
  margin: 20px auto 0;
  padding: 14px 16px;
  font-family: var(--f-pixel);
  font-size: 14px;
  color: var(--acento);
  background: var(--bg);
  border: 3px solid var(--acento);
}

/* =======================================================================
   LA PARTY — cartas que se dan vuelta
   ======================================================================= */
.party { padding-top: 34px; }
.party-cab { text-align: center; margin-bottom: 34px; }
.party-cab h1 { margin: 6px 0; font-family: var(--f-titulo); font-size: clamp(80px, 14vw, 150px); font-weight: 400; line-height: .85; }
.party-cab h1 span { color: var(--acento-4); text-shadow: var(--glow-2); }
.party-cab p { margin: 0 0 6px; color: var(--tinta-2); }
.party-contador { font-family: var(--f-pixel); font-size: 10px; margin-top: 12px !important; }
.party-contador b { color: var(--acento); }
.cartas { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 28px; }
.carta { height: 460px; perspective: 1300px; cursor: pointer; outline-offset: 6px; }
.carta-int { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3, 1.35, .45, 1); }
.carta:hover .carta-int { transform: rotateY(-8deg) rotateX(3deg); }
.carta.volteada .carta-int { transform: rotateY(180deg); }
.carta-cara {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding: 14px;
  border-radius: 16px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.frente {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(160deg, var(--carta-2), var(--carta));
  border: 3px solid var(--tinta);
  box-shadow: var(--sombra);
}
.frente::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 45%, rgba(196, 255, 46, .15) 50%, transparent 62%);
  transform: translateX(-110%);
  transition: transform .9s;
}
.carta:hover .frente::before { transform: translateX(110%); }
.carta-marco { width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); border: 3px solid var(--tinta); border-radius: 8px; }
.carta-marco img { width: 100%; height: 100%; object-fit: cover; }
.frente h2 { margin: 14px 0 0; font-family: var(--f-titulo); font-size: 42px; font-weight: 400; line-height: 1; }
.carta-nombre { margin: 2px 0 0; font-size: 14px; color: var(--tinta-2); }
.carta-pista { display: flex; align-items: center; gap: 6px; margin-top: auto; font-family: var(--f-pixel); font-size: 8px; color: var(--acento); animation: parpadeo 1.3s steps(2) infinite; }
.dorso {
  transform: rotateY(180deg);
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.45;
  color: #2b1d12;
  background: #f1e4c8;
  background-image: radial-gradient(ellipse at 50% 0, rgba(255, 255, 255, .6), transparent 60%);
  border: 3px solid #6b4a2b;
  box-shadow: inset 0 0 40px rgba(107, 74, 43, .4), var(--sombra);
}
.dorso h2 { margin: 0 0 8px; padding-bottom: 6px; text-align: center; font-family: var(--f-titulo); font-size: 34px; font-weight: 400; line-height: 1; color: #8a1f0f; border-bottom: 2px solid #6b4a2b; }
.dorso dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; margin: 10px 0 4px; }
.dorso dt { padding-top: 4px; font-family: var(--f-pixel); font-size: 7px; text-transform: uppercase; color: #6b4a2b; }
.dorso dd { margin: 0; font-weight: 700; }
.dorso h3 { margin: 12px 0 3px; font-family: var(--f-pixel); font-size: 8px; font-weight: 400; color: #8a1f0f; }
.dorso p { margin: 0; }
.dorso blockquote { margin: 14px 0 0; text-align: center; font-family: var(--f-mano); font-size: 18px; line-height: 1.25; color: #6b2a12; }

/* =======================================================================
   EL VICIO — arcade y tickets
   ======================================================================= */
.vicio { padding-top: 34px; }
.vicio-cab {
  position: relative;
  overflow: hidden;
  padding: 44px 16px 34px;
  text-align: center;
  color: #f3ece1;
  background: #0b0908;
  border: 4px solid var(--neon-rosa);
  border-radius: 22px;
  box-shadow: 0 0 0 4px #0b0908, 0 0 40px rgba(255, 95, 162, .35), inset 0 0 40px rgba(255, 95, 162, .2);
}
/* piso de grilla */
.vicio-cab::before {
  content: '';
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -10px;
  height: 60%;
  background-image: linear-gradient(rgba(196, 255, 46, .35) 2px, transparent 2px), linear-gradient(90deg, rgba(196, 255, 46, .35) 2px, transparent 2px);
  background-size: 44px 30px;
  transform: perspective(300px) rotateX(60deg);
  transform-origin: bottom;
  animation: piso 1.6s linear infinite;
  mask-image: linear-gradient(transparent, #000 70%);
  -webkit-mask-image: linear-gradient(transparent, #000 70%);
}
@keyframes piso { to { background-position: 0 30px; } }
.vicio-cab > * { position: relative; }
.vicio-cab h1 {
  margin: 0;
  font-family: var(--f-pixel);
  font-size: clamp(30px, 8vw, 66px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--neon-rosa);
  text-shadow: 0 0 12px var(--neon-rosa), 5px 5px 0 var(--neon-ambar);
}
.insert-coin { margin: 18px 0 8px; font-family: var(--f-pixel); font-size: 12px; color: var(--neon-ambar); animation: parpadeo 1s steps(2) infinite; }
.vicio-bajada { margin: 0; color: #cfc4b5; }
.vicio-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 28px 0; }
.stat { padding: 18px; background: var(--carta); border: 2px solid var(--tinta); }
.stat b { display: block; font-family: var(--f-pixel); font-size: clamp(18px, 3vw, 26px); font-weight: 400; line-height: 1.3; color: var(--acento); overflow-wrap: anywhere; }
.stat span { font-size: 14px; color: var(--tinta-2); }
.victorias { padding: 20px; margin-bottom: 26px; background: var(--carta); border: 2px dashed var(--linea); }
.victorias h2 { margin-bottom: 14px; }
.vic-fila { display: grid; grid-template-columns: 110px 1fr 30px; align-items: center; gap: 12px; padding: 5px 0; }
.vic-fila span:first-child { font-family: var(--f-titulo); font-size: 22px; line-height: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vic-barra {
  height: 16px;
  width: calc(var(--n) / var(--max) * 100%);
  background: repeating-linear-gradient(90deg, var(--acento-4) 0 12px, transparent 12px 15px);
}
.vic-fila b { font-family: var(--f-pixel); font-size: 12px; text-align: right; }
.filtros { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin-bottom: 18px; scrollbar-width: thin; }
.tickets { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.ticket { position: relative; display: grid; grid-template-columns: 88px 1fr; align-content: start; background: var(--carta); border: 2px solid var(--tinta); transition: transform .25s, box-shadow .25s; }
.ticket:hover { transform: translateY(-4px) rotate(.6deg); box-shadow: 6px 6px 0 var(--acento-4); }
.ticket::before, .ticket::after {
  content: '';
  position: absolute;
  left: 78px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--tinta);
}
.ticket::before { top: -10px; clip-path: inset(50% 0 0 0); }
.ticket::after { bottom: -10px; clip-path: inset(0 0 50% 0); }
.ticket-talon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 10px;
  color: #111;
  background: var(--neon-ambar);
  border-right: 3px dashed #111;
}
.plataforma { font-family: var(--f-pixel); font-size: 10px; line-height: 1.4; }
.ticket-talon time { font-family: var(--f-pixel); font-size: 7px; line-height: 1.6; }
.ticket-cuerpo { padding: 15px 16px 16px; min-width: 0; }
.ticket h3 { margin: 0; font-family: var(--f-titulo); font-size: 30px; font-weight: 400; line-height: 1; }
.resultado { margin: 8px 0; font-family: var(--f-pixel); font-size: 15px; line-height: 1.4; color: var(--acento-2); }
.ganador { display: flex; align-items: center; gap: 7px; margin: 0 0 4px; font-weight: 700; }
.ganador .ico { color: var(--acento-3); }
.participantes { margin: 0 0 8px; font-size: 14px; color: var(--tinta-2); }
.ticket-nota { margin: 0; font-size: 15px; font-style: italic; }
.ticket-foto { grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; cursor: zoom-in; border-top: 2px solid var(--tinta); }
.vicio-sub { margin: 0 0 14px; }

/* ---------- Estante de cartuchos (juegos del grupo) ---------- */
.estante { margin: 0 0 40px; }
.estante-ayuda { margin: -6px 0 0; font-family: var(--f-pixel); font-size: 8px; color: var(--tinta-2); }
.cartuchos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 34px 16px; padding-top: 104px; }

/* El cartucho es una caja que gira; las dos caras están apiladas en la misma celda */
.cartucho { position: relative; perspective: 1100px; cursor: pointer; outline-offset: 6px; transition: transform .2s; }
.cartucho:hover { transform: translateY(-6px); }
.cart-int { display: grid; height: 100%; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.3, 1.3, .45, 1); }
.cartucho.volteado .cart-int { transform: rotateY(180deg); }
.cart-cara {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 14px 20px;
  color: #fff;
  /* plástico: brillo arriba, sombra abajo y granito */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .45 0 0 0 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(255, 255, 255, .16), transparent 30%, transparent 70%, rgba(0, 0, 0, .22)),
    var(--cart);
  border: 3px solid #111;
  border-radius: 12px 12px 5px 5px;
  box-shadow: inset -6px -6px 0 rgba(0, 0, 0, .25), inset 6px 6px 0 rgba(255, 255, 255, .15), 5px 5px 0 #000;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* agarre: estrías a los costados, en la parte de abajo */
.cart-cara::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 10px;
  height: 38%;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .35) 0 2px, rgba(255, 255, 255, .14) 2px 3px, transparent 3px 7px) left / 6px 100% no-repeat,
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .35) 0 2px, rgba(255, 255, 255, .14) 2px 3px, transparent 3px 7px) right / 6px 100% no-repeat;
}
.cart-dorso { transform: rotateY(180deg); background-color: color-mix(in srgb, var(--cart) 78%, #000); }
.cart-ranura {
  position: absolute;
  top: 6px;
  left: 14px;
  right: 14px;
  height: 13px;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .3) 0 4px, transparent 4px 8px);
}
.cart-ranura em {
  padding: 0 6px;
  font-family: var(--f-pixel);
  font-size: 6px;
  font-style: normal;
  letter-spacing: 1px;
  color: rgba(0, 0, 0, .45);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, .22);
  background: var(--cart);
}
.cart-tornillo {
  position: absolute;
  bottom: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(45deg, transparent 42%, #111 42% 58%, transparent 58%), radial-gradient(#cfd4da, #6b7178);
  box-shadow: inset 0 0 0 1px #111;
}
.cart-tornillo.izq { left: 12px; }
.cart-tornillo.der { right: 12px; }
.cart-gira {
  align-self: center;
  margin-top: auto;
  font-family: var(--f-pixel);
  font-size: 7px;
  color: rgba(255, 255, 255, .75);
  text-shadow: 1px 1px 0 #000;
}
.cartucho:hover .cart-frente .cart-gira { color: var(--neon-ambar); }
.cart-etiqueta {
  position: relative;
  padding: 8px 8px 10px;
  color: #111;
  background: linear-gradient(var(--cart), var(--cart)) top / 100% 5px no-repeat, #f3ece1;
  border: 2px solid #111;
  overflow: hidden;
}
/* brillo de etiqueta plastificada */
.cart-etiqueta::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .45) 45%, transparent 55%) -120% 0 / 250% 100% no-repeat;
  transition: background-position .7s;
}
.cartucho:hover .cart-etiqueta::after { background-position: 220% 0; }
.cart-portada { aspect-ratio: 16 / 10; margin: 0 0 6px; overflow: hidden; background: #1d2b53; border: 2px solid #111; }
.cart-portada img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cart-pixel { display: grid; place-items: center; height: 100%; background: linear-gradient(#1d2b53, #3a5fa8); }
.cart-pixel svg { width: 62%; height: auto; }
.cart-pos { font-family: var(--f-pixel); font-size: 9px; color: #111; opacity: .6; }
.cart-etiqueta h3 { margin: 4px 0 2px; font-family: var(--f-titulo); font-size: 28px; font-weight: 400; line-height: 1; overflow-wrap: break-word; }
.cart-etiqueta small { display: block; font-size: 12px; line-height: 1.3; color: #4a4038; }
.cart-num { margin: 0; font-family: var(--f-pixel); font-size: 8px; text-shadow: 2px 2px 0 #000; }
.cart-num b { display: block; margin-bottom: 3px; font-size: 18px; font-weight: 400; }
.cart-dias { margin: 0; font-size: 13px; line-height: 1.3; text-shadow: 1px 1px 0 #000; }
.cart-barra { height: 8px; background: rgba(0, 0, 0, .38); }
.cart-barra::after { content: ''; display: block; height: 100%; min-width: 3px; width: calc(var(--n) / var(--max) * 100%); background: var(--neon-ambar); }
.cart-pines {
  position: absolute;
  left: 24%;
  right: 24%;
  bottom: -14px;
  height: 11px;
  background: repeating-linear-gradient(90deg, #d9a51c 0 5px, #6b4f10 5px 8px);
  border: 2px solid #111;
  border-top: 0;
}
.cart-top h3 { font-size: clamp(40px, 6vw, 58px); }
.cart-top .cart-num b { font-size: clamp(26px, 4vw, 36px); }

/* Dorso: la ficha técnica */
.cart-ficha { display: flex; flex-direction: column; gap: 8px; padding: 10px; color: #111; background: #f3ece1; border: 2px solid #111; }
.cart-ficha h4 { margin: 0; font-family: var(--f-titulo); font-size: 22px; font-weight: 400; line-height: 1; }
.cart-ficha dl { display: grid; gap: 3px; margin: 0; }
.cart-ficha dl div { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 3px; border-bottom: 1px dashed #b9ab98; }
.cart-ficha dt { font-size: 12px; color: #4a4038; }
.cart-ficha dd { margin: 0; font-family: var(--f-pixel); font-size: 9px; }
.cart-sub { margin: 4px 0 0; font-family: var(--f-pixel); font-size: 7px; color: #4a4038; }
.cart-quienes { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.cart-quienes li { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 6px; font-size: 12px; }
.cart-quienes i { height: 7px; background: #d9cdbb; }
.cart-quienes i::after { content: ''; display: block; height: 100%; min-width: 3px; width: calc(var(--n) / var(--max) * 100%); background: var(--cart); }
.cart-quienes b { font-family: var(--f-pixel); font-size: 8px; font-weight: 400; }
.cart-nota { margin: 0; font-size: 12px; font-style: italic; line-height: 1.3; color: #4a4038; }

/* ---------- La consola donde va enchufado el más jugado ---------- */
.consola-zona { grid-column: 1 / -1; }
.consola-equipo { display: flex; align-items: flex-end; }
.equipo-izq { display: flex; flex-direction: column; width: min(100%, 340px); flex-shrink: 0; }
.equipo-der { display: flex; flex-direction: column; width: min(100%, 290px); }
.consola-equipo .cart-top { position: relative; z-index: 1; margin: 0 26px -46px; }
.consola-equipo .cart-top .cart-cara { padding-bottom: 60px; }
.consola-equipo .cart-top:hover { transform: translateY(-12px); }
.consola {
  position: relative;
  z-index: 2;
  height: 128px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 40%, rgba(0, 0, 0, .3)),
    #3b3742;
  border: 3px solid #111;
  border-radius: 8px 8px 14px 14px;
  box-shadow: inset 0 6px 0 rgba(255, 255, 255, .1), 6px 6px 0 #000;
}
.consola-ranura { position: absolute; top: -3px; left: 18px; right: 18px; height: 16px; background: #0b0a0d; border: 3px solid #111; border-top: 0; border-radius: 0 0 6px 6px; }
.consola-rayas { position: absolute; left: 16px; right: 16px; top: 34px; height: 14px; background: linear-gradient(var(--neon-ambar) 0 3px, transparent 3px 6px, #c8352b 6px 9px, transparent 9px 12px, #3a5fa8 12px 15px); }
.consola-marca { position: absolute; left: 16px; bottom: 16px; font-family: var(--f-titulo); font-size: 26px; letter-spacing: 1px; color: #d9d4cc; }
.consola-marca b { font-weight: 400; color: var(--neon-ambar); }
.consola-led { position: absolute; right: 16px; top: 62px; display: flex; align-items: center; gap: 6px; font-family: var(--f-pixel); font-size: 6px; color: #a9a3b0; }
.consola-led i { width: 9px; height: 9px; border-radius: 50%; background: #3ae05a; box-shadow: 0 0 8px #3ae05a, 0 0 2px #fff inset; animation: led 2.4s steps(1) infinite; }
@keyframes led { 0%, 88% { opacity: 1; } 92% { opacity: .3; } 96% { opacity: 1; } }
.consola-botones { position: absolute; right: 16px; bottom: 14px; display: flex; gap: 8px; }
.consola-botones i { padding: 5px 7px; font-family: var(--f-pixel); font-size: 6px; font-style: normal; color: #ddd; background: #24212a; border: 2px solid #111; box-shadow: 0 3px 0 #111; }
/* cable de la consola a la tele (y al joystick) */
.consola-cable { flex: 0 0 60px; height: 150px; margin: 0 -3px 60px -3px; border: 5px solid #6b6573; border-left: 0; border-top: 0; border-radius: 0 0 30px 0; filter: drop-shadow(2px 2px 0 #000); }
.tele {
  position: relative;
  padding: 14px 14px 30px;
  background: linear-gradient(180deg, #8a5a33, #5e3a1e);
  border: 3px solid #111;
  border-radius: 14px;
  box-shadow: 6px 6px 0 #000;
}
.tele-pantalla { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #000; border: 3px solid #111; border-radius: 18px / 14px; }
.tele-pantalla img, .tele-pantalla .cart-pixel { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.2) contrast(1.1); }
.tele-pantalla::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .28) 0 2px, transparent 2px 4px), radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .55));
  animation: tele 6s linear infinite;
}
@keyframes tele { 0%, 96% { opacity: 1; } 97% { opacity: .6; } 98% { opacity: 1; } }
.tele-texto { position: absolute; left: 8px; bottom: 8px; z-index: 1; font-family: var(--f-pixel); font-size: 7px; line-height: 1.6; color: #fff; text-shadow: 2px 2px 0 #000; animation: parpadeo 1.3s steps(2) infinite; }
.tele-perillas { position: absolute; right: 16px; bottom: 7px; display: flex; gap: 8px; }
.tele-perillas i { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(#cfc4b5, #6b5f50); border: 2px solid #111; }
.joy {
  align-self: center;
  position: relative;
  width: 150px;
  height: 60px;
  margin-top: 18px;
  background: #3b3742;
  border: 3px solid #111;
  border-radius: 30px;
  box-shadow: 5px 5px 0 #000;
}
.joy::before { content: ''; position: absolute; left: 50%; top: -21px; width: 5px; height: 18px; background: #6b6573; }
.joy-cruz { position: absolute; left: 20px; top: 50%; width: 30px; height: 30px; transform: translateY(-50%); background: linear-gradient(#111, #111) center / 10px 100% no-repeat, linear-gradient(#111, #111) center / 100% 10px no-repeat; }
.joy-ab { position: absolute; right: 18px; top: 50%; display: flex; gap: 8px; transform: translateY(-50%) rotate(-20deg); }
.joy-ab i { width: 16px; height: 16px; border-radius: 50%; background: #c8352b; border: 2px solid #111; }
.joy-ab i + i { background: var(--neon-ambar); }
/* en pantallas angostas: todo uno abajo del otro */
@media (max-width: 760px) {
  .consola-equipo { flex-direction: column; align-items: stretch; max-width: 340px; }
  .equipo-izq, .equipo-der { width: 100%; }
  .consola-cable { flex: 0 0 34px; width: 5px; height: 34px; margin: 0 auto; border: 0; border-radius: 0; background: #6b6573; }
  .tele { margin: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cart-int { transition: none; }
  .consola-led i, .tele-pantalla::after, .tele-texto { animation: none; }
}
.cart-sticker {
  position: absolute;
  z-index: 2;
  top: -18px;
  right: -6px;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  font-family: var(--f-pixel);
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
  color: #111;
  background: var(--neon-ambar);
  clip-path: polygon(50% 0, 61% 18%, 82% 10%, 80% 32%, 100% 40%, 85% 56%, 96% 76%, 74% 78%, 68% 100%, 50% 86%, 32% 100%, 26% 78%, 4% 76%, 15% 56%, 0 40%, 20% 32%, 18% 10%, 39% 18%);
  transform: rotate(12deg);
  animation: sticker 1.4s ease-in-out infinite;
}
@keyframes sticker { 50% { transform: rotate(12deg) scale(1.08); } }

/* El muñequito que sale del cartucho más jugado y se vuelve a esconder */
.saltarin { position: absolute; left: 16px; bottom: 100%; width: 180px; height: 116px; overflow: hidden; pointer-events: none; }
.saltarin-bicho { position: absolute; left: 10px; bottom: 0; width: 84px; transform: translateY(105%); animation: saltar 5s ease-in-out infinite; }
.saltarin-bicho svg { display: block; width: 84px; height: auto; }
.saltarin-globo {
  position: absolute;
  left: 82px;
  top: 2px;
  padding: 6px 7px;
  font-family: var(--f-pixel);
  font-size: 9px;
  white-space: nowrap;
  color: #111;
  background: #fff;
  border: 2px solid #111;
  box-shadow: 3px 3px 0 #000;
  opacity: 0;
  animation: globo 5s steps(1) infinite;
}
@keyframes saltar {
  0%, 36% { transform: translateY(105%); }
  46% { transform: translateY(-18%); }
  53% { transform: translateY(0); }
  59% { transform: translateY(-7%) rotate(-5deg); }
  65% { transform: translateY(0) rotate(5deg); }
  72% { transform: translateY(0) rotate(0); }
  84%, 100% { transform: translateY(105%); }
}
@keyframes globo { 0% { opacity: 0; } 50% { opacity: 1; } 74% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .saltarin-bicho { animation: none; transform: translateY(30%); }
  .saltarin-globo { animation: none; opacity: 1; }
}

/* ---------- Fichas de vicio (una por persona) ---------- */
.fichas-vicio { margin: 0 0 40px; }
.fichas-grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 14px; }
.ficha-vicio { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--carta); border: 2px solid var(--tinta); box-shadow: 5px 5px 0 var(--acento); }
.ficha-vicio:nth-child(3n+2) { box-shadow: 5px 5px 0 var(--acento-4); }
.ficha-vicio:nth-child(3n) { box-shadow: 5px 5px 0 var(--acento-3); }
.ficha-vicio header { display: flex; align-items: center; gap: 12px; }
.ficha-avatar img { display: block; width: 58px; height: 58px; object-fit: cover; border: 2px solid var(--tinta); }
.ficha-p { font-family: var(--f-pixel); font-size: 8px; color: var(--acento-2); }
.ficha-vicio h3 { margin: 2px 0 0; font-family: var(--f-titulo); font-size: 32px; font-weight: 400; line-height: 1; }
.ficha-alma { margin: 0; }
.ficha-alma small { display: block; font-family: var(--f-pixel); font-size: 7px; text-transform: uppercase; color: var(--tinta-2); }
.ficha-alma b { font-family: var(--f-titulo); font-size: 26px; font-weight: 400; line-height: 1.1; color: var(--acento); }
.ficha-top { margin: 0; padding: 0; list-style: none; }
.ficha-top li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 15px; border-bottom: 1px dashed var(--linea); }
.ficha-top b { font-family: var(--f-pixel); font-size: 10px; font-weight: 400; }
.ficha-nivel { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; margin-top: auto; }
.ficha-nivel span { font-family: var(--f-pixel); font-size: 7px; text-transform: uppercase; color: var(--tinta-2); }
.ficha-nivel i { height: 10px; background: linear-gradient(90deg, var(--acento-2) calc(var(--n) / var(--max) * 100%), var(--linea) 0); }
.ficha-nivel b { font-family: var(--f-pixel); font-size: 10px; font-weight: 400; }
.ficha-nada { margin: 0; font-style: italic; color: var(--tinta-2); }

/* =======================================================================
   GLORIA Y PAPELÓN
   ======================================================================= */
.muro { padding-top: 34px; }
.muro-cab { text-align: center; margin-bottom: 26px; }
.muro-cab h1 { margin: 0 0 12px; font-family: var(--f-titulo); font-size: clamp(60px, 11vw, 132px); font-weight: 400; line-height: .9; }
.gloria { color: var(--acento-3); }
:root:not([data-theme="claro"]) .gloria { text-shadow: 0 0 24px rgba(255, 197, 43, .5); }
.papelon { display: inline-block; color: var(--acento-2); transform: rotate(4deg); }
.y { font-family: var(--f-mano); font-size: .45em; color: var(--tinta-2); }
.muro-cab p { max-width: 52ch; margin: 0 auto; color: var(--tinta-2); }
.muro-switch { display: flex; justify-content: center; gap: 8px; margin-bottom: 22px; }
.muro-columnas { display: grid; gap: 26px; }
@media (min-width: 860px) {
  .muro-columnas { grid-template-columns: 1fr 1fr; }
  .muro-switch { display: none; }
}
@media (max-width: 859px) {
  .muro-columnas[data-ver="fama"] .verguenza,
  .muro-columnas[data-ver="verguenza"] .fama { display: none; }
}
.muro-col { padding: 24px 18px; border-radius: 6px; }
.muro-col h2 { margin: 0 0 26px; text-align: center; font-family: var(--f-pixel); font-size: 13px; font-weight: 400; line-height: 1.5; text-transform: uppercase; }
.fama { background: linear-gradient(180deg, rgba(255, 197, 43, .16), transparent 60%), var(--carta); border: 4px double var(--acento-3); }
.fama h2 { color: var(--acento-3); }
.verguenza { background: repeating-linear-gradient(-45deg, rgba(255, 79, 43, .07) 0 14px, transparent 14px 28px), var(--carta); border: 3px solid var(--acento-2); }
.verguenza h2 span { display: inline-block; padding: 8px 14px; color: #111; background: var(--neon-ambar); border-block: 4px solid #111; transform: rotate(-2deg); box-shadow: 0 0 0 4px var(--neon-ambar); }
.momento { position: relative; margin-bottom: 24px; padding: 14px; background: var(--bg-2); }
.momento img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
.momento h3 { margin: 12px 0 4px; font-family: var(--f-titulo); font-size: 32px; font-weight: 400; line-height: 1; }
.quien { margin: 0 0 8px; font-family: var(--f-pixel); font-size: 8px; line-height: 1.6; color: var(--tinta-2); }
.momento p:last-child { margin: 0; }
.fama .momento { border: 6px solid; border-image: linear-gradient(135deg, #ffe48a, #b8860b, #fff2b8, #b8860b) 1; }
.estrella-fama { position: absolute; top: -16px; left: -14px; z-index: 1; font-size: 30px; color: var(--neon-ambar); filter: drop-shadow(0 0 6px rgba(255, 197, 43, .8)); animation: saltito 2s ease-in-out infinite; }
.verguenza .momento { border: 2px dashed var(--acento-2); transform: rotate(var(--rot, 0deg)); }
.verguenza .momento img { filter: grayscale(1) contrast(1.2); }
.sello-culpable {
  position: absolute;
  top: 26px;
  right: 22px;
  z-index: 1;
  padding: 6px 9px;
  font-family: var(--f-pixel);
  font-size: 11px;
  color: var(--acento-2);
  background: color-mix(in srgb, var(--carta) 88%, transparent);
  border: 3px solid var(--acento-2);
  transform: rotate(12deg);
}

/* =======================================================================
   EL SÓTANO (secreto)
   ======================================================================= */
.sotano { padding-top: 34px; }
.terminal {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 26px clamp(16px, 4vw, 34px);
  overflow: hidden;
  font-family: var(--f-pixel);
  font-size: 10px;
  line-height: 2;
  color: #9dff5a;
  background: #050805;
  border: 3px solid #9dff5a;
  border-radius: 8px;
  box-shadow: 0 0 34px rgba(157, 255, 90, .25), inset 0 0 70px rgba(157, 255, 90, .08);
  text-shadow: 0 0 6px rgba(157, 255, 90, .5);
}
.terminal::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .3) 0 2px, transparent 2px 4px); }
.terminal h1 { margin: 10px 0 16px; font-size: clamp(22px, 5vw, 34px); font-weight: 400; line-height: 1.3; }
.terminal h2 { margin: 26px 0 8px; font-size: 11px; font-weight: 400; color: var(--neon-ambar); }
.terminal a { color: var(--neon-ambar); }
.logros-lista { list-style: none; margin: 0; padding: 0; }
.logros-lista li { padding: 4px 0; }
.logros-lista b { color: #fff; font-weight: 400; }
.bloqueado { opacity: .45; }
.boton-rojo {
  display: block;
  width: 150px;
  height: 150px;
  margin: 22px auto 30px;
  font-family: var(--f-pixel);
  font-size: 13px;
  line-height: 1.6;
  color: #fff;
  text-shadow: 2px 2px 0 #4a0602;
  background: radial-gradient(circle at 35% 30%, #ff8a7a, #d0180c 55%, #7a0a04);
  border: 7px solid #222;
  border-radius: 50%;
  box-shadow: 0 12px 0 #4a0602, 0 18px 26px rgba(0, 0, 0, .6);
  cursor: pointer;
  transition: transform .08s, box-shadow .08s;
}
.boton-rojo:active { transform: translateY(10px); box-shadow: 0 2px 0 #4a0602, 0 4px 8px rgba(0, 0, 0, .6); }
.terminal-pie { margin: 0; }

/* =======================================================================
   COMENTARIOS
   ======================================================================= */
.comentarios { margin-top: 56px; padding-top: 22px; border-top: 4px solid var(--tinta); }
.com-titulo { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-family: var(--f-pixel); font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--acento); }
.com-cant { color: var(--tinta-2); }
.com { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--linea); }
.com img { width: 46px; height: 46px; border: 2px solid var(--tinta); }
.com b { font-family: var(--f-titulo); font-size: 24px; font-weight: 400; letter-spacing: .02em; }
.com time { margin-left: 10px; font-size: 12px; color: var(--tinta-2); }
.com p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.sin-com { padding: 16px 0; color: var(--tinta-2); }
.form-com { display: grid; gap: 14px; margin-top: 24px; padding: 18px; background: var(--carta); border: 2px solid var(--tinta); box-shadow: 6px 6px 0 var(--acento-4); }
.form-com label { font-family: var(--f-pixel); font-size: 8px; line-height: 1.5; text-transform: uppercase; color: var(--tinta-2); }
.form-com .campo { font-family: var(--f-texto); text-transform: none; }
.form-com-fila { max-width: 320px; }
.form-com-pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.form-com-pie small { font-size: 13px; color: var(--tinta-2); }

/* =======================================================================
   404 / ERROR
   ======================================================================= */
.perdido { padding: 70px 16px; text-align: center; }
.perdido-num { margin: 0; font-family: var(--f-pixel); font-size: clamp(60px, 18vw, 140px); line-height: 1.1; color: var(--acento-2); text-shadow: var(--glow-2), 6px 6px 0 var(--acento-3); }
.perdido h1 { font-family: var(--f-titulo); font-size: clamp(38px, 7vw, 64px); font-weight: 400; line-height: 1; margin: 10px 0 14px; }
.perdido p { color: var(--tinta-2); }
.perdido-det { font-family: ui-monospace, monospace; font-size: 13px; }
