/* Mobile tournament menu override: one edition link per row. */
#edition-nav .nav-group > div,
#edition-nav .nav-edition > div {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 4px !important;
}

#edition-nav a,
#edition-nav .year-link {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  justify-content: flex-start !important;
  white-space: nowrap !important;
}

@media (max-width: 650px) {
  .edition-menu nav {
    width: min(100vw - 64px, 330px) !important;
    max-width: calc(100vw - 64px) !important;
  }

  #edition-nav .nav-group > div,
  #edition-nav .nav-edition > div {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  #edition-nav a,
  #edition-nav .year-link {
    width: 100% !important;
    min-height: 40px !important;
    padding: 8px 10px !important;
  }
}

/* Recent schedule table: keep matchup names on one line. */
.upcoming-section .history-scroll table {
  min-width: 660px;
}

.upcoming-section .history-scroll th:nth-child(3),
.upcoming-section .history-scroll td:nth-child(3) {
  white-space: nowrap !important;
  min-width: 150px;
}

@media (max-width: 650px) {
  .upcoming-section .history-scroll th:nth-child(3),
  .upcoming-section .history-scroll td:nth-child(3) {
    min-width: 170px;
  }
}
