/* UNIVERSIA · SISTEMA DE VENTANAS AUDIOVISUALES V0.21
 * Patrón compartido para las cuatro profundizaciones de Nivel 1 y Fundadora.
 * IMÁGENES: full-bleed, sin esquinas ni números impresos, un solo recorte por CSS.
 * La próxima conexión de videos hereda estas proporciones y márgenes.
 */
#infoDialog {
  --uv-media-radius: clamp(15px, 1.8vw, 20px);
  --uv-media-ratio: 16 / 9;
  --uv-media-outline: rgba(229,245,255,.45);
}
#infoDialog .video-brief{
  padding: clamp(12px,1.5vw,18px);
  border-radius: clamp(20px,2vw,25px);
  border:1px solid rgba(255,255,255,.8);
  background:linear-gradient(130deg,rgba(245,251,255,.83),rgba(217,235,252,.63) 55%,rgba(230,218,250,.52));
  box-shadow: 0 14px 28px rgba(56,100,146,.085), inset 0 1px rgba(255,255,255,.96);
}
#infoDialog .video-brief-head{margin:0 1px clamp(12px,1.3vw,16px)}
#infoDialog .video-stage{
  position:relative;
  isolation:isolate;
  width:100%;
  box-sizing:border-box;
  aspect-ratio:var(--uv-media-ratio);
  border:0;
  border-radius:var(--uv-media-radius);
  overflow:hidden;
  padding:0;
  background:#b9d2e8;
  outline:1px solid var(--uv-media-outline);
  outline-offset:0;
  box-shadow: 0 8px 23px rgba(35,80,127,.13), inset 0 1px rgba(255,255,255,.38);
  -webkit-mask-image:-webkit-radial-gradient(white,black);
}
#infoDialog .video-art{
  display:block;
  position:absolute;
  inset:0;
  width:100%; height:100%;
  max-width:none;
  object-fit:cover;
  object-position:center center;
  margin:0;
  border:0;
  border-radius:0;
  transform:none;
  z-index:0;
}
/* One glass window: depth within the image, not a second rounded card. */
#infoDialog .video-stage::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(0deg,rgba(20,45,88,.70) 0%,rgba(23,51,101,.34) 34%,rgba(20,51,98,.04) 72%,transparent 100%);
}
#infoDialog .video-stage::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  border-radius:inherit;
  background:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.48),inset 0 -1px 0 rgba(220,239,255,.34);
}
#infoDialog .video-stage-title{
  z-index:3;
  left:clamp(17px,3.2%,30px);
  bottom:clamp(18px,6%,32px);
  max-width:79%;
  color:#fff;
  text-shadow:0 2px 12px rgba(22,47,85,.76);
}
#infoDialog .video-stage-title small{
  color:rgba(242,248,255,.94);
  margin-bottom:clamp(7px,1vw,12px);
  letter-spacing:.14em;
  font-size:clamp(9px,.85vw,11px);
}
#infoDialog .video-stage-title span{
  font-size:clamp(18px,2vw,28px);
  line-height:1.2;
}
#infoDialog .video-stage .video-coming{
  z-index:4;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(235,246,255,.17);
  box-shadow:0 8px 20px rgba(19,49,101,.12),inset 0 1px rgba(255,255,255,.28);
}
#infoDialog .video-note{margin:clamp(12px,1.3vw,16px) 2px 1px!important}
#infoDialog .video-stage video,
#infoDialog .video-stage iframe{position:absolute;inset:0;z-index:5;width:100%;height:100%;border:0;border-radius:0}
@media(max-width:620px){
  #infoDialog .video-brief{padding:10px;border-radius:19px}
  #infoDialog .video-brief-head{gap:8px;margin:0 0 11px}
  #infoDialog .video-stage{--uv-media-radius:14px;aspect-ratio:16/10}
  #infoDialog .video-stage-title{left:15px;bottom:14px;max-width:84%}
  #infoDialog .video-stage-title small{font-size:8px}
  #infoDialog .video-stage-title span{font-size:clamp(16px,4vw,19px)}
  #infoDialog .video-stage .video-coming{right:11px;top:11px;width:35px;height:35px;font-size:15px}
}
@media(prefers-reduced-motion:reduce){
 #infoDialog .video-stage-title, #infoDialog .video-art { animation:none!important; transition:none!important }
}
