Hard not to "blame the referee" when the supreme judge-kings in charge of the electronic voting system are openly partisan to say the least.
In fact, the issue of fair elections in Brazil has become background noise because of these so called "referees". They have usurped so much power elections are just theater at this point. It doesn't matter who wins because in the end it's the judge-kings who rule the country. There's no point in even discussing the matter until their fall.
That's perhaps not the best example of a stable democracy. Lots of people in Brazil mistrust the voting system, and they were pretty close to a coup d'etat after their last election, with polticians thrown in jail and so on.