body.trailer-open {
  overflow: hidden;
}
.trailer-dialog {
  box-sizing: border-box;
  width: min(1120px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 20px;
  background: #0b1216;
  border: 1px solid #847457;
  box-shadow: 0 24px 100px #000b;
}
.trailer-dialog::backdrop {
  background: #04090de8;
}
.trailer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.trailer-heading h2 {
  margin: 0;
  font-size: clamp(20px, 3vw, 30px);
}
.trailer-heading button {
  white-space: nowrap;
}
#site-trailer {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100dvh - 180px);
  background: #000;
}
.trailer-credit {
  margin: 14px 0 0;
  color: #b8b6ad;
  font-size: 13px;
}
.trailer-error {
  color: #efd6ad;
}
.trailer-error a {
  text-decoration: underline;
}
@media (max-width: 560px) {
  .trailer-dialog {
    width: calc(100vw - 16px);
    padding: 12px;
  }
  .trailer-heading {
    gap: 8px;
  }
}
