Some habitat-forming coastal ecosystems, including many coral reefs, kelp forests and seagrass meadows, will undergo irreversible phase shifts due to marine heatwaves with global warming levels >1.5°C and are at high risk this century even in <1.5°C scenarios that include periods of temperature overshoot beyond 1.5°C