/* Diario Contable · «Un día con la app»: reproductor de las historias y tira de viñetas.
   El vídeo es siempre nocturno (serie-comun §3.3): sus colores no siguen al modo día de la página.
   Las capas de interfaz se maquetan en píxeles del máster (1080 × 1920 o 1920 × 1080) y se escalan. */

.solo-lector { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html:not(.js) .historias { display: none; }

/* ---------- Selectores y mandos (siguen al modo de la página) ---------- */
.historias { display: flex; flex-direction: column; gap: 16px; }
.h-selectores { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.h-grupo { display: flex; flex-wrap: wrap; gap: 8px; }
.h-opcion {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 0; background: var(--capa-2); color: var(--tinta); font: 500 15px/1.2 var(--sistema); cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--borde);
}
.h-opcion b { font-family: var(--serifa); font-weight: 600; color: var(--verde); }
.h-opcion span { font-size: 12px; color: var(--suave); }
.h-opcion[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--verde); background: var(--capa); }
.h-opcion[aria-disabled="true"] { cursor: default; color: var(--suave); background: transparent; }
.h-opcion[aria-disabled="true"] b { color: var(--suave); }
.h-opcion:not([aria-disabled="true"]):hover { background: var(--capa); }

.h-reproductor { display: flex; flex-direction: column; gap: 12px; }
.h-escenario {
  position: relative; overflow: hidden; width: 100%; border-radius: 24px; background: #0e1611; cursor: pointer;
  box-shadow: 0 0 0 1px var(--borde), var(--sombra); aspect-ratio: 9 / 16; margin: 0 auto;
  -webkit-user-select: none; user-select: none; contain: layout paint;
}
.h-escenario.e916 { width: min(100%, calc((100svh - 170px) * 9 / 16)); min-width: 260px; }
.h-escenario.e169 { aspect-ratio: 16 / 9; }
.h-escenario:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; }
.h-mundo { position: absolute; inset: 0; width: 100%; height: 100%; }
.h-capas {
  position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none;
  font-family: var(--sistema); color: #f3ecdd; line-height: 1.2; -webkit-font-smoothing: antialiased;
}
.h-capas > * { position: absolute; }

.h-mandos { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 1112px; margin: 0 auto; }
.h-escenario.e916 + .h-mandos { max-width: min(100%, calc((100svh - 170px) * 9 / 16)); min-width: 260px; }
.h-mandos .redondo { flex: none; color: var(--tinta); }
.h-mandos .redondo svg { display: block; }
.h-mandos [data-h="play"] .i-pausa, .h-mandos [data-h="play"].pausa .i-play { display: none; }
.h-mandos [data-h="play"].pausa .i-pausa { display: block; }
.h-mandos [data-h="sonido"] .i-on, .h-mandos [data-h="sonido"].on .i-off { display: none; }
.h-mandos [data-h="sonido"].on .i-on { display: block; }
.h-mandos [data-h="sonido"].on { box-shadow: inset 0 0 0 1.5px var(--verde); color: var(--verde); }
.h-barra { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.h-progreso {
  flex: 1; min-width: 0; height: 28px; margin: 0; background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none; --hecho: 0%;
}
.h-progreso::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--verde) var(--hecho), var(--pista) var(--hecho)); }
.h-progreso::-moz-range-track { height: 6px; border-radius: 3px; background: var(--pista); }
.h-progreso::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--verde); }
.h-progreso::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -5px; border-radius: 50%; background: var(--tinta); border: 0; }
.h-progreso::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--tinta); border: 0; }
.h-progreso:focus-visible { outline: 2px solid var(--verde); outline-offset: 2px; border-radius: 8px; }
.h-tiempo { flex: none; font-size: 13px; color: var(--suave); font-variant-numeric: tabular-nums; min-width: 78px; text-align: right; }
.h-nota { font-size: 13px; color: var(--suave); text-align: center; }
@media (max-width: 400px) { .h-tiempo { min-width: 0; } .h-tiempo { display: none; } }

/* ---------- Capas del vídeo (máster) ---------- */
.h-capas .num, .h-capas b, .h-capas em { font-variant-numeric: tabular-nums; }
.h-capas .v { color: #8fd19b; } .h-capas .r { color: #f0a39e; } .h-capas .a { color: #e6c066; } .h-capas .s { color: #a9a293; }

/* Subtítulo */
.h-sub {
  left: 0; right: 0; bottom: 420px; margin: 0 auto; width: max-content; max-width: 900px; text-align: center;
  padding: 16px 24px; border-radius: 16px; background: rgba(21, 32, 25, 0.88); font: 600 52px/1.2 var(--sistema); text-wrap: balance;
}
.h-sub.arriba { bottom: auto; top: 280px; }
.h-sub b { font-weight: 700; }
.e169 .h-sub, .e169 .h-sub.arriba { top: auto; bottom: 44px; right: 768px; max-width: 980px; font-size: 40px; padding: 12px 22px; }

/* Rótulo del gancho */
.h-rotulo { left: 60px; right: 60px; top: 520px; text-align: center; font: 600 96px/1.05 var(--serifa); letter-spacing: -0.02em; }
.h-rotulo > span { display: block; }
.h-rotulo.arriba { top: 480px; }
.e169 .h-rotulo { left: 1010px; right: 80px; top: 330px; text-align: left; font-size: 88px; }

/* Bocadillo del personaje */
.h-boca { width: 0; height: 0; }
.h-boca span {
  position: absolute; bottom: 30px; left: -44px; white-space: nowrap; transform-origin: 44px 100%;
  padding: 18px 26px; border-radius: 20px; background: #f3ecdd; color: #152019; font: 600 40px/1.15 var(--sistema);
}
.h-boca span::after { content: ""; position: absolute; left: 32px; bottom: -17px; border: 10px solid transparent; border-top: 18px solid #f3ecdd; border-bottom: 0; }
.h-boca.izq span { left: auto; right: -44px; transform-origin: calc(100% - 44px) 100%; }
.h-boca.izq span::after { left: auto; right: 32px; }
.e169 .h-boca span { font-size: 34px; }

/* Tarjeta de respuesta de Niky (serie-comun §5.3) */
.h-niky {
  left: 110px; top: 600px; width: 860px; padding: 40px 48px 44px; border-radius: 24px;
  background: #152019; box-shadow: inset 0 0 0 2px rgba(245, 238, 224, 0.12), 0 40px 90px -40px rgba(0, 0, 0, 0.8);
}
.h-niky-cab { display: flex; justify-content: space-between; font: 600 28px/1 var(--sistema); color: #a9a293; }
.h-niky-cab b { color: #8fd19b; letter-spacing: 0.08em; font-weight: 700; }
.h-niky p { margin: 30px 0 0; font: 600 44px/1.2 var(--sistema); }
.h-niky-cifra { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 10px; }
.h-niky-cifra b { font: 700 88px/1.1 var(--sistema); letter-spacing: -0.02em; }
.h-anillo { width: 128px; height: 128px; flex: none; }
.h-niky-chips { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.h-niky-chips span { padding: 14px 24px; border-radius: 999px; background: #1b2920; font: 600 28px/1.1 var(--sistema); }
.e169 .h-niky { left: 1176px; top: 270px; width: 680px; padding: 34px 40px 38px; }
.e169 .h-niky p { font-size: 38px; }
.e169 .h-niky-cifra b { font-size: 76px; }

/* Teléfono: pantalla de la app (Cristal profundo, noche) */
.h-tel { left: 190px; top: 190px; width: 700px; height: 1120px; }
.e169 .h-tel { left: 1240px; top: 58px; --base: 0.86; }
.h-tel-in {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 76px; padding: 0 46px;
  background: radial-gradient(420px 320px at 90% 0%, rgba(214, 170, 72, 0.16), rgba(0, 0, 0, 0) 70%), #18231b;
  box-shadow: inset 0 0 0 14px #0b0f0c, inset 0 0 0 16px #2b3731, 0 50px 120px -40px rgba(0, 0, 0, 0.9);
  color: #f5eee0; font-family: var(--sistema); transform: scale(calc(var(--escala, 1) * var(--base, 1))); transform-origin: 0 0;
}
.ap-estado { height: 100px; padding-top: 34px; display: flex; justify-content: space-between; align-items: flex-start; font: 600 28px/1 var(--sistema); }
.ap-estado > span:first-child { padding-left: 22px; }
.ap-isla { width: 150px; height: 44px; margin-top: -8px; border-radius: 22px; background: #0b0f0c; }
.ap-der { display: flex; align-items: center; gap: 10px; padding-right: 18px; }
.ap-senal { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; }
.ap-senal b { width: 5px; border-radius: 2px; background: #f5eee0; }
.ap-senal b:nth-child(1) { height: 7px; } .ap-senal b:nth-child(2) { height: 11px; } .ap-senal b:nth-child(3) { height: 16px; } .ap-senal b:nth-child(4) { height: 21px; }
.ap-senal.sin b { background: rgba(245, 238, 224, 0.25); }
.ap-x { font-style: normal; font-size: 24px; margin-left: -6px; color: #f5eee0; }
.ap-bateria { width: 44px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 2.5px rgba(245, 238, 224, 0.6); background: linear-gradient(90deg, #f5eee0 0 62%, transparent 62%); background-clip: content-box; padding: 4px; }
.ap-cuerpo { position: relative; height: calc(100% - 100px); padding-bottom: 46px; display: flex; flex-direction: column; gap: 22px; --difumina: 0px; }
.ap-cuerpo small { display: block; font: 600 22px/1.2 var(--sistema); letter-spacing: 0.06em; text-transform: uppercase; color: #a9a293; margin-bottom: 6px; }
.ap-cab { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 6px; font-size: 28px; }
.ap-cab b { font-size: 36px; }
.ap-gris { color: #a9a293; }
.ap-tipo { padding: 8px 18px; border-radius: 999px; font-weight: 600; background: rgba(240, 163, 158, 0.14); }
.ap-tipo.v { background: rgba(143, 209, 155, 0.14); }
.ap-campo b { font: 600 44px/1.15 var(--sistema); }
.ap-items { padding: 18px 24px; border-radius: 24px; background: rgba(245, 238, 224, 0.05); }
.ap-item { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font: 500 34px/1.2 var(--sistema); }
.ap-item b { font-weight: 600; }
.ap-items.muchos .ap-item { padding: 3px 0; font-size: 30px; }
.ap-cuenta { padding: 18px 26px; border-radius: 24px; }
.ap-cuenta small { color: inherit; opacity: 0.75; }
.ap-cuenta b { font: 700 36px/1.15 var(--sistema); }
.ap-cuenta.debito { background: #f6e3a1; color: #6b5410; }
.ap-cuenta.credito { background: #bcd9ee; color: #1f4a6b; }
.ap-total { margin-top: auto; }
.ap-total b { display: block; font: 700 88px/1 var(--sistema); letter-spacing: -0.02em; white-space: nowrap; }
.ap-total b.media { font-size: 76px; }
.ap-total b.larga { font-size: 64px; }
.ap-guardar { position: relative; height: 104px; border-radius: 999px; background: #8fd19b; color: #0f1d13; display: flex; align-items: center; justify-content: center; font: 700 38px/1 var(--sistema); transition: transform 0.12s; }
.ap-guardar .g2 { display: none; }
.guardada .ap-guardar { background: #1b2920; color: #8fd19b; box-shadow: inset 0 0 0 2px rgba(143, 209, 155, 0.5); }
.guardada .ap-guardar .g1 { display: none; } .guardada .ap-guardar .g2 { display: inline; }
.pulsado .ap-guardar { transform: scale(0.96); filter: brightness(0.9); }
.ap-dedo { position: absolute; left: 50%; bottom: 52px; width: 96px; height: 96px; margin-left: -48px; border-radius: 50%; background: rgba(243, 236, 221, 0.32); box-shadow: 0 0 0 10px rgba(243, 236, 221, 0.12); opacity: 0; transform: scale(1.3); transition: opacity 0.15s, transform 0.2s; }
.dedo .ap-dedo { opacity: 1; transform: scale(1); }
.ap-escaner { position: absolute; inset: -100px -46px 0; background: #0b0f0c; display: flex; align-items: center; justify-content: center; }
.ap-foto { width: 380px; height: 700px; background: #efe8d8; color: transparent; transform: rotate(-3deg); clip-path: polygon(0 0, 100% 0, 100% 97%, 92% 100%, 84% 97%, 76% 100%, 68% 97%, 60% 100%, 52% 97%, 44% 100%, 36% 97%, 28% 100%, 20% 97%, 12% 100%, 4% 97%, 0 100%);
  background-image: repeating-linear-gradient(to bottom, transparent 0 60px, #b9ad97 60px 66px, transparent 66px 92px); background-size: 78% 100%; background-repeat: no-repeat; background-position: 50% 120px; }
.esq { position: absolute; width: 70px; height: 70px; border: 0 solid #8fd19b; }
.esq.e1 { left: 130px; top: 190px; border-top-width: 8px; border-left-width: 8px; border-top-left-radius: 18px; }
.esq.e2 { right: 130px; top: 190px; border-top-width: 8px; border-right-width: 8px; border-top-right-radius: 18px; }
.esq.e3 { left: 130px; bottom: 180px; border-bottom-width: 8px; border-left-width: 8px; border-bottom-left-radius: 18px; }
.esq.e4 { right: 130px; bottom: 180px; border-bottom-width: 8px; border-right-width: 8px; border-bottom-right-radius: 18px; }
.ap-lee { position: absolute; left: 80px; right: 80px; bottom: 70px; font: 600 32px/1.2 var(--sistema); color: #f5eee0; text-align: center; opacity: 0; transition: opacity 0.2s; }
.ap-lee i { display: block; height: 6px; margin-top: 18px; border-radius: 3px; background: rgba(245, 238, 224, 0.15); overflow: hidden; }
.ap-lee b { display: block; height: 100%; width: 0; background: #8fd19b; }
.leyendo .ap-lee { opacity: 1; }

/* Bolsillos */
.ap-pestanas { display: flex; align-items: center; gap: 30px; padding: 10px 0 4px; font: 600 28px/1 var(--sistema); color: #a9a293; }
.ap-pestanas .activa { color: #f5eee0; box-shadow: 0 6px 0 -2px #8fd19b; padding-bottom: 8px; }
.ap-privado { margin-left: auto; width: 60px; height: 60px; border-radius: 50%; background: #1b2920; position: relative; box-shadow: inset 0 0 0 2px rgba(245, 238, 224, 0.12); }
.ap-privado::before { content: ""; position: absolute; left: 14px; top: 20px; width: 32px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 3px #f5eee0; }
.ap-privado::after { content: ""; position: absolute; left: 27px; top: 27px; width: 6px; height: 6px; border-radius: 50%; background: #f5eee0; }
.ap-privado.on { background: #8fd19b; }
.ap-privado.on::before { box-shadow: inset 0 0 0 3px #0f1d13; }
.ap-privado.on::after { left: 12px; top: 28px; width: 36px; height: 4px; border-radius: 2px; background: #0f1d13; transform: rotate(-35deg); }
.ap-cuenta-cab b { display: block; font: 700 44px/1.15 var(--sistema); }
.ap-cuenta-cab span { display: block; margin-top: 6px; font: 600 28px/1 var(--sistema); color: #a9a293; }
.ap-bolsillo { padding: 16px 0 18px; border-bottom: 2px solid rgba(245, 238, 224, 0.07); }
.ap-bf { display: flex; align-items: baseline; gap: 14px; font: 600 32px/1.2 var(--sistema); }
.ap-bf > span { flex: 1; min-width: 0; }
.ap-bf b { font-size: 34px; }
.ap-mov { font: 700 40px/1 var(--sistema); color: #8fd19b; }
.ok .ap-bf > span::after { content: " ✓"; color: #8fd19b; }
.ap-barra { height: 14px; margin-top: 12px; border-radius: 7px; background: #0f1712; overflow: hidden; }
.ap-barra i { display: block; height: 100%; width: 0; border-radius: 7px; background: #8fd19b; }
.ap-bolsillo small { margin: 10px 0 0; text-transform: none; letter-spacing: 0; font-size: 24px; font-weight: 500; }
.ap-bolsillo.libre .ap-bf > span { color: #a9a293; }
.ap-bolsillo.destacado { padding: 26px 28px; border-radius: 28px; border: 0; background: rgba(143, 209, 155, 0.1); box-shadow: inset 0 0 0 2px rgba(143, 209, 155, 0.35); }
.ap-bolsillo.destacado .ap-bf { flex-direction: column; align-items: flex-start; gap: 10px; }
.ap-bolsillo.destacado .ap-bf > span { color: #f5eee0; }
.ap-bolsillo.destacado .ap-bf b { font-size: 92px; color: #8fd19b; letter-spacing: -0.02em; }
.ap-pie { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 2px solid rgba(245, 238, 224, 0.12); font: 600 28px/1.2 var(--sistema); color: #a9a293; }
.ap-pie b { font: 700 60px/1 var(--sistema); }
.ap-bolsillos .cifra, .ap-bolsillos .ap-mov { filter: blur(var(--difumina)); }

/* Libro (P02) */
.h-libro {
  inset: 0; background-color: #152019;
  background-image: repeating-linear-gradient(to bottom, transparent 0 118px, rgba(245, 238, 224, 0.10) 118px 120px);
  background-position: 0 -2px;
}
.h-libro-renglon { position: absolute; left: 0; right: 0; top: 1180px; height: 120px; display: flex; align-items: center; padding-left: 56px; gap: 30px; }
.h-punto { width: 20px; height: 20px; border-radius: 50%; background: #a9a293; flex: none; }
.h-escrito { font: 600 46px/1 var(--sistema); white-space: nowrap; }
.e169 .h-libro { background-image: repeating-linear-gradient(to bottom, transparent 0 98px, rgba(245, 238, 224, 0.10) 98px 100px); background-position: 0 -20px; }
.e169 .h-libro-renglon { top: 780px; height: 100px; padding-left: 120px; }

/* Renglón (banda) y página del día */
.h-banda, .h-fila { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.h-banda { left: 0; width: 1080px; top: 1180px; height: 120px; padding: 0 56px; background: #152019; box-shadow: inset 0 -2px 0 rgba(245, 238, 224, 0.12), 0 -20px 40px -20px rgba(0, 0, 0, 0.5); font: 600 40px/1 var(--sistema); transform-origin: 50% 0; visibility: hidden; }
.h-banda span, .h-fila span { color: #a9a293; }
.h-banda b, .h-fila b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-banda em, .h-fila em { font-style: normal; font-weight: 700; }
.h-capas .h-doble { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 0.78em; line-height: 1; }
.h-capas .h-doble i { font-style: normal; }
.e169 .h-banda { width: 1152px; top: 780px; height: 100px; font-size: 34px; grid-template-columns: 140px minmax(0, 1fr) auto; }
.h-pagina { visibility: hidden; }
.h-pagina.lado { left: 1192px; top: 110px; width: 680px; padding: 22px 32px; border-radius: 24px; background: rgba(21, 32, 25, 0.92); box-shadow: inset 0 0 0 2px rgba(245, 238, 224, 0.08); }
.h-pagina.lado .h-fila { grid-template-columns: 110px minmax(0, 1fr) auto; height: 84px; gap: 16px; font: 600 28px/1 var(--sistema); box-shadow: inset 0 -2px 0 rgba(245, 238, 224, 0.08); }
.h-pagina.encima { left: 50px; right: 50px; top: 300px; padding: 10px 40px; border-radius: 28px; background: rgba(21, 32, 25, 0.86); box-shadow: inset 0 0 0 2px rgba(245, 238, 224, 0.10); }
.h-pagina.encima .h-fila { height: 104px; font: 600 38px/1 var(--sistema); box-shadow: inset 0 -2px 0 rgba(245, 238, 224, 0.08); }
.h-pagina.llena { inset: 0; padding-top: 340px; background-color: #152019; background-image: repeating-linear-gradient(to bottom, transparent 0 118px, rgba(245, 238, 224, 0.10) 118px 120px); background-position: 0 -2px; }
.h-pagina.llena .h-fila { height: 120px; padding: 0 56px; font: 600 40px/1 var(--sistema); }
.e169 .h-pagina.llena { padding: 120px 300px 0; background-image: repeating-linear-gradient(to bottom, transparent 0 98px, rgba(245, 238, 224, 0.10) 98px 100px); background-position: 0 -20px; }
.e169 .h-pagina.llena .h-fila { height: 100px; font-size: 36px; }

/* Tarjeta final común (serie-comun §6) */
.h-final { inset: 0; }
/* La tapa del libro: más clara que la página, con lomo y canto, para que al cerrarse se lea como una tapa
   que barre la página (y no como una página cortada por la izquierda) */
.h-final-tapa { position: absolute; inset: 0; transform-origin: 0 50%; opacity: 0;
  background: linear-gradient(90deg, #101a14 0 26px, #22322a 26px, #1e2c24 55%, #253830);
  box-shadow: inset 0 0 0 2px rgba(245, 238, 224, 0.12), inset -6px 0 0 rgba(245, 238, 224, 0.22), 40px 0 80px rgba(0, 0, 0, 0.55); }
.h-final-sombra { position: absolute; inset: 0; opacity: 0; background: linear-gradient(90deg, rgba(5, 8, 6, 0.9), rgba(5, 8, 6, 0.35)); }
.h-final-luz { position: absolute; inset: 0; background: radial-gradient(900px 700px at 50% 36%, rgba(159, 191, 122, 0.30), rgba(230, 192, 102, 0.10) 50%, rgba(14, 22, 17, 0) 100%), #0e1611; opacity: 0; }
.h-final-texto { position: absolute; left: 60px; right: 60px; top: 548px; text-align: center; }
.h-final-texto p { margin: 0; }
.h-final-marca { font: 600 104px/1.1 var(--serifa); letter-spacing: -0.02em; }
.h-final-frase { margin-top: 36px !important; font: italic 400 56px/1.2 var(--serifa); }
.h-final-garantias { margin-top: 48px !important; font: 600 34px/1.3 var(--sistema); color: #a9a293; }
.h-final-boton { display: inline-flex !important; align-items: center; justify-content: center; margin-top: 64px !important; height: 120px; padding: 0 64px; border-radius: 999px; background: #8fd19b; color: #0f1d13; font: 600 40px/1 var(--sistema); }
.h-final-url { margin-top: 40px !important; font: 600 36px/1 var(--sistema); color: #8fd19b; }
.h-final-legal { position: absolute; left: 60px; right: 60px; top: 1530px; margin: 0; text-align: center; font: 500 24px/1.35 var(--sistema); color: #a9a293; }
.h-final-libro { display: none; }
.e169 .h-final-texto { left: 150px; right: auto; width: 960px; top: 250px; text-align: left; }
.e169 .h-final-marca { font-size: 96px; }
.e169 .h-final-frase { font-size: 52px; }
.e169 .h-final-garantias { font-size: 30px; }
.e169 .h-final-legal { left: 150px; right: auto; top: 960px; text-align: left; }
.e169 .h-final-libro { display: block; position: absolute; left: 1290px; top: 250px; width: 400px; height: 520px; border-radius: 18px 28px 28px 18px; background: #1b2920; box-shadow: inset 28px 0 0 #152019, inset 0 0 0 2px rgba(245, 238, 224, 0.12), 0 50px 100px -40px rgba(0, 0, 0, 0.8); }
.e169 .h-final-libro i { position: absolute; right: 70px; top: -2px; width: 34px; height: 300px; background: #8fd19b; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 88%, 0 100%); }
.e169 .h-final-libro::after { content: "Diario"; position: absolute; left: 80px; top: 96px; font: italic 600 60px/1 var(--serifa); color: #f3ecdd; opacity: 0.85; }

/* ---------- Tira de viñetas ---------- */
.h-tira-cabeza { margin-top: 56px; margin-bottom: 20px; align-items: center; }
.h-tira-cabeza h3 { font-size: 22px; }
.vineta { position: relative; }   /* el texto .solo-lector de una viñeta se queda dentro de la tira (sin scroll de página) */
.vineta svg { background: #0e1611; }
.vineta-texto { display: flex; flex-direction: column; flex: 1; }
.vineta-dato { margin-top: 12px !important; padding: 10px 12px; border-radius: 12px; background: var(--capa-2); font-size: 14px !important; line-height: 1.4; color: var(--tinta) !important; }
.vineta-dato b, .vineta-dato .cifra { font-variant-numeric: tabular-nums; font-weight: 700; }
.vineta-dato .cifra { display: block; font-size: 20px; }
.vineta-dato .r { color: var(--rojo); } .vineta-dato .v { color: var(--verde); } .vineta-dato .a { color: var(--ambar); }
.vineta-dato.yo { background: var(--tinta); color: var(--fondo) !important; align-self: flex-start; }
.vineta-ver { align-self: flex-start; margin-top: auto; padding: 14px 0 0; border: 0; background: none; color: var(--verde); font: 600 14px/1.2 var(--sistema); cursor: pointer; min-height: 44px; }
.vineta-ver:hover { text-decoration: underline; text-underline-offset: 3px; }
.vineta-ver span { color: var(--suave); font-weight: 500; }
