Template:Fancy TOC/styles.css

body.skin-vector-2022 .fancy-toc, body.skin-minerva .fancy-toc { display: none; }