Thailand bans mass gatherings under emergency decree