/* Game pages have their own inline styles, so keep the mobile header fix separate. */
@media (max-width: 1120px) {
  body > header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 12px 16px;
  }

  body > header > .logo {
    display: block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.2;
  }

  body > header > .header-nav {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
    gap: 6px 14px;
    overflow: visible;
  }

  body > header > .header-nav a {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body > header > .header-right {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
  }
}
