Meta, YouTube design apps to addict kids, jury hears as landmark trial begins