Kai Havertz is certainly the party pooper for Costa Rica. Off the bench he has got a second goal following a cross from Serge Gnabry.
Havertz arriving at the near post, finishing so calmly with everyone losing their heads around him, he keeps his cool. Germany move to third place for now, they still need Spain to score.
Post update
Costa Rica 2-3 Germany
More German chances come and go. Kai Havertz sees his low shot saved at the near stick and Mario Gotze, another substitute, can't knock in the rebound.
Get Involved
Tweet using #bbcfootball or Text 81111 (UK standard rates apply)
Ben: How did this Japan team lose to Costa Rica but lose to previous World Cup winners? Full of surprises!
SUBSTITUTION
Japan 2-1 Spain
Japan break up play for a moment with another substitution. Wataru Endo is on for Ao Tanaka.
Three minutes to go.
Get Involved
Tweet using #bbcfootball or Text 81111 (UK standard rates apply)
Nabsta: This has to be the best World Cup group stage EVER!
Post update
Japan 2-1 Spain
Matt Upson
Former England defender on BBC Radio 5 Live
Spain are searching for that goal. Japan just have to hang on.
The tension is unbearable.
Post update
Japan 2-1 Spain
Ian Dennis
BBC Radio 5 Live senior football reporter
The only scenario for Spain to go out is for Costa Rica to score two. A goal here for Spain will break Japanese hearts.
AS IT STANDS
Germany now need a favour from Spain. If the Spanish score, the Germans move ahead of Japan on goals scored.
Tense!
BBC World CupCopyright: BBC World Cup
Get Involved
Tweet using #bbcfootball or Text 81111 (UK standard rates apply)
Alastair: On the eurostar no service but loving the refresh pull down to see what im missing
Glad to have you!
Post update
Japan 2-1 Spain
But Spain are playing really high and are almost caught out as Junya Ito chases a loose ball at the back but Jordi Alba does really well to get back and clean up.
There's an almost nervous silence around the ground now.
A huge final five minutes.
GOAL - Costa Rica 2-3 Germany
Kai Havertz
What an impact. Germany needed goals and Kai Havertz has now got two since coming on as 67th minute sub.
His second sees him tap in a teasing Serge Gnabry cross.
Costa Rica need one more goal to change everything but the German's are the ones applying the pressure. They need Spain to help them out. This is incredible. Think of how many people around the world will be cheering Costa Rica on.
Post update
Japan 2-1 Spain
Everyone is back in their own half for Japan. It is all about defend, defend, defend, but can they keep Spain out for the remaining six minutes?
Post update
Costa Rica 2-2 Germany
Germany have hit the woodwork three times, more than in any other World Cup match they've played in since 1966.
The finest of margins.
Post update
Costa Rica 2-2 Germany
Here come Costa Rica again down the left. Antonio Rudiger sniffs out the danger and clears for Germany.
Post update
Japan 2-1 Spain
Matt Upson
Former England defender on BBC Radio 5 Live
This is getting heated.
Get Involved
Tweet using #bbcfootball or text 81111 (UK only - standard rates apply)
SMS Message: This is what the World Cup is all about, constant drama not boring, safe games. from Anon
This is what the World Cup is all about, constant drama not boring, safe games.
Post update
Costa Rica 2-2 Germany
Karen Bardsley
Former England and Manchester City goalkeeper on BBC Radio 5 Live
I'm worried about Conor's blood pressure, honestly. This is so exciting.
SUBSTITUTION
Costa Rica 2-2 Germany
Costa Rica brought Ronald Matarrita and Jewison Bennette on for Johan Venegas and Keysher Fuller just before that wonderful save from Keylor Navas and Bennette attempts to write a new headline, with a long-range effort that sails over the Germany crossbar.
Post update
Japan 2-1 Spain
Ansu Fati gets in down the left and tries to cut it back but the ball is blocked and then bounces back off Fati and behind for a goal kick.
Live Reporting
Gary Rose and Steve Sutcliffe
All times stated are UK
'Germany needs Spain to score'
Costa Rica 2-3 Germany
Conor McNamara
BBC Radio 5 Live commentator
Kai Havertz is certainly the party pooper for Costa Rica. Off the bench he has got a second goal following a cross from Serge Gnabry.
Havertz arriving at the near post, finishing so calmly with everyone losing their heads around him, he keeps his cool. Germany move to third place for now, they still need Spain to score.
Post update
Costa Rica 2-3 Germany
More German chances come and go. Kai Havertz sees his low shot saved at the near stick and Mario Gotze, another substitute, can't knock in the rebound.
Get Involved
Tweet using #bbcfootball or Text 81111 (UK standard rates apply)
Ben: How did this Japan team lose to Costa Rica but lose to previous World Cup winners? Full of surprises!
SUBSTITUTION
Japan 2-1 Spain
Japan break up play for a moment with another substitution. Wataru Endo is on for Ao Tanaka.
Three minutes to go.
Get Involved
Tweet using #bbcfootball or Text 81111 (UK standard rates apply)
Nabsta: This has to be the best World Cup group stage EVER!
Post update
Japan 2-1 Spain
Matt Upson
Former England defender on BBC Radio 5 Live
Spain are searching for that goal. Japan just have to hang on.
The tension is unbearable.
Post update
Japan 2-1 Spain
Ian Dennis
BBC Radio 5 Live senior football reporter
The only scenario for Spain to go out is for Costa Rica to score two. A goal here for Spain will break Japanese hearts.
AS IT STANDS
Germany now need a favour from Spain. If the Spanish score, the Germans move ahead of Japan on goals scored.
Tense!
Get Involved
Tweet using #bbcfootball or Text 81111 (UK standard rates apply)
Alastair: On the eurostar no service but loving the refresh pull down to see what im missing
Glad to have you!
Post update
Japan 2-1 Spain
But Spain are playing really high and are almost caught out as Junya Ito chases a loose ball at the back but Jordi Alba does really well to get back and clean up.
There's an almost nervous silence around the ground now.
A huge final five minutes.
GOAL - Costa Rica 2-3 Germany
Kai Havertz
What an impact. Germany needed goals and Kai Havertz has now got two since coming on as 67th minute sub.
His second sees him tap in a teasing Serge Gnabry cross.
Post update
Costa Rica 2-2 Germany
Conor McNamara
BBC Radio 5 Live commentator
Costa Rica need one more goal to change everything but the German's are the ones applying the pressure. They need Spain to help them out. This is incredible. Think of how many people around the world will be cheering Costa Rica on.
Post update
Japan 2-1 Spain
Everyone is back in their own half for Japan. It is all about defend, defend, defend, but can they keep Spain out for the remaining six minutes?
Post update
Costa Rica 2-2 Germany
Germany have hit the woodwork three times, more than in any other World Cup match they've played in since 1966.
The finest of margins.
Post update
Costa Rica 2-2 Germany
Here come Costa Rica again down the left. Antonio Rudiger sniffs out the danger and clears for Germany.
Post update
Japan 2-1 Spain
Matt Upson
Former England defender on BBC Radio 5 Live
This is getting heated.
Get Involved
Tweet using #bbcfootball or text 81111 (UK only - standard rates apply)
Post update
Costa Rica 2-2 Germany
Karen Bardsley
Former England and Manchester City goalkeeper on BBC Radio 5 Live
I'm worried about Conor's blood pressure, honestly. This is so exciting.
SUBSTITUTION
Costa Rica 2-2 Germany
Costa Rica brought Ronald Matarrita and Jewison Bennette on for Johan Venegas and Keysher Fuller just before that wonderful save from Keylor Navas and Bennette attempts to write a new headline, with a long-range effort that sails over the Germany crossbar.
Post update
Japan 2-1 Spain
Ansu Fati gets in down the left and tries to cut it back but the ball is blocked and then bounces back off Fati and behind for a goal kick.
Nine minutes to go.