/* Xenyra small count badge (A3.5e): unread messages on the Messages item (left menu) and tile. Shared component; colours from tokens.css. */
:has(> .xh-nav-badge){position:relative}
.xh-nav-badge{position:absolute;top:2px;left:calc(50% + 4px);min-width:18px;height:18px;padding:0 5px;display:grid;place-items:center;border-radius:999px;
  background:linear-gradient(135deg,#3355ff,#7a4df5);color:#fff;font-size:11px;font-weight:400;line-height:1;box-shadow:0 0 0 2px var(--xt-surface);pointer-events:none}
.xhh-ti > .xh-nav-badge{top:-6px;left:auto;right:-8px}
.xh-nav-badge[hidden]{display:none}
