After Earth’s third mass extinction, mammals’ surviving ancestors ruled the supercontinent Pangea. But lizards soon ushered in the age of reptiles.