A pH-responsive and magnetically separable dynamic system for efficient removal of highly dilute antibiotics in water.