/* AR4 Mercados — Academia: la lección interactiva (js/leccion-viva.js).
   [leccion-viva 23-11-2026]
   Una presentación a pantalla completa, siempre oscura (negro y oro, como la
   Terminal y los Reels): es un momento de foco y se lee igual en los dos temas
   del sitio. Por eso los colores van escritos aquí y no por tokens del tema.
   Cada pantalla entra con sus piezas en fila (lv-e1..lv-e4); con «reducir
   movimiento» aparecen quietas. */
html.lv-abierta, html.lv-abierta body { overflow: hidden; }
.lv-capa {
  position: fixed; inset: 0; z-index: 9700; display: flex; justify-content: center;
  background: radial-gradient(120% 70% at 50% 0%, rgb(42, 36, 22) 0%, rgb(15, 13, 9) 62%);
  color: rgb(239, 231, 213); font-family: var(--body, 'Roboto', sans-serif);
  -webkit-font-smoothing: antialiased;
}
.lv-marco { display: flex; flex-direction: column; width: 100%; max-width: 560px; height: 100%; }
.lv-arriba { flex: none; padding: max(10px, env(safe-area-inset-top)) 16px 0; }
.lv-barras { display: flex; gap: 4px; }
.lv-barras i { flex: 1; height: 3px; border-radius: 3px; background: var(--t-ede6d607,rgba(239, 231, 213, 0.18)); transition: background 0.25s ease; }
.lv-barras i.hecha { background: rgba(214, 180, 86, 0.75); }
.lv-barras i.ahora { background: rgb(214, 180, 86); }
.lv-cab { display: flex; align-items: center; gap: 10px; height: 48px; }
.lv-marca-ar4 { font-family: var(--mono, monospace); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t-d9b759,rgb(214, 180, 86)); }
.lv-cuenta { margin-left: auto; font-family: var(--mono, monospace); font-size: 0.72rem; color: rgb(163, 155, 137); font-variant-numeric: tabular-nums; }
.lv-cerrar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; border: 0; border-radius: 50%; background: var(--t-ede6d603,rgba(239, 231, 213, 0.08)); color: rgb(207, 198, 178); cursor: pointer; }
.lv-cerrar svg { width: 16px; height: 16px; }
.lv-escena { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 12px; display: flex; }
.lv-pantalla { margin: auto 0; width: 100%; padding: 8px 0; }
.lv-abajo { flex: none; display: flex; gap: 10px; padding: 10px 16px max(14px, env(safe-area-inset-bottom)); }
.lv-atras { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; border: 1px solid rgba(239, 231, 213, 0.16); background: none; color: rgb(207, 198, 178); cursor: pointer; }
.lv-atras:disabled { opacity: 0.3; cursor: default; }
.lv-atras svg { width: 20px; height: 20px; }
.lv-sig, .lv-btn-oro {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border: 0; border-radius: 15px; cursor: pointer;
  background: linear-gradient(135deg, var(--t-d1ac4f,rgb(168, 133, 31)) 0%, rgb(217, 183, 80) 55%, var(--t-d2ac42,rgb(195, 157, 47)) 100%); color: rgb(21, 18, 10);
  font-family: var(--heading, sans-serif); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em;
  box-shadow: 0 8px 22px -10px rgba(214, 180, 86, 0.7), inset 0 1px 0 var(--t-ffffff09,rgba(255, 255, 255, 0.35));
  transition: opacity 0.2s ease, transform 0.12s ease;
}
.lv-sig svg, .lv-btn svg { width: 18px; height: 18px; flex: none; }
.lv-sig:disabled { opacity: 0.32; cursor: default; box-shadow: none; }
.lv-sig:active:not(:disabled), .lv-btn:active { transform: scale(0.98); }
.lv-capa button:focus-visible, .lv-rango:focus-visible { outline: 2px solid var(--t-5a4c1a,rgb(240, 217, 138)); outline-offset: 2px; }

/* —— Tipografía de las pantallas —— */
.lv-rotulo { margin: 0 0 10px; font-family: var(--mono, monospace); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t-d9b759,rgb(214, 180, 86)); }
.lv-grande { margin: 0 0 14px; font-family: var(--heading, sans-serif); font-size: clamp(1.9rem, 8.4vw, 2.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; color: rgb(255, 255, 255); }
.lv-titulo { margin: 0 0 12px; font-family: var(--heading, sans-serif); font-size: clamp(1.35rem, 5.9vw, 1.7rem); font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; color: rgb(255, 255, 255); }
.lv-texto { margin: 0 0 12px; font-size: 1.02rem; line-height: 1.5; color: rgb(207, 198, 178); }
.lv-fuente { margin: 8px 0 0; font-size: 0.74rem; line-height: 1.45; color: rgb(148, 139, 118); }
.lv-numero { margin: 4px 0 10px; font-family: var(--heading, sans-serif); font-size: clamp(3.6rem, 19vw, 5.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--t-f3d97e,rgb(240, 217, 138)); font-variant-numeric: tabular-nums; }

/* —— Entrada en fila —— */
.lv-e1, .lv-e2, .lv-e3, .lv-e4 { animation: lv-entra 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.lv-e2 { animation-delay: 0.16s; }
.lv-e3 { animation-delay: 0.34s; }
.lv-e4 { animation-delay: 0.52s; }
@keyframes lv-entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* —— Gráfico —— */
.lv-graf { margin: 2px 0 12px; }
.lv-graf svg { display: block; width: 100%; height: auto; overflow: visible; }
.lv-g-area { fill: var(--t-d9b75914,rgba(214, 180, 86, 0.08)); }
.lv-g-l { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: lv-traza 0.7s ease-out 0.35s forwards; }
.lv-g-1 { stroke: var(--t-d9b759,rgb(214, 180, 86)); }
.lv-g-2 { stroke: rgb(232, 104, 88); stroke-width: 3; animation-duration: 1.3s; animation-delay: 1.05s; }
.lv-g-3 { stroke: var(--t-d9b7598c,rgba(214, 180, 86, 0.55)); animation-duration: 0.5s; animation-delay: 2.35s; }
@keyframes lv-traza { to { stroke-dashoffset: 0; } }
.lv-marca { opacity: 0; animation: lv-aparece 0.35s ease-out forwards; }
.lv-m1 { animation-delay: 1.05s; }
.lv-m2 { animation-delay: 2.35s; }
@keyframes lv-aparece { to { opacity: 1; } }
.lv-marca circle { fill: var(--t-ede7db,rgb(15, 13, 9)); stroke: rgb(255, 255, 255); stroke-width: 2.2; }
.lv-marca text { fill: rgb(255, 255, 255); font-family: var(--heading, sans-serif); font-size: 13px; font-weight: 700; }
.lv-m2 text { fill: rgb(255, 150, 136); }
.lv-t-grafico .lv-e4 { animation-delay: 2.7s; }

/* —— Marca tu predicción —— */
.lv-quieta { animation: none !important; stroke-dashoffset: 0 !important; opacity: 1 !important; }
.lv-p-eje { stroke: rgba(239, 231, 213, 0.28); stroke-width: 1; stroke-dasharray: 3 4; }
.lv-p-fecha { fill: rgb(163, 155, 137); font-family: var(--mono, monospace); font-size: 11px; }
.lv-p-guia { stroke: var(--t-f3d97e,rgb(240, 217, 138)); stroke-width: 1.4; stroke-dasharray: 2 5; stroke-linecap: round; opacity: 0.75; }
.lv-p-yo circle { fill: var(--t-f3d97e,rgb(240, 217, 138)); stroke: var(--t-ede7db,rgb(15, 13, 9)); stroke-width: 3; }
.lv-p-yo text { fill: var(--t-f3d97e,rgb(240, 217, 138)); font-family: var(--heading, sans-serif); font-size: 13px; font-weight: 700; }
.lv-pred .lv-g-2 { animation-delay: 0.1s; animation-duration: 1.4s; }
.lv-pred .lv-g-3 { animation-delay: 1.5s; }
.lv-pred .lv-m2 { animation-delay: 1.5s; }
.lv-pred-ctrl { display: grid; gap: 4px; }
.lv-pred-ctrl .lv-btn-oro { margin-top: 2px; }
.lv-pred-ctrl.hecho .lv-btn-oro, .lv-pred-ctrl.hecho .lv-rango { display: none; }
.lv-pred-ctrl.hecho .lv-des-eti { justify-content: flex-start; }
.lv-t-predice .lv-respuesta { min-height: 0; margin-top: 10px; }
.lv-t-predice .lv-respuesta.bien:not(:empty) { border-left-color: var(--t-5c4b1a,rgb(214, 180, 86)); }
.lv-t-predice .lv-graf { margin-bottom: 6px; }
/* —— Pregunta —— */
.lv-opciones { display: grid; gap: 10px; margin: 4px 0 12px; }
.lv-opcion { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 12px 14px; border-radius: 15px; border: 1.5px solid rgba(239, 231, 213, 0.2); background: var(--t-ede6d602,rgba(239, 231, 213, 0.04)); color: rgb(239, 231, 213); font: inherit; font-size: 1rem; line-height: 1.35; text-align: left; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease; }
.lv-op-ic { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--t-ede6d616,rgba(239, 231, 213, 0.35)); }
.lv-op-ic svg { display: none; width: 14px; height: 14px; }
.lv-opcion.es-bien { border-color: rgb(63, 191, 127); background: var(--t-40bf7f1f,rgba(63, 191, 127, 0.12)); opacity: 1; }
.lv-opcion.es-bien .lv-op-ic { border-color: rgb(63, 191, 127); background: rgb(63, 191, 127); color: rgb(15, 13, 9); }
.lv-opcion.es-bien .lv-op-ic svg:first-child { display: block; }
.lv-opcion.es-mal { border-color: var(--t-eb6b5b,rgb(232, 104, 88)); background: var(--t-f978671a,rgba(232, 104, 88, 0.1)); }
.lv-opcion.es-mal .lv-op-ic { border-color: rgb(232, 104, 88); background: rgb(232, 104, 88); color: rgb(15, 13, 9); }
.lv-opcion.es-mal .lv-op-ic svg:last-child { display: block; }
.lv-opcion.es-otra { opacity: 0.45; }
.lv-opcion:disabled { cursor: default; }
.lv-respuesta { margin: 0; min-height: 4.4em; font-size: 0.96rem; line-height: 1.45; color: rgb(207, 198, 178); }
.lv-respuesta.bien:not(:empty), .lv-respuesta.mal:not(:empty) { padding: 12px 14px; border-radius: 13px; border-left: 3px solid rgb(63, 191, 127); background: var(--t-ede6d602,rgba(239, 231, 213, 0.05)); animation: lv-entra 0.35s ease-out both; }
.lv-respuesta.mal:not(:empty) { border-left-color: var(--t-eb6b5b,rgb(232, 104, 88)); }

/* —— Dos columnas —— */
.lv-versus { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 14px; }
.lv-col { height: 100%; padding: 14px 12px; border-radius: 15px; border: 1px solid rgba(239, 231, 213, 0.14); background: var(--t-ede6d602,rgba(239, 231, 213, 0.04)); }
.lv-versus > div { display: flex; }
.lv-versus .lv-col { flex: 1; }
.lv-col.der { border-color: rgba(214, 180, 86, 0.55); background: rgba(214, 180, 86, 0.08); }
.lv-col-tit { margin: 0 0 10px; font-family: var(--mono, monospace); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(163, 155, 137); }
.lv-col.der .lv-col-tit { color: var(--t-d9b759,rgb(214, 180, 86)); }
.lv-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.lv-col li { font-size: 0.92rem; line-height: 1.35; color: rgb(232, 224, 206); }

/* —— Barra que calcula —— */
.lv-desliza { margin: 6px 0 4px; padding: 16px 14px 14px; border-radius: 17px; border: 1px solid rgba(214, 180, 86, 0.4); background: rgba(214, 180, 86, 0.06); }
.lv-des-eti { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 0.9rem; color: rgb(207, 198, 178); }
.lv-des-eti strong { font-family: var(--heading, sans-serif); font-size: 1.1rem; color: rgb(255, 255, 255); font-variant-numeric: tabular-nums; }
.lv-rango { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 34px; margin: 10px 0 6px; background: none; cursor: pointer; --lv-p: 50%; }
.lv-rango::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(to right, rgb(214, 180, 86) var(--lv-p), var(--t-ede6d606,rgba(239, 231, 213, 0.16)) var(--lv-p)); }
.lv-rango::-moz-range-track { height: 8px; border-radius: 8px; background: var(--t-ede6d606,rgba(239, 231, 213, 0.16)); }
.lv-rango::-moz-range-progress { height: 8px; border-radius: 8px; background: rgb(214, 180, 86); }
.lv-rango::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; border: 3px solid var(--t-a7a49e,rgb(15, 13, 9)); background: rgb(240, 217, 138); box-shadow: 0 2px 10px var(--t-000000cc,rgba(0, 0, 0, 0.5)); }
.lv-rango::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--t-a7a49e,rgb(15, 13, 9)); background: rgb(240, 217, 138); }
.lv-des-res { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.lv-des-res strong { font-family: var(--heading, sans-serif); font-size: clamp(2.2rem, 11vw, 3rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: var(--t-f3d97e,rgb(240, 217, 138)); font-variant-numeric: tabular-nums; }
.lv-des-res span { font-size: 0.9rem; line-height: 1.35; color: rgb(207, 198, 178); }

/* —— Así van hoy —— */
.lv-panel { display: grid; gap: 10px; margin: 6px 0 14px; }
.lv-pan-fila { display: grid; grid-template-columns: 96px 1fr 74px; align-items: center; gap: 10px; height: 40px; }
.lv-pan-n { font-size: 0.92rem; font-weight: 600; line-height: 1.2; color: rgb(232, 224, 206); }
.lv-pan-pista { position: relative; height: 14px; border-radius: 14px; background: var(--t-ede6d603,rgba(239, 231, 213, 0.07)); }
.lv-pan-pista::before { content: ''; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: var(--t-ede6d60b,rgba(239, 231, 213, 0.3)); }
.lv-pan-pista i { position: absolute; top: 0; bottom: 0; width: 0; border-radius: 14px; background: var(--t-33302b,rgb(163, 155, 137)); transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.lv-pan-fila.sube .lv-pan-pista i { background: rgb(63, 191, 127); }
.lv-pan-fila.baja .lv-pan-pista i { background: rgb(232, 104, 88); }
.lv-pan-v { font-family: var(--heading, sans-serif); font-size: 0.98rem; font-weight: 700; text-align: right; color: rgb(207, 198, 178); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lv-pan-fila.sube .lv-pan-v { color: rgb(150, 225, 185); }
.lv-pan-fila.baja .lv-pan-v { color: rgb(255, 150, 136); }
.lv-pan-fila.vacia .lv-pan-v { font-family: inherit; font-size: 0.78rem; font-weight: 400; color: rgb(148, 139, 118); }
.lv-pan-fila.cerrado .lv-pan-n::after { content: ' ·'; color: rgb(148, 139, 118); }
/* Libro de ordenes (leccion 3): cada fila es un precio de venta con su cantidad;
   la barra se llena cuando la orden del lector llega hasta ese precio. */
.lv-libro { display: grid; gap: 7px; margin: 0 0 14px; }
.lv-lib-fila { display: grid; grid-template-columns: 82px 1fr 52px; align-items: center; gap: 10px; height: 26px; opacity: 0.55; transition: opacity 0.2s; }
.lv-lib-fila.tocada { opacity: 1; }
.lv-lib-p { font-family: var(--heading, sans-serif); font-size: 0.95rem; font-weight: 700; color: rgb(255, 255, 255); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lv-lib-pista { position: relative; height: 12px; border-radius: 12px; background: var(--t-ede6d603,rgba(239, 231, 213, 0.07)); overflow: hidden; }
.lv-lib-pista i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 12px; background: rgb(232, 104, 88); transition: width 0.18s linear; }
.lv-lib-q { font-size: 0.8rem; text-align: right; color: rgb(207, 198, 178); font-variant-numeric: tabular-nums; }
.lv-lib-res { margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lv-lib-res span { display: flex; flex-direction: column; gap: 2px; font-size: 0.82rem; line-height: 1.3; color: rgb(207, 198, 178); }
.lv-lib-res strong { font-family: var(--heading, sans-serif); font-size: clamp(1.25rem, 6.2vw, 1.7rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; color: var(--t-f3d97e,rgb(240, 217, 138)); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* —— Lista que se abre —— */
.lv-lista { display: grid; gap: 8px; margin-top: 4px; }
.lv-item { display: block; width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid rgba(239, 231, 213, 0.16); background: var(--t-ede6d602,rgba(239, 231, 213, 0.04)); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.lv-item-t { display: flex; align-items: center; justify-content: space-between; font-family: var(--heading, sans-serif); font-size: 1.02rem; font-weight: 700; color: rgb(255, 255, 255); }
.lv-item-t::after { content: '+'; font-weight: 400; font-size: 1.3rem; line-height: 1; color: rgb(163, 155, 137); }
.lv-item.abierta .lv-item-t::after { content: '\2212'; }
.lv-item-d { display: none; margin-top: 6px; font-size: 0.93rem; line-height: 1.42; color: rgb(207, 198, 178); }
.lv-item.abierta .lv-item-d { display: block; animation: lv-entra 0.3s ease-out both; }
.lv-item.vista:not(.abierta) { opacity: 0.66; }
.lv-item.oro { border-color: rgba(214, 180, 86, 0.6); background: rgba(214, 180, 86, 0.09); }
.lv-item.oro .lv-item-t { color: var(--t-f3d97e,rgb(240, 217, 138)); }

/* —— Sesiones —— */
.lv-ses { display: grid; gap: 8px; margin: 4px 0 12px; }
.lv-ses-fila { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid rgba(239, 231, 213, 0.14); background: var(--t-ede6d601,rgba(239, 231, 213, 0.03)); color: inherit; font: inherit; cursor: pointer; }
.lv-ses-n { font-size: 0.92rem; font-weight: 600; text-align: left; color: rgb(232, 224, 206); }
.lv-ses-pista { position: relative; height: 12px; border-radius: 12px; background: var(--t-ede6d603,rgba(239, 231, 213, 0.08)); overflow: hidden; }
.lv-ses-pista i { position: absolute; top: 0; bottom: 0; }
.lv-ses-b { border-radius: 12px; background: rgba(214, 180, 86, 0.45); }
.lv-ses-c { background: transparent; }
.lv-ses-fila.activa { border-color: var(--t-5c4b1a,rgb(214, 180, 86)); background: rgba(214, 180, 86, 0.08); }
.lv-ses-fila.activa .lv-ses-b { background: rgb(214, 180, 86); }
.lv-ses.ver-cruce .lv-ses-c { background: var(--t-40bf7fe6,rgba(63, 191, 127, 0.9)); box-shadow: 0 0 0 1px rgb(15, 13, 9); }
.lv-ses-cruce { min-height: 46px; border-radius: 12px; border: 1px solid rgba(63, 191, 127, 0.6); background: var(--t-40bf7f1a,rgba(63, 191, 127, 0.1)); color: rgb(150, 225, 185); font-family: var(--heading, sans-serif); font-size: 0.98rem; font-weight: 700; cursor: pointer; }
.lv-t-sesiones .lv-respuesta { min-height: 3em; }
.lv-t-sesiones .lv-respuesta.bien:not(:empty) { border-left-color: var(--t-5c4b1a,rgb(214, 180, 86)); }

/* —— Promesas que se tachan —— */
.lv-tachar { display: grid; gap: 9px; margin: 4px 0 12px; }
.lv-promesa { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--t-eb6b5b99,rgba(232, 104, 88, 0.6)); background: var(--t-f9786712,rgba(232, 104, 88, 0.07)); color: rgb(244, 220, 214); font: inherit; font-size: 1rem; line-height: 1.35; text-align: left; cursor: pointer; transition: opacity 0.25s ease; }
.lv-promesa.tachada { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--t-f97867,rgb(232, 104, 88)); opacity: 0.5; border-style: solid; }
.lv-t-tachar .lv-respuesta { min-height: 3.4em; }
.lv-t-tachar .lv-respuesta.bien:not(:empty) { border-left-color: var(--t-5c4b1a,rgb(214, 180, 86)); }

/* —— Cierre —— */
.lv-claves { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 9px; }
.lv-claves li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; line-height: 1.4; color: rgb(232, 224, 206); }
.lv-claves svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--t-d9b759,rgb(214, 180, 86)); }
.lv-final { display: grid; gap: 10px; margin-top: 6px; }
.lv-final-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lv-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 12px; border-radius: 14px; border: 1px solid rgba(239, 231, 213, 0.22); background: var(--t-ede6d602,rgba(239, 231, 213, 0.05)); color: rgb(239, 231, 213); font-family: var(--heading, sans-serif); font-size: 0.96rem; font-weight: 700; cursor: pointer; transition: transform 0.12s ease; }
.lv-btn.lv-btn-oro { min-height: 54px; border: 0; color: rgb(21, 18, 10); font-size: 1.02rem; background: linear-gradient(135deg, var(--t-d1ac4f,rgb(168, 133, 31)) 0%, rgb(217, 183, 80) 55%, var(--t-d2ac42,rgb(195, 157, 47)) 100%); }

/* —— Resultado de la prueba de nivel —— */
.lv-nivel-n small { font-size: 0.34em; font-weight: 700; letter-spacing: -0.01em; color: rgb(207, 198, 178); }
a.lv-btn { text-decoration: none; text-align: center; }
/* —— El botón de entrada, sobre la portada del módulo —— */
.mod-cover.con-leccion { position: relative; }
.lv-entrar {
  position: absolute; left: 12px; bottom: 12px; z-index: 3; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 24px);
  padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid rgba(240, 217, 138, 0.7); cursor: pointer; text-align: left;
  background: rgba(15, 13, 9, 0.86); color: rgb(255, 255, 255); font: inherit; box-shadow: 0 8px 24px -8px var(--t-000000cc,rgba(0, 0, 0, 0.6));
  animation: lv-entra 0.4s ease-out both;
}
.lv-entrar-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--t-d1ac4f,rgb(168, 133, 31)), rgb(217, 183, 80)); color: rgb(21, 18, 10); }
.lv-entrar-ic svg { width: 20px; height: 20px; margin-left: 2px; }
.lv-entrar strong { display: block; font-family: var(--heading, sans-serif); font-size: 0.98rem; font-weight: 700; line-height: 1.2; }
.lv-entrar small { display: block; font-size: 0.74rem; line-height: 1.3; color: rgb(214, 205, 185); }
.lv-entrar:focus-visible { outline: 2px solid var(--t-5a4c1a,rgb(240, 217, 138)); outline-offset: 2px; }

@media (min-width: 700px) {
  .lv-marco { max-height: 860px; margin: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .lv-e1, .lv-e2, .lv-e3, .lv-e4, .lv-marca, .lv-entrar, .lv-item.abierta .lv-item-d, .lv-respuesta { animation: none !important; opacity: 1; }
  .lv-g-l { animation: none; stroke-dashoffset: 0; }
}
