Scientists have identified 166,000 sq km of climate-resilient coral reefs, offering fresh hope for marine ecosystems threatened by warming oceans.