/* Ventana de producto: vidrio borroso y apertura suave (2026-11-14). La animación de la skin está en openFx() de index.html. */
.hyj-dlg{background:rgba(5,6,7,.5);-webkit-backdrop-filter:blur(14px) saturate(1.1);backdrop-filter:blur(14px) saturate(1.1);animation:hyjdlg-bg .2s ease both;transition:opacity .18s ease}
.hyj-dlg__panel{background:rgba(17,19,21,.58) !important;-webkit-backdrop-filter:blur(26px) saturate(1.25);backdrop-filter:blur(26px) saturate(1.25);border-color:rgba(255,255,255,.09) !important;
  box-shadow:0 30px 80px -20px rgba(0,0,0,.75),inset 0 1px 0 rgba(255,255,255,.06);animation:hyjdlg-in .24s cubic-bezier(.2,.8,.2,1) both}
/* "go": viene de la animación de la skin; el fondo ya está oscuro y borroso, así que aparece sin fundido (evita el parpadeo) */
.hyj-dlg[data-fx="go"]{animation:none}
.hyj-dlg[data-fx="pre"]{animation:none;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
.hyj-dlg[data-fx="pre"] .hyj-dlg__panel{animation:none;opacity:0}
.hyj-dlg[data-fx="out"]{opacity:0}
.hyj-dlg[data-fx="out"] .hyj-dlg__panel{transform:scale(.98);transition:transform .18s ease}
@keyframes hyjdlg-bg{from{background:rgba(5,6,7,0);-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}}
@keyframes hyjdlg-in{from{opacity:0;transform:scale(.985)}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.hyj-dlg{background:rgba(5,6,7,.85)}.hyj-dlg__panel{background:#111315 !important}}
@media (prefers-reduced-motion:reduce){.hyj-dlg,.hyj-dlg__panel{animation:none;transition:none}}

/* Carga por partes: la línea de color se dibuja, la mitad izquierda sube desde la línea y después entra la derecha de izquierda a derecha */
.hyj-dlg__panel > div:first-child{animation:hyjdlg-rise .36s cubic-bezier(.65,.05,.25,1) .12s both}
.hyj-dlg__panel > div:first-child > span:last-child{transform-origin:0 50%;animation:hyjdlg-line .2s cubic-bezier(.3,.7,.2,1) .02s both}
.hyj-dlg[data-fx="pre"] .hyj-dlg__panel > div:first-child,.hyj-dlg[data-fx="pre"] .hyj-dlg__panel > div:first-child > span:last-child{animation:none}
.hyj-dlg .hyj-in{animation:hyjdlg-item .3s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--d,0ms) + .34s)}
.hyj-dlg .hyj-bar{transform-origin:0 50%;animation:hyjdlg-line .35s cubic-bezier(.3,.7,.2,1) .55s both}
@keyframes hyjdlg-line{from{transform:scaleX(0)}}
@keyframes hyjdlg-rise{from{clip-path:inset(calc(100% - 3px) 0 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes hyjdlg-item{from{opacity:0;transform:translateX(-22px);filter:blur(5px)}to{opacity:1;transform:none;filter:none}}
@media (prefers-reduced-motion:reduce){.hyj-dlg__panel > div:first-child,.hyj-dlg__panel > div:first-child > span:last-child,.hyj-dlg .hyj-in,.hyj-dlg .hyj-bar{animation:none}}

/* Brillo de rareza: nace en el centro, detrás de la skin, y se abre hacia afuera */
.hyj-dlg__media::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 70% 55% at 50% 55%,var(--glow,transparent),transparent 70%);
  transform-origin:50% 55%;animation:hyjdlg-glow .42s cubic-bezier(.2,.8,.2,1) .18s both}
.hyj-dlg[data-fx="pre"] .hyj-dlg__media::before{animation:none;opacity:0}
@keyframes hyjdlg-glow{from{opacity:0;transform:scale(.15)}60%{opacity:1}to{opacity:1;transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.hyj-dlg__media::before{animation:none}}

/* Celular (2026-11-15): el encabezado ocupa 3 filas (~200 px); fijo tapaba un cuarto de la pantalla, así que en pantallas chicas se desplaza con la página */
@media (max-width:700px){header{position:relative !important}}

/* Carrusel del inicio sin recuadro (2026-11-15): la skin flota sobre el fondo de la página y el brillo se desvanece hacia los bordes */
.hyj-car__glow{-webkit-mask-image:radial-gradient(ellipse 62% 58% at 50% 45%,#000 35%,transparent 75%);mask-image:radial-gradient(ellipse 62% 58% at 50% 45%,#000 35%,transparent 75%)}
.hyj-car__img{filter:drop-shadow(0 26px 34px rgba(0,0,0,.65))}
@media (max-width:600px){
  .hyj-car > div:first-child{aspect-ratio:1/1 !important}
  .hyj-car__img{inset:2% 8% 36% 8% !important;height:62% !important}
}
