/* ==================================================================
   ZX Abogados · Portal de clientes · escenario de la pantalla de acceso
   (nucleo/escena-acceso.php + assets/js/escena.js).
   "Tinta y sello": lo que el cliente puede hacer en el portal, en seis
   escenas en bucle. El sello rojo 中信 viaja de escena en escena y sella
   cada una.
   · Solo se animan transform y opacity (más el trazo de unos pocos dibujos
     SVG pequeños). Sin imágenes ni librerías, y sin <style> en la página
     (la CSP del portal solo admite atributos style).
   · Dentro de .ze-arte, 1em = 1/60 del lado del cuadro de dibujo.
   · .is-run: en marcha · .is-paused: detenido (pestaña oculta, fuera de
     pantalla, escribiendo, diálogo abierto o pausa) · sin .is-run: la
     composición fija (movimiento reducido o sin JavaScript).
   ================================================================== */

/* ------------- integración con la pantalla de acceso ------------- */
/* Con el escenario, el titular se modera para que la columna no crezca de más, y los puntos
   (dicen lo mismo que el escenario) no se repiten. */
.intro:has(> .ze) .puntos { display: none; }
.intro:has(> .ze) .titular { font-size: clamp(38px, 4.4vw, 62px); }
html[lang^="zh"] .intro:has(> .ze) .titular { font-size: clamp(34px, 3.7vw, 54px); }
@media (max-width: 960px) {
  .intro:has(> .ze) .titular { font-size: clamp(32px, 8.6vw, 52px); }
  html[lang^="zh"] .intro:has(> .ze) .titular { font-size: clamp(30px, 7.8vw, 46px); }
}

/* ------------------------------ base ------------------------------ */
.ze {
  --ze-rojo: #c00c0c; --ze-rojo-vivo: #e0251c;
  --ze-papel: #f3ecdf; --ze-papel-2: #e8dfcd; --ze-papel-3: #d7cbb5; --ze-papel-4: #c8baa0;
  --ze-oro: #c9a25c; --ze-oro-claro: #e3c58a;
  --ze-tinta: #1b2027; --ze-gris: var(--zx-sobre-tinta-gris, #a7b0bb);
  --ze-linea: rgba(243, 236, 223, 0.82);
  --ze-kai: "Kaiti SC", "STKaiti", "KaiTi", "KaiTi_GB2312", "BiauKai", "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", var(--zx-cjk, sans-serif);
  position: relative; max-width: 640px; margin-top: clamp(22px, 3.6vh, 38px);
  container-type: inline-size; container-name: ze;
  animation: ze-entrar 0.9s 0.18s var(--zx-ease, ease) both;
}
.ze *, .ze *::before, .ze *::after { box-sizing: border-box; }
.ze i, .ze b, .ze s { font-style: normal; text-decoration: none; }
.ze svg { display: block; overflow: visible; fill: none; stroke: none; stroke-width: 1; }
.ze-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.ze-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ze-zh { font-family: var(--ze-kai); }
@keyframes ze-entrar { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Marco: pie de escena a la izquierda, cuadro de dibujo a la derecha y mandos debajo del pie. */
.ze-marco {
  --lado: min(46cqw, 300px);
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1fr) var(--lado);
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: "pie arte" "mando arte";
  column-gap: clamp(14px, 4.2cqw, 30px);
  padding: clamp(14px, 3.8cqw, 26px);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012) 52%), rgba(17, 21, 27, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.085);
  box-shadow: 0 44px 90px -54px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
/* Filete dorado interior (como un rollo montado) y grano de papel. */
.ze-marco::before { content: ""; position: absolute; inset: 7px; border-radius: 13px; border: 1px solid rgba(201, 162, 92, 0.16); pointer-events: none; }
.ze-marco::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
}
@supports not (width: 1cqw) { .ze-marco { --lado: min(300px, 38vw); } }

/* --------------------------- pies de escena --------------------------- */
.ze-pies { grid-area: pie; position: relative; z-index: 1; display: grid; align-items: center; min-width: 0; }
.ze-pie { grid-area: 1 / 1; min-width: 0; visibility: hidden; opacity: 0; transition: opacity 0.5s ease, visibility 0s linear 0.5s; }
.ze-pie.is-on { visibility: visible; opacity: 1; transition: opacity 0.5s ease 0.15s, visibility 0s; }
.ze-pie.is-out { visibility: visible; opacity: 0; transition: opacity 0.45s ease, visibility 0s linear 0.45s; }
.ze-pie p { margin: 0; }
.ze-pie-n { display: flex; align-items: center; gap: 10px; margin-bottom: 12px !important; font: 700 12px/1 var(--zx-display); letter-spacing: 0.16em; color: var(--ze-gris); }
.ze-pie-n b { font-weight: 700; color: var(--ze-oro-claro); }
.ze-pie-n i { width: 26px; height: 1px; background: rgba(255, 255, 255, 0.28); transform-origin: 0 50%; }
.ze-pie-t { font: 700 26px/1.04 var(--zx-display); font-size: clamp(22px, 6.3cqw, 40px); letter-spacing: -0.005em; color: #fff; text-wrap: balance; }
.ze-pie-t.ze-zh { font: 400 30px/1.12 var(--ze-kai); font-size: clamp(26px, 8.4cqw, 52px); letter-spacing: 0.06em; font-synthesis: none; }
.ze-pie-o { margin-top: 8px !important; font: 700 13px/1.3 var(--zx-display); letter-spacing: 0.09em; text-transform: uppercase; color: var(--ze-oro); }
.ze-pie-o.ze-zh { font: 400 15px/1.3 var(--ze-kai); letter-spacing: 0.32em; text-transform: none; }
.ze-pie-s { margin-top: 12px !important; max-width: 30ch; font-size: 14px; font-size: clamp(13px, 2.45cqw, 15.5px); line-height: 1.55; color: var(--ze-gris); text-wrap: pretty; }
html[lang^="zh"] .ze-pie-s { max-width: 19em; }
.ze-w { display: inline-block; }

.ze-pie.is-play .ze-pie-n { animation: ze-aparecer 0.5s ease 0.1s both; }
.ze-pie.is-play .ze-pie-n i { animation: ze-barrer 0.7s cubic-bezier(0.7, 0, 0.2, 1) 0.2s both; }
.ze-pie.is-play .ze-pie-t .ze-w { animation: ze-subir 0.7s cubic-bezier(0.2, 0.9, 0.25, 1) both; animation-delay: calc(0.28s + var(--i) * 65ms); }
.ze-pie.is-play .ze-pie-t.ze-zh .ze-w { animation: ze-tinta 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(0.25s + var(--i) * 120ms); }
.ze-pie.is-play .ze-pie-o { animation: ze-subir 0.6s cubic-bezier(0.2, 0.9, 0.25, 1) 0.8s both; }
.ze-pie.is-play .ze-pie-s { animation: ze-subir 0.7s cubic-bezier(0.2, 0.9, 0.25, 1) 0.95s both; }

/* Póster: las seis funciones de un vistazo. */
.ze-fichas { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.ze-fichas li { padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(201, 162, 92, 0.38); background: rgba(201, 162, 92, 0.07); color: var(--ze-papel); font-size: 13px; line-height: 1.3; }
html[lang^="zh"] .ze-fichas li { letter-spacing: 0.08em; }
.ze-pie-poster .ze-pie-t { font-size: clamp(20px, 5cqw, 32px); }
.ze-pie-poster .ze-pie-t.ze-zh { font-size: clamp(22px, 6cqw, 38px); }

/* ----------------------------- mandos ----------------------------- */
.ze-mando { grid-area: mando; position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.ze-pausa { flex: none; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50%; background: rgba(255, 255, 255, 0.05); color: #fff; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.ze-pausa:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.32); }
.ze-pausa svg { width: 14px; height: 14px; }
.ze-ic-pausa { stroke: currentColor !important; stroke-width: 2.6 !important; stroke-linecap: round; }
.ze-ic-seguir { display: none !important; fill: currentColor !important; }
.ze.is-detenido .ze-ic-pausa { display: none !important; }
.ze.is-detenido .ze-ic-seguir { display: block !important; }
.ze-caps { flex: 1; min-width: 0; display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ze-caps li { flex: 1; min-width: 0; }
.ze-cap { display: block; padding: 10px 0; cursor: pointer; }
.ze-cap i { position: relative; display: block; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, 0.16); }
.ze-cap i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--ze-rojo), #ff5a4f); transform-origin: 0 50%; transform: scaleX(0); }
.ze-cap:hover i { background: rgba(255, 255, 255, 0.3); }
.ze-cap.is-hecho i::after { transform: none; background: rgba(243, 236, 223, 0.5); }
.ze-cap.is-actual i::after { animation: ze-llenar var(--dur, 6s) linear both; }
@keyframes ze-llenar { from { transform: scaleX(0); } to { transform: none; } }

/* --------------------------- cuadro de dibujo --------------------------- */
.ze-arte { grid-area: arte; position: relative; align-self: center; width: var(--lado); aspect-ratio: 1 / 1; font-size: calc(var(--lado) / 60); color: var(--ze-papel); user-select: none; -webkit-user-select: none; }
@supports not (aspect-ratio: 1 / 1) { .ze-arte { height: var(--lado); } }
/* Retícula 米字格 de caligrafía, y una luz de sello que respira detrás. */
.ze-mizi { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.3; }
.ze-mizi rect { stroke: rgba(224, 37, 28, 0.75); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.ze-mizi path { stroke: rgba(224, 37, 28, 0.6); stroke-width: 1px; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.ze-luz { position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(192, 12, 12, 0.26), rgba(192, 12, 12, 0.08) 55%, rgba(192, 12, 12, 0)); }
.ze.is-run .ze-luz { animation: ze-respirar 9s ease-in-out infinite alternate; }
@keyframes ze-respirar { from { opacity: 0.6; transform: scale(0.92); } to { opacity: 1; transform: scale(1.06); } }

/* Escenas */
.ze-sc { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0s linear 0.6s; }
.ze-sc.is-on { opacity: 1; visibility: visible; transition: opacity 0.7s ease 0.1s, visibility 0s; }
.ze-sc.is-out { opacity: 0; visibility: visible; transition: opacity 0.6s ease, visibility 0s linear 0.6s; }
.ze-capa { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Ancla: un punto del cuadro (--x, --y en em desde el centro); su pieza queda centrada en él. */
.ze-o { position: absolute; left: calc(50% + var(--x) * 1em); top: calc(50% + var(--y) * 1em); width: 0; height: 0; display: flex; align-items: center; justify-content: center; }
.ze-o > * { flex: none; }

/* --------------------- el sello que viaja --------------------- */
.ze-viaje {
  position: absolute; z-index: 5; left: 50%; top: 50%; width: 12em; height: 12em; margin: -6em 0 0 -6em; opacity: 0;
  --vx: 0em; --vy: -46em; --vr: -28deg; --vs: 1.5; --demora: 1s;
  transform: translate(var(--vx), var(--vy)) rotate(var(--vr)) scale(var(--vs));
  transition: transform 1.15s cubic-bezier(0.65, 0, 0.25, 1), opacity 0.45s ease;
}
.ze-marco[data-escena="1"] .ze-viaje { --vx: 19.2em; --vy: -12.6em; --vr: -9deg; --vs: 0.34; --demora: 3.35s; opacity: 1; }
.ze-marco[data-escena="2"] .ze-viaje { --vx: 22em; --vy: 17.2em; --vr: -9deg; --vs: 0.4; --demora: 3.95s; opacity: 1; transition-delay: 0.4s; }
.ze-marco[data-escena="3"] .ze-viaje { --vx: -16.4em; --vy: -11.9em; --vr: 0deg; --vs: 0.42; --demora: 1.1s; opacity: 1; }
.ze-marco[data-escena="4"] .ze-viaje { --vx: 8.6em; --vy: 13.2em; --vr: -8deg; --vs: 0.44; --demora: 2.9s; opacity: 1; transition-delay: 0.3s; }
.ze-marco[data-escena="5"] .ze-viaje { --vx: 6.6em; --vy: 1.6em; --vr: 9deg; --vs: 0.38; --demora: 2.85s; opacity: 1; transition-delay: 0.3s; }
.ze-marco[data-escena="6"] .ze-viaje { --vx: 0em; --vy: -4.2em; --vr: 0deg; --vs: 0.82; --demora: 1.2s; opacity: 1; }

.ze-golpe { position: absolute; inset: 0; perspective: 40em; }
.ze-giro { position: absolute; inset: 0; transform-style: preserve-3d; }
.ze-cara { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.ze-cara-b { transform: rotateY(180deg); }
.ze-sombra { position: absolute; inset: -14%; border-radius: 30%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.32) 55%, rgba(0, 0, 0, 0)); opacity: 0.55; transform: translate(0.4em, 0.8em); }
.ze-onda { position: absolute; inset: -6%; border-radius: 9%; border: 0.5em solid rgba(224, 37, 28, 0.6); opacity: 0; }
.ze-viaje.is-golpe .ze-golpe { animation: ze-golpe 0.8s cubic-bezier(0.3, 0, 0.2, 1) var(--demora) both; }
.ze-viaje.is-golpe .ze-sombra { animation: ze-sombra 0.8s cubic-bezier(0.3, 0, 0.2, 1) var(--demora) both; }
.ze-viaje.is-golpe .ze-onda { animation: ze-onda 0.95s cubic-bezier(0.1, 0.7, 0.3, 1) calc(var(--demora) + 0.52s) both; }
@keyframes ze-golpe {
  0% { transform: translateY(-1.6em) scale(1.22) rotate(-6deg); }
  52% { transform: translateY(-0.9em) scale(1.12) rotate(-3deg); }
  68% { transform: scale(0.9); }
  82% { transform: scale(1.035); }
  100% { transform: none; }
}
@keyframes ze-sombra {
  0%, 52% { opacity: 0.22; transform: translate(1.8em, 3.4em) scale(1.18); }
  68% { opacity: 0.7; transform: translate(0.2em, 0.4em) scale(0.96); }
  100% { opacity: 0.55; transform: translate(0.4em, 0.8em); }
}
@keyframes ze-onda { from { opacity: 0.85; transform: scale(0.94); } to { opacity: 0; transform: scale(1.75); } }
/* ⑥: el sello gira y enseña su otra cara (ZX), y vuelve. */
.ze-marco[data-escena="6"] .ze-giro { animation: ze-girar-sello 4.6s cubic-bezier(0.6, 0, 0.3, 1) 2.3s infinite; }
@keyframes ze-girar-sello { 0%, 30% { transform: none; } 50%, 80% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }

/* ------------------- ① 拍照上传票据 · móvil, ticket y destello ------------------- */
.ze-movil { position: relative; width: 23em; height: 42em; border-radius: 3.6em; background: linear-gradient(160deg, #2a313b, #12161b 70%);
  box-shadow: 0 0 0 0.32em rgba(243, 236, 223, 0.78), 0 0 0 0.6em rgba(0, 0, 0, 0.35), 0 2.4em 4em -1.6em rgba(0, 0, 0, 0.9); }
.ze-sc-1.is-play .ze-movil { animation: ze-subir 0.8s cubic-bezier(0.2, 0.9, 0.25, 1) 0.1s both; }
.ze-movil-isla { position: absolute; z-index: 3; left: 50%; top: 2em; width: 6.4em; height: 1.7em; margin-left: -3.2em; border-radius: 1em; background: #050608; }
.ze-movil-pantalla { position: absolute; inset: 1em; border-radius: 2.7em; overflow: hidden; background: radial-gradient(120% 70% at 50% 0%, #303945, #161a20 70%); }
.ze-movil-boton { position: absolute; z-index: 3; left: 50%; bottom: 3em; width: 5.6em; height: 5.6em; margin-left: -2.8em; border-radius: 50%; border: 0.36em solid rgba(243, 236, 223, 0.9); }
.ze-movil-boton::after { content: ""; position: absolute; inset: 0.5em; border-radius: 50%; background: var(--ze-papel); }
.ze-sc-1.is-play .ze-movil-boton::after { animation: ze-disparo 0.35s ease 1.95s both; }
@keyframes ze-disparo { 50% { transform: scale(0.72); } }
.ze-visor { position: absolute; left: 2.2em; right: 2.2em; top: 5.6em; bottom: 10.8em; opacity: 0; }
.ze-visor b { position: absolute; width: 3.2em; height: 3.2em; border: 0 solid var(--ze-oro-claro); }
.ze-visor b:nth-child(1) { left: 0; top: 0; border-width: 0.4em 0 0 0.4em; border-top-left-radius: 0.8em; }
.ze-visor b:nth-child(2) { right: 0; top: 0; border-width: 0.4em 0.4em 0 0; border-top-right-radius: 0.8em; }
.ze-visor b:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 0.4em 0.4em; border-bottom-left-radius: 0.8em; }
.ze-visor b:nth-child(4) { right: 0; bottom: 0; border-width: 0 0.4em 0.4em 0; border-bottom-right-radius: 0.8em; }
.ze-sc-1.is-play .ze-visor { animation: ze-visor 1.9s cubic-bezier(0.2, 0.9, 0.3, 1) 1.05s both; }
@keyframes ze-visor { 0% { opacity: 0; transform: scale(1.25); } 30% { opacity: 1; transform: none; } 45% { transform: scale(0.94); } 55% { transform: none; } 85% { opacity: 1; } 100% { opacity: 0; transform: none; } }
.ze-flash { position: absolute; inset: 0; z-index: 4; background: #fff; opacity: 0; }
.ze-sc-1.is-play .ze-flash { animation: ze-flash 0.55s ease-out 2.02s both; }
@keyframes ze-flash { 0% { opacity: 0; } 15% { opacity: 0.92; } 100% { opacity: 0; } }
.ze-subido { position: absolute; left: 0; right: 0; top: 34%; display: grid; justify-items: center; gap: 1.2em; color: var(--ze-papel); opacity: 0; }
.ze-subido-ic { display: grid; place-items: center; width: 7em; height: 7em; border-radius: 50%; background: var(--zx-jade, #1e7a57); box-shadow: 0 0 0 0.8em rgba(30, 122, 87, 0.25); }
.ze-subido-ic svg { width: 3.6em; height: 3.6em; stroke: #fff !important; stroke-width: 2.8 !important; stroke-linecap: round; stroke-linejoin: round; }
.ze-subido > span:last-child { font: 700 2.3em/1 var(--zx-display); letter-spacing: 0.06em; }
.ze-subido > span.ze-zh { font: 400 2.5em/1 var(--ze-kai); letter-spacing: 0.2em; }
.ze-sc-1.is-play .ze-subido { animation: ze-brotar 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) 3.05s both; }
.ze-ticket { width: 13.5em; height: 20em; filter: drop-shadow(0 1em 1.2em rgba(0, 0, 0, 0.5)); opacity: 0; }
.ze-ticket-in { height: 100%; display: flex; flex-direction: column; gap: 1.05em; padding: 1.7em 1.5em 2.2em; background: linear-gradient(180deg, #fffdf8, #f4eee2); clip-path: var(--dientes); }
.ze-ticket-cab { align-self: center; width: 60%; height: 1.2em; border-radius: 1em; background: var(--ze-tinta); }
.ze-ticket-sub { align-self: center; width: 40%; height: 0.5em; border-radius: 1em; background: rgba(27, 32, 39, 0.3); margin-bottom: 0.6em; }
.ze-ticket-l, .ze-ticket-total { display: flex; justify-content: space-between; align-items: center; }
.ze-ticket-l i { display: block; height: 0.55em; border-radius: 1em; background: rgba(27, 32, 39, 0.35); }
.ze-ticket-l i:first-child { width: 55%; }
.ze-ticket-l i:last-child { width: 20%; }
.ze-ticket-total { margin-top: 0.4em; padding-top: 0.9em; border-top: 0.12em dashed rgba(27, 32, 39, 0.35); }
.ze-ticket-total i { display: block; width: 30%; height: 0.8em; border-radius: 1em; background: var(--ze-tinta); }
.ze-ticket-total b { font: 700 2.1em/1 var(--zx-display); color: var(--ze-tinta); }
.ze-ticket-barras { display: block; height: 2.6em; margin-top: auto; background: repeating-linear-gradient(90deg, var(--ze-tinta) 0 0.2em, transparent 0.2em 0.42em, var(--ze-tinta) 0.42em 0.5em, transparent 0.5em 0.8em); opacity: 0.8; }
.ze-sc-1.is-play .ze-ticket { animation: ze-ticket 3.3s cubic-bezier(0.65, 0, 0.3, 1) 0.25s both; }
@keyframes ze-ticket {
  0% { opacity: 0; transform: translate(6em, 4em) rotate(18deg); }
  14% { opacity: 1; transform: rotate(9deg); }
  28% { opacity: 1; transform: rotate(9deg); }
  44%, 66% { opacity: 1; transform: translate(-18em, -6.5em) rotate(0deg) scale(0.98); }
  88%, 100% { opacity: 1; transform: translate(4.5em, -21em) rotate(-7deg) scale(0.36); }
}
.ze-ruta path { stroke: var(--ze-oro); stroke-width: 0.5; stroke-linecap: round; stroke-dasharray: 100 120; stroke-dashoffset: 100; opacity: 0.8; }
.ze-sc-1.is-play .ze-ruta path { animation: ze-trazar 0.7s cubic-bezier(0.6, 0, 0.3, 1) 2.5s forwards, ze-desvanecer 0.6s ease 3.6s forwards; }
@keyframes ze-desvanecer { to { opacity: 0; } }

/* ------------------- ② 我的税务 · el trimestre, paso a paso ------------------- */
.ze-ficha { position: relative; width: 40em; padding: 2.6em 2.8em; border-radius: 1.6em; background: linear-gradient(180deg, #fdfaf4, var(--ze-papel)); color: var(--ze-tinta);
  box-shadow: 0 2em 3.6em -1.6em rgba(0, 0, 0, 0.9), inset 0 0 0 0.12em rgba(255, 255, 255, 0.6); }
.ze-sc-2.is-play .ze-ficha { animation: ze-subir 0.8s cubic-bezier(0.2, 0.9, 0.25, 1) 0.1s both; }
.ze-ficha-cab { display: flex; justify-content: space-between; align-items: center; gap: 1em; margin: 0 0 2.2em; padding-bottom: 1.6em; border-bottom: 0.14em solid rgba(27, 32, 39, 0.12); }
.ze-ficha-cab small { font: 700 1.8em/1 var(--zx-display); letter-spacing: 0.14em; text-transform: uppercase; color: #8a6a32; }
.ze-ficha-cab small.ze-zh { font: 400 2.2em/1 var(--ze-kai); letter-spacing: 0.2em; text-transform: none; }
.ze-ficha-cab b { font: 700 2.6em/1 var(--zx-display); }
html[lang^="zh"] .ze-ficha-cab b { font-family: var(--zx-cjk); font-size: 2.2em; letter-spacing: 0.04em; }
.ze-pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.4em; }
.ze-paso { position: relative; display: flex; align-items: center; gap: 1.6em; opacity: 0; }
.ze-sc-2.is-play .ze-paso { animation: ze-subir 0.6s cubic-bezier(0.2, 0.9, 0.25, 1) both; animation-delay: calc(0.35s + var(--i) * 0.1s); }
.ze-paso-nodo { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 4.2em; height: 4.2em; border-radius: 50%; border: 0.3em solid rgba(27, 32, 39, 0.18); background: #fff; }
.ze-paso-nodo::before { content: ""; position: absolute; inset: -0.3em; border-radius: 50%; background: var(--ze-tinta); transform: scale(0); }
.ze-paso-4 .ze-paso-nodo::before { background: var(--ze-rojo); }
.ze-paso-nodo svg { position: relative; width: 2.4em; height: 2.4em; stroke: #fff !important; stroke-width: 3.2 !important; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(0.4); }
.ze-paso-t { flex: 1; min-width: 0; font: 700 2.5em/1.1 var(--zx-display); }
html[lang^="zh"] .ze-paso-t { font: 700 2.4em/1.1 var(--zx-cjk); letter-spacing: 0.06em; }
.ze-paso-e { flex: none; padding: 0.55em 0.9em; border-radius: 1em; background: var(--zx-jade-claro, #e3f2ec); color: var(--zx-jade, #1e7a57); font: 700 1.6em/1 var(--zx-display); letter-spacing: 0.04em; opacity: 0; }
html[lang^="zh"] .ze-paso-e { font: 700 1.7em/1 var(--zx-cjk); }
.ze-paso-4 .ze-paso-e { background: var(--zx-sello-claro, #fbe9e9); color: var(--ze-rojo); }
.ze-paso-hilo { position: absolute; left: 2.1em; top: 4.2em; width: 0.3em; height: 2.4em; margin-left: -0.15em; background: rgba(27, 32, 39, 0.14); }
.ze-paso-hilo::after { content: ""; position: absolute; inset: 0; background: var(--ze-tinta); transform-origin: 50% 0; transform: scaleY(0); }
/* Cada paso: el nodo se llena, aparece su estado y el hilo baja al siguiente; --t marca el momento. */
.ze-paso-1 { --t: 1s; }
.ze-paso-2 { --t: 1.6s; }
.ze-paso-3 { --t: 2.95s; }
.ze-paso-4 { --t: 3.55s; }
.ze-sc-2.is-play .ze-paso-nodo::before { animation: ze-llenar-nodo 0.4s cubic-bezier(0.2, 1.3, 0.4, 1) var(--t) both; }
.ze-sc-2.is-play .ze-paso-nodo svg { animation: ze-brotar 0.4s cubic-bezier(0.2, 1.4, 0.4, 1) calc(var(--t) + 0.12s) both; }
.ze-sc-2.is-play .ze-paso-e { animation: ze-brotar 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) calc(var(--t) + 0.15s) both; }
.ze-sc-2.is-play .ze-paso-hilo::after { animation: ze-bajar 0.35s cubic-bezier(0.6, 0, 0.3, 1) calc(var(--t) + 0.25s) both; }
@keyframes ze-llenar-nodo { from { transform: scale(0); } to { transform: none; } }
@keyframes ze-bajar { from { transform: scaleY(0); } to { transform: none; } }
/* "Su visto bueno": el paso que da el cliente, con un aviso que late antes de confirmarse. */
.ze-paso-3 .ze-paso-nodo::after { content: ""; position: absolute; inset: -0.9em; border-radius: 50%; border: 0.3em solid var(--ze-rojo-vivo); opacity: 0; }
.ze-sc-2.is-play .ze-paso-3 .ze-paso-nodo::after { animation: ze-latido 0.7s ease-out 2.05s 2 both; }
@keyframes ze-latido { from { opacity: 0.9; transform: scale(0.8); } to { opacity: 0; transform: scale(1.5); } }

/* ------------------- ③ 24 小时内回复 · pregunta y respuesta ------------------- */
.ze-chat { width: 43em; border-radius: 1.8em; overflow: hidden; background: linear-gradient(180deg, rgba(40, 47, 57, 0.97), rgba(23, 28, 35, 0.97)); border: 0.12em solid rgba(243, 236, 223, 0.14); box-shadow: 0 2em 3.6em -1.6em rgba(0, 0, 0, 0.9); }
.ze-sc-3.is-play .ze-chat { animation: ze-subir 0.8s cubic-bezier(0.2, 0.9, 0.25, 1) 0.1s both; }
.ze-chat-cab { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1em; margin: 0; min-height: 8.6em; padding: 1.4em 2em 1.4em 9.6em; border-bottom: 0.12em solid rgba(243, 236, 223, 0.1); }
.ze-chat-quien { display: grid; gap: 0.5em; }
.ze-chat-quien b { font: 700 2.3em/1 var(--zx-display); color: #fff; }
html[lang^="zh"] .ze-chat-quien b { font: 700 2.2em/1 var(--zx-cjk); letter-spacing: 0.04em; }
.ze-chat-quien small { display: flex; align-items: center; gap: 0.5em; font-size: 1.6em; line-height: 1; color: var(--ze-gris); }
.ze-chat-quien small i { width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--zx-online, #22a06b); box-shadow: 0 0 0.6em var(--zx-online, #22a06b); }
.ze-reloj24 { position: relative; flex: none; width: 5.6em; height: 5.6em; }
.ze-reloj24 svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ze-r24-fondo { stroke: rgba(243, 236, 223, 0.16); stroke-width: 3.4; }
.ze-r24-arco { stroke: var(--ze-oro-claro); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 100 120; stroke-dashoffset: 100; }
.ze-sc-3.is-play .ze-r24-arco { animation: ze-arco24 1.8s linear 0.9s both, ze-arco-ok 0.3s ease 2.75s both; }
@keyframes ze-arco24 { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 91; } }
@keyframes ze-arco-ok { from { stroke: var(--ze-oro-claro); } to { stroke: var(--zx-online, #22a06b); } }
.ze-reloj24 b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 1.6em/1 var(--zx-display); color: var(--ze-papel); }
.ze-chat-cuerpo { display: grid; grid-template-rows: auto auto; gap: 1.6em; padding: 2.6em 2.2em 3em; }
.ze-msj { max-width: 82%; padding: 1.1em 1.5em; border-radius: 1.7em; font: 400 2.1em/1.35 var(--zx-ui); opacity: 0; }
html[lang^="zh"] .ze-msj { font-family: var(--zx-cjk); }
.ze-msj-yo { justify-self: end; background: var(--ze-papel); color: var(--ze-tinta); border-bottom-right-radius: 0.35em; }
.ze-msj-escribe, .ze-msj-asesor { grid-row: 2; grid-column: 1; justify-self: start; }
.ze-msj-escribe { display: flex; gap: 0.35em; padding: 1.15em 1.4em; background: rgba(243, 236, 223, 0.1); border-bottom-left-radius: 0.35em; }
.ze-msj-escribe i { width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--ze-papel); opacity: 0.5; }
.ze-msj-escribe i:nth-child(2) { --k: 1; }
.ze-msj-escribe i:nth-child(3) { --k: 2; }
.ze-msj-asesor { background: var(--ze-oro-claro); color: var(--ze-tinta); border-bottom-left-radius: 0.35em; }
.ze-sc-3.is-play .ze-msj-yo { animation: ze-msj-der 0.6s cubic-bezier(0.2, 1.2, 0.4, 1) 0.6s both; }
.ze-sc-3.is-play .ze-msj-escribe { animation: ze-escribe 1.3s ease 1.45s both; }
.ze-sc-3.is-play .ze-msj-escribe i { animation: ze-punto 0.9s ease-in-out infinite; animation-delay: calc(1.5s + var(--k, 0) * 0.15s); }
.ze-sc-3.is-play .ze-msj-asesor { animation: ze-msj-izq 0.6s cubic-bezier(0.2, 1.2, 0.4, 1) 2.75s both; }
@keyframes ze-msj-der { from { opacity: 0; transform: translateX(3em) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes ze-msj-izq { from { opacity: 0; transform: translateX(-3em) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes ze-escribe { 0% { opacity: 0; } 15%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ze-punto { 0%, 100% { transform: none; opacity: 0.45; } 40% { transform: translateY(-0.45em); opacity: 1; } }

/* ------------------- ④ 在线签署 · firma y sello (签字盖章) ------------------- */
.ze-doc { position: relative; display: flex; flex-direction: column; gap: 1.5em; width: 32em; height: 42em; padding: 3.4em 3.2em; border-radius: 1em; background: linear-gradient(180deg, #fdfaf4, var(--ze-papel)); box-shadow: 0 2em 3.6em -1.6em rgba(0, 0, 0, 0.9); }
.ze-sc-4.is-play .ze-doc { animation: ze-subir 0.8s cubic-bezier(0.2, 0.9, 0.25, 1) 0.1s both; }
.ze-doc-t { display: block; width: 55%; height: 1.5em; margin-bottom: 1em; border-radius: 1em; background: var(--ze-tinta); }
.ze-doc > i { display: block; width: calc(var(--w) * 100%); height: 0.7em; border-radius: 1em; background: rgba(27, 32, 39, 0.26); transform-origin: 0 50%; }
.ze-sc-4.is-play .ze-doc > i { animation: ze-crecer 0.5s cubic-bezier(0.6, 0, 0.2, 1) 0.35s both; }
.ze-sc-4.is-play .ze-doc > i:nth-of-type(n+3) { animation-delay: 0.5s; }
.ze-sc-4.is-play .ze-doc > i:nth-of-type(n+5) { animation-delay: 0.65s; }
.ze-doc-firma { position: absolute; left: 3.2em; right: 3.2em; bottom: 5em; height: 8em; border-bottom: 0.14em solid rgba(27, 32, 39, 0.45); }
.ze-doc-firma small { position: absolute; left: 0; bottom: -2.5em; font: 700 1.5em/1 var(--zx-display); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(27, 32, 39, 0.5); }
.ze-doc-firma small.ze-zh { font: 400 1.8em/1 var(--ze-kai); letter-spacing: 0.3em; }
.ze-doc-firma svg { position: absolute; left: 0.4em; bottom: 0.4em; width: 17em; height: 5.1em; }
.ze-doc-firma path { stroke: #1d2f63; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100 120; stroke-dashoffset: 100; }
.ze-sc-4.is-play .ze-doc-firma path { animation: ze-trazar 1.35s cubic-bezier(0.5, 0, 0.4, 1) 1.15s forwards; }
.ze-sc-4.is-play .ze-doc-firma path + path { animation-duration: 0.45s; animation-delay: 2.45s; }
.ze-doc-ok { position: absolute; right: -1.6em; top: -1.6em; display: flex; align-items: center; gap: 0.5em; padding: 0.75em 1.2em 0.75em 0.9em; border-radius: 2em; background: var(--zx-jade, #1e7a57); color: #fff; font: 700 1.8em/1 var(--zx-display); letter-spacing: 0.04em; box-shadow: 0 0.8em 1.6em -0.6em rgba(0, 0, 0, 0.6); opacity: 0; }
.ze-doc-ok svg { width: 1.3em; height: 1.3em; stroke: #fff !important; stroke-width: 3 !important; stroke-linecap: round; stroke-linejoin: round; }
.ze-doc-ok .ze-zh { font: 400 1.1em/1 var(--ze-kai); letter-spacing: 0.18em; }
.ze-sc-4.is-play .ze-doc-ok { animation: ze-brotar 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) 3.75s both; }

/* ------------------- ⑤ 律所文件 · los documentos, en abanico ------------------- */
.ze-abanico { position: relative; width: 0; height: 0; }
.ze-carpeta { position: absolute; left: -9em; top: -12em; width: 18em; height: 24em; transform-origin: 50% 125%; opacity: 0; }
.ze-carpeta-1 { --rot: -27deg; }
.ze-carpeta-2 { --rot: -9deg; }
.ze-carpeta-3 { --rot: 9deg; }
.ze-carpeta-4 { --rot: 27deg; }
.ze-carpeta-in { position: relative; display: flex; flex-direction: column; gap: 1em; height: 100%; padding: 2.2em 2em; border-radius: 1em; background: linear-gradient(180deg, #fdfaf4, var(--ze-papel)); box-shadow: 0 1.2em 2.4em -1em rgba(0, 0, 0, 0.85), inset 0 0 0 0.12em rgba(255, 255, 255, 0.6); }
.ze-carpeta-in b { display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 0.18em; background: var(--ze-tinta); color: var(--ze-papel); font: 400 3.4em/1 var(--ze-kai); }
.ze-carpeta-4 .ze-carpeta-in b { background: var(--ze-rojo); }
.ze-carpeta-in small { margin: 0.4em 0 0.6em; font: 700 2em/1 var(--zx-display); color: var(--ze-tinta); }
.ze-carpeta-in small.ze-zh { font: 400 2.3em/1 var(--ze-kai); letter-spacing: 0.12em; }
.ze-carpeta-in i { display: block; height: 0.6em; border-radius: 1em; background: rgba(27, 32, 39, 0.24); }
.ze-carpeta-in i:nth-of-type(2) { width: 80%; }
.ze-carpeta-in i:nth-of-type(3) { width: 60%; }
.ze-sc-5.is-play .ze-carpeta { animation: ze-abanico 0.9s cubic-bezier(0.2, 0.9, 0.25, 1) both; animation-delay: calc(0.3s + var(--i) * 0.07s); }
.ze-sc-5.is-play .ze-carpeta-4 { animation: ze-abanico 0.9s cubic-bezier(0.2, 0.9, 0.25, 1) 0.51s both, ze-elegir 0.9s cubic-bezier(0.6, 0, 0.25, 1) 1.75s forwards; }
@keyframes ze-abanico { from { opacity: 0; transform: translateY(4em) rotate(0deg); } to { opacity: 1; transform: rotate(var(--rot)); } }
@keyframes ze-elegir { from { opacity: 1; transform: rotate(var(--rot)); } to { opacity: 1; transform: translateY(-5.5em) rotate(0deg) scale(1.08); } }
.ze-carpeta-4 .ze-carpeta-in::after { content: ""; position: absolute; inset: -0.4em; border-radius: 1.3em; border: 0.25em solid var(--ze-oro-claro); box-shadow: 0 0 2em rgba(227, 197, 138, 0.45); opacity: 0; }
.ze-sc-5.is-play .ze-carpeta-4 .ze-carpeta-in::after { animation: ze-aparecer 0.5s ease 2.4s both; }

/* ------------------- ⑥ 双语服务 · chino y español ------------------- */
.ze-madrid { top: auto; bottom: 3%; height: auto; left: 5%; width: 90%; aspect-ratio: 4 / 1; }
.ze-madrid path { stroke: rgba(243, 236, 223, 0.6); stroke-width: 2.8; stroke-linejoin: round; stroke-dasharray: 100 120; stroke-dashoffset: 100; }
.ze-madrid .ze-suelo { stroke: rgba(201, 162, 92, 0.55); stroke-dasharray: none; stroke-dashoffset: 0; transform-origin: 50% 50%; transform: scaleX(0); }
.ze-sc-6.is-play .ze-madrid path { animation: ze-trazar 3s cubic-bezier(0.4, 0, 0.3, 1) 0.3s forwards; }
.ze-sc-6.is-play .ze-madrid .ze-suelo { animation: ze-crecer 1.2s cubic-bezier(0.6, 0, 0.2, 1) 0.1s both; }
.ze-puente path { stroke: var(--ze-oro); stroke-width: 0.55; stroke-linecap: round; stroke-dasharray: 100 120; stroke-dashoffset: 100; }
.ze-sc-6.is-play .ze-puente path { animation: ze-trazar 0.8s cubic-bezier(0.6, 0, 0.3, 1) 1.5s forwards; }
.ze-sc-6.is-play .ze-puente path + path { animation-delay: 1.7s; }
.ze-burbuja { position: relative; display: block; padding: 0.75em 1.25em 0.8em; border-radius: 1.6em; background: var(--ze-papel); color: var(--ze-tinta); font: 700 2.3em/1 var(--zx-display); letter-spacing: 0.01em; box-shadow: 0 1em 2em -1em rgba(0, 0, 0, 0.8); opacity: 0; }
.ze-burbuja.ze-zh { font: 400 2.5em/1 var(--ze-kai); letter-spacing: 0.12em; padding: 0.65em 1.05em 0.7em 1.17em; }
.ze-burbuja::after { content: ""; position: absolute; bottom: -0.42em; width: 1em; height: 1em; background: inherit; border-radius: 0.15em; transform: rotate(45deg); }
.ze-burbuja-a::after { left: 1.1em; }
.ze-burbuja-b::after { right: 1.1em; }
.ze-burbuja-b { background: var(--ze-oro-claro); }
.ze-sc-6.is-play .ze-burbuja-a { animation: ze-brotar 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) 0.9s both, ze-flotar 3.2s ease-in-out 1.6s infinite alternate; }
.ze-sc-6.is-play .ze-burbuja-b { animation: ze-brotar 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) 1.2s both, ze-flotar 3.2s ease-in-out 1.9s infinite alternate-reverse; }
@keyframes ze-flotar { from { opacity: 1; transform: translateY(0); } to { opacity: 1; transform: translateY(-0.9em); } }
.ze-desde { display: block; white-space: nowrap; font: 700 1.9em/1 var(--zx-display); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ze-oro-claro); opacity: 0; }
.ze-desde.ze-zh { font: 400 2.2em/1 var(--ze-kai); letter-spacing: 0.3em; }
.ze-sc-6.is-play .ze-desde { animation: ze-subir 0.8s cubic-bezier(0.2, 0.9, 0.25, 1) 2s both; }

/* ------------------- composición fija (póster) ------------------- */
.ze-rejilla { display: grid; grid-template-columns: repeat(3, 14.6em); gap: 1.7em; }
.ze-rejilla > span { display: grid; justify-items: start; align-content: space-between; height: 14.6em; padding: 1.8em; border-radius: 1.2em; background: linear-gradient(180deg, #fdfaf4, var(--ze-papel)); box-shadow: 0 1em 2em -1em rgba(0, 0, 0, 0.85); }
.ze-rejilla b { display: grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 0.18em; background: var(--ze-tinta); color: var(--ze-papel); font: 400 3.8em/1 var(--ze-kai); }
.ze-rejilla > span:nth-child(2) b { background: var(--ze-rojo); }
.ze-rejilla small { font: 700 2em/1.15 var(--zx-display); color: var(--ze-tinta); }
.ze-rejilla small.ze-zh { font: 400 2.3em/1.1 var(--ze-kai); letter-spacing: 0.06em; }
.ze-poster-sello { display: block; position: relative; width: 7em; height: 7em; transform: rotate(-8deg); filter: drop-shadow(0 0.6em 0.9em rgba(0, 0, 0, 0.55)); }
.ze-poster-sello .ze-cara { backface-visibility: visible; }

/* ---------------------- animaciones comunes ---------------------- */
@keyframes ze-aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes ze-trazar { to { stroke-dashoffset: 0; } }
@keyframes ze-subir { from { opacity: 0; transform: translateY(0.6em); } to { opacity: 1; transform: none; } }
@keyframes ze-tinta { from { opacity: 0; transform: scale(1.32); } 55% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes ze-barrer { from { transform: scaleX(0); } to { transform: none; } }
@keyframes ze-crecer { from { transform: scaleX(0); } to { transform: none; } }
@keyframes ze-brotar { from { opacity: 0; transform: scale(0.55); } to { opacity: 1; transform: none; } }

/* Títulos largos en chino: un punto menores; los grupos marcados no se parten. */
.ze-pie-t.ze-zh.ze-largo { font-size: clamp(24px, 6.9cqw, 44px); letter-spacing: 0.03em; }
.ze-g { display: inline-block; white-space: nowrap; }

/* ------------------------- estados ------------------------- */
/* Sin .is-run (sin JavaScript o con movimiento reducido): la composición fija. */
.ze:not(.is-run) .ze-sc:not(.ze-poster), .ze:not(.is-run) .ze-pie:not(.ze-pie-poster),
.ze:not(.is-run) .ze-viaje, .ze:not(.is-run) .ze-mando { display: none; }
.ze:not(.is-run) .ze-poster, .ze:not(.is-run) .ze-pie-poster { opacity: 1; visibility: visible; transition: none; }
.ze.is-run .ze-poster, .ze.is-run .ze-pie-poster { display: none; }
.ze.is-paused .ze-marco *, .ze.is-paused .ze-marco *::before, .ze.is-paused .ze-marco *::after { animation-play-state: paused !important; }

/* ------------------------- tamaños ------------------------- */
/* Móvil: una franja compacta (dibujo pequeño a la derecha) que no aleja el formulario. */
@container ze (max-width: 479.98px) {
  .ze-marco { --lado: 36cqw; column-gap: 14px; padding: 12px 12px 10px 16px; border-radius: 16px; }
  .ze-marco::before { inset: 5px; border-radius: 12px; }
  .ze-pie-n { margin-bottom: 7px !important; font-size: 11px; }
  .ze-pie-t { font-size: clamp(19px, 6.4cqw, 26px); }
  .ze-pie-t.ze-zh { font-size: clamp(22px, 7.6cqw, 30px); }
  .ze-pie-t.ze-zh.ze-largo { font-size: clamp(20px, 6.4cqw, 26px); }
  .ze-pie-o { margin-top: 5px !important; font-size: 11px; }
  .ze-pie-o.ze-zh { font-size: 12.5px; }
  .ze-pie-s { margin-top: 6px !important; font-size: 12.5px; line-height: 1.45; }
  .ze-mando { margin-top: 6px; gap: 10px; }
  .ze-pausa { width: 30px; height: 30px; }
  .ze-pausa svg { width: 12px; height: 12px; }
  .ze-cap { padding: 8px 0; }
  .ze-fichas { gap: 4px; margin-top: 8px; }
  .ze-fichas li { padding: 3px 8px; font-size: 11.5px; }
}
/* En el teléfono, la composición fija no lista las fichas (las lee el texto para lectores de pantalla). */
@container ze (max-width: 419.98px) {
  .ze-pie-poster .ze-fichas { display: none; }
}
@container ze (max-width: 359.98px) {
  .ze-pie-s { display: none; }
}

/* ---------------------- movimiento reducido ---------------------- */
@media (prefers-reduced-motion: reduce) {
  .ze { animation: none; }
  .ze .ze-sc:not(.ze-poster), .ze .ze-pie:not(.ze-pie-poster), .ze .ze-viaje, .ze .ze-mando { display: none !important; }
  .ze .ze-poster, .ze .ze-pie-poster { display: block !important; opacity: 1 !important; visibility: visible !important; }
  .ze *, .ze *::before, .ze *::after { animation: none !important; transition: none !important; }
}
