/* Only browser-owned pages: website colours and forms stay site-controlled. */
@-moz-document url("about:newtab"), url("about:home"), url("about:blank"),
url-prefix("about:preferences"), url-prefix("about:addons"),
url-prefix("about:downloads"), url-prefix("about:logins"),
url-prefix("about:config"), url-prefix("about:profiles"),
url-prefix("about:support"), url-prefix("about:sessionrestore") {
:root {
color-scheme: dark !important;
--in-content-page-background: #191724 !important;
--in-content-page-color: #e0def4 !important;
--in-content-box-background: #1f1d2e !important;
--in-content-box-background-odd: #26233a !important;
--in-content-box-info-background: #1f1d2e !important;
--in-content-box-border-color: #403d52 !important;
--in-content-border-color: #403d52 !important;
--in-content-deemphasized-text: #908caa !important;
--in-content-button-background: #26233a !important;
--in-content-button-background-hover: #403d52 !important;
--in-content-button-background-active: #524f67 !important;
--in-content-primary-button-background: #31748f !important;
--in-content-primary-button-background-hover: #f6c177 !important;
--in-content-primary-button-text-color: #191724 !important;
--in-content-accent-color: #31748f !important;
--in-content-link-color: #9ccfd8 !important;
--in-content-link-color-hover: #c4a7e7 !important;
--in-content-focus-outline-color: #31748f !important;
--newtab-background-color: #191724 !important;
--newtab-background-color-secondary: #1f1d2e !important;
--newtab-text-primary-color: #e0def4 !important;
--newtab-text-secondary-color: #908caa !important;
--newtab-element-hover-color: #26233a !important;
--newtab-primary-action-background: #31748f !important;
--newtab-primary-element-text-color: #191724 !important;
}
html, body { background: #191724 !important; color: #e0def4 !important; }
body { font-family: "DMMono Nerd Font", "DM Mono", monospace !important; }
::selection { background: #c4a7e7 !important; color: #191724 !important; }
.search-wrapper .search-handoff-button, .search-wrapper input {
background: #1f1d2e !important;
color: #e0def4 !important;
border: 1px solid #403d52 !important;
border-radius: 8px !important;
}
.top-site-outer .tile, .card-outer {
background-color: #1f1d2e !important;
border-radius: 8px !important;
box-shadow: none !important;
}
.top-site-outer:hover { background-color: #26233a !important; }
.category[selected], .category[selected] > .category-name { color: #31748f !important; }
}