Before every home game, the video board at Maples Pavilion shows part of Ravens linebacker Ray Lewis' rip-roaring pep talk to the Cardinal before last season's NIT final in New York. They won that title. Last fall, they sent him a get-well card when he tore a triceps.

During a video profile of forward Josh Huestis shown at halftime, Huestis said he'd be rooting for the Ravens because of Lewis. The remark prompted some good-natured booing.

After his 16-point, 13-rebound performance helped boost Stanford (14-8, 5-4 Pac-12) going into this week's trip to Arizona, Huestis said he wanted Lewis to get his Super Bowl ring but also would be rooting for former Stanford head coach Jim Harbaugh.

Guard Chasson Randle, who hit four treys and scored a team-high 20 points, said he was torn, too, but would root for the 49ers.

Dawkins acknowledged he owed a debt to Lewis, but said, "I'm a political-science major. I live in California, so I'm going with the 49ers."

Oregon State (11-11, 1-8) is in last place in the conference, but this was a two-point game with just more than a minute left. Huestis sank an 18-foot jumper and blocked a shot by Devon Collier.

"He's like an eraser up there," Randle said. "Anything that gets up to the basket, I'm counting on him to take it out. Most of the time, he does."

Stanford converted four 1-and-1 opportunities to ice the entertaining win, which included 10 lead changes in the second half. Stanford committed a season-low four turnovers, none of them in the second half. The Beavers committed 14. Stanford made a season-high 14 three-pointers (in 25 tries).