Mesoscopic phases in superconducting electron systems