{% if show_close %}
{% endif %}
{% comment %}Map cards drop the route trace — the route is already drawn on the map
behind the card. With a photo they show it as a full-bleed hero; without one they get a
sport-colored hero band (matching the route's colour on the map) instead of an empty
band, carrying the sport pill and PR badge.{% endcomment %}
{% if not map_card or activity.photo_url %}
{% comment %}Pre-apply fc-has-map on route cards so the photo starts as the corner
thumbnail — otherwise it renders full-bleed and visibly snaps to the corner once the
tile map is drawn client-side.{% endcomment %}
{% if activity.photo_url %}{% endif %}
{% if not map_card %}{% endif %}
{% if activity.pb %}★ PR{% endif %}
{% include "strava/widgets/_fc_pill.html" %}
{% else %}
{% include "strava/widgets/_fc_pill.html" %}
{% if activity.pb %}★ PR{% endif %}