Dani Olmo sweeps a shot wide and there's a hugely relieved cheer from the Japan fans.
Just one minute for them to hold on...
Post update
Japan 2-1 Spain
Ian Dennis
BBC Radio 5 Live senior football reporter
Germany's World Cup participation in Qatar rests on Spain in the next two minutes.
Getty ImagesCopyright: Getty Images
Post update
Japan 2-1 Spain
Pau Torres has the ball on halfway, looking to start another attack.
Two minutes remaining...
Get Involved
Tweet using #bbcfootball or Text 81111 (UK standard rates apply)
Danny: Somehow, sat on a long train with no signal other than text updates on the most incredible end to a group stage in recent memory, is even more enthralling than watching. Football.
Post update
Japan 2-1 Spain
Marco Asensio's shot in the 89th minute was Spain's first on target since the 23rd minute.
Japan have been defensively magnificent in the second half.
Get Involved
Tweet using #bbcfootball or Text 81111 (UK standard rates apply)
David: Come on Japan even though I've got Germany in the office sweep.
Getty ImagesCopyright: Getty Images
Post update
Japan 2-1 Spain
Thumbs up if you are a neutral but still feeling nervous for this game?
Post update
Japan 2-1 Spain
Matt Upson
Former England defender on BBC Radio 5 Live
There's going to be another chance for Spain. You just know it.
Post update
Japan 2-1 Spain
Kaoru Mitoma tries to carry the ball down the flank but can't prevent it going out for a throw in.
Four minutes remaining...
Post update
Costa Rica 2-4 Germany
Just the 10 MINUTES added on.
Getty ImagesCopyright: Getty Images
Post update
Costa Rica 2-4 Germany
Kai Havertz scored his first World Cup goal for Germany from his first shot on target.
He is also the second German to score a brace as a sub at the World Cup after Andre Schurrle in 2014 vs Brazil.
Timing is everything.
Get Involved
Tweet using #bbcfootball or Text 81111 (UK standard rates apply)
Anon: Currently at work, never refreshed a page so much.
Matt: These two games are insane!
Post update
Japan 2-1 Spain
Japan get through one minute of the seven added on as Pedri's little flick is pounced on by Shuichi Gonda.
Remember Spain don't need a goal to qualify, but they are very much going for it.
GOAL - Costa Rica 2-4 Germany
Niclas Fullkrug
It stands.
Post update
Japan 2-1 Spain
Matt Upson
Former England defender on BBC Radio 5 Live
It's siege mentality here.
Post update
Japan 2-1 Spain
Ian Dennis
BBC Radio 5 Live senior football reporter
That was the moment for Spain to equalise. That was the moment to take Spain and Germany into the knockouts, that's how tight it is. That's how tense it is.
GREAT SAVE!
Japan 2-1 Spain
Heroic stuff from Japan goalkeeper Shuichi Gonda as he makes two saves in quick succession from Marco Asensio and Dani Olmo.
The fourth official's board goes up... SEVEN minutes added on.
Video Assistant Referee
Costa Rica 2-3 Germany
Quite a big pause here. Is this decision going to be overturned?
Get Involved
Tweet using #bbcfootball or Text 81111 (UK standard rates apply)
Nigel: All this math is making my head hurt
You're not alone Nigel!
Post update
Costa Rica 2-3 Germany
Germany have the ball in the back of the Costa Rica net but Niclas Fullkrug's effort appears to have been swiftly ruled out for offside.
Live Reporting
Gary Rose and Steve Sutcliffe
All times stated are UK
Post update
Japan 2-1 Spain
Dani Olmo sweeps a shot wide and there's a hugely relieved cheer from the Japan fans.
Just one minute for them to hold on...
Post update
Japan 2-1 Spain
Ian Dennis
BBC Radio 5 Live senior football reporter
Germany's World Cup participation in Qatar rests on Spain in the next two minutes.
Post update
Japan 2-1 Spain
Pau Torres has the ball on halfway, looking to start another attack.
Two minutes remaining...
Get Involved
Tweet using #bbcfootball or Text 81111 (UK standard rates apply)
Danny: Somehow, sat on a long train with no signal other than text updates on the most incredible end to a group stage in recent memory, is even more enthralling than watching. Football.
Post update
Japan 2-1 Spain
Marco Asensio's shot in the 89th minute was Spain's first on target since the 23rd minute.
Japan have been defensively magnificent in the second half.
Get Involved
Tweet using #bbcfootball or Text 81111 (UK standard rates apply)
David: Come on Japan even though I've got Germany in the office sweep.
Post update
Japan 2-1 Spain
Thumbs up if you are a neutral but still feeling nervous for this game?
Post update
Japan 2-1 Spain
Matt Upson
Former England defender on BBC Radio 5 Live
There's going to be another chance for Spain. You just know it.
Post update
Japan 2-1 Spain
Kaoru Mitoma tries to carry the ball down the flank but can't prevent it going out for a throw in.
Four minutes remaining...
Post update
Costa Rica 2-4 Germany
Just the 10 MINUTES added on.
Post update
Costa Rica 2-4 Germany
Kai Havertz scored his first World Cup goal for Germany from his first shot on target.
He is also the second German to score a brace as a sub at the World Cup after Andre Schurrle in 2014 vs Brazil.
Timing is everything.
Get Involved
Tweet using #bbcfootball or Text 81111 (UK standard rates apply)
Anon: Currently at work, never refreshed a page so much.
Matt: These two games are insane!
Post update
Japan 2-1 Spain
Japan get through one minute of the seven added on as Pedri's little flick is pounced on by Shuichi Gonda.
Remember Spain don't need a goal to qualify, but they are very much going for it.
GOAL - Costa Rica 2-4 Germany
Niclas Fullkrug
It stands.
Post update
Japan 2-1 Spain
Matt Upson
Former England defender on BBC Radio 5 Live
It's siege mentality here.
Post update
Japan 2-1 Spain
Ian Dennis
BBC Radio 5 Live senior football reporter
That was the moment for Spain to equalise. That was the moment to take Spain and Germany into the knockouts, that's how tight it is. That's how tense it is.
GREAT SAVE!
Japan 2-1 Spain
Heroic stuff from Japan goalkeeper Shuichi Gonda as he makes two saves in quick succession from Marco Asensio and Dani Olmo.
The fourth official's board goes up... SEVEN minutes added on.
Video Assistant Referee
Costa Rica 2-3 Germany
Quite a big pause here. Is this decision going to be overturned?
Get Involved
Tweet using #bbcfootball or Text 81111 (UK standard rates apply)
Nigel: All this math is making my head hurt
You're not alone Nigel!
Post update
Costa Rica 2-3 Germany
Germany have the ball in the back of the Costa Rica net but Niclas Fullkrug's effort appears to have been swiftly ruled out for offside.