{% comment %} Hero, channel identity only. The niche match strength
moved next to the niche name + percentage below so it's visually
attached to the thing it qualifies. {% endcomment %}
?
{% translate "Composite rank vs other channels in the same niche." %}
50 {% translate "is the median;" %} 80+
{% translate "is top-tier engagement; below 30 means most niche peers outperform this channel on the engagement metrics below." %}
{{ channel.engagement_percentiles.overall }}
{% translate "Niche" %}
{{ niche.name }}
{{ niche.slug }}
{% comment %}
Single pill combining the match-strength label and the
raw match-score percentage. Co-locating the two makes
it clear that "Strong" is a discrete label for the
same underlying confidence number ("76%"), they were
visually disconnected when the strength pill lived in
the channel-identity row at the top of the card.
{% endcomment %}
{% if niche.match_strength or niche.match_score %}
{% if niche.match_strength %}
{{ niche.match_strength }}
{% endif %}
{% if niche.match_strength and niche.match_score %}·{% endif %}
{% if niche.match_score %}{{ niche.match_score|pretty_percent:0 }}{% endif %}
{% endif %}
{% comment %}
Engagement breakdown, 3 rows showing channel value, percentile
rank (as a horizontal progress bar with brand fill), and niche
median for context. Each row reuses the same grid template so
labels and bars line up vertically.
{% endcomment %}
{% if channel.engagement_percentiles %}
{% translate "Engagement vs niche distribution" %}
?
{% translate "Each row compares one engagement ratio against the niche's distribution." %} {% translate "Views / sub" %} {% translate "is recent views divided by subscriber count;" %} {% translate "Likes / view" %}
{% translate "and" %} {% translate "Comments / view" %} {% translate "are the equivalent per-video ratios." %}
{% translate "Niche p50" %} {% translate "is the median niche channel on that ratio, half of the niche scores below it, half above. The" %} pNN {% translate "readout on the right is your channel's percentile rank:" %} p50 {% translate "means you sit exactly at the niche median," %} p80
{% translate "means you outperform 80% of niche peers," %} p20
{% translate "means 80% of peers outperform you." %}
{% with eng=channel.engagement engp=channel.engagement_percentiles nichep=niche.engagement %}
{% endif %}
{% comment %}
Title-pattern comparison: channel vs niche aggregate. Two-column
table so the user can read each row as "is my channel above or
below the typical niche channel on this dimension?"
{% endcomment %}
{% if channel.title_patterns and niche.title_patterns %}
{% translate "Title patterns" %}
{% translate "You" %}
{% translate "Niche" %}
{% with ch=channel.title_patterns nc=niche.title_patterns %}
{% endif %}
{% comment %}
Common niche phrases. Tag-cloud-ish layout, each pill carries
the phrase + its frequency. Phrases the channel ALSO uses get
an orange tint so they pop out ("you're already on these
trends"). Capped to the top ~12 server-side ordering.
{% endcomment %}
{% if niche.title_patterns.common_niche_phrases %}
{% translate "Common phrases in niche" %}
{% for ph in niche.title_patterns.common_niche_phrases|slice:":12" %}
{% if ph.used_by_channel %}
{% endif %}
{{ ph.phrase }}{{ ph.frequency|pretty_percent:0 }}
{% endfor %}
{% if niche.title_patterns.common_niche_phrases|length > 12 %}