/* ==========================================================================
   Ajustes de legibilidad y responsive de la versión clásica (se carga al final,
   después de pergamino.css y pila.css, para que estas medidas manden).
   Regla: lo importante se lee sin esfuerzo (≥ 14 px reales en pantalla) en
   notebooks, monitores grandes y pantallas enormes; nada se achica para caber.
   ========================================================================== */

/* Perfil */
html.escenas .ev.ev-equipo .perfil-pro-texto .eyebrow { font-size: .85rem !important; }
html.escenas .ev.ev-equipo .perfil-pro-areas li { font-size: .88rem !important; }
html.escenas .ev.ev-equipo .perfil-medalla small { font-size: .78rem !important; }
html.escenas .ev.ev-equipo .perfil-medalla b { font-size: 1rem !important; }
html.escenas .ev.ev-equipo .perfil-cv span { font-size: .95rem !important; }

/* Studios Conari: el pergamino del centro más ancho y con letra legible; los servicios con texto grande */
html.escenas .ev.ev-estudio .estudio-marca > p:not(.estudio-lema) { font-size: .95rem !important; line-height: 1.45 !important; }
html.escenas .ev.ev-estudio .estudio-lema { font-size: 1.05rem !important; }
html.escenas .ev.ev-estudio .estudio-marca .btn { font-size: .9rem !important; }
html.escenas .ev.ev-estudio .estudio-servicio h3 { font-size: .95rem !important; }
html.escenas .ev.ev-estudio .estudio-servicio p { font-size: .9rem !important; max-width: 260px !important; }

/* Trayectoria: la hoja del mural con letra más grande (en píxeles del dibujo, que luego se escala) */
html.escenas .ev.ev-trayectoria .mural-paso b { font-size: 15px !important; }
html.escenas .ev.ev-trayectoria .mural-paso span { font-size: 15.5px !important; }
html.escenas .ev.ev-trayectoria .mural-paso small { font-size: 13.5px !important; }
html.escenas .ev.ev-trayectoria .mural-paso i { font-size: 13px !important; }
html.escenas .ev.ev-trayectoria .mural-foto b { font-size: 15.5px !important; }
html.escenas .ev.ev-trayectoria .mural-foto small { font-size: 13.5px !important; }

/* Datos: las pestañas del portapapeles */
html.escenas .ev.ev-datos .tab-sub { font-size: 1rem !important; }

/* Matrona hoy: los folletos con su nombre legible */
html.escenas .ev.ev-matrona .sala-folleto { font-size: 11px !important; line-height: 1.1 !important; }

/* Contacto: los datos bajo cada medallón */
html.escenas .ev.ev-contacto .contacto small { font-size: 1.05rem !important; }
html.escenas .ev.ev-contacto .contacto b { font-size: 1.25rem !important; }

/* pantallas enormes (2K, 4K): todo crece en proporción (antes quedaba chico al centro) */
@media (min-width: 2200px) { html.escenas:not(.escenas-pila) { font-size: 20px; } }
@media (min-width: 3000px) { html.escenas:not(.escenas-pila) { font-size: 26px; } }

/* Studios Conari: pergamino más ancho que crece con su texto (estirado solo en alto) y el lema bajo el rollo de arriba */
html.escenas .ev.ev-estudio .estudio-dos.estudio-tres { grid-template-columns: minmax(280px, 1fr) 360px minmax(480px, 1.5fr) !important; }
html.escenas .ev.ev-estudio .estudio-marca { aspect-ratio: auto !important; max-height: none !important; padding: 124px 58px 96px !important; gap: 8px !important; }
/* la hoja del mural: con letra grande caben los 7 trabajos si se omite la línea en cursiva de detalle (los detalles están en el CV) */
html.escenas .ev.ev-trayectoria .mural-paso i { display: none !important; }
html.escenas .ev.ev-trayectoria .mural-paso { grid-template-columns: 74px 1fr !important; }
html.escenas .ev.ev-trayectoria .mural-paso b { white-space: nowrap; grid-row: span 2 !important; }

/* Matrona hoy: la cinta centrada arriba de la sala (no sobre el dibujo ni bajo el menú) y los folletos con su nombre completo */
html.escenas.escenas-flujo .ev.ev-matrona .section-head { position: relative !important; top: auto !important; left: auto !important; right: auto !important; width: 100% !important; display: flex !important; justify-content: center !important; margin: 0 0 8px !important; }
html.escenas.escenas-flujo .ev.ev-matrona .section-head .cinta-nombre { position: static !important; width: 400px !important; margin: 0 auto !important; padding: 0 0 .35em !important; aspect-ratio: 1400 / 368 !important; display: grid !important; place-items: center !important; white-space: nowrap !important; font-size: 1.6rem !important; }
html.escenas .ev.ev-matrona .sala-folleto { font-size: 10px !important; word-break: normal !important; overflow-wrap: anywhere !important; }
html.escenas.escenas-flujo .ev.ev-matrona .section-head > div, html.escenas.escenas-flujo .ev.ev-datos .section-head > div { width: 100% !important; display: flex !important; justify-content: center !important; }
/* perfil: el «Mi rol en Studios Conari» bajo el rollo de arriba */
html.escenas.escenas-flujo .ev.ev-equipo .perfil-pro-texto { padding-top: 142px !important; }
html.escenas.escenas-flujo .ev.ev-matrona .section-head, html.escenas.escenas-flujo .ev.ev-datos .section-head { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }

/* computador mediano o chico (< 1600 px): los dibujos con texto se ven enteros y se acercan por partes (como en la tableta) */
html.escenas-acercar .zoom-marco { position: relative; width: 100%; overflow: hidden; border-radius: 10px; cursor: zoom-in; transition: height .5s cubic-bezier(.2,.8,.2,1); }
html.escenas-acercar .zoom-marco.acercado { cursor: auto; box-shadow: 0 0 0 2px rgba(245, 168, 207, .8), 0 8px 22px rgba(40, 14, 56, .3); }
html.escenas-acercar .zoom-marco > * { transform-origin: 0 0; will-change: transform; }
html.escenas-acercar .zoom-marco :is(.tableros, .mural, .sala) { width: 100% !important; max-width: none !important; }
html.escenas-acercar .zoom-barra { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 0; }
html.escenas-acercar :is(.zoom-parte, .zoom-todo) { margin: 0; padding: 9px 16px; border-radius: 999px; border: 2px solid #fff; background: #fff6fb; color: #6a2c55; font: 700 1rem 'Mali', var(--sans, sans-serif); cursor: pointer; box-shadow: 0 3px 0 #e2c4dc; }
html.escenas-acercar .zoom-parte.activo { background: linear-gradient(135deg, #f6b9d6, #cdb6f2); color: #4a2556; }
html.escenas-acercar .zoom-barra:not(.acercado) .zoom-todo { display: none; }
html.escenas-acercar .zoom-barra::before { content: "Toca una parte del dibujo para verla de cerca:"; flex-basis: 100%; text-align: center; font: italic 600 1.05rem var(--serif, Georgia, serif); color: #fff7fc; text-shadow: 0 1px 3px rgba(20, 8, 40, .95); }
html[data-tema="claro"].escenas-acercar .zoom-barra::before { color: #4a2556; text-shadow: 0 0 6px #fff; }
html.escenas-acercar .zoom-barra.acercado::before { content: none; }
/* (el zoom fijo de 1,2/1,4 para pantallas grandes descuadraba las medidas: ahora crece la letra base) */
html.escenas.escenas-flujo .ev .ev-caja { zoom: 1 !important; }
/* perfil y Studios Conari en rem: en pantallas enormes crecen junto con la letra */
html.escenas.escenas-flujo .ev.ev-equipo .perfil-pro { grid-template-columns: minmax(12.5rem, 16.5rem) 28rem minmax(12.5rem, 15.5rem) !important; gap: 1.6rem !important; }
html.escenas.escenas-flujo .ev.ev-equipo .perfil-pro-texto { width: 28rem !important; min-height: 40rem !important; padding: 8.9rem 6rem 6.2rem !important; }
html.escenas.escenas-flujo .ev.ev-equipo .perfil-medalla img { width: 6.5rem !important; height: 6.5rem !important; }
html.escenas.escenas-flujo .ev.ev-estudio .estudio-dos.estudio-tres { grid-template-columns: minmax(17.5rem, 1fr) 22.5rem minmax(30rem, 1.5fr) !important; }
html.escenas.escenas-flujo .ev.ev-estudio .estudio-marca { padding: 7.75rem 3.6rem 6rem !important; }

/* ---------------------------------------------------------------- cintas de título: el nombre centrado en la franja rosada
   (medida en el dibujo de 1400 × 367: la franja va de x 15 % a 85 % y su centro vertical está al 43,6 %) */
html.escenas.escenas-flujo .ev.ev.ev .section-head .cinta-nombre { box-sizing: border-box !important; display: grid !important; place-items: center !important; aspect-ratio: 1400 / 367 !important;
  width: clamp(380px, 30vw, 600px) !important; height: auto !important; padding: 0 0 .32em !important; margin: 0 auto !important; white-space: nowrap !important;
  font-size: clamp(1.5rem, 2vw, 2.6rem) !important; line-height: 1 !important; text-align: center !important; letter-spacing: .05em !important; }
html.escenas.escenas-flujo .ev.ev.ev .section-head:has(.cinta-nombre) { position: relative !important; top: auto !important; left: auto !important; right: auto !important; width: 100% !important; max-width: none !important; display: flex !important; flex-direction: column; align-items: center !important; margin: 0 auto 10px !important; }
html.escenas.escenas-flujo .ev.ev.ev .section-head:has(.cinta-nombre) > div { width: 100% !important; display: flex !important; flex-direction: column; align-items: center !important; }
/* Trayectoria: su cinta sigue en el hueco sobre el tablero, con las mismas proporciones */
html.escenas.escenas-flujo .ev.ev.ev.ev-trayectoria .section-head .cinta-nombre { position: absolute !important; right: auto !important; bottom: auto !important; height: auto !important; max-width: none !important; min-width: 0 !important; padding: 0 0 .3em !important; left: calc(50% - 520px) !important; top: 0 !important; width: 330px !important; font-size: 1.55rem !important; }
html.escenas.escenas-flujo .ev.ev.ev.ev-trayectoria .section-head:has(.cinta-nombre) { position: absolute !important; inset: 0 0 auto 0 !important; margin: 0 !important; }

/* los dibujos grandes nunca se agrandan más que su tamaño real (1672 px): así no se pixelan */
html.escenas.escenas-flujo .ev.ev-trayectoria .ev-caja, html.escenas.escenas-flujo .ev.ev-datos .ev-caja, html.escenas.escenas-flujo .ev.ev-matrona .ev-caja { max-width: 1672px !important; margin-inline: auto !important; }
/* Trayectoria: el pasto del pie se desvanece suave (sin corte recto abajo ni a los lados) */
html.escenas .ev.ev-trayectoria .mural { -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%), linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, #000 78%, transparent 99%), linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); mask-composite: intersect; }
/* Desarrollo: la calculadora protagonista (más grande que el cuaderno) */
html.escenas.escenas-flujo .ev.ev-desarrollo .papel-app.app-calc { max-width: 1240px !important; }
html.escenas.escenas-flujo .ev.ev-desarrollo .app-calc .app-doble { grid-template-columns: minmax(380px, 470px) minmax(560px, 680px) !important; justify-content: center !important; gap: 40px !important; }

/* Tienda Magical Alliance: el puesto grande (no se achica por el alto de la pantalla) */
html.escenas .ev.ev-desarrollo .tienda-puesto { width: min(100%, 1560px) !important; }
/* la pantalla de la caja: total y lo pagado, grandes y legibles, dentro del visor del dibujo */
html.escenas .ev.ev-desarrollo .tienda-caja .register-marquee output { font-size: 13cqw !important; }
html.escenas .ev.ev-desarrollo .tienda-caja .caja-pago { top: 34% !important; font-size: 6.2cqw !important; font-weight: 800 !important; color: #6a2c55 !important; background: rgba(255, 246, 251, .92); border-radius: 1.5cqw; padding: .6cqw 0 !important; width: 60% !important; left: 20% !important; text-align: center !important; }
html.escenas .ev.ev-desarrollo .tienda-caja .register-keypad button { font-size: 5.4cqw !important; }
/* la boleta pegada en la vitrina: completa (productos, total, pago, medio de pago y vuelto) sin barra */
html.escenas .ev.ev-desarrollo .tienda-boleta-vista { top: 18% !important; bottom: 3% !important; }
html.escenas .ev.ev-desarrollo .tienda-boleta-hoja { overflow: visible !important; padding: 18px 22px 16px !important; font-size: .92rem !important; }
html.escenas .ev.ev-desarrollo .tienda-boleta-hoja h4 { font-size: 1.2rem !important; }
html.escenas .ev.ev-desarrollo .tienda-boleta-hoja .paper-note { margin-bottom: 4px !important; }
html.escenas .ev.ev-desarrollo .tienda-boleta-hoja .paper-thanks { margin-top: 4px !important; }
html.escenas .ev.ev-desarrollo .tienda-puesto { width: min(100%, 1560px, calc((100vh - 150px) * 1660 / 921)) !important; }
html.escenas.escenas-flujo .ev.ev.ev.ev-desarrollo.tienda-activa .section-head { display: none !important; }


/* Datos: la hoja más acotada (las 3 observaciones principales) y el texto lejos de las flores del borde del portapapeles */
html.escenas .ev.ev-datos .tab-panel .tab-obs li:nth-child(n+4) { display: none !important; }
html.escenas .ev.ev-datos .tab-panel { padding-right: 34px !important; scrollbar-width: none !important; }
html.escenas .ev.ev-datos .tab-panel::-webkit-scrollbar { display: none; }
/* indicadores: el valor, cómo se calcula y por qué importa (lo demás está en el tablero); simulador y archivos, en corto */
html.escenas .ev.ev-datos .tab-kpi-detalle dl > :is(dt, dd):nth-of-type(n+3):not(:nth-of-type(3)) { display: none !important; }
html.escenas .ev.ev-datos .tab-kpi-detalle dl > dt:nth-of-type(2), html.escenas .ev.ev-datos .tab-kpi-detalle dl > dd:nth-of-type(2) { display: none !important; }
html.escenas .ev.ev-datos .tab-panel .tab-aviso, html.escenas .ev.ev-datos .tab-panel .tab-nota { display: none !important; }
html.escenas .ev.ev-datos .tab-panel .tab-obs li:nth-child(n+3) { display: none !important; }
html.escenas .ev.ev-datos .tab-panel:has(.tab-dentro > .btn.primary) .tab-obs li:nth-child(n+2) { display: none !important; }

/* separación entre secciones (antes quedaban pegadas) y sin el aviso de derechos bajo el cuaderno (ya está en el pie de página) */
html.escenas.escenas-flujo .escenas-capa > .ev + .ev { margin-top: 70px !important; }
html.escenas .ev.ev-leyendas .leyendas-aviso { display: none !important; }

/* Arcade · Jardín de gemas: explicación corta y ordenada (título, una línea, los 3 poderes y los que tienes), sin párrafos largos */
html.escenas .ev.ev-arcade .app-gemas .juego-lado :is(.gem-welcome .chip, .gem-welcome p, .gem-lessons, .gem-lesson-hint, #gem-power-message, #gema-lado > p) { display: none !important; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado .gem-welcome h3 { display: none !important; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado #gema-lado > h3 { font-size: 1.35rem !important; margin: 0 0 6px !important; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado #gema-lado::after { content: none; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado .juego-lado-texto::before { content: "Intercambia dos gemas vecinas y une 3 o más iguales."; display: block; margin: 0 0 10px; font: 600 1rem/1.4 'Mali', sans-serif; color: #4a2556; text-align: center; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado .special-guide p { display: grid !important; grid-template-columns: 36px 1fr; column-gap: 8px; align-items: center; margin: 0 0 8px !important; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado .special-guide img { width: 36px !important; height: 36px !important; grid-row: span 2; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado .special-guide b { font-size: 1rem !important; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado .special-guide span { font-size: .9rem !important; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado #gem-inventory { display: flex !important; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 8px; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado #gem-inventory span { font-size: .9rem !important; padding: 4px 10px !important; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado .juego-lado-texto { display: flex; flex-direction: column; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado #gema-intro { order: 2; }

/* Arcade a pantalla completa: cubre todo bajo el menú (sin que se asome la sección de abajo) y sin la cinta del salón */
html.escenas.escenas-flujo .ev.ev.ev-arcade.jugando-arcade { top: 0 !important; padding-top: 86px !important; }
html.escenas.escenas-flujo .ev.ev.ev.ev-arcade.jugando-arcade .section-head { display: none !important; }
/* Cielo de constelaciones: la máquina ancha, vista de cerca pero entera en la pantalla */
html.escenas.escenas-flujo .ev-arcade.jugando-arcade .maq-3 { --h: calc((100vh - 120px) / .7) !important; margin: calc((100vh - 120px) / .7 * -.13) 0 calc((100vh - 120px) / .7 * -.17) !important; }
html.escenas.escenas-flujo .ev-arcade.jugando-arcade .app-gemas .juego-lado { width: 440px !important; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado .special-guide span { display: none !important; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado .special-guide img { grid-row: auto !important; width: 32px !important; height: 32px !important; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado .special-guide p { margin: 0 0 6px !important; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado #gem-inventory { flex-direction: row !important; flex-wrap: nowrap !important; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado #gem-inventory span { display: inline-flex !important; align-items: center; gap: 4px; white-space: nowrap; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado #gem-inventory img { width: 22px !important; height: 22px !important; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado #gema-lado > h3 { display: none !important; }
html.escenas .ev.ev-arcade .app-gemas .juego-lado #gem-inventory { flex-wrap: wrap !important; }
/* el dragón se puede tocar: sube al inicio */
.dragoncito.visible { pointer-events: auto !important; cursor: pointer; }

/* Matrona hoy: el título va bordado en el sillón rosado (sala.webp 1672×941, frente del cojín ≈ x 340–1365, y 772–846); tocarlo hace brillar y da la pista */
html.escenas .sala-capa .sala-sillon { left: 360px; top: 760px; width: 980px; height: 92px; z-index: 4; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; align-content: center; gap: 0; }
html.escenas .sala-capa .sala-sillon-titulo { font: italic 700 62px/1 "Cormorant Garamond", Georgia, serif; letter-spacing: .02em; color: #8c3f74; text-shadow: 0 1px 0 #ffe9f4, 0 2px 0 rgba(255,255,255,.7), 0 0 14px rgba(255,214,236,.9); transition: transform .3s; }
html.escenas .sala-capa .sala-sillon:hover .sala-sillon-titulo, html.escenas .sala-capa .sala-sillon:focus-visible .sala-sillon-titulo { transform: scale(1.04); }
html.escenas .sala-capa .sala-sillon-pista { position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, 6px); white-space: nowrap; font: 700 26px/1.2 "Cormorant Garamond", Georgia, serif; color: #5b2d55; background: #fff7fb; border: 2px solid #e9c6dc; border-radius: 999px; padding: 8px 22px; box-shadow: 0 6px 18px rgba(120,60,110,.22); opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s; }
html.escenas .sala-capa .sala-sillon.brilla .sala-sillon-pista { opacity: 1; transform: translate(-50%, -8px); animation: sillon-pista 4.2s forwards; }
html.escenas .sala-capa .sala-sillon.brilla .sala-sillon-titulo { animation: sillon-brillo 1.1s ease-out; }
@keyframes sillon-brillo { 0% { text-shadow: 0 0 0 #fff, 0 0 14px rgba(255,214,236,.9); } 40% { text-shadow: 0 0 18px #fff, 0 0 38px #ffd6ec, 0 0 60px #f7b6da; transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes sillon-pista { 0%, 85% { opacity: 1; } 100% { opacity: 0; } }
/* con el título en el sillón, la cinta de arriba sobra */
html.escenas.escenas-flujo .ev.ev.ev-matrona .section-head, html.escenas .ev.ev.ev-matrona .section-head { display: none !important; }

/* Diseño («Mi trazo»): el cuaderno entero en pantalla (la cinta se apoya sobre su borde de arriba) y letra que se lee */
html.escenas.escenas-flujo .ev.ev.ev.ev-leyendas .section-head:has(.cinta-nombre) { margin-bottom: -78px !important; position: relative !important; z-index: 3 !important; pointer-events: none; }
html.escenas.escenas-flujo .ev.ev.ev.ev-leyendas .section-head .cinta-nombre { pointer-events: auto; }
html.escenas.escenas-flujo .ev.ev.ev-leyendas .section-head h2 { display: none !important; }
html.escenas.escenas-flujo .ev.ev.ev-leyendas .ley-museo { width: min(100%, 1672px, calc((100vh - 171px) * 1575 / 905)) !important; }
html.escenas .ev.ev.ev.ev-leyendas .ley-pestanas { flex-wrap: wrap !important; justify-content: center !important; gap: .5cqw .55cqw !important; }
html.escenas .ev.ev.ev.ev-leyendas .ley-pestanas > button, html.escenas .ev.ev.ev.ev-leyendas .ley-pestanas .leyendas-filtros button { font-size: 1.3cqw !important; padding: .45cqw 1.15cqw !important; }
html.escenas .ev.ev.ev.ev-leyendas .ley-camino { gap: .6cqw !important; justify-content: flex-start; padding-top: 0 !important; }
html.escenas .ev.ev.ev.ev-leyendas .ley-camino h4 { font-size: 1.8cqw !important; white-space: nowrap; }
html.escenas .ev.ev.ev.ev-leyendas .ley-camino > p { font-size: 1.4cqw !important; line-height: 1.35 !important; }
html.escenas .ev.ev.ev.ev-leyendas .ley-etapas { gap: .6cqw !important; margin-top: .2cqw !important; }
html.escenas .ev.ev.ev.ev-leyendas .ley-etapa { grid-template-columns: 3.4cqw 1fr !important; grid-template-rows: auto auto !important; row-gap: 0; padding: .5cqw 1.1cqw !important; }
html.escenas .ev.ev.ev.ev-leyendas .ley-etapa-num { width: 3.4cqw !important; height: 3.4cqw !important; font-size: 1.35cqw !important; }
html.escenas .ev.ev.ev.ev-leyendas .ley-etapa b { font-size: 1.7cqw !important; }
html.escenas .ev.ev.ev.ev-leyendas .ley-etapa small { display: block !important; font-size: 1.3cqw !important; }
html.escenas .ev.ev.ev.ev-leyendas .ley-cuadro figcaption b { font-size: 2.1cqw !important; }
html.escenas .ev.ev.ev.ev-leyendas .ley-cuadro figcaption span { font-size: 1.55cqw !important; line-height: 1.35 !important; }
html.escenas .ev.ev.ev.ev-leyendas .ley-cuadro .ley-ver { font-size: 1.3cqw !important; }
html.escenas .ev.ev.ev.ev-leyendas .ley-lapiz { width: 4.6cqw !important; height: 4.6cqw !important; margin: -3.75cqw 0 0 -.85cqw !important; transition: opacity .3s !important; }

/* Studios Conari: los servicios se leen (letra más grande y un velo suave detrás, para que no se pierda sobre el fondo) */
html.escenas .ev.ev.ev-estudio .estudio-servicios { --ico: 96px; row-gap: 14px !important; }
html.escenas .ev.ev.ev-estudio .estudio-servicio { gap: 4px !important; }
html.escenas .ev.ev.ev-estudio .estudio-servicio h3 { font-size: 1.05rem !important; }
html.escenas .ev.ev.ev-estudio .estudio-servicio p { font-size: 1.02rem !important; line-height: 1.38 !important; max-width: 100% !important; background: rgba(28, 12, 48, .58); border-radius: 14px; padding: 6px 10px; box-shadow: 0 0 0 1px rgba(255, 214, 236, .18); }
html[data-tema="claro"].escenas .ev.ev.ev-estudio .estudio-servicio p { background: rgba(255, 248, 252, .82); }

/* Trayectoria en pantalla de escritorio: el tablero se recorta a lo que importa (sin el pasto de los lados ni las patas), así crece
   y su letra se lee; el texto del tablero va más grande */
html.escenas.escenas-flujo .ev.ev-trayectoria .mural { --ancho-visible: 1280; width: min(100%, calc((100vh - 85px) * 1280 / 770)) !important; aspect-ratio: 1280 / 770 !important; margin-inline: auto !important; background-size: calc(100% * 1672 / 1280) calc(100% * 941 / 770) !important; background-position: calc(100% * 200 / 392) 0 !important;
  -webkit-mask-image: linear-gradient(to bottom, #000 93%, transparent 100%) !important; mask-image: linear-gradient(to bottom, #000 93%, transparent 100%) !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-tablero { transform: translateX(calc(-200px * var(--k))) scale(var(--k)) !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-hoja { left: 392px !important; top: 178px !important; width: 380px !important; height: 380px !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-hoja h3 { display: none !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-pasos { gap: 7px !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-paso { grid-template-columns: 82px 1fr !important; column-gap: 8px !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-paso b { font-size: 16.5px !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-paso span { font-size: 17px !important; line-height: 1.15 !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-paso small { font-size: 15px !important; line-height: 1.15 !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-lema { left: 578px !important; top: 562px !important; width: 200px !important; font-size: 17px !important; line-height: 1.12 !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-foto b { font-size: 17px !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-foto small { font-size: 15px !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-afiche { left: 846px !important; top: 522px !important; width: 176px !important; height: 108px !important; gap: 5px !important; justify-content: flex-start !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-afiche b { position: absolute !important; left: 66px; top: -118px; width: 108px; font-size: 16px !important; letter-spacing: 0 !important; line-height: 1.05 !important; text-align: center; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-afiche small { display: none !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-afiche b { font-size: 21px !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-afiche span { font-size: 14.5px !important; line-height: 1.25 !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-afiche small { font-size: 14px !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-afiche :is(a, button) { font-size: 14.5px !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-planilla-titulo { font-size: 15.5px !important; }
html.escenas.escenas-flujo .ev.ev-trayectoria .mural-planilla :is(span, a, button) { font-size: 16px !important; }

/* Datos: en el monitor del escritorio se ve la portada de la página (título y tres cifras grandes); el gráfico completo se abre con «Ampliar» */
html.escenas .ev.ev-datos .tab-visor .tab-barra { height: auto !important; gap: 10px !important; align-items: center !important; }
html.escenas .ev.ev-datos .tab-visor .tab-pag-nombre { font-size: 20px !important; display: flex !important; flex-direction: column !important; gap: 2px !important; }
html.escenas .ev.ev-datos .tab-visor .tab-pag-nombre > span { font-size: 17px !important; }
html.escenas .ev.ev-datos .tab-visor .tab-pag-nombre select { font-size: 22px !important; padding: 4px 8px !important; max-width: 440px; }
html.escenas .ev.ev-datos .tab-visor .tab-vistas button { font-size: 20px !important; padding: 6px 14px !important; }
html.escenas .ev.ev-datos .tab-marco .tv-pagina .tv-controles, html.escenas .ev.ev-datos .tab-marco .tv-pagina .tv-lienzo { display: none !important; }
html.escenas .ev.ev-datos .tab-marco .tv-pagina { display: flex !important; flex-direction: column !important; justify-content: center !important; gap: 18px !important; padding: 10px 18px !important; }
html.escenas .ev.ev-datos .tab-marco .tv-pagina[hidden] { display: none !important; }
html.escenas .ev.ev-datos .tab-marco .tv-kpis { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 14px !important; height: auto !important; }
html.escenas .ev.ev-datos .tab-marco .tv-kpi { padding: 12px !important; gap: 6px !important; display: flex !important; flex-direction: column !important; justify-content: center !important; }
html.escenas .ev.ev-datos .tab-marco .tv-kpi b { font-size: 40px !important; line-height: 1.05 !important; }
html.escenas .ev.ev-datos .tab-marco .tv-kpi span { font-size: 21px !important; line-height: 1.2 !important; white-space: normal !important; }
html.escenas .ev.ev-datos .tab-marco .tab-ampliar { position: absolute !important; left: 50% !important; right: auto !important; top: auto !important; bottom: 16px !important; transform: translateX(-50%) !important; font-size: 22px !important; padding: 9px 26px !important; }

/* Inicio: pergamino más ancho (menos renglones) para que el perfil completo quepa en la primera pantalla */
@media (min-width: 1500px) {
  html.escenas .ev.ev.ev-equipo .perfil-pro { grid-template-columns: 264px 600px 290px !important; column-gap: 40px !important; }
  html.escenas .ev.ev.ev-equipo .perfil-pro-texto { width: 600px !important; max-width: 600px !important; padding: 138px 104px 104px !important; }
}

/* Matrona hoy: los folletos del revistero son chicos en el dibujo; llevan solo su ícono grande y el nombre aparece grande al pasar o tocar */
html.escenas .sala-capa .sala-folleto > span:not(.sala-folleto-ico) { display: none !important; }
html.escenas .sala-capa .sala-folleto .sala-folleto-ico { font-size: 30px !important; line-height: 1 !important; }
html.escenas .sala-capa .sala-folleto { display: grid !important; place-items: center !important; overflow: visible !important; }
html.escenas .sala-capa .sala-folleto::after { content: attr(data-nombre); position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%) scale(.9); white-space: nowrap; font: 700 26px/1.2 "Cormorant Garamond", Georgia, serif; color: #5b2d55; background: #fff7fb; border: 2px solid #e9c6dc; border-radius: 999px; padding: 6px 18px; box-shadow: 0 6px 18px rgba(120, 60, 110, .25); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 9; }
html.escenas .sala-capa .sala-folleto:is(:hover, :focus-visible)::after { opacity: 1; transform: translateX(-50%) scale(1); }
html.escenas .sala-capa .sala-folleto:is(:hover, :focus-visible) { z-index: 8 !important; }
html.escenas .sala-capa .sala-sillon { top: 776px !important; height: 80px !important; }

/* Cuento: el diálogo de los carteles se lee (en escritorio) */
@media (min-width: 1200px) and (min-height: 700px) {
  html .colgante .vida-cartel .vida-texto { font-size: 1.22rem !important; font-weight: 600 !important; line-height: 1.38 !important; }
  html .colgante .vida-cartel .vida-edad { font-size: .92rem !important; }
  html .colgante .vida-controles button { font-size: 1rem !important; }
}
@media (min-width: 1500px) {
  html.escenas .ev.ev.ev-estudio .estudio-dos.estudio-tres { grid-template-columns: minmax(0, 1fr) 430px minmax(0, 760px) !important; }
  html.escenas .ev.ev.ev-estudio .estudio-marca { width: 430px !important; padding-left: 74px !important; padding-right: 74px !important; }
}

/* ================================================================ Cuento: las aplicaciones abiertas
   El cuadro abierto ocupa la pantalla desde arriba hasta la barra del libro, con un velo detrás (no se confunde con el fondo).
   Su contenido no lleva barra propia: cuento.js lo ensancha o lo achica un poco para que quepa entero (ajustarApp). */
html .teatro-app .colgante-app:not(:has(> .app-maquina)) { position: fixed !important; left: 50% !important; right: auto !important; top: 8px !important; translate: -50% 0 !important; width: min(1560px, calc(100vw - 28px)) !important; height: var(--alto-app, calc(100vh - 90px)) !important; max-height: none !important; margin: 0 !important; box-sizing: border-box !important; padding: clamp(40px, 6.2vh, 62px) clamp(56px, 4.6vw, 84px) clamp(40px, 6vh, 60px) !important; overflow: hidden !important; display: block !important; scale: none !important; z-index: 60 !important; }
html .teatro-app .colgante-app:not(:has(> .app-maquina)) > .colgar-app { transform-origin: 0 0; overflow: hidden auto !important; max-height: none !important; scrollbar-width: thin; padding: 0 !important; margin: 0 !important; box-sizing: border-box; }
html .teatro-app .colgante-app.arriba:not(:has(> .app-maquina)) { transform: translateY(calc(-100% - 40px)) !important; }
/* velo detrás del cuadro abierto y los carteles de los lados se esconden mientras tanto (antes quedaban encima y tapaban) */
html body:has(.teatro-app .colgante-app:not(.arriba))::after { content: ""; position: fixed; inset: 0; z-index: 55; background: radial-gradient(ellipse at center, rgba(30, 14, 52, .55), rgba(16, 8, 30, .82)); pointer-events: none; }
html body:has(.teatro-app .colgante-app:not(.arriba)) .teatro-lado { opacity: 0 !important; pointer-events: none !important; transition: opacity .3s; }
html body:has(.teatro-app .colgante-app:not(.arriba)) #libro-nav { z-index: 70 !important; }
/* la pestaña del cuadro abierto: un botón claro para volver al cuento */
html .teatro-app .colgante-app:not(.arriba) .app-pestana { top: 14px !important; right: 28px !important; left: auto !important; translate: none !important; font-size: 1rem !important; padding: 8px 18px !important; z-index: 8 !important; }
/* la nota de cada aplicación, más grande */
html .teatro-app .colgante-app .app-nota { font-size: 1.12rem !important; line-height: 1.4 !important; margin: 0 auto 12px !important; max-width: 70ch; }

/* Inicio: el pergamino en tres piezas (arriba con la luna, papel, abajo): la luna y los rollos guardan su forma aunque el papel se ensanche */
html.escenas .ev.ev-equipo .perfil-pro-texto { background: url("assets/pergamino/perg-arriba.webp") center top / 100% auto no-repeat, url("assets/pergamino/perg-abajo.webp") center bottom / 100% auto no-repeat, url("assets/pergamino/perg-medio.webp") center center / 100% calc(100% - var(--perg-w, 450px) * .74) no-repeat !important; }
html.escenas .ev.ev.ev-equipo .perfil-pro-texto { --perg-w: 450px; }
@media (min-width: 1500px) { html.escenas .ev.ev.ev-equipo .perfil-pro-texto { --perg-w: 600px; padding-top: 200px !important; padding-bottom: 168px !important; } }
/* Ari más grande dentro del arco */
html.escenas .ev.ev-equipo .perfil-pro-retrato .perfil-pro-ari { left: 9% !important; width: 82% !important; right: auto !important; height: 89% !important; bottom: 5.5% !important; }
html.escenas .ev.ev-equipo .perfil-pro-retrato { cursor: pointer; }
/* lo comprobable en primera plana */
html.escenas .perfil-enlaces { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 10px; }
html.escenas .perfil-enlaces a { font: 700 1rem/1 var(--sans, sans-serif); color: #4a2556; background: #fff6fb; border: 2px solid #f0c6dd; border-radius: 999px; padding: 9px 14px; text-decoration: none; box-shadow: 0 3px 0 #d9a9c5; }
html.escenas .perfil-enlaces a.medalla { flex-basis: 100%; text-align: center; font-size: 1.08rem; background: linear-gradient(135deg, #ffe7a8, #f6b9d6); border-color: #fff; }
html.escenas .perfil-enlaces a:hover { transform: translateY(-2px); }
html.escenas.escenas-flujo .ev.ev.ev-equipo .perfil-medalla img { width: 5.2rem !important; height: 5.2rem !important; }
html.escenas.escenas-flujo .ev.ev.ev-equipo .perfil-credenciales { gap: 4px !important; align-self: center; }

/* ================================================================ Desarrollo (scroll continuo): los botones de proyecto siempre a la vista
   (quedan pegados bajo el menú al bajar) y cada proyecto ocupa la pantalla con letra que se lee */
html.escenas.escenas-flujo .ev.ev-desarrollo { --dev-h: max(420px, calc(100vh - 67px - 190px)); }
html.escenas.escenas-flujo .ev.ev.ev.ev-desarrollo .section-head .cinta-nombre { width: 340px !important; font-size: 1.5rem !important; }
html.escenas.escenas-flujo .ev.ev-desarrollo .section-head h2 { font-size: 1.15rem !important; margin: 0 !important; }
html.escenas.escenas-flujo .ev.ev-desarrollo .papel-pestanas { position: sticky !important; top: 72px; z-index: 60; padding: 6px 0 !important; margin: 0 auto 10px !important; }
html.escenas.escenas-flujo .ev.ev-desarrollo .papel-pestanas button { font-size: 1.05rem !important; padding: 9px 20px !important; box-shadow: 0 4px 14px rgba(10, 4, 24, .55) !important; }
/* la calculadora y su cuaderno, del alto de la pantalla y lado a lado */
html.escenas.escenas-flujo .ev.ev.ev-desarrollo .app-calc .app-nota { margin: 0 auto 8px !important; }
html.escenas.escenas-flujo .ev.ev.ev-desarrollo .app-calc .app-doble { display: grid !important; grid-template-columns: calc(var(--dev-h) * .62) min(54vw, calc(var(--dev-h) * .92 * 1257 / 873), 780px) !important; justify-content: center !important; align-items: center !important; gap: 34px !important; }
html.escenas.escenas-flujo .ev.ev.ev-desarrollo .app-calc #calc-zona { width: 100% !important; max-width: none !important; }
html.escenas.escenas-flujo .ev.ev.ev-desarrollo .app-calc #calc-java { width: 100% !important; max-width: none !important; }
/* la tienda: el puesto del alto disponible (los pasos quedan a la vista bajo él) */
html.escenas.escenas-flujo .ev.ev.ev-desarrollo .tienda-puesto { width: min(100%, 1560px, calc((100vh - 67px - 75px) * 1660 / 921)) !important; }
html.escenas.escenas-flujo .ev.ev.ev-desarrollo .tienda-puesto .tienda-pista { position: absolute !important; left: 4% !important; right: 4% !important; bottom: 1.2% !important; margin: 0 !important; font-size: 1.35cqw !important; z-index: 7; }
/* el Banco de Evaluaciones: el libro escala con su contenido (todo en cqw) y la letra es más grande; solo los 5 pasos, sin el detalle */
html.escenas.escenas-flujo .ev.ev.ev-desarrollo .papel-app.app-banco { width: min(100%, 1400px, max(1000px, calc(var(--dev-h) * 1627 / 1150))) !important; }
html.escenas .ev.ev-desarrollo .papel-app.app-banco .banco-texto p { font-size: 1.28cqw !important; line-height: 1.45 !important; margin-bottom: .8cqw !important; }
html.escenas .ev.ev-desarrollo .papel-app.app-banco .banco-flujo span { display: none !important; }
html.escenas .ev.ev-desarrollo .papel-app.app-banco .banco-flujo { gap: .8cqw !important; }
html.escenas .ev.ev-desarrollo .papel-app.app-banco .banco-flujo li { padding: .7cqw .9cqw !important; align-items: center !important; }
html.escenas .ev.ev-desarrollo .papel-app.app-banco .banco-flujo b { font-size: 1.35cqw !important; }
html.escenas .ev.ev-desarrollo .papel-app.app-banco .banco-flujo li::before { width: 2.1cqw !important; height: 2.1cqw !important; font-size: 1.05cqw !important; grid-row: auto !important; }
html.escenas .ev.ev-desarrollo .papel-app.app-banco .banco-flujo li { grid-template-columns: 2.1cqw 1fr !important; }
html.escenas .ev.ev-desarrollo .papel-app.app-banco .banco-texto .banco-moodle { font-size: 1.05cqw !important; line-height: 1.4 !important; }
html.escenas .ev.ev-desarrollo .papel-app.app-banco .stack-cloud span { font-size: .95cqw !important; }
html.escenas .ev.ev-desarrollo .papel-app.app-banco .small-note { display: none !important; }
html.escenas .ev.ev-desarrollo .papel-app.app-banco .banco-texto h3 { font-size: 1.9cqw !important; }
html.escenas .ev.ev-desarrollo .papel-app.app-banco #banco-card.banco-card::before { font-size: 1.9cqw !important; }
html.escenas .ev.ev-desarrollo .papel-app.app-banco .banco-vivo .botonera { flex-wrap: wrap !important; }
html.escenas .ev.ev-desarrollo .papel-app.app-banco .banco-vivo .botonera .btn { font-size: 1cqw !important; padding: .6cqw 1.1cqw !important; }

/* Tienda: la boleta sale de la caja y se lee entera sobre la vitrina (todo escala con el puesto: nada se corta) */
html.escenas .ev.ev-desarrollo .tienda-puesto { container-type: inline-size; }
html.escenas .ev.ev.ev-desarrollo .tienda-boleta-vista { left: 60.5% !important; width: 37% !important; top: 3% !important; bottom: 3% !important; gap: .6cqw !important; animation: none !important; }
html.escenas .ev.ev.ev-desarrollo .tienda-boleta-hoja { overflow: hidden !important; padding: 1.6cqw 1.8cqw 1.2cqw !important; font: 500 1.45cqw/1.35 'Mali', sans-serif !important; rotate: 0deg !important; display: flex; flex-direction: column; justify-content: center; }
html.escenas .ev.ev.ev-desarrollo .tienda-boleta-hoja h4 { font-size: 1.75cqw !important; margin: .2cqw 0 !important; }
html.escenas .ev.ev.ev-desarrollo .tienda-boleta-hoja .paper-brand { font-size: 1cqw !important; }
html.escenas .ev.ev.ev-desarrollo .tienda-boleta-hoja .paper-note { font-size: .85cqw !important; margin: 0 0 .5cqw !important; }
html.escenas .ev.ev.ev-desarrollo .tienda-boleta-hoja .paper-items { padding: .4cqw 0 !important; margin: 0 0 .4cqw !important; }
html.escenas .ev.ev.ev-desarrollo .tienda-boleta-hoja .grand-total { font-size: 1.5cqw !important; margin: .3cqw 0 !important; padding: .3cqw 0 !important; }
html.escenas .ev.ev.ev-desarrollo .tienda-boleta-hoja .paper-total:last-of-type { font-size: 1.45cqw !important; color: #2f7a52 !important; font-weight: 800; }
html.escenas .ev.ev.ev-desarrollo .tienda-boleta-hoja .paper-medio b { font-size: 1.05cqw !important; }
html.escenas .ev.ev.ev-desarrollo .tienda-boleta-hoja .paper-thanks { font-size: 1.1cqw !important; margin: .4cqw 0 0 !important; }
html.escenas .ev.ev.ev-desarrollo .tienda-boleta-nueva { font-size: 1.3cqw !important; padding: .6cqw 1.4cqw !important; align-self: center; }
/* el descuento, en chips bajo el botón de cobrar */
.caja-descuentos { display: none; }
html.escenas .ev .tienda-caja .caja-descuentos { display: flex; position: absolute; left: -45%; width: 190%; bottom: -36%; justify-content: center; gap: 2.5cqw; z-index: 6; }
html.escenas .ev .tienda-caja .caja-descuentos::before { content: "Descuento:"; align-self: center; font: 700 8cqw/1 'Mali', sans-serif; color: #fff7fc; text-shadow: 0 1px 3px rgba(20, 8, 40, .9); }
html.escenas .ev .tienda-caja .caja-descuentos button { font: 700 8cqw/1 'Mali', sans-serif; padding: 2.4cqw 4cqw; border-radius: 99px; border: .6cqw solid #fff; background: #fff6fb; color: #6a2c55; box-shadow: 0 1cqw 0 #d9a9c5; cursor: pointer; }
html.escenas .ev .tienda-caja .caja-descuentos button.activo { background: linear-gradient(135deg, #f6b9d6, #cdb6f2); }

/* el menú de arriba tapa por completo lo que pasa debajo al bajar (antes se transparentaban títulos y textos) */
html.escenas.escenas-flujo .site .topbar { z-index: 90 !important; background: linear-gradient(180deg, rgba(22, 12, 42, .97), rgba(30, 16, 54, .95)) padding-box, var(--pc-marco) border-box !important; }
html[data-tema="claro"].escenas.escenas-flujo .site .topbar { background: linear-gradient(180deg, rgba(255, 248, 252, .97), rgba(250, 238, 247, .95)) padding-box, var(--pc-marco) border-box !important; }
/* pantallas bajas (notebook con escala de Windows): sin subtítulo ni nota, para que cada proyecto entre entero bajo sus botones */
@media (max-height: 820px) {
  html.escenas.escenas-flujo .ev.ev.ev-desarrollo .section-head h2, html.escenas.escenas-flujo .ev.ev.ev-desarrollo .papel-app .app-nota { display: none !important; }
  html.escenas.escenas-flujo .ev.ev.ev-desarrollo { --dev-h: max(380px, calc(100vh - 67px - 205px)); padding-top: 14px !important; }
}
/* el cuaderno de la calculadora: su letra crece con él */
html.escenas.escenas-flujo .ev.ev-desarrollo .app-calc #calc-java { container-type: inline-size; }
html.escenas.escenas-flujo .ev.ev.ev-desarrollo .app-calc .calc-java .chip { font-size: 2.1cqw !important; }
html.escenas.escenas-flujo .ev.ev.ev-desarrollo .app-calc .calc-java h3 { font-size: 3.6cqw !important; }
html.escenas.escenas-flujo .ev.ev.ev-desarrollo .app-calc .calc-java pre { font-size: 2.7cqw !important; line-height: 1.7 !important; }
html.escenas.escenas-flujo .ev.ev.ev-desarrollo .app-calc .calc-guia { font-size: 2.35cqw !important; line-height: 1.4 !important; top: 11% !important; width: 33% !important; }
html.escenas.escenas-flujo .ev.ev.ev-desarrollo .app-calc .calc-java .botonera { bottom: 10% !important; }
html.escenas.escenas-flujo .ev.ev.ev-desarrollo .app-calc .calc-java .botonera .btn { font-size: 2.2cqw !important; padding: 1.2cqw 1.4cqw !important; white-space: nowrap; }
/* los descuentos: una fila ordenada y legible bajo el botón de cobrar */
html.escenas .ev.ev .tienda-caja .caja-descuentos { gap: 2cqw !important; bottom: -33% !important; }
html.escenas .ev.ev .tienda-caja .caja-descuentos button, html.escenas .ev.ev .tienda-caja .caja-descuentos::before { font-size: 6.4cqw !important; white-space: nowrap; }
html.escenas .ev.ev .tienda-caja .caja-descuentos button { padding: 2cqw 3cqw !important; }

/* Cuento · la calculadora: calculadora y cuaderno lado a lado, del alto del cuadro; el código se lee */
html .teatro-app .colgante-app .app-calc .app-doble { display: grid !important; grid-template-columns: 32% 62% !important; justify-content: center !important; align-items: center !important; gap: 4% !important; padding: 0 !important; }
html .teatro-app .colgante-app .app-calc #calc-zona { width: 100% !important; }
html .teatro-app .colgante-app .app-calc #calc-java { container-type: inline-size; width: 100% !important; padding: 13% 55% 8% 9% !important; }
html .teatro-app .colgante-app .app-calc .calc-java .chip { display: block !important; font-size: 1.9cqw !important; }
html .teatro-app .colgante-app .app-calc .calc-java h3 { font-size: 3.4cqw !important; }
html .teatro-app .colgante-app .app-calc .calc-java pre { font-size: 2.5cqw !important; line-height: 1.75 !important; }
html .teatro-app .colgante-app .app-calc .calc-java .botonera { position: absolute !important; left: 57% !important; width: 34% !important; top: auto !important; bottom: 12% !important; display: grid !important; gap: 1.2cqw !important; }
html .teatro-app .colgante-app .app-calc .calc-java .botonera .btn { font-size: 2.1cqw !important; padding: 1.1cqw 1cqw !important; }
html .teatro-app .colgante-app .app-calc .calc-pantalla strong { font-size: 2.4rem !important; }
html .teatro-app .colgante-app .app-calc .calc-teclas button { font-size: 1.2rem !important; }
/* Cuento · el currículum: dos columnas y letra grande, centrado en la hoja */
html .teatro-app .colgante-app .app-cv .cv-tabs button { font-size: 1.05rem !important; padding: 9px 20px !important; }
html .teatro-app .colgante-app .app-cv .cv-lista:not(.cv-hab) { columns: 2 !important; column-gap: 48px; max-width: 1200px; margin: 10px auto 0 !important; font-size: 1.12rem !important; }
html .teatro-app .colgante-app .app-cv .cv-lista li { break-inside: avoid; margin-bottom: 14px !important; }
html .teatro-app .colgante-app .app-cv .cv-lista time { font-size: .95rem !important; }
html .teatro-app .colgante-app .app-cv .cv-lista b { font-size: 1.22rem !important; }
html .teatro-app .colgante-app .app-cv .cv-hab { max-width: 1100px; margin: 18px auto 0 !important; display: flex !important; flex-wrap: wrap; justify-content: center; gap: 10px; }
html .teatro-app .colgante-app .app-cv .cv-hab span { font-size: 1.15rem !important; padding: 8px 16px !important; }
html .teatro-app .colgante-app .app-cv .cv-hab[hidden], html .teatro-app .colgante-app .app-cv .cv-lista[hidden] { display: none !important; }

/* Matrona hoy: el título bordado en el frente del cojín del sillón (sala.webp: frente ≈ x 590–1350, y 690–748) */
html.escenas .sala-capa .sala-sillon { left: 396px !important; top: 768px !important; width: 900px !important; height: 84px !important; }
html.escenas .sala-capa .sala-sillon-titulo { font-size: 64px !important; color: #8a2f6c !important; text-shadow: 0 2px 0 #ffe3f1, 0 0 10px rgba(255, 236, 246, .95), 0 0 2px #fff !important; }

/* pétalos de sakura cayendo sobre el reino: más grandes y visibles, por delante del dibujo */
.reino-petalos { z-index: 2; }
.reino-petalos i { width: 20px !important; height: 15px !important; opacity: .95 !important; box-shadow: 0 0 6px rgba(255, 214, 236, .7); }
