@supports selector(:has(*)) {
  /* Only reverse when the menu is actually open */
  .dropdown-menu.show:has(a[href*="/season/"]) {
    display: flex;               /* apply flex ONLY while open */
    flex-direction: column-reverse;
  }
}
