Behind the glow of every teenage smartphone lies a neurological tug-of-war between instant gratification and modern loneliness.