The africans and indians will be screwed, but once the rich americans' mansions start floodgin and burngin down, there will be a sudden push for climate action or whatev0r. Teh earth will be fine until it naturally decays.
the sun will become too hot for life on earth to subsite. conceivably we could just move the planet out of the way and keep it warm for basicaly eternity or slow down the sun ageing (even with modern technology).