html.web-first-visit-pending{overflow:hidden;overscroll-behavior:none}
html.web-first-visit-pending body>header,
html.web-first-visit-pending body>main,
html.web-first-visit-pending body>footer{
  opacity:0;
  transform:translateY(12px);
}
body>header,body>main,body>footer{
  transition:opacity .7s ease,transform .7s ease;
}
html.web-first-visit-done body>header,
html.web-first-visit-done body>main,
html.web-first-visit-done body>footer{
  opacity:1;
  transform:translateY(0);
}
.web-first-visit{
  position:fixed;
  z-index:10000;
  inset:0;
  display:grid;
  place-items:center;
  overflow:hidden;
  padding:clamp(16px,3vw,40px);
  background:
    radial-gradient(ellipse at center,rgba(13,47,69,.72),rgba(4,18,31,.94) 72%),
    #04121f;
  opacity:1;
  transition:opacity .7s ease;
}
.web-first-visit.is-leaving{opacity:0;pointer-events:none}
.web-first-visit__backdrop{
  position:absolute;
  inset:-32px;
  background-image:
    linear-gradient(180deg,rgba(4,18,31,.34),rgba(4,18,31,.62)),
    url("../assets/skysbridge-first-visit-guest-poster.jpg");
  background-size:cover;
  background-position:center;
  filter:blur(28px);
  transform:scale(1.06);
  opacity:.58;
}
.web-first-visit__content{
  position:relative;
  z-index:1;
  width:min(100%,1180px,calc((100dvh - 144px)*1.7419));
}
.web-first-visit__frame{
  position:relative;
  width:100%;
  aspect-ratio:864 / 496;
  overflow:hidden;
  border:1px solid rgba(244,215,146,.56);
  border-radius:clamp(14px,1.8vw,24px);
  background:linear-gradient(145deg,rgba(244,215,146,.14),rgba(4,18,31,.92) 34%);
  box-shadow:
    0 0 0 5px rgba(4,18,31,.62),
    0 30px 90px rgba(0,0,0,.58),
    0 0 70px rgba(232,181,86,.13);
}
.web-first-visit__video{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:#04121f;
}
.web-first-visit__skip{
  min-width:72px;
  padding:7px 12px;
  border:1px solid rgba(244,215,146,.7);
  border-radius:999px;
  color:#f8f3e9;
  background:rgba(4,18,31,.82);
  box-shadow:0 4px 20px rgba(0,0,0,.3);
  font:500 12px/1.2 Inter,Arial,sans-serif;
  cursor:pointer;
}
.web-first-visit__controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-top:10px;
}
.web-first-visit__sound{
  display:grid;
  place-items:center;
  width:36px;
  height:32px;
  padding:0;
  border:1px solid rgba(244,215,146,.7);
  border-radius:999px;
  color:#f8f3e9;
  background:rgba(4,18,31,.82);
  box-shadow:0 4px 20px rgba(0,0,0,.3);
  cursor:pointer;
}
.web-first-visit__sound svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.web-first-visit__sound:hover,
.web-first-visit__sound:focus-visible{
  background:rgba(4,18,31,.96);
  outline:2px solid #f4d792;
  outline-offset:3px;
}
.web-first-visit__skip:hover,
.web-first-visit__skip:focus-visible{
  background:rgba(4,18,31,.96);
  outline:2px solid #f4d792;
  outline-offset:3px;
}
@media (max-width:700px){
  .web-first-visit{
    padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));
  }
  .web-first-visit__content{
    width:min(100%,calc((100dvh - 128px)*1.7419));
  }
  .web-first-visit__frame{
    border-radius:16px;
  }
  .web-first-visit__backdrop{opacity:.72;filter:blur(24px)}
  .web-first-visit__controls{padding-top:8px}
  .web-first-visit__skip{min-width:68px;padding:7px 10px;font-size:11px}
}
@media (prefers-reduced-motion:reduce){
  body>header,body>main,body>footer,.web-first-visit{transition:none}
}
