Just one hour of social media a day can ruin a whole night's sleep