/* =====================================================================
   GRCthon Inclusivo · Capa de estilo AUDITCERTIA (octubre 2026)
   ---------------------------------------------------------------------
   Va la ÚLTIMA en el index.html, así que pisa a app.css, app-simple.css
   y app-v10.css sin tocarlos. Si se quita su <link>, todo vuelve a como
   lo dejó Álvaro.
   Criterios (los mismos del rediseño de auditcertia.es):
     - Colores de marca, sin degradados ni brillos.
     - Líneas rectas: fuera esquinas muy redondeadas, sombras y rayas
       de color a la izquierda.
     - Etiquetas legibles (mín. 14-16 px) y contraste AA.
     - Iconos de línea (iconos.js) en lugar de símbolos de texto.
     - Pensado para la pantalla táctil de 25" del stand (1920 x 1080).
   ===================================================================== */

/* 1. COLORES DE MARCA ------------------------------------------------- */
:root {
  --ac-navy: #003058;      /* azul marino corporativo */
  --ac-mint: #00b69c;      /* verde corporativo */
  --ac-blue: #006fa8;      /* azul medio */
  --ac-ink: #31415a;       /* texto */
  --ac-soft: #edf6fb;      /* fondo azul muy claro (cajas destacadas de la web) */
  --ac-line: #c9d8e3;      /* líneas finas */
  --ac-mint-text: #00594f; /* verde para texto sobre fondo claro (AA) */
  --ac-mint-dark: #b8fff3; /* verde para texto sobre fondo oscuro (AA) */
}

/* 2. BASE: página a todo el ancho y sin esquinas redondeadas ----------- */
body { background: #fff; color: var(--ac-ink); }
.panel { max-width: none; }                       /* fuera las franjas grises de los lados */
.welcome, .play, .finale, .ending { border-radius: 0; }

/* Iconos (los crea iconos.js): tamaño y grosor comunes */
.ac-icono { width: 1.25em; height: 1.25em; flex: 0 0 auto; vertical-align: -0.2em; }

/* 3. CABECERA ---------------------------------------------------------- */
.masthead { border-bottom: 3px solid var(--ac-mint); }
/* El juego pone el foco en <main> al cambiar de pantalla: sin marco naranja en un contenedor */
#app:focus { outline: none; }
.with-goodjob { font-size: 1rem; color: var(--ac-ink); }
.top-control {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 12px; min-height: 48px; padding: 10px 18px; font-size: 1.05rem;
}

/* 4. BOTONES (mismo redondeo que «Explorar servicios» de la web) --------
   Texto blanco sobre verde oscuro de la marca: más llamativo y con contraste
   AA (5,4:1). El verde claro con texto blanco no llega (2,6:1). */
.btn { border-radius: 12px; gap: 12px; font-weight: 800; }
.btn.primary { background: #00786a; color: #fff; border: 2px solid #00786a; }
.btn.primary:hover { background: #006b5c; border-color: #006b5c; }
.btn .ac-flecha { width: 1.3em; height: 1.3em; }
/* Sobre fondo azul marino, borde blanco para que el botón destaque */
.welcome .btn.primary, .ending .btn.primary { border-color: #fff; }
/* Botón secundario («¿Una pista?», «Terminar sin dejar datos»): contorno azul */
.btn.subtle { background: #fff; color: var(--ac-blue); border: 2px solid var(--ac-blue); }
.btn.subtle:hover { background: var(--ac-soft); }
/* «Continuar a la siguiente»: azul marino lleno, con flecha */
#skip-btn { background: var(--ac-navy); color: #fff; border-color: var(--ac-navy); }
#skip-btn:hover { background: #00467f; border-color: #00467f; }

/* 5. PORTADA ----------------------------------------------------------- */
.welcome { background: var(--ac-navy); }
.welcome:before { display: none; }                /* fuera la raya verde de arriba */
.welcome-mark { display: none; }                  /* fuera la etiqueta «01 — 04 GRCthon Inclusivo» */

/* Etiqueta superior: más grande y con contraste */
.welcome .eyebrow { color: var(--ac-mint-dark); font-size: 1rem; font-weight: 800; letter-spacing: .06em; }

/* Datos rápidos: «4 misiones · 3 minutos · sin experiencia» como 3 iconos */
.welcome .micro { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 1.1rem; color: #fff; }
.ac-dato { display: inline-flex; align-items: center; gap: 10px; }
.ac-dato .ac-icono { width: 28px; height: 28px; color: var(--ac-mint); }
.welcome-encouragement { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; color: #dbe7ef; }
.welcome-encouragement .ac-icono { width: 26px; height: 26px; color: var(--ac-mint); }

/* Reparto del ancho: texto a la izquierda y pregunta a la derecha, sin hueco
   vacío en pantallas anchas (antes la tarjeta se quedaba en 590 px) */
.welcome { justify-content: space-between; }
.welcome-copy { width: 52%; max-width: 900px; }
.welcome-journey { width: 44%; max-width: 760px; }

/* Pregunta inicial: bloque blanco recto, sin sombra desplazada */
.welcome-journey { border: 0; border-radius: 0; box-shadow: none; background: #fff; }
.journey-heading > span {                         /* «PRUEBA DE CURIOSIDAD / 00» */
  font-family: inherit; font-size: .95rem; letter-spacing: .06em; color: var(--ac-mint-text);
}
.welcome-journey .teaser-question {              /* sin raya a la izquierda; icono delante */
  display: flex; align-items: center; gap: 16px;
  border-left: 0; background: var(--ac-soft); color: var(--ac-navy); padding: 18px 20px;
}
.teaser-question .ac-grande { width: 44px; height: 44px; color: var(--ac-blue); }
.teaser-choices button {                          /* respuestas: icono grande arriba, texto debajo */
  flex-direction: column; justify-content: center; align-items: center; text-align: center;
  gap: 10px; min-height: 120px; border-radius: 0; border: 2px solid var(--ac-line); font-size: 1.15rem;
}
.teaser-choices button .ac-icono { width: 40px; height: 40px; color: var(--ac-navy); }
.teaser-choices button:hover, .teaser-choices button.chosen {
  border-color: var(--ac-mint); background: #e8f8f4; box-shadow: none;
}
.teaser-feedback, .teaser-feedback.is-active {    /* sin raya a la izquierda */
  border-left: 0; background: var(--ac-soft); color: var(--ac-ink); font-size: 1.05rem;
}
.teaser-feedback.is-active { background: #e8f8f4; color: #064c45; }

/* Las 4 misiones: icono en vez de 01-04 */
.teaser-roadmap span { font-size: 1rem; color: var(--ac-navy); }
.teaser-roadmap span b { display: flex; justify-content: center; margin-bottom: 6px; color: var(--ac-blue); }
.teaser-roadmap span b .ac-icono { width: 34px; height: 34px; }

/* 6. JUEGO: CABECERA DE LA MISIÓN -------------------------------------- */
.play { background: #fff; }
.eyebrow.dark {                                   /* «MISIÓN 1 DE 4» */
  font-family: inherit; font-size: 1rem; font-weight: 800; color: var(--ac-mint-text); letter-spacing: .06em;
}
.play-heading h2 { color: var(--ac-navy); }
.intro-text { color: var(--ac-ink); font-size: 1.25rem; }
.score-box { border-radius: 0; border: 2px solid var(--ac-line); }
.score-box strong { font-family: inherit; letter-spacing: -.02em; color: var(--ac-navy); }

/* Barra de las 4 misiones: icono + nombre, recta */
.track-stop { border-radius: 0; border: 2px solid var(--ac-line); min-height: 60px; font-size: 1.1rem; gap: 10px; }
.track-symbol {
  display: grid !important; place-items: center; width: 36px; height: 36px;
  background: transparent !important; color: var(--ac-blue) !important;
}
.track-symbol .ac-icono { width: 28px; height: 28px; }
.track-stop.is-current { border: 3px solid #00786a; background: #e8f8f4; color: var(--ac-navy); }
.track-stop.is-current .track-symbol { background: transparent !important; color: var(--ac-mint-text) !important; }
.track-stop.is-done .track-symbol { background: transparent !important; color: #007a66 !important; }
.progress { height: 6px; }
.progress span { background: var(--ac-mint); }

/* «EXPEDIENTE 01 / OPERACIÓN CONFIANZA»: legible, sin letra de máquina */
.story-context { font-size: 1rem; }
.story-context .story-label { font-family: inherit; font-weight: 800; color: var(--ac-mint-text) !important; letter-spacing: .04em; }
.story-context .story-copy { color: var(--ac-ink) !important; }
.scene-title { font-size: 1.3rem; color: var(--ac-navy); }

/* 7. MISIÓN 1: TARJETAS DE RIESGO ------------------------------------- */
.risk-card { border-radius: 0; border: 2px solid var(--ac-line); min-height: 150px; gap: 14px; }
.risk-card:before { display: none; }              /* fuera la raya degradada de abajo */
.risk-card .item-icon {                           /* icono de línea grande, sin cuadradito de color */
  width: 56px !important; height: 56px !important; min-width: 56px !important;
  background: transparent !important; color: var(--ac-navy) !important; border-radius: 0 !important;
  display: grid; place-items: center;
}
.risk-card .item-icon .ac-icono { width: 52px; height: 52px; }
.risk-card .risk-label { font-size: 1.25rem; color: var(--ac-navy); }
.risk-card:hover { border-color: var(--ac-blue); box-shadow: none; }
.risk-card.found { background: #e8f8f4; border: 3px solid #00786a; }
.risk-card:disabled { opacity: 1; }               /* una tarjeta ya encontrada no se ve apagada */
.risk-card.found .item-icon { color: #007a66 !important; }
/* Etiqueta de estado (la crea iconos.js): sustituye al «✓ ¡Encontrado!» de texto */
.risk-card.found:after { display: none; }
.ac-estado { display: inline-flex; align-items: center; gap: 8px; font-size: 1.05rem; font-weight: 800; }
.ac-estado .ac-icono { width: 24px; height: 24px; }
.ac-estado-riesgo { color: #005c4e; }
.ac-estado-buena { color: #00507a; }
.risk-card.safe-choice { background: var(--ac-soft); border-color: #8fb7cf; }

/* 8. PARTE DE ABAJO: MENSAJE + BOTONES -------------------------------- */
.mission-bottom { align-items: stretch; }
.ac-tono { display: grid; place-items: center; width: 64px; flex: 0 0 64px; background: var(--ac-soft); color: var(--ac-blue); }
.ac-tono .ac-icono { width: 34px; height: 34px; display: none; }
/* Se ve un icono u otro según el tono del mensaje (lo pone el juego en data-tone) */
.mission-bottom:has(#feedback[data-tone="learn"]) .ac-t-learn,
.mission-bottom:has(#feedback[data-tone="success"]) .ac-t-success,
.mission-bottom:has(#feedback[data-tone="welcome"]) .ac-t-welcome { display: block; }
.mission-bottom:has(#feedback[data-tone="success"]) .ac-tono { background: #e8f8f4; color: #007a66; }
.feedback, .feedback[data-tone] {                 /* sin raya a la izquierda */
  border: 0; border-radius: 0; background: var(--ac-soft); color: var(--ac-ink);
  font-size: 1.15rem; display: flex; align-items: center;
}
.feedback[data-tone="success"] { background: #e8f8f4; color: #064c45; }
/* Recuadro fino alrededor de icono + mensaje, como un solo bloque
   (el icono lleva borde arriba/izquierda/abajo y el mensaje arriba/derecha/abajo) */
.ac-tono { border: 2px solid var(--ac-blue); border-right: 0; }
.mission-bottom .feedback { border: 2px solid var(--ac-blue); border-left: 0; }
.mission-bottom:has(#feedback[data-tone="success"]) .ac-tono,
.mission-bottom .feedback[data-tone="success"] { border-color: #00786a; }
.mission-bottom { gap: 0 12px; }
.mission-bottom .feedback { margin-left: -12px; }  /* el mensaje va pegado a su icono */
.mission-actions .btn { min-height: 60px; font-size: 1.1rem; padding: 12px 20px; border-radius: 12px; }
.mission-actions .btn .ac-icono { width: 24px; height: 24px; }
.mission-unlocked { border-left: 0; border-radius: 0; }
.unlock-emblem { border: 0; transform: none; }
.unlock-emblem .ac-icono { width: 40px; height: 40px; }

/* 8b. MISIONES 2, 3 Y 4 ------------------------------------------------ */
/* Misión 2: tarjetas y carpetas rectas; un solo icono por tarjeta */
.task-column, .drop-column { border-radius: 0; border: 2px solid var(--ac-line); }
.column-label { font-family: inherit; font-size: 1rem; font-weight: 800; color: var(--ac-mint-text); letter-spacing: .04em; }
.file-piece { border-radius: 0; border: 2px solid var(--ac-line); background: #fff; font-size: 1.15rem; color: var(--ac-navy); }
.file-piece:before { display: none; }             /* fuera el ▤ de texto: iconos.js pone el icono */
/* Número de cada tarjeta (lo pone iconos.js): mismo cuadro azul que en la misión 4 */
.file-piece .ac-num {
  display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px;
  background: var(--ac-navy); color: #fff; font-weight: 900; font-size: 1.15rem;
}
.file-piece.is-selected { border: 3px solid #00786a; background: #e8f8f4; }
.dropzone { border-radius: 0; border: 2px dashed var(--ac-blue); background: var(--ac-soft); }
.dropzone:hover, .dropzone.is-over { border-color: #00786a; background: #e8f8f4; }
.dropzone .folder { background: transparent !important; color: var(--ac-navy) !important; border-radius: 0 !important; }
.dropzone .folder .ac-icono { width: 52px; height: 52px; }
.dropzone b { font-size: 1.25rem; color: var(--ac-navy); }
.dropzone .drop-result { font-size: 1rem; color: var(--ac-ink); }
.drag-hint { font-size: 1rem; color: var(--ac-ink); }

/* Misión 3: escena y opciones rectas, texto más grande */
.decision-prompt { border-radius: 0; background: var(--ac-navy); }
.decision-prompt .step-label { font-size: 1rem; color: var(--ac-mint-dark); }
.decision-option { border-radius: 0; border: 2px solid var(--ac-line); font-size: 1.2rem; color: var(--ac-navy); }
.decision-option:hover { border-color: var(--ac-blue); }
.decision-option .choice-number { border-radius: 0; background: var(--ac-navy); color: #fff; }
.decision-option.selected-good { border: 3px solid #00786a; background: #e8f8f4; }
.decision-option.selected-other { border: 3px solid #8fb7cf; background: var(--ac-soft); }

/* Misión 4: panel de la prueba y piezas rectas */
.prisma-panel { border-radius: 0; background: var(--ac-navy); }
.prisma-question .step-label { font-size: 1rem; color: var(--ac-mint-dark); }
.prisma-question p { font-size: 1.05rem; }
.scanner { border-radius: 0; }
.scanner-center .scanner-glyph .ac-icono { width: 44px; height: 44px; }
.scanner-center strong { font-size: 1rem; }
.scanner-center small { font-size: .95rem; }
.evidence-options { border-radius: 0; border: 2px solid var(--ac-line); }
.evidence-card { border-radius: 0; border: 2px solid var(--ac-line); background: #fff; }
.evidence-card:hover { border-color: var(--ac-blue); }
.evidence-card.is-correct { border: 3px solid #00786a; background: #e8f8f4; }
.evidence-number { border-radius: 0; background: var(--ac-navy); color: #fff; }
.evidence-main strong { font-size: 1.2rem; color: var(--ac-navy); }
.evidence-main small { font-size: 1rem; color: var(--ac-ink); }
.evidence-instruction { font-size: .95rem; color: var(--ac-ink); }

/* 8c. PANTALLA FINAL Y DESPEDIDA --------------------------------------- */
.finale { background: #fff; }
.finale-head p { font-size: 1.2rem; color: var(--ac-ink); }
.reward-card { border-radius: 0; background: var(--ac-navy); }
.big-badge { border: 0; background: transparent; color: var(--ac-mint); }
.big-badge .ac-icono { width: 72px; height: 72px; }
.dossier-areas b { display: inline-grid; place-items: center; color: var(--ac-mint); }
.dossier-areas b .ac-icono { width: 22px; height: 22px; }
.favorite-grid button { border-radius: 0; }
.signup-card { border-radius: 0; border: 2px solid var(--ac-line); box-shadow: none; }
.label-pill { border-radius: 0; font-size: .9rem; color: var(--ac-mint-text); }
.signup-header p { font-size: 1.05rem; color: var(--ac-ink); }
.field input { border-radius: 0; border: 2px solid #8fa9bb; }
.privacy-short { border-radius: 0; }
.ending { background: var(--ac-navy); }
.ending-symbol { border-radius: 0; background: transparent; color: var(--ac-mint); }
.ending-symbol .ac-icono { width: 96px; height: 96px; }
.ending p { font-size: 1.35rem; }

/* 8d. PANTALLA FINAL: LETRA MÁS GRANDE (apunte del jefe, 23/10) -------- */
.dossier-top { font-family: inherit; font-size: 1rem; padding: 16px 22px; }
.dossier-id { font-size: 1.15rem; }
.reward-overline { font-family: inherit; font-size: 1rem; font-weight: 800; color: var(--ac-mint-dark); }
.award-name { font-size: 2.3rem; }
.award-subline { font-size: 1.2rem; line-height: 1.45; color: #e4eef4; text-align: left; }
.final-score { font-family: inherit; font-size: 3.2rem; }
.final-score small { font-family: inherit; font-size: 1.15rem; color: #d6e6ef; }
.reward-card .score-context { font-size: 1.05rem; color: #d6e6ef; }
.dossier-areas > strong { font-family: inherit; font-size: 1rem; color: var(--ac-mint-dark); }
.dossier-areas span { font-size: 1.15rem; display: inline-flex; align-items: center; gap: 8px; }
.dossier-areas b .ac-icono { width: 26px; height: 26px; }
.favorite-box h3 { font-size: 1.4rem; }
.favorite-box > p { font-size: 1.05rem; color: #d6e6ef; }
.favorite-grid button {
  display: flex; align-items: center; gap: 10px;
  min-height: 56px; font-size: 1.15rem; padding: 10px 14px; border: 2px solid #4d7f97;
}
.favorite-grid button .ac-icono { width: 26px; height: 26px; }
.favorite-box #favorite-description { font-size: 1.05rem; color: #e4eef4; border-radius: 0; }

/* 8e. FORMULARIO: frase destacada y privacidad más compacta -------------
   «¿Quieres que te contemos cómo participar?»: misma caja destacada que en
   la web (fondo azul claro, recuadro, icono delante), más grande. */
.signup-card .signup-reassurance {
  display: block; position: relative; padding-left: 74px !important;   /* hueco para el icono */
  border: 2px solid var(--ac-blue); border-radius: 0; background: var(--ac-soft);
  color: var(--ac-navy) !important; font-size: 1.2rem !important; line-height: 1.45; padding: 16px 18px;
}  /* !important solo porque app-simple.css ya lo usa en esta regla */
.signup-reassurance:before { display: none; }
.signup-reassurance .ac-grande { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; color: var(--ac-blue); }
/* Privacidad (capa 1 obligatoria, art. 11 LOPDGDD): MISMO texto y MISMO enlace,
   pero el enlace va seguido del texto en lugar de en otra línea, y sin caja gris. */
.privacy-short { background: transparent; border: 0; border-top: 1px solid var(--ac-line); padding: 12px 0 0; font-size: .95rem; }
.privacy-short > strong { display: block; margin-bottom: 4px; }
.privacy-short p { display: inline; margin: 0; }
.privacy-short .text-link { display: inline; min-height: 0; padding: 0; margin-left: 4px; }
.consent-line { font-size: .95rem; }
.field-hint { margin-bottom: 6px; }

/* 8f. PANTALLA FINAL A TODA LA ALTURA Y FORMULARIO MÁS GRANDE ----------
   Aprovecha el alto de la pantalla del stand: los dos bloques se estiran
   hasta abajo y el formulario gana tamaño de letra y de campos. */
.finale { min-height: calc(100dvh - 140px); }
.finale-layout { flex: 1; align-items: stretch; }
.reward-card { display: flex; flex-direction: column; }
.reward-card .favorite-box { flex: 1; }
.signup-card { display: flex; flex-direction: column; justify-content: space-between; }
.field label, .channel-choice legend { font-size: 1.05rem; }
.field input { height: 56px; font-size: 1.1rem; }
.field-hint { font-size: 1rem; }
.privacy-short { font-size: 1.02rem; line-height: 1.5; }
.consent-line { font-size: 1.05rem; line-height: 1.5; }
.consent-line input { min-width: 28px; min-height: 28px; }
.signup-actions .btn { min-height: 60px; font-size: 1.1rem; padding: 12px 22px; }

/* 8g. TEXTOS DE COMUNICACIÓN (26/10) --------------------------------------
   El mensaje de bienvenida solo sale en el reto 1: en los demás el juego lo
   deja vacío y aquí se oculta la caja (y su icono) para que no quede un hueco. */
.mission-bottom .feedback:empty { visibility: hidden; }
.mission-bottom:has(#feedback:empty) .ac-tono { visibility: hidden; }
/* Reto 2: la ayuda de cada carpeta («Reglas que hay que seguir»…) */
.dropzone .drop-result { font-size: 1rem; color: var(--ac-ink); line-height: 1.35; }

/* Botón para salir sin dejar datos: visible y claro (consentimiento libre,
   RGPD), pero como enlace, para que el protagonista sea «Quiero información». */
#finish-anon {
  background: transparent; border: 0; color: var(--ac-blue);
  text-decoration: underline; text-underline-offset: 4px; font-weight: 700;
}
#finish-anon:hover { background: transparent; color: var(--ac-navy); }
#send-signup { min-height: 64px; font-size: 1.2rem; padding: 14px 28px; }

/* 8h. RESULTADO EN UNA COLUMNA (26/10) -----------------------------------
   Se quita «¿Qué reto te ha gustado más?». Se oculta con CSS en vez de
   borrarlo del HTML porque game.js escribe en #favorite-description al
   empezar partida: si el elemento no existiera, el juego daría error.
   Arriba el resultado (compacto, en horizontal) y debajo el formulario. */
.favorite-box { display: none !important; }
.finale { min-height: 0; }
.finale-layout { grid-template-columns: 1fr; gap: 20px; flex: none; }
.reward-card { min-height: 0; }
.reward-card .dossier-body {
  display: grid; grid-template-columns: 1fr auto; column-gap: 40px; align-items: center;
}
.reward-card .dossier-body > .reward-overline,
.reward-card .dossier-body > .award-name,
.reward-card .dossier-body > .award-subline { grid-column: 1; }
.reward-card .big-badge { grid-column: 2; grid-row: 1 / span 3; }
.reward-card .final-score, .reward-card .score-context { grid-column: 1 / -1; }
/* Bloque azul del resultado: sin líneas que lo partan y más grande */
.reward-card { border: 0; }
.reward-card .dossier-body { padding: 40px 48px; row-gap: 6px; }
.reward-card .award-name { font-size: 3.2rem; margin: 0 0 10px; }
.reward-card .award-subline { font-size: 1.45rem; max-width: 60ch; }
.reward-card .final-score { border-top: 0; font-size: 4.2rem; line-height: 1; }
.reward-card .final-score small { font-size: 1.35rem; }
.reward-card .score-context { font-size: 1.2rem; }
.reward-card .big-badge .ac-icono { width: 120px; height: 120px; }
/* Reparto: a la izquierda el mensaje; a la derecha la insignia y los puntos */
.reward-card .award-name { grid-column: 1; grid-row: 1; }
.reward-card .award-subline { grid-column: 1; grid-row: 2; }
.reward-card .score-context { grid-column: 1; grid-row: 3; margin-top: 8px; }
.reward-card .big-badge { grid-column: 2; grid-row: 1; justify-self: end; margin: 0; }
.reward-card .final-score { grid-column: 2; grid-row: 2 / span 2; justify-self: end; align-self: end; padding-top: 0; text-align: right; }

/* Formulario: a la izquierda la invitación, a la derecha los campos */
.signup-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 40px; align-items: start; }

/* 8i. RESULTADO: TODA LA PANTALLA EN AZUL (26/10) -------------------------
   Resultado y formulario en un solo bloque azul marino, sin divisiones,
   como la portada. Colores revisados para contraste AA sobre #003058. */
.finale { background: var(--ac-navy); color: #fff; }
.finale-head .eyebrow.dark { color: var(--ac-mint-dark); }
.finale-head h2 { color: #fff; }
.finale-head p, .finale-head p strong { color: #e4eef4; }
.finale-layout { gap: 0; }
.reward-card, .signup-card { background: transparent; border: 0; box-shadow: none; }
.reward-card .dossier-body { padding: 8px 0 28px; }
.signup-card { padding: 20px 0 0; border-top: 0; }
.signup-header h3 { color: #fff; font-size: 2rem; }
.signup-header p { color: #e4eef4; }
.signup-card .signup-reassurance {
  background: rgba(255,255,255,.08); border-color: var(--ac-mint); color: #fff !important;
}
.signup-reassurance .ac-grande { color: var(--ac-mint); }
.field label, .channel-choice legend { color: #fff; }
.required { color: #ffb4a8; }
.field input { background: #fff; border-color: #fff; color: var(--ac-navy); }
.field-hint { color: #d6e6ef; }
.privacy-short { color: #d6e6ef; border-top-color: rgba(255,255,255,.18); }
.privacy-short strong { color: #fff; }
.privacy-short .text-link, .finale .text-link { color: var(--ac-mint-dark); }
.consent-line { color: #e4eef4; }
#finish-anon { color: var(--ac-mint-dark); }
#finish-anon:hover { color: #fff; }
.finale .btn.primary { border-color: #fff; }

/* Etiquetas del resultado sobre azul: mismo bloque, sin líneas que lo partan */
.finale .dossier-top { border: 0; padding: 0 0 6px; color: #d6e6ef; }
/* Orden dentro del bloque: etiqueta, título, texto y aviso a la izquierda; insignia y puntos a la derecha */
.finale .reward-card .dossier-body > .reward-overline { grid-column: 1; grid-row: 1; color: var(--ac-mint-dark); padding-right: 0; }
.finale .reward-card .award-name { grid-row: 2; }
.finale .reward-card .award-subline { grid-row: 3; }
.finale .reward-card .score-context { grid-row: 4; }
.finale .reward-card .big-badge { grid-row: 1 / span 2; }
.finale .reward-card .final-score { grid-row: 3 / span 2; }
.finale .label-pill { background: rgba(255,255,255,.1); color: var(--ac-mint-dark); }

/* 9. PIE --------------------------------------------------------------- */
.bottom-bar { font-size: .95rem; color: var(--ac-ink); }

/* 10. TABLET Y MÓVIL ----------------------------------------------------
   Por debajo de 1000 px las columnas se apilan: portada a una columna y el
   mensaje de abajo sin la cajita del icono (se separaría del texto). */
@media (max-width: 1100px) {                      /* aquí el juego ya apila mensaje y botones */
  .ac-tono { display: none; }
  .mission-bottom .feedback { margin-left: 0; border-left: 2px solid var(--ac-blue); }
  .mission-bottom .feedback[data-tone="success"] { border-left-color: #00786a; }
  .dossier-areas span { white-space: normal; }
}
@media (max-width: 1000px) {
  .signup-card { grid-template-columns: 1fr; }
  .reward-card .dossier-body { grid-template-columns: 1fr; }
  .reward-card .big-badge { display: none; }
  .reward-card .dossier-body { padding: 24px 20px; }
  .reward-card .award-name { font-size: 2.2rem; }
  .reward-card .award-subline { font-size: 1.15rem; }
  .reward-card .award-name, .reward-card .award-subline, .reward-card .score-context, .reward-card .final-score { grid-column: 1; grid-row: auto; justify-self: start; text-align: left; }
  .reward-card .final-score { font-size: 3rem; padding-top: 12px; }
  .welcome-copy, .welcome-journey { width: 100%; max-width: none; }
  .decision-options { grid-template-columns: 1fr; }
  .decision-option { min-height: 0; }
  .finale { min-height: 0; }
}
@media (max-width: 720px) {
  .teaser-choices button { min-height: 100px; font-size: 1rem; }
  .risk-card .item-icon .ac-icono { width: 40px; height: 40px; }
  .risk-card .risk-label { font-size: 1rem; }
  .award-name { font-size: 1.8rem; }
  .final-score { font-size: 2.6rem; }
  .favorite-grid button { font-size: 1rem; }
}

/* 11. Sin animaciones para quien las tenga desactivadas ---------------- */
@media (prefers-reduced-motion: reduce) {
  .btn:hover:not(:disabled) { transform: none; }
}

/* Resultado en azul, tablet vertical y móvil: todo en una columna y en orden */
@media (max-width: 1000px) {
  .finale .reward-card .dossier-body { padding: 8px 0 20px; }
  .finale .reward-card .dossier-body > * { grid-column: 1; grid-row: auto; justify-self: start; text-align: left; }
}
