Tuning metal single atoms embedded in NxCy moieties toward high-performance electrocatalysis