Brightly colored engagement tactics—trophies, confetti, a green light—long ago jumped from smartphone games to everything from online shopping to sports betting and...