late strikes by Philippe Coutinho and Neymar gave Brazil their first win of the World Cup against Costa Rica in St Petersburg on Friday and broke Central American hearts by sending them out of the tournament, Daily Star reported.
The result leaves the five-times world champions with four points from two games after they drew 1-1 with Switzerland in their opening match, and they provisionally rise above Serbia to top Group E.
The clock had ticked past 90 minutes when Marcelo crossed from the left and substitute Roberto Firmino headed the ball back across goal to Gabriel Jesus.
Jesus's first touch took the ball away from the defender and Coutinho raced in to poke past Keylor Navas from six metres out and claim his second goal of the tournament.
Neymar added the second with practically the last kick of the game, racing on to Jesus's square ball following a quick counter-attack as Costa Rica were forced to push for the equaliser.