As soon as the news buzzed on their phones, Americans gathered spontaneously on street corners and front lawns — honking their horns, banging pots and pans, starting impromptu dance parties — as an agonizingly vitriolic election and exhausting four-day wait…