Northern Ireland's hopes of qualifying for Euro 2024 are all but over after a 4-2 defeat by Slovenia in Ljubljana.
In a chaotic opening 20 minutes Isaac Price cancelled out Andraz Sporar's early opener before Petar Stojanovic's deflected goal restored Slovenia's lead.
Benjamin Sesko added a third on 41 minutes to put two goals between the sides at the break.
Jonny Evans pulled one back after the restart but Sporar grabbed his second in the 56th minute to halt any potential comeback.
The defeat leaves Northern Ireland seven points off qualification at the halfway point of Group H, with just one win in five matches and placed second from bottom.
Slovenia opened the scoring in the third minute when Sesko fed striker partner Sporar, who beat the offside trap with a perfectly-timed run and the Panathinaikos forward kept his cool to slot into the bottom corner.
In a strong response, Northern Ireland were level four minutes later. The brilliant Conor McMenamin played in a teasing low cross and Matty Kennedy forced Oblak into a superb save, but Standard Liege midfielder Price kept his cool to tuck away the rebound for his first international goal.
However, Slovenia went into half-time with a two-goal lead when Stojanovic's cross deflected off Evans and into the goal. Sesko, who also had an effort ruled out, was then allowed the space to turn in the area and the Red Bull Leipzig forward fired into the bottom corner.
Sporar hit the crossbar early in the second half, but Evans showed super footwork in the area before curling a deflected effort past the outstretched Jan Oblak to make it 3-2.
However, Slovenia hit back again when Sporar got the better of Trai Hume and kept his composure to beat the sliding defender and keeper Bailey Peacock-Farrell before rolling the ball into the empty goal.
Chaotic opening in Ljubljana
After three 1-0 defeats by Finland, Denmark and Kazakhstan left Northern Ireland fifth in Group H heading into Thursday's game, Michael O'Neill's side made the worst possible start when Sporar struck.
Price's equaliser came after superb work by the lively McMenamin, who tortured Erik Janza in the first half, and sparked wild celebrations from the 850 travelling Northern Ireland fans.
The goal lifted the visitors, with Kennedy curling a free-kick wide and McMenamin causing more problems with his direct play.
However, their good work was undone when Stojanovic got the better of Ciaron Brown and his cross deflected in off Evans.
Brown was forced off after injuring his ankle in the build-up, which adds to O'Neill's injury woes for Sunday's game with Kazakhstan.
Shea Charles, who volleyed over from long range, and McMenamin were at the heart of everything good that Northern Ireland produced, and the St Mirren winger's cross was inches away from the onrushing Paddy McNair.
Sesko thought he had made it three when he touched home from close range but he was flagged offside.
However, the forward made no mistake when he swivelled in the area and his low effort found the bottom corner.
The manic nature of the game continued after the restart when Sporar rattled the underside of the crossbar from close range, before Evans claimed a sixth international goal.
Sporar then got in behind Hume, who was playing left-back after Brown's injury, and tucked home for the hosts.
He headed well over in search of his hat-trick, while O'Neill's defensive options were further weakened when experienced defender Craig Cathcart, who replaced Brown in the first half, was taken off after going down with 15 minutes to play.
Substitute Paul Smyth, making his Northern Ireland return, couldn't get on the end of an Evans knockdown to pull one back with 10 minutes left and Josh Magennis and McMenamin could only head straight at Oblak from inside the area.
Slovenia's keeper and captain was called upon again to deny a powerful McMenamin effort, but Sporar was denied a treble at the other end when Evans cleared his finish off the line.