The Islamic State is adapting to terrain loss by deepening its online reach, leveraging platforms to mobilise and influence followers.