Phase diagram of bipartite entanglement