Parcel-css (the version included in parcel 2.4.0) throws when using ::-webkit-scrollbar-thumb:vertical (or :horizontal) although it passes with either ::-webkit-scrollbar-thumb or .class::-webkit-scrollbar-thumb or even the invalid .class:vertical.
You can see this in the parcel-css demo app (https://parcel-css.vercel.app) by using the following css:
::-webkit-scrollbar-thumb {
}
.a::-webkit-scrollbar-thumb {
}
.a:vertical {
}
::-webkit-scrollbar-thumb:vertical {
}
As soon as you remove the last class it compiles.