I think calibre automatically adds an outer div if there isn't already one, any time you edit and save a comment. Which is why I suggested it.
Naturally, that CSS is capable of targeting any element. And that would be an effective sledgehammer approach. But I was hoping it wouldn't be necessary to clog up the code with repetitive CSS.