Phase-controlled bipartite and tripartite entanglement and Bell nonlocality in a closed-loop optomechanical system | ResearchPod