/* ============================================================
   chile22bet.com — satélite 22Bet Chile
   El marco (frontis/zócalo) conserva el teal de la marca,
   tomado del sitio original. Adentro, el turquesa del
   referente hace de metal de la casa, el rojo y el blanco
   de la bandera dan el acento y los Andes quedan al fondo.
   ============================================================ */

:root {
  --marco: #124c51;
  --marco-panel: #054146;
  --marco-fondo: #032a2d;
  --rojo: #d52b1e;
  --rojo-oscuro: #ab1f16;
  --rojo-palido: #fdeceb;
  --rojo-linea: #f4cbc7;
  --hondo: #0a636b;
  --hondo-tenue: #0a636b50;
  --turquesa: #15939e;
  --turquesa-palido: #e2f4f6;
  --coral: #f04c44;
  --blanco: #ffffff;
  --cta: #2eb256;
  --cta-oscuro: #27974a;
  --tinta: #12262a;
  --tinta-suave: #33484c;
  --tinta-tenue: #64797d;
  --piedra: #eff5f6;
  --piedra-linea: #d8e6e8;
  --login-fondo: #0a636b;
  --radio: 10px;
  --ancho: 1200px;
  --fuente: "Rubik", Arial, sans-serif;
  --fuente-titulo: "Oswald", "Rubik", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fuente);
  font-size: 16px;
  line-height: 1.65;
  color: var(--tinta);
  background-color: var(--marco-fondo);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(21, 147, 158, .34) 0%, rgba(3, 42, 45, 0) 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='120' viewBox='0 0 240 120'%3E%3Cg fill='none' stroke='%2315939e' stroke-opacity='.24' stroke-width='3' stroke-linejoin='round'%3E%3Cpath d='M-10 96 26 52l20 22 26-40 30 46 24-28 32 40 26-30 34 38 32-24'/%3E%3Cpath d='M-10 120 22 84l24 24 30-34 26 30 28-22 30 34 28-26 32 32 30-20'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed, fixed;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rojo-oscuro); text-decoration: none; }
a:hover { text-decoration: underline; }

.retablo {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ BARRA DE AVANCE ============ */

.cinta {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 50%, var(--rojo) 50%);
  z-index: 120;
  transition: width .08s linear;
}

/* ============ FRONTIS ============ */

.frontis {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--marco);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.frontis__fila {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 72px;
  gap: 18px;
}

.sello { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sello img { height: 44px; width: auto; }

.senda { display: flex; align-items: center; gap: 4px; margin: 0 auto; }

.senda a {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 10px 18px;
  border-radius: 38px;
  transition: background .2s;
}
.senda a:hover { background: rgba(255, 255, 255, .1); text-decoration: none; }
.senda a.senda--aqui { background: var(--rojo); }

.frontis__acciones { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.pastilla {
  background: var(--cta);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 11px 26px;
  border-radius: 38px;
  flex-shrink: 0;
  transition: background .2s;
}
.pastilla:hover { background: var(--cta-oscuro); text-decoration: none; }
.pastilla--oscura { background: var(--login-fondo); }
.pastilla--oscura:hover { background: #0c4a50; }

.banderin {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  flex-shrink: 0;
}
.banderin svg {
  width: 30px;
  height: 20px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
}

.rejilla {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.rejilla span {
  display: block;
  width: 26px; height: 3px;
  background: #fff;
  border-radius: 2px;
  margin: 5px 0;
  transition: transform .25s, opacity .25s;
}
.rejilla.rejilla--x span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.rejilla.rejilla--x span:nth-child(2) { opacity: 0; }
.rejilla.rejilla--x span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.persiana {
  display: none;
  background: var(--marco-panel);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.persiana.persiana--abierta { display: block; }
.persiana a {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .2s;
}
.persiana a:hover { background: rgba(255, 255, 255, .07); text-decoration: none; }

.persiana__acciones {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px 22px;
}
.persiana__acciones a {
  flex: 1 1 0;
  max-width: 190px;
  padding: 13px 18px;
  border: 0;
  border-radius: 38px;
  background: var(--cta);
  transition: background .2s;
}
.persiana__acciones a:hover { background: var(--cta-oscuro); }
.persiana__acciones a.persiana__oscura { background: var(--login-fondo); }
.persiana__acciones a.persiana__oscura:hover { background: #0c4a50; }

/* ============ ESCAPARATE (HERO) ============ */

.escaparate {
  margin-top: 72px;
  background: linear-gradient(122deg, #032a2d 0%, var(--marco) 46%, #15939e 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--rojo);
}

.escaparate__fila {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 52px 0;
  min-height: 420px;
  position: relative;
  z-index: 1;
}

.escaparate__fondo {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--ancho));
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.escaparate__fondo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(3, 26, 29, .95) 0%, rgba(6, 58, 63, .74) 40%, rgba(10, 99, 107, .32) 74%);
}

.escaparate__texto { flex: 1 1 auto; max-width: 640px; position: relative; z-index: 1; }

.escaparate h1 {
  font-family: var(--fuente-titulo);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.14;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.escaparate h1 .fulgor { color: var(--coral); text-shadow: 0 0 18px rgba(240, 76, 68, .55); }

.escaparate__bajada {
  color: rgba(255, 255, 255, .93);
  font-size: 17px;
  margin-bottom: 26px;
  max-width: 560px;
}

.escaparate__botones { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.placa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, .38);
  border-left: 4px solid #fff;
  border-bottom: 4px solid var(--rojo);
  color: #fff;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}
.placa .chispa { color: var(--rojo); }
.escaparate__nota { margin-bottom: 16px; }

/* ============ PULSADORES ============ */

.pulsador {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--fuente);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  border: 0;
  border-radius: var(--radio);
  padding: 14px 32px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(2, 26, 28, 0);
  transition: filter .25s ease, box-shadow .25s ease, background-color .25s ease;
  text-align: center;
}
.pulsador:hover {
  text-decoration: none;
  filter: brightness(.95);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), 0 7px 18px rgba(2, 26, 28, .34);
}
.pulsador--jugar {
  background: var(--hondo);
  color: #fff;
  box-shadow: inset 0 0 0 2px var(--turquesa), 0 0 0 rgba(2, 26, 28, 0);
}
.pulsador--jugar:hover { box-shadow: inset 0 0 0 2px var(--turquesa-palido), 0 7px 18px rgba(2, 26, 28, .34); }
.pulsador--bono { background: var(--rojo); }
.pulsador--rojo { background: var(--cta); }
.pulsador svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Destello de cumbre: una luz cruza el pulsador al pasar el mouse */
.pulsador::after,
.descarga::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 42%;
  height: 220%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .24) 30%, rgba(255, 255, 255, .85) 50%, rgba(255, 255, 255, .24) 70%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-22deg);
  opacity: 0;
  pointer-events: none;
}
.pulsador:hover::after,
.pulsador:focus-visible::after,
.descarga:hover::after,
.descarga:focus-visible::after { animation: polysk .72s ease-out; }

@keyframes polysk {
  0% { left: -80%; opacity: 0; }
  14% { opacity: 1; }
  100% { left: 128%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pulsador:hover::after,
  .pulsador:focus-visible::after,
  .descarga:hover::after,
  .descarga:focus-visible::after { animation: none; }
}

/* ============ CONTENIDO / FICHAS ============ */

.medio { padding: 30px 0 26px; }
.medio .retablo > *:last-child { margin-bottom: 0; }

/* Ficha blanca abierta por una guarda de cobre arriba */
.tablon {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--piedra-linea);
  border-radius: var(--radio);
  padding: 32px 34px 30px;
  margin-bottom: 24px;
  box-shadow: 0 3px 14px rgba(2, 30, 32, .14);
  overflow: hidden;
}
/* Guarda de cobre con remate rojo en el borde superior */
.tablon::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background:
    linear-gradient(90deg, var(--rojo) 0 74px, transparent 74px),
    repeating-linear-gradient(90deg, var(--turquesa) 0 14px, #0f7b85 14px 28px);
}
/* Cumbre nevada apenas insinuada en el pie de la ficha */
.tablon::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 260px; height: 92px;
  opacity: .5;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 92' preserveAspectRatio='none'%3E%3Cpath d='M0 92 58 34l26 26 34-46 40 52 26-24 38 38 38-26v38Z' fill='%230a636b' fill-opacity='.08'/%3E%3Cpath d='M0 92 44 52l24 22 32-36 34 42 24-20 34 32 36-22 32 26v4Z' fill='%2315939e' fill-opacity='.10'/%3E%3C/svg%3E");
  pointer-events: none;
}

.tablon > *:last-child { margin-bottom: 0; }

.tablon h2 {
  font-family: var(--fuente-titulo);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.24;
  text-transform: uppercase;
  color: var(--hondo);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--piedra-linea);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.tablon h2::before {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* La estrella solitaria sobre el cuadro azul */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='2' y='2' width='28' height='28' rx='3' fill='%230a636b'/%3E%3Crect x='2' y='2' width='28' height='28' rx='3' fill='none' stroke='%23d52b1e' stroke-width='2'/%3E%3Cpath d='M16 6.6l2.62 8.06h8.48l-6.86 4.98 2.62 8.06L16 22.72l-6.86 4.98 2.62-8.06-6.86-4.98h8.48z' fill='%23ffffff'/%3E%3C/svg%3E");
}

.tablon h3 {
  font-family: var(--fuente-titulo);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--tinta-suave);
  margin: 26px 0 14px;
  padding: 8px 16px 8px 18px;
  border-left: 5px solid var(--turquesa);
  box-shadow: inset 7px 0 0 -3px rgba(255, 255, 255, .9);
  background: linear-gradient(90deg, var(--piedra) 0%, rgba(241, 244, 248, 0) 82%);
  border-radius: 0 var(--radio) var(--radio) 0;
}

.tablon p { margin-bottom: 14px; }

/* El primer párrafo de cada ficha marca el tono de la sección */
.tablon h2 + p:not(.timbre):not(.menudo) {
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(10, 99, 107, .07) 0%, rgba(10, 99, 107, 0) 80%);
  border-left: 3px solid var(--hondo);
  border-radius: 0 var(--radio) var(--radio) 0;
  color: var(--tinta-suave);
  font-size: 15.5px;
}

.tablon ol { margin: 0 0 16px 22px; }
.tablon li { margin-bottom: 8px; }

.tablon ul {
  list-style: none;
  margin: 0 0 16px;
}
.tablon ul li {
  position: relative;
  padding-left: 30px;
}
.tablon ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .22em;
  width: 21px;
  height: 21px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("../visual/senal-estrella.webp");
}

/* Las listas se vuelven tarjetas de línea con canto azul */
.tablon > ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tablon > ul > li {
  margin: 0;
  padding: 10px 16px 10px 46px;
  background: var(--piedra);
  border: 1px solid var(--piedra-linea);
  border-left: 3px solid var(--turquesa);
  border-radius: var(--radio);
}
.tablon > ul > li:nth-child(even) { border-left-color: var(--rojo); }
.tablon > ul > li::before {
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
}

.menudo {
  font-size: 13.5px;
  color: var(--tinta-tenue);
  font-style: italic;
}

/* ============ ESTAMPAS (ilustraciones) ============ */

.estampa {
  margin: 20px 0 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(2, 26, 28, .2);
  border: 1px solid var(--piedra-linea);
  border-radius: var(--radio);
}
.estampa img { width: 100%; }
.estampa figcaption {
  background: var(--hondo);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-top: 3px solid var(--rojo);
}

/* ============ RASTRO (migas) ============ */

.rastro {
  margin-bottom: 14px;
  font-size: 13px;
}
.rastro ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.rastro li { color: rgba(255, 255, 255, .78); }
.rastro li + li::before { content: "/"; margin-right: 6px; color: var(--rojo); }
.rastro a { color: #fff; }
.rastro a:hover { color: var(--rojo); }

/* ============ CUADRÍCULAS ============ */

.cuadricula {
  margin: 18px 0;
  border: 1px solid var(--piedra-linea);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(2, 26, 28, .12);
  background: #fdfefe;
}

/* El rótulo se despega de la cabecera y encabeza el bloque entero.
   Se deja como caption de tabla: en el celular acompaña al
   desplazamiento horizontal igual que los encabezados de columna. */
.cuadricula caption {
  caption-side: top;
  text-align: left;
  font-family: var(--fuente-titulo);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--hondo);
  background: var(--turquesa-palido);
  padding: 12px 16px 12px 18px;
  border-left: 4px solid var(--turquesa);
  border-bottom: 1px solid var(--piedra-linea);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  table-layout: auto;
}

thead th {
  background: linear-gradient(180deg, var(--turquesa) 0%, var(--hondo) 100%);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .03em;
  padding: 11px 12px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 3px solid var(--rojo);
}

tbody td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--piedra-linea);
  vertical-align: top;
}
tbody tr:nth-child(even) { background: var(--piedra); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody td, tbody th { transition: background-color .15s ease; }
tbody tr:hover td { background: var(--rojo-palido); }
tbody tr:hover th { background: var(--rojo-linea); }
tbody th {
  padding: 11px 12px;
  border-bottom: 1px solid var(--piedra-linea);
  text-align: left;
  background: var(--turquesa-palido);
  color: var(--tinta-suave);
  font-weight: 600;
  vertical-align: top;
}

/* Tablas anchas: los encabezados pueden cortarse para que quepan los datos */
table.cuadricula--fina { font-size: 12.5px; }
table.cuadricula--fina thead th {
  font-size: 11px;
  padding: 10px 9px;
  white-space: normal;
  hyphens: none;
}
table.cuadricula--fina tbody td { padding: 10px 9px; }
table.cuadricula--fina tbody td:nth-child(2) { min-width: 122px; }

/* ============ BALANZA (a favor / en contra) ============
   Cada punto es una ficha independiente en una rejilla que se
   reacomoda sola: sin celdas vacías ni aire de tabla. El rótulo
   de cada lado va sobre una cinta corta con su icono. */

.balanza { display: block; margin: 22px 0 6px; background: none; border: 0; }

.balanza--contra { margin-top: 26px; }

.balanza--pro h3, .balanza--contra h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 9px 20px 9px 16px;
  font-size: 14px;
  letter-spacing: .1em;
  color: #ffffff;
  border: 0;
  border-radius: 4px 16px 16px 4px;
  box-shadow: 0 4px 12px rgba(2, 26, 28, .18);
}
.balanza--pro h3 { background: linear-gradient(100deg, var(--hondo) 0%, var(--turquesa) 100%); }
.balanza--contra h3 { background: linear-gradient(100deg, var(--rojo-oscuro) 0%, var(--rojo) 100%); }
.balanza--pro h3::before, .balanza--contra h3::before {
  content: "";
  flex-shrink: 0;
  width: 17px; height: 17px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.balanza--pro h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 8.9H24l-7.6 5.5 2.9 9-7.3-5.5-7.3 5.5 2.9-9L0 10.9h9.1z' fill='%23ffffff'/%3E%3C/svg%3E");
}
.balanza--contra h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='none' stroke='%23ffffff' stroke-width='2.4'/%3E%3Cpath d='M6.4 12h11.2' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.balanza--pro ul, .balanza--contra ul {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 12px;
}
.balanza--pro ul li, .balanza--contra ul li {
  margin: 0;
  padding: 15px 18px 15px 52px;
  background: #ffffff;
  border: 1px solid var(--piedra-linea);
  border-left-width: 4px;
  border-radius: var(--radio);
  box-shadow: 0 2px 8px rgba(2, 26, 28, .07);
  font-size: 15px;
  line-height: 1.55;
  transition: transform .18s ease, box-shadow .18s ease;
}
.balanza--pro ul li { border-left-color: var(--turquesa); }
.balanza--contra ul li { border-left-color: var(--rojo); }
.balanza--pro ul li:hover, .balanza--contra ul li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(2, 26, 28, .14);
}
.balanza--pro ul li::before { background-image: url("../visual/senal-mas.webp"); width: 24px; height: 24px; left: 16px; top: .78em; transform: none; }
.balanza--contra ul li::before { background-image: url("../visual/senal-menos.webp"); width: 24px; height: 24px; left: 16px; top: .78em; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .balanza--pro ul li, .balanza--contra ul li { transition: none; }
  .balanza--pro ul li:hover, .balanza--contra ul li:hover { transform: none; }
}

/* ============ PELDAÑOS ============ */

.peldanos { counter-reset: krok; list-style: none; margin: 16px 0 !important; }
.peldanos li {
  counter-increment: krok;
  position: relative;
  padding: 0 0 14px 52px;
  margin: 0;
}
.peldanos li::before {
  content: counter(krok);
  position: absolute;
  left: 0; top: -2px;
  width: 34px; height: 34px;
  background: var(--hondo);
  border-bottom: 3px solid var(--rojo);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ RECLAMOS (banners) ============ */

.reclamo {
  display: flex;
  align-items: center;
  gap: 30px;
  background: linear-gradient(120deg, #03272a 0%, var(--marco) 68%, #0a636b 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radio);
  padding: 34px 36px;
  margin-bottom: 24px;
  min-height: 180px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(2, 26, 28, .3);
}
.reclamo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(3, 25, 28, .94) 0%, rgba(6, 52, 56, .76) 46%, rgba(10, 99, 107, .1) 78%);
  pointer-events: none;
}
.reclamo--roja::before {
  background: linear-gradient(100deg, rgba(40, 8, 5, .94) 0%, rgba(134, 25, 18, .74) 46%, rgba(213, 43, 30, .1) 78%);
}

.reclamo__texto { flex: 1; max-width: 420px; position: relative; z-index: 1; }
.reclamo__texto .reclamo__cta { margin-top: 18px; }

.reclamo__sello {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 4px;
  padding-left: 12px;
  border-left: 3px solid var(--rojo);
}
.reclamo__titulo {
  font-family: var(--fuente-titulo);
  font-size: 27px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 6px;
}
.reclamo__linea { color: rgba(255, 255, 255, .88); font-size: 14px; margin-bottom: 0; }

/* ============ FRANJA DE LA APP ============ */

.bolsillo {
  display: flex;
  align-items: center;
  gap: 30px;
  background: linear-gradient(115deg, #03272a 0%, var(--marco) 60%, #0a636b 100%);
  border-radius: var(--radio);
  padding: 28px 36px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(2, 26, 28, .3);
}
.bolsillo__foto { flex: 0 0 190px; position: relative; z-index: 1; }
.bolsillo__foto img { border-radius: var(--radio); }
.bolsillo__texto { flex: 1; position: relative; z-index: 1; }
.bolsillo__titulo {
  font-family: var(--fuente-titulo);
  font-size: 25px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 6px;
}
.bolsillo__linea { color: rgba(255, 255, 255, .88); font-size: 14px; }
.bolsillo__tiendas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.descarga {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #0b2b2e;
  border: 1px solid var(--turquesa);
  color: #fff;
  border-radius: var(--radio);
  padding: 10px 22px 10px 16px;
  position: relative;
  overflow: hidden;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
  min-width: 218px;
}
.descarga:hover {
  background: #14383c;
  border-color: var(--turquesa-palido);
  box-shadow: 0 6px 16px rgba(2, 26, 28, .32);
  text-decoration: none;
}
.descarga svg { width: 30px; height: 30px; flex-shrink: 0; }
.descarga__txt { line-height: 1.2; text-align: center; }
.descarga__mini { display: block; font-size: 11px; opacity: .82; }
.descarga__grande { display: block; font-size: 17px; font-weight: 700; }

/* ============ TAPETES ============
   Filas con medallón redondo en lugar de rejilla */

.tapetes { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 0; }
.tapete {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--piedra);
  border: 1px solid var(--piedra-linea);
  border-radius: var(--radio);
  padding: 18px 20px;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.tapete:hover {
  box-shadow: 0 10px 24px rgba(2, 26, 28, .16);
  border-color: var(--rojo);
}
.tapete__sello {
  flex-shrink: 0;
  width: 62px; height: 62px;
  display: grid;
  place-items: center;
  background: var(--marco);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--turquesa);
}
.tapete__sello img { width: 40px; height: 40px; object-fit: contain; }
.tapete__cuerpo { flex: 1; }
.tapetes .tapete__nombre {
  font-family: var(--fuente-titulo);
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--hondo);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--rojo-linea);
}
.tapete p { margin-bottom: 0; font-size: 14.5px; }

/* ============ TAMBORES (slots) ============ */

.tambores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0 6px;
}
.tambor {
  position: relative;
  display: block;
  border-radius: var(--radio);
  overflow: hidden;
  background: #0b2b2e;
  border: 1px solid var(--turquesa);
  box-shadow: 0 3px 12px rgba(2, 26, 28, .2);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.tambor:hover { box-shadow: 0 12px 26px rgba(2, 26, 28, .32); border-color: var(--rojo); text-decoration: none; }
.tambor__arte { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .35s ease; }
.tambor:hover .tambor__arte { transform: scale(1.06); }
.tambor__velo {
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  transition: left .55s ease;
}
.tambor:hover .tambor__velo { left: 115%; }
.tambor__faja {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(3, 24, 26, 0) 0%, rgba(3, 24, 26, .86) 55%, rgba(3, 24, 26, .96) 100%);
}
.tambor__tipo {
  display: block;
  color: var(--turquesa);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}
.tambor__nombre {
  display: block;
  color: #fff;
  font-family: var(--fuente-titulo);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}
.tambores-cta { display: flex; justify-content: center; margin-top: 18px; }

/* ============ TESTIMONIOS (cinta sin fin) ============ */

.testimonios { position: relative; margin-top: 22px; }

.testimonios__cinta {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 2px 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  overscroll-behavior-x: contain;
}
.testimonios__cinta::-webkit-scrollbar { display: none; }
.testimonios__cinta.testimonios__cinta--agarre { cursor: grabbing; scroll-behavior: auto; }

.testimonio {
  flex: 0 0 calc((100% - 36px) / 3);
  background: var(--piedra);
  border: 1px solid var(--piedra-linea);
  border-left: 3px solid var(--rojo);
  border-radius: var(--radio);
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.testimonio:hover {
  box-shadow: 0 8px 22px rgba(2, 26, 28, .16);
  border-color: var(--turquesa);
  border-left-color: var(--hondo);
}
.testimonio::before {
  content: "\201E";
  position: absolute;
  top: 2px; right: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 84px;
  line-height: 1;
  color: var(--turquesa);
  opacity: .45;
  pointer-events: none;
}

.relato__frontis { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.testimonio__foto {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: var(--radio);
  object-fit: cover;
  border: 2px solid var(--turquesa);
  box-shadow: 0 2px 8px rgba(2, 26, 28, .2);
}
.testimonio__quien { min-width: 0; }
.testimonio__nombre {
  display: block;
  font-family: var(--fuente-titulo);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--hondo);
}
.testimonio__linea { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.testimonio__nota {
  background: var(--rojo);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: var(--radio);
  padding: 2px 10px;
  flex-shrink: 0;
}
.testimonio__estrellas { color: var(--coral); font-size: 13px; letter-spacing: 2px; }
.testimonio__texto { font-style: italic; color: var(--tinta); font-size: 14.5px; margin: 0; position: relative; z-index: 1; }

.testimonios__mando {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
}
.testimonios__flecha {
  width: 40px; height: 40px;
  border-radius: var(--radio);
  background: var(--hondo);
  color: #fff;
  border: 1px solid var(--turquesa);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s, box-shadow .2s;
}
.testimonios__flecha:hover { background: var(--rojo); box-shadow: 0 4px 12px rgba(2, 26, 28, .25); }
.testimonios__flecha svg { width: 18px; height: 18px; }

.testimonios__puntos { display: flex; align-items: center; gap: 8px; }
.testimonios__punto {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--piedra-linea);
  cursor: pointer;
  transition: background .2s, width .2s;
}
.testimonios__punto:hover { background: var(--rojo-linea); }
.testimonios__punto.testimonios__punto--aqui { background: var(--rojo); width: 24px; border-radius: 6px; }

/* ============ PUNTAJE FINAL ============ */

.puntaje {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px 12px;
  background: linear-gradient(120deg, var(--hondo) 0%, var(--marco) 100%);
  color: #fff;
  border-radius: var(--radio);
  border-bottom: 5px solid var(--rojo);
  padding: 18px 26px;
  margin-top: 18px;
}
.puntaje__valor {
  font-family: var(--fuente-titulo);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}
.puntaje__rotulo { font-size: 15px; font-weight: 700; text-transform: uppercase; color: var(--turquesa); }

/* ============ CONSULTAS (FAQ) ============ */

.consultas { margin-top: 6px; }
/* La nota al pie no debe pegarse a la última pregunta */
.consultas + .menudo, .consultas + p { margin-top: 20px; }
.consulta { border-bottom: 1px solid var(--piedra-linea); }
.consulta summary {
  cursor: pointer;
  font-weight: 700;
  line-height: 1.45;
  color: var(--tinta-suave);
  padding: 15px 34px 15px 0;
  position: relative;
  list-style: none;
  font-size: 15.5px;
  transition: color .18s ease;
}
.consulta summary::-webkit-details-marker { display: none; }
.consulta summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: var(--radio);
  background: var(--hondo);
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .25s ease, color .25s ease;
}
.consulta summary:hover { color: var(--rojo-oscuro); }
.consulta summary:hover::after { background: var(--rojo); }
.consulta[open] summary::after { content: "\2212"; background: var(--rojo); }
.consulta .consulta__respuesta { padding: 0 0 16px; }
.consulta .consulta__respuesta p { margin-bottom: 8px; }

/* ============ RÚBRICA DEL EDITOR ============ */

.rubrica {
  background: var(--turquesa-palido);
  border-left: 5px solid var(--hondo);
  border-bottom: 3px solid var(--rojo);
  border-radius: var(--radio);
  padding: 22px 26px;
  margin-bottom: 20px;
  font-style: italic;
}
.rubrica__nombre { font-weight: 700; font-style: normal; color: var(--hondo); }

/* ============ ZÓCALO ============ */

.zocalo {
  background: var(--marco);
  color: rgba(255, 255, 255, .8);
  padding: 44px 0 0;
}
.zocalo__reja {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
}
.zocalo__sobre img { height: 40px; width: auto; margin-bottom: 14px; }
.zocalo__sobre p { font-size: 13px; line-height: 1.6; }

.zocalo__columna h4 {
  display: inline-block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
  padding-bottom: 8px;
  position: relative;
}
.zocalo__columna h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--turquesa);
  border-radius: 2px;
}
.zocalo__columna ul { list-style: none; margin-top: 12px; }
.zocalo__columna li { margin-bottom: 9px; }
.zocalo__columna a { color: rgba(255, 255, 255, .7); font-size: 14px; }
.zocalo__columna a:hover { color: #fff; }

.zocalo__aviso {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 18px;
}
.mayoria-edad {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border: 2px solid var(--coral);
  color: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}
.zocalo__aviso p { font-size: 12.5px; line-height: 1.55; margin: 0; }

.zocalo__base {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
}

/* ============ BOTÓN AL TOPE ============ */

.al-tope {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: var(--radio);
  background: var(--hondo);
  color: #fff;
  border: 1px solid var(--turquesa);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, background-color .2s;
  z-index: 90;
}
.al-tope.al-tope--visible { opacity: 1; visibility: visible; transform: translateY(0); }
.al-tope:hover { background: var(--rojo); }
.al-tope svg { width: 22px; height: 22px; }

/* ============ ASOMAR AL RODAR ============ */

.asoma { opacity: 0; transform: translateY(18px); }
.asoma.asoma--ok {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease;
}
@media (prefers-reduced-motion: reduce) {
  .asoma { opacity: 1; transform: none; }
}

/* ============ 404 ============ */

.traspapelado {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
}
.traspapelado__codigo {
  font-family: var(--fuente-titulo);
  font-size: 130px;
  font-weight: 700;
  color: var(--rojo);
  line-height: 1;
  text-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
.traspapelado h1 { color: #fff; font-family: var(--fuente-titulo); font-size: 32px; text-transform: uppercase; margin: 12px 0; }
.traspapelado p { color: rgba(255, 255, 255, .88); margin-bottom: 26px; }

/* ============ PÁGINAS LEGALES ============ */

.timbre { font-size: 13.5px; color: var(--tinta-tenue); margin-bottom: 18px; }

/* ============ ADAPTACIÓN ============ */

@media (max-width: 1080px) {
  .frontis__fila { gap: 10px; }
  .sello img { height: 38px; }
  .senda { gap: 2px; }
  .senda a { padding: 9px 11px; font-size: 12px; }
  .pastilla { padding: 10px 16px; font-size: 12px; }
  .frontis__acciones { gap: 8px; }
  .banderin { font-size: 12px; gap: 6px; }
  .banderin svg { width: 26px; height: 17px; }
}

@media (max-width: 1024px) {
  .escaparate h1 { font-size: 36px; }
  .zocalo__reja { grid-template-columns: 1fr 1fr; }
  .tablon { padding: 28px 26px; }
  .tambores { grid-template-columns: repeat(3, 1fr); }
  .testimonio { flex-basis: calc((100% - 18px) / 2); }

  .cuadricula {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .cuadricula table { min-width: 500px; }
  .cuadricula caption { font-size: 13.5px; padding: 10px 14px 10px 15px; }
  .cuadricula thead th,
  .cuadricula tbody td,
  .cuadricula tbody th { min-width: 140px; }
  .cuadricula table.cuadricula--fina thead th,
  .cuadricula table.cuadricula--fina tbody td,
  .cuadricula table.cuadricula--fina tbody th { min-width: 120px; }
  .cuadricula tbody tr > *:first-child,
  .cuadricula thead th:first-child { min-width: 160px; }
}

/* Palabras largas del castellano: la rejilla aparece antes */
@media (max-width: 940px) {
  .senda, .frontis__acciones { display: none; }
  .banderin { margin-left: auto; }
  .rejilla { display: block; }
}

@media (max-width: 860px) {
  .escaparate__fila { flex-direction: column; align-items: flex-start; padding: 34px 0; min-height: 0; }
  .escaparate__texto { width: 100%; max-width: 100%; }
  .escaparate__fondo::after {
    background: linear-gradient(180deg, rgba(2, 26, 28, .52) 0%, rgba(2, 26, 28, .52) 60%, rgba(2, 26, 28, .5) 100%);
  }
  .escaparate h1 { font-size: 30px; }
  .escaparate h1, .escaparate__bajada, .rastro {
    text-shadow:
      0 0 2px rgba(0, 14, 15, .98),
      0 1px 4px rgba(0, 14, 15, .95),
      0 2px 12px rgba(0, 14, 15, .92);
  }
  .tapetes { grid-template-columns: 1fr; }
  .reclamo { flex-direction: column; align-items: flex-start; }
  /* La franja de la app se centra ya en pantallas medianas:
     celular, el texto y los botones de tienda quedarían desalineados a la izquierda */
  .bolsillo { flex-direction: column; align-items: center; text-align: center; }
  .bolsillo__texto { width: 100%; }
  .reclamo::before, .reclamo--roja::before { background: none; }
  .reclamo__texto {
    max-width: 100%;
    background: rgba(2, 26, 28, .74);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: var(--radio);
    padding: 22px 20px;
  }
  .reclamo--roja .reclamo__texto { background: rgba(32, 4, 9, .74); }
  .bolsillo__foto { flex-basis: auto; max-width: 280px; }
  .bolsillo__tiendas { flex-direction: row; flex-wrap: wrap; justify-content: center; width: 100%; }
  .descarga { flex: 1 1 218px; max-width: 300px; }
  .zocalo__base { flex-direction: column; text-align: center; }
}

@media (max-width: 700px) {
  /* En el celular las estampas crecen: de 3:1 a 2:1 */
  .estampa img {
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: center;
  }

  .escaparate__fondo { background-position: 70% center; }
  .tambores { grid-template-columns: repeat(2, 1fr); }
  .testimonio { flex-basis: 100%; }

  /* En el celular la franja se va: la pantalla angosta necesita cada milímetro */
  .tablon::before, .tablon::after { content: none; }
  .tablon { padding: 26px 20px 24px; }
}

@media (max-width: 560px) {
  /* Las palabras largas pueden separarse con guion en pantallas angostas */
  .tablon h2, .tablon h3, .tablon p, .tablon li,
  .escaparate h1, .escaparate__bajada,
  .reclamo__titulo, .reclamo__linea, .bolsillo__titulo, .bolsillo__linea,
  .tapete__nombre, .consulta summary, .traspapelado h1, .traspapelado p,
  .zocalo__sobre p, .zocalo__aviso p, .zocalo__columna a {
    -webkit-hyphens: auto;
    hyphens: auto;
  }

  .zocalo__reja { grid-template-columns: 1fr; text-align: center; }
  .zocalo__sobre img { margin-left: auto; margin-right: auto; }
  .zocalo__aviso { flex-direction: column; text-align: center; }
  .tablon { padding: 22px 16px; }
  .tablon h2 { font-size: 23px; }
  .escaparate h1 { font-size: 26px; }
  .traspapelado__codigo { font-size: 90px; }
  /* En el celular los signos se arriman al borde del área */
  .balanza--pro ul, .balanza--contra ul { grid-template-columns: 1fr; gap: 10px; }
  .balanza--pro ul li, .balanza--contra ul li { padding: 13px 15px 13px 46px; font-size: 14.5px; }
  .balanza--pro ul li::before, .balanza--contra ul li::before { width: 21px; height: 21px; left: 14px; top: .76em; }
  /* En el celular la fila se apila: sello y título al centro,
     el cuerpo del texto queda a la izquierda y se sigue leyendo */
  .tapete { flex-direction: column; align-items: center; gap: 12px; padding: 18px 16px; }
  .tapete__sello { width: 52px; height: 52px; }
  .tapete__sello img { width: 32px; height: 32px; }
  .tapete__cuerpo { width: 100%; }
  .tapetes .tapete__nombre { text-align: center; }

  .escaparate__texto,
  .reclamo__texto,
  .bolsillo__texto { text-align: center; width: 100%; }
  .escaparate__botones,
  .reclamo__cta,
  .bolsillo__tiendas,
  .rastro ol { justify-content: center; }
  .reclamo__cta, .bolsillo__tiendas { display: flex; width: 100%; }
  .escaparate__fila, .reclamo, .bolsillo { align-items: center; }
  .escaparate__nota { align-self: center; }
  .reclamo__sello { border-left: 0; padding-left: 0; }
}

@media (max-width: 450px) {
  .retablo { padding: 0 10px; }
  .frontis__fila { height: 60px; gap: 10px; }
  .sello img { height: 34px; }
  .banderin svg { width: 26px; height: 17px; }
  .banderin { font-size: 12px; gap: 6px; }
  .escaparate { margin-top: 60px; }
  .tablon { padding: 18px 12px; }
  .reclamo, .bolsillo { padding: 20px 14px; }
  .escaparate__fila { padding: 28px 0; }
  thead th, tbody td, tbody th { padding: 8px 6px; }
}

@media (max-width: 400px) {
  .persiana__acciones { flex-direction: column; align-items: center; }
  .persiana__acciones a { flex: 0 0 auto; width: 100%; max-width: 260px; }
}

@media (max-width: 360px) {
  .frontis__fila { height: 54px; gap: 8px; }
  .sello img { height: 28px; }
  .banderin svg { width: 22px; height: 15px; }
  .banderin { font-size: 11px; gap: 5px; }
  .rejilla { padding: 6px; }
  .rejilla span { width: 22px; height: 2.5px; margin: 4px 0; }
  .rejilla.rejilla--x span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .rejilla.rejilla--x span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .escaparate { margin-top: 54px; }
  .traspapelado { min-height: calc(100vh - 54px); }
}

/* ============ 22BET COUNTRY LINKS ============ */
.zocalo__naciones {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0 24px;
}
.zocalo__naciones-encabezado {
  display: inline-block;
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 8px;
  color: #fff;
  font-family: Rubik, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}
.zocalo__naciones-encabezado::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: rgb(21, 147, 158);
  border-radius: 2px;
}
.zocalo__naciones-listado {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.zocalo__nacion {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.zocalo__nacion:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  text-decoration: none;
}
.zocalo__nacion.zocalo__nacion--vigente {
  background: rgba(233, 185, 73, .1);
  border-color: #e9b949;
  color: #fff;
}
.zocalo__emblema {
  flex-shrink: 0;
  width: 24px;
  height: 16px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
}
.zocalo__emblema svg { display: block; width: 100%; height: 100%; }
@media (max-width: 560px) {
  .zocalo__naciones { text-align: center; }
  /* two even columns; every name stays on one line */
  .zocalo__naciones-listado { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .zocalo__naciones-listado li { min-width: 0; }
  .zocalo__nacion { display: flex; width: 100%; min-width: 0; padding: 7px 10px 7px 7px; font-size: 12.5px; text-align: left; white-space: nowrap; }
  .zocalo__nacion-rotulo { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 380px) {
  .zocalo__naciones-listado { gap: 6px; }
  .zocalo__nacion { gap: 6px; padding: 6px 8px 6px 6px; font-size: 11.5px; }
  .zocalo__emblema { width: 18px; height: 12px; }
}
@media (max-width: 339px) {
  .zocalo__nacion { gap: 5px; padding: 6px 6px 6px 5px; font-size: 11px; letter-spacing: -.01em; }
  .zocalo__emblema { width: 16px; height: 11px; }
}
/* up to 330px: one pill per row, back to the regular size */
@media (max-width: 330px) {
  .zocalo__naciones-listado { grid-template-columns: minmax(0, 1fr); }
  .zocalo__nacion { gap: 9px; padding: 7px 12px 7px 8px; font-size: 12.5px; letter-spacing: normal; }
  .zocalo__emblema { width: 22px; height: 15px; }
}
