The css file is built to a file with (short) checksum in the file name, to be nicely cacheable. The actual file name is compiled into the binary and sent to the templates as a variable.
And of course some rewriting of everything ...