.png',
        iconSize: [41, 41], iconAnchor: [20, 20]
      })
    }).addTo(map);

    // ---------- connection UI ----------
    const toast = document.getElementById('telemetry-toast');
    const connDot = document.getElementById('conn-dot');
    const connText = document.getElementById('conn-text');
    const lastFix = document.getElementById('last-fix');

    // quick-stat DOM refs
    const qs = {
      spd:  document.getElementById('conn-spd'),
      alt:  document.getElementById('conn-alt'),
      