Brazil striker Cristiane grabbed a late winner to break New Zealand hearts with a 1-0 win in the women's football tournament at the Olympics.
The Football Ferns had frustrated Brazil thanks to a disciplined defensive display in this Group E encounter and looked set to boost Great Britain's hopes by holding the Samba Queens to a goalless draw.
But Cristiane calmly lobbed Jenny Bindon five minutes from time after the New Zealand keeper's punch had gone straight to her, despite a desperate attempted clearance from Abby Erceg.
World Cup holders Japan failed to capitalise on their territorial dominance and were held to a goalless draw by Sweden in a Group F clash at the City of Coventry Stadium.
Japan had enough chances to have won comfortably but were let down by poor finishing and some fine saves from Swedish goalkeeper Hedvig Lindahl.
It means that the Swedes, beaten by Japan in the 2011 World Cup semi-finals, still head the group on goal difference from their opponents.