Hidden category appearing again after update

Hi,

Does this CSS still work? I am struggling to have it hide Categories for me.

.category-list [data-category-id="25"] { 
    display: none;
}

Are the Category IDs for the Lounge and Staff Categories the same for each installation?