CSS is the worst.
And this seems unnecessarily verbose: nth-child(1)
For "real" CSS in particular, I prefer a bit of verbosity over awk-like code. And you should likely be using a CSS generator anyway, it doesn't even have variables, for Knuth's sake :/