The cock-of-the-walk confidence with which liberals strode into the 21st century has given way to trembling self-doubt.