/*
  Tabla de posiciones · Reto de Formatos Virales™
  Estilos portados del lienzo (Lb2Entrada, Lb2Inscripcion y LbAdmin). En el lienzo van
  escritos en cada elemento; aquí están reunidos en clases, con los mismos colores,
  tamaños y radios. Los tamaños en cqw salen del ancho de .pagina, que es un contenedor.
*/

@font-face { font-family: 'Gramatika'; src: url('fuentes/Gramatika-Black.ttf') format('truetype'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'BBNoname'; src: url('fuentes/BBNonamePro-Normal.ttf') format('truetype'); font-weight: 400; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #F7F2E8; }
a { color: #112526; }
a:hover { color: #0B1414; }

/* ---------- La página y la barra de arriba ---------- */

.pagina {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  background: #F7F2E8;
  color: #112526;
  font-family: 'BBNoname', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.barra {
  background: #0E0F0F;
  color: #FFFFFF;
  padding: 18px clamp(16px, 3.2cqw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.barra__marca { font-family: 'Gramatika', sans-serif; font-size: 14px; line-height: 1.2; letter-spacing: 0.12em; color: #FBD86E; }
.barra__seccion { font-size: 15px; line-height: 1.3; color: #D9D5CC; }

/* El menú de quien ya está inscrita: Mi panel · Posiciones · Publicaciones */
.barra--con-menu { padding-top: 14px; padding-bottom: 14px; gap: 12px 24px; }
.menu { display: flex; flex-wrap: wrap; gap: 8px; }
.menu__enlace { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #6B6455; color: #FFFFFF; text-decoration: none; font-size: 15px; font-weight: 700; }
.menu__enlace:hover { color: #FFFFFF; }
.menu__enlace[aria-current="page"], .menu__enlace[aria-current="page"]:hover { border-color: #FBD86E; background: #FBD86E; color: #0E0F0F; }

/* ---------- El ancho de cada pantalla ---------- */

.contenido { width: 100%; margin: 0 auto; display: flex; flex-direction: column; }
.contenido--tabla { max-width: 1040px; padding: clamp(22px, 3cqw, 40px) clamp(16px, 3.2cqw, 40px) 64px; gap: clamp(16px, 1.9cqw, 24px); }
.contenido--panel { max-width: 1120px; padding: clamp(22px, 3cqw, 40px) clamp(16px, 3.2cqw, 40px) 64px; gap: clamp(16px, 1.9cqw, 24px); }
.contenido--entrada { max-width: 560px; padding: clamp(28px, 5cqw, 72px) clamp(16px, 3.2cqw, 40px) 64px; gap: 22px; }
.contenido--inscripcion { max-width: 1040px; padding: clamp(24px, 3.6cqw, 52px) clamp(16px, 3.2cqw, 40px) 64px; gap: clamp(18px, 2.2cqw, 28px); }
.contenido--privado { max-width: 1200px; padding: clamp(22px, 3cqw, 40px) clamp(16px, 3.2cqw, 40px) 64px; gap: clamp(16px, 1.9cqw, 24px); }

/* ---------- Encabezados ---------- */

.encabezado { display: flex; flex-direction: column; gap: 12px; }
.encabezado--entrada { align-items: flex-start; }
.encabezado--inscripcion { gap: 10px; max-width: 700px; }
.encabezado--privado { gap: 6px; }

.saludo { display: inline-block; font-family: 'Caveat', cursive; font-weight: 700; font-size: clamp(30px, 3.2cqw, 38px); line-height: 1; color: #E5372B; transform: rotate(-3deg); }
.sobretitulo { font-family: 'Gramatika', sans-serif; font-size: 13px; line-height: 1.3; letter-spacing: 0.12em; color: #55605F; }

.titulo { margin: 0; font-family: 'Gramatika', sans-serif; font-weight: 900; font-size: clamp(30px, 3.6cqw, 44px); line-height: 1.12; letter-spacing: -0.02em; }
.titulo--entrada { font-size: clamp(32px, 3.8cqw, 46px); line-height: 1.08; }
.titulo--privado { line-height: 1.08; }
.subtitulo { margin: 0; font-family: 'Gramatika', sans-serif; font-weight: 900; font-size: clamp(19px, 1.9cqw, 23px); line-height: 1.15; letter-spacing: -0.01em; }
.resaltado { box-shadow: inset 0 -0.3em 0 #FBD86E; }

.bajada { margin: 0; font-size: 16px; line-height: 1.55; color: #55605F; }
.bajada strong { color: #112526; }
.bajada--entrada { font-size: 17px; }
.enlace { font-weight: 700; }
/* El correo del equipo: texto de verdad, que se selecciona entero de un toque para copiarlo */
.contacto { font-weight: 700; user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; }
.enlace--accion { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }

/* ---------- Tarjetas y formularios ---------- */

.tarjeta {
  background: #FFFFFF;
  border: 1.5px solid #E6DECB;
  border-radius: 20px;
  padding: clamp(18px, 2.2cqw, 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tarjeta--formulario { gap: 18px; }
.tarjeta--tabla { gap: 14px; }
.tarjeta__cabeza { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; }
.formulario { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.formulario .campo { align-self: stretch; }

.campo { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.3; font-weight: 700; color: #112526; }
.campo__aparte { font-weight: 400; color: #55605F; }
.campo__nota { margin: 0; font-size: 14px; line-height: 1.45; font-weight: 400; color: #55605F; }
.campo__error { font-size: 14px; line-height: 1.45; font-weight: 700; color: #A61E15; }

.caja {
  width: 100%;
  min-height: 50px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  color: #112526;
  background: #FFFFFF;
  border: 1.5px solid #8B8676;
  border-radius: 12px;
  padding: 12px 14px;
}
.caja--corta { max-width: 220px; }
.caja[aria-invalid="true"] { border-color: #A61E15; }

/* El campo del Instagram, con su @ pegada a la izquierda */
.caja-ig { display: flex; align-items: stretch; border: 1.5px solid #8B8676; border-radius: 12px; overflow: hidden; background: #FFFFFF; }
.caja-ig--error { border-color: #A61E15; }
.caja-ig__arroba { flex: none; display: flex; align-items: center; padding: 0 12px; background: #F7F2E8; font-size: 16px; font-weight: 400; color: #55605F; }
.caja-ig__texto { flex: 1; min-width: 0; min-height: 48px; font-family: inherit; font-size: 16px; font-weight: 400; color: #112526; background: #FFFFFF; border: 0; padding: 12px 14px; }

.caja:focus-visible, .caja-ig:focus-within { outline: 3px solid #1F6BFF; outline-offset: 2px; }
.caja-ig__texto:focus { outline: none; }

/* La casilla de acuerdo: la caja a la izquierda y el texto al lado, todo el renglón se puede tocar */
.casilla { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1.5px solid #8B8676; border-radius: 12px; background: #FFFFFF; cursor: pointer; }
.casilla--error { border-color: #A61E15; }
.casilla__caja { flex: none; width: 24px; height: 24px; margin: 0; accent-color: #1F6BFF; cursor: pointer; }
.casilla__caja:focus-visible { outline: 3px solid #1F6BFF; outline-offset: 2px; }
.casilla__texto { font-size: 15px; line-height: 1.45; font-weight: 400; color: #112526; }

/* La ventana que sale al entrar a Mi panel. Va fuera de .pagina (ver base.html), así que no usa cqw.
   Tapa toda la pantalla y no tiene cómo cerrarse: se contesta para seguir. Si no cabe, se desplaza ella. */
.ventana { position: fixed; inset: 0; z-index: 50; display: flex; padding: 16px; background: rgba(17, 37, 38, 0.78); overflow-y: auto; -webkit-overflow-scrolling: touch; font-family: 'BBNoname', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; color: #112526; }
.ventana__caja { width: 100%; max-width: 480px; margin: auto; background: #FFFFFF; border-radius: 20px; padding: clamp(20px, 5vw, 32px); display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 60px rgba(11, 20, 20, 0.4); }
.ventana__titulo { margin: 0; font-family: 'Gramatika', sans-serif; font-weight: 900; font-size: clamp(24px, 6vw, 30px); line-height: 1.12; letter-spacing: -0.02em; }
.ventana__cuenta { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.ventana__texto { margin: 0; font-size: 16px; line-height: 1.55; }
.ventana__botones { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; }
.ventana .boton { font-size: 19px; }
/* El botón del «no»: claro, para que el «sí» sea el que salta a la vista. Lleva dos clases porque `.boton` se define más abajo. */
.boton.boton--claro { background: #FFFFFF; color: #112526; border: 1.5px solid #112526; box-shadow: none; }
.boton.boton--claro:hover { color: #112526; }

.boton {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
  cursor: pointer;
  background: #1F6BFF;
  color: #FFFFFF;
  text-decoration: none;
  text-align: center;
  font-family: 'Gramatika', sans-serif;
  font-size: clamp(18px, 1.8cqw, 21px);
  line-height: 1.2;
  padding: 19px 18px;
  border-radius: 14px;
  box-shadow: 0 6px 0 rgba(11, 20, 20, 0.3), 0 14px 28px rgba(17, 37, 38, 0.18);
}
.boton:hover { color: #FFFFFF; }
.boton:focus-visible { outline: 3px solid #112526; outline-offset: 3px; }
/* El botón pequeño del panel privado («Copiar resumen» en LbAdmin) */
.boton--compacto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 17px;
  box-shadow: 0 5px 0 rgba(11, 20, 20, 0.3);
}
.boton--peligro { background: #A61E15; }

.aviso { margin: 0; font-size: 16px; line-height: 1.55; }
.alerta { color: #A61E15; }
/* Lo que no puede pasar desapercibido en el panel privado */
.alarma { background: #FFFFFF; border: 1.5px solid #A61E15; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; color: #A61E15; font-size: 16px; line-height: 1.5; font-weight: 700; overflow-wrap: anywhere; }
.alarma p { margin: 0; }
.alarma--tranquila { border-color: #112526; color: #112526; }
.nota { margin: 0; font-size: 14px; line-height: 1.5; color: #55605F; }

/* ---------- La burbuja de María (solo en la entrada) ---------- */

.burbuja { background: #FBD86E; color: #0E0F0F; border-radius: 22px 22px 22px 6px; padding: 16px 18px; display: flex; align-items: flex-start; gap: 14px; }
.burbuja__avatar { flex: none; width: 44px; height: 44px; border-radius: 999px; background: #0E0F0F; color: #FBD86E; display: flex; align-items: center; justify-content: center; font-family: 'Gramatika', sans-serif; font-size: 20px; line-height: 1; }
.burbuja__texto { flex: 1; min-width: 0; margin: 0; font-size: 16px; line-height: 1.5; }

/* ---------- Inscripción: dos columnas que se apilan en el celular ---------- */

.columnas { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(16px, 1.9cqw, 24px); }
.columna-principal { flex: 999 1 420px; min-width: 0; }
.columna-lateral { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: clamp(12px, 1.4cqw, 16px); }

/* Lo que se encontró al leer la cuenta */
.cuenta { background: #C9DEFF; color: #112526; border-radius: 20px; padding: clamp(20px, 2.4cqw, 30px); display: flex; flex-direction: column; gap: 14px; }
.cuenta__rotulo { font-family: 'Gramatika', sans-serif; font-size: 13px; line-height: 1.3; letter-spacing: 0.12em; }
.cuenta__datos { display: flex; flex-direction: column; gap: 2px; }
.cuenta__usuario { font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.cuenta__cifra { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.cuenta__numero { font-family: 'Gramatika', sans-serif; font-size: clamp(44px, 4.6cqw, 56px); line-height: 1; letter-spacing: -0.03em; }
.cuenta__unidad { font-size: 16px; line-height: 1.4; }
.cuenta__division { background: #FFFFFF; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.cuenta__division-nombre { font-family: 'Gramatika', sans-serif; font-size: 20px; line-height: 1.2; }
.cuenta__division-rango { font-size: 15px; line-height: 1.4; }
.cuenta__nota { margin: 0; font-size: 15px; line-height: 1.55; }

/* ---------- Panel privado ---------- */

.cifras { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 12px; }
.cifra { background: #FFFFFF; border: 1.5px solid #E6DECB; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.cifra__nombre { font-size: 14px; line-height: 1.3; font-weight: 700; }
.cifra__valor { font-family: 'Gramatika', sans-serif; font-size: clamp(28px, 2.8cqw, 36px); line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cifra__nota { font-size: 14px; line-height: 1.4; color: #55605F; }

.tabla-envoltura { overflow-x: auto; }
.tabla { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 15px; line-height: 1.4; }
.tabla thead tr { font-size: 13px; color: #55605F; text-align: left; }
.tabla th { padding: 8px 10px; font-weight: 700; }
.tabla td { padding: 10px; vertical-align: top; white-space: nowrap; }
.tabla th:first-child, .tabla td:first-child { padding-left: 0; }
.tabla th:last-child, .tabla td:last-child { padding-right: 0; }
.tabla tbody tr { border-top: 1.5px solid #EFE8D8; font-variant-numeric: tabular-nums; }
.tabla .tabla__numero { text-align: right; }
.tabla__aparte { font-size: 14px; color: #55605F; }
.tabla--corta { min-width: 640px; }

/* Borrar pide confirmar, sin JavaScript: el botón aparece al abrir «Borrar» */
.borrar > summary { cursor: pointer; list-style: none; text-decoration: underline; }
.borrar > summary::-webkit-details-marker { display: none; }
.borrar__confirmar { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 6px 0 10px; max-width: 280px; white-space: normal; font-size: 14px; line-height: 1.45; }
.tarjeta > .borrar > .borrar__confirmar, .alarma > .borrar > .borrar__confirmar { max-width: 560px; }
/* Un campo que va a todo el ancho del formulario de confirmación (el link y el motivo de «Registrarle un link») */
.borrar__ancho { align-self: stretch; }

/* Dos tarjetas lado a lado, que se apilan en el celular (LbAdmin) */
.par { display: flex; flex-wrap: wrap; gap: clamp(16px, 1.9cqw, 24px); }
.par__ancha { flex: 999 1 460px; min-width: 0; }
.par__angosta { flex: 1 1 340px; min-width: 0; }
.par__mitad { flex: 1 1 380px; min-width: 0; }
.tarjeta__titulo { display: flex; flex-direction: column; gap: 4px; }
.bajada--corta { font-size: 15px; line-height: 1.5; }
.encabezado--privado .enlace--accion { align-self: flex-start; }

/* Barras hechas con HTML y CSS: una columna por día, con su número encima */
.barras-envoltura { overflow-x: auto; }
.barras-lienzo { min-width: 460px; display: flex; flex-direction: column; gap: 8px; }
.barras { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; align-items: end; border-bottom: 1.5px solid #C9C5BB; height: 236px; }
.barras__columna { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; min-width: 0; }
.barras__valor { font-size: 12px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.barras__barra { width: 100%; max-width: 44px; background: #112526; border-radius: 4px 4px 0 0; }
.barras__barra--alerta { background: #A61E15; }
.barras__dias { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; }
.barras__dia { text-align: center; font-size: 12px; line-height: 1.3; color: #112526; white-space: nowrap; }
.barras__dia--cerrado { color: #8B8676; }
.barras__dia--hoy { font-weight: 700; }
/* La curva de una participante: tantas columnas como lecturas tenga */
.barras--curva, .barras__dias--curva { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.barras-lienzo--curva { min-width: 760px; }

/* Para mirar hoy, y las listas del cierre */
.mirar { display: flex; flex-direction: column; gap: 4px; }
.mirar--aparte { border-top: 1.5px solid #EFE8D8; padding-top: 14px; }
.mirar__titulo { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 1.4; font-weight: 700; }
.mirar__nota { font-size: 14px; line-height: 1.45; color: #55605F; }
.mirar__lista { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; }
/* En dos columnas cuando caben, y se lee hacia abajo: primero la columna de la izquierda */
.mirar__lista--columnas { display: block; columns: 420px 2; column-gap: clamp(16px, 2.4cqw, 32px); }
.mirar__fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 8px 0; border-top: 1.5px solid #EFE8D8; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; break-inside: avoid; }
.mirar__aparte { color: #55605F; }
/* Una fila con su acción («Quitar» un hito): la acción va debajo, a todo el ancho */
.mirar__fila--con-accion { align-items: baseline; }
.mirar__accion { flex: 1 1 100%; }
.mirar__accion > summary { min-height: 32px; font-size: 14px; }
.mirar__salto { display: flex; flex-direction: column; align-items: flex-start; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.ganadora { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1.5px solid #EFE8D8; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.ganadora__division { font-family: 'Gramatika', sans-serif; font-size: 13px; line-height: 1.3; letter-spacing: 0.12em; text-transform: uppercase; color: #55605F; }
/* Las primeras de cada división, con su mayor subida entre dos lecturas */
.ganadora__rotulo { margin-top: 8px; font-size: 13px; line-height: 1.3; font-weight: 700; }
.primeras { margin: 2px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.45; }

/* El resumen de ayer, listo para copiar */
.resumen { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 16px clamp(16px, 2.4cqw, 32px); }
.resumen__lado { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.resumen__boton { margin-top: 4px; }
.resumen__texto { flex: 999 1 380px; min-width: 0; margin: 0; background: #F7F2E8; color: #112526; border: 0; border-radius: 14px; padding: 16px 18px; font-family: inherit; font-size: 16px; line-height: 1.6; }
/* La caja crece con su texto donde el navegador lo permite; en el celular, donde los renglones se parten, nace más alta */
textarea.resumen__texto { white-space: pre-wrap; resize: vertical; field-sizing: content; }
@container (max-width: 560px) { textarea.resumen__texto { min-height: 13lh; } }
textarea.resumen__texto:focus-visible { outline: 3px solid #1F6BFF; outline-offset: 2px; }

/* Buscar y filtrar participantes */
.buscar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.buscar__campo { display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.3; font-weight: 700; }
.caja--buscar { width: 220px; max-width: 100%; min-height: 44px; padding: 9px 12px; }
.caja--division { width: auto; }
.boton--oscuro { background: #112526; }
.buscar .boton--compacto { min-height: 44px; box-shadow: none; }
/* El nombre con su @ y su correo: si no caben en una línea, el correo baja a la siguiente */
.tabla .tabla__quien { white-space: normal; min-width: 190px; overflow-wrap: anywhere; }
.tabla__dato { display: inline-block; margin-right: 10px; }
/* El @ abre su Instagram: se ve como el resto del dato, y subrayado para que se note que es un link */
.enlace-ig { color: inherit; font-weight: inherit; text-decoration: underline; text-underline-offset: 2px; }
.enlace-ig:hover { color: #112526; }
/* Lo que contestó al inscribirse: el tema puede ser largo (hasta 200 letras) y se parte en varias líneas */
.tabla .tabla__respuesta { white-space: normal; min-width: 150px; max-width: 220px; overflow-wrap: anywhere; }
/* En su página: cada pregunta de la inscripción con lo que contestó */
.respuestas { display: grid; gap: 8px; margin: 6px 0 0; font-size: 15px; line-height: 1.45; }
.respuestas > div { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 4px 16px; }
.respuestas dt { color: #55605F; }
.respuestas dd { margin: 0; color: #112526; font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 560px) { .respuestas > div { grid-template-columns: minmax(0, 1fr); } }
.tabla .tabla__aviso { white-space: normal; width: 160px; min-width: 150px; }
.tabla .tabla__detalle { white-space: normal; min-width: 280px; overflow-wrap: anywhere; }
.tabla__fila--fuera { color: #6B6455; }
.paginas { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }

/* Corregir un dato de una participante: un formulario corto por dato */
.corregir { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.corregir__campo { flex: 1 1 200px; min-width: 0; }
.corregir .boton--compacto { min-height: 50px; box-shadow: none; }

/* Los números para enero, en negro */
.enero { background: #0E0F0F; color: #FFFFFF; border-radius: 20px; padding: clamp(20px, 2.4cqw, 30px); display: flex; flex-direction: column; gap: 16px; }
.enero__cabeza { display: flex; flex-direction: column; gap: 4px; }
.enero__rotulo { font-family: 'Gramatika', sans-serif; font-size: 13px; line-height: 1.3; letter-spacing: 0.12em; color: #FBD86E; }
.enero__bajada { margin: 0; font-size: 15px; line-height: 1.5; color: #D9D5CC; }
.enero__cifras { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px 24px; }
.enero__cifra { display: flex; flex-direction: column; gap: 4px; }
.enero__valor { font-family: 'Gramatika', sans-serif; font-size: clamp(28px, 2.8cqw, 36px); line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.enero__nombre { font-size: 15px; line-height: 1.4; color: #D9D5CC; }

/* ---------- Tabla de posiciones (Lb2Tabla) ---------- */

/* Entre todas: el contador del reto, en azul */
.franja { background: #1F6BFF; color: #FFFFFF; padding: clamp(26px, 3.6cqw, 48px) clamp(16px, 3.2cqw, 40px); }
.franja__adentro { width: 100%; max-width: 1040px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; }
.franja__bloque { display: flex; flex-direction: column; gap: 14px; }
.franja__rotulo { font-family: 'Gramatika', sans-serif; font-size: 13px; line-height: 1.3; letter-spacing: 0.12em; }
.franja__cifras { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px clamp(24px, 5cqw, 64px); }
.franja__cifra { display: flex; flex-direction: column; gap: 4px; }
.franja__grande { font-family: 'Gramatika', sans-serif; font-size: clamp(46px, 6.6cqw, 80px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.franja__mediana { font-family: 'Gramatika', sans-serif; font-size: clamp(30px, 3.6cqw, 44px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.franja__nombre { font-size: 17px; line-height: 1.4; }

/* Las tres divisiones */
.divisiones { display: flex; gap: 8px; }
.division { flex: 1 1 0; min-width: 0; min-height: 60px; border: 1.5px solid #C9C5BB; background: #FFFFFF; color: #112526; border-radius: 14px; padding: 10px clamp(8px, 1.4cqw, 16px); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; text-decoration: none; }
.division__nombre { font-family: 'Gramatika', sans-serif; font-size: clamp(15px, 1.5cqw, 18px); line-height: 1.2; }
.division__rango { font-size: 13px; line-height: 1.3; color: #55605F; }
.division[aria-current="true"], .division[aria-current="true"]:hover { border-color: #112526; background: #112526; color: #FFFFFF; }
.division[aria-current="true"] .division__rango { color: #FBD86E; }

/* El premio */
.premio { background: #0E0F0F; color: #FFFFFF; border-radius: 16px; padding: 16px clamp(16px, 2cqw, 24px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.premio__icono { flex: none; }
.premio__texto { flex: 1 1 240px; min-width: 0; margin: 0; font-size: 16px; line-height: 1.5; }
.premio__texto strong { color: #FBD86E; }

/* Las posiciones de la división */
.tarjeta--posiciones { padding: clamp(10px, 1.4cqw, 18px) clamp(12px, 2cqw, 26px); gap: 0; }
.posiciones__cabeza { display: flex; align-items: center; gap: 12px; padding: 8px 0 10px; font-size: 13px; line-height: 1.3; font-weight: 700; color: #55605F; }
.posiciones__puesto { flex: none; width: 34px; text-align: center; }
.posiciones__quien { flex: 1 0 auto; padding-left: 8px; }
.posiciones__ganados { flex: 0 1 auto; min-width: 0; text-align: right; }
.posiciones { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.fila { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1.5px solid #EFE8D8; }
.fila--mia { padding: 12px 10px; margin: 0 -10px; border-radius: 12px; background: #FBD86E; }
.fila--salto { justify-content: center; padding: 2px 0; color: #55605F; }
.fila__puesto { flex: none; width: 34px; height: 34px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-family: 'Gramatika', sans-serif; font-size: 16px; line-height: 1; background: #F7F2E8; color: #112526; }
.fila--mia .fila__puesto { background: #0E0F0F; color: #FFFFFF; }
.fila .fila__puesto--primera { background: #1E8A4C; color: #FFFFFF; }
.fila__quien { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding-left: 8px; }
.fila__nombre { font-size: 16px; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.fila__usuario { font-size: 14px; line-height: 1.3; color: #55605F; overflow-wrap: anywhere; }
.fila__etiqueta { margin-top: 4px; background: #CFEFD6; border-radius: 999px; padding: 3px 10px; font-size: 13px; line-height: 1.3; font-weight: 700; }
.fila__numeros { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.fila__ganados { font-family: 'Gramatika', sans-serif; font-size: clamp(20px, 2.2cqw, 26px); line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fila__publicaciones { font-size: 14px; line-height: 1.3; color: #55605F; font-variant-numeric: tabular-nums; }
.posiciones__pie { border-top: 1.5px solid #EFE8D8; padding: 6px 0 2px; min-height: 52px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
.posiciones__cuantas { font-size: 15px; line-height: 1.4; color: #55605F; }
.nota--larga { line-height: 1.55; }

/* ---------- Publicaciones del día (Lb2Dia) ---------- */

.dias { display: flex; flex-wrap: wrap; gap: 8px; }
.dias__dia { display: inline-flex; align-items: center; justify-content: center; min-width: 72px; min-height: 44px; border: 1.5px solid #C9C5BB; background: #FFFFFF; color: #112526; border-radius: 999px; padding: 0 16px; font-family: 'Gramatika', sans-serif; font-size: 15px; line-height: 1; text-decoration: none; }
.dias__dia[aria-current="true"], .dias__dia[aria-current="true"]:hover { border-color: #112526; background: #112526; color: #FFFFFF; }
.tarjeta--lista { padding: clamp(14px, 1.8cqw, 24px) clamp(14px, 2cqw, 26px); gap: 0; }
.lista__cabeza { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding-bottom: 12px; }
.lista__cuantas { font-size: 15px; line-height: 1.4; color: #55605F; }
.lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.lista__fila { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 10px 0; border-top: 1.5px solid #EFE8D8; }
.lista__inicial { flex: none; width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-family: 'Gramatika', sans-serif; font-size: 17px; line-height: 1; }
.lista__inicial--0 { background: #FFE9A0; }
.lista__inicial--1 { background: #C9DEFF; }
.lista__inicial--2 { background: #CFEFD6; }
.lista__quien { flex: 999 1 170px; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lista__nombre { font-size: 16px; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.lista__detalle { font-size: 14px; line-height: 1.3; color: #55605F; overflow-wrap: anywhere; }
.lista__division { flex: none; background: #F7F2E8; border-radius: 999px; padding: 4px 10px; font-size: 13px; line-height: 1.3; font-weight: 700; }
.lista__ver { flex: none; gap: 6px; }
.lista__pie { border-top: 1.5px solid #EFE8D8; padding: 6px 0 0; display: flex; justify-content: center; }

/* ---------- Mi panel (Lb2Panel) ---------- */

.cabecera { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; }
.cabecera__quien { min-width: 0; display: flex; flex-direction: column; gap: 6px; overflow-wrap: anywhere; }
.cabecera__cuenta { font-size: 15px; line-height: 1.4; color: #55605F; overflow-wrap: anywhere; }
/* «Salir» se ve igual que en el diseño, pero se deja tocar con el dedo: 44px de alto sin mover nada */
.cabecera__cuenta a { display: inline-block; padding: 13px 0; margin: -13px 0; }

/* Cada fila trae una tarjeta ancha y una angosta, que se apilan en el celular */
.fila-panel { display: flex; flex-wrap: wrap; gap: clamp(16px, 1.9cqw, 24px); }
.fila-panel__ancha { flex: 999 1 440px; min-width: 0; }
.fila-panel__angosta { flex: 1 1 320px; min-width: 0; }
.tarjeta--panel { gap: 14px; }

/* Registrar la publicación */
.registrar { background: #0E0F0F; color: #FFFFFF; border-radius: 20px; padding: clamp(20px, 2.4cqw, 30px); display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 16px; }
.registrar__rotulo { font-family: 'Gramatika', sans-serif; font-size: 13px; line-height: 1.3; letter-spacing: 0.12em; color: #FBD86E; }
.registrar__titulo { margin: 0; font-family: 'Gramatika', sans-serif; font-weight: 900; font-size: clamp(23px, 2.5cqw, 31px); line-height: 1.12; letter-spacing: -0.02em; }
.registrar__formulario { display: flex; flex-direction: column; gap: 16px; }
.registrar__campos { display: flex; flex-wrap: wrap; gap: 12px; }
.registrar .campo { color: #FFFFFF; }
/* En el diseño el selector mide 150px; aquí 240px, para que quepa «Día 14 · cambiar el link» */
.registrar__dia { flex: 1 1 240px; min-width: 0; }
.registrar__link { flex: 999 1 260px; min-width: 0; }
.registrar .boton { box-shadow: 0 6px 0 rgba(255, 255, 255, 0.18), 0 14px 28px rgba(0, 0, 0, 0.4); }
.registrar .boton:focus-visible { outline-color: #FBD86E; }
.registrar__nota { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: #D9D5CC; }
.registrar__aviso { margin: 0; font-size: 16px; line-height: 1.55; }
/* Sobre el fondo oscuro, el error va en el amarillo del diseño: el rojo no se alcanza a leer */
.registrar .campo__error { color: #FBD86E; }
.registrar .caja[aria-invalid="true"] { border-color: #A61E15; box-shadow: 0 0 0 3px #FBD86E; }

/* Tu avance: los 14 días */
.avance__cabeza { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.avance__cuenta { font-family: 'Gramatika', sans-serif; font-size: 26px; line-height: 1; letter-spacing: -0.02em; }
.avance__dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.avance__dia { aspect-ratio: 1 / 1; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: 'Gramatika', sans-serif; font-size: 15px; line-height: 1; background: #F7F2E8; color: #55605F; border: 2px solid #EFE8D8; }
.avance__dia--hecha { background: #1E8A4C; border-color: #1E8A4C; }
.avance__dia--falta { background: #FFFFFF; border-color: #112526; color: #112526; }
/* Dejó el link y está esperando su revisión: ni verde ni «te falta» */
.avance__dia--revision { background: #FFF6D6; border-style: dashed; border-color: #112526; color: #112526; }
.avance__texto { margin: 0; font-size: 16px; line-height: 1.5; }

/* Tus seguidores */
.seguidores { background: #C9DEFF; color: #112526; border-radius: 20px; padding: clamp(18px, 2.2cqw, 28px); display: flex; flex-direction: column; gap: 14px; }
.seguidores__rotulo { font-family: 'Gramatika', sans-serif; font-size: 13px; line-height: 1.3; letter-spacing: 0.12em; }
.seguidores__cifra { display: flex; flex-direction: column; gap: 4px; }
.seguidores__grande { font-family: 'Gramatika', sans-serif; font-size: clamp(54px, 5.8cqw, 70px); line-height: 1; letter-spacing: -0.03em; }
.seguidores__nombre { font-size: 16px; line-height: 1.4; }
.seguidores__texto { margin: 0; font-size: 16px; line-height: 1.5; }
.meta { display: flex; flex-direction: column; gap: 8px; }
.meta__cabeza { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 15px; line-height: 1.4; }
.meta__barra { height: 16px; border-radius: 999px; background: #FFFFFF; overflow: hidden; }
.meta__lleno { height: 100%; border-radius: 999px; background: #1F6BFF; }
.seguidores__pie { margin-top: auto; border-top: 1.5px solid #9DBDF5; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.seguidores__puesto { font-size: 16px; line-height: 1.4; }

/* Lo que llevas en el reto */
.numeros__cabeza { display: flex; flex-direction: column; gap: 4px; }
.numeros__bajada { margin: 0; font-size: 15px; line-height: 1.5; color: #55605F; }
.numeros__views { background: #CFEFD6; border-radius: 14px; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.numeros__grande { font-family: 'Gramatika', sans-serif; font-size: clamp(30px, 3.2cqw, 40px); line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.numeros__de-views { font-size: 15px; line-height: 1.3; }
.numeros__otros { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); gap: 10px; }
.numeros__caja { background: #F7F2E8; border-radius: 14px; padding: 14px 12px; display: flex; flex-direction: column; gap: 4px; }
.numeros__valor { font-family: 'Gramatika', sans-serif; font-size: clamp(21px, 2.2cqw, 27px); line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.numeros__nombre { font-size: 14px; line-height: 1.3; color: #55605F; }

/* Tus publicaciones */
.tarjeta--publicaciones { gap: 6px; }
.tarjeta--publicaciones .subtitulo { margin-bottom: 8px; }
.publicaciones { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.publicacion { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 10px 0; border-top: 1.5px solid #EFE8D8; }
.publicacion__dia { flex: none; min-width: 58px; font-family: 'Gramatika', sans-serif; font-size: 17px; line-height: 1.2; }
.publicacion__tipo { flex: none; background: #F7F2E8; border-radius: 999px; padding: 4px 10px; font-size: 13px; line-height: 1.3; font-weight: 700; }
.publicacion__tipo--registrada { background: #CFEFD6; }
.publicacion__tipo--revision { background: #FBD86E; }
/* Lo que hay que decirle de más sobre ese día: va en su propio renglón, debajo */
.publicacion__aviso { flex: 1 1 100%; font-size: 14px; line-height: 1.45; color: #55605F; }
/* «Quitar este link»: un botón de formulario que se ve como los enlaces de al lado */
.publicacion__quitar { flex: none; margin: 0; }
.boton-de-texto { appearance: none; -webkit-appearance: none; margin: 0; padding: 0; border: 0; background: none; font-family: inherit; color: #112526; text-decoration: underline; cursor: pointer; }
.boton-de-texto:hover { color: #0B1414; }
.boton-de-texto:focus-visible { outline: 3px solid #1F6BFF; outline-offset: 2px; }
.publicacion__detalle { flex: 999 1 250px; min-width: 0; font-size: 15px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.publicacion__detalle--falta { font-weight: 700; }
.publicacion__accion { flex: none; }

/* ---------- María: la burbuja con su nombre y las notas a mano (Lb2Panel, Lb2Tabla, Lb2Hito) ---------- */

.burbuja--con-nombre { padding: clamp(16px, 1.8cqw, 22px) clamp(16px, 2cqw, 26px); }
.burbuja--ancha { align-self: stretch; }
.burbuja__avatar--grande { width: 48px; height: 48px; font-size: 21px; }
.burbuja__cuerpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.burbuja__nombre { font-family: 'Gramatika', sans-serif; font-size: 13px; line-height: 1.3; letter-spacing: 0.12em; }
.burbuja__texto--grande { font-size: clamp(17px, 1.6cqw, 19px); }
.burbuja__texto--hito { font-size: 17px; overflow-wrap: anywhere; }
.nota-a-mano { display: inline-block; font-family: 'Caveat', cursive; font-weight: 700; font-size: clamp(26px, 2.6cqw, 32px); line-height: 1; color: #E5372B; transform: rotate(-3deg); }
.nota-a-mano--franja { font-size: clamp(32px, 3.6cqw, 44px); color: #FBD86E; transform: rotate(-4deg); }

/* ---------- Tus hitos, en Mi panel ---------- */

.hitos__cabeza { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 20px; }
.hitos__titulos { display: flex; flex-direction: column; gap: 4px; }
.hitos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 10px; }
.hito { border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 4px; background: #FFFFFF; border: 1.5px solid #E6DECB; }
.hito__nombre { font-family: 'Gramatika', sans-serif; font-size: 17px; line-height: 1.2; }
.hito__estado { font-size: 14px; line-height: 1.4; color: #55605F; }
.hito__enlace { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: #0E0F0F; }
/* Cada familia de hitos logrados tiene su color: seguidores en amarillo, constancia en azul claro, views en verde claro */
.hito--seguidores { background: #FBD86E; border-color: #FBD86E; }
.hito--constancia { background: #C9DEFF; border-color: #C9DEFF; }
.hito--views { background: #CFEFD6; border-color: #CFEFD6; }
.hito--seguidores .hito__estado, .hito--constancia .hito__estado, .hito--views .hito__estado { color: #0E0F0F; }

/* ---------- La tarjeta de un hito, 9:16 (Lb2Hito). Sus medidas en cqw salen de su propio ancho ---------- */

.tarjeta-hito { flex: none; width: min(100%, 300px); aspect-ratio: 9 / 16; container-type: inline-size; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; text-align: left; box-shadow: 0 18px 40px rgba(17, 37, 38, 0.22); }
.tarjeta-hito--chica { width: 100%; border-radius: 18px; box-shadow: none; }
.tarjeta-hito--seguidores { background: #FBD86E; color: #0E0F0F; }
.tarjeta-hito--constancia { background: #1F6BFF; color: #FFFFFF; }
.tarjeta-hito--views { background: #1E8A4C; color: #FFFFFF; }
.tarjeta-hito--las_14 { background: #0E0F0F; color: #FFFFFF; }
.tarjeta-hito__adentro { flex: 1 1 auto; padding: 9cqw 8cqw; display: flex; flex-direction: column; justify-content: space-between; }
.tarjeta-hito__marca { font-family: 'Gramatika', sans-serif; font-size: 4cqw; line-height: 1.3; letter-spacing: 0.12em; }
.tarjeta-hito__centro { display: flex; flex-direction: column; align-items: flex-start; gap: 2.5cqw; }
.tarjeta-hito__numero { font-family: 'Gramatika', sans-serif; line-height: 0.95; letter-spacing: -0.04em; }
.tarjeta-hito__rotulo { font-family: 'Gramatika', sans-serif; font-size: 9.5cqw; line-height: 1.1; letter-spacing: -0.02em; }
.tarjeta-hito__detalle { font-size: 6cqw; line-height: 1.4; }
.tarjeta-hito__frase { display: inline-block; margin-top: 4cqw; font-family: 'Caveat', cursive; font-weight: 700; font-size: 11cqw; line-height: 1; color: #FBD86E; transform: rotate(-4deg); }
.tarjeta-hito__firma { font-size: 4.6cqw; line-height: 1.3; }
.tarjeta-hito__pie { display: flex; flex-direction: column; gap: 0.7cqw; border-top: 1.5px solid rgba(255, 255, 255, 0.28); padding-top: 4.5cqw; }
.tarjeta-hito__pie--sin-raya { border-top: 0; padding-top: 0; }
.tarjeta-hito__usuario { font-size: 5.3cqw; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.tarjeta-hito__dia { font-size: 4.6cqw; line-height: 1.3; }
/* Lo que cambia en la amarilla (letra oscura) y en la negra (cifra y marca en amarillo) */
.tarjeta-hito--seguidores .tarjeta-hito__frase { color: #C22A1F; }
.tarjeta-hito--seguidores .tarjeta-hito__pie { border-top-color: rgba(14, 15, 15, 0.28); }
.tarjeta-hito--las_14 .tarjeta-hito__marca, .tarjeta-hito--las_14 .tarjeta-hito__numero { color: #FBD86E; }

/* ---------- La página de un hito ---------- */

.contenido--hito { max-width: 1040px; padding: clamp(24px, 3.6cqw, 52px) clamp(16px, 3.2cqw, 40px) 64px; gap: clamp(28px, 4cqw, 52px); }
.hito-arriba { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(24px, 4cqw, 56px); }
.hito-arriba__texto { flex: 999 1 320px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.boton--descargar { max-width: 380px; }
.boton[hidden] { display: none; }
.hito-otras { display: flex; flex-direction: column; gap: 16px; }
.hito-otras__cabeza { display: flex; flex-direction: column; gap: 4px; }
.subtitulo--grande { font-size: clamp(22px, 2.3cqw, 28px); letter-spacing: -0.02em; }
.hito-otras__fila { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 1.6cqw, 20px); }
.hito-otras__enlace { flex: 1 1 150px; max-width: 226px; display: block; border-radius: 18px; text-decoration: none; }
.hito-otras__enlace:focus-visible { outline: 3px solid #1F6BFF; outline-offset: 3px; }

/* Donde se abre la imagen cuando el celular no deja descargarla */
.tarjeta-guardar { background: #FFFFFF; border: 1.5px solid #E6DECB; border-radius: 20px; padding: clamp(18px, 2.2cqw, 28px); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tarjeta-guardar[hidden] { display: none; }
/* Cuando el celular no logra armar la imagen: el aviso que el guion muestra en vez de dejar el botón sin hacer nada */
.tarjeta-guardar__fallo { background: #FFFFFF; border: 1.5px solid #A61E15; border-radius: 16px; padding: 16px; color: #A61E15; font-weight: 700; text-align: center; }
.tarjeta-guardar__fallo[hidden] { display: none; }
.tarjeta-guardar__aviso { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 700; text-align: center; }
.tarjeta-guardar__imagen { display: block; width: min(100%, 320px); height: auto; border-radius: 16px; box-shadow: 0 18px 40px rgba(17, 37, 38, 0.22); }

/* ---------- La tarjeta del resultado, con el reto congelado (Mi panel) ---------- */

.resultado { background: #0E0F0F; color: #FFFFFF; border-radius: 20px; padding: clamp(20px, 2.4cqw, 30px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(20px, 3cqw, 40px); }
.resultado__texto { flex: 999 1 300px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.resultado .boton { box-shadow: 0 6px 0 rgba(255, 255, 255, 0.18), 0 14px 28px rgba(0, 0, 0, 0.4); }
.resultado .boton:focus-visible { outline-color: #FBD86E; }
.resultado .nota { color: #D9D5CC; }

/* ---------- Premios y reglas ---------- */

/* Las listas de premios y de reglas: con sus viñetas, del tamaño de los avisos */
.reglas { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.55; }
.reglas__divisiones { margin: 6px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 2px; }
/* «Premios y reglas» en la entrada y «Volver a la tabla»: se toca el texto, no el renglón entero */
.contenido--entrada > .enlace--accion { align-self: flex-start; }
