.welcome-video {
  position: fixed;
  z-index: 30;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(400px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  color: #fff;
  background: #371725;
  border: 1px solid #e8c7cb;
  border-radius: 14px;
  box-shadow: 0 12px 48px #16091455;
  animation: welcomeVideoArrival .35s ease-out both;
}
.welcome-video[hidden] { display: none; }
.welcome-video-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; }
.welcome-video-header > div > span { color: #edcbd1; font-size: .875rem; }
.welcome-video-header h2 { margin: 2px 0 0; font: 600 1.25rem/1.3 'DM Sans', sans-serif; letter-spacing: -.02em; }
.welcome-video-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff55; border-radius: 50%; color: #fff; background: transparent; font-size: 1.8rem; line-height: 1; }
.welcome-video-close:hover { background: #ffffff20; }
.welcome-video-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 200px; background: #100a10; }
.welcome-video-stage iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 200px; border: 0; }
.welcome-video-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; padding: 4px 16px 6px; }
.welcome-video-footer p { margin: 0; font-size: .875rem; line-height: 1.5; color: #f0dce1; }
.welcome-video-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
.welcome-video-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.menu-open .welcome-video { visibility: hidden; }
@keyframes welcomeVideoArrival { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .welcome-video { animation: none; } }
@media (max-width: 480px) {
  .welcome-video { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100% - 24px); }
  .welcome-video-header { padding-block: 8px; }
}
