.welcome-video-popup[hidden] { display: none; }
.welcome-video-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  transition: opacity .22s ease;
}
.welcome-video-popup.is-visible { opacity: 1; }
.welcome-video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 9, 5, .86);
  backdrop-filter: blur(5px);
}
.welcome-video-panel {
  position: relative;
  z-index: 1;
  width: min(960px, 94vw);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.welcome-video-panel video {
  display: block;
  width: 100%;
  max-height: 78vh;
  background: #000;
  border-radius: 5px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}
.welcome-video-close {
  position: absolute;
  z-index: 2;
  right: -15px;
  top: -15px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  background: #fff;
  color: #5c351e;
  font-size: 31px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .28);
}
.welcome-video-enter {
  margin-top: 13px;
  padding: 10px 24px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #5c351e;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.popup-open { overflow: hidden; }
@media (max-width: 680px) {
  .welcome-video-popup { padding: 12px; }
  .welcome-video-panel { width: 96vw; }
  .welcome-video-panel video { max-height: 72vh; }
  .welcome-video-close { right: -2px; top: -52px; }
}
@media (prefers-reduced-motion: reduce) {
  .welcome-video-popup { transition: none; }
}
