pitch_deg)) fiAttitude.updatePitch(g.pitch_deg);

      // heading
      if (Number.isFinite(g.heading_deg)) {
        const hdg = norm360(g.heading_deg);
        fiHeading.updateHeading(hdg);
        if (qs.hdg) qs.hdg.textContent = Math.round(hdg);
      }

      // airspeed (prefer airspeed, else ground) → km/h
      if (Number.isFinite(g.airspeed_mps) || Number.isFinite(g.groundspeed_mps)) {
        const spd_mps = Number.isFinite(g.airspeed_mps) ? g.airspeed_mps : g.groundspeed_mps;
        const spd