/* The email box inside the film player, and the big Play button for members. */
#gate-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(440px, calc(100% - 32px));
  margin-top: 8px;
}
.gate-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
#gate-email {
  width: 100%;
  height: 54px;
  padding: 0 14px;
  border: 1px solid #a99f8c;
  border-radius: 3px;
  color: var(--ink);
  background: #fffdf8;
  font-size: 18px;
  text-align: center;
}
#gate-form .button {
  width: 100%;
  min-height: 54px;
  font-size: 16px;
  font-weight: 700;
}
#film-gate #gate-error {
  margin: 0;
  color: #ffb9a8;
  font-size: 14px;
  font-weight: 700;
}
#gate-error:empty {
  display: none;
}
#film-gate .gate-consent {
  margin: 0;
  color: #bdb7aa;
  font-size: 10.5px;
  line-height: 1.45;
}
.gate-consent a {
  text-decoration: underline;
}
#gate-have-code {
  color: var(--gold);
  font-size: 15px;
  text-decoration: underline;
}
#film-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(10, 9, 7, 0.28);
  cursor: pointer;
}
#film-play span {
  padding: 20px 34px;
  border-radius: 4px;
  color: #292119;
  background: var(--gold);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
  font: 400 clamp(21px, 3vw, 30px) / 1.1 var(--serif);
  white-space: pre;
}
#film-play:hover span {
  background: #f6dbaa;
}
@media (max-width: 500px) {
  #film-gate h2 {
    margin-top: 12px;
    font-size: 34px;
  }
}
/* The player is the shape of the film. Every film's picture is the same 9:16 strip, so
   nothing is left over: no black bars on the portrait files, no blurred sides on the wide ones. */
.screening-room {
  --film-height: clamp(560px, 80vh, 780px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 28px;
  align-content: start;
  align-items: start;
}
.screening-room > * {
  grid-column: 2;
  min-width: 0;
}
.screening-room > .film-screen {
  grid-column: 1;
  grid-row: 1 / span 12;
  width: calc(var(--film-height) * 9 / 16);
  height: var(--film-height);
  min-height: 0;
}
.film-screen video {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
.screening-room > .player-toolbar {
  padding-top: 0;
}
#bo-town-link {
  margin-top: 4px;
}
.chapter-panel ol {
  max-height: calc(clamp(560px, 80vh, 780px) - 150px);
}
#film-gate h2 {
  font-size: 42px;
}
#film-play span {
  padding: 16px 24px;
  font-size: 22px;
}
#film-gate {
  justify-content: flex-start;
  padding-top: 30px;
}
@media (max-width: 1180px) {
  .film-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .chapter-panel ol {
    max-height: 320px;
  }
}
@media (max-width: 760px) {
  #film-gate {
    justify-content: center;
    padding-top: 0;
  }
  .screening-room {
    display: block;
  }
  .screening-room > .film-screen {
    width: min(100%, calc(84svh * 9 / 16));
    height: auto;
    margin-inline: auto;
    aspect-ratio: 9 / 16;
  }
  .film-screen video {
    position: absolute;
    inset: 0;
  }
  .chapter-panel ol {
    max-height: 240px;
  }
}
#world-back {
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
}
