Smartphone-assisted ratiometric fluorescence sensing platform and logical device based on polydopamine nanoparticles and carbonized polymer dots for visual and point-of-care testing of glutathione.