/* Lección animada (leccion.js) */
html.lx-open, html.lx-open body { overflow: hidden; }
.lx { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto 1fr auto auto; background: var(--paper); color: var(--ink); }
.lx-top { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 92%, transparent); }
.lx-x { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 16px; flex: none; }
.lx-tt { display: flex; flex-direction: column; min-width: 0; }
.lx-tt b { font-family: var(--display); font-size: 20px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-dots { display: flex; gap: 5px; margin: 0 0 0 auto; padding: 0; list-style: none; flex-wrap: wrap; justify-content: flex-end; }
.lx-dots li { width: 22px; height: 8px; border-radius: 99px; background: var(--line); cursor: pointer; transition: background .3s, width .3s; }
.lx-dots li.done { background: var(--mint); }
.lx-dots li.on { background: var(--teal); width: 34px; }

.lx-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; padding: 16px; min-height: 0; }
.lx-stage { position: relative; overflow: hidden; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 0; }
.lx-board { display: flex; flex-direction: column; min-height: 0; padding: 16px 16px 10px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.lx-chips { list-style: none; margin: 10px 0 0; padding: 0 2px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.lx-chips li { font-size: 17px; line-height: 1.35; opacity: .55; transition: opacity .4s; }
.lx-chips li.last { opacity: 1; }
.lx-chips li.new { animation: lxChip .45s cubic-bezier(.2, .8, .2, 1) both; }
.lx-chips .mk { font-weight: 700; }
.mk.static { animation: none; background-size: 100% 100%; }
@keyframes lxChip { from { opacity: 0; transform: translateX(18px); } }

/* Paneles */
.lx-panel { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.lx-panel.on { opacity: 1; }
.lx-panel:not(.lx-img) { overflow-y: auto; }
.lx-iw { position: absolute; transform-origin: 0 0; transition: transform 1.3s cubic-bezier(.45, .05, .25, 1); }
.lx-iw img { display: block; width: 100%; height: 100%; border-radius: 10px; user-select: none; -webkit-user-drag: none; }
.lx-iw.idle img { animation: lxDrift 14s ease-in-out infinite alternate; }
@keyframes lxDrift { to { transform: scale(1.035); } }
.lx-ring { position: absolute; border-radius: 12px; opacity: 0; border: calc(3px / var(--z, 1)) solid #e8622c; box-shadow: 0 0 0 calc(9999px) rgba(20, 30, 40, 0); transition: opacity .4s, box-shadow 1s; pointer-events: none; }
.lx-ring.on { opacity: 1; box-shadow: 0 0 0 9999px rgba(20, 30, 40, .28); animation: lxPulse 1.6s ease-out .9s 2; }
@keyframes lxPulse { 50% { border-color: #ffb37f; } }
.lx-cap { position: absolute; left: 50%; bottom: 14px; z-index: 3; transform: translate(-50%, 12px); opacity: 0; padding: 7px 16px; border-radius: 99px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 15px; white-space: nowrap; transition: opacity .4s, transform .4s; pointer-events: none; }
.lx-cap.on { opacity: 1; transform: translate(-50%, 0); }

.lx-it { opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .5s, transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .4s, border-color .4s; border-radius: 16px; background: var(--surface); border: 2px solid var(--line); padding: 12px 14px; }
.lx-it.in { opacity: 1; transform: none; }
.lx-it.now { border-color: var(--tc); box-shadow: 0 10px 28px rgba(29, 51, 68, .14); }
.lx-it b { display: block; font-family: var(--display); font-size: 20px; font-weight: 800; }
.lx-it span { display: block; color: var(--ink-soft); font-size: 14.5px; margin-top: 2px; }
.tone-a { --tc: #e2b230; --tb: rgba(255, 221, 87, .28); }
.tone-n { --tc: #e2b230; --tb: rgba(255, 221, 87, .28); }
.tone-c { --tc: #8c74dc; --tb: rgba(184, 164, 244, .22); }
.tone-d { --tc: #3eb486; --tb: rgba(116, 222, 178, .22); }
.tone-g { --tc: #e46478; --tb: rgba(255, 150, 160, .22); }
.tone-t { --tc: #32a0c8; --tb: rgba(110, 205, 236, .22); }
.lx-it.in { background: linear-gradient(var(--tb), var(--tb)), var(--surface); }

.lx-big { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 24px; flex-wrap: wrap; }
.lx-big .lx-it { flex: 1 1 180px; max-width: 260px; text-align: center; padding: 26px 16px; }
.lx-big .lx-it b { font-size: clamp(28px, 3.6vw, 50px); white-space: nowrap; }
.lx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); align-content: safe center; gap: 12px; padding: 22px; }
.lx-stack { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 22px 28px; }
.lx-stack .lx-it { display: flex; align-items: baseline; gap: 14px; }
.lx-stack .lx-it:nth-child(1) { padding: 16px 18px; }
.lx-stack .lx-it:nth-child(2) { padding: 6px 18px; }
.lx-stack .lx-it:nth-child(3) { padding: 30px 18px; }
.lx-stack .lx-it:nth-child(4) { padding: 20px 18px; }
.lx-flow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 18px; }
.lx-flow .lx-it { width: min(460px, 100%); text-align: center; padding: 10px 14px; }
.lx-flow .lx-arrow { font-size: 22px; line-height: 1; }
.lx-timeline { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 22px; flex-wrap: wrap; }
.lx-timeline .lx-it { flex: 1 1 130px; max-width: 200px; }
.lx-timeline .lx-it { text-align: center; }
.lx-timeline .lx-it span { font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--ink); }
.lx-arrow { font-size: 28px; font-weight: 800; color: var(--ink-soft); opacity: 0; transition: opacity .4s; }
.lx-arrow.in { opacity: 1; }
.lx-bars { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 26px 30px; }
.lx-bars .lx-bw { display: block; height: 22px; margin: 0 0 8px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.lx-bars .lx-bw i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--tc); transition: width 1.4s cubic-bezier(.3, .7, .3, 1) .2s; }
.lx-bars .lx-it.in .lx-bw i { width: var(--w); }

/* Subtítulos y controles */
.lx-sub { margin: 0 16px; padding: 8px 14px; border-radius: 12px; background: var(--ink); color: var(--paper); font-size: 15.5px; text-align: center; min-height: 1.5em; }
.lx-ctrl { display: flex; align-items: center; gap: 8px; padding: 10px 16px 14px; }
.lx-ctrl button { min-width: 42px; height: 40px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-weight: 700; }
.lx-ctrl .lx-play { min-width: 54px; background: var(--teal); color: #fff; border-color: var(--teal-dark); box-shadow: 0 2px 0 var(--teal-dark); }
.lx-ctrl button.on { background: var(--ink); color: var(--paper); }
.lx-bar { position: relative; flex: 1; height: 10px; border-radius: 99px; background: var(--line); cursor: pointer; }
.lx-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: var(--teal); }
.lx-bar span { position: absolute; top: -3px; bottom: -3px; border-radius: 4px; border: 2px dashed #e8622c; opacity: .55; }
.lx-time { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--ink-soft); min-width: 84px; text-align: right; }

/* Ventana de preguntas */
.lx-modal { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 16px; background: rgba(20, 30, 40, .42); backdrop-filter: blur(3px); }
.lx-modal[hidden] { display: none; }
.lx-card { width: min(640px, 100%); max-height: calc(100% - 20px); overflow-y: auto; padding: 22px 22px 18px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); animation: enter .35s cubic-bezier(.2, .8, .2, 1) both; }
.lx-card h3 { font-size: 22px; font-weight: 800; margin: 6px 0 14px; }
.lx-opts { display: grid; gap: 8px; }
.lx-opt { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); font-size: 15.5px; transition: border-color .2s, background .2s; }
.lx-opt:hover:not(:disabled) { border-color: var(--teal); }
.lx-opt > span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--soft); font-weight: 800; font-size: 13px; }
.lx-opt.ok { border-color: var(--good); background: var(--tint-good); }
.lx-opt.ko { border-color: var(--bad); background: var(--tint-bad); }
.lx-opt:disabled { cursor: default; }
.lx-after:empty { display: none; }
.lx-after { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.lx-after p { margin: 0; font-weight: 700; }
.lx-ok { color: var(--good-ink); }
.lx-ko { color: var(--bad-ink); }
.lx-note { font-size: 13.5px; margin: 12px 0 0; }
.lx-index { columns: 2; gap: 18px; margin: 0 0 14px; padding-left: 22px; font-size: 14.5px; }
.lx-index button { border: 0; background: none; padding: 2px 0; text-align: left; color: inherit; }
.lx-index button:hover { color: var(--teal); text-decoration: underline; }
.lx-index li.done { color: var(--ink-soft); }
.lx-index li.done::marker { color: var(--good); }
.lx-endbtns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.lx-res { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 14px; }
.lx-res > div { padding: 12px 18px; border-radius: 16px; background: var(--soft); text-align: center; }
.lx-res > div.good { background: var(--tint-good); }
.lx-res span { display: block; font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }
.lx-res b { font-family: var(--display); font-size: 30px; font-weight: 800; }
.lx-res > i { font-style: normal; font-size: 22px; color: var(--ink-soft); }
.lx-redo { display: flex; flex-wrap: wrap; gap: 6px; }

/* Tarjeta en la portada del tema */
.lx-card-home { background: linear-gradient(120deg, var(--card) 40%, var(--tint-teal)); }
.lx-thumb { display: grid; place-items: center; width: 84px; height: 64px; border-radius: 16px; background: var(--teal); color: #fff; font-size: 26px; box-shadow: 0 3px 0 var(--teal-dark), 0 10px 24px rgba(22, 128, 120, .3); transform: rotate(-4deg); }
.lx-new { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: #e8622c; color: #fff; font-family: var(--text); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 760px) {
  .lx-top { gap: 10px; padding: 8px 12px; }
  .lx-tt .kicker { display: none; }
  .lx-tt b { font-size: 17px; }
  .lx-dots li { width: 10px; }
  .lx-dots li.on { width: 18px; }
  .lx-body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px; padding: 10px 12px; }
  .lx-board { padding: 12px; }
  .lx-chips li { font-size: 16px; }
  .lx-it b { font-size: 17px; }
  .lx-it span { font-size: 13px; }
  .lx-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 12px; }
  .lx-grid .lx-it { padding: 8px 10px; }
  .lx-grid .lx-it:not(.now) span { display: none; }
  .lx-big { gap: 10px; padding: 12px; }
  .lx-big .lx-it { padding: 14px 10px; flex-basis: 40%; }
  .lx-stack { padding: 12px; }
  .lx-index { columns: 1; }
  .lx-ctrl { gap: 6px; padding: 8px 12px 12px; }
  .lx-ctrl button { min-width: 38px; padding: 0 8px; }
  .lx-time { display: none; }
  .lx-sub { margin: 0 12px; font-size: 14px; }
}

/* Dibujos (leccion-arte.js) */
.lx-art { background: #eef5f7; }
.lx-art .lx-svg, .lx-art .lx-lines { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lx-lines { pointer-events: none; overflow: visible; }
.lx-lines path { stroke: #1d3344; stroke-width: 2; }
.lx-lines circle { fill: #fff; stroke: #1d3344; stroke-width: 2.5; }
.lx-labs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.lx-lab { position: absolute; left: 0; top: 0; padding: 6px 13px; border-radius: 999px; background: #1d3344; color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); animation: lxLab .45s ease both; }
@keyframes lxLab { from { opacity: 0; } }
.lx-svg text { font-family: var(--text); }
.lx-svg [data-g], .lx-svg [data-fx] { transition: opacity .6s ease; }
.lx-svg.focus [data-g]:not(.hi) { opacity: .2; }
.lx-svg [data-hide]:not(.show) { opacity: 0 !important; }
.lx-svg [data-fx]:not(.on) { opacity: 0; }
.lx-svg [data-fx]:not(.on) * { animation-play-state: paused; }
.lx-flow { animation: lxFlow 1.1s linear infinite; }
@keyframes lxFlow { to { stroke-dashoffset: -54; } }
.lx-dash { animation: lxFlow 1.4s linear infinite; }
.lx-viaje, .lx-ampolla, .lx-gota, .lx-onda, .lx-flake, .lx-ab, .lx-gran, .lx-una, .lx-bar { transform-box: fill-box; transform-origin: center; }
[data-fx="viaje"].on .lx-viaje { animation: lxViaje 7s ease-in-out infinite; }
[data-fx="viaje"].on .lx-viaje-n { animation: lxNuc 7s ease-in-out infinite; }
@keyframes lxViaje { 0%, 10% { transform: none; opacity: 1; } 45% { transform: translate(0, -95px) scale(1.2, .95); } 65% { transform: translate(0, -160px) scale(1.7, .6); } 85% { transform: translate(0, -215px) scale(2.3, .32); } 95% { transform: translate(0, -238px) scale(2.5, .25); opacity: 1; } 100% { transform: translate(0, -250px) scale(2.5, .25); opacity: 0; } }
@keyframes lxNuc { 0%, 55% { opacity: 1; } 75%, 100% { opacity: 0; } }
[data-fx="melanina"].on .lx-gran { animation: lxGran 1.5s ease-in-out both; }
@keyframes lxGran { to { transform: translate(var(--dx), var(--dy)); } }
.lx-cap { opacity: 0; }
[data-fx="melanina"].on .lx-cap { animation: lxShow .6s ease both; }
@keyframes lxShow { to { opacity: 1; } }
[data-fx="anticuerpos"].on .lx-ab { animation: lxAb 1.4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes lxAb { from { transform: none; opacity: 0; } to { transform: translate(var(--dx), var(--dy)); opacity: 1; } }
[data-fx="ampolla"].on .lx-ampolla { animation: lxPop 1.5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes lxPop { from { transform: scale(.12); opacity: 0; } }
.lx-epi { transition: transform 1.5s cubic-bezier(.3, .7, .3, 1); }
.fx-despegue .lx-epi { transform: translateY(-18px); }
.lx-gota { animation: lxGota 3.2s ease-in infinite; transform-origin: center bottom; }
@keyframes lxGota { from { transform: scale(.15); } to { transform: scale(1.25); } }
.lx-olor { animation: lxOlor 2.1s ease-out infinite; }
@keyframes lxOlor { 0% { opacity: 0; transform: translateY(12px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-56px); } }
.lx-onda { animation: lxOnda 1.6s ease-out infinite; }
@keyframes lxOnda { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.fx-descama .lx-flake { animation: lxFlake 3.2s ease-in-out infinite; }
@keyframes lxFlake { 0% { transform: none; opacity: 1; } 60% { transform: translate(-10px, -22px) rotate(-6deg); opacity: 1; } 100% { transform: translate(-18px, -44px) rotate(-10deg); opacity: 0; } }
.lx-cae { animation: lxCae 3.2s linear infinite; }
@keyframes lxCae { from { transform: translateY(0) rotate(0); opacity: 1; } to { transform: translateY(1100px) rotate(40deg); opacity: .2; } }
.fx-crece .lx-una { animation: lxUna 2.6s ease-in-out infinite alternate; transform-origin: left center; }
@keyframes lxUna { to { transform: scaleX(1.07); } }
.show .lx-arc { animation: lxArc 1.4s ease both; }
@keyframes lxArc { from { stroke-dasharray: 0 3000; } }
.show .lx-aguja { animation: lxAguja 1.4s cubic-bezier(.3, 1.6, .5, 1) both; transform-origin: 1180px 660px; }
@keyframes lxAguja { from { transform: rotate(-70deg); } }
.lx-bar { transform-origin: left center; animation: lxBar 1.2s ease both; }
@keyframes lxBar { from { transform: scaleX(0); } }
@media (max-width: 760px) { .lx-lab { font-size: 12.5px; padding: 4px 10px; } }

/* Avance (novedad): una escena sola, sin saltos entre escenas */
.lx-demo .lx-dots,.lx-demo [data-prev],.lx-demo [data-next],.lx-demo [data-qmark]{display:none}
.lx-vote{display:grid;gap:9px;margin-top:14px}
.lx-vote button{display:flex;align-items:center;gap:10px;width:100%;padding:13px 16px;border-radius:14px;border:1.5px solid var(--line,#ddd5c6);background:var(--card,#fff);font:inherit;font-weight:700;text-align:left;color:inherit;cursor:pointer}
.lx-vote button:hover,.lx-vote button:focus-visible{border-color:#2f8f8a;outline:none}
.lx-vote button em{font-style:normal;font-size:20px}
.lx-vote-tema{display:grid;gap:8px;margin-top:12px}
.lx-vote-tema select{padding:11px 12px;border-radius:12px;border:1.5px solid var(--line,#ddd5c6);font:inherit;background:var(--card,#fff);color:inherit}

/* ---------- Estilo Kurzgesagt: azul noche, brillo, personajes, motas y cámara que respira ---------- */
.lx-art { background: #0d1438; overflow: hidden; }
.lx-art::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(ellipse 75% 70% at 50% 48%, transparent 55%, rgba(6, 9, 32, .55)); }
.kz-cam { position: absolute; inset: 0; transform-origin: 50% 50%; animation: kzBreath 16s ease-in-out infinite alternate; will-change: transform; }
@keyframes kzBreath { 0% { transform: scale(1.01) translate(0, 0); } 50% { transform: scale(1.04) translate(-.6%, .4%); } 100% { transform: scale(1.025) translate(.6%, -.3%); } }
.kz-cam .lx-labs { z-index: 4; }
.kz-bokeh { position: absolute; inset: -12%; z-index: 2; pointer-events: none; transition: transform 1.3s cubic-bezier(.65, 0, .35, 1); }
.kz-bokeh i { position: absolute; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(255, 236, 210, .9), rgba(255, 190, 220, .35) 45%, transparent 70%); filter: blur(2px); animation: kzFloat 18s ease-in-out infinite alternate; }
@keyframes kzFloat { from { transform: translate(0, 0); } to { transform: translate(30px, -46px); } }
.kz-mote { animation: kzMote 12s ease-in-out infinite alternate; transform-box: fill-box; }
@keyframes kzMote { from { transform: translate(0, 0); } to { transform: translate(14px, -22px); } }
.kz-blink { transform-box: fill-box; transform-origin: center; animation: kzBlink 6s infinite; }
@keyframes kzBlink { 0%, 93%, 100% { transform: scaleY(1); } 95.5% { transform: scaleY(.08); } }
.kz-pup { animation: kzLook 9s ease-in-out infinite; }
@keyframes kzLook { 0%, 30% { transform: translate(0, 0); } 38%, 60% { transform: translate(1.4px, -.4px); } 68%, 90% { transform: translate(-1.4px, .3px); } 100% { transform: translate(0, 0); } }
.lx-svg.focus [data-g]:not(.hi) { opacity: .16; }
.lx-lines path { stroke: #fff; stroke-width: 2.4; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45)); }
.lx-lines circle { fill: #ffd23f; stroke: #fff; stroke-width: 2.5; }
.lx-lab { background: #fff; color: #141a46; font-weight: 800; letter-spacing: -.01em; box-shadow: 0 8px 22px rgba(4, 8, 30, .45), 0 0 0 3px rgba(255, 210, 63, .0); }
@media (prefers-reduced-motion: reduce) { .kz-cam, .kz-bokeh i, .kz-mote, .kz-blink, .kz-pup { animation: none; } }
.lx-svg.focus [data-g="desmo"].hi path { stroke: #ffd23f; stroke-width: 3; }
.lx-svg.focus [data-g="hemi"].hi rect { fill: #ffd23f; }

/* Tema 2 (lesiones elementales): edema que late, gotitas, vitropresión, punch y bote de formol */
.kz-edema { animation: kzEdema 2.8s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes kzEdema { from { opacity: .22; transform: scale(.96); } to { opacity: .5; transform: scale(1.04); } }
.kz-gotita { animation: kzGotita 4s ease-in-out infinite alternate; }
@keyframes kzGotita { to { transform: translate(6px, -10px); } }
.kz-vitro { transform-box: fill-box; animation: kzVitro 3.6s ease-in-out infinite; }
@keyframes kzVitro { 0% { transform: translateY(-150px); opacity: 0; } 25%, 80% { transform: none; opacity: 1; } 100% { transform: translateY(-150px); opacity: 0; } }
.kz-blanch { transition: opacity 1s ease; }
.fx-vitro .kz-blanch { animation: kzBlanch 3.6s ease-in-out infinite; }
@keyframes kzBlanch { 0%, 22% { opacity: .8; } 34%, 78% { opacity: .06; } 92%, 100% { opacity: .8; } }
.kz-punch { transform-box: fill-box; transform-origin: center; }
.fx-punch .kz-punch { animation: kzPunch 2.6s ease-in-out infinite; }
@keyframes kzPunch { 0%, 100% { transform: translateY(-30px); } 40% { transform: translateY(44px) rotate(-4deg); } 55% { transform: translateY(44px) rotate(4deg); } 70% { transform: translateY(44px) rotate(-4deg); } }
.show .kz-sube { animation: kzSube 1.6s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes kzSube { from { transform: translateY(90px); opacity: 0; } }
.kz-flota { animation: kzFlota 3s ease-in-out infinite alternate; }
@keyframes kzFlota { to { transform: translate(14px, -16px) rotate(8deg); } }
.kz-burbuja { animation: kzBurbuja 2.4s ease-in infinite; }
@keyframes kzBurbuja { from { transform: none; opacity: .8; } to { transform: translateY(-230px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .kz-edema, .kz-gotita, .kz-vitro, .fx-vitro .kz-blanch, .fx-punch .kz-punch, .kz-flota, .kz-burbuja { animation: none; } }
.lx-index.largo { max-height: min(38vh, 340px); overflow-y: auto; }
