Otherwise you are targeting all anchors:visited, anchors:hover, and anchors:active. Including those outside of root.
Second, I don’t see why root shouldn’t work, once the above is fixed, but if it still persists to give you issue I would attempt to make the css declaration more specific, attempt something like: