Rail company bans device targeting youths