/* Launch fixes for small screens; keep the existing Duxville layout. */
@media (max-width: 850px) {
  body.dq-site .dq-nav {
    max-height: calc(100vh - 75px);
    max-height: calc(100dvh - 75px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  body.dq-site .dq-menu-button,
  body.dq-site .dq-icon-button,
  body.dq-site .dq-pronounce {
    min-width: 44px;
    min-height: 44px;
  }
  body.dq-site .dq-nav > a,
  body.dq-site .dq-textlink,
  body.dq-site .dq-text-button,
  body.dq-site .dq-form-help a,
  body.dq-site .dq-footer a:not(.dq-brand),
  body.dq-site .dqsp .dqsp-link {
    min-height: 44px;
  }
  body.dq-site .dq-form-help a,
  body.dq-site .dq-footer a:not(.dq-brand) {
    display: inline-flex;
    align-items: center;
  }
  body.dq-site .dq-footer a:not(.dq-brand) {
    display: flex;
  }
  body.dq-site .dq-contact-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
  body.dq-site .dq-contact-form select,
  body.dq-site .dq-contact-form textarea,
  body.dq-site .dq-form-card input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
  body.dq-site .dqsp select,
  body.dq-site .dqsp textarea {
    font-size: 16px;
  }
  body.dq-site .dq-account-grid > *,
  body.dq-site .dq-split > *,
  body.dq-site .dqsp-task-heading > div:first-child {
    min-width: 0;
  }
  body.dq-site .dq-toolbar h2,
  body.dq-site .dqsp-task-buttons button {
    overflow-wrap: anywhere;
  }
  body.dq-site .dq-map-game-head {
    grid-template-columns: minmax(0, 1fr);
  }
  body.dq-site .dq-map-game-head .dq-game-progress {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    min-width: 0;
    text-align: left;
  }
  body.dq-site .dq-map-game-head .dq-game-progress .dq-button {
    grid-column: 1 / -1;
  }
  body.dq-site .dq-map-scroll {
    -webkit-overflow-scrolling: touch;
  }
  body.dq-site #dq-trailer .dq-trailer-head {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #081426;
  }
}
/* Avoid a zero-height video when a phone is held in landscape. */
@media (max-height: 600px) {
  body.dq-site #dq-trailer .dq-trailer-book-frame video {
    max-height: 55vh;
    max-height: 55dvh;
  }
}
