/* ===== Modo sencillo =====
   Se activa con la clase «sencillo» en <html> (web/static/js/sencillo.js). Pensado para quien tiene poca práctica
   con el móvil y útil para cualquiera: texto grande, contraste alto, botones de 56 px o más, nada que se mueva
   y solo lo esencial en cada pausa. Se carga después de site.css y solo actúa bajo html.sencillo. */

/* Tres botones grandes de /sencillo: se ven igual con el modo activo o sin él. */
.tres-tarjetas, .tres-grandes { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 1.1rem; max-width: 40rem; }
.tres-grandes li { margin: 0; }
.tres-boton { display: flex; align-items: center; gap: 1.2rem; min-height: 7.5rem; padding: 1.2rem 1.4rem; border-radius: 1.4rem;
  background: var(--alba); color: var(--noche) !important; text-decoration: none; border: 4px solid var(--alba); }
.tres-boton:hover { background: var(--espuma); border-color: var(--espuma); }
.tres-boton:focus-visible { outline: 6px solid #fff; outline-offset: 4px; box-shadow: 0 0 0 10px var(--noche); }
.tres-numero { flex: none; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: var(--noche); color: var(--alba); font: 700 1.9rem/1 var(--sans); }
.tres-texto { display: grid; gap: 0.25rem; min-width: 0; }
.tres-texto strong { font: 700 clamp(1.5rem, 6.4vw, 2.1rem)/1.15 var(--serif); color: var(--noche); overflow-wrap: anywhere; }
.tres-texto span { font-size: 1.2rem; line-height: 1.4; color: #1b2f36; }
.sencillo-interruptor { margin: 1.5rem 0 0; display: grid; gap: 0.6rem; justify-items: start; }
.sencillo-nota { font-size: 1rem; }
.sencillo-bloque { margin-bottom: 2.5rem; }
.solo-sencillo { display: none; }

/* ---------- Con el modo activo ---------- */
html.sencillo {
  --niebla: #ffffff; --espuma: #ffffff; --pizarra: #0b1a1f; --hilo: #2c3f45; --lago: #06242b; --musgo: #1d4a2a;
  --alba: #ffd9a8; --noche: #071a20; --brasa: #ffd400;
  font-size: 100%;
}
html.sencillo body { font-size: 1.375rem; line-height: 1.85; background: var(--noche); color: #fff; letter-spacing: 0.005em; }
html.sencillo body.pagina-papel { background: var(--noche); }

/* Texto: nunca por debajo de 1,35 rem */
html.sencillo :is(p, li, label, summary, legend, a, small, dd, dt, td, th, figcaption, button, input, select, textarea) { font-size: max(1.35rem, 1em); line-height: 1.7; }
html.sencillo :is(.mando, .nota-minima) { font-size: 1.2rem; }
html.sencillo p { max-width: 34em; }
html.sencillo h1 { font-size: clamp(2.3rem, 9vw, 3.4rem); line-height: 1.12; letter-spacing: 0; font-weight: 600; }
html.sencillo h2 { font-size: clamp(1.9rem, 7vw, 2.5rem); line-height: 1.2; }
html.sencillo h3 { font-size: 1.7rem; }
html.sencillo h1, html.sencillo h2, html.sencillo h3 { text-shadow: none; }

/* Contraste alto: fondo liso oscuro y letra blanca en las páginas sobre el lago */
html.sencillo .con-paisaje :is(.portada, .vidrio, .pausa-escena, .portada-mundo, .capitulo, .dia, .pagina-vidrio main) { color: #fff; }
html.sencillo :where(.pagina-vidrio, .es-inicio, .es-pausa) :where(p, li, span, small, legend, label, summary, strong, figcaption, h1, h2, h3, .entrada, .respira-nota, .pausa-entrada, .pausa-aviso, .pausa-antes, .ajustes, .pausa-ayuda, .pausa-resumen, .pausa-minutos, .pausa-momento, .volumen, .nota-minima, .respira-texto, .capitulo-hora, .capitulo-frase, .ahora, .portada-mundo-entrada) { color: #fff !important; text-shadow: none; }
html.sencillo :where(.pagina-vidrio, .es-inicio, .es-pausa) :where(a, .ajustes summary, .pausa-antes summary) { color: #ffe3bd !important; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
html.sencillo .respira-nota { color: #fff !important; font-size: 1.35rem; }

/* Sin paisaje vivo, sin vídeos, sin animaciones ni transiciones */
html.sencillo .paisaje, html.sencillo .paisaje-respaldo, html.sencillo .pausa-aliento, html.sencillo video,
html.sencillo .mandos-fijos, html.sencillo .mandos-mundo, html.sencillo #mundo-movimiento, html.sencillo #mundo-sonido,
html.sencillo .escena-imagen, html.sencillo .escena-cielo { display: none !important; }
html.sencillo *, html.sencillo *::before, html.sencillo *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.sencillo :is(.js-paisaje .capitulo-texto > *, .js-paisaje .aparece > .columna) { opacity: 1 !important; transform: none !important; }
html.sencillo .pagina-vidrio main, html.sencillo.js-paisaje .pagina-papel main { background: transparent; }
html.sencillo .js-paisaje .pagina-papel main, html.sencillo .pagina-papel main { background: var(--niebla); color: var(--pizarra); }
html.sencillo .pagina-papel .portada { background: var(--noche); box-shadow: 0 0 0 100vmax var(--noche); clip-path: inset(0 -100vmax); }
html.sencillo .pagina-papel .portada > * { animation: none !important; }
html.sencillo .pausa-escena::before, html.sencillo .portada-mundo::before, html.sencillo .capitulo-texto::before { display: none; }

/* Cabecera y menú: una lista grande, siempre desplegada */
html.sencillo .cabecera, html.sencillo.con-paisaje .cabecera, html.sencillo .con-paisaje .cabecera, html.sencillo .es-inicio .cabecera { position: static; display: grid; gap: 0.6rem; padding: 1rem var(--margen) 0.5rem; background: var(--noche); }
html.sencillo .cabecera a, html.sencillo .con-paisaje .cabecera a { color: #fff !important; text-shadow: none; }
html.sencillo .menu-movil { display: none !important; }
html.sencillo .cabecera > .menu { display: grid !important; width: 100%; gap: 0.5rem; overflow: visible; flex-wrap: wrap; padding: 0; }
html.sencillo .menu a { min-height: 56px; padding: 0.6rem 1rem !important; white-space: normal; border: 2px solid #fff; border-radius: 0.9rem; text-decoration: none; font-size: 1.35rem; }
html.sencillo .menu a.menu-accion { border-width: 2px; }
html.sencillo .marca { min-height: 56px; font-size: 1.35rem; }
html.sencillo .pagina-vidrio main, html.sencillo .es-inicio main, html.sencillo .es-pausa main { padding-top: 1rem; }

/* Botones de al menos 56 px, con borde que se ve sin depender del color */
html.sencillo :is(.boton, button.boton, .selector span, .enlace-boton, .mezcla, summary, .campo input, .campo select) { min-height: 56px; }
html.sencillo .boton { padding: 0.9rem 1.6rem; font-size: 1.4rem; border-width: 3px; border-radius: 1.2rem; max-width: 100%; text-align: left; }
html.sencillo .boton-claro, html.sencillo .respira .boton { background: var(--alba); border-color: #fff; color: #071a20 !important; }
html.sencillo .boton-borde { background: transparent; border-color: #fff; color: #fff !important; text-decoration: none; }
html.sencillo .boton-borde:hover { background: #fff; color: #071a20 !important; }
html.sencillo .acciones { display: grid; gap: 1rem; }
html.sencillo .acciones .boton { width: 100%; justify-content: center; text-align: center; }
html.sencillo summary { display: flex; align-items: center; padding: 0.6rem 0; }

/* Foco grueso y visible */
html.sencillo :focus-visible { outline: 6px solid #ffd400 !important; outline-offset: 4px; box-shadow: 0 0 0 10px #000; border-radius: 6px; }
html.sencillo .selector input:focus-visible + span { outline: 6px solid #ffd400; outline-offset: 4px; }
html.sencillo .selector input:checked + span::before { content: "\2713\00a0"; }

/* Portada: sin capítulos a pantalla completa */
html.sencillo .portada-mundo { min-height: 0; padding: 2rem var(--margen) 2rem; }
html.sencillo .portada-mundo h1 { font-size: clamp(2.6rem, 11vw, 4rem); font-weight: 600; line-height: 1.1; }
html.sencillo .portada-mundo h1 .linea, html.sencillo .portada-mundo h1 .linea > span { display: inline; overflow: visible; margin: 0; padding: 0; }
html.sencillo .portada-mundo-entrada { font-size: 1.35rem; }
html.sencillo .capitulo, html.sencillo .capitulo-derecha { min-height: 0; display: block; text-align: left; padding: 1.5rem var(--margen); border-top: 2px solid #fff; }
html.sencillo .capitulo h3 { font: 600 2.2rem/1.15 var(--serif); letter-spacing: 0; margin: 0 0 0.4rem; }
html.sencillo .capitulo-hora { font-size: 1.2rem; }
html.sencillo .capitulo-frase { font-size: 1.35rem; margin: 0.4rem 0 1rem; }
html.sencillo .capitulo-pausas { display: grid; gap: 0.8rem; }
html.sencillo .capitulo-pausas a { min-height: 56px; border: 2px solid #fff; background: transparent; padding: 0.8rem 1rem; text-decoration: none; }
html.sencillo .capitulo-pausas strong { font-size: 1.4rem; }
html.sencillo .capitulo-pausas span { font-size: 1.2rem; }
html.sencillo .vidrio { background: transparent; padding: 2rem 0; }
html.sencillo .vidrio h2, html.sencillo .vidrio .destacado, html.sencillo .vidrio p, html.sencillo .vidrio li { color: #fff !important; }
html.sencillo .destacado { font-size: 1.5rem; }
html.sencillo .empresas-bloque { padding: 2rem 0; }
html.sencillo .empresas-bloque :is(p, li, h2, h3, figcaption) { color: var(--pizarra) !important; }
html.sencillo .piezas-lista, html.sencillo .columna-dos { grid-template-columns: 1fr; }

/* Listas de perfiles y de pausas: una columna, tarjetas grandes con borde */
html.sencillo .perfiles-lista { display: grid; gap: 0.9rem; padding: 0; }
html.sencillo .perfiles-lista a { min-height: 56px; border: 3px solid #fff; background: transparent; padding: 1rem 1.2rem; display: grid; gap: 0.2rem; }
html.sencillo .perfiles-lista strong { font-size: 1.5rem; }
html.sencillo .perfiles-lista span { font-size: 1.25rem; }
html.sencillo .escenas { grid-template-columns: 1fr; margin-left: var(--margen); margin-right: var(--margen); }
html.sencillo .escena { display: block; height: auto; background: transparent; border: 3px solid #fff; border-radius: 1.2rem; }
html.sencillo .escena-texto { padding: 1rem 1.2rem; }
html.sencillo .escena strong { font-size: 1.6rem; }
html.sencillo .pausas-lista, html.sencillo .pausas-lista li { max-width: 100%; }

/* Pausa: título, una frase, Empezar y Terminar. Lo demás, tras «Más opciones» */
html.sencillo .solo-sencillo { display: inline-flex; margin: 0 0 1.2rem; }
html.sencillo .solo-sencillo[hidden] { display: inline-flex !important; }
html.sencillo .pausa-escena { display: flex; flex-direction: column; gap: 1.2rem; min-height: 0; padding: 1rem var(--margen) 2rem; }
html.sencillo .pausa-panel { order: 1; }
html.sencillo .pausa-mandos { order: 2; display: grid; gap: 1rem; width: 100%; }
html.sencillo .pausa-guia { order: 3; width: min(100%, 17rem); align-self: center; }
html.sencillo .pausa-ayuda { order: 4; }
html.sencillo .pausa-fundamento { order: 5; display: none; }
html.sencillo .pausa-panel h1 { font-size: clamp(2.3rem, 9vw, 3.2rem); margin: 0.4rem 0 1rem; }
html.sencillo .pausa-entrada { font-size: 1.4rem; }
html.sencillo .pausa-panel:not(.opciones-abiertas) :is(.respira-controles, .pausa-antes) { display: none; }
html.sencillo .pausa-panel.opciones-abiertas .respira-controles { display: grid; }
html.sencillo .pausa-mandos #pausa-empezar { min-height: 76px; font-size: 1.7rem; width: 100%; justify-content: center; text-align: center; background: var(--alba); color: #071a20 !important; border: 4px solid #fff; }
html.sencillo .pausa-mandos #pausa-pausar { display: none !important; }
html.sencillo .pausa-guia svg { color: #fff; }
html.sencillo .pausa-guia .respira-texto { font-size: 1.5rem; color: #fff; text-shadow: none; }
html.sencillo .en-curso .pausa-guia, html.sencillo.en-curso .pausa-guia { width: min(100%, 20rem); margin-top: 0; }
html.sencillo .en-curso .pausa-panel { display: none; }
html.sencillo .en-curso .cabecera { opacity: 1; }
html.sencillo .selector span { border: 3px solid #fff; padding: 0.6rem 1.2rem; }
html.sencillo .selector input:checked + span { background: var(--alba); color: #071a20 !important; border-color: #fff; }
html.sencillo .selector legend { color: #fff; }
html.sencillo .volumen { color: #fff; }

/* Pie */
html.sencillo .pie { background: var(--noche); color: #fff; border-top: 3px solid #fff; }
html.sencillo .pie a, html.sencillo .pie-titulo, html.sencillo .pie-lema, html.sencillo .pie-legal { color: #fff; }
html.sencillo .pie a { text-decoration: underline; display: block; min-height: 56px; padding: 0.8rem 0; }
html.sencillo .pie-rejilla { grid-template-columns: 1fr; }
html.sencillo .pie-legal { font-size: 1.2rem; }
html.sencillo .sencillo-nota { font-size: 1.25rem; }
html.sencillo .sencillo-nota a { display: inline; min-height: 0; padding: 0; }

/* Texto oscuro sobre los botones claros (gana a la regla de texto blanco de las páginas oscuras) */
html.sencillo .tres-boton, html.sencillo .tres-boton *, html.sencillo .boton-claro, html.sencillo .boton-claro *,
html.sencillo #pausa-empezar, html.sencillo .selector input:checked + span { color: #071a20 !important; text-decoration: none; }
html.sencillo .tres-texto span { color: #1b2f36 !important; }
html.sencillo .boton-claro:hover, html.sencillo .boton-claro:hover * { color: #071a20 !important; }
.tres-boton, .tres-boton * { text-decoration: none; }

/* Guía: sin la luz de fondo, el texto va debajo del círculo, dentro de la pantalla */
html.sencillo .pausa-guia { aspect-ratio: auto; display: grid; justify-items: center; gap: 1rem; width: 100%; }
html.sencillo .pausa-guia svg { width: min(70vw, 15rem); height: auto; aspect-ratio: 1; }
html.sencillo .pausa-guia .respira-texto, html.sencillo .con-aliento .respira-texto { position: static; inset: auto; padding: 0 0.5rem;
  width: 100%; max-width: 100%; text-align: center; font-size: 1.6rem; }
html.sencillo .en-curso .pausa-guia { width: 100%; }
html.sencillo .cabecera > .menu { justify-items: stretch; gap: 0.4rem; }
html.sencillo .menu a { display: flex; }
html.sencillo body a.boton-claro, html.sencillo body button.boton-claro, html.sencillo body a.tres-boton, html.sencillo body a.tres-boton span,
html.sencillo body a.tres-boton strong, html.sencillo body #pausa-empezar { color: #071a20 !important; text-decoration: none !important; }
html.sencillo body a.boton-borde { color: #fff !important; text-decoration: none !important; }
html.sencillo body a.boton-borde:hover { color: #071a20 !important; }
html.sencillo body a.tres-boton .tres-numero { color: var(--alba) !important; }
/* En curso: solo el círculo, la indicación y «Terminar», sin tener que desplazarse */
html.sencillo .en-curso .cabecera, html.sencillo .en-curso .pausa-ayuda { display: none; }
html.sencillo .en-curso .pausa-guia { order: 2; }
html.sencillo .en-curso .pausa-mandos { order: 3; }
html.sencillo .en-curso .pausa-escena { padding-top: 1.5rem; }
html.sencillo body button.boton-borde { color: #fff !important; }
html.sencillo body button.boton-borde:hover, html.sencillo body button.boton-borde:focus-visible { background: #fff; color: #071a20 !important; }
html.sencillo .pausa-guia svg circle:first-of-type { stroke: #fff; stroke-opacity: 0.7; stroke-width: 2; }
html.sencillo .pausa-guia svg #pausa-anillo { stroke: #fff; stroke-opacity: 0.9; stroke-width: 2; }
html.sencillo .pausa-guia svg #pausa-progreso { stroke-width: 4; }
