  We study the phase diagram of dense, locally neutral three-flavor quark
matter as a function of the strange quark mass, the quark chemical potential,
and the temperature, employing a general nine-parameter ansatz for the gap
matrix. At zero temperature and small values of the strange quark mass, the
ground state of matter corresponds to the color-flavor-locked (CFL) phase. At
some critical value of the strange quark mass, this is replaced by the recently
proposed gapless CFL (gCFL) phase. We also find several other phases, for
instance, a metallic CFL (mCFL) phase, a so-called uSC phase where all colors
of up quarks are paired, as well as the standard two-flavor
color-superconducting (2SC) phase and the gapless 2SC (g2SC) phase.
