Triassic period ended with 'lost' mass extinction and a million-year rain storm, study claims