[[Module:compound/templates]]: derivsee
Fragment of a discussion from User talk:Rua
For example, override script CSS for the category name line (assuming it has a different class from that of the entries. I have not checked.
I looked into it and the class "CategoryTreeLabelCategory" is used for the category link, while "CategoryTreeLabelPage" is used for the entry links. So these are the ones we want to target. I'm not a CSS expert, but hopefully someone can figure out how to override "CategoryTreeLabelCategory" to inherit the "Latn" class.