{# Render a species pill: outlined chip with icon + count. Hovering shows the species name via title. #} {% macro species_pill(name, count) %} {%- set ic = species_icon(name) -%} {%- if ic.type == 'emoji' -%} {%- else -%} {%- endif -%} {{ count }} {% endmacro %}