cjamclUna It's almost* a first number, before IDs, since it overrides all specificity types.
*with some differences:
- default styles (not in a layer rule) are put into The Strongest Layer and override explicitly layered rules
- there's special handling for !important rules in layers