Modulated synthesis of N-doped porous carbons via rational design of the poly(ionic liquid) precursors towards efficient CO2 separation