photoswitch-based design for sensing Royals and similar