<% state = tournament_public_board_state(match) %> <% live_session = tournament_public_live_session(match) %> <% recording = tournament_public_recording(match) %> <% score = tournament_public_score_label(match) %> <% if match.scheduled_at %> <%= match.scheduled_at.in_time_zone.strftime("%H:%M") %> <% else %> — <% end %> <%= match.court.presence || "—" %>
<%= tournament_team_chip(match.home_participant, name: match.home_display_name) %> <%= tournament_team_chip(match.away_participant, name: match.away_display_name) %>
<% if match.tournament_group || match.tournament_round %>

<%= [match.tournament_group&.name, match.tournament_round&.name].compact.join(" · ") %>

<% end %> <% if score.present? %> <%= score %> <% else %> — <% end %> <%= t("tournaments.page.state.#{state}") %> <% if live_session %> <%= link_to t("tournaments.page.watch_live"), public_live_path(live_session), class: "tournament-board__cta tournament-board__cta--live" %> <% elsif recording %> <%= link_to t("tournaments.page.watch_replay"), public_replay_path(recording.stream_session_id), class: "tournament-board__cta" %> <% else %> <%= t("tournaments.page.no_media") %> <% end %>