Pelosi is older than Biden. If Biden goes she is next in line after Harris. But Harris will appoint a replacement VP. I don't see Pelosi running for president or vice president.
They apparently succeeded in the “retire Breyer” plan but so far Kamalamadingdong hasn’t gotten the SCOTUS nomination.
Prince Booty-Gig remains in the wings....