On the other side of the wall, it was bedlam.

Delirious fans were still going beserk. Confetti drifted like rain from the rafters at AmericanAirlines Arena. The Miami Heat’s signature anthem, “Seven Nation Army,” echoed from the arena into the back hallways.

Outside, NBA commissioner David Stern was presenting the Heat with the Larry O’Brien trophy.

Listening to the din still playing in the background, a distraught Manu Ginobili took the interview podium after Miami’s 95-88 victory in Game 7 of the NBA Finals on Thursday night with one thought in mind.

The celebration could have belonged to the Spurs.

“It’s such a fine line between having a great summer,” Ginobili said, “and now feeling like crap.”

In Game 7, it was LeBron James who shoved the Spurs over that line.

Playing like the four-time MVP should, James scored 37 points — his high for the series — and added five 3-pointers and 12 rebounds to lead the Heat to their second consecutive championship.

It was enough to earn James the Finals MVP trophy for the second year in a row.

James’ biggest shot, a 19-footer with 27.9 seconds to go, gave Miami a four-point lead and essentially sealed the franchise’s third title since 2006.

Seeking their first title in six seasons, the Spurs instead suffered their first series loss in five trips to the Finals.

“The obvious word is disappointing,” Spurs big man Tim Duncan said.

If the Spurs have any regrets, they will be about what happened two days earlier.

Up 3-2 in the series upon returning to South Florida, the Spurs had two chances to close out the Heat.

They were ahead by five points with 28.6 seconds to play in Game 6, a fifth title within their grasp, when it came unraveled in a hail of missed free throws, blown rebounds, a pair of Heat 3-pointers and overtime.

“Being so close, and feeling you’re about to grab that trophy, then seeing it vanish,” Ginobili said. “It’s very hard.”

That set the stage for a bloody battle royale in Game 7, a slugfest between two proud former champions bent on adding another trophy to the collection.

This one went to the Heat.

Dwyane Wade added 23 points and 10 rebounds and Shane Battier contributed 18 surprise points off the bench — on six 3-pointers — to help Miami close out what coach Erik Spoelsta called “the toughest series we’ve ever been in.”

“We just continued to trust and believe,” Wade said. “We needed every inch of what everybody gave.”

Playing from behind — but never by more than seven points — the Spurs had their chances to make amends in Game 7.

His team down by two with 1:25 to go, Kawhi Leonard missed a go-ahead 3-point try, moments after sinking one to slice Miami’s lead to three.

Duncan had a chance to tie the game after that, posted up on the smaller Battier, but couldn’t convert. After that miss, Duncan slammed his hand against the hardwood in frustration.