.welcome-film-open {
  min-height: 44px;
  padding: .55rem .9rem;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: #1c151a;
  color: #fff6ef;
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
}

.welcome-film {
  --film-offset: clamp(.6rem, 6vh, 3.5rem);
  position: fixed;
  inset: var(--film-offset) 0 auto;
  width: min(92%, 58rem);
  max-height: calc(100dvh - 2 * var(--film-offset));
  margin: 0 auto;
  padding: clamp(.75rem, 2vw, 1.5rem);
  border: 1px solid #574a55;
  border-radius: 1rem;
  background: #170f17;
  color: #fff6ef;
  overflow: auto;
  overscroll-behavior: contain;
}

.welcome-film::backdrop {
  background: rgba(15, 9, 15, .86);
}

.welcome-film-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}

.welcome-film-header h2 {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  line-height: 1.15;
}

.welcome-film video {
  display: block;
  width: 100%;
  max-height: 65dvh;
  aspect-ratio: 16 / 9;
  background: #09070a;
}

.welcome-film[data-mobile] video { aspect-ratio: 4 / 5; }

.welcome-film-chapter {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .65rem;
  align-items: baseline;
  min-height: 2.25rem;
  margin: .65rem 0 0;
  color: #fff6ef;
}

.welcome-film-chapter span { color: #dcc3df; }

.welcome-film-links:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding-top: .75rem;
}

.welcome-film button,
.welcome-film a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: .5rem .85rem;
  border: 1px solid #796774;
  border-radius: .55rem;
  background: #291c28;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.welcome-film-close {
  min-width: 2.75rem;
}

.welcome-film [hidden],
.welcome-film-open[hidden] {
  display: none;
}
