{# mf_components.css used to be linked per page. The queue hub (one window for downloads/encoding/upscaling, further down in this file) sits on EVERY page and uses .mf-progress / .mf-facet, so the sheet is loaded globally now. Every selector in it is .mf-* scoped, so nothing else changes; the extra per-page s that still exist are harmless duplicates. #} {% block styles %}{% endblock %} {# Theme pack (web/themes.py). Loaded LAST among stylesheets so a theme's component overrides win the cascade against every core sheet above; the built-in tokens in variables.css remain the fallback for everything a theme does not define. The instance default is rendered server-side so the very first paint is already themed; a user's personal override (localStorage 'aw-themepack') is applied by the synchronous script below before paint — same no-FOUC pattern as the dark/light bootstrap. #} {% if active_theme_pack %} {% endif %} {# Provider-pill scripts from enabled extensions (see register_thirdparty(provider_pill_script=...) in web/thirdparties/registry.py) — each one just calls registerProviderPill() at load time, using the shim above, regardless of whether app.js has loaded yet. Included on every page since pills can render on any page with browse cards or a detail modal. #} {% for script_url in provider_pill_scripts %} {% endfor %}