Temperature-induced phase transition and intramolecular charge-transfer process based on poly(N-isopropylacrylamide) hydrogel with covalently attached D–π–A type dye