Those confined to the tops of mountains or below impassable barriers may face extinction as their habitat grows smaller.