COP31 started with a sputter and ended in a puff of smoke as almost 200 countries failed to overcome divisions and reach a new deal on how to tackle climate change.