Thin-wall hollow porous cystic-like graphitic carbon nitride with awakened n→π* electronic transitions and exceptional structural features for superior photocatalytic degradation of sulfamethoxazole.