{% comment %}
`delay` is a hover-intent open delay in milliseconds (default 0 = immediate,
backwards-compat). Set to something like 300-500 when the tooltip carries
non-essential info that should only surface on a deliberate hover, not on a
passing mouse trail. The close-flicker guard (~80ms) is independent and always
on: it prevents the tooltip disappearing during a fast pointer move between
trigger and tooltip.
{% endcomment %}
{# Trigger Element #}
{{ slot }}
{# Tooltip Content #}
{{ content }}
{% if arrow %}
{# Tail: a rotated square at the edge facing the trigger; follows the flipped side #}
{% endif %}