Remove offset dependency from css. Move curCSS and getStyles to their own modules. -39 bytes. Close gh-1360.