const TEAM_DISPLAY_OVERRIDES: Record<string, string> = {
  Athletics: 'Sacramento Athletics',
  'Oakland Athletics': 'Sacramento Athletics',
  'St.Louis Cardinals': 'St. Louis Cardinals',
  Wolverhampton: 'Wolves',
  'Wolverhampton Wanderers': 'Wolves',
};

export function formatTeamDisplayName(value: string | null | undefined): string {
  const cleaned = String(value || '').replace(/\s+/g, ' ').trim();
  if (!cleaned) return '';
  return TEAM_DISPLAY_OVERRIDES[cleaned] || cleaned;
}
