Sexual selection at a multiallelic locus with complete or partial dominance