/* Keep all six homepage tabs inside the existing desktop and tablet headers. */
@media (min-width: 761px) and (max-width: 1280px) {
  html:root .nav-shell nav { gap: 5px; }
  html:root .nav-shell nav a { padding-inline: 11px; }
}

/* Larger forum labels can wrap before the navigation changes to its phone layout. */
@media (min-width: 761px) and (max-width: 860px) {
  #phpbb.vexor-wilderness .vexor-primary-nav > a {
    padding-inline: 8px;
    font-size: 15px;
    white-space: normal;
    text-align: center;
  }
}

/* Two rows leave enough room for the full forum and member-directory labels. */
@media (max-width: 520px) {
  #phpbb.vexor-wilderness .vexor-primary-nav > a:not(.vexor-nav-play) {
    flex: 1 1 29%;
    padding-inline: 5px;
  }
}
