/* MenteViva — pensada para adultos mayores y con acabado premium (estética Axial: pasteles cálidos + vidrio sutil).
   Criterios: WCAG 2.2 AA/AAA (texto ≥ 7:1, objetivos táctiles ≥ 64 px, sin arrastrar, sin límites de tiempo, foco visible,
   respeta reducir movimiento / transparencia / contraste alto / texto ampliado), una tarea por pantalla, lenguaje claro,
   nunca una "X" roja ni un sonido de error. El texto crece sin romper la pantalla: la cuadrícula es fluida y nada se corta. */
:root {
    --ink: #1a2233;           /* ~15:1 sobre el vidrio */
    --ink-soft: #384459;      /* ~9:1 */
    --primary: #2c4690;       /* blanco encima ~9:1 */
    --primary-2: #4b63b8;
    --calm: #1d6a5c;
    --ok: #1f6b45;
    --gold: #c98a1b;
    --glass: rgba(255, 255, 255, .72);
    --glass-strong: rgba(255, 255, 255, .94);
    --line: rgba(26, 34, 51, .14);
    --radius: 30px;
    --target: 68px;
    --fs: 1;
    --pad: clamp(16px, 4.2vw, 26px);
    font-size: calc(20px * var(--fs));
}
html[data-texto="grande"] { --fs: 1.15; }
html[data-texto="enorme"] { --fs: 1.3; }
@media (min-width: 700px) { :root { font-size: calc(22px * var(--fs)); } }
html[data-contraste="alto"] { --glass: #ffffff; --glass-strong: #ffffff; --line: #1a2233; --ink-soft: #1a2233; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; }
body {
    margin: 0; min-height: 100dvh; color: var(--ink); overflow-x: hidden;
    font-family: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5; letter-spacing: .005em; font-variant-numeric: lining-nums;
    background: #fbf6ef;
}
/* aurora de fondo: cambia con la hora del día (data-franja) */
body::before {
    content: ""; position: fixed; inset: -20% -10% auto -10%; height: 90vh; z-index: -1; pointer-events: none;
    background:
        radial-gradient(520px 380px at 12% 18%, var(--a1, #ffd9bd), transparent 70%),
        radial-gradient(560px 420px at 88% 8%, var(--a2, #e3d8ff), transparent 70%),
        radial-gradient(600px 420px at 55% 62%, var(--a3, #d3efe4), transparent 72%);
    filter: blur(8px); animation: aurora 26s ease-in-out infinite alternate;
}
html[data-franja="manana"] { --a1: #ffd7b0; --a2: #ffe9b3; --a3: #fde0e6; }
html[data-franja="tarde"]  { --a1: #ffdcc2; --a2: #dcd6ff; --a3: #cdeee3; }
html[data-franja="noche"]  { --a1: #cfc8ff; --a2: #b9cdf5; --a3: #e1d3f7; }
@keyframes aurora { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(2%, 3%, 0) scale(1.06); } }
h1, h2, h3 { line-height: 1.18; margin: 0; letter-spacing: -.005em; }
h1 { font-size: 1.55rem; font-weight: 800; overflow-wrap: anywhere; }
h2 { font-size: 1.15rem; font-weight: 800; overflow-wrap: anywhere; }
p { margin: 0; overflow-wrap: anywhere; }
.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* columna fluida y de alto completo: cada pantalla cabe sin scroll (solo hace scroll como último recurso) */
html, body { height: 100%; }
#app { width: 100%; max-width: 720px; height: 100dvh; margin: 0 auto; padding: max(12px, env(safe-area-inset-top)) var(--pad) max(16px, env(safe-area-inset-bottom));
    display: flex; flex-direction: column; overflow: hidden; }
.pantalla { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: clamp(10px, 1.8dvh, 16px); overflow-y: auto; overflow-x: hidden;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; animation: entra .42s cubic-bezier(.2, .8, .2, 1) both; }
.pantalla::-webkit-scrollbar { display: none; }
.pantalla > * { flex: 0 0 auto; min-width: 0; }
.pantalla > .relleno { flex: 1 1 auto; min-height: 0; }
@keyframes entra { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes aparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulso { 0% { transform: scale(1); } 45% { transform: scale(1.06); } 100% { transform: scale(1); } }
.pantalla > * { animation: aparece .5s cubic-bezier(.2, .8, .2, 1) both; }
.pantalla > *:nth-child(2) { animation-delay: .05s; } .pantalla > *:nth-child(3) { animation-delay: .1s; }
.pantalla > *:nth-child(4) { animation-delay: .15s; } .pantalla > *:nth-child(5) { animation-delay: .2s; }
@media (min-width: 900px) { #app { max-width: 860px; padding-top: 24px; } }

/* vidrio premium */
.vidrio {
    position: relative; min-width: 0; padding: var(--pad); border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(255, 255, 255, .86), var(--glass));
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 22px 50px -18px rgba(70, 60, 140, .28), 0 2px 6px rgba(70, 60, 140, .06), inset 0 1px 0 rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .vidrio { background: var(--glass-strong); } }
@media (prefers-reduced-transparency: reduce) { .vidrio { background: var(--glass-strong); -webkit-backdrop-filter: none; backdrop-filter: none; } body::before { display: none; } }

/* barra superior */
.barra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; padding: 12px 14px; border-radius: 26px; }
.marca { display: flex; align-items: center; gap: 12px; min-width: 0; font-weight: 800; font-size: 1.05rem; }
.marca img { width: 50px; height: 50px; flex: 0 0 auto; filter: drop-shadow(0 6px 10px rgba(90, 80, 200, .35)); }

/* botones */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: var(--target); min-width: 0;
    padding: 14px 20px; border-radius: 22px; border: 2px solid var(--line); background: var(--glass-strong); color: var(--ink);
    font: inherit; font-weight: 800; line-height: 1.25; cursor: pointer; text-align: center; white-space: normal; overflow-wrap: anywhere;
    -webkit-tap-highlight-color: transparent; box-shadow: 0 6px 16px -10px rgba(40, 50, 90, .45);
    transition: transform .14s ease, box-shadow .14s ease;
}
.btn:active { transform: scale(.985); }
.btn--primario { background: linear-gradient(135deg, var(--primary-2), var(--primary)); border-color: transparent; color: #fff; box-shadow: 0 16px 28px -14px rgba(44, 70, 144, .75); }
.btn--calma { background: linear-gradient(135deg, #3f9e8b, var(--calm)); border-color: transparent; color: #fff; box-shadow: 0 16px 28px -14px rgba(29, 106, 92, .7); }
.btn--chico { width: auto; min-height: 56px; padding: 10px 16px; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: default; box-shadow: none; }
.btn .ico { font-size: 1.3em; line-height: 1; }
:focus-visible { outline: 5px solid #ffb703; outline-offset: 3px; border-radius: 14px; }
.fila { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.fila--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fila--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); }
.acciones { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

/* héroe de saludo */
.heroe { overflow: hidden; background: linear-gradient(150deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .62)); }
.heroe::after {
    content: ""; position: absolute; right: -40px; top: -40px; width: 190px; height: 190px; border-radius: 50%; opacity: .55; pointer-events: none;
    background: radial-gradient(circle at 35% 35%, var(--sol1, #ffe3a3), var(--sol2, #ffbd7a) 55%, transparent 72%);
}
html[data-franja="noche"] .heroe::after { --sol1: #ffffff; --sol2: #b8b8ff; opacity: .5; }
.etiqueta { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.saludo-nombre { font-size: clamp(1.9rem, 5.2vw, 2.7rem); font-weight: 800; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; position: relative; z-index: 1; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); font-weight: 800; font-size: .92rem; }
.fecha { margin-top: 8px; font-size: 1rem; color: var(--ink-soft); }

/* opciones grandes (ánimo, sueño) */
.opcion {
    display: grid; justify-items: center; align-content: center; gap: 8px; padding: 16px 10px; min-height: 124px; min-width: 0; border-radius: 26px;
    border: 3px solid var(--line); background: var(--glass-strong); color: var(--ink); font: inherit; font-weight: 800; line-height: 1.2; cursor: pointer; text-align: center;
    overflow-wrap: anywhere; box-shadow: 0 10px 20px -14px rgba(40, 50, 90, .5);
}
.opcion .cara { font-size: 2.8rem; line-height: 1; }
.opcion[aria-pressed="true"] { border-color: var(--primary); background: linear-gradient(160deg, #f1f4ff, #e4eaff); box-shadow: 0 0 0 5px rgba(44, 70, 144, .2); }

/* rutina */
.anillo-fila { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.anillo { width: 92px; height: 92px; flex: 0 0 auto; }
.anillo text { font: 800 22px "Atkinson Hyperlegible", system-ui, sans-serif; fill: var(--ink); }
.rutina { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
.tarea {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; text-align: left; width: 100%;
    min-height: 92px; padding: 14px 18px; border-radius: 26px; border: 2px solid var(--line); background: var(--glass-strong); color: var(--ink);
    font: inherit; cursor: pointer; box-shadow: 0 14px 26px -18px rgba(40, 50, 90, .55);
}
.tarea .icono { width: 58px; height: 58px; border-radius: 19px; display: grid; place-items: center; font-size: 1.9rem; background: linear-gradient(145deg, #fff3e2, #ffe0c8); }
.tarea[data-ej="pastillero"] .icono { background: linear-gradient(145deg, #e9efff, #d3dcff); }
.tarea[data-ej="secuencia"] .icono { background: linear-gradient(145deg, #e6f6ee, #cdeedd); }
.tarea .titulo { font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.tarea .sub { color: var(--ink-soft); font-size: .88rem; margin-top: 2px; }
.tarea .estado { font-weight: 800; font-size: 1rem; padding: 6px 12px; border-radius: 999px; background: rgba(26, 34, 51, .07); white-space: nowrap; }
.tarea[data-hecha="true"] { border-color: var(--ok); background: linear-gradient(160deg, #f1fbf5, #e4f6ec); }
.tarea[data-hecha="true"] .estado { background: var(--ok); color: #fff; }

/* ejercicios */
.cabecera-ej { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.puntos { display: flex; gap: 8px; }
.puntos i { width: 14px; height: 14px; border-radius: 50%; background: rgba(26, 34, 51, .16); }
.puntos i.hecho { background: var(--ok); }
.puntos i.actual { background: var(--primary); box-shadow: 0 0 0 4px rgba(44, 70, 144, .22); }
.enunciado { font-size: clamp(1.5rem, 4.4vw, 2.1rem); font-weight: 800; margin-top: 10px; }
.consigna { font-size: 1rem; color: var(--ink-soft); margin-top: 6px; }

/* dinero */
.total { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: 16px; font-size: 1.05rem; }
.total strong { font-size: clamp(1.9rem, 6vw, 2.6rem); }
.bandeja { min-height: 88px; display: flex; flex-wrap: wrap; gap: 10px; padding: 14px; margin-top: 12px; border-radius: 22px; border: 3px dashed rgba(26, 34, 51, .22); background: rgba(255, 255, 255, .55); align-content: flex-start; }
.dinero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.4rem), 1fr)); gap: 12px; }
.billete, .moneda {
    display: grid; place-items: center; font: inherit; font-weight: 800; color: #10151f; cursor: pointer; min-width: 0;
    transition: opacity .35s ease, transform .2s ease, box-shadow .2s ease;
}
.billete { min-height: 104px; border-radius: 16px; font-size: 1.25rem; padding: 10px; border: 3px solid rgba(16, 21, 31, .55);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 55%); box-shadow: 0 12px 22px -16px rgba(16, 21, 31, .7); }
.moneda { aspect-ratio: 1; width: min(100%, 8.5rem); justify-self: center; border-radius: 50%; font-size: 1.15rem; border: 4px solid rgba(16, 21, 31, .5);
    background-image: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 55%); box-shadow: 0 12px 22px -14px rgba(16, 21, 31, .7); }
.mini { min-height: 52px; min-width: 88px; padding: 6px 10px; font-size: .95rem; cursor: default; box-shadow: none; }
.mini.moneda { min-width: 0; width: 56px; font-size: .8rem; }
.b1000 { background-color: #bcd8ff; } .b2000 { background-color: #e0c9ff; } .b5000 { background-color: #ffc6c6; } .b10000 { background-color: #bff0c8; } .b20000 { background-color: #ffd9a8; }
.m100 { background-color: #dfe2e8; } .m500 { background-color: #f1d98a; }

/* pastillero */
.receta { display: grid; gap: 10px; padding: 14px 16px; margin-top: 12px; border-radius: 20px; background: rgba(255, 255, 255, .7); border: 2px solid var(--line); }
.pastilla { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.05rem; }
.bolita { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(16, 21, 31, .5); display: inline-block; flex: 0 0 auto; }
.casillero { min-height: 116px; flex-direction: column; font-size: 1.15rem; }
.casillero .puestas { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; min-height: 34px; }

/* secuencia */
.tarjetas { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.tarjeta { display: flex; align-items: center; gap: 14px; text-align: left; min-height: 88px; justify-content: flex-start; }
.tarjeta .num { min-width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 800; font-size: 1.2rem; }
.tarjeta[data-puesta="true"] { border-color: var(--ok); background: linear-gradient(160deg, #f1fbf5, #e4f6ec); }

/* aprendizaje sin error */
.atenuar { opacity: .28; transform: scale(.97); }
.resaltar { border-color: var(--ok) !important; box-shadow: 0 0 0 7px rgba(31, 107, 69, .32), 0 16px 30px -12px rgba(31, 107, 69, .45) !important; opacity: 1 !important; }

/* respiración */
.respira { display: grid; place-items: center; padding: 18px 0; }
.circulo { width: min(64vw, 300px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 14px; font-size: 1.35rem; font-weight: 800; color: #fff;
    background: radial-gradient(circle at 35% 28%, #6fc7b4, var(--calm)); box-shadow: 0 30px 60px -20px rgba(29, 106, 92, .6), inset 0 2px 0 rgba(255, 255, 255, .35); transition: transform 4s ease-in-out; }
.circulo[data-fase="inhala"] { transform: scale(1.12); }
.circulo[data-fase="exhala"] { transform: scale(.88); }
@media (prefers-reduced-motion: reduce) { .circulo, .btn, .billete, .moneda { transition: none; } body::before { animation: none; } }

/* racha */
.semana { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.semana span { text-align: center; font-weight: 800; font-size: .85rem; }
.semana span i { display: block; width: 100%; aspect-ratio: 1; max-width: 42px; margin: 6px auto 0; border-radius: 50%; border: 3px solid var(--line); }
.semana span i.hecho { background: var(--ok); border-color: var(--ok); }

/* PIN */
.pin { display: flex; justify-content: center; gap: 16px; margin: 14px 0 6px; }
.pin i { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--ink); }
.pin i.lleno { background: var(--ink); }
.teclado { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.teclado .btn { min-height: 78px; font-size: 1.7rem; padding: 8px; }
.aviso { padding: 14px 16px; margin-top: 12px; border-radius: 18px; background: #fff3d6; border: 2px solid #e0b24a; font-weight: 700; }

/* ajustes */
.vista-previa { margin-top: 14px; padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .75); border: 2px dashed var(--line); font-size: 1rem; }

/* diálogo propio (sin alert/confirm nativos) */
.velo { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 18px; background: rgba(20, 25, 40, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dialogo { width: min(560px, 100%); background: #fff; border-radius: var(--radius); padding: var(--pad); display: grid; gap: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }

@media (forced-colors: active) { .vidrio, .btn, .opcion, .tarea { border: 2px solid CanvasText; } }

/* ─────── inicio rediseñado ─────── */
.barra { padding: 8px 12px; }
.circular { width: 60px; min-width: 60px; padding: 0; border-radius: 50%; }
.heroe { padding: clamp(14px, 3.4vw, 22px); }
.heroe .fila-heroe { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; position: relative; z-index: 1; }
.saludo-nombre { font-size: clamp(1.7rem, 7.4vw, 2.5rem); margin-top: 2px; }
.mensaje { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 16px; border-radius: 24px; }
.mensaje .avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #e9efff, #cfd9ff); font-size: 1.3rem; }
.mensaje p { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mensaje .de { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.panel-rutina { display: grid; gap: 14px; }
.cabeza-rutina { display: flex; align-items: center; gap: 16px; }
.cabeza-rutina .anillo { width: clamp(78px, 22vw, 96px); height: clamp(78px, 22vw, 96px); }
.anillo .pista { fill: none; stroke: rgba(26, 34, 51, .12); stroke-width: 9; }
.anillo .avance { fill: none; stroke: url(#grad-anillo); stroke-width: 9; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1s cubic-bezier(.2, .8, .2, 1); }
.siguiente { min-height: 84px; font-size: 1.15rem; border-radius: 26px; gap: 14px; justify-content: space-between; padding: 12px 20px; }
.siguiente .ico { font-size: 1.7rem; }
.siguiente .flecha { font-size: 1.6rem; margin-left: auto; }
.mini-tareas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini-tarea { display: grid; justify-items: center; gap: 4px; padding: 10px 6px; min-height: 84px; border-radius: 22px; border: 2px solid var(--line); background: var(--glass-strong); color: var(--ink); font: inherit; cursor: pointer; text-align: center; }
.mini-tarea .ic { font-size: 1.7rem; line-height: 1; }
.mini-tarea .tx { font-size: .78rem; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.mini-tarea[data-hecha="true"] { border-color: var(--ok); background: linear-gradient(160deg, #f1fbf5, #e4f6ec); }
.mini-tarea[data-hecha="true"] .tx::after { content: " ✔"; color: var(--ok); }

/* check-in en pasos de un toque */
.paso-checkin { display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; min-height: 0; }
.paso-checkin .opcion { flex: 1 1 0; min-height: 0; grid-template-columns: auto minmax(0, 1fr); justify-items: start; padding: 10px 22px; gap: 18px; font-size: 1.2rem; text-align: left; align-content: center; }
.paso-checkin .opcion .cara { font-size: clamp(2.4rem, 9dvh, 3.6rem); }
.opcion:active { animation: pulso .3s ease; }
.omitir { background: transparent; border: 0; box-shadow: none; text-decoration: underline; min-height: 58px; color: var(--ink-soft); }

/* ejercicios compactos */
.cabecera-ej { flex-wrap: nowrap; }
.enunciado { font-size: clamp(1.35rem, 6vw, 2rem); margin-top: 2px; }
.total { margin-top: 0; }
.bandeja { min-height: 66px; padding: 10px; margin-top: 0; }
.relleno.dinero { grid-auto-rows: minmax(0, 1fr); align-content: stretch; }
.relleno.dinero .billete { min-height: 0; height: 100%; }
.relleno.dinero .moneda { height: auto; max-height: 100%; }
.fila-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fila-3.relleno { grid-auto-rows: minmax(0, 1fr); }
.fila-3 .casillero { min-height: 0; height: 100%; padding: 8px 4px; font-size: 1rem; }
.tarjetas.relleno { display: grid; grid-auto-rows: minmax(64px, 1fr); }
.tarjeta { min-height: 0; padding: 8px 16px; font-size: 1.05rem; }
.puesto { animation: pulso .45s ease; }
.billete:active, .moneda:active { transform: scale(.96); }
@media (max-height: 700px) { .heroe::after { display: none; } .siguiente { min-height: 72px; } .mini-tarea { min-height: 72px; } }

/* ajustes finos tras revisión visual */
h1[tabindex="-1"]:focus, h1[tabindex="-1"]:focus-visible { outline: none; }
.relleno.dinero .moneda { width: min(100%, 8rem); height: auto; aspect-ratio: 1; align-self: center; justify-self: center; max-height: 100%; }
.relleno.dinero .billete { align-self: stretch; }
.mini-tarea .tx { overflow-wrap: break-word; word-break: normal; hyphens: auto; font-size: .8rem; }
.zona-quitar { display: flex; gap: 10px; align-items: stretch; margin-top: 10px; }
.zona-quitar .bandeja { flex: 1 1 auto; margin: 0; min-height: 60px; }
.zona-quitar .btn { align-self: stretch; width: auto; white-space: normal; }
html[data-texto="enorme"] .mini-tareas { display: none; }
html[data-texto="enorme"] .mensaje p { -webkit-line-clamp: 2; }
.ajustes .opcion { min-height: 88px; padding: 8px 6px; gap: 2px; }
.ajustes .fila--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ajustes .btn { min-height: 64px; font-size: .95rem; padding: 10px 14px; }
.ajustes .vista-previa { margin-top: 10px; padding: 10px 14px; }

/* compactación del inicio y monedas redondas */
.relleno.dinero .moneda { width: auto; height: min(100%, 7.4rem); aspect-ratio: 1; max-height: none; max-width: 100%; }
.frase-fecha { margin-top: 6px; font-size: 1.02rem; }
.heroe .saludo-nombre { margin-top: 0; }
html[data-texto="grande"] .mini-tareas, html[data-texto="enorme"] .mini-tareas { display: none; }
html[data-texto="grande"] .cabeza-rutina .fecha, html[data-texto="enorme"] .cabeza-rutina .fecha { display: none; }
html[data-texto="grande"] .mensaje p, html[data-texto="enorme"] .mensaje p { -webkit-line-clamp: 2; }
html[data-texto="grande"] .cabeza-rutina .anillo, html[data-texto="enorme"] .cabeza-rutina .anillo { width: 68px; height: 68px; }
html[data-texto="grande"] .saludo-nombre, html[data-texto="enorme"] .saludo-nombre { font-size: clamp(1.5rem, 6.2vw, 2rem); }
.panel-rutina { gap: 10px; }
.cabeza-rutina .anillo { width: clamp(64px, 17vw, 84px); height: clamp(64px, 17vw, 84px); }
.heroe::after { width: 150px; height: 150px; right: -34px; top: -34px; }

/* ─────── ilustraciones, billetes reales y piezas nuevas ─────── */
.i { width: 1em; height: 1em; display: block; }
.ico { display: inline-flex; align-items: center; justify-content: center; }
.heroe::after { display: none; }
.heroe { overflow: hidden; }
.heroe .ilu { position: absolute; inset: 0 0 0 auto; width: 54%; opacity: .9; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.heroe .ilu svg, .escena { width: 100%; height: 100%; display: block; }
.heroe > *:not(.ilu) { position: relative; z-index: 1; }

/* billetes y monedas SVG */
.billete, .moneda { background: none !important; border: 0 !important; padding: 0; box-shadow: none; filter: drop-shadow(0 10px 14px rgba(16, 21, 31, .28)); }
.billete { min-height: 0; border-radius: 12px; display: block; }
.billete .billete-svg, .moneda .moneda-svg { width: 100%; height: auto; display: block; }
.moneda { width: min(100%, 7.4rem); justify-self: center; aspect-ratio: 1; }
.moneda .moneda-svg { height: 100%; }
.relleno.dinero .billete { height: auto; align-self: center; }
.relleno.dinero .moneda { height: min(100%, 7.4rem); width: auto; }
.mini.billete { width: 92px; min-width: 0; min-height: 0; padding: 0; }
.mini.moneda { width: 54px; min-width: 0; }
.billete.atenuar, .moneda.atenuar { filter: grayscale(.7) drop-shadow(0 4px 6px rgba(16, 21, 31, .15)); }
.billete.resaltar, .moneda.resaltar { border-radius: 14px; }
.puesto { animation: pop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.chispa { position: fixed; z-index: 90; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; pointer-events: none; animation: chispa .7s ease-out forwards; }
@keyframes chispa { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .puesto, .chispa, .sonando, .caminante { animation: none !important; transition: none !important; } }

/* caras */
.cara-svg { width: clamp(52px, 9dvh, 72px); height: auto; display: block; }
.paso-checkin .opcion .cara { font-size: 0; }

/* mensaje de familia */
.mensaje-familia { justify-content: flex-start; gap: 14px; min-height: 76px; border-radius: 26px; }
.mensaje-familia .avatar, .mensaje .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #ffe9d6, #ffd0b0); color: #8a3d12; flex: 0 0 auto; }
.mensaje-familia .flecha { margin-left: auto; }
.postal { display: grid; gap: 10px; padding: 12px; }
.postal img { width: 100%; max-height: 38dvh; object-fit: cover; border-radius: 18px; border: 6px solid #fff; box-shadow: 0 14px 28px -16px rgba(40, 50, 90, .6); }
.postal audio { width: 100%; height: 56px; }
.postal .texto-postal { font-size: 1.1rem; font-weight: 700; }

/* estafas */
.llamada-entrante { text-align: center; display: grid; gap: 8px; justify-items: center; }
.llamada-entrante .cabecera-ej { width: 100%; }
.ilu-llamada { width: clamp(72px, 14dvh, 110px); }
.ilu-llamada svg { width: 100%; height: auto; display: block; }
.sonando circle:first-child { animation: late 1.6s ease-in-out infinite; transform-origin: 60px 60px; }
@keyframes late { 0%, 100% { transform: scale(.92); opacity: .5; } 50% { transform: scale(1.05); opacity: .8; } }
.dice { font-size: 1.12rem; font-weight: 700; line-height: 1.35; }
.opcion-llamada { min-height: 0; flex: 1 1 0; font-size: 1.15rem; border-radius: 26px; }

/* mi barrio */
.mapa { position: relative; border-radius: 28px; overflow: hidden; border: 2px solid rgba(255, 255, 255, .9); min-height: 240px;
    background:
        linear-gradient(90deg, transparent 47%, rgba(255, 255, 255, .75) 47% 53%, transparent 53%),
        linear-gradient(0deg, transparent 47%, rgba(255, 255, 255, .75) 47% 53%, transparent 53%),
        linear-gradient(160deg, #d9efd8, #c8e6d9 55%, #e3f1cf); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), 0 18px 30px -22px rgba(40, 60, 50, .6); }
.lugar { position: absolute; transform: translate(-50%, -50%); width: clamp(76px, 22vw, 108px); aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 2px; padding: 6px;
    border-radius: 24px; border: 3px solid var(--line); background: var(--glass-strong); color: var(--ink); font: inherit; cursor: pointer; box-shadow: 0 14px 22px -14px rgba(20, 40, 30, .7); }
.lugar .nm { font-size: .78rem; font-weight: 800; line-height: 1.1; text-align: center; }
.lugar.visitado { border-color: var(--ok); background: linear-gradient(160deg, #f1fbf5, #e4f6ec); }
.caminante { position: absolute; transform: translate(-50%, -50%); font-size: 26px; line-height: 1; color: var(--primary); text-shadow: 0 4px 10px rgba(44, 70, 144, .55); transition: left .8s ease, top .8s ease; pointer-events: none; }

/* consultorio */
.consultorio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 12px; }
.tile-ej { flex-direction: column; min-height: 0; height: 100%; border-radius: 26px; font-size: 1rem; }

/* familia */
.muro h2 { margin-bottom: 8px; }
.medallas { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.4rem, 1fr)); gap: 10px; }
.medalla { display: grid; justify-items: center; gap: 4px; padding: 10px 6px; border-radius: 20px; border: 2px solid var(--line); background: rgba(255, 255, 255, .7); text-align: center; color: #9aa3b5; }
.medalla small { font-size: .74rem; font-weight: 800; line-height: 1.15; color: var(--ink-soft); }
.medalla[data-logrado="true"] { border-color: var(--gold); background: linear-gradient(160deg, #fff7df, #ffeab0); color: var(--gold); }
.privacidad { font-size: .85rem; color: var(--ink-soft); text-align: center; padding: 0 8px; }
.campo { width: 100%; min-height: 60px; margin-top: 12px; padding: 12px 16px; border-radius: 18px; border: 2px solid var(--line); background: #fff; font: inherit; color: var(--ink); }
.vista-foto { margin-top: 12px; min-height: 140px; display: grid; place-items: center; border: 3px dashed var(--line); border-radius: 22px; padding: 10px; text-align: center; }
.vista-foto img { max-width: 100%; max-height: 32dvh; border-radius: 14px; }
.zona-grabar { display: grid; place-items: center; margin: 14px 0; }
.btn--grabar { width: 112px; height: 112px; min-height: 0; border-radius: 50%; background: linear-gradient(135deg, #5b7ad6, #2c4690); color: #fff; border: 0; }
.btn--grabar.grabando { background: linear-gradient(135deg, #e0626f, #a83a46); animation: late 1.2s ease-in-out infinite; }
.vista-audio audio { width: 100%; margin-top: 8px; }
.cl-q { border: 0; padding: 0; margin: 14px 0 0; }
.cl-q legend { font-weight: 800; margin-bottom: 8px; }
.fin { display: grid; align-content: center; justify-items: center; text-align: center; gap: 6px; }
.fin .flor { width: 120px; }
.fin .flor svg { width: 100%; height: auto; }
.respira .circulo { animation: respira-quieto 6s ease-in-out infinite; }
@keyframes respira-quieto { 0%, 100% { box-shadow: 0 30px 60px -20px rgba(29, 106, 92, .5); } 50% { box-shadow: 0 30px 80px -10px rgba(29, 106, 92, .8); } }

/* la ilustración no debe restar contraste al texto */
.heroe .ilu { opacity: .34; width: 46%; }
html[data-franja="noche"] .heroe .ilu { opacity: .26; }

/* ─────── imágenes generadas: contenedores ─────── */
.ilu img { width: 100%; height: 100%; object-fit: cover; display: block; }
.con-ilu { position: relative; overflow: hidden; }
.con-ilu > *:not(.ilu) { position: relative; z-index: 1; }
.con-ilu > .ilu { position: absolute; inset: 0 0 0 auto; width: 52%; opacity: .5; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%); mask-image: linear-gradient(90deg, transparent, #000 55%); }
.heroe .ilu { opacity: .62; }
html[data-franja="noche"] .heroe .ilu { opacity: .5; }
.fin .flor { width: min(46vw, 190px); aspect-ratio: 1; }
.fin .flor img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px 34px 100px 34px; box-shadow: 0 22px 40px -22px rgba(60, 50, 120, .6); }
.postal { background: url('/menteviva/img/postal.webp') center / cover no-repeat, #fbf3e4; padding: 22px; }
.postal img { border-width: 8px; }

/* el check-in debe caber en pantallas de 844 px de alto incluso con textos largos */
.pantalla { gap: clamp(8px, 1.5dvh, 14px); }
.paso-checkin .opcion { padding: 8px 18px; font-size: 1.1rem; gap: 14px; }
.paso-checkin .opcion .cara-svg { width: clamp(46px, 8dvh, 64px); }
.paso-checkin { gap: 10px; }
.omitir { min-height: 56px; }

/* ─────── corrección tras revisión en pantalla ─────── */
/* la ilustración del ejercicio es una miniatura: nunca debe tapar montos ni botones */
.con-ilu > .ilu { inset: auto; top: 12px; right: 86px; left: auto; width: 58px; height: 58px; opacity: 1; border-radius: 18px; overflow: hidden;
    -webkit-mask-image: none; mask-image: none; box-shadow: 0 10px 18px -12px rgba(40, 50, 90, .7); border: 2px solid rgba(255, 255, 255, .95); }
.heroe .ilu { width: 40%; opacity: .5; }
/* billetes: llenan su celda y se leen de un vistazo */
.billete .billete-svg { width: 100%; height: auto; }
.relleno.dinero .billete { align-self: center; width: 100%; }
.dinero { align-content: space-evenly; }
/* ajustes: las etiquetas no se parten a ningún tamaño */
.ajustes .opcion { font-size: 15px; line-height: 1.15; word-break: keep-all; overflow-wrap: normal; hyphens: manual; padding: 8px 4px; }
.ajustes .opcion .cara { line-height: 1; }
@media (max-width: 360px) { .ajustes .opcion { font-size: 13.5px; } }
/* texto «muy grande»: títulos y cifras se contienen para que todo siga cabiendo */
html[data-texto="enorme"] .enunciado { font-size: clamp(1.25rem, 5.4vw, 1.7rem); }
html[data-texto="enorme"] .total strong { font-size: clamp(1.7rem, 7vw, 2.2rem); }
html[data-texto="enorme"] .btn { padding: 10px 14px; }
html[data-texto="enorme"] .siguiente { font-size: 1.05rem; }
html[data-texto="enorme"] .bandeja { min-height: 54px; }
html[data-texto="enorme"] .consigna, html[data-texto="enorme"] .fecha { font-size: .92rem; }
html[data-texto="enorme"] .pantalla { gap: 8px; }
html[data-texto="enorme"] .vidrio { padding: 14px; }
html[data-texto="enorme"] .opcion { min-height: 0; }
html[data-texto="enorme"] .tarjeta { padding: 6px 12px; font-size: .98rem; }

/* casilleros del pastillero: la etiqueta no se parte a ningún tamaño de texto */
.casillero { font-size: 15px; line-height: 1.15; word-break: keep-all; overflow-wrap: normal; }
.casillero .ico { font-size: 2rem !important; }
html[data-texto="enorme"] .ajustes .btn { min-height: 56px; padding: 8px 12px; font-size: .92rem; }
html[data-texto="enorme"] .ajustes .vista-previa { margin-top: 8px; padding: 8px 12px; }
html[data-texto="enorme"] .ajustes h1 { font-size: 1.5rem; }
html[data-texto="enorme"] .ajustes h2 { margin-top: 8px !important; }

/* ─────── textos completos, respiración y mapa del barrio ─────── */
.mensaje p, html[data-texto="grande"] .mensaje p, html[data-texto="enorme"] .mensaje p { display: block; -webkit-line-clamp: unset; overflow: visible; }
.mini-tareas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini-tarea { min-height: 74px; }
.mini-tarea .tx { font-size: .74rem; }

.heroe.compacto { padding: 12px 18px; }
.heroe.compacto .saludo-nombre { font-size: clamp(1.4rem, 6vw, 1.9rem); }
.respira-card { display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; position: relative; overflow: hidden; }
.respira-card .circulo { position: relative; z-index: 2; width: min(58vw, 250px); gap: 2px; align-content: center; }
.circulo .fase-txt { font-size: clamp(1.3rem, 6vw, 1.7rem); font-weight: 800; letter-spacing: .02em; }
.circulo .cuenta { font-size: clamp(3rem, 15vw, 4.6rem); font-weight: 800; line-height: 1; min-height: 1em; font-variant-numeric: tabular-nums; }
.halo { position: absolute; left: 50%; top: 42%; width: min(58vw, 250px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; z-index: 1; }
.halo i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(31, 107, 95, .35); animation: onda 4s ease-out infinite; }
.halo i:nth-child(2) { animation-delay: 1.3s; } .halo i:nth-child(3) { animation-delay: 2.6s; }
@keyframes onda { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.ciclos { justify-content: center; margin-top: 4px; }
.msg-final { font-size: clamp(1.25rem, 5vw, 1.6rem); margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .halo i { animation: none; opacity: .35; } }

.mapa { background: linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .28)), url('/menteviva/img/mapa-barrio.webp') center / cover no-repeat, #d9efd8; }
.mapa .ruta { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lugar { width: clamp(84px, 24vw, 116px); border-radius: 26px; background: rgba(255, 255, 255, .96); border: 3px solid #fff; box-shadow: 0 16px 24px -14px rgba(20, 40, 30, .8), 0 0 0 2px rgba(44, 70, 144, .18); }
.lugar .ic { color: var(--primary); }
.lugar .nm { font-size: .84rem; }
.lugar .orden { position: absolute; top: -10px; right: -10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-weight: 800; font-size: .95rem; }
.lugar.visitado { background: linear-gradient(160deg, #f1fbf5, #dff3e7); border-color: var(--ok); }
.caminante { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; box-shadow: 0 8px 16px -6px rgba(44, 70, 144, .8); z-index: 3; }
.ahora-ve { margin-top: 8px; font-size: 1.1rem; font-weight: 800; }
.ahora-ve .etiqueta { margin-right: 6px; }

/* pulido final: saludo sin ruido, etiquetas del mapa y aro de respiración centrado */
.heroe .ilu { inset: 0 0 auto auto; height: 62%; width: 46%; }
.lugar { width: clamp(92px, 26vw, 124px); padding: 6px 4px; }
.lugar .nm { font-size: .78rem; letter-spacing: -.01em; white-space: nowrap; }
.aro { position: relative; display: grid; place-items: center; width: min(68vw, 300px); aspect-ratio: 1; }
.aro .halo { inset: 0; left: auto; top: auto; transform: none; width: 100%; height: 100%; }
.aro .circulo { width: 78%; }

/* preguntas iniciales: cada opción lleva su ilustración */
.paso-checkin .opcion.con-foto {
    position: relative; overflow: hidden; align-items: center; align-content: center; justify-items: start; grid-template-columns: auto minmax(0, 1fr);
    background: linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .95) 55%, rgba(255, 255, 255, .5) 82%, rgba(255, 255, 255, 0) 100%), var(--img) right center / cover no-repeat, #fff;
    font-size: 1.28rem; padding: 10px 22px;
}
.paso-checkin .opcion.con-foto[aria-pressed="true"], .paso-checkin .opcion.con-foto:active { box-shadow: 0 0 0 5px rgba(44, 70, 144, .25); }
.paso-checkin .opcion.con-foto .cara { z-index: 1; }
/* etiquetas del mapa: caben siempre dentro de su baldosa */
.lugar { width: clamp(104px, 29vw, 134px); }
.lugar .nm { font-size: .78rem; max-width: 100%; overflow: hidden; text-overflow: clip; }
@media (min-width: 700px) { .lugar { width: 140px; } .lugar .nm { font-size: .8rem; } }

/* ─────── v11: sin parpadeo, transiciones suaves, destacado sin recortes, bandeja agrupada ─────── */
/* holgura para que el anillo de ayuda nunca se corte con el borde de la pantalla */
.pantalla { padding: 10px; margin: -10px; }
.resaltar { border-color: var(--ok) !important; opacity: 1 !important;
    box-shadow: 0 0 0 3px #fff, 0 0 0 7px var(--ok), 0 14px 24px -14px rgba(31, 107, 69, .55) !important; transition: box-shadow .25s ease, opacity .25s ease; }
.billete.resaltar { border-radius: 10px; }
.moneda.resaltar { border-radius: 50%; }
.atenuar { opacity: .32; transform: none; transition: opacity .3s ease; }
/* repintar un paso del mismo ejercicio no vuelve a animar ni a «parpadear» */
.pantalla.mismo, .pantalla.mismo > * { animation: none !important; }
/* salida y logro */
@keyframes sale { to { opacity: 0; transform: translateY(-10px) scale(.985); } }
.pantalla.saliendo { animation: sale .38s ease both !important; pointer-events: none; }
.pantalla.logrado { pointer-events: none; }
.pantalla.logrado .vidrio:not(.barra) { box-shadow: 0 0 0 4px rgba(31, 107, 69, .35), 0 22px 50px -18px rgba(31, 107, 69, .4); transition: box-shadow .35s ease; }
.acierto { box-shadow: 0 0 0 4px rgba(31, 107, 69, .4), 0 22px 50px -18px rgba(31, 107, 69, .45) !important; transition: box-shadow .3s ease; }
.acierto .total strong { color: var(--ok); }
.acierto::after { content: "✔"; position: absolute; right: 18px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--ok); color: #fff;
    display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
/* dinero: billetes en 2 columnas, monedas en una fila; todo cabe sin recortarse */
.dinero.relleno { display: flex; flex-direction: column; justify-content: space-evenly; gap: 10px; padding: 8px 6px; overflow: visible; }
.dinero .grupo-billetes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; align-items: center; }
.dinero .grupo-monedas { display: flex; justify-content: center; gap: clamp(12px, 5vw, 26px); flex-wrap: wrap; }
.dinero .grupo-billetes .billete { width: 100%; height: auto; }
.dinero .grupo-monedas .moneda { width: clamp(64px, 17dvh, 96px); height: auto; aspect-ratio: 1; }
.billete:disabled, .moneda:disabled { opacity: .55; cursor: default; }
.billete, .moneda { transition: opacity .3s ease, transform .15s ease, filter .2s ease; }
/* bandeja agrupada */
.zona-quitar { align-items: center; }
.zona-quitar .btn { white-space: nowrap; overflow-wrap: normal; flex: 0 0 auto; gap: 8px; }
.bandeja { flex: 1 1 0; min-width: 0; flex-wrap: nowrap; overflow: hidden; align-items: center; gap: 12px; min-height: 64px; max-height: 76px; }
.grupo-puesto { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; }
.grupo-puesto .cant { position: absolute; right: -8px; top: -9px; min-width: 30px; height: 26px; padding: 0 7px; border-radius: 13px; background: var(--primary); color: #fff;
    font-size: .9rem; display: grid; place-items: center; border: 2px solid #fff; font-variant-numeric: tabular-nums; }
.grupo-puesto .mini.billete { width: 72px; }
.grupo-puesto .mini.moneda { width: 44px; }
.vacia-txt { color: var(--muted, #5c6577); font-size: .92rem; font-weight: 600; }
/* solo lo recién colocado se anima; sin crecer fuera de la pantalla */
.puesto { animation: none; }
.nuevo { animation: asienta .38s cubic-bezier(.2, .9, .3, 1) both; }
.puesto.nuevo, .grupo-puesto.nuevo { animation: asienta .38s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes asienta { from { opacity: .4; transform: translateY(-6px) scale(.94); } to { opacity: 1; transform: none; } }
.tarjetas, .fila-3 { overflow: visible; }
.tarjeta .btn, .tarjeta { transform-origin: center; }
/* iconos: fichas suaves y trazo más firme */
.btn .ico, .opcion-llamada .ico { width: 1.9em; height: 1.9em; border-radius: 14px; background: rgba(44, 70, 144, .1); color: var(--primary); flex: 0 0 auto; }
.btn--primario .ico { background: rgba(255, 255, 255, .22); color: #fff; }
.btn--chico .ico { width: 1.6em; height: 1.6em; border-radius: 12px; }
.i path, .i circle, .i rect, .i ellipse { stroke-width: 2.4; }
.cabecera-ej .btn, .cabecera-ej button { box-shadow: 0 10px 20px -12px rgba(40, 50, 90, .55); }
.cabecera-ej .ico { background: none; }
@media (prefers-reduced-motion: reduce) { .nuevo, .acierto::after, .pantalla.saliendo { animation: none !important; } }

/* rostros ilustrados */
.cara-img { width: clamp(52px, 9dvh, 72px); height: clamp(52px, 9dvh, 72px); display: block; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(60, 50, 120, .28)); }
.paso-checkin .opcion .cara { flex: 0 0 auto; display: grid; place-items: center; }

.barra .ico, .btn-redondo .ico, button[aria-label] > .ico { background: none; width: auto; height: auto; }

/* v14: textos que no se parten ni se recortan */
.siguiente { text-align: left; overflow-wrap: break-word; }
.siguiente > span:not(.ico):not(.flecha) { flex: 1 1 0; min-width: 0; overflow-wrap: normal; word-break: normal; hyphens: none; }
.siguiente .ico { width: 44px; height: 44px; font-size: 1.5rem; }
.vacia-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .85rem; max-width: 100%; }
.bandeja { overflow: hidden; }

/* ═════════ v15: motor de escenas (30 días sin repetir) ═════════ */
img.obj { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; -webkit-user-drag: none; user-select: none; filter: drop-shadow(0 6px 8px rgba(60, 50, 120, .22)); }
img.obj.grande { max-width: 120px; max-height: 120px; }
img.obj.mini-obj { width: 34px; height: 34px; flex: 0 0 auto; }
.opciones { display: grid; gap: 10px; align-content: stretch; grid-auto-rows: minmax(0, 1fr); padding: 6px; }
.opciones.cols-1 { grid-template-columns: minmax(0, 1fr); }
.opciones.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opciones.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opciones.cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.opc { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 0; padding: 8px 6px;
    border-radius: 22px; border: 2px solid var(--line); background: var(--glass-strong); color: var(--ink); font: inherit; font-weight: 800; line-height: 1.15; cursor: pointer; text-align: center;
    box-shadow: 0 8px 18px -12px rgba(40, 50, 90, .5); -webkit-tap-highlight-color: transparent; transition: transform .14s ease, opacity .3s ease, box-shadow .2s ease, border-color .2s ease; }
.opc:active { transform: scale(.97); }
.opc .nm { font-size: .95rem; overflow-wrap: break-word; word-break: normal; hyphens: manual; max-width: 100%; }
.opc > img.obj { flex: 1 1 0; min-height: 0; width: auto; max-width: 78%; }
.opc.vacio { visibility: hidden; border: 0; box-shadow: none; }
.opc.elegida { border-color: var(--ok); background: linear-gradient(160deg, #f1fbf5, #e4f6ec); opacity: 1; animation: asienta .35s cubic-bezier(.2, .9, .3, 1) both; }
.opc.elegida::after { content: "✔"; position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: .95rem; }
.opc:disabled { cursor: default; }
.opc:disabled:not(.elegida) { opacity: .6; }
.opciones.compacto .opc .nm { font-size: .82rem; }
.opciones.textos .opc, .opciones.decide .opc { flex-direction: row; justify-content: flex-start; text-align: left; padding: 10px 16px; font-size: 1.1rem; }
.opciones.decide .opc.si { background: linear-gradient(135deg, #3f9e6c, var(--ok)); color: #fff; border-color: transparent; }
.opciones.decide .opc.no { background: linear-gradient(135deg, #8a95b5, #5c6a94); color: #fff; border-color: transparent; }
.opciones.montos .opc .monto { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.opc.hoy { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(75, 99, 184, .25); }
.opciones.calendario .opc { padding: 2px; border-radius: 12px; font-size: 1.05rem; }
.opciones.calendario { grid-auto-rows: minmax(36px, 1fr); }
.cal-cab { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; padding: 8px 6px 0; font-weight: 800; text-align: center; color: var(--muted, #5c6577); }
/* teclado gigante (emergencia / cajero) */
.opciones.teclado-emerg { grid-auto-rows: minmax(0, 1fr); padding: 6px 12px; }
.opc.tecla { font-size: 2rem; border-radius: 24px; font-variant-numeric: tabular-nums; }
.visor-wrap { margin-top: 8px; display: flex; justify-content: center; }
.visor { min-width: 160px; text-align: center; padding: 6px 18px; border-radius: 16px; background: #10151f; color: #8ff0c2; font-size: 2rem; letter-spacing: .25em; font-variant-numeric: tabular-nums; }
/* boleta */
.opciones.boleta { background: #fffdf7; border-radius: 22px; padding: 10px; border: 2px dashed var(--line); gap: 6px; }
.opciones.boleta .opc { flex-direction: row; justify-content: space-between; border-radius: 14px; padding: 10px 14px; background: #fff; }
.fila-boleta { display: flex; justify-content: space-between; align-items: baseline; width: 100%; gap: 10px; }
.fila-boleta .tt { font-size: .95rem; color: var(--muted, #5c6577); text-align: left; }
.fila-boleta .vv { font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.fila-boleta.total .tt { color: var(--ink); font-weight: 800; }
.fila-boleta.total .vv { font-size: 1.5rem; }
/* llaves, cajas, tótem, contactos */
.opciones.llaves .opc { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 8px 16px; }
.llave { display: flex; align-items: center; gap: 14px; width: 100%; }
.llave-svg { width: 96px; height: 52px; flex: 0 0 auto; }
.opciones.cajas .opc { padding: 6px 10px; }
.caja-med { display: flex; flex-direction: column; width: 100%; border-radius: 14px; overflow: hidden; border: 2px solid #1f2433; background: #fff; }
.caja-med .banda { padding: 6px 10px; color: #fff; font-size: 1.15rem; text-align: left; }
.caja-med .cuerpo { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 10px; font-size: 1rem; }
.caja-med small { font-size: .85rem; font-weight: 700; }
.fila-totem { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
.fila-totem small { color: var(--muted, #5c6577); font-weight: 600; }
.ticket-ejemplo { display: none; }
.opciones.agenda .contacto { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
.avatar-img { width: clamp(56px, 11dvh, 92px); height: clamp(56px, 11dvh, 92px); border-radius: 50%; object-fit: cover; background: #e9e5ff; border: 3px solid #fff; box-shadow: 0 8px 16px -8px rgba(40, 50, 90, .55); }
.avatar-img.vacio { display: inline-grid; place-items: center; color: var(--primary); }
/* escena de clima, heladera, presupuesto, pesa, bip */
.clima-ic, .etiqueta-vence { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.clima-ic img.obj.grande { max-height: 64px; }
.etiqueta-vence { padding: 10px 14px; border-radius: 18px; background: #fff; border: 2px solid var(--line); }
.etiqueta-vence img.obj.grande { max-height: 74px; max-width: 74px; }
.etiqueta-vence b { display: block; font-size: 1.15rem; }
.etiqueta-vence .nm { font-size: .95rem; font-weight: 700; color: var(--muted, #5c6577); }
.prod { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; min-height: 0; }
.prod > img.obj { max-height: 58px; }
.prod.grande > img.obj { max-height: 110px; }
.prod .pr { font-size: .95rem; font-variant-numeric: tabular-nums; }
.tarjeta-svg, .perilla-svg, .llama-svg { width: 100%; max-width: 110px; height: auto; display: block; }
.presupuesto { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; padding: 6px 14px; border-radius: 16px; background: #eef7f1; border: 2px solid #bfe2cc; }
.presupuesto b { font-size: 1.5rem; font-variant-numeric: tabular-nums; color: var(--ok); }
.balanza { margin-top: 8px; display: flex; align-items: baseline; justify-content: space-between; padding: 8px 16px; border-radius: 16px; background: #10151f; color: #8ff0c2; }
.visor-pesa { font-size: 2rem; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.balanza small { color: #cfd6e8; font-size: .95rem; }
.tarjeta-bip { display: inline-flex; flex-direction: column; margin-top: 6px; padding: 8px 18px; border-radius: 16px; background: linear-gradient(135deg, #2f8f5b, #1d6e3f); color: #fff; }
.tarjeta-bip b { font-size: 1.7rem; font-variant-numeric: tabular-nums; }
/* cocina y gestos */
.opciones.cocina .quemador { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; }
.hornilla { height: 56px; width: 56px; border-radius: 50%; border: 5px solid #5c6577; background: #2b2f3c; display: grid; place-items: center; }
.hornilla .llama-svg { width: 34px; }
.zona-gesto { display: grid; place-items: center; align-content: center; gap: 12px; padding: 8px; touch-action: none; }
.dial-zona { display: grid; justify-items: center; gap: 12px; width: 100%; }
.dial { width: min(64vw, 40dvh, 280px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; touch-action: none; user-select: none; -webkit-user-select: none;
    background: radial-gradient(circle at 35% 30%, #fff, #e9ecf7); border: 4px solid #fff; box-shadow: 0 22px 40px -20px rgba(70, 60, 140, .5), inset 0 0 0 3px rgba(75, 99, 184, .18); }
.dial > * { width: 62%; height: 62%; display: grid; place-items: center; transition: none; }
.dial svg, .dial img { width: 100%; height: 100%; }
.dial-prog { width: min(64vw, 280px); height: 12px; border-radius: 8px; background: rgba(26, 34, 51, .12); overflow: hidden; }
.dial-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--ok)); transition: width .1s linear; }
.olla-zona { position: relative; display: grid; place-items: center; width: 100%; }
.olla-zona .olla-fondo { position: absolute; width: min(70vw, 44dvh, 320px); height: min(70vw, 44dvh, 320px); opacity: .55; }
.olla-zona .dial { background: transparent; border: 0; box-shadow: none; }
.olla-giro img { transform-origin: 50% 50%; }
.trazo-zona { width: 100%; display: grid; place-items: center; }
.trazo-svg { width: min(100%, 52dvh); aspect-ratio: 1; touch-action: none; background: rgba(255, 255, 255, .7); border-radius: 28px; border: 3px dashed var(--line); }
.trazo-svg .guia { stroke: #aab3d0; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 12; }
.trazo-svg .huella { stroke: var(--ok); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.trazo-svg .inicio { fill: var(--ok); stroke: #fff; stroke-width: 1.5; }
.trazo-svg .dedo-ayuda { fill: #ffb703; stroke: #fff; stroke-width: 1.5; }
.flor-zona { display: grid; justify-items: center; gap: 10px; width: 100%; }
.flor-tactil { position: relative; width: min(60vw, 36dvh, 250px); aspect-ratio: 1; touch-action: none; user-select: none; -webkit-user-select: none; cursor: pointer; border-radius: 50%; }
.flor-tactil .petalo { position: absolute; left: 50%; top: 50%; width: 34%; height: 46%; margin: -46% 0 0 -17%; border-radius: 50% 50% 46% 46%; transform-origin: 50% 100%;
    background: linear-gradient(180deg, #ffd0dc, #ff9fbc); transform: rotate(var(--r)) scale(.55); transition: transform 4s ease-in-out; box-shadow: inset 0 -6px 12px rgba(200, 80, 120, .25); }
.flor-tactil .centro { position: absolute; left: 50%; top: 50%; width: 26%; height: 26%; margin: -13% 0 0 -13%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe48a, #f2b705); }
.flor-tactil.abriendo .petalo { transform: rotate(var(--r)) scale(1.05) translateY(-6%); }
.flor-tactil.cerrando .petalo { transition-duration: 1.2s; }
.flor-txt { text-align: center; }
/* simulador de llamada real */
.llamada-cab { justify-content: center; }
.llamada-real { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 10px; padding: 22px 18px 20px; border-radius: 34px; overflow: hidden;
    color: #fff; background: linear-gradient(170deg, #1b2447 0%, #2b3a78 52%, #1a2b4f 100%); box-shadow: 0 30px 60px -28px rgba(20, 30, 70, .8); text-align: center; animation: aparece .4s ease both; }
.llamada-fondo { position: absolute; inset: 0; background: radial-gradient(circle at 50% 22%, rgba(255, 255, 255, .16), transparent 55%); pointer-events: none; }
.llamada-real > * { position: relative; }
.llamada-estado { font-size: 1rem; font-weight: 700; letter-spacing: .04em; color: #cfd8ff; font-variant-numeric: tabular-nums; }
.llamada-avatar { position: relative; width: clamp(110px, 24dvh, 170px); height: clamp(110px, 24dvh, 170px); display: grid; place-items: center; margin: 4px 0; }
.llamada-avatar i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); animation: onda-llamada 2.4s ease-out infinite; }
.llamada-avatar i:nth-child(2) { animation-delay: .8s; } .llamada-avatar i:nth-child(3) { animation-delay: 1.6s; }
.llamada-avatar .avatar-img { width: 100%; height: 100%; border: 4px solid rgba(255, 255, 255, .9); }
@keyframes onda-llamada { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.llamada-nombre { font-size: clamp(1.5rem, 7vw, 2.1rem); font-weight: 800; line-height: 1.1; overflow-wrap: anywhere; color: #fff; }
.llamada-sub { font-size: 1.05rem; color: #cfd8ff; font-variant-numeric: tabular-nums; }
.llamada-texto { font-size: 1.15rem; line-height: 1.3; font-weight: 700; padding: 12px 14px; border-radius: 20px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .25); }
.llamada-botones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(20px, 9vw, 54px); width: 100%; margin-top: auto; }
.redondo-llamada { display: grid; justify-items: center; gap: 8px; background: none; border: 0; color: #fff; font: inherit; font-weight: 800; font-size: .95rem; cursor: pointer; max-width: 40%; -webkit-tap-highlight-color: transparent; }
.redondo-llamada .disco { width: clamp(68px, 18vw, 84px); height: clamp(68px, 18vw, 84px); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 14px 24px -12px rgba(0, 0, 0, .6); transition: transform .15s ease, box-shadow .2s ease; }
.redondo-llamada.rojo .disco { background: linear-gradient(145deg, #ff6b61, #d93025); }
.redondo-llamada.rojo .disco svg { transform: rotate(135deg); }
.redondo-llamada.verde .disco { background: linear-gradient(145deg, #4fd88a, #1f9d57); }
.redondo-llamada.gris .disco { background: linear-gradient(145deg, #9aa3c4, #5c6a94); }
.redondo-llamada:active .disco { transform: scale(.94); }
.redondo-llamada.resaltar { box-shadow: none !important; }
.redondo-llamada.resaltar .disco { box-shadow: 0 0 0 4px #fff, 0 0 0 9px #7fe3a6, 0 14px 24px -12px rgba(0, 0, 0, .6); }
.redondo-llamada.atenuar { opacity: .35; }
.redondo-llamada .txt { max-width: 11ch; line-height: 1.15; }
/* secuencia multimodal */
.seq-lista { display: grid; gap: 10px; grid-auto-rows: minmax(64px, 1fr); align-content: stretch; padding: 6px; }
.seq-card { justify-content: flex-start; gap: 14px; min-height: 0; padding: 6px 14px; font-size: 1.05rem; text-align: left; }
.seq-card .seq-obj { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 16px; background: rgba(255, 255, 255, .8); padding: 4px; }
.seq-card.volando { animation: sube-seq .26s ease-in both; }
@keyframes sube-seq { to { transform: translateY(-34px) scale(.96); opacity: 0; } }
.seq-hechas { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.seq-hechas li { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 16px; background: #eef7f1; border: 2px solid #bfe2cc; font-weight: 800; font-size: .95rem; }
.seq-hechas li.nuevo { animation: entra-fila .4s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes entra-fila { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.seq-hechas .num { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.seq-hechas .tx { flex: 1 1 auto; min-width: 0; }
.seq-hechas .chk { color: var(--ok); }
.memoria { display: grid; justify-items: center; align-content: center; gap: 12px; width: 100%; }
.memoria .tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
/* agenda de la familia */
.contactos-lista { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.contacto-fila { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 20px; background: rgba(255, 255, 255, .8); border: 2px solid var(--line); }
.contacto-fila .avatar-img { width: 56px; height: 56px; flex: 0 0 auto; }
.cf-txt { flex: 1 1 auto; min-width: 0; display: grid; }
.cf-txt small { color: var(--muted, #5c6577); font-weight: 700; }
.vista-avatar { min-height: 110px; }
.vista-avatar .avatar-img { width: 110px; height: 110px; }
html[data-texto="enorme"] .opc .nm { font-size: .9rem; }
html[data-texto="enorme"] .opciones.textos .opc, html[data-texto="enorme"] .opciones.decide .opc { font-size: 1rem; }
@media (max-height: 700px) { .avatar-img { width: 54px; height: 54px; } .opc.tecla { font-size: 1.6rem; } }

/* ═════════ v16: botones redondos de verdad, dinero que cabe, letras legibles en móvil ═════════ */
.circular, .btn.circular { width: 64px; min-width: 64px; height: 64px; min-height: 64px; aspect-ratio: 1; padding: 0; border-radius: 50%; flex: 0 0 auto; display: inline-grid; place-items: center; }
.circular .ico, .btn.circular .ico { width: auto; height: auto; background: none; border-radius: 0; font-size: 1.7rem; }
.circular .i { width: 28px; height: 28px; }
/* dinero: todo cabe en la vista; las piezas se reparten el alto disponible */
.dinero.relleno { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 8px 6px; min-height: 0; overflow: hidden; }
.dinero .grupo-billetes { flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 10px 12px; align-content: center; align-items: center; }
.dinero .grupo-billetes .billete { width: 100%; height: 100%; max-height: 96px; display: grid; place-items: center; }
.dinero .grupo-billetes .billete .billete-svg { width: 100%; height: 100%; }
.dinero .grupo-monedas { flex: 0 0 auto; gap: clamp(14px, 6vw, 30px); }
.dinero .grupo-monedas .moneda { width: clamp(58px, 12dvh, 90px); height: clamp(58px, 12dvh, 90px); }
/* bandeja agrupada: la cantidad va al lado, no encima */
.bandeja { flex-wrap: wrap; align-content: center; max-height: 124px; min-height: 72px; gap: 8px 14px; }
.grupo-puesto { gap: 6px; }
.grupo-puesto .cant { position: static; min-width: 0; height: auto; padding: 2px 9px; border-radius: 12px; font-size: 1.05rem; border: 0; }
.grupo-puesto .mini.billete { width: 84px; }
.grupo-puesto .mini.moneda { width: 50px; }
.bandeja.denso .grupo-puesto .mini.billete { width: 62px; }
.bandeja.denso .grupo-puesto .mini.moneda { width: 40px; }
.bandeja.denso .grupo-puesto .cant { font-size: .9rem; padding: 1px 7px; }
.vacia-txt { white-space: normal; font-size: .9rem; line-height: 1.2; text-overflow: clip; }
@media (max-width: 430px) { .zona-quitar .btn.btn--chico { padding: 0; width: 60px; min-width: 60px; } .zona-quitar .btn.btn--chico > span:not(.ico) { display: none; } }
/* mapa: letras grandes y legibles, "Consultorio" completo */
.lugar { width: clamp(112px, 31vw, 150px); padding: 4px; }
.lugar .nm { font-size: clamp(13.5px, 3.8vw, 17px); white-space: nowrap; overflow: visible; letter-spacing: -.01em; }
.lugar .ic svg { width: 34px; height: 34px; }
/* ajustes y botones anchos: textos grandes sin romperse */
.btn { font-size: clamp(1rem, 4.4vw, 1.2rem); }

.dinero .grupo-billetes .billete { max-height: clamp(84px, 17dvh, 138px); }
.acierto::after { content: none; }
.acierto .total span::after { content: " ✔"; color: var(--ok); font-weight: 800; }

.consultorio.relleno { overflow-y: auto; grid-auto-rows: minmax(84px, auto); align-content: start; padding: 8px; scrollbar-width: thin; }
.tile-ej { min-height: 84px; font-size: 1rem; }

/* ═════════ v17: ilustraciones generadas en vez de dibujos propios ═════════ */
.llave { display: flex; align-items: center; gap: 16px; width: 100%; }
.llave img.obj, .llave-img { width: 92px; height: 64px; flex: 0 0 auto; object-fit: contain; max-width: none; }
.llave-gira img { width: 100%; height: 100%; object-fit: contain; }
.caja-med { display: flex; align-items: center; gap: 14px; width: 100%; border: 0; background: none; border-radius: 0; text-align: left; }
.caja-med img.obj { width: 76px; height: 76px; flex: 0 0 auto; max-width: none; }
.caja-med .cuerpo { display: grid; gap: 2px; padding: 0; justify-content: start; }
.caja-med .cuerpo b { font-size: 1.15rem; }
.caja-med .dosis { font-weight: 700; color: var(--primary); font-size: .98rem; }
.opciones.cajas .opc { flex-direction: row; justify-content: flex-start; padding: 8px 14px; }
.tarjeta-bip { display: inline-flex; flex-direction: row; align-items: center; gap: 14px; background: none; padding: 0; color: var(--ink); margin-top: 4px; }
.tarjeta-bip img.obj, .bip-img { width: 92px; height: 64px; flex: 0 0 auto; max-width: none; }
.bip-txt { display: grid; }
.bip-txt b { font-size: 1.8rem; font-variant-numeric: tabular-nums; color: var(--ok); }
.hornilla { width: 70px; height: 70px; border: 0; background: none; border-radius: 0; }
.hornilla img.obj { width: 100%; height: 100%; max-width: none; }
.quemador img.perilla-img, .perilla-img { width: 54px; height: 54px; max-width: none; }
.perilla-giro img { width: 100%; height: 100%; object-fit: contain; }
.pildora { width: 30px; height: 30px; object-fit: contain; display: inline-block; vertical-align: middle; flex: 0 0 auto; filter: drop-shadow(0 3px 4px rgba(40, 50, 90, .3)); }
.pastilla .pildora { width: 30px; height: 30px; }
.puestas .pildora { width: 32px; height: 32px; }
.prod > img.obj { object-fit: contain; }
