/* Portada v2 — what the four variants share, on top of the site's sheets (copies) and the Z2 hero.
   Everything here comes from portada-v1/comun/portada.css and is about the hero hand-off and
   performance, not about the design below it: each variant brings its own sheet for that. */

/* The case index enters when the intro ends (over the running intro it cost GPU re-rasters of
   250–1000 ms: portada-v1/README.md, «Saltos de la portada completa»). */
html.js:not(.intro-fin) .fichero-casos{visibility:hidden;opacity:0}
html.intro-fin .fichero-casos{transition:opacity .8s var(--ease)}
/* the nav's glass blur waits for the end of the intro too */
html.js:not(.intro-fin) nav{backdrop-filter:none;-webkit-backdrop-filter:none}

/* The case index's call as the opacity of a still glow, not an animated box-shadow (portada-v1). */
.fichero-caso-2.disponible{animation:none}
.fichero-caso-2.disponible::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(196,174,255,.42),0 0 18px rgba(167,139,250,.17);
  opacity:0;animation:llamar-caso-luz 12s var(--ease) infinite}
@keyframes llamar-caso-luz{0%,30%,100%{opacity:0}15%{opacity:1}}
@media (prefers-reduced-motion: reduce){ .fichero-caso-2.disponible::after{animation:none} }
/* the case index's numbers in sans, not italic serif (portada-v1) */
.fichero-numero{font-family:inherit;font-style:normal;font-size:15px;font-weight:500}

/* the JetBrains Mono face lives with the hero (comun/hero/base.css); the site's sheet names it too */
.mono{font-family:'JetBrains Mono',ui-monospace,monospace}


/* The Z2 hero animates its beam groups by class (.izq / .der, comun/hero/v6.css), and the site's carousel
   arrows carry the same classes (.flecha.izq / .flecha.der): during the intro the arrows got the beams'
   flight, and since the carousel is not drawn until the intro ends, they flew across once it appeared
   (found in this round; portada-v1 has it too). Must be solved in the hero's selectors when integrating. */
.flecha:is(.izq,.der){animation:none !important}
