/* dev72.112: pre-rendered portrait WebGL intro video + seamless live-hero handoff */
html.intro-phone{background:#412650;transition:background-color .5s ease}
html.intro-phone.zstarted,html.intro-phone:not(.intro){background:var(--zg-cream,#FFEEE1)}
#zg-phone-intro{
  position:fixed;inset:0;z-index:120;pointer-events:none;overflow:hidden;
  background:#412650;
  transition:opacity .5s ease;
}
#zg-phone-intro.is-out{opacity:0}
#zg-phone-intro .zg-pi-poster{
  position:absolute;inset:0;background:#412650 center/cover no-repeat;
  transition:opacity .35s ease;
}
#zg-phone-intro .zg-pi-poster.is-hidden{opacity:0}
#zg-phone-intro .zg-pi-video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  background:#412650;
}
html.intro-phone .zg-hero-3d-placeholder{
  position:absolute;left:50%;top:min(32svh,270px);z-index:2;width:min(70vw,268px);
  height:auto;transform:translateX(-50%);pointer-events:none;object-fit:contain;
}
html.intro-phone .zg-zugi-fallback{opacity:0!important}
html.intro-phone:not(.zstarted) #stage{opacity:0;pointer-events:none}
html.intro-phone.zstarted #stage{opacity:1;transition:opacity .35s ease}