Around 7:30 p.m., Christopher M. Brown received a text message with the first results of his state judicial race, and in that moment, he knew he was in for a long night.