/* ============================================================
   LORE DEL DESIERTO — la página entera
   ------------------------------------------------------------
   Va detrás de desierto.css (el paisaje y el medidor de oxígeno
   son los mismos que en la portada) y de misterio.css (el aviso
   grande). Aquí está todo lo que viene después de bajar:

     transmisión · crónica · expediente · manual · radar ·
     oscuridad (linterna) · señal cifrada · galería · final

   Sin JavaScript se lee todo, quieto. Con "reducir movimiento"
   tampoco se mueve nada.
   ============================================================ */

.lz-main {
  --lz-lava: #ff6a1f;
  --lz-lava-2: #ffb347;
  --lz-sangre: #d1260a;
  --lz-noche: #07050a;
  --lz-noche-2: #120a10;
  --lz-hueso: #f3e6d2;
  --lz-apagado: #b7a99a;
  background: var(--lz-noche);
  color: var(--lz-hueso);
  overflow-x: clip;
}
.lz-main .volver { color: var(--lz-apagado); }

/* ---------- barra de progreso y rail de capítulos ---------- */
.lz-prog { position: fixed; z-index: 1000; left: 0; right: 0; top: 0; height: 3px; pointer-events: none; background: rgba(255, 255, 255, 0.04); }
.lz-prog i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #d1260a, #ff6a1f 50%, #ffe27a); box-shadow: 0 0 14px rgba(255, 106, 31, 0.9); }

.lz-rail { display: none; }
@media (min-width: 1180px) {
  .lz-rail { display: block; position: fixed; z-index: 60; right: 1.1rem; top: 50%; transform: translateY(-50%); }
  .lz-rail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.95rem; }
  .lz-rail a { position: relative; display: block; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: rgba(243, 230, 210, 0.22); transition: background 0.25s, box-shadow 0.25s, transform 0.25s; }
  .lz-rail a span {
    position: absolute; right: 1.5rem; top: 50%; transform: translate(6px, -50%); white-space: nowrap; pointer-events: none;
    padding: 0.25rem 0.6rem; border-radius: 6px; background: rgba(7, 5, 10, 0.92); border: 1px solid rgba(255, 106, 31, 0.4);
    font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lz-hueso); opacity: 0; transition: opacity 0.2s, transform 0.2s;
  }
  .lz-rail a:hover span, .lz-rail a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
  .lz-rail a:hover, .lz-rail a:focus-visible { background: #ff6a1f; }
  .lz-rail a.es-activo { background: #ff6a1f; box-shadow: 0 0 0 4px rgba(255, 106, 31, 0.22), 0 0 16px rgba(255, 106, 31, 0.9); transform: scale(1.25); }
}

/* ---------- el portal de arriba ---------- */
.dz-pagina { border-block: 0; box-shadow: none; }
.dz-pagina .dz-portada { min-height: clamp(640px, 94svh, 940px); }
.dz-pagina .dz-titular h1 {
  margin: 0.4rem 0 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 9.4vw, 6.4rem); line-height: 0.9; letter-spacing: 0.01em; color: #f3e6d2;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.9); text-wrap: balance;
}
.dz-pagina .dz-titular h1 span { display: block; background: linear-gradient(100deg, #ffe27a 0%, #ff9a2b 30%, #ff4a1a 60%, #ffb347 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: dz-llama 6s ease-in-out infinite alternate; filter: drop-shadow(0 0 22px rgba(255, 90, 20, 0.5)); }
.dz-pagina .dz-portada::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; box-shadow: inset 0 0 180px rgba(120, 8, 0, 0.7); animation: dz-fin-latido 2.4s ease-in-out infinite; }
.lz-baja {
  position: absolute; z-index: 6; left: 50%; bottom: 1.2rem; transform: translateX(-50%); display: inline-flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: #f3e6d2; text-decoration: none; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; text-shadow: 0 2px 12px #000;
}
.lz-baja::after { content: ""; width: 0.65rem; height: 0.65rem; border-right: 2px solid #ff6a1f; border-bottom: 2px solid #ff6a1f; transform: rotate(45deg); animation: lz-baja 1.6s ease-in-out infinite; }
@keyframes lz-baja { 0%, 100% { transform: translateY(-3px) rotate(45deg); opacity: 0.4; } 50% { transform: translateY(5px) rotate(45deg); opacity: 1; } }
.lz-baja:hover { color: #ffc9a0; }

/* ---------- secciones ---------- */
.lz-sec { position: relative; isolation: isolate; padding-block: clamp(3.6rem, 9vw, 7rem); }
.lz-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 50% at 50% 0%, rgba(255, 90, 20, 0.12), transparent 70%); }
.lz-sec:nth-of-type(even) { background: linear-gradient(180deg, var(--lz-noche-2), var(--lz-noche)); }
.lz-sec + .lz-sec { border-top: 1px solid rgba(255, 106, 31, 0.14); }
.lz-cab { text-align: center; margin: 0 auto clamp(2rem, 5vw, 3.4rem); max-width: 62ch; }
.lz-et { margin: 0; display: inline-flex; align-items: center; gap: 0.8em; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: #ff8a52; }
.lz-et::before, .lz-et::after { content: ""; width: 2.4rem; height: 1px; background: linear-gradient(90deg, transparent, #ff6a1f); }
.lz-et::after { transform: scaleX(-1); }
.lz-cab h2 {
  margin: 0.7rem 0 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; text-wrap: balance;
  font-size: clamp(2rem, 6.4vw, 3.9rem); line-height: 1; letter-spacing: 0.01em;
  background: linear-gradient(180deg, #fff3dc 0%, #f3e6d2 40%, #ff9a52 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.lz-cab p { margin: 1rem auto 0; color: var(--lz-apagado); font-size: clamp(0.98rem, 2.4vw, 1.12rem); line-height: 1.6; }

/* revelado al bajar (plan B: si el script no llega, a los 2,5 s se ve igual) */
.js .lz-rev { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease, ease), transform 0.8s var(--ease, ease); transition-delay: calc(var(--i, 0) * 0.09s); animation: lz-planb 0.01s 2.8s forwards; }
.js .lz-rev.lz-visto { opacity: 1; transform: none; animation: none; }
@keyframes lz-planb { to { opacity: 1; transform: none; } }

/* ---------- 1 · la transmisión ---------- */
.lz-tx { position: relative; max-width: 880px; margin-inline: auto; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #160b0d, #0a0608); box-shadow: 0 0 0 1px rgba(255, 106, 31, 0.4), 0 40px 100px -30px rgba(255, 70, 20, 0.5); }
.lz-tx::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.28) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }
.lz-tx-barra { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; padding: 0.75rem 1.2rem; border-bottom: 1px solid rgba(255, 106, 31, 0.28); background: rgba(255, 106, 31, 0.06); font: 700 0.72rem/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.2em; text-transform: uppercase; color: #ffb27a; }
.lz-tx-rec { display: inline-flex; align-items: center; gap: 0.5em; color: #ff5a3a; }
.lz-tx-rec::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #ff3b1f; box-shadow: 0 0 10px #ff3b1f; animation: dz-parpadeo 1.2s steps(1, end) infinite; }
.lz-tx-senal { margin-left: auto; display: inline-flex; align-items: flex-end; gap: 3px; height: 1rem; }
.lz-tx-senal i { width: 4px; background: #ff8a52; border-radius: 1px; animation: lz-senal 1.3s ease-in-out infinite; animation-delay: calc(var(--n) * -0.18s); }
@keyframes lz-senal { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.lz-tx-cuerpo { padding: clamp(1.2rem, 4vw, 2.2rem) clamp(1rem, 4vw, 2.2rem) clamp(1.4rem, 4vw, 2.4rem); }
.lz-tx-titulo { margin: 0 0 1.2rem; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 5vw, 2.5rem); line-height: 1.05; color: #ffc94d; text-shadow: 0 0 24px rgba(255, 170, 40, 0.45); }
.lz-tx-linea { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0.4rem 1rem; padding: 0.95rem 0; border-top: 1px dashed rgba(255, 255, 255, 0.1); }
.lz-tx-ico { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 10px; background: rgba(255, 106, 31, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 106, 31, 0.4); font-size: 1.15rem; line-height: 1; }
.lz-tx-linea p { margin: 0; font: 400 clamp(0.98rem, 2.5vw, 1.12rem)/1.65 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: #f3e6d2; }
.lz-tx-linea p strong { color: #ffc94d; }
.lz-tx-linea p em { color: #ff6a4a; font-style: normal; }
.js .lz-tx-linea.es-tecleando p::after { content: "▌"; margin-left: 2px; color: #ff6a1f; animation: dz-parpadeo 0.7s steps(1, end) infinite; }
.lz-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lz-tx-pregunta { margin: 1.1rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgba(255, 106, 31, 0.4); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 4.6vw, 2.3rem); line-height: 1.1; color: #fff3dc; text-wrap: balance; }
.lz-tx-pregunta span { color: #ff4a1a; text-shadow: 0 0 26px rgba(255, 60, 20, 0.8); }
.lz-tx-saltar { margin-top: 1rem; background: none; border: 0; padding: 0.3rem 0; color: #b7a99a; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lz-tx-saltar:hover { color: #ffc9a0; }

/* ---------- 2 · la crónica (línea de tiempo) ---------- */
.lz-linea { --p: 0; position: relative; max-width: 1000px; margin: 0 auto; padding: 0; list-style: none; }
.lz-linea::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: rgba(243, 230, 210, 0.1); }
.lz-linea::after { content: ""; position: absolute; top: 0; left: 50%; width: 2px; margin-left: -1px; height: calc(var(--p) * 100%); background: linear-gradient(180deg, #d1260a, #ff6a1f 60%, #ffe27a); box-shadow: 0 0 18px 2px rgba(255, 106, 31, 0.7); }
.lz-hito { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 3.6rem minmax(0, 1fr); align-items: start; margin-bottom: clamp(1.6rem, 4vw, 2.8rem); }
.lz-hito:last-child { margin-bottom: 0; }
.lz-nodo { grid-column: 2; grid-row: 1; z-index: 2; justify-self: center; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: #0b0709; box-shadow: 0 0 0 2px rgba(243, 230, 210, 0.2); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: #7d6f64; transition: color 0.4s, box-shadow 0.4s, background 0.4s; }
.lz-hito.es-activo .lz-nodo { color: #ffe27a; background: #1c0b07; box-shadow: 0 0 0 2px #ff6a1f, 0 0 0 7px rgba(255, 106, 31, 0.15), 0 0 26px rgba(255, 106, 31, 0.85); }
.lz-hito-c { grid-row: 1; padding: clamp(1rem, 2.6vw, 1.5rem); border-radius: 14px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); transition: box-shadow 0.4s, background 0.4s; }
.lz-hito.es-activo .lz-hito-c { box-shadow: inset 0 0 0 1px rgba(255, 106, 31, 0.5), 0 22px 50px -26px rgba(255, 90, 20, 0.6); background: linear-gradient(160deg, rgba(255, 106, 31, 0.1), rgba(255, 255, 255, 0.015)); }
.lz-hito:nth-child(odd) .lz-hito-c { grid-column: 1; text-align: right; }
.lz-hito:nth-child(even) .lz-hito-c { grid-column: 3; }
.lz-hito-c h3 { margin: 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.25rem, 3.4vw, 1.7rem); line-height: 1.05; color: #fff3dc; }
.lz-hito-c p { margin: 0.55rem 0 0; color: var(--lz-apagado); line-height: 1.6; }
.lz-chip { display: inline-block; margin-top: 0.8rem; padding: 0.3rem 0.75rem; border-radius: 99px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; background: rgba(255, 255, 255, 0.06); color: #d9cbb9; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.lz-chip.es-rojo { color: #ff7a5a; background: rgba(209, 38, 10, 0.2); box-shadow: inset 0 0 0 1px rgba(255, 90, 50, 0.6); animation: dz-parpadeo 1.4s steps(1, end) infinite; }
.lz-chip.es-ambar { color: #ffc94d; background: rgba(255, 170, 40, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 190, 70, 0.5); }
.lz-hito.es-sin-escribir .lz-hito-c { border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0 10px, transparent 10px 20px); }
.lz-hito.es-sin-escribir .lz-nodo { animation: dz-parpadeo 1.8s steps(1, end) infinite; }

@media (max-width: 760px) {
  .lz-linea::before, .lz-linea::after { left: 1.6rem; }
  .lz-hito { grid-template-columns: 3.2rem minmax(0, 1fr); column-gap: 0.9rem; }
  .lz-nodo { grid-column: 1 !important; justify-self: start; }
  .lz-hito:nth-child(n) .lz-hito-c { grid-column: 2; text-align: left; }
}

/* ---------- 3 · el expediente de la diosa ---------- */
.lz-exp { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(1.6rem, 5vw, 4rem); align-items: center; max-width: 1080px; margin-inline: auto; }
.lz-sello { position: relative; width: min(100%, 440px); margin-inline: auto; aspect-ratio: 1; }
.lz-sello svg { width: 100%; height: 100%; display: block; overflow: visible; }
.lz-sello .lz-anillo-a { transform-origin: 200px 200px; animation: lz-gira 60s linear infinite; }
.lz-sello .lz-anillo-b { transform-origin: 200px 200px; animation: lz-gira 38s linear infinite reverse; }
.lz-sello .lz-ojo-d { transform-origin: 200px 150px; animation: lz-ojo 6.5s ease-in-out infinite; }
.lz-sello .lz-lava { animation: dz-pulso 2.6s ease-in-out infinite; transform-origin: 200px 255px; }
@keyframes lz-gira { to { transform: rotate(360deg); } }
@keyframes lz-ojo { 0%, 42%, 52%, 100% { transform: scaleY(1); } 47% { transform: scaleY(0.08); } }
.lz-ficha { position: relative; padding: clamp(1.3rem, 3.4vw, 2.2rem); border-radius: 16px; background: linear-gradient(170deg, #17090a, #0b0608); box-shadow: inset 0 0 0 1px rgba(255, 106, 31, 0.35), 0 30px 80px -30px rgba(255, 70, 20, 0.45); }
.lz-sellado { position: absolute; top: 1.1rem; right: 1.1rem; transform: rotate(7deg); padding: 0.25rem 0.7rem; border: 2px solid #d1260a; border-radius: 4px; color: #ff4a2b; font: 800 0.85rem/1 var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.85; }
.lz-ficha h3 { margin: 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.7rem, 5vw, 2.6rem); line-height: 1; color: #fff3dc; padding-right: 7rem; }
.lz-ficha h3 small { display: block; margin-bottom: 0.35rem; font-size: 0.72rem; font-weight: 700; line-height: 1; letter-spacing: 0.3em; color: #ff8a52; }
.lz-dl { margin: 1.2rem 0 0; display: grid; }
.lz-dl > div { display: grid; grid-template-columns: minmax(7rem, 0.8fr) minmax(0, 1.4fr); gap: 0.2rem 1rem; align-items: baseline; padding: 0.65rem 0; border-top: 1px dotted rgba(255, 255, 255, 0.18); }
.lz-dl dt { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #8d7f72; }
.lz-dl dd { margin: 0; color: #f3e6d2; line-height: 1.5; }
.lz-amenaza { display: inline-flex; gap: 4px; vertical-align: middle; }
.lz-amenaza i { width: 1.35rem; height: 0.7rem; border-radius: 2px; background: #ff4a1a; box-shadow: 0 0 10px rgba(255, 60, 20, 0.8); animation: lz-amenaza 2.4s ease-in-out infinite; animation-delay: calc(var(--n) * 0.12s); }
@keyframes lz-amenaza { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.lz-censura { display: inline-block; padding: 0 0.5em; border-radius: 2px; background: #000; color: transparent; user-select: none; cursor: help; transition: background 0.4s, color 0.4s; }
.lz-censura:hover, .lz-censura:focus-visible { background: #1a0a0c; color: #ff8a52; }
.lz-estado-v { color: #ff4a2b; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; animation: dz-parpadeo 1.6s steps(1, end) infinite; }
@media (max-width: 820px) { .lz-exp { grid-template-columns: 1fr; } .lz-sello { width: min(78%, 340px); } .lz-dl > div { grid-template-columns: 1fr; } .lz-ficha h3 { padding-right: 0; margin-top: 1.6rem; } }

/* ---------- 4 · el manual del superviviente ---------- */
.lz-reglas { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.8rem, 2vw, 1.3rem); }
.lz-regla { --mx: 50%; --my: 0%; position: relative; overflow: hidden; padding: clamp(1.2rem, 3vw, 1.7rem); border-radius: 16px; background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); transition: transform 0.35s var(--ease, ease), box-shadow 0.35s; }
.lz-regla::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(circle 190px at var(--mx) var(--my), rgba(255, 140, 60, 0.22), transparent 70%); }
.lz-regla:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(255, 106, 31, 0.6), 0 24px 50px -24px rgba(255, 90, 20, 0.6); }
.lz-regla:hover::before { opacity: 1; }
.lz-regla-n { position: absolute; top: 0.8rem; right: 1rem; font: 800 2.6rem/1 var(--font-display); color: rgba(255, 255, 255, 0.05); }
.lz-regla-ico { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 12px; background: rgba(255, 106, 31, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 106, 31, 0.45), 0 0 22px -6px rgba(255, 90, 20, 0.8); color: #ff8a52; }
.lz-regla-ico svg { width: 1.7rem; height: 1.7rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lz-regla h3 { margin: 1rem 0 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; line-height: 1.05; color: #fff3dc; }
.lz-regla p { margin: 0.5rem 0 0; color: var(--lz-apagado); line-height: 1.55; font-size: 0.97rem; }
.lz-regla.es-mortal .lz-regla-ico { color: #ff4a2b; box-shadow: inset 0 0 0 1px rgba(255, 60, 30, 0.7), 0 0 26px -4px rgba(255, 40, 10, 0.9); }
@media (max-width: 900px) { .lz-reglas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lz-reglas { grid-template-columns: 1fr; } }

/* ---------- 5 · el radar ---------- */
.lz-radar-caja { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.4rem, 4vw, 3rem); align-items: center; max-width: 1080px; margin-inline: auto; }
.lz-radar { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: radial-gradient(circle, rgba(255, 106, 31, 0.1), rgba(7, 5, 10, 0.95) 72%); box-shadow: 0 0 0 2px rgba(255, 106, 31, 0.45), 0 0 80px -10px rgba(255, 90, 20, 0.5), inset 0 0 60px rgba(0, 0, 0, 0.8); overflow: hidden; }
.lz-radar-barrido { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 292deg, rgba(255, 130, 40, 0.5) 358deg, rgba(255, 220, 140, 0.85) 360deg); animation: lz-gira 6s linear infinite; }
.lz-radar svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lz-radar circle.lz-aro { fill: none; stroke: rgba(255, 106, 31, 0.28); stroke-width: 1; }
.lz-radar line { stroke: rgba(255, 106, 31, 0.22); stroke-width: 1; }
.lz-blip { cursor: pointer; outline: none; }
.lz-blip .lz-blip-p { fill: #ffe27a; filter: drop-shadow(0 0 5px #ff6a1f); }
.lz-blip .lz-blip-onda { fill: none; stroke: #ff6a1f; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: lz-onda 3s ease-out infinite; animation-delay: var(--d, 0s); }
.lz-blip text { font: 800 11px var(--font-display, sans-serif); fill: #1a0a05; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.lz-blip .lz-blip-halo { fill: rgba(255, 106, 31, 0.18); stroke: rgba(255, 106, 31, 0.5); transform-box: fill-box; transform-origin: center; transition: transform 0.3s; }
.lz-blip.es-activo .lz-blip-halo, .lz-blip:focus-visible .lz-blip-halo { transform: scale(1.9); fill: rgba(255, 140, 60, 0.4); }
.lz-blip.es-activo .lz-blip-p { fill: #fff3dc; }
@keyframes lz-onda { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
.lz-lugares { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.lz-lugar { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); gap: 0.2rem 0.9rem; align-items: start; padding: 0.8rem 1rem; border-radius: 12px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); transition: background 0.3s, box-shadow 0.3s; outline: none; }
.lz-lugar:hover, .lz-lugar:focus-visible, .lz-lugar.es-activo { background: rgba(255, 106, 31, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 106, 31, 0.6); }
.lz-lugar b { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: #ffb347; color: #1a0a05; font: 800 1rem/1 var(--font-display); grid-row: span 2; }
.lz-lugar h3 { margin: 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.12rem; line-height: 1.1; color: #fff3dc; }
.lz-lugar p { margin: 0; color: var(--lz-apagado); font-size: 0.92rem; line-height: 1.45; }
@media (max-width: 820px) { .lz-radar-caja { grid-template-columns: 1fr; } .lz-radar { width: min(86%, 380px); } }

/* ---------- 6 · la oscuridad (la linterna) ---------- */
.lz-oscuro { position: relative; --x: 50%; --y: 50%; min-height: clamp(440px, 74vw, 620px); display: grid; place-items: center; overflow: hidden; border-radius: 18px; background: #020103; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 40px 100px -40px #000; cursor: none; touch-action: pan-y; max-width: 1080px; margin-inline: auto; user-select: none; -webkit-user-select: none; }
.lz-oscuro-ayuda { position: relative; z-index: 3; margin: 0; padding: 0 1rem; text-align: center; color: #5b5048; font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; pointer-events: none; transition: opacity 0.6s; }
.lz-oscuro.es-tocado .lz-oscuro-ayuda { opacity: 0; }
.lz-oscuro-palabras { position: absolute; inset: 0; z-index: 2; margin: 0; padding: 0; list-style: none; -webkit-mask-image: radial-gradient(circle 150px at var(--x) var(--y), #000 0%, rgba(0, 0, 0, 0.75) 38%, transparent 100%); mask-image: radial-gradient(circle 150px at var(--x) var(--y), #000 0%, rgba(0, 0, 0, 0.75) 38%, transparent 100%); }
.lz-oscuro-palabras li { position: absolute; left: var(--l); top: var(--t); transform: translate(-50%, -50%) rotate(var(--r, 0deg)); white-space: nowrap; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--s, clamp(1.1rem, 3.6vw, 2rem)); letter-spacing: 0.08em; color: #ff5a2e; text-shadow: 0 0 18px rgba(255, 50, 10, 0.85), 0 0 50px rgba(209, 38, 10, 0.7); }
.lz-oscuro-palabras li.es-grande { --s: clamp(1.5rem, 5.4vw, 3.2rem); white-space: normal; width: 84%; text-align: center; line-height: 1; color: #fff3dc; text-shadow: 0 0 20px rgba(255, 140, 60, 0.9), 0 0 60px rgba(255, 60, 20, 0.7); }
.lz-oscuro-luz { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle 170px at var(--x) var(--y), rgba(255, 190, 120, 0.2), rgba(255, 130, 60, 0.07) 55%, transparent 100%); }
.lz-oscuro-vineta { position: absolute; inset: 0; z-index: 4; pointer-events: none; box-shadow: inset 0 0 120px 20px #000; }
@media (hover: none) { .lz-oscuro { cursor: default; } }

/* ---------- 7 · la señal cifrada ---------- */
.lz-cifra { max-width: 860px; margin-inline: auto; padding: clamp(1.3rem, 4vw, 2.4rem); border-radius: 18px; text-align: center; background: linear-gradient(180deg, #120a10, #0a0608); box-shadow: inset 0 0 0 1px rgba(255, 106, 31, 0.35), 0 30px 90px -30px rgba(255, 70, 20, 0.4); }
.lz-cifra-texto { margin: 0; min-height: 3.3em; display: grid; place-items: center; font: 800 clamp(1.15rem, 4.6vw, 2.2rem)/1.25 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: 0.12em; color: #ff8a52; text-shadow: 0 0 18px rgba(255, 90, 20, 0.5); word-break: break-word; transition: color 0.4s, text-shadow 0.4s; }
.lz-cifra.es-resuelta .lz-cifra-texto { color: #fff3dc; text-shadow: 0 0 20px rgba(255, 190, 90, 0.9), 0 0 60px rgba(255, 90, 20, 0.7); }
.lz-cifra-mando { display: flex; align-items: center; justify-content: center; gap: 0.9rem; margin-top: 1.4rem; }
.lz-cifra-mando button { flex: none; min-width: 0; padding: 0; width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 106, 31, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 106, 31, 0.55); color: #ffb27a; font-size: 1.2rem; line-height: 1; }
.lz-cifra-mando button:hover { background: rgba(255, 106, 31, 0.3); color: #fff3dc; }
.lz-cifra-mando input[type="range"] { flex: 1 1 auto; max-width: 420px; accent-color: #ff6a1f; }
.lz-cifra-pos { margin: 0.7rem 0 0; font: 700 0.78rem/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.24em; text-transform: uppercase; color: #8d7f72; }
.lz-cifra-pista { margin: 1rem 0 0; color: var(--lz-apagado); font-style: italic; }
.lz-cifra-ok { margin: 1.2rem 0 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.1rem, 3.6vw, 1.6rem); color: #ffc94d; }
.lz-cifra-ok[hidden] { display: none; }

/* ---------- 8 · la galería ---------- */
.lz-galeria { max-width: 1180px; margin-inline: auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(0.5rem, 1.4vw, 0.9rem); }
.lz-foto { position: relative; grid-column: span 4; margin: 0; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: #0b0709; aspect-ratio: 16 / 10; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.lz-foto:nth-child(6n + 1) { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; }
.lz-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease, ease), filter 0.5s; filter: saturate(0.9) contrast(1.05); }
.lz-foto::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(7, 5, 10, 0.85)), radial-gradient(120% 90% at 50% 120%, rgba(209, 38, 10, 0.35), transparent 70%); opacity: 0.8; transition: opacity 0.4s; }
.lz-foto:hover img, .lz-foto:focus-visible img { transform: scale(1.06); filter: saturate(1.15) contrast(1.1); }
.lz-foto:hover { box-shadow: inset 0 0 0 2px #ff6a1f, 0 20px 50px -20px rgba(255, 90, 20, 0.7); }
.lz-foto figcaption, .lz-foto > span { position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.7rem; z-index: 2; text-align: left; font-size: 0.82rem; color: #f3e6d2; text-shadow: 0 2px 10px #000; }
@media (max-width: 760px) { .lz-foto, .lz-foto:nth-child(6n + 1) { grid-column: span 12; grid-row: auto; aspect-ratio: 16 / 9; } .lz-foto:nth-child(n + 2) { grid-column: span 6; aspect-ratio: 4 / 3; } }
.lz-visor { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 2.4rem 3.4rem; background: rgba(2, 1, 3, 0.94); backdrop-filter: blur(6px); }
.lz-visor.es-abierto { display: flex; }
.lz-visor figure { margin: 0; max-width: 100%; max-height: 100%; display: grid; gap: 0.8rem; justify-items: center; }
.lz-visor img { max-width: 100%; max-height: 80svh; object-fit: contain; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 106, 31, 0.5), 0 40px 120px rgba(255, 70, 20, 0.35); }
.lz-visor figcaption { color: #d9cbb9; text-align: center; max-width: 70ch; font-size: 0.95rem; }
.lz-visor button { position: absolute; min-width: 0; padding: 0; width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 106, 31, 0.18); box-shadow: inset 0 0 0 1px rgba(255, 106, 31, 0.6); color: #fff3dc; font-size: 1.4rem; line-height: 1; }
.lz-visor button:hover { background: rgba(255, 106, 31, 0.45); }
.lz-visor .lz-v-cerrar { top: 1rem; right: 1rem; }
.lz-visor .lz-v-ant { left: 0.7rem; top: 50%; transform: translateY(-50%); }
.lz-visor .lz-v-sig { right: 0.7rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) { .lz-visor { padding: 3.6rem 0.6rem 2rem; } .lz-visor .lz-v-ant, .lz-visor .lz-v-sig { top: auto; bottom: 0.6rem; transform: none; } }

/* ---------- 9 · el final ---------- */
.lz-final { text-align: center; background: radial-gradient(80% 70% at 50% 100%, rgba(209, 38, 10, 0.42), transparent 70%), var(--lz-noche); }
.lz-final::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; box-shadow: inset 0 0 200px rgba(120, 8, 0, 0.8); animation: dz-fin-latido 2.4s ease-in-out infinite; }
.lz-final h2 { margin: 0.8rem auto 0; max-width: 16ch; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; text-wrap: balance; font-size: clamp(2.4rem, 9.6vw, 6.4rem); line-height: 0.94; color: #f3e6d2; text-shadow: 0 0 40px rgba(255, 60, 20, 0.4); }
.lz-final h2 b { color: #ff4a1a; font-weight: inherit; text-shadow: 0 0 26px rgba(255, 60, 20, 0.95), 0 0 80px rgba(209, 38, 10, 0.8); }
.lz-final h2 b:last-child { animation: dz-fin-glitch 5.5s steps(1, end) infinite; }
.lz-final p { max-width: 54ch; margin: 1.4rem auto 0; color: var(--lz-apagado); font-size: clamp(1rem, 2.6vw, 1.2rem); line-height: 1.6; }
.lz-final .dz-botones { justify-content: center; margin-top: 1.8rem; }
.lz-final-cuenta { margin: 1.6rem 0 0; font: 700 0.8rem/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.24em; text-transform: uppercase; color: #ff7a52; }
.lz-final-cuenta b { color: #ffc94d; }

/* ============================================================
   SEGUNDA MANO DE PINTURA
   Más profundidad, más vida y pensado para el pulgar:
   ceniza que cae, montañas entre secciones, la señal que vibra,
   carruseles en el móvil, la oscuridad con marcador y la cuenta
   atrás que te sigue.
   ============================================================ */

/* ---------- ceniza y brasas que caen por toda la página ---------- */
.lz-ceniza { position: fixed; inset: 0; z-index: 4; width: 100%; height: 100%; pointer-events: none; }

/* ---------- las montañas entre secciones ---------- */
.lz-borde { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(30px, 6vw, 72px); pointer-events: none; z-index: 1; --lz-top: #07050a; }
.lz-sec:nth-of-type(even) .lz-borde { --lz-top: #120a10; }
.lz-borde svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lz-borde .f { fill: var(--lz-top); }
.lz-borde .l { fill: none; stroke: #ff6a1f; stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 5px rgba(255, 106, 31, 0.9)); opacity: 0.85; }

/* ---------- la portada: el paisaje se acerca y el texto se aleja al bajar ---------- */
.dz-pagina { --py: 0; }
.dz-pagina .dz-escena { transform: scale(calc(1 + var(--py) * 0.07)); transform-origin: 50% 100%; will-change: transform; }
.dz-pagina .dz-titular { transform: translate3d(0, calc(var(--py) * -42px), 0); opacity: calc(1 - var(--py) * 0.9); }
.dz-pagina .lz-baja { opacity: calc(1 - var(--py) * 4); }
.dz-pagina .dz-titular h1 span:first-child { animation: dz-llama 6s ease-in-out infinite alternate, lz-h1-glitch 9s steps(1, end) infinite; }
@keyframes lz-h1-glitch {
  0%, 93%, 100% { text-shadow: none; transform: none; }
  94% { text-shadow: 3px 0 #29e7ff, -3px 0 #ff2a5f; transform: translateX(-3px); }
  96% { text-shadow: -3px 0 #29e7ff, 3px 0 #ff2a5f; transform: translateX(3px) skewX(-4deg); }
  98% { text-shadow: 2px 0 #29e7ff, -2px 0 #ff2a5f; transform: none; }
}

/* ---------- la señal de radio ---------- */
.lz-onda { display: flex; align-items: center; justify-content: space-between; gap: 2px; height: 2.4rem; padding: 0 1.2rem; background: linear-gradient(180deg, rgba(255, 106, 31, 0.08), transparent); border-bottom: 1px solid rgba(255, 106, 31, 0.18); overflow: hidden; }
.lz-onda i { flex: 1 1 0; min-width: 2px; max-width: 8px; height: 100%; border-radius: 2px; background: linear-gradient(180deg, #ffe27a, #ff6a1f 55%, #d1260a); transform: scaleY(0.12); transform-origin: 50% 50%; opacity: 0.8; transition: transform 0.6s ease; }
.lz-tx.es-activo .lz-onda i { animation: lz-onda 0.9s ease-in-out infinite; animation-delay: calc(var(--n) * -0.07s); }
@keyframes lz-onda { 0%, 100% { transform: scaleY(0.12); } 50% { transform: scaleY(var(--h)); } }
.lz-tx.es-activo .lz-tx-barra { animation: lz-tx-aberra 4s steps(1, end) infinite; }
@keyframes lz-tx-aberra { 0%, 94%, 100% { text-shadow: none; } 95% { text-shadow: 2px 0 #29e7ff, -2px 0 #ff2a5f; } 97% { text-shadow: -2px 0 #29e7ff, 2px 0 #ff2a5f; } }

/* ---------- el expediente: el sello flota y el CONFIDENCIAL cae de golpe ---------- */
.lz-sello { perspective: 900px; }
.lz-sello svg { animation: lz-flota 9s ease-in-out infinite alternate; transform-style: preserve-3d; }
@keyframes lz-flota { from { transform: rotateY(-9deg) rotateX(4deg); } to { transform: rotateY(9deg) rotateX(-4deg) translateY(-6px); } }
.js .lz-sellado { opacity: 0; }
.js .lz-ficha.lz-visto .lz-sellado { animation: lz-sellar 0.6s 0.7s cubic-bezier(0.2, 1.5, 0.4, 1) both; }
@keyframes lz-sellar { 0% { opacity: 0; transform: rotate(-14deg) scale(3.2); } 55% { opacity: 1; transform: rotate(7deg) scale(0.9); } 75% { transform: rotate(7deg) scale(1.04); } 100% { opacity: 0.88; transform: rotate(7deg) scale(1); } }

/* ---------- las tarjetas del manual y los lugares: puntos del carrusel ---------- */
.lz-puntos { display: none; }

/* ---------- la oscuridad: cuántos has hallado ---------- */
.lz-oscuro-cuenta { position: absolute; z-index: 5; top: 0.9rem; left: 50%; transform: translateX(-50%); margin: 0; display: inline-flex; align-items: center; gap: 0.6em; padding: 0.4rem 0.9rem; border-radius: 99px; background: rgba(7, 5, 10, 0.78); box-shadow: inset 0 0 0 1px rgba(255, 106, 31, 0.4); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #b7a99a; pointer-events: none; white-space: nowrap; }
.lz-oscuro-cuenta b { color: #ffc94d; font-size: 0.86rem; letter-spacing: 0.1em; }
.lz-oscuro-cuenta.es-nuevo { animation: lz-nuevo 0.7s ease-out; }
@keyframes lz-nuevo { 0% { box-shadow: inset 0 0 0 1px rgba(255, 106, 31, 0.4), 0 0 0 0 rgba(255, 106, 31, 0.9); } 100% { box-shadow: inset 0 0 0 1px rgba(255, 106, 31, 0.4), 0 0 0 18px rgba(255, 106, 31, 0); } }
.lz-oscuro-huella { position: absolute; inset: 0; z-index: 1; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.lz-oscuro-huella li { position: absolute; left: var(--l); top: var(--t); transform: translate(-50%, -50%) rotate(var(--r, 0deg)); width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #ff5a2e; box-shadow: 0 0 14px 4px rgba(255, 70, 20, 0.7); opacity: 0; transition: opacity 0.6s; }
.lz-oscuro-huella li.es-hallada { opacity: 0.55; animation: dz-parpadeo 2.4s steps(1, end) infinite; }
.lz-oscuro-final { position: absolute; inset: 0; z-index: 6; display: grid; place-content: center; justify-items: center; gap: 1.2rem; padding: 1.4rem; text-align: center; background: radial-gradient(70% 70% at 50% 50%, rgba(209, 38, 10, 0.4), rgba(2, 1, 3, 0.94)); cursor: default; }
.lz-oscuro-final[hidden] { display: none; }
.lz-oscuro-final p { margin: 0; max-width: 28ch; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 5vw, 2.3rem); line-height: 1.05; color: #fff3dc; text-shadow: 0 0 30px rgba(255, 90, 20, 0.7); text-wrap: balance; }
.lz-oscuro-cerrar { position: absolute; top: 0.7rem; right: 0.7rem; min-width: 0; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255, 255, 255, 0.08); color: #f3e6d2; font-size: 1.1rem; line-height: 1; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.lz-oscuro.es-completo .lz-oscuro-palabras { -webkit-mask-image: none; mask-image: none; opacity: 0.18; }

/* ---------- la rueda de la señal: pensada para el pulgar ---------- */
.lz-cifra-mando input[type="range"] { -webkit-appearance: none; appearance: none; height: 2.75rem; background: transparent; cursor: pointer; touch-action: pan-y; }
.lz-cifra-mando input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, #ff6a1f var(--rp, 0%), rgba(255, 255, 255, 0.14) var(--rp, 0%)); }
.lz-cifra-mando input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.14); }
.lz-cifra-mando input[type="range"]::-moz-range-progress { height: 8px; border-radius: 99px; background: #ff6a1f; }
.lz-cifra-mando input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 2rem; height: 2rem; margin-top: -12px; border-radius: 50%; border: 0; background: radial-gradient(circle at 35% 30%, #fff3dc, #ffb347 45%, #ff6a1f); box-shadow: 0 0 0 4px rgba(255, 106, 31, 0.25), 0 0 20px rgba(255, 106, 31, 0.8); }
.lz-cifra-mando input[type="range"]::-moz-range-thumb { width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3dc, #ffb347 45%, #ff6a1f); box-shadow: 0 0 0 4px rgba(255, 106, 31, 0.25), 0 0 20px rgba(255, 106, 31, 0.8); }
.lz-cifra-mando button { width: 3rem; height: 3rem; }
.lz-cifra.es-resuelta { animation: lz-resuelta 1.1s ease-out; }
@keyframes lz-resuelta { 0% { box-shadow: inset 0 0 0 1px rgba(255, 106, 31, 0.35), 0 0 0 0 rgba(255, 200, 90, 0.9); } 100% { box-shadow: inset 0 0 0 1px rgba(255, 106, 31, 0.35), 0 0 0 40px rgba(255, 200, 90, 0); } }
.lz-cifra-ok .lz-compartir { margin-top: 0.9rem; }

/* ---------- la cuenta atrás que te sigue ---------- */
.lz-mini { position: fixed; z-index: 65; left: max(0.8rem, env(safe-area-inset-left, 0px)); bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 0.6em; min-height: 2.75rem; padding: 0.4rem 0.95rem; border-radius: 99px; text-decoration: none; background: rgba(12, 6, 8, 0.9); color: #f3e6d2; box-shadow: inset 0 0 0 1px rgba(255, 106, 31, 0.6), 0 8px 26px rgba(0, 0, 0, 0.6), 0 0 22px -4px rgba(255, 70, 20, 0.7); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 0.35s, transform 0.35s; }
.lz-mini[hidden] { display: none; }
.lz-mini.es-visible { opacity: 1; transform: none; pointer-events: auto; }
.lz-mini::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #ff3b1f; box-shadow: 0 0 10px #ff3b1f; animation: dz-parpadeo 1.2s steps(1, end) infinite; }
.lz-mini b { color: #ffc94d; font-size: 0.85rem; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }

/* ---------- compartir ---------- */
.lz-compartir { cursor: pointer; }

/* ---------- radar: zona de toque grande ---------- */
.lz-blip-hit { fill: transparent; }

/* ============================================================
   EN EL MÓVIL
   Lo que se toca es grande, lo que se recorre con el pulgar se
   desliza de lado en vez de alargar la página, y lo que solo
   existe con ratón no estorba.
   ============================================================ */
@media (max-width: 820px) {
  .lz-lugares.lz-carrusel { display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; margin-inline: calc(var(--wrap-gap, 1rem) * -1); padding: 0.4rem var(--wrap-gap, 1rem) 0.8rem; scrollbar-width: none; scroll-padding-inline: var(--wrap-gap, 1rem); }
  .lz-lugares.lz-carrusel::-webkit-scrollbar { display: none; }
  .lz-lugares.lz-carrusel .lz-lugar { flex: 0 0 min(78%, 20rem); scroll-snap-align: center; align-content: start; }
}
@media (max-width: 760px) {
  .lz-main { --wrap-gap: 1rem; }
  .lz-reglas.lz-carrusel { display: flex; gap: 0.8rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; margin-inline: -1rem; padding: 0.6rem 1rem 0.9rem; scrollbar-width: none; scroll-padding-inline: 1rem; max-width: none; }
  .lz-reglas.lz-carrusel::-webkit-scrollbar { display: none; }
  .lz-reglas.lz-carrusel .lz-regla { flex: 0 0 min(80%, 19rem); scroll-snap-align: center; }
  .lz-puntos { display: flex; justify-content: center; gap: 0.55rem; margin-top: 0.4rem; }
  .lz-puntos button { width: 1.6rem; height: 1.6rem; padding: 0; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; cursor: pointer; }
  .lz-puntos button::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: rgba(243, 230, 210, 0.28); transition: background 0.25s, transform 0.25s, box-shadow 0.25s; }
  .lz-puntos button.es-activo::before { background: #ff6a1f; transform: scale(1.5); box-shadow: 0 0 12px rgba(255, 106, 31, 0.9); }
  .lz-sec { padding-block: clamp(3rem, 12vw, 4.4rem); }
  .lz-cab { margin-bottom: 1.8rem; }
  .lz-cab h2 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .lz-et { font-size: 0.7rem; letter-spacing: 0.22em; text-align: center; }
  .lz-et::before, .lz-et::after { width: 1.2rem; flex: none; }
  .lz-cab p { font-size: 1rem; }
  .lz-tx-barra { padding-inline: 0.9rem; gap: 0.5rem; font-size: 0.64rem; letter-spacing: 0.14em; }
  .lz-onda { padding-inline: 0.9rem; height: 2rem; }
  .lz-tx-linea { grid-template-columns: 2.1rem minmax(0, 1fr); gap: 0.2rem 0.75rem; }
  .lz-tx-ico { width: 2.1rem; height: 2.1rem; }
  .lz-tx-linea p { font-size: 0.97rem; line-height: 1.6; }
  .lz-tx-saltar { min-height: 2.75rem; padding-inline: 0.2rem; }
  .lz-hito-c { padding: 0.95rem 1rem; }
  .lz-oscuro { min-height: 30rem; border-radius: 14px; }
  .lz-oscuro-ayuda { font-size: 0.72rem; letter-spacing: 0.22em; }
  .lz-oscuro-palabras { -webkit-mask-image: radial-gradient(circle 130px at var(--x) var(--y), #000 0%, rgba(0, 0, 0, 0.75) 38%, transparent 100%); mask-image: radial-gradient(circle 130px at var(--x) var(--y), #000 0%, rgba(0, 0, 0, 0.75) 38%, transparent 100%); }
  .lz-oscuro-cuenta { top: 0.7rem; font-size: 0.64rem; padding: 0.35rem 0.75rem; }
  .lz-cifra { padding: 1.2rem 0.9rem 1.4rem; }
  .lz-cifra-mando { gap: 0.5rem; }
  .lz-final h2 { font-size: clamp(2.2rem, 12vw, 3.4rem); }
  .lz-final .dz-botones { flex-direction: column; align-items: stretch; max-width: 22rem; margin-inline: auto; }
  .lz-final .dz-botones .btn { justify-content: center; min-height: 3rem; }
  .lz-exp { gap: 0.4rem; }
  .lz-ficha { padding: 1.2rem 1rem 1.3rem; }
  .lz-sellado { top: 0.8rem; right: 0.8rem; font-size: 0.74rem; }
  .lz-radar { width: min(92%, 340px); }
  .dz-pagina .dz-portada { min-height: max(640px, 100svh); }
  .dz-pagina .dz-estado { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45rem; }
  .dz-pagina .dz-estado li { padding: 0.5rem 0.55rem; min-width: 0; }
  .dz-pagina .dz-estado b { font-size: 0.8rem; line-height: 1.2; }
  .dz-pagina .dz-estado small { font-size: 0.6rem; letter-spacing: 0.14em; }
  .lz-baja { bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px)); white-space: nowrap; letter-spacing: 0.2em; font-size: 0.68rem; }
  .lz-visor .lz-v-cerrar { top: max(0.7rem, env(safe-area-inset-top, 0px)); right: 0.7rem; width: 3rem; height: 3rem; }
  .lz-visor .lz-v-ant, .lz-visor .lz-v-sig { width: 3rem; height: 3rem; bottom: calc(0.8rem + env(safe-area-inset-bottom, 0px)); }
  .lz-visor .lz-v-ant { left: 1rem; }
  .lz-visor .lz-v-sig { right: 1rem; }
}
/* sin ratón: nada de levantar tarjetas ni de brillos que siguen al puntero */
@media (hover: none), (pointer: coarse) {
  .lz-regla:hover { transform: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); }
  .lz-regla:hover::before { opacity: 0; }
  .lz-foto:hover img { transform: none; }
  .lz-rail { display: none !important; }
  .lz-oscuro { cursor: default; }
}
/* móvil tumbado: la portada no necesita ser tan alta */
@media (max-height: 520px) and (orientation: landscape) {
  .dz-pagina .dz-portada { min-height: 0; }
  .lz-baja { display: none; }
  .lz-oscuro { min-height: 20rem; }
}

/* ---------- polvo de brasas pintado (sin JavaScript ni animación: vale para el móvil) ---------- */
.lz-sec::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255, 150, 70, 0.9) 0 1px, transparent 1.6px),
    radial-gradient(circle at 78% 14%, rgba(255, 200, 120, 0.8) 0 1px, transparent 1.6px),
    radial-gradient(circle at 44% 68%, rgba(255, 120, 50, 0.8) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 90% 74%, rgba(255, 170, 90, 0.7) 0 1px, transparent 1.6px),
    radial-gradient(circle at 26% 90%, rgba(207, 194, 180, 0.7) 0 1px, transparent 1.6px);
  background-size: 340px 300px, 410px 360px, 520px 440px, 380px 330px, 450px 390px;
}
/* sin ratón o sin dedo, solo se dice lo que vale */
.solo-tactil { display: none; }
@media (hover: none), (pointer: coarse) { .solo-raton { display: none; } .solo-tactil { display: inline; } }
/* la señal de radio, congelada, sigue siendo una onda en el modo ligero */
html.lite .lz-onda i { transform: scaleY(var(--h)); }

/* ---------- solo se mueve lo que se ve (lo marca lore.js) ---------- */
.lz-main.es-pausa .dz-portada:not(.es-en-vista) *, .lz-main.es-pausa .dz-portada:not(.es-en-vista) *::before, .lz-main.es-pausa .dz-portada:not(.es-en-vista) *::after,
.lz-main.es-pausa .dz-cuerpo:not(.es-en-vista) *, .lz-main.es-pausa .dz-cuerpo:not(.es-en-vista) *::before, .lz-main.es-pausa .dz-cuerpo:not(.es-en-vista) *::after,
.lz-main.es-pausa .lz-sec:not(.es-en-vista) *, .lz-main.es-pausa .lz-sec:not(.es-en-vista) *::before, .lz-main.es-pausa .lz-sec:not(.es-en-vista) *::after,
.lz-main.es-pausa .lz-sec:not(.es-en-vista)::after { animation-play-state: paused !important; }

/* ---------- el número de cada capítulo, grande y a medio ver detrás del título ---------- */
.lz-cab { position: relative; }
.lz-cab[data-n]::before {
  content: attr(data-n); position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(7rem, 34vw, 15rem); line-height: 1; letter-spacing: 0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 106, 31, 0.2); white-space: nowrap;
}
/* el borde de arriba de las tarjetas pilla la luz */
.lz-regla, .lz-hito-c, .lz-lugar, .lz-ficha, .lz-cifra { border-top: 1px solid rgba(255, 210, 150, 0.14); }
/* menos barras de la señal en pantallas pequeñas: hay menos sitio y menos que animar */
@media (max-width: 760px) { .lz-onda i:nth-child(2n) { display: none; } }

/* ---------- los caídos ---------- */
.lz-caidos { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.9rem, 2.4vw, 1.4rem); }
.lz-caido {
  position: relative; overflow: hidden; display: grid; align-content: start; gap: 0.4rem; padding: clamp(1.2rem, 3vw, 1.7rem); border-radius: 16px;
  background: linear-gradient(165deg, #1b0b0d, #0a0709);
  box-shadow: inset 0 0 0 1px rgba(255, 90, 50, 0.45), 0 22px 50px -26px rgba(255, 70, 20, 0.7);
}
.lz-caido::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 90% at 100% 0%, rgba(209, 38, 10, 0.28), transparent 70%), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px); }
.lz-caido::after {
  content: attr(data-sello); position: absolute; top: 1.1rem; right: -2.4rem; transform: rotate(35deg); padding: 0.25rem 2.7rem;
  background: #d1260a; color: #fff3dc; font: 800 0.64rem/1 var(--font-display, sans-serif); letter-spacing: 0.2em; text-transform: uppercase; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.lz-caido > * { position: relative; }
.lz-caido-ico { width: 2.6rem; height: 2.6rem; color: #ff6a4a; filter: drop-shadow(0 0 8px rgba(255, 70, 20, 0.7)); }
.lz-caido-ico svg { display: block; width: 100%; height: 100%; }
.lz-caido-nombre { margin: 0.3rem 0 0; padding-right: 3.2rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 4.4vw, 2.3rem); line-height: 1; text-transform: uppercase; color: #fff3dc; text-decoration: line-through; text-decoration-color: rgba(255, 90, 50, 0.85); text-decoration-thickness: 2px; }
.lz-caido-ep { margin: 0; font-size: 0.95rem; font-style: italic; color: #c9b4a6; }
.lz-vida { display: flex; gap: 3px; margin-top: 0.5rem; }
.lz-vida i { flex: 1 1 0; height: 0.55rem; border-radius: 2px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 90, 50, 0.35); }
.lz-vida-et { margin: 0.1rem 0 0.4rem; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #ff8a6a; }
.lz-caido-txt { margin: 0; color: var(--lz-apagado); line-height: 1.6; font-size: 0.98rem; }
.lz-caido-txt strong { color: #ff8a62; }
.lz-caido-cita { margin: 0.8rem 0 0; padding: 0.8rem 1rem; border-left: 3px solid #d1260a; background: rgba(209, 38, 10, 0.08); border-radius: 0 10px 10px 0; }
.lz-caido-cita p { margin: 0; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.92rem; line-height: 1.6; color: #f3e6d2; }
.lz-caido-cita footer { margin-top: 0.5rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #ff8a6a; }
.lz-caidos-cierre { max-width: 40ch; margin: clamp(1.6rem, 4vw, 2.4rem) auto 0; text-align: center; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.3rem, 4vw, 1.9rem); line-height: 1.1; color: #fff3dc; text-wrap: balance; }
.lz-caidos-cierre strong { color: #ff5a3a; text-shadow: 0 0 22px rgba(255, 60, 20, 0.7); }
.lz-tachado { text-decoration: line-through; text-decoration-color: rgba(255, 90, 50, 0.9); color: #ff9a7a; }
@media (max-width: 760px) { .lz-caidos { grid-template-columns: 1fr; } }

/* ---------- movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .lz-rev { opacity: 1; transform: none; transition: none; animation: none; }
  .lz-baja::after, .lz-tx-rec::before, .lz-tx-senal i, .lz-chip.es-rojo, .lz-hito.es-sin-escribir .lz-nodo, .lz-sello .lz-anillo-a, .lz-sello .lz-anillo-b,
  .lz-sello .lz-ojo-d, .lz-sello .lz-lava, .lz-amenaza i, .lz-estado-v, .lz-radar-barrido, .lz-blip .lz-blip-onda, .lz-final::after, .lz-final h2 b:last-child,
  .dz-pagina .dz-portada::after, .dz-pagina .dz-titular h1 span, .lz-sello svg, .lz-tx.es-activo .lz-onda i, .lz-tx.es-activo .lz-tx-barra, .lz-mini::before, .lz-oscuro-huella li.es-hallada, .lz-cifra.es-resuelta, .lz-ficha.lz-visto .lz-sellado { animation: none !important; }
  .js .lz-sellado { opacity: 0.88; transform: rotate(7deg); }
  .dz-pagina .dz-escena, .dz-pagina .dz-titular { transform: none; opacity: 1; }
  .lz-onda i { transform: scaleY(var(--h)); }
  .lz-ceniza { display: none; }
  .lz-puntos button::before, .lz-mini { transition: none; }
  .lz-regla, .lz-foto img { transition: none; }
}
