That's why I qualified puritanical and liberal with matters of degree, rather than being diametrically opposed. Having a large scope liberal attitude towards sex enables my inward facing, relatively puritan(ical) disposition to be a choice rather than mandatory and I don't care to demand that of others. I could very well be someone else with a different strict set of moral standards for me and my immediates with a slightly different scope and still be liberal. It seems to me that only when one weaponizes it does it become puritanical and illiberal; you want the same strict moral guidelines for everyone else that you impose on yourself.
But they are diametrically opposed. It's not puritanical that I don't do drugs or that you're monogamous. What's puritanical is trying to impose those personal choices upon others.
It would be equally illiberal to mandate that everyone do drugs or be polygamous. The illiberality is the imposition itself, not the quality of the imposition.