Evolution of bird habitat quality driving mechanisms and ecological network weights