/* SpinCrypto - sistema de diseño (v1, 2026-09-08) */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/sc-titulos.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/sc-texto.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --verde: #006847;
  --verde-hondo: #0B3D2E;
  --verde-noche: #062A20;
  --verde-tinte: #E6F1EC;
  --verde-claro: #4FB08A;
  --rojo: #CE1126;
  --rojo-hondo: #A50E1E;
  --rojo-tinte: #FBE9EB;
  --oro: #C9A227;
  --oro-claro: #E8C85A;
  --papel: #FAF8F2;
  --papel-2: #F1EDE2;
  --blanco: #FFFFFF;
  --tinta: #15211B;
  --tinta-2: #3E4F46;
  --tinta-3: #5C6B63;
  --borde: #DDE3DC;
  --borde-2: #C6D0C9;
  --sombra: 0 10px 30px rgba(21, 33, 27, 0.08);
  --sombra-2: 0 18px 44px rgba(21, 33, 27, 0.14);
  --titulos: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
  --texto: 'DM Sans', 'Segoe UI', Arial, sans-serif;
  --cantor-alto: 68px;
  --ancho: 1200px;
  --radio: 6px;
  --suave: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--cantor-alto) + 64px); -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-top: var(--cantor-alto); background: var(--papel); color: var(--tinta); font-family: var(--texto); font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--verde); text-decoration: none; }
a:hover { color: var(--verde-hondo); text-decoration: underline; }
main p a:not([class]), .pasos li a:not([class]), .articulo ul:not([class]) a:not([class]), .ruta li a, .pie-responsable a { text-decoration: underline; text-underline-offset: 0.15em; }
h1, h2, h3, h4 { font-family: var(--titulos); color: var(--tinta); line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.3rem; }
li { margin-bottom: 0.35rem; }
strong { font-weight: 700; }
table { border-collapse: collapse; width: 100%; }
button { font-family: inherit; }
.tablero { max-width: var(--ancho); margin: 0 auto; padding: 0 1.25rem; }
.oculto-visual { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Cantor (encabezado) ---------- */
.cantor { position: fixed; top: 0; left: 0; right: 0; z-index: 500; height: var(--cantor-alto); background: linear-gradient(180deg, var(--verde-hondo) 0%, var(--verde-noche) 100%); border-bottom: 1px solid rgba(255, 255, 255, 0.08); transition: box-shadow 0.2s var(--suave); }
.cantor::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--verde) 0 33.3%, var(--blanco) 33.3% 66.6%, var(--rojo) 66.6% 100%); }
body.cantor-bajo .cantor { box-shadow: 0 10px 28px rgba(6, 42, 32, 0.28); }
.cantor-fila { max-width: var(--ancho); margin: 0 auto; padding: 0 1.25rem; height: 100%; display: flex; align-items: center; gap: 1rem; }
.cantor-marca { display: flex; align-items: center; flex-shrink: 0; margin-right: auto; }
.cantor-marca img { height: 36px; width: auto; }
.cantor-acciones { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.cantor-boton { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radio); cursor: pointer; flex-shrink: 0; }
.cantor-boton img { width: 22px; height: 22px; filter: invert(1); }
.cantor-boton .ico-cerrar { display: none; }
body.menu-abierto .cantor-boton .ico-cerrar { display: block; }
body.menu-abierto .cantor-boton .ico-abrir { display: none; }
.cantor-lupa { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; height: 40px; min-width: 40px; padding: 0 0.55rem; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radio); color: rgba(255, 255, 255, 0.72); font-family: var(--texto); font-size: 0.9rem; white-space: nowrap; cursor: pointer; transition: border-color 0.15s var(--suave), background 0.15s var(--suave), color 0.15s var(--suave); }
.cantor-lupa:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.32); color: var(--blanco); }
.cantor-lupa img { width: 20px; height: 20px; filter: invert(1); opacity: 0.8; }
.lupa-texto, .lupa-largo, .cantor-lupa kbd { display: none; }
.cantor kbd { font-family: var(--texto); font-size: 0.72rem; line-height: 1.4; padding: 0 0.4rem; border: 1px solid rgba(255, 255, 255, 0.24); border-bottom-width: 2px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.75); }

/* Menú: cajón con acordeón en el celular, lonas a lo ancho en escritorio */
.cantor-menu { display: none; }
body.menu-abierto .cantor-menu { display: block; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--cantor-alto)); height: calc(100dvh - var(--cantor-alto)); overflow-y: auto; overscroll-behavior: contain; background: var(--papel); border-top: 1px solid var(--borde); }
html.sin-desplazar { overflow: hidden; }
.cantor-raices { list-style: none; margin: 0; padding: 0; }
.cantor-raices > li { margin: 0; }
.raiz-boton { position: relative; display: flex; align-items: center; gap: 0.7rem; width: 100%; padding: 0.85rem 1.25rem; font-family: var(--titulos); font-size: 1.1rem; font-weight: 700; color: var(--tinta); background: none; border: 0; border-bottom: 1px solid var(--borde); cursor: pointer; text-align: left; white-space: nowrap; }
.raiz-boton .flecha { width: 16px; height: 16px; margin-left: auto; transition: transform 0.2s var(--suave); }
.raiz.abierta > .raiz-boton .flecha { transform: rotate(180deg); }
.lona[hidden] { display: none !important; }
.lona { border-bottom: 1px solid var(--borde); }
.lona-tablero { display: grid; gap: 1.2rem; padding: 1rem 1.25rem 1.3rem; }
.lona-grupo ul { list-style: none; margin: 0; padding: 0; }
.lona-grupo li { margin: 0; }
.lona-titulo { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.35rem; font-family: var(--titulos); font-size: 0.85rem; font-weight: 700; color: var(--tinta-3); }
.lona-titulo img { width: 32px; height: 32px; filter: drop-shadow(0 4px 6px rgba(21, 33, 27, 0.22)); }
.lona-portada { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 0.9rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--radio); background: radial-gradient(circle at 88% 12%, rgba(79, 176, 138, 0.35), transparent 55%), var(--verde-hondo); color: rgba(255, 255, 255, 0.84); text-decoration: none; }
.lona-portada:hover { color: rgba(255, 255, 255, 0.84); text-decoration: none; }
.lona-portada > img { grid-row: span 3; width: 64px; height: 64px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.35)); transition: transform 0.25s var(--suave); }
.lona-portada:hover > img { transform: translateY(-3px) rotate(-6deg); }
.lona-portada strong { display: block; color: var(--blanco); font-family: var(--titulos); font-size: 1.05rem; line-height: 1.25; }
.lona-portada small { display: block; margin-top: 0.3rem; font-size: 0.85rem; line-height: 1.45; }
.lona-portada-ir { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.6rem; font-family: var(--titulos); font-weight: 700; font-size: 0.9rem; color: var(--oro-claro); }
.lona-portada-ir img { width: 16px; height: 16px; filter: invert(84%) sepia(40%) saturate(700%) hue-rotate(356deg) brightness(97%); transition: transform 0.2s var(--suave); }
.lona-portada:hover .lona-portada-ir img { transform: translateX(3px); }
.lona-enlace { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 0.75rem; padding: 0.5rem 0.55rem; border-radius: var(--radio); color: var(--tinta); text-decoration: none; transition: background 0.15s var(--suave); }
.lona-enlace:hover, .lona-enlace:focus-visible, .lona-enlace[aria-current="page"] { background: var(--verde-tinte); color: var(--tinta); text-decoration: none; }
.lona-enlace img { width: 44px; height: 44px; filter: drop-shadow(0 5px 7px rgba(21, 33, 27, 0.24)); transition: transform 0.2s var(--suave); }
.lona-enlace:hover img { transform: translateY(-2px) rotate(-5deg); }
.lona-enlace strong, .lona-casa strong { display: block; font-family: var(--titulos); font-size: 0.95rem; font-weight: 700; line-height: 1.25; }
.lona-enlace small, .lona-casa small { display: block; margin-top: 0.1rem; font-size: 0.8rem; line-height: 1.35; color: var(--tinta-3); }
.lona-enlace[aria-current="page"] strong, .lona-casa[aria-current="page"] strong { color: var(--verde); }
.lona-casas { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.lona-casas li { margin: 0; }
.lona-casa { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo puntos" "nombre puntos" "nota puntos"; column-gap: 0.75rem; padding: 0.7rem 0.8rem; background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio); color: var(--tinta); text-decoration: none; transition: border-color 0.15s var(--suave), box-shadow 0.15s var(--suave), transform 0.15s var(--suave); }
.lona-casa:hover, .lona-casa:focus-visible, .lona-casa[aria-current="page"] { border-color: var(--verde-claro); box-shadow: var(--sombra); color: var(--tinta); text-decoration: none; }
.lona-casa:hover { transform: translateY(-1px); }
.lona-logo { grid-area: logo; justify-self: start; display: block; width: 124px; height: 34px; margin-bottom: 0.55rem; background: #111815; border-radius: 4px; overflow: hidden; }
.lona-logo img { width: 124px; height: 34px; }
.lona-casa strong { grid-area: nombre; }
.lona-casa small { grid-area: nota; }
.lona-puntos { grid-area: puntos; align-self: center; display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 0.3rem; border-radius: var(--radio); background: var(--verde-tinte); color: var(--verde-hondo); font-family: var(--titulos); font-weight: 800; font-size: 1.05rem; }
.lona-pie { margin: 0; font-size: 0.8rem; color: var(--tinta-3); }
.lona-guia { display: block; padding: 0.42rem 0.55rem; border-radius: var(--radio); font-size: 0.93rem; line-height: 1.35; color: var(--tinta-2); text-decoration: none; transition: background 0.15s var(--suave), color 0.15s var(--suave); }
.lona-guia:hover, .lona-guia:focus-visible, .lona-guia[aria-current="page"] { background: var(--verde-tinte); color: var(--verde-hondo); text-decoration: none; }
.lona-ayuda { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 0.6rem; margin-top: 0.9rem; padding: 0.8rem 0.9rem; background: var(--rojo-tinte); border-radius: var(--radio); font-size: 0.85rem; line-height: 1.45; color: var(--tinta-2); }
.lona-ayuda img { width: 20px; height: 20px; margin-top: 0.1rem; }
.lona-ayuda p { margin: 0; }
.lona-ayuda a { font-weight: 700; color: var(--rojo-hondo); white-space: nowrap; }
.cantor-cajon-pie { display: grid; gap: 0.7rem; padding: 1.25rem 1.25rem 2rem; }
.cantor-cajon-pie .boton { width: 100%; }
.cantor-cajon-pie p { margin: 0; font-size: 0.85rem; color: var(--tinta-3); text-align: center; }
@media (min-width: 560px) and (max-width: 899px) {
  .lona-casas { grid-template-columns: 1fr 1fr; }
  .lona-guias, .lona-casinos { grid-template-columns: 1fr 1fr; }
  .lona-portada { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .cantor-fila { gap: 1.25rem; }
  .cantor-marca { margin-right: 0; }
  .cantor-menu { display: block; margin: 0 auto; }
  .cantor-raices { display: flex; align-items: center; gap: 0.5rem; }
  .raiz-boton { width: auto; gap: 0.4rem; padding: 0.45rem 0.8rem; font-size: 1rem; color: rgba(255, 255, 255, 0.88); border: 0; border-radius: var(--radio); transition: color 0.18s var(--suave), background 0.18s var(--suave); }
  .raiz-boton:hover, .raiz.abierta > .raiz-boton { color: var(--blanco); background: rgba(255, 255, 255, 0.1); }
  .raiz-actual > .raiz-boton { color: var(--oro-claro); }
  .raiz-actual > .raiz-boton::after { content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: -12px; height: 3px; border-radius: 3px 3px 0 0; background: var(--oro-claro); }
  .raiz-boton .flecha { width: 14px; height: 14px; margin-left: 0; filter: invert(1); opacity: 0.6; }
  .lona { position: absolute; top: 100%; left: 0; right: 0; background: var(--blanco); border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde-2); box-shadow: 0 28px 50px rgba(21, 33, 27, 0.16); animation: lona-baja 0.18s var(--suave); }
  .lona::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; }
  .lona-tablero { max-width: var(--ancho); margin: 0 auto; padding: 1.5rem 1.25rem 1.6rem; }
  .lona-casinos { grid-template-columns: 260px repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
  .lona-portada { display: block; align-self: stretch; padding: 1.1rem 1.2rem 1.25rem; }
  .lona-portada > img { width: 104px; height: 104px; margin: -0.35rem 0 0.4rem -0.4rem; }
  .lona-casas { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; }
  .lona-guias { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
  .cantor-boton { display: none !important; }
  .cantor-cajon-pie { display: none; }
  body.lona-abierta::after { content: ""; position: fixed; inset: var(--cantor-alto) 0 0 0; z-index: 450; background: rgba(21, 33, 27, 0.22); animation: velo-entra 0.18s var(--suave); }
}
@media (min-width: 1060px) {
  .cantor-lupa { justify-content: flex-start; min-width: 150px; padding: 0 0.5rem 0 0.75rem; }
  .lupa-texto, .cantor-lupa kbd { display: inline; }
  .cantor-lupa kbd { margin-left: auto; }
}
@media (min-width: 1280px) {
  .cantor-lupa { min-width: 318px; }
  .lupa-largo { display: inline; }
}
@keyframes lona-baja { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes velo-entra { from { opacity: 0; } to { opacity: 1; } }

/* Buscador (Ctrl+K o /) */
.buscador kbd { font-family: var(--texto); font-size: 0.72rem; line-height: 1.4; padding: 0 0.4rem; border: 1px solid var(--borde-2); border-bottom-width: 2px; border-radius: 4px; background: var(--papel); color: var(--tinta-3); }
.buscador { width: min(640px, calc(100vw - 1.5rem)); max-height: min(620px, calc(100vh - 3rem)); margin: 7vh auto auto; padding: 0; border: 1px solid var(--borde-2); border-radius: 10px; background: var(--blanco); color: var(--tinta); box-shadow: 0 30px 80px rgba(21, 33, 27, 0.3); overflow: hidden; }
.buscador::backdrop { background: rgba(6, 42, 32, 0.5); }
.buscador-caja { display: flex; flex-direction: column; max-height: min(620px, calc(100vh - 3rem)); }
.buscador-campo { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 0.75rem; padding: 0.9rem 1rem; border-bottom: 1px solid var(--borde); }
.buscador-campo img { width: 22px; height: 22px; opacity: 0.6; }
.buscador-campo input { width: 100%; min-width: 0; padding: 0.3rem 0; border: 0; outline: 0; background: none; font-family: var(--texto); font-size: 1.1rem; color: var(--tinta); -webkit-appearance: none; appearance: none; }
.buscador-campo input::-webkit-search-cancel-button { -webkit-appearance: none; }
.buscador-cerrar { padding: 0.15rem 0.5rem; border: 1px solid var(--borde-2); border-bottom-width: 2px; border-radius: 4px; background: var(--papel); color: var(--tinta-3); font-family: var(--texto); font-size: 0.75rem; cursor: pointer; }
.buscador-cuenta { margin: 0; padding: 0.7rem 1rem 0.3rem; font-size: 0.8rem; font-weight: 600; color: var(--tinta-3); }
.buscador-lista { list-style: none; margin: 0; padding: 0.2rem 0.5rem 0.6rem; overflow-y: auto; }
.buscador-lista li { margin: 0; }
.buscador-fila { display: grid; grid-template-columns: 70px minmax(0, 1fr); grid-template-areas: "grupo titulo" "grupo detalle"; column-gap: 0.75rem; padding: 0.6rem; border-radius: var(--radio); color: var(--tinta); text-decoration: none; }
.buscador-fila:hover, .buscador-fila:focus { background: var(--verde-tinte); color: var(--tinta); text-decoration: none; outline: none; }
.buscador-fila:focus-visible { box-shadow: inset 0 0 0 2px var(--verde); }
.buscador-grupo { grid-area: grupo; align-self: center; font-size: 0.72rem; font-weight: 700; color: var(--verde); }
.buscador-fila strong { grid-area: titulo; font-family: var(--titulos); font-size: 0.95rem; line-height: 1.3; }
.buscador-fila small { grid-area: detalle; font-size: 0.8rem; line-height: 1.35; color: var(--tinta-3); }
.buscador-atajos { display: none; margin: 0; padding: 0.6rem 1rem; border-top: 1px solid var(--borde); font-size: 0.75rem; color: var(--tinta-3); }
@media (hover: hover) and (pointer: fine) { .buscador-atajos { display: block; } }
@media (prefers-reduced-motion: reduce) { .lona, body.lona-abierta::after { animation: none; } .lona-enlace img, .lona-portada > img, .lona-casa { transition: none; } }

/* ---------- Botones ---------- */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.4rem; border-radius: var(--radio); font-family: var(--titulos); font-weight: 700; font-size: 1rem; line-height: 1; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background 0.18s var(--suave), transform 0.18s var(--suave), box-shadow 0.18s var(--suave); }
.boton:hover { text-decoration: none; transform: translateY(-1px); }
.boton-rojo { background: var(--rojo); color: var(--blanco); box-shadow: 0 8px 18px rgba(206, 17, 38, 0.28); }
.boton-rojo:hover { background: var(--rojo-hondo); color: var(--blanco); }
.boton-verde { background: var(--verde); color: var(--blanco); }
.boton-verde:hover { background: var(--verde-hondo); color: var(--blanco); }
.boton-hueco { background: transparent; color: var(--verde); border-color: var(--verde); }
.boton-hueco:hover { background: var(--verde-tinte); color: var(--verde-hondo); }
.boton-claro { background: var(--blanco); color: var(--verde-hondo); border-color: var(--borde-2); }
.boton-claro:hover { background: var(--verde-tinte); }
.boton img { width: 18px; height: 18px; }
.boton-rojo img, .boton-verde img { filter: invert(1); }

/* ---------- Avisos ---------- */
.nota-afiliado { font-size: 0.85rem; color: var(--tinta-3); margin: 1rem 0 0; }

/* ---------- Pregón (héroe) ---------- */
.pregon { position: relative; background: var(--verde-noche) url('/images/fondo-pregon.webp') center/cover no-repeat; color: var(--blanco); overflow: hidden; }
.pregon::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 42, 32, 0.78) 0%, rgba(6, 42, 32, 0.9) 100%); }
.pregon .tablero { position: relative; padding-top: 2.2rem; padding-bottom: 2.5rem; }
.pregon-titulo { color: var(--blanco); margin: 0 0 1.4rem; font-size: clamp(1.5rem, 6.4vw, 2rem); line-height: 1.15; }
.pregon-cuerpo { display: grid; gap: 2rem; }
.pregon-cuerpo > * { min-width: 0; }
.pregon p { color: rgba(255, 255, 255, 0.86); }
.pregon-plaque { display: inline-flex; align-items: center; background: #111815; border: 1px solid rgba(255, 255, 255, 0.18); padding: 0.45rem 0.8rem; border-radius: var(--radio); margin-left: auto; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.pregon-plaque img { height: 36px; width: auto; }
.pregon-linea { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.1rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); margin: 0 0 1.1rem; }
.pregon-linea img.retrato { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.5); }
.pregon-linea a { color: var(--oro-claro); }
.pregon-entrada { font-size: 1.12rem; max-width: 60ch; }
.pregon-movil { margin: 1.8rem auto 0; max-width: 250px; background: #0E1512; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 30px; padding: 10px; box-shadow: 0 28px 52px rgba(0, 0, 0, 0.55); }
.pregon-movil img { width: 100%; height: auto; border-radius: 21px; display: block; }
.pregon-balance { display: grid; gap: 0.6rem 1.6rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.balance-cabeza { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; font-family: var(--titulos); font-size: 1.05rem; color: var(--blanco); }
.pregon-balance .balance-cabeza img { width: 64px; height: 64px; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5)); }
.pregon-balance ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.pregon-balance li { display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem; align-items: start; margin: 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); }
.pregon-balance li img { width: 22px; height: 22px; margin-top: 2px; }
@media (min-width: 700px) { .pregon-balance { grid-template-columns: 1fr 1fr; } }
.pregon-acciones { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; margin-top: 1.2rem; }
.pregon .pregon-acciones { justify-content: center; }
.pregon-acciones .boton-hueco { color: var(--blanco); border-color: rgba(255, 255, 255, 0.55); }
.pregon-acciones .boton-hueco:hover { background: rgba(255, 255, 255, 0.12); color: var(--blanco); }
.pregon-acciones .boton-hueco img { filter: invert(1); }
.tanteo-nota { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }
.tanteo-nota a { color: var(--oro-claro); }
.tanteo-nota a:hover { color: var(--blanco); }
.estrellas { display: inline-flex; gap: 2px; vertical-align: middle; }
.estrellas img { width: 16px; height: 16px; }
@media (min-width: 700px) {
  .pregon-titulo { white-space: nowrap; font-size: clamp(1.15rem, 2.65vw, 2.6rem); margin-bottom: 1.8rem; }
}
@media (min-width: 900px) {
  .pregon .tablero { padding-top: 2.6rem; padding-bottom: 3rem; }
  .pregon-cuerpo { grid-template-columns: 1fr 320px; align-items: center; column-gap: 3.5rem; }
  .pregon-movil { margin: 0 0 0 auto; max-width: 300px; width: 100%; }
}

/* ---------- Ficha rápida (datos del casino) ---------- */
.fichas { display: grid; grid-template-columns: 1fr; gap: 0.9rem; margin: -1.6rem 0 0; position: relative; z-index: 2; }
.ficha { background: var(--blanco); border: 1px solid var(--borde); box-shadow: var(--sombra); padding: 0.95rem 1.1rem 0.95rem 0.9rem; display: grid; grid-template-columns: 64px 1fr; gap: 0.9rem; align-items: center; min-width: 0; }
.ficha > img { width: 64px; height: 64px; filter: drop-shadow(0 8px 12px rgba(21, 33, 27, 0.28)); }
.ficha > div { min-width: 0; }
.ficha-etiqueta { display: block; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--tinta-3); font-weight: 700; margin-bottom: 0.25rem; }
.ficha-valor { display: block; font-family: var(--titulos); font-weight: 800; font-size: 1.05rem; line-height: 1.25; color: var(--verde-hondo); }
@media (min-width: 560px) { .fichas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .fichas { grid-template-columns: repeat(3, 1fr); gap: 1rem; } .ficha { padding: 1.1rem 1.2rem 1.1rem 1rem; } }

/* ---------- Hilera de secciones (nav pegajoso) ---------- */
.hilera-secciones { position: sticky; top: var(--cantor-alto); z-index: 300; background: rgba(250, 248, 242, 0.96); border-bottom: 1px solid var(--borde); }
.hilera-secciones ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.2rem; overflow-x: auto; scrollbar-width: none; }
.hilera-secciones ul::-webkit-scrollbar { display: none; }
.hilera-secciones li { margin: 0; flex-shrink: 0; }
.hilera-secciones a { display: block; padding: 0.8rem 0.75rem; font-family: var(--titulos); font-size: 0.86rem; font-weight: 600; color: var(--tinta-3); border-bottom: 3px solid transparent; white-space: nowrap; }
.hilera-secciones a:hover { color: var(--verde); text-decoration: none; }
.hilera-secciones a.activa { color: var(--verde); border-bottom-color: var(--rojo); }

/* ---------- Cuerpo de la reseña ---------- */
.cuerpo { padding: 2.2rem 0 3rem; }
.cuerpo .tablero { display: grid; gap: 2.4rem; }
.cuerpo .tablero > * { min-width: 0; }
.articulo > section { margin-bottom: 3rem; scroll-margin-top: calc(var(--cantor-alto) + 70px); }
.articulo p, .articulo li { max-width: 74ch; }
.seccion-cabeza { display: grid; grid-template-columns: 96px 1fr; gap: 1.2rem; align-items: center; margin-bottom: 1.2rem; }
.seccion-cabeza img { width: 96px; height: 96px; filter: drop-shadow(0 8px 14px rgba(21, 33, 27, 0.28)); }
.seccion-cabeza h2 { margin: 0 0 0.3rem; }
.seccion-cabeza p { margin: 0; color: var(--tinta-3); }
@media (min-width: 700px) { .seccion-cabeza { grid-template-columns: 130px 1fr; } .seccion-cabeza img { width: 130px; height: 130px; } }
.lateral { display: none; }
@media (min-width: 1000px) {
  .cuerpo .tablero { grid-template-columns: 1fr 320px; align-items: start; }
  .lateral { display: block; position: sticky; top: calc(var(--cantor-alto) + 64px); }
}

/* ---------- Cartas (tarjetas cuadradas) ---------- */
.carta { background: var(--blanco); border: 1px solid var(--borde); box-shadow: var(--sombra); padding: 1.3rem; margin-bottom: 1.2rem; }
.carta h3 { margin-top: 0; }
.carta-oferta { border: 1px solid var(--borde); background: var(--blanco); box-shadow: var(--sombra); }
.carta-oferta .cabeza { background: var(--verde-hondo); color: var(--blanco); padding: 1rem 1.3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; }
.carta-oferta .cabeza img { height: 36px; width: auto; object-fit: contain; background: #111815; padding: 4px 8px; border-radius: 4px; }
.carta-oferta .cabeza strong { font-family: var(--titulos); font-size: 1.05rem; }
.carta-oferta .cuerpo-oferta { padding: 1.2rem 1.3rem; }
.oferta-cifra { font-family: var(--titulos); font-size: 1.7rem; font-weight: 800; color: var(--verde-hondo); line-height: 1.1; margin-bottom: 0.3rem; }
.oferta-nota { font-size: 0.9rem; color: var(--tinta-3); margin-bottom: 1rem; }
.oferta-lista { list-style: none; padding: 0; margin: 0 0 1.1rem; }
.oferta-lista li { display: grid; grid-template-columns: 18px 1fr; gap: 0.55rem; align-items: start; font-size: 0.92rem; margin-bottom: 0.5rem; }
.oferta-lista img { width: 18px; height: 18px; margin-top: 3px; }
.oferta-pie { font-size: 0.78rem; color: var(--tinta-3); margin: 0.9rem 0 0; }

/* ---------- Pros y contras ---------- */
.pros-contras { display: grid; gap: 1.2rem; }
.pros-contras .carta { margin: 0; }
.pros-contras ul { list-style: none; padding: 0; margin: 0; }
.pros-contras li { display: grid; grid-template-columns: 20px 1fr; gap: 0.6rem; align-items: start; padding: 0.5rem 0; border-bottom: 1px solid var(--borde); }
.pros-contras li:last-child { border-bottom: 0; }
.pros-contras li img { width: 20px; height: 20px; margin-top: 3px; }
.pros-contras .titulo-lado { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.pros-contras .titulo-lado img { width: 56px; height: 56px; filter: drop-shadow(0 6px 10px rgba(21, 33, 27, 0.25)); }
.pros-contras .titulo-lado h3 { margin: 0; }
@media (min-width: 700px) { .pros-contras { grid-template-columns: 1fr 1fr; } }

/* ---------- Tablas ---------- */
.tabla-marco { overflow-x: auto; border: 1px solid var(--borde); background: var(--blanco); box-shadow: var(--sombra); margin-bottom: 1.2rem; }
.tabla { font-size: 0.92rem; min-width: 560px; }
.tabla th, .tabla td { padding: 0.7rem 0.85rem; text-align: left; border-bottom: 1px solid var(--borde); vertical-align: top; }
.tabla th { background: var(--verde-tinte); font-family: var(--titulos); font-weight: 700; color: var(--verde-hondo); font-size: 0.85rem; }
.tabla tr:last-child td { border-bottom: 0; }
.tabla td strong { color: var(--verde-hondo); }
.tabla .si { color: var(--verde); font-weight: 700; }
.tabla .no { color: var(--rojo); font-weight: 700; }
.tabla-nota { font-size: 0.82rem; color: var(--tinta-3); margin-top: -0.4rem; }

/* ---------- Cajero (métodos de pago) ---------- */
.cajero-rejilla { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin: 0 0 1.2rem; }
.cajero-rejilla figure { margin: 0; background: var(--blanco); border: 1px solid var(--borde); padding: 0.8rem; text-align: center; }
.cajero-rejilla img { width: 120px; height: 45px; object-fit: contain; margin: 0 auto 0.4rem; }
.cajero-rejilla figcaption { font-size: 0.82rem; color: var(--tinta-2); font-weight: 600; }
.cajero-rejilla figcaption small { display: block; font-weight: 400; color: var(--tinta-3); }
@media (min-width: 560px) { .cajero-rejilla { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cajero-rejilla { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Mirador (capturas) ---------- */
.mirador { display: grid; gap: 1.4rem; margin-bottom: 1.4rem; }
.mirador-pantalla { position: relative; background: var(--blanco); border: 1px solid var(--borde); box-shadow: var(--sombra); padding: 0.8rem; }
.mirador-pista { position: relative; overflow: hidden; }
.mirador-pista img { width: 100%; height: auto; display: none; border: 1px solid var(--borde); }
.mirador-pista img.visible { display: block; }
.mirador-pantalla.movil .mirador-pista { max-width: 232px; margin: 0 auto; }
.mirador-pie { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: 0.7rem; }
.mirador-pie figcaption { font-size: 0.86rem; color: var(--tinta-2); flex: 1; }
.mirador-flecha { width: 36px; height: 36px; border: 1px solid var(--borde-2); background: var(--blanco); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.mirador-flecha img { width: 16px; height: 16px; }
.mirador-flecha:hover { background: var(--verde-tinte); }
.mirador-puntos { display: flex; justify-content: center; margin-top: 0.35rem; }
.mirador-puntos button { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 0; background: none; padding: 0; cursor: pointer; }
.mirador-puntos button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--borde-2); }
.mirador-puntos button.activo::before { background: var(--rojo); }
@media (min-width: 800px) { .mirador { grid-template-columns: 1.7fr 1fr; align-items: start; } }

/* ---------- Sello (permiso / licencia) ---------- */
.sello { background: var(--blanco); border: 1px solid var(--borde); box-shadow: var(--sombra); padding: 1.3rem; margin-bottom: 1.2rem; }
.sello blockquote { margin: 0.8rem 0; padding: 0.9rem 1.1rem; background: var(--papel-2); border-left: 4px solid var(--verde); font-size: 0.95rem; color: var(--tinta-2); }
.sello blockquote cite { display: block; margin-top: 0.5rem; font-size: 0.8rem; font-style: normal; color: var(--tinta-3); }
.sello-prueba { margin: 1rem 0 0; }
.sello-prueba img { width: 100%; height: auto; border: 1px solid var(--borde); }
.sello-prueba figcaption { font-size: 0.82rem; color: var(--tinta-3); margin-top: 0.4rem; }
.sello-prueba.recorte img { width: auto; max-width: 100%; }
.sello-hilera { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--borde); border: 1px solid var(--borde); margin-top: 1rem; }
.sello-hilera div { background: var(--blanco); padding: 0.8rem 0.9rem; font-size: 0.9rem; min-width: 0; overflow-wrap: anywhere; }
.sello-hilera span { display: block; font-size: 0.75rem; color: var(--tinta-3); font-weight: 600; }
@media (min-width: 700px) { .sello-hilera { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Pasos ---------- */
.pasos { list-style: none; counter-reset: paso; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 0.8rem; }
.pasos li { counter-increment: paso; display: grid; grid-template-columns: 44px 1fr; gap: 0.9rem; align-items: start; background: var(--blanco); border: 1px solid var(--borde); padding: 0.9rem 1rem; margin: 0; }
.pasos li::before { content: counter(paso); width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--verde); color: var(--blanco); font-family: var(--titulos); font-weight: 800; font-size: 1.1rem; }
.pasos strong { display: block; font-family: var(--titulos); margin-bottom: 0.2rem; }

/* ---------- Veredicto ---------- */
.veredicto { background: var(--verde-hondo); color: var(--blanco); padding: 1.6rem; display: grid; gap: 1.2rem; margin-bottom: 1.2rem; }
.veredicto h2, .veredicto h3 { color: var(--blanco); }
.veredicto p { color: rgba(255, 255, 255, 0.88); }
.veredicto-objeto { display: flex; justify-content: center; }
.veredicto-objeto img { width: 190px; height: 190px; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.55)); }
.tanteos { list-style: none; padding: 0; margin: 0.6rem 0 0; display: grid; gap: 0.55rem; }
.tanteos li { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem; align-items: center; margin: 0; font-size: 0.92rem; }
.tanteos .barra { grid-column: 1 / -1; height: 7px; background: rgba(255, 255, 255, 0.14); position: relative; }
.tanteos .barra span { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--oro) 0%, var(--oro-claro) 100%); }
.tanteos strong { font-family: var(--titulos); color: var(--oro-claro); }
@media (min-width: 800px) { .veredicto { grid-template-columns: 1fr 220px; align-items: center; } }

/* ---------- Comparación (última sección) ---------- */
.comparar .tabla td:first-child { font-weight: 700; white-space: nowrap; }

/* ---------- Preguntas (FAQ) ---------- */
.preguntas { display: grid; gap: 0.6rem; margin-bottom: 1.2rem; }
.pregunta { background: var(--blanco); border: 1px solid var(--borde); }
.pregunta summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 22px; gap: 1rem; align-items: center; padding: 0.95rem 1.1rem; font-family: var(--titulos); font-weight: 700; font-size: 1rem; }
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary img { width: 22px; height: 22px; }
.pregunta summary .ico-menos { display: none; }
.pregunta[open] summary .ico-menos { display: block; }
.pregunta[open] summary .ico-mas { display: none; }
.pregunta .respuesta { padding: 0 1.1rem 1rem; color: var(--tinta-2); }
.pregunta .respuesta p:last-child { margin-bottom: 0; }

/* ---------- Firma (autor) ---------- */
.firma { display: grid; grid-template-columns: 96px 1fr; gap: 1.2rem; background: var(--blanco); border: 1px solid var(--borde); box-shadow: var(--sombra); padding: 1.3rem; margin-bottom: 1.2rem; align-items: start; }
.firma img { width: 96px; height: 96px; object-fit: cover; }
.firma h3 { margin: 0 0 0.2rem; }
.firma .cargo { font-size: 0.85rem; color: var(--tinta-3); margin-bottom: 0.6rem; }
.firma p:last-child { margin-bottom: 0; }
@media (min-width: 700px) { .firma { grid-template-columns: 150px 1fr; } .firma img { width: 150px; height: 150px; } }

/* ---------- Responsable ---------- */
.responsable { background: var(--papel-2); border: 1px solid var(--borde); padding: 1.2rem 1.3rem; display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: start; margin-bottom: 1.2rem; }
.responsable img { width: 56px; height: 56px; }
.responsable p { margin: 0 0 0.5rem; font-size: 0.95rem; }
.responsable p:last-child { margin: 0; }

/* ---------- Lateral ---------- */
.lateral-indice { background: var(--blanco); border: 1px solid var(--borde); box-shadow: var(--sombra); padding: 1.1rem 1.2rem; margin-bottom: 1.2rem; }
.lateral-indice h3 { font-size: 0.95rem; margin-bottom: 0.6rem; }
.lateral-indice ol { margin: 0; padding-left: 1.2rem; font-size: 0.9rem; }
.lateral-indice li { margin-bottom: 0.35rem; }
.lateral-indice a.activa { color: var(--rojo); font-weight: 700; }
.lateral-enlaces { list-style: none; padding: 0; margin: 0; }
.lateral-enlaces li { margin: 0; }
.lateral-enlaces a { display: grid; grid-template-columns: 46px 1fr; gap: 0.7rem; align-items: center; padding: 0.55rem 0; border-bottom: 1px solid var(--borde); font-weight: 600; font-size: 0.92rem; }
.lateral-enlaces li:last-child a { border-bottom: 0; }
.lateral-enlaces img { width: 46px; height: 46px; filter: drop-shadow(0 5px 8px rgba(21, 33, 27, 0.22)); }

/* ---------- Pie ---------- */
.pie { background: var(--verde-noche); color: rgba(255, 255, 255, 0.82); padding: 3rem 0 1.5rem; margin-top: 2rem; font-size: 0.92rem; }
.pie a { color: rgba(255, 255, 255, 0.86); }
.pie a:hover { color: var(--oro-claro); }
.pie-rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.pie-marca { grid-column: 1 / -1; }
.pie-marca img { height: 40px; width: auto; margin-bottom: 0.9rem; }
.pie-marca p { margin: 0; max-width: 34ch; }
.pie-titulo { margin: 0 0 0.7rem; color: var(--blanco); font-family: var(--titulos); font-weight: 700; font-size: 0.95rem; line-height: 1.2; letter-spacing: -0.01em; }
.pie ul { list-style: none; padding: 0; margin: 0; }
.pie li { margin-bottom: 0.45rem; }
.pie-responsable { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 1rem; align-items: center; margin-top: 2.5rem; padding: 1.1rem 1.25rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radio); }
.pie-responsable img { width: 52px; height: 52px; }
.pie-responsable strong { display: block; color: var(--blanco); font-family: var(--titulos); font-size: 1rem; }
.pie-responsable p { margin: 0.25rem 0 0; font-size: 0.88rem; line-height: 1.55; }
.pie-legal { margin: 1.5rem 0 0; font-size: 0.8rem; line-height: 1.6; color: rgba(255, 255, 255, 0.6); }
.pie-suelo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1.5rem; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
.pie-suelo p { margin: 0; }
.pie-suelo ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.pie-suelo li { margin: 0; }
.pie-suelo a { color: rgba(255, 255, 255, 0.7); }
@media (min-width: 700px) { .pie-rejilla { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pie-rejilla { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); } .pie-marca { grid-column: auto; } }

/* ---------- Subir ---------- */
.subir { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--verde); box-shadow: var(--sombra-2); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s var(--suave), transform 0.2s var(--suave), visibility 0.2s; z-index: 350; }
.subir.visible { opacity: 1; visibility: visible; transform: none; }
.subir img { width: 20px; height: 20px; filter: invert(1); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .boton:hover { transform: none; } }

/* ---------- Pregón claro (héroe de las páginas de dinero) ---------- */
.pregon-claro { background: var(--papel-2); border-bottom: 1px solid var(--borde); }
.pregon-claro .tablero { display: grid; gap: 1.4rem; padding-top: 2.2rem; padding-bottom: 2.4rem; }
.pregon-claro .tablero > * { min-width: 0; }
.pregon-claro-titulo { color: var(--verde-hondo); font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 0 0 1rem; }
.pregon-claro .pregon-linea { color: var(--tinta-3); }
.pregon-claro .pregon-linea a { color: var(--verde); }
.pregon-claro .pregon-linea img.retrato { border-color: var(--borde-2); }
.pregon-claro .pregon-entrada { color: var(--tinta-2); }
.pregon-claro .pregon-acciones { justify-content: flex-start; }
.pregon-claro .pregon-acciones .boton-hueco { color: var(--verde); border-color: var(--verde); }
.pregon-claro .pregon-acciones .boton-hueco:hover { background: var(--verde-tinte); color: var(--verde-hondo); }
.pregon-claro .pregon-acciones .boton-hueco img { filter: none; }
.pregon-objeto { display: none; }
@media (min-width: 900px) {
  .pregon-claro .tablero { grid-template-columns: 1fr 300px; align-items: center; column-gap: 3rem; padding-top: 2.6rem; padding-bottom: 2.8rem; }
  .pregon-objeto { display: flex; justify-content: center; }
  .pregon-objeto img { width: 270px; height: 270px; filter: drop-shadow(0 24px 32px rgba(21, 33, 27, 0.32)); }
}

/* ---------- Mostrador (lista de casinos de una página de dinero) ---------- */
.mostrador { display: grid; gap: 1.3rem; margin: 0 0 1.4rem; }
.ventanilla { background: var(--blanco); border: 1px solid var(--borde); box-shadow: var(--sombra); scroll-margin-top: calc(var(--cantor-alto) + 70px); }
.ventanilla-cabeza { display: grid; grid-template-columns: 50px 1fr; gap: 0.8rem 1rem; align-items: center; padding: 1rem 1.1rem; border-bottom: 1px solid var(--borde); }
.puesto { width: 50px; height: 50px; display: inline-flex; align-items: center; justify-content: center; background: var(--verde-hondo); color: var(--oro-claro); font-family: var(--titulos); font-weight: 800; font-size: 1.3rem; }
.ventanilla-titulo { margin: 0; font-size: 1.15rem; grid-column: 2; grid-row: 1; }
.puesto { grid-row: 1; }
.ventanilla-titulo small { display: block; font-family: var(--texto); font-weight: 400; font-size: 0.85rem; color: var(--tinta-3); margin-top: 0.15rem; }
.ventanilla-plaque { display: inline-flex; align-items: center; background: #111815; padding: 6px 10px; border-radius: 4px; grid-column: 1 / -1; grid-row: 2; justify-self: start; }
.ventanilla-plaque img { height: 32px; width: auto; }
.ventanilla-tanteo { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: baseline; gap: 0.5rem; }
.ventanilla-tanteo strong { font-family: var(--titulos); font-size: 1.7rem; color: var(--verde-hondo); line-height: 1; }
.ventanilla-tanteo span { font-size: 0.78rem; color: var(--tinta-3); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.ventanilla-cuerpo { display: grid; gap: 1.1rem; padding: 1.1rem; }
.ventanilla-cuerpo > * { min-width: 0; }
.ventanilla-cifra { font-family: var(--titulos); font-weight: 800; font-size: 1.2rem; color: var(--verde-hondo); margin: 0 0 0.7rem; line-height: 1.25; }
.ventanilla-cifra small { display: block; font-family: var(--texto); font-weight: 400; font-size: 0.82rem; color: var(--tinta-3); margin-top: 0.2rem; }
.ventanilla-datos { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; font-size: 0.92rem; }
.ventanilla-datos li { display: grid; grid-template-columns: 18px 1fr; gap: 0.55rem; align-items: start; margin: 0; }
.ventanilla-datos img { width: 18px; height: 18px; margin-top: 3px; }
.ventanilla-datos strong { color: var(--verde-hondo); }
.ventanilla-texto p { font-size: 0.97rem; margin-bottom: 0.7rem; }
.ventanilla-texto p:last-child { margin-bottom: 0; }
.ventanilla-pie { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; align-items: center; padding: 0.9rem 1.1rem; background: var(--papel-2); border-top: 1px solid var(--borde); }
.ventanilla-pie .enlace-resena { margin-left: auto; font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.3rem; }
.ventanilla-pie .enlace-resena img { width: 16px; height: 16px; }
@media (min-width: 700px) {
  .ventanilla-cabeza { grid-template-columns: 50px auto 1fr auto; }
  .puesto, .ventanilla-titulo, .ventanilla-plaque, .ventanilla-tanteo { grid-column: auto; grid-row: auto; }
  .ventanilla-tanteo { justify-self: end; }
}
@media (min-width: 800px) { .ventanilla-cuerpo { grid-template-columns: 250px 1fr; } }

/* ---------- Criterios (cómo se ordenó la lista) ---------- */
.criterios { display: grid; gap: 1rem; margin: 0 0 1.2rem; }
.criterio { background: var(--blanco); border: 1px solid var(--borde); box-shadow: var(--sombra); padding: 1.1rem; display: grid; grid-template-columns: 56px 1fr; gap: 0.9rem; align-items: start; }
.criterio img { width: 56px; height: 56px; filter: drop-shadow(0 6px 10px rgba(21, 33, 27, 0.25)); }
.criterio h3 { font-size: 1rem; margin: 0 0 0.3rem; }
.criterio p { font-size: 0.9rem; margin: 0; color: var(--tinta-2); }
@media (min-width: 700px) { .criterios { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .criterios { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Marca dentro de tablas ---------- */
.tabla .marca { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; font-weight: 700; min-width: 132px; }
.tabla .marca img { height: 22px; width: auto; background: #111815; padding: 2px 5px; border-radius: 3px; }

/* ---------- Vitrina (diálogo con los casinos de la página) ---------- */
.vitrina { border: 0; padding: 0; width: min(100% - 2rem, 760px); max-height: calc(100vh - 2rem); background: var(--blanco); box-shadow: var(--sombra-2); color: var(--tinta); }
.vitrina::backdrop { background: rgba(6, 42, 32, 0.66); }
.vitrina-cabeza { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; background: var(--verde-hondo); color: var(--blanco); }
.vitrina-cabeza h2 { color: var(--blanco); font-size: 1.15rem; margin: 0; }
.vitrina-cerrar { width: 38px; height: 38px; flex-shrink: 0; border: 1px solid rgba(255, 255, 255, 0.4); background: transparent; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.vitrina-cerrar:hover { background: rgba(255, 255, 255, 0.12); }
.vitrina-cerrar img { width: 18px; height: 18px; filter: invert(1); }
.vitrina-lista { list-style: none; margin: 0; padding: 0.3rem 1.2rem; }
.vitrina-fila { display: grid; grid-template-columns: 40px 1fr; gap: 0.6rem 0.9rem; align-items: center; padding: 0.9rem 0; border-bottom: 1px solid var(--borde); margin: 0; }
.vitrina-fila:last-child { border-bottom: 0; }
.vitrina-fila .puesto { width: 40px; height: 40px; font-size: 1.05rem; }
.vitrina-marca { display: inline-flex; background: #111815; padding: 5px 8px; border-radius: 4px; justify-self: start; }
.vitrina-marca img { height: 26px; width: auto; object-fit: contain; }
.vitrina-datos { grid-column: 1 / -1; min-width: 0; }
.vitrina-datos strong { display: block; font-family: var(--titulos); font-size: 1rem; margin-bottom: 0.15rem; }
.vitrina-datos span { display: block; font-size: 0.88rem; color: var(--tinta-2); line-height: 1.45; }
.vitrina-datos em { font-style: normal; color: var(--verde-hondo); font-weight: 700; }
.vitrina-acciones { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; }
.vitrina-acciones .boton { padding: 0.55rem 1rem; font-size: 0.9rem; }
.vitrina-acciones a:not(.boton) { font-size: 0.88rem; font-weight: 600; }
.vitrina-pie { padding: 0.8rem 1.2rem 1rem; margin: 0; font-size: 0.78rem; color: var(--tinta-3); border-top: 1px solid var(--borde); background: var(--papel-2); }
@media (min-width: 700px) {
  .vitrina-fila { grid-template-columns: 40px 150px 1fr auto; }
  .vitrina-datos, .vitrina-acciones { grid-column: auto; }
  .vitrina-acciones { flex-direction: column; align-items: flex-end; gap: 0.35rem; }
}

/* ---------- Portada (inicio) ---------- */
.portada h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.banda-cabeza { max-width: 760px; margin-bottom: 2.2rem; }
.banda-cabeza h2 { margin-bottom: 0.6rem; }
.banda-cabeza p { margin: 0; font-size: 1.08rem; color: var(--tinta-2); }
.banda-cabeza-clara h2 { color: var(--blanco); }
.banda-cabeza-clara p { color: rgba(255, 255, 255, 0.78); }

/* Zaguán: portada oscura */
.zaguan { position: relative; overflow: hidden; padding: 3rem 0 6.5rem; color: rgba(255, 255, 255, 0.84); background: radial-gradient(circle at 88% 12%, rgba(79, 176, 138, 0.3), transparent 42%), radial-gradient(circle at 8% 95%, rgba(201, 162, 39, 0.16), transparent 38%), linear-gradient(165deg, var(--verde-hondo) 0%, var(--verde-noche) 100%); }
.zaguan-rejilla { display: grid; gap: 3.5rem; align-items: center; }
.zaguan h1 { margin-bottom: 1.1rem; color: var(--blanco); font-size: clamp(2.2rem, 5.4vw, 3.5rem); line-height: 1.08; letter-spacing: -0.02em; }
.zaguan h1 span { color: var(--oro-claro); }
.zaguan-entrada { max-width: 36rem; margin-bottom: 1.6rem; font-size: 1.12rem; line-height: 1.65; }
.zaguan-botones { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.6rem; }
.zaguan .zaguan-boton { background: transparent; color: var(--blanco); border: 1px solid rgba(255, 255, 255, 0.42); }
.zaguan .zaguan-boton:hover { background: rgba(255, 255, 255, 0.1); color: var(--blanco); }


/* Recuento: cifras que se montan sobre el zaguán */
.recuento { position: relative; z-index: 3; margin-top: -4rem; }
.recuento-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; overflow: hidden; background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio); box-shadow: var(--sombra-2); }
.recuento-lista li { margin: 0; border-right: 1px solid var(--borde); border-bottom: 1px solid var(--borde); }
.recuento-lista li:nth-child(2n) { border-right: 0; }
.recuento-lista li:nth-child(n+3) { border-bottom: 0; }
.recuento-lista a { display: block; height: 100%; padding: 1.2rem 1.25rem; color: var(--tinta-2); text-decoration: none; transition: background 0.15s var(--suave); }
.recuento-lista a:hover { background: var(--verde-tinte); color: var(--tinta-2); text-decoration: none; }
.recuento-lista strong { display: block; margin-bottom: 0.35rem; font-family: var(--titulos); font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 800; line-height: 1; color: var(--verde-hondo); font-variant-numeric: tabular-nums; }
.recuento-lista span { font-size: 0.92rem; line-height: 1.35; }

/* Bandas */
.publico, .anaquel, .razones, .recorrido, .biblioteca, .redaccion, .auxilio { padding: 4.5rem 0; }
.publico { padding-top: 4rem; }
.anaquel, .redaccion { background: var(--papel-2); }
.biblioteca { background: var(--blanco); border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); }

/* Público: una casilla por forma de jugar */
.publico-mayor { display: grid; gap: 1rem; align-items: center; margin-bottom: 2.4rem; padding: 1.6rem 1.5rem; overflow: hidden; background: radial-gradient(circle at 80% 30%, rgba(79, 176, 138, 0.35), transparent 55%), var(--verde-hondo); border-radius: var(--radio); color: rgba(255, 255, 255, 0.84); text-decoration: none; }
.publico-mayor:hover { color: rgba(255, 255, 255, 0.84); text-decoration: none; }
.publico-mayor h3 { margin-bottom: 0.5rem; color: var(--blanco); font-size: clamp(1.3rem, 2.6vw, 1.75rem); }
.publico-mayor p { max-width: 34rem; margin: 0 0 1rem; }
.publico-mayor > img { justify-self: center; width: 100%; max-width: 420px; transition: transform 0.35s var(--suave); }
.publico-mayor:hover > img { transform: translateY(-4px) scale(1.02); }
.publico-ir { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--titulos); font-weight: 700; color: var(--oro-claro); }
.publico-ir img { width: 18px; height: 18px; filter: invert(84%) sepia(40%) saturate(700%) hue-rotate(356deg) brightness(97%); transition: transform 0.2s var(--suave); }
.publico-mayor:hover .publico-ir img { transform: translateX(3px); }
.publico-rejilla { display: grid; gap: 1.6rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.publico-rejilla li { margin: 0; }
.casilla { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.3rem 1.3rem 1.15rem; background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio); color: var(--tinta-2); text-decoration: none; transition: border-color 0.18s var(--suave), box-shadow 0.18s var(--suave), transform 0.18s var(--suave); }
.casilla:hover { border-color: var(--verde-claro); box-shadow: var(--sombra-2); transform: translateY(-3px); color: var(--tinta-2); text-decoration: none; }
.casilla img { position: absolute; top: -20px; right: 10px; width: 84px; height: 84px; filter: drop-shadow(0 10px 12px rgba(21, 33, 27, 0.25)); transition: transform 0.3s var(--suave); }
.casilla:hover img { transform: translateY(-4px) rotate(-8deg) scale(1.05); }
.casilla h3 { min-height: 2.5em; margin-bottom: 0.5rem; padding-right: 84px; font-size: 1.12rem; color: var(--tinta); }
.casilla p { margin: 0 0 1rem; font-size: 0.95rem; line-height: 1.55; }
.casilla p strong { color: var(--verde-hondo); }
.casilla-ir { margin-top: auto; font-family: var(--titulos); font-size: 0.92rem; font-weight: 700; color: var(--verde); }

/* Anaquel: las diez reseñas, con filtros */
.anaquel-filtros { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.5rem; }
.anaquel-filtros[hidden] { display: none !important; }
.anaquel-filtros button { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.85rem; background: var(--blanco); border: 1px solid var(--borde-2); border-radius: var(--radio); color: var(--tinta-2); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.15s var(--suave), border-color 0.15s var(--suave), color 0.15s var(--suave); }
.anaquel-filtros button span { padding: 0.05rem 0.4rem; background: var(--papel-2); border-radius: 3px; color: var(--tinta-3); font-size: 0.78rem; }
.anaquel-filtros button:hover { border-color: var(--verde-claro); color: var(--verde-hondo); }
.anaquel-filtros button[aria-pressed="true"] { background: var(--verde-hondo); border-color: var(--verde-hondo); color: var(--blanco); }
.anaquel-filtros button[aria-pressed="true"] span { background: rgba(255, 255, 255, 0.18); color: var(--blanco); }
.anaquel-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
.anaquel-lista li { margin: 0; }
.anaquel-lista li[hidden] { display: none !important; }
.anaquel-casa { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio); color: var(--tinta-2); text-decoration: none; transition: border-color 0.18s var(--suave), box-shadow 0.18s var(--suave), transform 0.18s var(--suave); }
.anaquel-casa:hover { border-color: var(--verde-claro); box-shadow: var(--sombra-2); transform: translateY(-3px); color: var(--tinta-2); text-decoration: none; }
.anaquel-logo { display: grid; place-items: center; height: 76px; background: #111815; }
.anaquel-logo img { width: min(160px, 86%); height: auto; }
.anaquel-cuerpo { display: flex; flex: 1; flex-direction: column; padding: 0.9rem 1rem 1rem; }
.anaquel-fila { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem; align-items: start; margin-bottom: 0.45rem; }
.anaquel-fila h3 { margin: 0; font-size: 1rem; line-height: 1.3; color: var(--tinta); }
.anaquel-nota { padding: 0.12rem 0.45rem; background: var(--verde-tinte); border-radius: 4px; color: var(--verde-hondo); font-family: var(--titulos); font-size: 0.95rem; font-weight: 800; }
.anaquel-sello { align-self: flex-start; margin-bottom: 0.55rem; padding: 0.1rem 0.45rem; border-radius: 3px; font-size: 0.74rem; font-weight: 700; }
.anaquel-sello-segob { background: var(--verde-tinte); color: var(--verde-hondo); }
.anaquel-sello-fuera { background: #FFF4D6; color: #6B5310; }
.anaquel-sello-nada { background: var(--papel-2); color: var(--tinta-2); }
.anaquel-texto { margin-bottom: 0.8rem; font-size: 0.86rem; line-height: 1.45; }
.anaquel-ir { margin-top: auto; font-family: var(--titulos); font-size: 0.86rem; font-weight: 700; color: var(--verde); }
.anaquel-pie { margin: 1.25rem 0 0; font-size: 0.9rem; color: var(--tinta-3); }

/* Razones: cuatro recibos con un ejemplo real cada uno */
.razones { background: radial-gradient(circle at 12% 8%, rgba(79, 176, 138, 0.22), transparent 45%), var(--verde-noche); }
.razones-lista { display: grid; gap: 2rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.recibo { position: relative; display: flex; flex-direction: column; margin: 0 0 9px; padding: 1.4rem 1.3rem 0; background: var(--blanco); border-radius: var(--radio) var(--radio) 0 0; color: var(--tinta-2); }
.recibo h3 { margin-bottom: 0.5rem; font-size: 1.12rem; color: var(--tinta); }
.recibo > p { margin: 0 0 1.1rem; font-size: 0.95rem; line-height: 1.55; }
.recibo-talon { position: relative; margin: auto -1.3rem 0; padding: 1rem 1.3rem 1.2rem; background: var(--papel); border-top: 2px dashed var(--borde-2); font-size: 0.85rem; }
.recibo-talon::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='9'%3E%3Cpath d='M0 0h16L8 9z' fill='%23FAF8F2'/%3E%3C/svg%3E") repeat-x; }
.recibo-casa { margin: 0 0 0.6rem; font-family: var(--titulos); font-size: 0.95rem; font-weight: 800; color: var(--tinta); }
.recibo-talon dl { display: grid; gap: 0.35rem; margin: 0 0 0.8rem; }
.recibo-talon dl div { display: grid; gap: 0.1rem; padding-bottom: 0.4rem; border-bottom: 1px dotted var(--borde-2); }
.recibo-talon dt { font-size: 0.78rem; color: var(--tinta-3); }
.recibo-talon dd { margin: 0; font-weight: 600; color: var(--tinta); font-variant-numeric: tabular-nums; }
.recibo-talon a { font-family: var(--titulos); font-weight: 700; }

/* Recorrido: el método en cinco pasos, cada uno con lo que encontró */
.recorrido-pasos { position: relative; display: grid; gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.recorrido-pasos::before { content: ""; position: absolute; top: 24px; bottom: 24px; left: 23px; width: 2px; background: linear-gradient(var(--verde-claro), var(--borde)); }
.paso { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 1.1rem; row-gap: 0.75rem; margin: 0; }
.paso-numero { position: relative; z-index: 1; grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; background: var(--verde-hondo); border-radius: 50%; box-shadow: 0 0 0 6px var(--papel); color: var(--oro-claro); font-family: var(--titulos); font-size: 1.2rem; font-weight: 800; }
.paso-texto h3 { margin: 0.55rem 0 0.35rem; font-size: 1.15rem; }
.paso-texto p { margin: 0; color: var(--tinta-2); }
.paso-prueba { margin: 0; padding: 0.85rem 1rem; background: var(--blanco); border: 1px solid var(--borde); border-left: 3px solid var(--verde); border-radius: var(--radio); font-size: 0.92rem; line-height: 1.5; color: var(--tinta-2); }
.paso-prueba strong { color: var(--verde-hondo); }

/* Biblioteca: guías con portada y el índice completo */
.biblioteca-portadas { display: grid; gap: 1.25rem; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.biblioteca-portadas li { margin: 0; }
.portadilla { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--papel); border: 1px solid var(--borde); border-radius: var(--radio); color: var(--tinta-2); text-decoration: none; transition: border-color 0.18s var(--suave), box-shadow 0.18s var(--suave); }
.portadilla:hover { border-color: var(--verde-claro); box-shadow: var(--sombra-2); color: var(--tinta-2); text-decoration: none; }
.portadilla img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.35s var(--suave); }
.portadilla:hover img { transform: scale(1.03); }
.portadilla-texto { position: relative; padding: 1rem 1.1rem 1.2rem; background: var(--papel); }
.portadilla h3 { margin-bottom: 0.4rem; font-size: 1.05rem; color: var(--tinta); }
.portadilla-texto span { display: block; font-size: 0.9rem; line-height: 1.5; }
.biblioteca-indice { display: grid; gap: 1.75rem; padding-top: 2rem; border-top: 1px solid var(--borde); }
.biblioteca-indice h3 { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0.6rem; align-items: center; margin-bottom: 0.6rem; font-size: 1rem; }
.biblioteca-indice h3 img { width: 36px; height: 36px; filter: drop-shadow(0 4px 6px rgba(21, 33, 27, 0.22)); }
.biblioteca-indice ul { margin: 0; padding: 0; list-style: none; }
.biblioteca-indice li { margin: 0 0 0.35rem; font-size: 0.95rem; }

/* Redacción */
.redaccion-rejilla { display: grid; gap: 1.5rem; align-items: center; }
.redaccion-rejilla > img { width: 180px; height: 180px; border-radius: var(--radio); box-shadow: var(--sombra-2); }
.redaccion-rejilla > div { max-width: 46rem; }
.redaccion-cargo { margin: -0.2rem 0 1rem; font-weight: 600; color: var(--verde); }
.redaccion-reglas { display: grid; gap: 0.5rem; margin: 1.1rem 0 1.4rem; padding: 0; list-style: none; }
.redaccion-reglas li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0.55rem; margin: 0; }
.redaccion-reglas li::before { content: ""; width: 20px; height: 20px; margin-top: 0.2rem; border-radius: 50%; background: var(--verde-tinte) url('/icons/check-bold.svg') center / 11px no-repeat; }

/* Auxilio: dos caminos según lo que cite el casino */
.auxilio-pregunta { width: fit-content; margin: 0 auto; padding: 0.55rem 1rem; background: var(--verde-hondo); border-radius: var(--radio); color: var(--blanco); font-family: var(--titulos); font-weight: 700; text-align: center; }
.auxilio-rutas { position: relative; display: grid; gap: 1.25rem; padding-top: 1.5rem; }
.ruta { position: relative; padding: 1.4rem 1.4rem 1.2rem; background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio); }
.ruta h3 { margin-bottom: 0.9rem; font-size: 1.1rem; }
.ruta ol { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; counter-reset: ruta; }
.ruta li { position: relative; min-height: 26px; margin: 0; padding-left: 2.35rem; font-size: 0.95rem; color: var(--tinta-2); counter-increment: ruta; }
.ruta li::before { content: counter(ruta); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 26px; height: 26px; background: var(--verde-tinte); border-radius: 50%; color: var(--verde-hondo); font-family: var(--titulos); font-size: 0.8rem; font-weight: 800; }
.ruta a { overflow-wrap: anywhere; }
.auxilio-extra { margin: 1.25rem 0 0; color: var(--tinta-2); }

/* Cuidado: +18 y Línea de la Vida */
.cuidado { padding: 3rem 0; background: var(--rojo-tinte); }
.cuidado-rejilla { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.cuidado-rejilla > img { width: 64px; height: 64px; }
.cuidado h2 { margin-bottom: 0.5rem; font-size: clamp(1.3rem, 2.6vw, 1.6rem); }
.cuidado p { margin-bottom: 0.6rem; color: var(--tinta-2); }
.cuidado p:last-child { margin: 0; }
.cuidado a[href^="tel"] { font-weight: 700; color: var(--rojo-hondo); white-space: nowrap; }

@media (min-width: 640px) {
  .publico-rejilla, .biblioteca-portadas, .biblioteca-indice { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 700px) {
  .anaquel-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .razones-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cuidado-rejilla { grid-template-columns: 96px minmax(0, 1fr); gap: 1.75rem; align-items: center; }
  .cuidado-rejilla > img { width: 96px; height: 96px; }
}
@media (min-width: 760px) {
  .publico-mayor { grid-template-columns: minmax(0, 1fr) 380px; padding: 2rem 2.4rem; }
  .redaccion-rejilla { grid-template-columns: 240px minmax(0, 1fr); gap: 3rem; }
  .redaccion-rejilla > img { width: 240px; height: 240px; }
}
@media (min-width: 800px) {
  .recuento-lista { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .recuento-lista li, .recuento-lista li:nth-child(2n) { border-right: 1px solid var(--borde); border-bottom: 0; }
  .recuento-lista li:last-child { border-right: 0; }
  .auxilio-rutas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auxilio-rutas::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 2px; background: var(--borde-2); }
  .ruta::before { content: ""; position: absolute; top: -1.5rem; left: 50%; width: 2px; height: 1.5rem; background: var(--borde-2); }
}
@media (min-width: 900px) {
  .paso { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 0.9fr); column-gap: 1.5rem; align-items: center; }
  .paso-numero { grid-row: auto; }
  .recorrido-pasos { gap: 1.8rem; }
}
@media (min-width: 960px) {
  .zaguan { padding: 4.5rem 0 8rem; }
  .publico-rejilla { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; }
}
@media (min-width: 1000px) {
  .biblioteca-portadas, .biblioteca-indice { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1060px) {
  .anaquel-lista { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .razones-lista { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .casilla, .casilla img, .anaquel-casa, .portadilla img, .publico-mayor > img { transition: none; }
}

/* Zaguán: la tabla de lotería y su voceador */
.zaguan-fecha { margin: 1.1rem 0 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.62); }
.voceador { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 0.9rem 1.2rem; align-items: center; margin-top: 1.9rem; padding: 1.1rem 1.2rem; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radio); }
.voceador-estampa { position: relative; display: flex; flex-direction: column; align-items: center; width: 92px; height: 128px; padding: 5px; background: #FBE7B5; border: 2px solid var(--tinta); border-radius: 5px; box-shadow: inset 0 0 0 3px #FFFDF7, 0 12px 22px rgba(0, 0, 0, 0.35); color: var(--tinta); transform: rotate(-4deg); }
.voceador-numero { position: absolute; top: 6px; left: 8px; font-family: var(--titulos); font-size: 0.75rem; font-weight: 800; }
.voceador-estampa img { width: 64px; height: 64px; margin-top: 14px; filter: drop-shadow(0 6px 6px rgba(21, 33, 27, 0.28)); }
.voceador-nombre-estampa { width: 100%; margin-top: auto; padding: 2px; background: #FFFDF7; border: 1.5px solid var(--tinta); border-radius: 2px; font-family: var(--titulos); font-size: 0.56rem; font-weight: 800; line-height: 1.15; text-align: center; text-transform: uppercase; }
.voceador-grito { margin: 0 0 0.15rem; font-family: var(--titulos); font-size: 1.35rem; font-weight: 800; line-height: 1.2; color: var(--oro-claro); }
.voceador-dicho { margin: 0 0 0.45rem; font-style: italic; color: rgba(255, 255, 255, 0.78); }
.voceador-dato { margin: 0 0 0.5rem; font-size: 0.95rem; line-height: 1.5; color: var(--blanco); }
.voceador-ir { font-family: var(--titulos); font-size: 0.92rem; font-weight: 700; color: var(--oro-claro); }
.voceador-ir:hover { color: var(--blanco); }
.voceador-ir img { display: inline-block; width: 16px; height: 16px; margin-left: 0.2rem; vertical-align: -3px; filter: invert(84%) sepia(40%) saturate(700%) hue-rotate(356deg) brightness(97%); }
.voceador-mando { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; padding-top: 0.9rem; border-top: 1px dashed rgba(255, 255, 255, 0.18); }
.voceador-mando[hidden] { visibility: hidden; }
.voceador-boton { padding: 0.55rem 1rem; background: var(--oro-claro); border: 0; border-radius: var(--radio); color: var(--verde-noche); font-family: var(--titulos); font-size: 0.92rem; font-weight: 800; cursor: pointer; transition: transform 0.15s var(--suave), background 0.15s var(--suave); }
.voceador-boton:hover { background: #F2D774; transform: translateY(-1px); }
.voceador-cuenta { flex-basis: 100%; font-size: 0.85rem; color: rgba(255, 255, 255, 0.66); white-space: nowrap; }
@media (min-width: 430px) { .voceador-cuenta { flex-basis: auto; } }
.voceador-canta .voceador-estampa { animation: estampa-voltea 0.45s var(--suave); }
.voceador-canta .voceador-texto { animation: texto-entra 0.45s var(--suave); }
/* Alto reservado = la carta más larga medida en cada ancho, para que cantar no mueva la tabla */
.voceador-texto { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 20rem; }
@media (min-width: 375px) { .voceador-texto { min-height: 18.4rem; } }
@media (min-width: 412px) { .voceador-texto { min-height: 17rem; } }
@media (min-width: 430px) { .voceador-texto { min-height: 14rem; } }
@media (min-width: 480px) { .voceador-texto { min-height: 12.2rem; } }
@media (min-width: 700px) { .voceador-texto { min-height: 9rem; } }
@media (min-width: 1000px) { .voceador-texto { min-height: 12.2rem; } }
@media (min-width: 1200px) { .voceador-texto { min-height: 9rem; } }

.carton { position: relative; justify-self: center; width: 100%; padding: 12px; background: linear-gradient(150deg, #F3E8CC 0%, #E6D6AF 100%); border-radius: 8px; box-shadow: inset 0 0 0 2px rgba(120, 90, 30, 0.25), 0 30px 60px rgba(0, 0, 0, 0.45); }
.carton-estampas { display: grid; grid-auto-flow: column; grid-auto-columns: 96px; grid-template-rows: repeat(2, auto); gap: 8px; margin: 0; padding: 0 0 4px; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; }
.carton-estampas li { margin: 0; scroll-snap-align: start; }
.estampa { position: relative; display: flex; flex-direction: column; align-items: center; height: 136px; padding: 5px; border: 2px solid var(--tinta); border-radius: 5px; box-shadow: inset 0 0 0 3px #FFFDF7; color: var(--tinta); text-decoration: none; transition: transform 0.2s var(--suave), box-shadow 0.2s var(--suave); }
.estampa:hover, .estampa:focus-visible { z-index: 2; transform: translateY(-4px) rotate(-2deg); box-shadow: inset 0 0 0 3px #FFFDF7, 0 14px 22px rgba(0, 0, 0, 0.3); color: var(--tinta); text-decoration: none; }
.estampa-verde { background: #D7EEE2; }
.estampa-rojo { background: #F8D9DE; }
.estampa-oro { background: #FBE7B5; }
.estampa-papel { background: #E9E1CF; }
.estampa-numero { position: absolute; top: 6px; left: 8px; font-family: var(--titulos); font-size: 0.78rem; font-weight: 800; }
.estampa img { width: 64px; height: 64px; margin-top: 15px; filter: drop-shadow(0 6px 6px rgba(21, 33, 27, 0.28)); transition: transform 0.25s var(--suave); }
.estampa:hover img { transform: scale(1.08) rotate(-6deg); }
.estampa-nombre { width: 100%; margin-top: auto; padding: 3px 2px; background: #FFFDF7; border: 1.5px solid var(--tinta); border-radius: 2px; font-family: var(--titulos); font-size: 0.6rem; font-weight: 800; line-height: 1.15; letter-spacing: 0.02em; text-align: center; text-transform: uppercase; }
.estampa.cantada::after { content: ""; position: absolute; top: 46%; left: 50%; width: 30px; height: 19px; margin: -10px 0 0 -15px; border-radius: 50%; background: radial-gradient(ellipse at 34% 30%, #D9A77A 0 12%, #8A5431 40%, #4A2A16 100%); box-shadow: 0 3px 5px rgba(0, 0, 0, 0.45); transform: rotate(-28deg); animation: grano-cae 0.35s var(--suave) both; }
.estampa.recien { animation: estampa-canta 0.7s var(--suave); }

@media (min-width: 700px) {
  .carton { width: auto; padding: 14px; transform: rotate(-1.2deg); }
  .carton-estampas { grid-auto-flow: row; grid-template-columns: repeat(4, 104px); grid-template-rows: none; grid-auto-columns: auto; gap: 9px; padding: 0; overflow: visible; }
  .estampa { height: 146px; }
  .estampa img { width: 72px; height: 72px; margin-top: 16px; }
  .estampa-nombre { font-size: 0.64rem; }
}
@media (min-width: 1000px) {
  .zaguan-rejilla { grid-template-columns: minmax(0, 1fr) auto; gap: 4rem; }
}
@keyframes grano-cae { from { opacity: 0; transform: translateY(-16px) rotate(-70deg) scale(1.5); } to { opacity: 1; transform: rotate(-28deg); } }
@keyframes estampa-canta { 0%, 100% { box-shadow: inset 0 0 0 3px #FFFDF7; } 35% { transform: translateY(-6px) scale(1.07); box-shadow: inset 0 0 0 3px #FFFDF7, 0 0 0 4px var(--oro-claro), 0 16px 26px rgba(0, 0, 0, 0.4); } }
@keyframes estampa-voltea { from { transform: rotate(-4deg) rotateY(90deg); } to { transform: rotate(-4deg); } }
@keyframes texto-entra { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .estampa, .estampa img, .voceador-boton { transition: none; }
  .estampa.recien, .estampa.cantada::after, .voceador-canta .voceador-estampa, .voceador-canta .voceador-texto { animation: none; }
}
.zaguan-rejilla > * { min-width: 0; }
