/* Player name labels pinned above the heads (screen-aligned, stacked when they would overlap). */
#tags { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ntag { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 5px; padding: 3px 8px 3px 5px; border-radius: 6px; background: rgba(8, 12, 22, .82); border-left: 3px solid var(--tc, #ffd21f); color: #fff; font: 700 13px "Barlow Condensed", "Arial Narrow", Arial, sans-serif; letter-spacing: .05em; white-space: nowrap; transform: translate(-50%, -100%); will-change: transform; transition: opacity .2s; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.ntag img { width: 16px; height: 11px; border-radius: 2px; }
.ntag::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: rgba(8, 12, 22, .82); }
.ntag.stacked::after { display: none; }
.ntag.far { opacity: .85; font-size: 12px; }
@media (max-width: 760px) { .ntag { font-size: 11px; padding: 2px 6px 2px 4px; } }
