For most of the season, Stanford seemed locked in as the No. 2 team in the country.

Now, after the No. 6-ranked Cardinal collapsed in the second half and lost to No. 19 UCLA 69-65 on Friday night in the semifinals of the Pac-12 Tournament in Las Vegas, Stanford may be a No. 2 seed come NCAA tournament.

Stanford led by as much as 16 points in the third quarter against UCLA, who the Cardinal beat twice in the regular season. But the Bruins cut the deficit to 10 by the end of the third, then outscored the Cardinal 29-15 in the fourth quarter to steal the victory and keep Stanford out of the Pac-12 Tournament championship for the first time since 2016.

“We really just didn’t do what we needed to do in the second half,” Stanford coach Tara VanDerveer said. “I thought we had a really good first half. But compliment UCLA. They stepped up big. They were aggressive. They got on the boards. We had opportunities down the stretch and just didn’t come up with the ball.”

Now, with a 28-5 record from the regular season, the Cardinal will have to wait another seven days to find out their NCAA Tournament fate — and whether they’ll be a top seed.

Stanford will surely be hosting the first two rounds at Maples Pavilion, and ESPN’s women’s basketball bracketologist Charlie Creme kept the Cardinal at the No. 1 seed line after their loss. But Creme made it clear that the top seed is no longer guaranteed.

“Stanford’s credentials for a No. 1 seed are still there: a nation-best 15 top-50 NET wins, nine top-25 NET wins and a strength of schedule that ranks third,” Creme wrote at ESPN. “The Cardinal are vulnerable, though, to LSU doing something special in the SEC.”

Kim Mulkey’s Tigers looked like they were on the path to doing that on Saturday night. But after building a 17-point lead over Tennessee in the SEC semifinals, LSU collapsed in the second half and lost 69-67, likely knocking the Tigers (28-2) out of the 1-seed race.

South Carolina will be a No. 1 seed come Selection Sunday, and Indiana likely will too, even after losing to Ohio State 79-75.

The Big Ten seems likely to get a second No. 1 seed after Iowa beat Indiana in the final regular-season game last Sunday, then knocked off Maryland 89-84 in the Big Ten semifinals on Saturday. A win over Ohio State today in the Big Ten title game will give the Hawkeyes (25-6) the conference crown and likely lock up a No. 1 seed.

Stanford may be sweating out the ACC championship game today, too, as Virginia Tech may be the hottest non-South Carolina team in the country.

The Hokies (26-4) have won 10 straight games on their way to the ACC title game and have won their two ACC tournament games by 26 and 21 points so far. If the Hokies pull off another dominant win over Louisville today, they could have a case for a No. 1 seed.

Other teams could make a case, too. Both Ohio State (25-6) and UConn (27-5) have missed key players for a significant chunk of the season. The committee can factor in the health of teams in their decisions.

No matter what, we won’t know for sure until around 4:30 p.m. next Sunday, when the selection show airs on ESPN.

Stanford may not care whether it is a No. 1 seed or a No. 2 seed by the time the NCAA Tournament comes around.

But the three losses since February have exposed some holes that the Cardinal must fix.

And the next loss Stanford takes will be the last one of the Cardinal’s season.

Information from The Associated Press was used in this report.