Phase diagram and excitations of a Shiba molecule