# Track Card CSS Architecture — eliminate `!important` from section 8 Status: completed. Author: product-designer. Date: 2026-06-05. Implementer: daniel-c-harvey. Landed: 2026-06-05. Predecessor: [`track-card-theming.md`](track-card-theming.md) (completed 2026-06-05) landed the navy-glass + moss-green treatment and, in doing so, introduced the two `!important` rules this spec exists to remove. That note is the *what it should look like*; this note is the *how the CSS should be structured so it looks like that without `!important`*. Nothing here changes the visual design — only the mechanism. --- ## §1. Root cause analysis — why MudCard/MudPaper fight our CSS ### 1.1 The two `!important` rules in question `DeepDrftPublic/wwwroot/styles/deepdrft-styles.css` section 8: ```css .deepdrft-track-card-container { ... background: transparent !important; } /* line 222 */ .deepdrft-track-card-fallback { ... background: var(--deepdrft-navy-mid, #162437) !important; } /* line 268 */ .deepdrft-theme-dark .deepdrft-track-card-fallback { ... !important; } /* line 273 */ .deepdrft-theme-light .deepdrft-track-card-fallback { ... !important; } /* line 280 */ ``` Four `!important` declarations, all on `background`, all on elements rendered by MudBlazor (`MudCard` → container, `MudPaper` → fallback). ### 1.2 What MudBlazor paints and with what selector MudBlazor ships a single global `