Jump to content

User:Mebeingyou/vector.css

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Mebeingyou (talk | contribs) at 00:17, 21 January 2020 (Created page with '/* ==UserStyle== @name Wikipedia Dark @namespace StylishThemes @version 3.1.7 @description Wikipedia Dark theme @author StylishThemes @hom...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* ==UserStyle==
@name         Wikipedia Dark
@namespace    StylishThemes
@version      3.1.7
@description  Wikipedia Dark theme
@author       StylishThemes
@homepageURL  https://github.com/StylishThemes/Wikipedia-Dark
@supportURL   https://github.com/StylishThemes/Wikipedia-Dark/issues/new/choose
@updateURL    https://raw.githubusercontent.com/StylishThemes/Wikipedia-Dark/master/wikipedia-dark.user.css
@license      CC-BY-SA-4.0
@advanced color     base-color "Base color"    #4183C4
@advanced color      tab-color "Tab color"     #e08b26
@advanced color  visited-color "Visited color" #295887
@advanced dropdown bg-selected "Background image" {
  crosshatch "Cross-Hatch" <<<EOT
  url(https://camo.githubusercontent.com/5b8e4cd1a5ce69b6affa17ebd8e4aee00c147618/68747470733a2f2f7374796c6973687468656d65732e6769746875622e696f2f4769744875622d4461726b2f696d616765732f6261636b67726f756e64732f62672d63726f737368617463682e706e67) EOT;
  uniform "Uniform Tile" <<<EOT
  url(https://camo.githubusercontent.com/f83a9a60a2c64be0c88833ccb436e32a458cd2ce/68747470733a2f2f7374796c6973687468656d65732e6769746875622e696f2f4769744875622d4461726b2f696d616765732f6261636b67726f756e64732f62672d74696c652d756e69666f726d2e706e67) EOT;
  random "Random Tile" <<<EOT
  url(https://camo.githubusercontent.com/3beb850d8069e424480199a09899030c9e58e85f/68747470733a2f2f7374796c6973687468656d65732e6769746875622e696f2f4769744875622d4461726b2f696d616765732f6261636b67726f756e64732f62672d74696c65312e706e67) EOT;
  custom "Custom" <<<EOT
  var(--bg-custom) EOT;
  none "None" <<<EOT
  none EOT;
}
@advanced text bg-custom "Custom background; include url()" "url()"
@advanced dropdown bg-options "Background image type" {
  Tiled "Tiled" <<<EOT
  background-repeat: repeat !important;
  background-size: auto !important;
  background-position: left top !important; EOT;
  Fit "Fit Window" <<<EOT
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center top !important; EOT;
}
@advanced dropdown bg-attachment "Background image attachment" {
  Scroll "Scroll" <<<EOT
  scroll EOT;
  Fixed "Fixed" <<<EOT
  fixed EOT;
}
@preprocessor uso
==/UserStyle== */
@-moz-document
regexp("https?:\/\/.*wik(i|t).*(org|jp).*") {
  /* Global color palette */
  :root {
    --base-color: /*[[base-color]]*/;
    --tab-color: /*[[tab-color]]*/;
    --visited-color: /*[[visited-color]]*/;
    --bg-custom: /*[[bg-custom]]*/;
    --bg-selected: /*[[bg-selected]]*/;
    --bg-attachment: /*[[bg-attachment]]*/;
    /* base palette */
    --black: #000;
    --gray-1: #111;
    --gray-2: #222;
    --gray-3: #333;
    --gray-4: #444;
    --gray-5: #555;
    --gray-7: #777;
    --gray-a: #aaa;
    --gray-c: #ccc;
    --gray-d: #ddd;
    --gray-e: #eee;
    --white: #fff;
    --gray-18: #181818;
    --gray-28: #282828;
    --gray-2f: #2f4f4f;
    --gray-69: #696969;
    --gray-9a: #9a9a9a;
    --gray-b9: #b9b9b9;
    --gray-bc: #bcbcbc;
    --blue: #00f;
    --blue-1: #36c;
    --blue-2: #182030;
    --blue-3: #212c43;
    --blue-4: #3c5487;
    --red: #f00;
    --red-0: #400;
    --red-1: #c22;
    --red-2: #d33;
    --red-3: #722;
    --red-4: #ff4242;
    --green: #0f0;
    --green-1: #390;
    --green-2: #165316;
    --green-3: #061;
    --green-4: #002800;
    --brown-1: #321;
    --brown-2: #542;
    --brown-3: #261d08;
    --brown-4: #4b380d;
    --yellow-1: #b28200;
    --yellow-2: #ffdd7f;
    --orange-1: #e53e00;
    --orange-2: #e08b26;
    --purple-d: #241738;
    --purple-0: #312641;
    --purple-1: #382b4a;
    --purple-2: #768;
    --pink-0: #3e243c;
    --pink-1: #6b3e68;
    --pink-2: #965691;
    --pink-3: #ffbefa;
    --cyan-1: #194d41;
    --ores-1: #222800;
    --ores-2: #222000;
    --ores-3: #221800;
    --black_17: rgba(0, 0, 0, .175);
    --black_2: rgba(0, 0, 0, .2);
    --black_25: rgba(0, 0, 0, .25);
    --black_5: rgba(0, 0, 0, .5);
    --black_8: rgba(0, 0, 0, .8);
    --gray-2_75: rgba(34, 34, 34, .75);
    --gray-3_5: rgba(51, 51, 51, .5);
    --gray-5_25: rgba(85, 85, 85, .25);
    --gray-6_5: rgba(100, 100, 100, .5);
    --white_1: rgba(255, 255, 255, .1);
    --white_25: rgba(255, 255, 255, .25);
    --diff-del: rgba(213, 154, 0, .6);
    --diff-add: rgba(0, 112, 213, .6);
    --revs-old: rgba(255, 204, 51, .5);
    --revs-new: rgba(30, 109, 184, .5);
    /* assessment colors */
    --assess-1: #06c;
    --assess-2: #29c;
    --assess-3: #070;
    --assess-4: #6b0;
    --assess-5: #993;
    --assess-6: #b60;
    --assess-7: #921; /* was #901 */
    --assess-8: #85f;
    --assess-9: #070;
    --assess-10: #0b6;
    --assess-11: #a4c;
    --assess-12: #568;
    /* meta wiki */
    --green-a0: #2f4500;
    --green-a1: #27560f;
    --green-a2: #016101;
    --green-a3: #305229;
    --green-a4: #50612b;
    --green-a5: #676702;
    --bluei-a0: #014523;
    --bluei-a1: #004e4e;
    --bluei-a2: #05493b;
    --bluei-a3: #1b3a2a;
    /* WD query service */
    --cm-1: #27282e;
    --cm-2: #f9ee98;
    --cm-3: #fc0;
    --cm-4: #ca7841;
    --cm-5: #8da6ce;
    --cm-6: #607392;
    --cm-7: #cda869;
    --cm-8: #8f9d6a;
    --cm-9: #bd6b18;
    --cm-10: #f7f7f7;
    --cm-11: #997643;
    --cm-12: #d6bb6d;
    --cm-13: #ff6400;
    --cm-14: #aeaeae;
    --cm-15: #ad9361;
  }
}
@-moz-document
regexp("https?:\/\/(([\w\-]{2,}\.)?(wiki(pedia|books|news|quote|source|versity|voyage)|wiktionary)|(www|test)\.(mediawiki|wiki(data|dot))|(meta|wikimania|commons|otrs-wiki|species|wikitech|incubator|outreach|foundation|donate)\.wikimedia)\.org\/.*"),
regexp("https?:\/\/wiki\.(rpcs3\.net|(archlinux|mozilla)\.(org|jp))\/.*$") {
  /* transparent background */
  html, body {
    background-color: var(--gray-2);
    background-image: var(--bg-selected);
    background-clip: border-box;
    background-origin: padding-box;
    background-attachment: var(--bg-attachment);
    /*[[bg-options]]*/
    color: var(--gray-c);
  }
  .mw-body, .parsoid-body, #mp-topbanner,
  span:not(.legend-color):not([class*="wikEd"]):not([style*="background"]):not(.wikibase-toolbar-wrapper):not(.tool),
  .navbox-list, .mw-wsmfinal-content, .mw-body-content,
  .referencetooltip > li + li, div.vectorTabs ul li,
  tr[style*="background:#F5FFFA" i], th[style*="background-color: #fff" i],
  .mw-echo-notifications-badge, .ext-cards-card-list .ext-cards-card,
  .infobox span.plainlinks *, .tracklist, .vertical-navbox th a,
  blockquote[style*="background-color: white" i], .ns-0 ul, .ns-0 ol li,
  table.flextable, table.flextable .invisible, table#noarticletext,
  table#noarticletext table, .metadata.plainlinks.stub,
  .mw-body-content #mw-content-text h2:not([id^="mp-"]),
  .mw-body-content .portal ul, div[style*="background"]:not[style*="#90EE90"],
  .wikitable > tr, .wikitable > tr > th, .wikitable > tr > td,
  .wikitable > * > tr, .wikitable > * > tr > th,
  .wikitable > * > tr > td:not(.break), .wikitable th span[style*="background"],
  .inline-quote-talk, .oo-ui-fieldsetLayout-group .oo-ui-widget,
  .mw-parser-output .mod-gallery .whitebg img,
  .mw-parser-output .mod-gallery .gallerybox div, tt[style="background: white;"] {
    background-color: transparent !important;
  }
  .mw-body, .parsoid-body {
    background-color: transparent !important;
    color: var(--gray-9a);
  }
  .mw-mmv-image-metadata, .navbox, .navbox-subgroup, .mw-mmv-info-box,
  .mwe-pt-article-row-odd, .mwe-pt-article-row-even, .ve-ui-mwSaveDialog-options,
  #mw-page-base, .mw-parser-output #siteContainer div:first-child,
  div.vectorTabs li.selected {
    background-color: transparent;
  }
  .lang-list-button {
    border-color: var(--gray-5);
    outline-color: transparent !important;
  }
  .lang-list-button:focus {
    box-shadow: inset 0 0 0 1px var(--base-color);
  }
  .lang-list-active .lang-list-button {
    outline: 1px solid var(--base-color);
    border-color: var(--base-color) !important;
  }
  /*** Overall ***/
  td, li, th:not([style*="background"]):not([dir]), caption, p code, label code,
  dl code, .oo-ui-widget:not([placeholder]) div, .oo-ui-widget label,
  #pagehistory li.selected, #mwe-popups-settings main form label,
  #pt-anonuserpage, .oo-ui-textInputWidget .oo-ui-inputWidget-input,
  .oo-ui-messageDialog-title, .oo-ui-messageDialog-message,
  .mw-echo-ui-menuItemWidget > .oo-ui-labelElement-label, .mw-mmv-image-desc,
  .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected,
  .guider_content h1, .guider_content p, select#searchLanguage option, dt,
  .tfa-recent, #contentSub, #contentSub2, .central-featured-lang .link-box small,
  .central-featured-lang .link-box small, .other-project-tagline,
  .mw-number-text, .tux-editor-header, .tux-breadcrumb,
  .ext-translate-language-selector-label {
    color: var(--gray-a);
  }
  body, h1, h2, h3, h4, h5, h6, #footer li,
  .infobox th[style*="background"]:not([style*="#eaecf0"]),
  div[style*="color"]:not([style*="black;"]):not([style*="back"]):not([style*="966"]):not([style*="red"]),
  input[type="search"], input[type="submit"], .oo-ui-buttonElement-button,
  .oo-ui-buttonElement-button:hover, input[type="number"], select,
  .suggestions-result, input, .central-featured-lang .link-box em,
  div.flaggedrevs_preview, div.plainlinks,
  .table-partial[style*="background: #FFFFBB; color:black;"],
  a[href*="Wikipedia:Wikipedia_Signpost"] span, .vertical-navbox th span,
  span[style*="white-space:nowrap; line-height:120%; font-size:155%; color:#333;"],
  tr[style^="color:black"], span[title="To be announced"],
  div[style*="color: black;"], td[style*="color: #000000;"],
  td[style*="color:#000"], div[style*="color:black"],
  td[style*="color:darkslategray;"] {
    color: var(--gray-9a) !important;
  }
  a, .CategoryTreeToggle, #toc a, #toc a span, body .ui-button, .toctogglelabel,
  #content a:not(.new):not([role="button"]):not(.mw-charinsert-item):not([title="Help:Template"]),
  #mw-navigation li:not(.new) a:not(.new), #mw-panel li:not(.new) a:not(.new),
  #column-one li:not(.new) a:not(.new), #footer a:not(.new),
  .other-project-title, a.wbc-editpage:hover,
  .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button,
  span[style="color: #002BB8;"], a span[style="color:darkblue;"], .ui-dialog a,
  .langlist a:hover, span[style="color:#002bb8"],
  a:hover span[style="color:#002bb8"],
  #firstHeading div.fastcci-buttonset > .ui-button {
    color: var(--base-color) !important;
  }
  #firstHeading a > span, font[color="#006699"],
  .mw-rcfilters-ui-filterWrapperWidget-showNewChanges .oo-ui-labelElement-label,
  .oo-ui-listToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title,
  .oo-ui-popupToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title,
  .fancycaptcha-reload, .tux-breadcrumb__item--aggregate,
  .ext-translate-language-selector .uls {
    color: var(--base-color);
  }
  .wb-langlinks-link > a:link::before, .wb-langlinks-link > a:visited::before,
  .search-container .sprite.svg-arrow-down {
    filter: grayscale(1) brightness(230%);
    opacity: .8;
  }
  .wb-langlinks-link > a:hover::before {
    filter: grayscale(1) brightness(280%);
    opacity: 1 !important;
  }
  a:visited, #toc a:visited, #toc a:visited span,
  .vectorTabs li.new:not(.selected) a:visited,
  #content a:not(.new):not([role="button"]):not(.mw-charinsert-item):not([title="Help:Template"]):visited,
  #mw-panel li:not(.new) a:not(.new):visited,
  #p-navigation li:not(.new) a:not(.new):visited,
  #p-tb li:not(.new) a:not(.new):visited {
    color: var(--visited-color) !important;
  }
  legend .oo-ui-labelElement-label, .cnotice-message p,
  #mwe-popups-settings header h1, #mwe-popups-settings main form label > span,
  .mwe-popups-settings-help p, font[color="black"],
  #content td[style*="background: #f9f9e9;" i] a {
    color: var(--gray-d) !important;
  }
  a:hover,
  a:not(.mw-redirect):not(.link-box):hover span:not([style*="002"]):not(.oo-ui-tool-title):not(.oo-ui-labelElement-label):not([class*="other-project-"]):not([class*="help"]):not([style*="8DB"]),
  #toc a:hover, .suggestions-result .highlight,
  .suggestions-special .special-query {
    color: var(--white) !important;
  }
  .oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link {
    color: var(--gray-e) !important;
    background-color: var(--base-color);
  }
  .ve-ce-branchNode-blockSlug, .ve-ce-branchNode-newSlug {
    outline: 1px dashed var(--gray-5);
    background-color: var(--gray-3);
  }
  .central-featured-lang a:focus {
    outline: 1px solid var(--base-color);
  }
  .oo-ui-messageDialog-content > .oo-ui-window-foot,
  .oo-ui-processDialog-content .oo-ui-window-head,
  .oo-ui-processDialog-content .oo-ui-window-foot {
    outline: 1px solid var(--gray-5);
  }
  .ve-ce-focusableNode-highlight {
    background: var(--base-color);
    box-shadow: inset 0 0 0 1px var(--base-color);
  }
  .ve-ce-attachedRootNode::selection, .ve-ce-attachedRootNode ::selection {
    background: var(--base-color);
  }
  div.mw-echo-ui-toggleReadCircleButtonWidget-circle {
    background-color: var(--gray-7) !important;
  }
  .mw-echo-ui-toggleReadCircleButtonWidget-circle.mw-echo-ui-toggleReadCircleButtonWidget-circle-unread {
    background-color: transparent !important;
    border: 1px solid var(--gray-7);
  }
  .mw-echo-ui-toggleReadCircleButtonWidget:hover .mw-echo-ui-toggleReadCircleButtonWidget-circle {
    background-color: var(--gray-69) !important;
  }
  .mw-echo-ui-toggleReadCircleButtonWidget:hover .mw-echo-ui-toggleReadCircleButtonWidget-circle-unread {
    background-color: var(--gray-2f) !important;
  }
  .mw-collapsible:not([class*="navbox-"]):not([class*="wpb"]) th:not(.wikidatainfobox-lcell):not([style*="cfe3ff;"]):not([style*="text"]):not([style*="#fff1d2;"]):not([style*="transparent"]):not([colspan="3"]):not(.mbox-text) {
    background-color: var(--gray-3) !important;
  }
  .oo-ui-toolbar-bar, .oo-ui-window-head, .oo-ui-window-foot,
  .oo-ui-popupToolGroup-tools, #language-settings-dialog {
    background: var(--gray-2) !important;
  }
  table.diff, td.diff-otitle, td.diff-ntitle,
  .oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted,
  .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:hover,
  .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:active,
  .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:active:focus,
  .oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active > .oo-ui-tool-link,
  .oo-ui-tool.oo-ui-widget-enabled.oo-ui-popupToolGroup-active > .oo-ui-tool-link {
    background-color: var(--gray-3);
  }
  .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:checked + span,
  .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type="checkbox"]:indeterminate + span {
    background-color: var(--base-color) !important;
    filter: none !important;
  }
  .oo-ui-checkboxInputWidget [type="checkbox"]:hover + span {
    border: 1px solid var(--base-color) !important;
  }
  input[type="checkbox"] {
    background-color: var(--base-color);
  }
  .oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget,
  .footer-sidebar-text, .site-license {
    color: var(--gray-9a);
  }
  .oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget:hover {
    background-color: var(--gray-3);
  }
  .oo-ui-menuOptionWidget.oo-ui-optionWidget-selected.oo-ui-optionWidget-highlighted:hover {
    color: var(--base-color);
  }
  .oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
    background-color: var(--blue-2) !important;
    color: var(--gray-c);
  }
  /* text selection */
  ::selection, ::-moz-selection {
    background-color: var(--base-color) !important;
    color: var(--white) !important;
  }
  /*** Background ***/
  .mw-prefs-buttons {
    background-image: var(--bg-selected);
  }
  button[type="submit"], .pure-button-primary-progressive,
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
    background-color: var(--base-color) !important;
    border-color: transparent !important;
    color: var(--white) !important;
  }
  #languagesettings-panels .mw-ui-pressed {
    background-color: var(--base-color) !important;
    border-color: var(--base-color) !important;
    color: var(--white) !important;
  }
  .mw-ui-button {
    background-color: var(--gray-3) !important;
    color: var(--gray-d);
    border-color: var(--gray-4) !important;
  }
  .mw-ui-button:hover {
    background-color: var(--gray-4) !important;
    color: var(--gray-e) !important;
    border-color: var(--gray-5);
  }
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button {
    background-color: var(--red-2) !important;
    border-color: transparent !important;
    color: var(--white) !important;
  }
  .oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools .oo-ui-tool.oo-ui-widget-disabled.oo-ui-flaggedElement-primary > .oo-ui-tool-link,
  .oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary > .oo-ui-tool-link {
    background-color: var(--gray-7);
  }
  .pure-button-primary-progressive:hover,
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
    background-image: linear-gradient(var(--white_1), var(--white_1)) !important;
  }
  .mw-ui-button.mw-ui-progressive {
    color: var(--gray-e) !important;
    background-color: var(--base-color) !important;
    border-color: var(--base-color) !important;
  }
  .mw-ui-button.mw-ui-progressive:hover {
    background-color: var(--base-color);
    border-color: var(--base-color);
    opacity: .9;
  }
  .mw-ui-button.mw-ui-progressive:disabled,
  button.mw-ui-button.mw-ui-progressive:active {
    background-color: var(--gray-3) !important;
    color: var(--gray-5) !important;
    border-color: var(--gray-4) !important;
    opacity: .9;
  }
  .suggestions-results .suggestions-result:hover,
  .suggestions-result-current:hover, .mw-pulsating-dot::before,
  .mw-pulsating-dot::after {
    background: var(--base-color);
  }
  #mw-page-base, div.vectorTabs, div.vectorTabs *, .wikiEditor-ui-toolbar,
  #p-cactions-label, .client-js #preftoc, .client-js #preftoc li,
  .client-js #preftoc li.selected a, .ui-widget-content,
  .ext-cards-card-list h3::after, #simpleSearch, .mw-mmv-ttf-ellipsis::before,
  .mw-advancedSearch-fieldContainer {
    background-image: none !important;
  }
  #ca-nstab-project, #ca-talk, #ca-view, #ca-viewsource, #ca-history,
  #ca-nstab-main, #ca-nstab-research, #ca-edit, #ca-addsection, #ca-nstab-2019,
  #ca-ve-edit, #ca-nstab-special, #ca-nstab-help, #ca-nstab-category,
  #ca-comments, #ca-proofread-source, #ca-nstab-author, #ca-nstab-portal,
  #ca-nstab-user, #ca-nstab-comments, #ca-main-talk, #ca-nstab-template,
  #ca-nstab-image, #ca-translate, #ca-lstats, #ca-mstats, #ca-export {
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }
  .wpb .portal ul, .boilerplate .pullquote, .module-shortcutboxplain,
  .mw-trackedTemplate, .todo-box {
    background-color: var(--gray-3) !important;
  }
  .mw-body-content .portal, .sistersitebox,
  .boilerplate:not[style*="background-color: #edeaff"], .NavFrame, .divbox,
  div.resolved span, div.unresolved span, div.unsure span, div.stale span,
  div.being_worked_on span, div.stuck span, div.disregard span, div.FYI span,
  .vertical-navbox:not(.nowraplinks), #mp-topbanner,
  .mw-advancedSearch-fieldContainer .oo-ui-labelElement > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label {
    background-color: var(--gray-2) !important;
  }
  table[style*="background-color: #f9f9f9; border: 1px solid #aaa;"] {
    background-color: var(--gray-3) !important;
  }
  #searchInput:focus, #simpleSearch:hover #searchInput:focus {
    -webkit-box-shadow: inset 0 0 0 1px var(--base-color), inset 0 0 0 1px var(--base-color);
            box-shadow: inset 0 0 0 1px var(--base-color), inset 0 0 0 1px var(--base-color);
    border-color: var(--base-color) !important;
  }
  input[type="search"]#searchInput:focus {
    -webkit-box-shadow: inset 0 0 0 1px var(--base-color), inset 0 0 0 1px var(--base-color) !important;
            box-shadow: inset 0 0 0 1px var(--base-color), inset 0 0 0 1px var(--base-color) !important;
    border-color: var(--base-color) !important;
  }
  .oo-ui-inputWidget-input, .oo-ui-checkboxInputWidget-checkIcon {
    background-color: var(--gray-1) !important;
  }
  .help-intro-sidetab.help-intro-sidetab-active[style*="border-left: 1em solid #36c;"] {
    background-color: var(--blue-2) !important;
    border-left: 1em solid var(--blue-4) !important;
  }
  input, input.mw-ui-input {
    background-color: var(--gray-1) !important;
    border-color: var(--gray-4) !important;
  }
  input.mw-ui-input:focus {
    box-shadow: inset 0 0 0 1px var(--base-color) !important;
  }
  input#searchButton {
    border-left: 1px solid var(--gray-5) !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
  }
  textarea {
    border-color: var(--gray-5);
  }
  textarea:not(input):focus, .wikiEditor-ui-text textarea#wpTextbox1:focus {
    border-color: var(--base-color);
  }
  .wikiEditor-ui-text textarea#wpTextbox1:not(input):focus {
    outline: 1px inset var(--base-color) !important;
  }
  .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement:hover {
    outline: 1px solid var(--base-color);
    background-color: inherit !important;
  }
  /* fix clipping to right default is margin: 0; */
  .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement {
    margin: 0 1px;
  }
  .mw-advancedSearch-namespace-selection {
    background: linear-gradient(var(--gray-1), var(--gray-2) .5em);
  }
  .oo-ui-tagItemWidget.oo-ui-widget-enabled,
  .search-container .js-langpicker-label, .uls-input-settings-disable-info,
  .uls-input-settings-no-inputmethods, .languagesettings-menu .menu-section,
  .settings-title, #languagesettings-settings-panel, legend, .vertical-navbox th,
  .wikiEditor-ui-toolbar .group .label, .flow-topic-meta,
  .mw-parser-output .chatheader-description, .ui-widget-content,
  span.mw-redirectedfrom, span.subpages {
    color: var(--gray-9a);
  }
  .oo-ui-tagItemWidget.oo-ui-widget-enabled:not(.oo-ui-tagItemWidget-fixed) {
    background-color: var(--gray-2);
  }
  .oo-ui-tagItemWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-invalid {
    border-color: var(--red-2);
  }
  .oo-ui-tagItemWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-invalid:hover {
    border-color: var(--red-2);
  }
  .oo-ui-tagItemWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-invalid:focus {
    border-color: var(--red-2);
    box-shadow: inset 0 0 0 1px var(--red-2);
  }
  .oo-ui-tagItemWidget.oo-ui-widget-enabled:focus,
  .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-inlined.oo-ui-tagMultiselectWidget-focus .oo-ui-tagMultiselectWidget-handle {
    border-color: var(--base-color);
    box-shadow: inset 0 0 0 1px var(--base-color);
  }
  .languagesettings-menu .menu-section.active, .ui-widget-header {
    color: var(--gray-a);
  }
  .uls-search-label {
    filter: invert(1);
  }
  /* this is a hack for the display/keybord svg cause both use same selectors,
	 * it causes a slight shift in text when active/inactive toggle.
	 * using filters ddoesnt work on specific svg only, so hack! */
  .languagesettings-menu #display-panel-trigger {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%23ccc" d="M.002 2.275V15.22h8.405c.535 1.624-.975 1.786-1.902 2.505 0 0 2.293-.024 3.439-.024 1.144 0 3.432.024 3.432.024-.905-.688-2.355-.868-1.902-2.505h8.527V2.275h-20zm6.81 1.84h.797l3.313 8.466H9.879L8.836 9.943H5.462l-1.043 2.638h-.982zm.368 1.104c-.084.369-.211.785-.368 1.227L5.83 9.023h2.699l-.982-2.577c-.128-.33-.234-.747-.368-1.227zm7.117.982c.753 0 1.295.157 1.656.491.365.334.552.858.552 1.595v4.294h-.675l-.184-.859h-.062c-.315.396-.605.655-.92.798-.311.138-.758.184-1.227.184-.626 0-1.115-.168-1.472-.491-.353-.323-.491-.754-.491-1.35 0-1.275 1.028-1.963 3.068-2.025h1.043v-.429c0-.495-.091-.87-.307-1.104-.211-.238-.574-.307-1.043-.307-.526 0-1.115.107-1.779.429l-.307-.675a4.748 4.748 0 0 1 1.043-.429 4.334 4.334 0 0 1 1.104-.123zm.307 3.313c-.761.027-1.318.157-1.656.368-.334.207-.491.54-.491.982 0 .346.1.617.307.798.211.181.544.245.92.245.595 0 1.012-.164 1.35-.491.342-.326.552-.762.552-1.35v-.552z"/></svg>');
  }
  .languagesettings-menu #input-panel-trigger {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%23ccc" d="M9 1.281c-.124.259-.185.599-.5.688-.55.081-1.133.018-1.688 0-.866-.032-1.733-.148-2.594 0-.588.157-.953.727-1.188 1.25-.178.416-.271.836-.344 1.281H-.002V16h20V4.5H3.654c.109-.52.203-1.057.563-1.469.222-.231.587-.17.875-.188 1.212.003 2.415.179 3.625.063.463-.058.812-.455.969-.875l.188-.438-.875-.313zM1.875 7.125h1.563c.094 0 .188.093.188.188v1.531a.201.201 0 0 1-.188.188H1.875c-.094 0-.156-.093-.156-.188V7.313c0-.094.062-.188.156-.188zm2.844 0h1.563c.094 0 .156.093.156.188v1.531c0 .094-.062.188-.156.188H4.719c-.094 0-.156-.093-.156-.188V7.313c0-.094.062-.188.156-.188zm2.844 0h1.563c.094 0 .156.093.156.188v1.531c0 .094-.062.188-.156.188H7.563a.201.201 0 0 1-.188-.188V7.313c0-.094.093-.188.188-.188zm2.813 0h1.563c.094 0 .188.093.188.188v1.531a.201.201 0 0 1-.188.188h-1.563c-.094 0-.156-.093-.156-.188V7.313c0-.094.062-.188.156-.188zm2.844 0h1.563c.094 0 .156.093.156.188v1.531c0 .094-.062.188-.156.188H13.22c-.094 0-.156-.093-.156-.188V7.313c0-.094.062-.188.156-.188zm2.844 0h1.531c.094 0 .188.093.188.188v1.531a.201.201 0 0 1-.188.188h-1.531a.201.201 0 0 1-.188-.188V7.313c0-.094.093-.188.188-.188zm-12.844 3h1.563c.094 0 .156.093.156.188v1.563c0 .094-.062.156-.156.156H3.22c-.094 0-.156-.062-.156-.156v-1.563c0-.094.062-.188.156-.188zm2.906 0h1.563c.094 0 .188.093.188.188v1.563c0 .094-.093.156-.188.156H6.126c-.094 0-.156-.062-.156-.156v-1.563c0-.094.062-.188.156-.188zm2.938 0h1.531c.094 0 .188.093.188.188v1.563c0 .094-.093.156-.188.156H9.064c-.094 0-.188-.062-.188-.156v-1.563c0-.094.093-.188.188-.188zm2.906 0h1.563c.094 0 .156.093.156.188v1.563c0 .094-.062.156-.156.156H11.97c-.094 0-.188-.062-.188-.156v-1.563c0-.094.093-.188.188-.188zm2.906 0h1.563c.094 0 .156.093.156.188v1.563c0 .094-.062.156-.156.156h-1.563c-.094 0-.156-.062-.156-.156v-1.563c0-.094.062-.188.156-.188zM4.001 13.688h12c.088 0 .156.068.156.156v.844a.154.154 0 0 1-.156.156h-12a.154.154 0 0 1-.156-.156v-.844c0-.088.068-.156.156-.156z"/></svg>') no-repeat 16px 8px;
  }
  /* fading linear gradient */
  .mwe-popups-extract::after {
    background-image: linear-gradient(to right, transparent, var(--gray-2) 50%) !important;
  }
  .ui-widget-overlay {
    background: var(--black_8) !important;
  }
  .oo-ui-windowManager-modal > .oo-ui-dialog {
    background-color: var(--gray-3_5);
  }
  .mw-body-content pre, .mw-body-content code,
  td[style*="border-bottom: 1px solid #eee; background-color:#ffffff"] {
    background-color: var(--gray-1) !important;
    border-color: var(--gray-5) !important;
    color: var(--gray-b9) !important;
  }
  td[style*="background:#FFFFFF" i], .jfk-bubble, .navpopup,
  .popup_drop:hover .popup_menu, .popup_drop .popup_menu:hover, .example-select,
  .mw-parser-output a > span[style*="background"]:not([style*="cedff2"]):not([style*="6c71c4"]):not([style*="color:black"]),
  p[style*="background-color: #EEE;"] {
    background-color: var(--gray-18) !important;
  }
  .MainPageBG[style*="background:#f5fffa;"] {
    background: var(--green-4) !important;
  }
  .mw-widget-dateInputWidget-handle, .mwe-pt-control-gradient,
  .mw-parser-output .quotebox, #languagesettings-settings-panel,
  .uls-language-settings-close-block,
  .uls-input-settings .uls-input-settings-inputmethods-list, .imeselector-menu,
  .uls-ime-menu-settings-item, .ip-label-container, .cbnnr-main, .mw_metadata td,
  .kephir-sagittarius-invite, .infobox, .lang-list-container,
  .mw-parser-output #bottombox-d, .uls-lcd, .uls-search,
  .ns-0 #mw-content-text h1, .wikiEditor-ui-toolbar, .mw-ext-score-popup,
  .oo-ui-tagMultiselectWidget.oo-ui-widget-disabled .oo-ui-tagMultiselectWidget-handle,
  .mw-parser-output .quotebox-title,
  .uls-menu .uls-no-results-view .uls-no-found-more {
    background-color: var(--gray-2); /* non-important */
  }
  .mw-notification, .mw-pt-languages, div.mw-pt-languages, div.thumbinner {
    background-color: var(--gray-2);
    border-color: var(--gray-5);
  }
  .mw-notification.mw-notification-type-warn {
    border-color: var(--brown-2);
    background-color: var(--brown-3);
  }
  table:not(.authortemplate):not(.fmbox-editnotice):not([style*="Alice"]):not([style*="efe"]):not([style*="transparent"]):not(.tmbox):not(.standard-talk):not(.cmbox-notice):not([style*="e4f2e4"]):not([style*="feeeee"]):not([style*="dfd"]):not(.processheadertemplate):not(.statstable):not([style*="eeeeff"]):not([style*="yellow"]):not([style*="#f7f8ff"]):not(.mw-alerte):not(.mp_header):not([style*="#FFDBDB"]):not([style*="#F0F8FF"]):not([style*="background: transparent"]):not([style*="background-color:transparent"]):not([style*="rgba(0,0,255,0.1)"]):not(.vertical-navbox):not([style*="#F5FAFF"]):not([style*="background color:transparent"]):not(#cite-err-report):not(.tmbox-notice):not([style*="background:transparent"]):not([style*="f5faff"]):not(.messagebox):not(#sisterwikis):not([class*="Caution"]):not(.tmbox-style),
  button:not([type="submit"]):not(.tux-editor-save-button):not(.save):not([class*="-settings-block"]):not([class*="mw-mmv-"]):not(.pure-button):not(.wikidialog-button):not(.uls-input-toggle-button),
  select, textarea:not([class*="mw-editfont"]),
  tr[style*="background: antiquewhite" i], #toc,
  td[style*="background-color"]:not([style*="f4e"]):not([style*="faf"]):not([style*="f1f"]):not([style*="B0C4DE"]):not([style*="cdde"]):not([style*="8"]):not([style*="00"]):not([style*="FF6"]):not([style*="f2f2f4"]):not([style*="fc3"]):not([style*="E6F2FF"]):not([style*="ccccff"]):not([style*="f89b8f"]):not([style*="fba89d"]):not([style*="fecec8"]):not([style*="f68d81"]):not([style*="c1ccf2"]):not([style*="b8c4ef"]):not([style*="fcb5ab"]):not([style*="d33"]):not([style*="fec1b9"]):not([style*="fedbd7"]):not([style*="f0f0ff"]):not([style*="a8b4ea"]):not([style*="b1bced"]):not([style*="c9d4f5"]):not([style*="d2dbf7"]):not([style*="9fade8"]):not([style*="eaf3ff"]):not([style*="e2ebfc"]):not([style*="f8f8ff"]):not([style*="f8fff8"]):not([style*="ddddff"]):not([style*="eeeeff"]),
  #mw-content-text div[style*="background:"]:not([style*="3ff"]):not([style*="ffee"]):not([style*="bce1"]):not([style*="ebb"]):not([style*="EDD"]):not([style*="bff"]):not([style*="f7f7"]):not([style*="444"]):not([style*="fdf6e3"]):not([style*="CCF"]):not([style*="F9FCFF"]):not([style*="2a4b8d"]):not([style*="E0EEE0"]):not([style*="E8F1FF"]):not([style*="EEF"]):not([style*="7DC2F5"]):not([style*="CCC"]):not([style*="F16633"]):not([style*="F0F0FF"]):not([style*="336"]):not([style*="D33"]):not([style*="F0F8FF"]):not([style*="00AF89"]):not([style*="36C"]):not([style*="006699"]):not([style*="990000"]):not([style*="#e7eff5;"]):not([style*="#90EE90;"]):not([class*="-active"]):not([style*="#339966"]):not([style*="FFF"]):not([style*="2E0"]):not([style*="14866d"]):not([style*="transparent"]):not([style*="F5FAFF"]):not([style*="A3B1BF"]):not([style*="fff5fa"]):not([style*="faf5ff"]),
  .vevent td:not(.fileinfo-paramfield), .referencetooltip li, .suggestions,
  .mw-ui-button[style*="background"]:not([style*="d33682"]):not([style*="6c71c4"]):not([style*="268bd2"]),
  .mw-ui-button[style*="background"] *, .wikiEditor-ui, .mw-search-results li,
  table.navbox.collapsible tr:nth-child(2) > td, div.menu, ul.menu,
  .oo-ui-popupWidget-popup, .mwe-popups, .mwe-popups-is-not-tall,
  .mwe-popups-is-tall, .ui-widget-content, .oo-ui-window-body,
  #pagehistory li.selected, .tracklist tr,
  .mw-searchresults-has-iw .iw-resultset, .cx-callout-content,
  .oo-ui-widget:not(.wbmi-link-notice):not([aria-disabled]):not(.oo-ui-tabOptionWidget):not(.flow-ui-boardDescriptionWidget):not(.oo-ui-buttonWidget):not(.oo-ui-tabSelectWidget-framed):not(.oo-ui-optionWidget-selected):not(span),
  tr[style*="background:#f2f2f2" i], th[style*="background:#EDF1F1" i],
  td[style*="background:#EDF1F1" i], tr[style*="background-color:white" i],
  tr[style*="background:#f9f9f9" i], td[bgcolor="#FFFFFF" i],
  tr[style*="background:#ddd" i], td[style*="background: #F2F2F2" i],
  tr[style*="background-color:#F2F2F2" i],
  tr[style*="background-color:#FFF5EE" i], tr[bgcolor="FFF5EE" i],
  td[bgcolor="FFF5EE" i], tr[style*="background-color:#f0f0f0" i],
  .wikitable.charts-zebragrey > tbody > tr:nth-of-type(odd),
  td > span[style*="background-color:#eee" i], table.flextable th,
  tr[style*="background-color:#FFF" i], td[style*="background:#eee" i],
  #mw-searchoptions, .mw-advancedSearch-namespace-selection,
  td[style*="background:#fff2e6" i], td[style*="background:#F9F9F0"],
  td[style*="background:#F4F9F0"], td[style*="background:#F9F0F0"],
  td[style*="background:#f0f0f0"], #mwe-popups-settings,
  th[style*="border-bottom: 1px solid #eee; background-color:#ffffff;"],
  .table-na[style*="background:#ececec;"], #js-lang-lists .text, div.arcProg,
  .infoboks.biografi tr.overskrift th, .infoboks tr.rad td,
  .infoboks tr.bilde td, .infoboks tr.overskrift td,
  table[style*="background:#f9f9f9;"],
  table[style*="background-color: white; font-size:100%; border:1px solid #CCC;"] th {
    background-color: var(--gray-2) !important;
  }
  table[style*="background: transparent"],
  table[style*="background-color:transparent"],
  table.navbox-inner[style*="background:transparent"],
  .mw-advancedSearch-fieldContainer .oo-ui-labelElement > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label {
    background: transparent !important;
    background-color: transparent !important;
  }
  body .ui-button, caption[style*="background-color:#f2f2f2"],
  table[style*="background:#f8f9fa;color:#222;border:1px solid #eaecf0"] {
    background: var(--gray-28) !important;
    border-color: var(--gray-5) !important;
  }
  td[style*="background: White;"] {
    background: var(--gray-18) !important;
    border-color: var(--gray-18) !important;
  }
  span[style*="background-color:white; color:black;"],
  span[style="background-color:white; color:#808080;"] {
    background: transparent !important;
    color: var(--gray-c) !important;
  }
  table:not(.wikitable) td[bgcolor]:not([bgcolor="fcf"]),
  table:not(.wikitable) tr[bgcolor]:not([bgcolor="D0D8DD"]),
  .app-badges .footer-sidebar-content,
  .languagesettings-menu .menu-section:hover {
    background-color: var(--gray-28);
  }
  table[style*="background-color:#fff;" i], .search-form fieldset, table.ambox,
  tr[style*="background-color: #fff;" i],
  .mw-ui-button[style*="background-color:#008B6D" i],
  tr[style*="background-color: #f5faff;" i], tr[style*="background:#E9E9E9" i],
  th[style*="background:#E9E9E9" i],
  table.infobox.hproduct > tbody > tr[style*="background: #F0F0F0;" i],
  tr[style*="background:#f0f0f0;" i], td[style*="background:lightyellow" i],
  td[style*="background:#eeeeff" i], td[style*="background:#ddddff" i],
  .oo-ui-buttonElement-button:not(.flow-ui-boardDescriptionWidget-editButton):hover,
  .tracklist tr[style*="background-color:#f7f7f7" i],
  td[style*="background:#F9F9F9" i], th[style*="background:gainsboro" i],
  td[style*="background:gainsboro" i], h2[style*="background:#eeeeee" i],
  h2[style*="background:#efefef" i], tr[bgcolor*="#eee" i],
  tr[style*="background-color:#eee" i], div[style*="background-color:#eee" i],
  .wikitable.charts-zebragrey > tbody > tr:nth-of-type(even),
  tr[style*="background:#fbf8d6" i], table.flextable td,
  table.nmbox td:not(.mbox-text), tr[style*="background-color:#f7f7f7"],
  .mw-changeslist-line tr.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey td:not(:nth-child(-n+2)),
  div[style*="background-color: #fff"]:not([style*="ff3"]):not([style*="fff5"]),
  div[style*="background:#FFF;"] {
    background-color: var(--gray-28) !important;
  }
  .oo-ui-tabSelectWidget-framed, .flaggedrevs-color-1 {
    background-color: var(--gray-3);
  }
  .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected,
  .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget-selected:hover {
    background-color: var(--gray-2);
    color: var(--gray-a);
  }
  .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled:hover {
    background-color: var(--gray-28);
    color: var(--gray-a);
  }
  .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected .oo-ui-labelElement-label {
    border-bottom-color: var(--gray-2);
  }
  div.barbox > table > tbody > tr > th, .cx-campaign-contributionsmenu li:hover,
  .suggestions-results, .suggestions-special, #mwe-pt-list-more,
  .fr-watchlist-pending-notice, div.flaggedrevs_notice,
  .imeselector-menu .selectable-row:hover, .guider, .mw-pt-languages-label,
  .mw_metadata th, .uls-language-block > ul > li:hover, th[bgcolor],
  .wikEdDiffBlock, .installerMessage, .styled-select:hover,
  .rt-settingsLink:hover {
    background-color: var(--gray-3); /* don't include !important flag */
  }
  .imeselector {
    background-color: var(--gray-18);
  }
  .imeselector:not(.imeselector-open):hover {
    background-color: var(--gray-18);
  }
  .uls-ime-more-settings-link:hover {
    filter: brightness(130%);
  }
  body .ui-dialog .ui-icon-closethick, .vectorMenu h3::after, .oo-ui-icon-add,
  .mw-ui-icon-add::before {
    filter: invert(1) brightness(80%);
  }
  .oo-ui-buttonElement-button .oo-ui-icon-add {
    filter: grayscale(1) brightness(250%);
  }
  .ui-state-hover, .ui-widget-content .ui-state-hover,
  .ui-widget-header .ui-state-hover, .ui-state-focus,
  .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
    border: 1px solid var(--gray-4) !important;
    background: var(--gray-5);
  }
  .ui-state-default, .ui-widget-content .ui-state-default,
  .ui-widget-header .ui-state-default {
    border: 1px solid var(--blue-3);
    background: var(--blue-3);
    color: var(--base-color);
  }
  .client-js .mw-ui-radio:not(#noop) [type="radio"]:enabled:checked + label::before {
    border-color: var(--base-color);
  }
  .client-js .mw-ui-radio:not(#noop) [type="radio"] + label::before {
    background-color: var(--gray-1);
    border: 1px solid var(--gray-4);
  }
  .uls-no-found-more {
    border-top: 1px solid var(--gray-4);
    color: var(--gray-a);
  }
  table.wikitable > tr > th,
  table.wikitable > * > tr > th:not([style="background: #ABCDEF;"]),
  td[style*="background: #ececec;" i], th[style*="background:#eee" i],
  th[style*="background-color: #eee" i], tr[style*="background: #dddddd" i],
  tr[style*="background-color: #f7f7f7;" i], th[style*="background:#F2F2F2" i],
  #filetoc, th[style*="background:#F9F9F9" i],
  th[style*="background-color: lightgrey" i], th[style*="background:#ddd" i],
  .infobox th[style*="background"]:not([style*="green"]):not([style*="background:#dfc;"]):not(.infobox-above):not([style*="lavender"]):not([style*="cfe3ff"]):not([style*="rgb(235,235,210)"]),
  .infobox tr[style*="background-color"]:not([style*="cedff2"]),
  .infobox td[style*="background"]:not([style*="cdde"]):not([style*="e8dbae"]),
  td[style*="background:#F2F2F2" i],
  table.wikitable > tbody > tr[style*="background-color:#F6F6F6" i], .tlheader,
  th[style*="background:whitesmoke" i], td[style*="background:whitesmoke" i],
  th[style*="#FFEBAD" i], table.nmbox th:not([style*="#EEF"]),
  tr[style*="#eaecf0" i], td[style*="#eaecf0" i],
  p[style*="background-color:#F7FAFC" i],
  .infobox.standard-talk tr[style*="#e8dbae"] {
    background-color: var(--gray-3) !important;
  }
  .plainlinks.mw-trackedTemplate {
    background: var(--gray-3) !important;
  }
  .licensetpl.fileinfotpl tbody th {
    background-color: var(--gray-4) !important;
  }
  .lang-list-border, .interlanguage-uls-menu.selector-left::after,
  .interlanguage-uls-menu.selector-left::before, .navbox-abovebelow,
  .navbox-group, .navbox-subgroup .navbox-title {
    background-color: var(--gray-5);
  }
  .mw-revslider-revision, .cbnnr-close {
    background-color: var(--gray-7);
  }
  .mw-revslider-revision-wrapper:hover, .mw-revslider-revision-wrapper-hovered {
    background-color: var(--black_5);
  }
  /* remove background image/gradient */
  .keyboard-key, div#editpage-specialchars a,
  body div.ui-dialog .ui-widget-header {
    background: var(--gray-3) !important;
    border-color: var(--gray-5) !important;
  }
  .catlinks {
    background: var(--gray-28);
  }
  body .ui-button:hover {
    background: var(--gray-4) !important;
    border-color: var(--gray-5) !important;
  }
  /* add a white background to transparent images; see
   * https://forum.userstyles.org/discussion/48549/x */
  a.image img, a[href*=".svg"] img {
    background: var(--gray-d) !important;
  }
  /* white background to wikEd - see #24 */
  .wikEdFrameBodySyntax, #wpTextbox1 {
    background: var(--gray-18);
  }
  img[src*="Check_mark_23x20_02.svg"],
  img[resource*="OOjs_UI_icon_userTalk-ltr.svg"] {
    filter: invert(100%) brightness(80%);
  }
  img[src*="76px-Wikimedia_Research_Newsletter_Logo.png"],
  img[src*="OOjs_UI_icon_download-ltr-progressive.svg.png"],
  .mw-rcfilters-ui-filterWrapperWidget-showNewChanges .oo-ui-iconElement-icon {
    filter: invert(100%) hue-rotate(180deg);
  }
  div[style="float:right; border:1px solid #CCC"] {
    border-color: var(--gray-2) !important;
  }
  a img[src*="WRN_header.png"] {
    filter: invert(88%);
  }
  .keyboard-key {
    box-shadow: .1em .2em .2em var(--gray-4) !important;
  }
  .mw-mmv-ttf-ellipsis, .navpopup, .oo-ui-popupWidget-popup, input + span,
  .pure-form input[type=search], .searchbox .mw-ui-input {
    box-shadow: none !important;
  }
  .mw-ui-input {
    box-shadow: inset 0 0 0 .1em var(--gray-5);
  }
  .pure-button-primary-progressive:focus,
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus:not(:active),
  .mw-ui-button.mw-ui-progressive:focus:not(:active) {
    box-shadow: inset 0 0 0 1px var(--base-color), inset 0 0 0 2px var(--gray-a) !important;
  }
  .oo-ui-popupToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled .oo-ui-tool-link:focus {
    outline: 0;
    box-shadow: inset 0 0 0 2px var(--base-color);
  }
  .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:focus {
    outline: 1px solid var(--base-color);
    box-shadow: inset 0 0 0 1px var(--base-color);
  }
  .oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle:hover {
    background-color: rgba(41, 98, 204, .1);
    color: var(--base-color);
  }
  .oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle {
    background-color: var(--gray-3);
    color: var(--base-color);
  }
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus {
    border-color: var(--base-color) !important;
  }
  .oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus {
    box-shadow: inset 0 0 0 1px var(--base-color);
  }
  strong, em {
    text-shadow: none !important;
  }
  hr {
    background-color: transparent !important;
    border-color: var(--gray-5) !important;
  }
  .mw-editfont-monospace {
    background-color: var(--gray-2);
    color: var(--gray-9a);
  }
  .mw-parser-output .mainpage-welcome-slogan,
  .flow-topic-summary-container .flow-topic-summary .flow-topic-summary-author,
  .flow-topic-summary-container .flow-ui-editTopicSummaryWidget .flow-topic-summary-author,
  .mw-mmv-options-text-header, .imeselector a,
  .languagesettings-menu .menu-section:hover .settings-text, .ime-disable-link {
    color: var(--gray-9a);
  }
  .mw-body pre, .mw-body code, .mw-body .mw-code {
    background-color: var(--gray-1) !important;
    border-color: var(--gray-5) !important;
    color: var(--gray-b9) !important;
  }
  .messagebox, .errorbox, .warningbox, .successbox,
  .suggestions-special .special-label {
    color: var(--gray-c);
  }
  span[style="color:black"], span[style*="color: black"],
  span[style*="color:black"], td[style*="color: black"],
  td[style*="color: #2C2C2C"] {
    color: var(--gray-c) !important;
  }
  span[style*="color: #000000;"], .wikiEditor-ui-toolbar .page-table td,
  sup[style*="color:#000;"], div[style*="color:#000;"] {
    color: var(--gray-a) !important;
  }
  .flow-component.flow-board-page.flow-full-height-side-rail .flow-board-header::before {
    background-color: var(--gray-3);
  }
  div[style*="background: #FFF;"], div[style*="background:gainsboro;"] {
    background: var(--gray-4) !important;
  }
  .mw-ui-icon.mw-ui-icon-before::before, .mw-ui-icon.mw-ui-icon-element::before,
  .mw-parser-output .helpContents-icon, img[src*="9px-AnonEditWarning.svg.png"],
  img[src*="50px-OOjs_UI_icon_speechBubbles-ltr.svg.png"] {
    filter: invert(80%);
  }
  .k-player .control-bar {
    filter: invert(1) brightness(80%) contrast(135%);
    background: var(--gray-b9);
    border: 1px solid var(--gray-7);
  }
  .k-player .credits_box, .lButton:hover, .rButton:hover, .ui-icon-comment:hover {
    background-color: var(--gray-2);
    border: 0 !important;
  }
  div > .flow-menu li a, .mw-mmv-post-image {
    background-color: var(--gray-2) !important;
  }
  .mw-mmv-download-button, .mw-mmv-reuse-button, .mw-mmv-options-button,
  .mw-mmv-close, .mw-mmv-fullscreen, .mw-mmv-next-image, .mw-mmv-prev-image {
    background-color: transparent !important;
    border: none !important;
  }
  .mw-rcfilters-ui-filterMenuHeaderWidget-header,
  .mw-rcfilters-ui-menuSelectWidget-footer,
  .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend,
  .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,
  .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagMultiselectWidget-handle,
  .flaggedrevs_reviewform, .mw-specialCiteThisPage-bibliographic {
    background-color: transparent;
  }
  .oo-ui-tagMultiselectWidget-focus {
    box-shadow: inset 0 0 0 1px var(--base-color) !important;
  }
  .mw-enhanced-rc.mw-changeslist-line,
  .mw-collapsible.mw-enhanced-rc.mw-changeslist-line,
  .mw-collapsible.mw-enhanced-rc.mw-changeslist-line td,
  .oo-ui-widget-enabled.mw-rcfilters-ui-changesListWrapperWidget,
  .oo-ui-widget-enabled.mw-rcfilters-ui-filterWrapperWidget,
  .oo-ui-widget-enabled.mw-rcfilters-ui-rcTopSectionWidget,
  .oo-ui-widget-enabled.oo-ui-tagMultiselectWidget,
  .oo-ui-widget-enabled.mw-rcfilters-ui-watchlistTopSectionWidget,
  tr[style*="background"]:not([style*="cedff2"]):not([style*="E4F2E4"]):not([style*="ccccff"]):not([style*="white"]) {
    background-color: transparent !important;
  }
  #mw-fr-watchlist-pending-notice {
    background-color: var(--red-3) !important;
    border-color: var(--red-0) !important;
  }
  table[style*="border:1px solid #a2a9b1"] {
    border: 1px solid var(--gray-4) !important;
  }
  table[style*="border:1px solid #a2a9b1"] td,
  .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
    border-color: var(--gray-4) !important;
  }
  .oo-ui-tagItemWidget, .wikiEditor-ui-toolbar .page-table td {
    border-color: var(--gray-5);
  }
  .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,
  .mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget,
  .ui-dialog {
    border-color: var(--gray-4);
  }
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
    background-color: var(--gray-2);
    border-color: var(--gray-5) !important;
  }
  /*** Background Color Styles ***/
  div[style*="background-color:white; border"] {
    background-color: transparent !important;
    border: 1px solid var(--green-3) !important;
  }
  .mw-highlight .gh {
    color: var(--cm-5) !important;
  }
  /* ORES highlight colors */
  .mw-rcfilters-ui-highlights-color-none {
    background-color: var(--gray-7);
  }
  .mw-rcfilters-ui-highlights-color-c1,
  .mw-rcfilters-ui-tagItemWidget-highlight[data-color="c1"]::before {
    background-color: var(--blue-2);
  }
  .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1,
  .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1 tr:first-child,
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: var(--blue-2) !important;
  }
  .mw-rcfilters-ui-highlights-color-c2,
  .mw-rcfilters-ui-tagItemWidget-highlight[data-color="c2"]::before {
    background-color: var(--cyan-1) !important;
  }
  .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2,
  .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2 tr:first-child,
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: var(--cyan-1);
  }
  .mw-rcfilters-ui-highlights-color-c3,
  .mw-rcfilters-ui-tagItemWidget-highlight[data-color="c3"]::before {
    background-color: var(--ores-1);
  }
  .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3,
  .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3 tr:first-child,
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: var(--ores-1) !important;
  }
  .mw-rcfilters-ui-highlights-color-c4,
  .mw-rcfilters-ui-tagItemWidget-highlight[data-color="c4"]::before {
    background-color: var(--ores-2);
  }
  .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
  .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: var(--ores-2) !important;
  }
  .mw-rcfilters-ui-highlights-color-c5,
  .mw-rcfilters-ui-tagItemWidget-highlight[data-color="c5"]::before {
    background-color: var(--ores-3);
  }
  .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
  .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: var(--ores-3) !important;
  }
  /* Red
  ** Red links (non-existant pages) */
  div.vectorTabs li.new:not(.selected) a, .mw-plusminus-neg {
    color: var(--red-1) !important;
  }
  table.xambox.xambox-type-serious {
    border-left: 1em solid var(--red-2);
  }
  .mw-translate-fuzzy {
    background-color: var(--red-3);
  }
  td[style*="background:#ff9292;"] {
    background-color: var(--red-2) !important;
    color: var(--gray-e);
    filter: contrast(130%);
  }
  .wikitable td[style*="background:#ffdbdb;"] {
    background-color: var(--red-2) !important;
    color: var(--gray-e);
    filter: contrast(120%);
  }
  td[style*="background:#fff;"] {
    background-color: var(--gray-28) !important;
  }
  span[style*="color:black;background:white;border:3px solid red;"] {
    background-color: var(--gray-2) !important;
    border-color: var(--red-3) !important;
    color: var(--gray-a) !important;
  }
  div.mw-warning-with-logexcerpt, div.mw-lag-warn-high,
  div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon,
  div.titleblacklist-warning, div.locked-warning {
    background-color: var(--red-0);
    border-color: var(--red-1);
  }
  div[style*="border-right:1px solid #FFFFFF; padding:0.1em; background-color:#FFFAF5"] {
    background: var(--red-0) !important;
    border-color: var(--red-0) !important;
  }
  div[style*="border-bottom:2px solid #FFFFFF; padding:0.1em; background-color:#FFF2E6;"] {
    background: var(--red-3) !important;
    border-color: var(--red-3) !important;
  }
  th[style="color:white;background:red"],
  caption[style="color:white;background:red"] {
    background: var(--red-2) !important;
    color: var(--gray-d) !important;
  }
  td[style*="background: #FDD;" i], .table-no, td[style*="background:#fdd" i],
  td[style*="background: #ffdddd" i], tr[style*="background:#FFDDDD" i],
  tr[style*="background:#fbb" i] {
    background: var(--red-3) !important;
    color: var(--gray-d) !important;
  }
  td.projects[style*="border:1px solid #C66; background: #FCC;"],
  table[style="background-color: #FFDBDB; border-color: #BB7070"],
  div[style*="border:solid 1px #282; background:#ebb;"] {
    background: var(--red-0) !important;
    border-color: var(--red-3) !important;
  }
  td[style="background-color: #d33"] {
    background-color: var(--red-3) !important;
    color: var(--gray-a);
  }
  td[style="background-color: #fedbd7"] {
    background-color: var(--red-0) !important;
    color: var(--gray-a);
  }
  td[style="background-color: #f68d81"], td[style="background-color: #fecec8"],
  td[style="background-color: #fba89d"], td[style="background-color: #f89b8f"] {
    background-color: var(--red-3) !important;
    color: var(--gray-a);
  }
  td[style="background-color: #fec1b9"], td[style="background-color: #fcb5ab"] {
    background-color: var(--red-3) !important;
  }
  tbody td[style*="border:1px solid #6BB; background-color: #CFF;"] {
    background-color: var(--blue-2) !important;
    border: 1px solid var(--blue-3) !important;
  }
  .plainlinks span[style*="background-color: #36c;"],
  .plainlinks span[style*="border: 1px solid #36c;"] {
    background-color: var(--base-color) !important;
    border: 1px solid var(--base-color) !important;
  }
  body .ui-button.ui-button-blue {
    border-color: var(--base-color) !important;
    background: var(--base-color) !important;
    background: linear-gradient(to bottom, var(--base-color) 0%, var(--base-color) 90%) !important;
  }
  body .ui-button.ui-button-blue:hover {
    border-color: var(--base-color) !important;
    background: var(--base-color) !important;
    background: linear-gradient(to bottom, var(--base-color) 0%, var(--base-color) 90%) !important;
    color: var(--gray-e) !important;
    opacity: .9;
  }
  .plainlinks span[style="color:white;"], body a span .ui-button-text b,
  div[style*="background-color:#f8f9fa;"] b, span[style="color:#4F4F4F;"] {
    color: var(--gray-d) !important;
  }
  /* Green */
  .mw-plusminus-pos {
    color: var(--green-1) !important;
  }
  .template-documentation {
    background-color: var(--green-4);
    border-color: var(--green-2);
  }
  .footertemplate, #navigationHeader div[style*="background-color:#E6F2E6;"] {
    background-color: var(--green-4) !important;
    border: 1px solid var(--green-2) !important;
  }
  th[style*="background:#EEF3E2"] {
    background-color: var(--green-3) !important;
  }
  th[style*="background:palegreen;"] {
    background-color: var(--green-2) !important;
    color: var(--gray-e) !important;
  }
  td.mbox-text[style*="border: 1px solid #AAA;"],
  tr[style*="background-color: #E4F2E4;"], div[style*="background:#00af89;"] {
    background-color: var(--green-4) !important;
  }
  u[style*="color:#087643;"] {
    color: var(--green-1) !important;
    text-shadow: none !important;
  }
  div[style*="background-color: #E5FFE5; border: 0.2em light green;"] {
    background-color: var(--green-4) !important;
    border: .1em solid var(--green-1) !important;
  }
  .mw-parser-output .mainpage-box-green,
  .mw-parser-output .mainpage-box-green .mainpage-box-seealso {
    border-color: var(--green-1);
  }
  td[style="border:1px solid #9f8f9f; padding: .5em 1em 1em; color: #000; background-color: #f8fff8"],
  table[style*="border: #9BF solid 1px; background: #F1F8F1;"],
  table[style*="border: 1px solid #060; background: #dfd;"],
  table[style*="background-color: #e4f2e4; border: 1px solid #ada;"] {
    border-color: var(--green-2) !important;
    background: var(--green-4) !important;
  }
  div[style*="background:#CEF2E0"] {
    border-color: var(--green-1) !important;
    background: var(--green-2) !important;
  }
  div[style*="background-color:#cef2e0"], th[style*="background: #CFC;"] {
    background: var(--green-2) !important;
  }
  div[style*="background:#E6FFF2"], div[style*=";background:#14866d"] {
    background: var(--green-3) !important;
  }
  div[style*="background:#E0EEE0"],
  th.navbox-title[style="background:lightgreen;"],
  th.navbox-title[style="background:lightgreen;"] * {
    background: var(--green-3) !important;
  }
  th.navbox-title[style="background:#3EB489;"],
  th.navbox-title[style="background:#3EB489;"] * {
    background: var(--green-2) !important;
  }
  div[style*="background:#F5FFFA"] {
    background: var(--green-4) !important;
    border-color: var(--green-1) !important;
    color: var(--gray-9a) !important;
  }
  div[style*="border-bottom:1px solid #A3BFB1"] {
    border-bottom: 1px solid var(--green-1) !important;
    border: 0 solid var(--green-1) !important;
  }
  div[style*="background:#F5FFFA; border-style:solid; border-width:1px; border-color: #A3BFB1"],
  div[style*="border: 1px solid #ffc9c9; background-color: #fffff3;"] {
    background: var(--green-4) !important;
    border: 1px solid var(--green-1) !important;
  }
  div[style*="border:1px solid #A3BFB1; background-color:#E6FFF2;"] {
    background: var(--green-2) !important;
    border-color: var(--green-1) !important;
  }
  div[style*="border-bottom:2px solid #FFFFFF; padding:0.1em; background-color:#E0F2CE;"] {
    background: var(--green-2) !important;
    border-color: var(--green-2) !important;
  }
  div[style="float:left; box-sizing:border-box; margin:0.2em 0; width:50%; border-left:1px solid #FFFFFF; border-right:1px solid #FFFFFF; padding:0.1em; background-color:#F2FFE6"] {
    background: var(--green-4) !important;
    border-color: var(--green-4) !important;
  }
  th[style="color:white;background:green"],
  caption[style="color:white;background:green"] {
    background-color: var(--green-3) !important;
    color: var(--gray-d) !important;
  }
  td[style*="background:#f5fffa; border:1px solid #ccc;"],
  tbody td[style*="border:1px solid #6B6; background: #CFC;"] {
    background-color: var(--green-4) !important;
    border-color: var(--green-2) !important;
  }
  .userSummaryButtons a, #userSummaryButtons a {
    background-color: var(--green-4);
    border-color: var(--green-3);
    color: var(--gray-a) !important;
  }
  .userSummaryButtons a:hover, #userSummaryButtons a:hover {
    background-color: var(--green-4);
    border-color: var(--green-3);
    filter: brightness(120%);
  }
  #mp-left h2, #mp-left h2 span, td[style*="background: #99FF99;" i], .table-yes,
  td[style*="background:#dfd" i], td[style*="background:#bfd" i],
  tr[style*="background:#DDFFDD" i], tr[style*="background:#bfb" i],
  tr[style*="background-color:#CCFFCC" i],
  table.ext-status-stable > tbody > tr.tpl-infobox-header {
    background: var(--green-2) !important;
    color: var(--gray-d) !important;
  }
  table[style*="border: 1px solid #AAA; background: ivory;"],
  div[style="background-color: #e3f9df; padding: 0 10px 0 10px; border: 1px solid #AAAAAA;"] {
    background: var(--green-4) !important;
    border-color: var(--gray-4) !important;
  }
  div[style="background-color: #f5fff5; margin: 2em 0 0 0; padding: 0 10px 0 10px; border: 1px solid #AAAAAA;"] {
    background: var(--green-2) !important;
    border-color: var(--gray-4) !important;
  }
  .MainPageBG[style*="border:1px solid #cef2e0;"],
  .MainPageBG h2[style*="border:1px solid #a3bfb1;"],
  #localNotice table[style="border: 1px solid #009966;"] {
    border: 1px solid var(--green-1) !important;
  }
  table[style*="box-shadow: 2px 2px 2px #CCC;"] {
    box-shadow: 0 0 1px var(--gray-5) !important;
  }
  html table th[style*="background:#dfc;"] {
    background: var(--green-2) !important;
  }
  /* Yellow */
  table.ext-status-beta > tbody > tr.tpl-infobox-header,
  td[style*="background: #f9f9e9;" i], span[style*="background: #f9f9e9;" i] {
    background: var(--yellow-1) !important;
    color: var(--gray-3) !important;
  }
  th[style="color:black;background:gold"],
  caption[style="color:black;background:gold"] {
    background: var(--yellow-1) !important;
    color: var(--gray-1) !important;
  }
  th[style="border-top: 5px solid #CF9C65;"] {
    border-top-color: var(--yellow-1) !important;
  }
  .usermessage {
    background: var(--brown-4);
    border-color: var(--yellow-1);
    color: var(--gray-c);
  }
  /* Orange */
  th[style="border-top: 5px solid #FFF157;"] {
    border-top-color: var(--orange-2) !important;
  }
  table.ext-status-experimental > tbody > tr.tpl-infobox-header {
    background: var(--orange-1) !important;
  }
  .wikipediauserbox table[style*="background:yellow"] {
    background: var(--yellow-1) !important;
  }
  div.wikipediauserbox[style*="border:1px solid orange"] {
    border-color: var(--orange-2) !important;
  }
  /* Grey */
  .navbox-even, .mw-line-even {
    background: var(--gray-18) !important;
  }
  .mw-line-odd, .navbox-odd {
    background: var(--gray-2) !important;
  }
  #AjaxQuestionParse, #AjaxQuestionParse0, div[id^="AjaxQuestionParse"] {
    color: var(--gray-c);
    background: var(--gray-1);
    border: 1px solid var(--gray-4);
  }
  .ns-talk .mw-body-content dl dl, .ns-talk .mw-body-content dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl dl dl dl dl dl,
  table:not([style*="efe"]).wikitable td:not([bgcolor]), table.prettytable td,
  .statstable > * > tr.tux-statstable-even > td {
    background: var(--gray-2);
  }
  span[style*="border:1px solid #aaa; background:#fcf9f9;"] {
    background: var(--gray-3) !important;
    border-color: var(--gray-5) !important;
  }
  div[style*="background-color: #f5f3ef;"] {
    background: var(--gray-2) !important;
    border-color: var(--gray-5) !important;
  }
  .mw-mmv-dialog {
    background-color: var(--gray-2);
    box-shadow: 0 2px 2px 0 var(--gray-5);
  }
  .mw-mmv-dialog .mw-mmv-dialog-down-arrow {
    background-color: var(--gray-2);
  }
  .flow-topic-titlebar, .fieldsetlike .legendtextlike,
  .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled {
    background: var(--gray-2);
  }
  div[style*="background:#f7f7f7; border:solid 1px #CCC;"] {
    background-color: var(--gray-18) !important;
    border-color: var(--gray-5) !important;
  }
  div[style*="background: white;"],
  table[style*="background-color:#efefff; border: 1px solid #1e90ff;"] {
    background-color: var(--gray-2) !important;
    border-color: var(--blue-4) !important;
  }
  div[style*="border: 1px solid #CCC; border-top-width: 1px; vertical-align: top;background: white;"],
  div[style*="border: 1px solid #a2a9b1; padding: 0.2em; background-color: white;"],
  td[style*="background: #ffffff"] {
    background-color: var(--gray-2) !important;
    border-color: var(--gray-5) !important;
  }
  .mw-widgets-datetime-dateTimeInputWidget-handle,
  .fancycaptcha-captcha-and-reload {
    background-color: var(--gray-18);
    border-color: var(--gray-5) !important;
  }
  .tux-workflow-status-triangle::after {
    border-top: 6px solid #aaa;
  }
  .wikidialog-button.wikidialog-delegable, .tux-workflow-status {
    background-color: var(--gray-4);
    border-color: var(--gray-5);
    color: var(--gray-c);
  }
  .statstable > * > tr > th, .fancycaptcha-captcha-container {
    background-color: var(--gray-3);
    border: 1px solid var(--gray-5);
  }
  .statstable > * > tr > td {
    background-color: var(--gray-18);
    border-left: 1px solid var(--gray-5);
    border-right: 1px solid var(--gray-5);
  }
  div[style*="box-shadow: 0 0 0.3rem #999;"] {
    border: 1px solid var(--gray-5) !important;
    box-shadow: 0 0 .1rem var(--gray-7) !important;
  }
  span[style*="border: 1px solid #aaa; background: #f9fcf9;"],
  span[style*="border: 1px solid #aaa; background-color: #f9fcf9;"],
  div[style*="border:1px solid #AAAAAA; background-color:#FFFFFF;"],
  div[style*="background-color:#FFFFFF; border:1px solid #CCCCCC;"],
  div[style*="background-color: #F3F9FF; margin: 2em 0 0 0; padding: 0 10px 0 10px; border: 1px solid #AAAAAA;"],
  div[style*="background-color: #f3f9ff; border: 1px solid #aaaaaa;"],
  div[style*="border:1px solid #CCC; background-color: #FCFCFC;"] {
    background-color: var(--gray-28) !important;
    border-color: var(--gray-5) !important;
  }
  .oo-ui-menuSelectWidget, html .thumbimage {
    background-color: var(--gray-28);
    border-color: var(--gray-5);
  }
  table.ext-status-unknown > tbody > tr.tpl-infobox-header {
    background: var(--gray-5) !important;
  }
  div[style*="background-color:rgb(200,200,200);"], .collection-warning-box,
  tr[style*="background-color: white;"], th[style*="background: #ccc;"],
  span[style*="background-color: #e8e8e8;"], th[style="background:#efefef;"],
  tr[bgcolor="D0D8DD"] td, tr[bgcolor="E5E4E2"] *,
  div[style*="background-color:#cccccc;"] {
    background-color: var(--gray-3) !important;
  }
  .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover {
    background-color: var(--gray-3);
  }
  div[style*="background-color: #F9F9F9;"] {
    background-color: var(--gray-2) !important;
    border-color: var(--gray-5) !important;
  }
  .tux-message-editor {
    border: 1px solid var(--gray-5);
    background-color: var(--gray-2);
  }
  .ext-translate-container .tux-messagelist .tux-message-pagemode:first-child .tux-message-item-compact,
  .tux-message-editor .editcolumn,
  .ext-translate-container .tux-messagelist .tux-message-pagemode:last-child .tux-message-item-compact {
    border-color: var(--gray-5);
  }
  .ext-translate-container .tux-messagelist .tux-message-pagemode .tux-message-item-compact,
  .tux-message-item, .tux-message-selector .more ul {
    background: var(--gray-2);
    border-color: var(--gray-5);
  }
  .tux-dropdown-menu {
    background: var(--gray-2);
    border-color: var(--gray-3) var(--gray-7) var(--gray-7) var(--gray-7) !important;
  }
  .tux-message-editor__caret::before, .tux-message-editor__caret::after {
    border-top: 20px solid transparent;
    border-right: 20px solid var(--gray-5);
    border-bottom: 20px solid transparent;
  }
  .tux-message-editor__caret::after {
    border-right: 20px solid var(--gray-28);
  }
  .tux-messagelist, .tux-message-editor .editcolumn,
  .grid .tux-message-editor .infocolumn-block {
    background-color: var(--gray-28) !important;
    color: var(--gray-a) !important;
  }
  .tux-pagemode-status.fuzzy {
    background-image: linear-gradient(transparent, transparent),
                          url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2233.389%22 height=%2222.857%22 viewBox=%220 0 33.389 22.857%22%3E %3Cpath fill=%22%234b380d%22 d=%22M0 0h25.922l7.467 11.43-7.468 11.428H0V0z%22/%3E %3Cpath fill=%22%23999%22 d=%22M17.98 4.357c-4.06 0-7.374 3.316-7.374 7.375 0 4.06 3.315 7.375 7.375 7.375 4.06 0 7.376-3.316 7.376-7.375 0-4.06-3.316-7.375-7.375-7.375zm0 1.768c3.105 0 5.608 2.504 5.608 5.607s-2.504 5.607-5.607 5.607c-3.102 0-5.606-2.505-5.606-5.608 0-3.103 2.504-5.607 5.607-5.607z%22/%3E %3Cpath fill=%22%23999%22 d=%22M17.19 7.223v5.761h3.427v-1.21H18.4V7.223h-1.21z%22/%3E %3C/svg%3E");
  }
  .tux-workflow-status-selector li.selected {
    background-image: linear-gradient(transparent, transparent),
                          url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E %3Cpath fill=%22%23999%22 d=%22M10.765 1.078l-5.188 8.938-2.03-1.5L1.95 10.64l3.25 2.407 1.188.875.75-1.28 5.906-10.25-2.28-1.314z%22/%3E %3C/svg%3E");
    color: var(--gray-a) !important;
  }
  .grid .tux-message-editor .close, .tux-action-bar .page-mode-button::before {
    filter: invert(1) brightness(80%);
  }
  .tux-status-fuzzy {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2215%22%20height%3D%2215%22%20viewBox%3D%220%200%2015%2015%22%3E%3Cpath%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22%23999%22%20d%3D%22M7.5.125C3.44.125.125%203.44.125%207.5c0%204.06%203.316%207.375%207.375%207.375%204.06%200%207.375-3.316%207.375-7.375C14.875%203.44%2011.56.125%207.5.125zm0%201.768c3.104%200%205.607%202.504%205.607%205.607s-2.504%205.607-5.607%205.607S1.893%2010.604%201.893%207.5%204.396%201.893%207.5%201.893z%22%2F%3E%3Cpath%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22%23999%22%20d%3D%22M6.708%202.99v5.763h3.428v-1.21H7.918V2.99h-1.21z%22%2F%3E%3C%2Fsvg%3E");
  }
  .tux-dropdown-menu .unchangeable, .tux-message-editor .shortcutinfo,
  .grid .tux-message-editor .messagekey, .tux-message-selector label {
    color: var(--gray-a);
  }
  .tm-suggestion, .in-other-language {
    border: 1px solid var(--gray-5);
    border-left: 2px solid var(--base-color);
    background-color: var(--gray-28);
  }
  .ext-translate-container .tux-messagelist .tux-message-pagemode .tux-message-item-compact:hover,
  .ext-translate-container .tux-messagelist .tux-message-pagemode,
  .tux-message-item:hover, .tux-messagetable-header.floating {
    background: var(--gray-28);
  }
  .tux-textarea-translation,
  .tux-messagelist .tux-message-pagemode .tux-pagemode-source,
  .tux-list-translation, .infocolumn .loading {
    color: var(--gray-9a);
  }
  .tux-action-bar, .tux-message-item.translated,
  .tux-message-item.translated:hover, .tux-message-item.proofread,
  .tux-message-item.proofread:hover {
    background: var(--gray-18);
  }
  .tux-messagetable-loader {
    background: var(--gray-18);
    color: var(--gray-a);
  }
  .tux-action-bar button {
    background-color: var(--gray-3);
    background-image: linear-gradient(var(--gray-3), var(--gray-4));
    border-color: var(--gray-5);
    color: var(--gray-a);
  }
  .tux-action-bar button:hover {
    background-color: var(--gray-3);
    background-image: linear-gradient(var(--gray-4), var(--gray-5));
  }
  .tux-notice, .group-warning {
    background-color: var(--brown-3);
  }
  .tux-statsbar {
    background-color: var(--gray-5);
  }
  .tux-message-selector li.selected {
    border-color: var(--base-color);
  }
  .tux-action-bar.floating {
    border-color: var(--gray-5);
  }
  .tux-messagetable-header {
    border-color: var(--gray-3);
  }
  th[style*="background:#fff; border-bottom:1px solid #aaa; padding:6px; color:#244C85;"] {
    background: var(--gray-2) !important;
    border-color: var(--gray-5) !important;
    color: var(--base-color) !important;
  }
  h2[style*="border:1px solid #AAAAAA; background-color:#F0F0F0;"],
  div[style*="background-color:#F5F5F5; font-size:100%; padding: 0.5em; border-bottom-style: solid;"],
  div[style*="border: solid #CCC; border-width: 1px 1px 0; background: #CCC; color: black;"],
  div[style*="background:#444444;"], div[style*="background: #f7f7f7;"] {
    background: var(--gray-3) !important;
    border-color: var(--gray-5) !important;
  }
  div[style*="border:1px solid #AAAAAA; border-top:0px solid #FFFFFF; background-color:#FFFFFF;"],
  div[style*="border:1px solid #AAAAAA; border-top:0; background-color:#FFFFFF;"],
  div[style*="background-color:white;"],
  div[style*="background-color: #f9f9f9; border-color: #e9e9e9;"] {
    background: var(--gray-2) !important;
    border-color: var(--gray-5) !important;
  }
  div[style*="border:0 solid #CCC; background:#FFF;"],
  div[style*="background-color:#ffffff;"],
  div[style*="border:1px solid #AAA;background:#FFF"],
  span[style*="color:#0C9;background-color:#FFF"] {
    background: var(--gray-28) !important;
  }
  div[style*="background-color:#FCFBFF;"],
  div[style*="background:#FFFFFF; border-style:solid; border-width:1px; border-color:#000000;"],
  div[style*="background-color:#ccc;"] {
    background: var(--gray-2) !important;
  }
  .messagebox {
    background: var(--gray-2);
    border-color: var(--gray-5) !important;
  }
  table.prettytable > tr > th, table.prettytable > * > tr > th {
    background-color: var(--gray-18);
    border: 1px solid var(--blue-4);
  }
  table.prettytable > tr > td:nth-child(1),
  table.prettytable > * > tr > td:nth-child(1), table.prettytable > tr > td,
  table.prettytable > * > tr > td {
    border-color: var(--blue-4);
  }
  /* Blue */
  .lang-quote {
    border-bottom: 1px dotted var(--gray-c);
    color: var(--base-color);
  }
  span[style*="color: #0000CD"] {
    color: var(--base-color) !important;
  }
  .mp_header {
    background-color: var(--blue-2);
    border-color: var(--gray-4) !important;
  }
  table[style="width:100%; clear:both; background-color:#F0F8FF; border:1px solid #ccc;"],
  div[style*="background:#F0F8FF;"] {
    background: var(--blue-2) !important;
    border-color: var(--gray-5) !important;
  }
  div[style*="border-left: 1em solid #3366bb;"] {
    border-left: 1em solid var(--blue-4) !important;
  }
  table.xambox-type-notice {
    border-left: 1em solid var(--blue-1) !important;
  }
  div[style*="background"]:not(.boilerplate):not([style*="#FFE"]):not([style*="#fff"]) h2:not([style]):not(#Before_you_post):not(#Post_a_new_question),
  div[style*="background"]:not(.boilerplate):not([style*="#FFE"]):not([style*="#fff"]) h2:not([style]):not(#Before_you_post):not(#Post_a_new_question) *,
  tr[style*="background-color:tan;" i], div[style*="background: #444444;"],
  div[style*="background: #444444;"] *, ol.references li:target,
  sup.reference:target, span.citation:target, ol.references li:target *,
  sup.reference:target *, span.citation:target *,
  td[style*="background:#CEDFF2" i], tr[bgcolor="#CEDFF2" i],
  table[style*="background-color:#cef2e0" i] *,
  div[style*="background-color: #cee0f2" i],
  div[style*="background-color: #cedff2" i], div[role="region"] h2,
  tr[style*="background-color: #cedff2" i], td[bgcolor*="#f0f0ff" i],
  tr[style*="background-color:#E1E9F3" i], th[style*="background:#d1dbdf" i],
  td[style*="background:#e6f2ff" i], td[style*="background:#F5FAFF;" i],
  table[style*="background:#f5faff;"],
  table[style*="background-color:rgba(0,0,255,0.1)"],
  div[style*="background-color: #eaf3ff;"],
  td[style="background-color: #eaf3ff"], div[style*="background-color:#DDE;"],
  td[style*="background:SkyBlue"] {
    background-color: var(--blue-2) !important;
  }
  .vertical-navbox th[style*="background:#cee0f2;"],
  div[style*="background-color:#c8d8FF;"], td[style*="background: #3366FF;"],
  td[style="background-color: #e2ebfc"],
  .vertical-navbox th[style*="background:#e5eef8;"],
  th[style*="background: #cfe3ff;"], h2[style*="background-color: #d1e4ff;"],
  div[style*="background-color: #adf"], td[style*="background-color:#cddeff;"],
  td[style*="background-color:#B0C4DE;"], div[style*="background: #bce1ff;"],
  td[style="background: #ABCDEF;"], th[style="background: #ABCDEF;"] {
    background: var(--blue-3) !important;
  }
  div[style="background:#bff9fc; margin:0 auto; padding:0 10px 0 10px; border:1px solid #AAAAAA;"] {
    background: var(--blue-3) !important;
    border-color: var(--gray-4) !important;
  }
  .mw-parser-output .taxontree-lcell, .mw-parser-output .wikidatainfobox-lcell {
    background-color: var(--blue-3);
  }
  .mw-parser-output .mainpage-box-blue,
  .mw-parser-output .mainpage-box-blue .mainpage-box-seealso {
    border-color: var(--blue-1);
  }
  div[style*="border:1px solid #a7d7f9;"], div[style*="border:navy solid"],
  table[style*="border: #3366FF solid 1px"],
  div[style*="border:1px solid #36A;"],
  span[style*="border-bottom:0.3em solid #2a4b8d;"],
  div[style*="border: solid medium #ADD8E6"],
  table.messagebox[style*="border: 2px solid blue"] {
    border-color: var(--blue-4) !important;
  }
  div[style*="border: solid #7DC2F5; border-width: 1px 1px 0; background: #7DC2F5;"] {
    background-color: var(--blue-4) !important;
    border-color: var(--blue-4) !important;
  }
  td[style*="color: #000000; background-color: #f8f8ff"],
  div[style*="border:1px solid #ADF;background:#EEF;"],
  th[style*="border: 1px dashed blue; background: #eef;"],
  div[style="background-color: #EDEAFF; padding: 0px 10px 0px 10px; border: 1px solid #8779DD;"],
  div[style*="background-color:#cee0f2" i] {
    background-color: var(--blue-2) !important;
    border-color: var(--blue-4) !important;
  }
  table[style*="border:2px solid #48d;background:#fbfcff;color:#222;"] {
    border-color: var(--blue-4) !important;
    background-color: var(--gray-2) !important;
  }
  div[style*="background-color: #F0F8FF; color: #000; padding: 0.3em 0; border: 2px solid #ccc; border-bottom: 2px solid #ccc;"],
  div[style*="border:2px solid #90C0FF; background:#F0F0FF"] {
    background: var(--blue-2) !important;
    border-color: var(--blue-4) !important;
  }
  div[style*="border-bottom:1px solid #abd5f5; background-color:#d0e5f5;"] {
    background: var(--blue-4) !important;
    border-bottom-color: var(--blue-1) !important;
  }
  div[style*="border-bottom:1px solid #abd5f5;"] {
    border-bottom-color: var(--blue-1) !important;
  }
  div[style*="border-bottom:2px solid #FFFFFF; padding:0.1em; background-color:#E6FFF2;"],
  div[style*="border-bottom: 1px solid #abd5f5; background-color: #d0e5f5;"] {
    background: var(--blue-3) !important;
    border-bottom-color: var(--blue-3) !important;
  }
  div[style*="border-right:1px solid #FFFFFF; padding:0.1em; background-color:#F5FFFA"],
  td[style*="border: 1px solid #abd5f5; background-color: #f1f5fc;"] {
    background: var(--blue-2) !important;
    border-color: var(--blue-2) !important;
  }
  td[style*="border:1px solid #abd5f5; background-color:#f1f5fc;"] {
    background: var(--blue-2) !important;
    border-color: var(--blue-1) !important;
  }
  div[style*="background-color:#f5faff;"],
  td[style*="border:1px solid #A3B1BF; background-color:#eaf3ff;"],
  td[style*="border:1px solid #A3B1BF; background-color:#E6F2FF"] {
    background-color: var(--blue-3) !important;
    border-color: var(--blue-4) !important;
  }
  div[style*="background: #3366FF"], div[style*="background:#2a4b8d;"] {
    background: var(--blue-4) !important;
  }
  div[style*="border:1px solid #cedff2;"],
  .infobox tr[style="background-color:#cedff2"],
  div.plainlinks[style*="background-color:#cedff2;"] {
    border-color: var(--blue-4) !important;
  }
  th[style="color:white;background:blue"],
  caption[style="color:white;background:blue"] {
    background: var(--blue-3) !important;
    color: var(--gray-d) !important;
  }
  a > b > span[style*="background:#00CCFF"] {
    background: var(--blue-4) !important;
    color: var(--gray-d) !important;
  }
  table[style*="background:#F5FAFF;"], div[style*="background-color:#f8f9fa;"],
  table[style*="background-color:#f5faff;border:1px solid #cedff2;"],
  .infobox[style*="background-color:#f5faff;border:1px solid #cedff2;"],
  div[style*="border:1px solid #cedff2; padding:0.7em 0.5em; background-color: #f8f9fa;"],
  div[style*="border:2px solid #cedff2; background-color:#f5faff"],
  div[style*="border:1px solid #A3B1BF; padding:5px; background-color:#F5FAFF;"] {
    background: var(--blue-2) !important;
    border-color: var(--blue-4) !important;
  }
  div[style*="border-bottom:1px solid #A3B1BF;"] {
    border-bottom: 1px solid var(--blue-1) !important;
    background: var(--blue-3) !important;
  }
  div[style*="background:#CEE0F2"] {
    border-bottom: 1px solid var(--blue-4) !important;
  }
  div[style*="background-color:#cedff2;"],
  table tr[style*="background-color:#cedff2"] {
    background-color: var(--blue-3) !important;
  }
  div[style*="border-bottom:0px solid #A3B1BF"] {
    background: var(--blue-2) !important;
    border-color: var(--blue-4) !important;
    color: var(--gray-9a) !important;
  }
  div[style*="background: #e7eff5; border: 1px solid #a1cef5;"],
  div[style*="border:1px solid #C8D0DC;background:#E8F1FF"] {
    background: var(--blue-2) !important;
    border-color: var(--blue-4) !important;
  }
  .sharedUploadNotice {
    background-color: var(--blue-2);
    border-color: var(--blue-4);
  }
  #mp-right.MainPageBG h2, #mp-right.MainPageBG h2 span,
  div.mw-collapsible-content[style*="background-color: #f5faff;"],
  div[style*="border:1px solid #cedff2;"] div[style*="background-color: #f5faff;"],
  td[style="background:#d7e8f9;"] {
    background-color: var(--blue-3) !important;
  }
  td[style="background-color: #c1ccf2"], td[style="background-color: #b8c4ef"] {
    background: var(--blue-4) !important;
    color: var(--gray-a);
  }
  tr[bgcolor*="#E1E9F3" i], .infobox th[style*="background-color:#C3D6EF;"] {
    background-color: var(--blue-3) !important;
  }
  .MainPageBG[style*="border:1px solid #cedff2;"],
  .MainPageBG h2[style*="border:1px solid #a3b0bf;"],
  div[style*="border: 1px dashed blue;"] {
    border-color: var(--blue-1) !important;
  }
  td[style*="border-bottom:1px #B8C7D9 solid;"] {
    background: var(--blue-3) !important;
    border-bottom: 1px solid var(--blue-1) !important;
  }
  div[style*="border:1px solid #B8C7D9; background-color:#E6F2FF;"] {
    background: var(--blue-3) !important;
    border: 1px solid var(--blue-1) !important;
  }
  table[style*="border:1px solid #B8C7D9;"] {
    border: 1px solid var(--blue-1) !important;
  }
  table[style*="border-color: lightblue;"] {
    border-color: var(--blue-4) !important;
  }
  /* Purple */
  table[style*="background-color:#f7f8ff; border:2px solid #8888aa;"] {
    background: var(--blue-2) !important;
    border-color: var(--purple-1) !important;
  }
  div[style*="border-right:1px solid #FFFFFF; padding:0.1em; background-color:#FAF5FF"] {
    background: var(--purple-d) !important;
    border-color: var(--purple-d) !important;
  }
  .navbox-subgroup .navbox-title, .navbox-subgroup .navbox-title *,
  td[style*="background-color:#ccccff;"],
  li[style*="border:1px solid #CCF; background-color:#F0EEFF"] {
    background: var(--purple-1) !important;
    border-color: var(--purple-1) !important;
  }
  .navbox-title, .navbox-title *, table.navbox th, .navbox th {
    background: var(--purple-0) !important;
    border-color: var(--gray-2) !important;
  }
  div[style="background-color: #E3D2FB; margin: 2em 0 0 0; padding: 0 10px 0 10px; border: 1px solid #AAAAAA;"],
  td[style*="border-bottom:1px solid gray; background-color:#eeeeff;"] {
    background: var(--purple-0) !important;
    border-color: var(--gray-4) !important;
  }
  td[style*="background-color:#eeeeff;"] {
    background: var(--purple-0) !important;
  }
  tr[style="background-color: #ccccff;"] {
    background: var(--purple-2) !important;
  }
  .fileinfo-paramfield {
    background: var(--purple-1);
  }
  th.navbox-group, th.navbox-group * {
    background: var(--purple-d) !important;
  }
  td[style="background-color: #c9d4f5"], td[style="background-color: #d2dbf7"],
  td[style="background-color: #b1bced"], td[style*="background: #ccf;"],
  .navbox-abovebelow, .navbox-abovebelow * {
    background: var(--purple-1) !important;
  }
  td[style="background-color: #a8b4ea"] {
    background: var(--purple-2) !important;
    color: var(--gray-c);
  }
  tr[style="background-color: #ccccff;"] th {
    color: var(--gray-d) !important;
  }
  table[style*="border:2px solid #93c;color:#222;"] {
    border-color: var(--purple-2) !important;
  }
  td[style*="border-bottom:2px solid gray; background-color:#ddddff;"] {
    background: var(--purple-1) !important;
    border-bottom: 2px solid var(--gray-4) !important;
  }
  table[style*="background:#f7f8ff; border:2px solid #88A;"],
  td[style*="border: 1px solid #cfcfbf; background-color: #f0f0ff;"] {
    background: var(--purple-d) !important;
    border-color: var(--purple-1) !important;
  }
  td[style="border-bottom:1px solid gray; background-color:#eeeeff;"],
  table[style*="background:#f7f8ff;text-align:left;border:solid 1px #aaaaaa"] {
    background: var(--purple-d) !important;
    border-color: var(--gray-5) !important;
  }
  div[style*="border-bottom:2px solid #FFFFFF; padding:0.1em; background-color:#F2E6FF;"] {
    background: var(--purple-1) !important;
    border-color: var(--purple-1) !important;
  }
  div[style="background-color: #edeaff; padding: 0px 10px 0px 10px; border: 1px solid #8779DD;"],
  div[style*="border: solid 2px #A0A0FF; background-color: #E0E0FF;"] {
    background: var(--purple-d) !important;
    border-color: var(--purple-2) !important;
  }
  div[style*="background-color:#E2E7FF; border:1px solid blue; text-align:left; color:#082840;"] {
    background: var(--purple-d) !important;
    border-color: var(--purple-2) !important;
    color: var(--gray-9a) !important;
  }
  body #mw-content-text div.boilerplate[style*="background-color: #edeaff;"] h2,
  div.boilerplate[style*="background-color: #edeaff;"] h2 *,
  td[style="background-color:#eeeeff;"], td[style="background-color: #9fade8"] {
    background-color: var(--purple-d) !important;
  }
  div[style*="border:1px solid #ADF;background:#FFF;"] {
    background: var(--gray-18) !important;
    border-color: var(--purple-2) !important;
  }
  .MainPageBG[style*="border:1px solid #ddcef2"],
  .MainPageBG h2[style*="border:1px solid #afa3bf;"] {
    border-color: var(--purple-2) !important;
  }
  #mp-lower #mp-bottom h2, #mp-bottom h2 span,
  th[style*="background:lavender" i], td[style*="background:lavender" i],
  th[style*="background:#edf" i], td.import-high[style*="background: #ffacff;"],
  div[style*="background:#CCF;padding"],
  div[style*="background-color: lavender"] {
    background-color: var(--purple-1) !important;
  }
  div[style*="background:#faf5ff;"] {
    background-color: var(--purple-d) !important;
  }
  span[style*="color: purple"] {
    color: var(--purple-2) !important;
  }
  /* Brown */
  div[style*="background-color: #FFE;"] div h2 span#Add_your_project {
    background-color: var(--brown-3);
  }
  .flaggedrevs-pending {
    background-color: var(--brown-2);
  }
  .flaggedrevs-unreviewed {
    background-color: var(--brown-1);
  }
  #btn_opisy_zm_waxon_off, tr[style="background-color:#FFFFAA"],
  div[style*="background:#FFF4B8;border:1px solid #AAA;"],
  table[style*="border:1px solid #A9A9A9; background-color:#FFEFD5;"],
  div[style*="background-color: #FFE;"], .messagebox.standard-talk {
    background-color: var(--brown-3) !important;
    border-color: var(--brown-2) !important;
  }
  p[style*="background-color: yellow; border: .3em dashed black;"] {
    background: var(--brown-4) !important;
    border: .3em dashed var(--gray-1) !important;
  }
  td[style="background: #e8dbae;"] {
    background: var(--brown-1) !important;
  }
  td[style="background-color: #fc3"] {
    background-color: var(--brown-2) !important;
    color: var(--gray-a);
  }
  .authortemplate {
    background-color: var(--brown-4);
    border-color: var(--brown-4);
  }
  .processheadertemplate {
    background-color: var(--brown-4);
    border: 1px solid var(--brown-4);
  }
  div[style*="background-color: #FFFFCC; border: 1px solid #FFCC00;"] {
    background-color: var(--brown-4) !important;
    border-color: var(--brown-4) !important;
  }
  div[style*="background:#FFFDDF;"] {
    background-color: var(--brown-3) !important;
    border-color: var(--brown-2) !important;
  }
  th[style="background:#ffdead;"] {
    background: var(--brown-1) !important;
  }
  .warningbox, .infobox.standard-talk {
    background-color: var(--brown-3);
    border-color: var(--brown-2);
  }
  table.tmbox-protection, html table.tmbox-notice,
  div[style*="border-bottom: 1px solid #c0c090;"] {
    border-color: var(--brown-2) !important;
  }
  td[style*="background:#fffaef; border:1px dotted gray;"],
  table[style="background-color: #F8EABA; border-color: #C0C090"] {
    background-color: var(--brown-1) !important;
    border-color: var(--brown-2) !important;
  }
  html table.tmbox, .tmbox.tmbox-notice table[style*="background:transparent;"],
  td[style*="border: 1px solid #fad67d; background-color: #faf6ed;"] {
    background: var(--brown-3) !important;
    background-color: var(--brown-3) !important;
    border-color: var(--brown-2) !important;
  }
  .infobox.standard-talk {
    border: 1px solid var(--brown-2) !important;
  }
  div[style*="border-top: 1px solid #c0c090;"],
  tr[style="background: #e8dbae"] th, table.infobox.standard-talk td {
    border-color: var(--brown-2) !important;
  }
  div[style="background:#FFEEDD; margin-top:0.5em; padding:0 10px 0 10px; border:1px solid #888888;"] {
    background-color: var(--brown-4) !important;
    border-color: var(--gray-4) !important;
  }
  div[style*="background: #ffeecc; border: 1px solid #333333;"] {
    background-color: var(--brown-1) !important;
    border-color: var(--brown-2) !important;
  }
  table#archivebox.tmbox.tmbox-notice[style*="background-color: transparent;"] {
    background-color: var(--brown-3) !important;
  }
  td.assess-start[style*="background: #FFAA66;"],
  a > b[style="background:#FAFAD2;color:#C08000"],
  th[style*="background: #fff1d2;"],
  th[style*="background-color: rgb(235,235,210)"] {
    background: var(--brown-2) !important;
  }
  .oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning {
    background-color: var(--brown-3);
    border-color: var(--yellow-1);
  }
  #mp-center #mp-tfl-h2, #mp-center #mp-tfl-h2 span, .table-partial,
  tr[style*="background:orange" i], td[style*="background:#ffd" i] {
    background-color: var(--brown-1) !important;
  }
  div[style*="border-bottom: 1px solid #fad67d; background-color: #faecc8;"] {
    background-color: var(--brown-2) !important;
    border-color: var(--brown-2) !important;
  }
  div[style*="border-bottom:1px solid #fad67d; background-color:#faecc8;"] {
    background-color: var(--brown-2) !important;
    border-bottom: 1px solid var(--yellow-1) !important;
  }
  td[style*="border:1px solid #fad67d; background-color:#faf6ed;"] {
    background-color: var(--brown-3) !important;
    border-color: var(--yellow-1) !important;
  }
  th[style*="background-color: #e7c6a5"] {
    background-color: var(--brown-2) !important;
  }
  /* pink */
  .MainPageBG[style*="border:1px solid #f2cedd; background:#fff5fa;"],
  #mp-center #mp-tfl-h2[style*="border:1px solid #bfa3af;"] {
    border-color: var(--pink-2) !important;
  }
  #mp-center #mp-tfl-h2[style*="background:#f2cedd;"],
  #mp-center #mp-tfl-h2[style*="background:#f2cedd;"] span {
    background-color: var(--pink-1) !important;
    color: var(--gray-d) !important;
  }
  div[style*="background:#fff5fa;"] {
    background-color: var(--pink-0) !important;
  }
  div[style="background-color: #fff5f5; margin: 2em 0 0 0; padding: 0 10px 0 10px; border: 1px solid #AAAAAA;"] {
    background: var(--pink-0) !important;
    border-color: var(--gray-4) !important;
  }
  td[style*="box-shadow: 0px 5px 5px -6px #ccc;"] {
    box-shadow: 0 5px 5px -6px var(--gray-5) !important;
  }
  .wikiEditor-ui-toolbar .page-characters div span:hover {
    background-color: var(--gray-28);
    border-color: var(--base-color);
  }
  .wikiEditor-ui-toolbar .page-characters div span {
    color: var(--gray-d);
  }
  .mw-widget-dateInputWidget-calendar:focus {
    box-shadow: inset 0 0 0 1px var(--base-color), 0 2px 2px 0 rgba(0, 0, 0, .25);
  }
  .mw-widget-calendarWidget-item-selected {
    background-color: var(--base-color);
    color: var(--gray-d) !important;
  }
  .mw-widget-calendarWidget-item:hover {
    background-color: var(--base-color);
    color: var(--gray-e) !important;
  }
  .mw-widgets-datetime-calendarWidget, .mw-widget-dateInputWidget-calendar {
    background-color: var(--gray-18);
    border-color: var(--gray-4);
  }
  .mw-widget-calendarWidget-day-today {
    box-shadow: inset 0 0 0 1px var(--base-color);
  }
  .mw-ui-button.mw-ui-quiet, .mw-ui-button.mw-ui-quiet.mw-ui-progressive,
  .mw-ui-button.mw-ui-quiet.mw-ui-destructive {
    background-color: transparent !important;
    color: var(--gray-a) !important;
    border-color: transparent !important;
  }
  /*** Border ***/
  /* default in some pages is different like 0, but transparent covers more than one case */
  .oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button,
  .oo-ui-buttonElement-frameless.oo-ui-labelElement > .oo-ui-buttonElement-button,
  .navbox-list {
    border-color: transparent !important;
  }
  table.wikitable, button.formBtn {
    border: 1px solid var(--gray-5) !important;
  }
  fieldset,
  button[type="submit"]:not(.pure-button-primary-progressive):not(.formBtn),
  .oo-ui-buttonElement-button:focus:not(:active) {
    border-color: var(--base-color) !important;
  }
  .mw-widget-calendarWidget:focus {
    border-color: var(--base-color);
    box-shadow: inset 0 0 0 1px var(--base-color);
  }
  .uls-ime-menu-settings-item {
    border-color: var(--gray-5);
    color: var(--gray-9a);
  }
  /* TODO: Sigh! remove these :nots and the div/span etc from here and def not !imporant */
  h2:not([style*="#cef2e0;"]):not([style*="#cedff2;"]):not([style*="#afa3bf;"]):not([style*="#F0F0F0"]),
  tr:not([style*="border-bottom"]):not(:hover):not([style*="background: #eaecf0;"]):not([style*="#ccccff"]):not([style*="#cedff2"]),
  table:not(.authortemplate):not(.standard-talk):not([style*="#F6F9ED"]):not([style*="#feeeee"]):not(.hp-portalen):not([style*="background"]):not(.plainlinks):not([style*="#99b2cc"]):not(.processheadertemplate),
  div[style*="background-color"]:not([style*="#88A"]):not([style*="#36A"]):not([style*="#ACA"]):not([style*="#edeaff"]):not([style*="border:1px solid ;"]):not([style*="#99b2cc"]),
  th, td:not(:hover), h1, h3, h4, h5, h6, ul, li, select, .mw-body, .toc,
  .mw-warning, .navbox, .catlinks, table.fmbox,
  .wikiEditor-ui .wikiEditor-ui-view, .wikiEditor-ui-toolbar .sections .section,
  .wikiEditor-ui-toolbar .group-search, .wikiEditor-ui-toolbar .group,
  .wikiEditor-ui-toolbar .group .tool-select,
  .wikiEditor-ui-toolbar .group .tool-select .options,
  .wikiEditor-ui-toolbar .page-characters div span, .oo-ui-panelLayout-framed,
  .mw-widget-dateInputWidget-handle, .mw-widget-calendarWidget,
  .mw-parser-output .module-shortcutboxplain,
  .mw-parser-output .module-shortcutlist, .flow-ui-navigationWidget,
  .wikitable [data-parsoid], .mw-parser-output .wiki-template-infocard,
  .mw-parser-output .mainpage_box, .mw-parser-output .mainpage_box .items,
  div[style*="border:1px solid #A3BFB1 solid;"], .ui-widget-content,
  .mw-rcfilters-ui-datePopupWidget, table.ombox-protection,
  .mw-parser-output .community-tabs td,
  .mw-parser-output .community-page-wrapper, .wikitable > tr > th,
  .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td,
  #specialchars, .bookshelf, table.ombox-notice, #content, .suggestions-special,
  table.fmbox, .wikibase-statementgrouplistview .wikibase-statementlistview,
  .wikibase-statementgroupview .wikibase-statementgroupview-property,
  .wikibase-sitelinkgroupview,
  .wikibase-sitelinklistview .wikibase-sitelinkview .wikibase-sitelinkview-siteid-container,
  .wikibase-entitytermsforlanguagelistview .wikibase-entitytermsforlanguagelistview-header .wikibase-entitytermsforlanguagelistview-header-row .wikibase-entitytermsforlanguagelistview-cell,
  .fieldsetlike, .oo-ui-dropdownWidget-handle,
  .mw-rcfilters-ui-filterMenuHeaderWidget-header, .oo-ui-menuSelectWidget,
  .mw-rcfilters-ui-itemMenuOptionWidget:not(:last-child):not(.mw-rcfilters-ui-itemMenuOptionWidget-identifier-talk),
  .mw-rcfilters-ui-menuSelectWidget-footer, .collection-maintenance-box,
  .collection-maintenance-box, div.navbox-container, .lead_normal,
  .recent_interviews, .main_write, .mw-toolbox,
  .oo-ui-toolbar-narrow.oo-ui-toolbar-position-top .oo-ui-toolbar-bar::after,
  .oo-ui-toolbar-position-top > .oo-ui-toolbar-bar, .oo-ui-toolGroup,
  .oo-ui-toolbar-actions .oo-ui-toolGroup,
  .oo-ui-toolbar-actions .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover,
  .oo-ui-popupToolGroup-tools, .oo-ui-toolbar-actions .oo-ui-toolGroup,
  .flow-topic-summary-container .flow-topic-summary,
  .flow-topic-summary-container .flow-ui-editTopicSummaryWidget,
  .mw-content-ltr .flow-post .flow-replies, .wbmi-entityview-captionsPanel,
  #filetoc, .wbmi-tabs-container .oo-ui-panelLayout-framed,
  .mw-mmv-image-metadata, .mw_metadata td, .mw_metadata th, .vectorMenu .menu,
  .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget,
  .infobox:not(.standard-talk), div.flaggedrevs_short,
  div.flaggedrevs_short_details, .k-player .control-bar, table.cmbox,
  .mw-parser-output div.NavFrame, .infobox.geography .mergedtoprow td,
  .infobox.geography .mergedtoprow th, .infobox.geography td,
  .infobox.geography th, img.thumbborder, .mw-advancedSearch-fieldContainer,
  .oo-ui-tagMultiselectWidget-handle, .imeselector-menu,
  .language-settings-buttons, .uls-icon-back, #uls-settings-block,
  .mw-advancedSearch-namespace-selection, .mw-advancedSearch-namespace-border,
  .wikibase-statementview, .mw-parser-output .quotebox, .ext-uls-sub-panel,
  .rt-tooltip, .uls-ime-more-settings-link,
  .oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame,
  .client-js .mw-recentchanges-toplinks:not(.mw-recentchanges-toplinks-collapsed) {
    border-color: var(--gray-5);
  }
  table.ambox-protection {
    border-left: 10px solid var(--gray-7) !important;
  }
  /* these are OK to be !important soon as a not is needed remove the offending one instead and fix fallback */
  #talkheader td, .infobox tr[style*="background-color"]:not([style*="#cedff2"]),
  .mw-body-content code, .lang-list-button:hover, .oo-ui-buttonElement-button,
  #mwe-popups-settings, #mwe-popups-settings header, html .thumbimage,
  div[style*="border:1px solid #e2e2e2;"], div[style*="border:1px solid #aaa;"],
  div[style*="border:1px solid #CCC;"], h2[style*="border:1px solid #ddd;"],
  div[style*="border-bottom: 1px solid #CCC"], .wikiEditor-ui .wikiEditor-ui-top,
  .mw-advancedSearch-fieldContainer fieldset, .editOptions,
  div#editpage-specialchars, .nmbox[style*="border: 1px solid #a2a9b1;"],
  div[style*="border:solid #aaa 1px"], table[style*="border:1px solid #aaa;"],
  table[style*="border:1px solid #AAA;"],
  table[style*="border: 1px solid Silver;"],
  table[style*="border: 1px solid #ccc;"],
  table[style*="border: 1px solid #cccccc;"],
  div[style*="border-top:3px double #CCC;"],
  table[style*="border: 1px solid #808080;"],
  td[style*="border-bottom:1px solid #aaa;"],
  .vertical-navbox td[style*="border-bottom:1px solid;"],
  div[style*="border: 1px solid #aaa;"], td[style*="border: 1px solid #aaa;"],
  div[style*="border-bottom: #AAAAAA 1px solid;"],
  div[style*="border: #AAAAAA 1px solid;"],
  td[style*="border-left:1px solid #aaa;"],
  div[style*="border:1px solid #e9e9e9;"],
  th[style*="border-top: 1pt lightgrey solid;"],
  td[style="border-top: 1pt lightgrey solid"],
  div[style*="border: 1px solid rgb(170, 170, 170);"],
  div[style*="border-color:#aaaaaa"],
  td[style*="border-right: 1px solid #c9c9c9;"],
  td[style*="border: 1px solid #cfcfbf"],
  table[style*="border: 1px groove gray;"],
  table[style*="border:1px solid #999999"], div[style*="; border:1px solid ;"],
  div[style*="border:solid #aaaaaa 1px;"],
  table[style*="border:solid 1px #A8A8A8"],
  td[style*="border: 1px solid #FFFFFF"],
  th[style="border-right: 1px solid #ccccff;"],
  table[style*="border: 1px solid gray;"], div[style*="border:1px solid #AAA;"],
  div[style*="border:1px solid #BDBDBD;"], div[style*="border:2px solid #ddd;"],
  table[style*="border:1px solid #bbb;"], ul[style*="border:1px solid #AAA;"],
  div[style*="border:1px solid #aaaaaa;"],
  div[style*="border-bottom:1px solid #A0A0A0;"],
  table[style*="border:solid #AAA 1px;"],
  div[style*="border-bottom:1px solid #88A;"],
  div[style*="border: 1px solid #999;"],
  table[style*="border: 2px solid black;"], th[style*="border:1px solid #AAA;"],
  td[style*="border: 1px solid #AAA;"], div[style*="border:1px solid #a2a9b1;"],
  span[style*="border-bottom:0.3em solid #c8ccd1;"],
  caption[style*="border-bottom:1px solid #AAA"],
  table[style*="border:1px solid grey;"], div[style*="border:1px solid gray;"],
  div[style*="border-top:1px solid #AAA;"],
  td[style*="border-top:1px solid #AAA;"], th[style*="border:1px solid #aaa;"],
  table[style*="border: 1px solid #AAA;"], div[style*="border:1px solid #ccc;"],
  div[style*="border-bottom: 1px solid #aaa;"],
  table[style*="border:1px solid #ccc;"], td[style*="border:1px solid #ccc;"],
  table[style*="border-top:5px #ccc solid; border-bottom:5px #ccc solid;"],
  th[style*="border: 1px solid #aaa;"],
  table[style*="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa;"],
  table[style*="border-color:#aaaaaa;"],
  td[style*="border-bottom:1px solid #aaaaaa;"],
  div[style*="border-bottom: 1px solid #AAAAAA;"],
  td[style*="border:1px dashed #DDD"], div[style*="border:solid #aaa 1px"],
  div[style*="border-top:1px solid #DDD;"],
  div[style*="border-top:1px solid #CCC;"],
  div[style*="border-top: 1px solid #bebebe;"],
  div[style*="border-bottom:1px solid #aaa"],
  td[style*="border-top: 1px solid #aaa;"],
  td[style*="border-top:1px solid grey;"],
  table[style*="border: 1px solid #CCC;"],
  div[style*="border:2px #cccccc solid;"],
  div[style*="border-bottom: 1px solid #bebebe;"], .search-form fieldset,
  .uls-search, .uls-menu, .mw-datatable td, .mw-datatable th,
  table[style*="border:1px solid #ddd;"], div[style*="border:1px solid #999;"],
  span[style*="border-top: 1px solid #C0C0C0; border-bottom: 1px solid #C0C0C0;"],
  table[style*="border:2px solid #e0e0e0"] {
    border-color: var(--gray-5) !important;
  }
  div[style*="border:1px #FFFFFF"] {
    border-color: var(--gray-4) !important;
  }
  .rootpage-Wikipedia_Community_portal div[style*="border:1px #FFFFFF solid"] {
    border-color: transparent !important;
  }
  /* stop hovering effects on tr/td borders
	   https://species.wikimedia.org/wiki/Wikispecies:Templates#Link_Templates */
  tr:hover,
  td:not([style*="border:1px solid transparent"]):not(.navbox-abovebelow):not(.navbox-list):not([style]):hover {
    border-color: var(--gray-5) !important;
  }
  .tux-workflow-status:hover {
    border-color: var(--gray-7);
  }
  td.navbox-abovebelow[style*="border-left:2px solid #fdfdfd"] {
    border-color: var(--gray-2) !important;
  }
  td[style*="border-left:2px solid #b32424;"],
  td[style*="border-bottom:2px solid #b32424"] {
    border-color: var(--red-2) !important;
  }
  table[style*="border:1px solid black;"],
  div[style="width: 80%; border: 1px solid; padding: 10px; margin:0 auto 8px;"] {
    border-color: var(--gray-7) !important;
  }
  div[style*="border: 1px solid #bebebe; background-color: white;"] {
    background-color: var(--gray-2) !important;
    border-color: var(--gray-5) !important;
  }
  tr.quality0 td {
    background-color: var(--gray-28) !important;
  }
  tr.quality1 td {
    background-color: var(--red-3) !important;
  }
  tr.quality2 td {
    background-color: var(--purple-1) !important;
  }
  tr.quality3 td {
    background-color: var(--brown-4) !important;
  }
  tr.quality4 td {
    background-color: var(--green-2) !important;
  }
  td[style="border-right:solid black 1px;"] {
    border-color: var(--gray-7) !important;
  }
  .bookshelf {
    border-top-color: var(--gray-3);
  }
  .lang-list-button, .the_table, hr {
    border: 1px solid var(--gray-5) !important;
  }
  hr {
    border: 1px inset var(--gray-4) !important;
    color: var(--gray-4) !important;
  }
  table.xambox {
    border: 1px solid var(--gray-5);
  }
  .toccolours {
    border-color: var(--gray-5) !important;
    background-color: var(--gray-2);
  }
  .toc, .mw-warning {
    border: 1px solid var(--gray-5);
    background-color: var(--gray-2);
  }
  #specialchars button {
    background: var(--gray-3) !important;
    border-color: var(--gray-5) !important;
    color: var(--gray-9a) !important;
  }
  #specialchars button:hover {
    background: var(--gray-2) !important;
    border-color: var(--base-color) !important;
    color: var(--gray-a) !important;
  }
  .oo-ui-tagItemWidget.oo-ui-widget-enabled:hover {
    border-color: var(--gray-69) !important;
  }
  div[style*="border:1px solid #ddd;"], table[style*="border: 1px solid #aaa;"] {
    border: 1px solid var(--gray-5) !important;
  }
  td[style*="box-shadow: 0px 5px 5px -6px #ccc;"], td[style*="#ccc;"] {
    box-shadow: 0 5px 5px -7px var(--gray-5) !important;
  }
  td[style*="box-shadow: 0px 0px 5px #ccc;"] {
    box-shadow: 0 0 5px var(--gray-5) !important;
  }
  #bodyContent .mw-pt-translate-header {
    border-bottom-color: var(--gray-5) !important;
  }
  #mw-editform-cancel > a {
    border: 0;
  }
  .imeselector-menu::before {
    border-bottom: 7px solid var(--gray-5);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
  }
  .imeselector-menu::after {
    border-bottom: 6px solid var(--gray-);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
  }
  div[style*="border-bottom:1px solid #AAA"], tr[style*="border-bottom"] {
    border-color: var(--gray-5) !important;
  }
  .ve-ui-mwNoticesPopupTool-items > div:not(:first-child),
  .ve-ui-mwHelpPopupTool-item:not(:first-child), .oo-ui-popupWidget-popup {
    border-color: var(--gray-5);
  }
  .mwe-popups::before, .cx-callout-1::before {
    border-bottom-color: var(--gray-e);
  }
  .mwe-popups.mwe-popups-image-pointer::after {
    border-bottom: 12px solid var(--gray-2) !important;
  }
  .mwe-popups.mwe-popups-image-pointer::before {
    border-bottom: 9px solid var(--gray-4) !important;
  }
  .mwe-popups.mwe-popups-image-pointer.flipped-x::before {
    border-bottom-color: var(--gray-5) !important;
  }
  .mwe-popups.mwe-popups-image-pointer.flipped-x::after {
    border-bottom: 12px solid var(--gray-28) !important;
  }
  .mwe-popups.mwe-popups-no-image-pointer::before,
  .mwe-popups.mwe-popups-no-image-pointer::after {
    border-bottom-color: var(--gray-5) !important;
  }
  .mwe-popups.mwe-popups-no-image-pointer::after,
  .oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::after {
    border-bottom-color: var(--gray-2) !important;
  }
  .mwe-popups.flipped_y::before, .mwe-popups.flipped_x_y::before,
  .wikiEditor-toolbar-dialog .ui-dialog-buttonpane,
  .mwe-popups.flipped-y::before, .mwe-popups.flipped-x-y::before {
    border-top-color: var(--gray-5) !important;
  }
  .mwe-popups::after, .cx-callout-1::after,
  .oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::before {
    border-bottom-color: var(--gray-7) !important;
  }
  .oo-ui-popupWidget-anchored .oo-ui-popupWidget-anchor::before,
  .oo-ui-popupWidget-anchored .oo-ui-popupWidget-anchor::after {
    border-bottom-color: var(--gray-4) !important;
  }
  .oo-ui-popupWidget {
    filter: none !important;
  }
  .oo-ui-image-progressive.oo-ui-icon-alert,
  .mw-ui-icon-alert-progressive::before,
  .oo-ui-image-progressive.oo-ui-icon-menu, .mw-ui-icon-menu-progressive::before {
    filter: grayscale(1) brightness(230%);
  }
  .mwe-popups.flipped_y::after, .mwe-popups.flipped_x_y::after,
  .mwe-popups.flipped-y::after, .mwe-popups.flipped-x-y::after,
  .oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor::before,
  .oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor::after {
    border-top-color: var(--gray-2) !important;
  }
  .mwe-popups, .mwe-popups-is-not-tall, .mwe-popups-is-tall {
    border: 1px solid var(--gray-5) !important;
  }
  .mwe-popups-settings-icon:hover, .mwe-popups-settings-icon:active {
    background-color: var(--gray-4) !important;
  }
  div.vectorTabs li:not(.selected), .oo-ui-popupWidget-anchor::after {
    border-bottom: 1px solid var(--gray-5) !important;
  }
  .referencetooltip > li {
    background: var(--gray-2) !important;
    border: 1px solid var(--gray-5) !important;
  }
  button {
    border-style: solid !important;
    border-width: 1px !important;
  }
  .languagesettings-menu .menu-section.active,
  .languagesettings-menu .menu-section:focus {
    border-color: var(--base-color);
    background-color: var(--gray-28);
  }
  .languagesettings-menu .menu-section .settings-text {
    color: var(--gray-9a);
  }
  /* arrow down */
  .referencetooltip > li + li, .referencetooltip > li + li::after {
    border-top-color: var(--gray-2) !important;
    border-right-color: transparent !important;
    border-left-color: transparent !important;
  }
  /* arrow left */
  .uls-menu.callout.selector-left::before,
  .uls-menu.callout.selector-left::after {
    border-right-color: var(--gray-3);
    outline-offset: 3px !important;
  }
  .uls-menu.callout::before, .uls-menu.callout::after {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }
  .uls-menu {
    border-color: var(--gray-5) !important;
  }
  .referencetooltip > li + li {
    border-top: 12px var(--gray-5) solid !important;
  }
  .referencetooltip.RTflipped > li + li {
    border-bottom-color: var(--gray-2) !important;
  }
  .referencetooltip.RTflipped > li + li::after {
    border-bottom-color: transparent !important;
  }
  /* Bookmark Icon */
  #ca-watch.icon a {
    background-image: url('data:image/svg+xml;utf-8,%3Csvg width="16" height="16" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M8.103 1.146l2.175 4.408 4.864.707-3.52 3.431.831 4.845-4.351-2.287-4.351 2.287.831-4.845-3.52-3.431 4.864-.707z" fill="transparent" stroke="%237cb5d1"/%3E%3C/svg%3E') !important;
  }
  #ca-unwatch.icon a {
    background-image: url('data:image/svg+xml;utf-8,%3Csvg width="16" height="16" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3ClinearGradient id="a" x1="13.47" x2="4.596" y1="14.363" y2="3.397" gradientUnits="userSpaceOnUse"%3E%3Cstop stop-color="%23c2edff" offset="0"/%3E%3Cstop stop-color="%2368bdff" offset=".5"/%3E%3Cstop stop-color="%23fff" offset="1"/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d="M8.103 1.146l2.175 4.408 4.864.707-3.52 3.431.831 4.845-4.351-2.287-4.351 2.287.831-4.845-3.52-3.431 4.864-.707z" fill="url(%23a)" stroke="%237cb5d1"/%3E%3C/svg%3E') !important;
  }
  /* Orange */
  #centralNotice > div {
    border-color: var(--orange-2) !important;
  }
  table.ambox-content, table.ambox-style {
    border-left: 10px solid var(--orange-2) !important;
  }
  table.box-No_footnotes.ambox-style {
    border-left: 10px solid var(--yellow-2) !important;
  }
  table.ambox {
    border: 1px solid var(--gray-5);
  }
  /* add border */
  div.vectorTabs li, .client-js #preftoc li {
    border-right: 1px solid var(--gray-5) !important;
  }
  div.vectorTabs li.selected, .client-js #preftoc li.selected {
    border-bottom: 2px solid var(--tab-color);
    box-shadow: none !important;
  }
  div.vectorTabs li {
    margin-top: -1px;
  }
  .oo-ui-window-content.oo-ui-messageDialog-content {
    border: 1px solid var(--gray-4) !important;
    margin: -1px !important;
  }
  tr + tr > .navbox-abovebelow, tr + tr > .navbox-group, tr + tr > .navbox-image,
  tr + tr > .navbox-list {
    border-top: 2px solid var(--gray-2);
  }
  table.navbox {
    -webkit-box-shadow: 3px 3px 6px var(--gray-28);
       -moz-box-shadow: 3px 3px 6px var(--gray-28);
            box-shadow: 3px 3px 6px var(--gray-28);
  }
  /*** Text ***/
  .wikitable tr:not([style*="color:black" i]) th:not([style*="color: black" i]):not([style*="FF"]):not([style*="77"]),
  table.wikitable > tbody > tr[style*="background-color:#F6F6F6" i] > td > *,
  tr.ext-infobox-header th, tr.ext-infobox-header span {
    color: var(--white) !important;
  }
  .CategoryTreeEmptyBullet, .table-na, .infobox, .hp-portalen a span, kbd {
    color: var(--gray-c) !important;
  }
  .oo-ui-buttonElement-button:hover,
  .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover,
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
    color: var(--gray-bc) !important;
  }
  a.new, #p-personal a.new {
    color: var(--red-4) !important;
  }
  #mw-editform-cancel > a > span.oo-ui-labelElement-label {
    color: var(--red-4);
  }
  /*** Quotes ***/
  blockquote {
    background-color: transparent !important;
    border: none !important;
  }
  /*** Misc ***/
  .bookshelf {
    box-shadow: 0 -1px 0 var(--gray-5);
  }
  ul, .portlet li {
    list-style-image: none;
  }
  .vectorMenu li {
    list-style: none none;
  }
  table[style*="border:4px ridge"], .jfk-bubble-closebtn,
  .oo-ui-tagMultiselectWidget-handle input {
    border: none !important;
  }
  .popup_history_row_even, .flow-topic-moderatestate-lock .flow-topic-titlebar {
    background: var(--gray-3);
  }
  .editOptions, #proveit-body, .wikiEditor-ui-toolbar .booklet .pages {
    background-color: transparent;
  }
  td[style="background:#efefef;"] {
    background: var(--gray-3) !important;
  }
  #proveit-header, #proveit-footer {
    background-color: var(--gray-1);
  }
  .wikEdFrameBodyPlain {
    background-color: var(--gray-1) !important;
  }
  .wikEdConsoleWrapper, .wikiEditor-ui-toolbar .group .tool-select {
    background-color: var(--gray-2);
  }
  #proveit, ul[style*="background:#f9f9f9"] {
    background-color: var(--gray-2) !important;
  }
  .wikEdButtonBarButtonsWrapperVisible, .wikEdButtonBarButtonsWrapperHidden,
  .wikEdButtonBarGrip, .wikiEditor-ui-toolbar .sections .section,
  .wikiEditor-ui-toolbar .group .tool-select .options, .wikEdButtonsPreview {
    background-color: var(--gray-3);
  }
  .wikiEditor-ui-toolbar .group .tool-select .options .option:hover {
    background-color: var(--gray-4);
  }
  .wikiEditor-ui-toolbar .booklet .index div, .site-license a:hover,
  .lang-list-button, a.link-box strong:hover, a.link-box:hover strong,
  .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
    color: var(--base-color);
  }
  a.link-box:hover small bdi, a.link-box:hover small span {
    color: var(--gray-c);
  }
  .site-license a:hover,
  .flow-ui-boardDescriptionWidget-editButton .oo-ui-labelElement-label,
  .ui-toggler.ui-state-default {
    color: var(--base-color) !important;
  }
  .ui-toggler.ui-state-default {
    border: 0 !important;
    color: var(--base-color);
  }
  #proveit-header button, #proveit-footer button {
    color: var(--gray-5);
  }
  .wikiEditor-ui-toolbar .booklet .index .current {
    background-color: var(--gray-4);
    color: var(--gray-9a);
  }
  .imeselector-menu .ime-checked {
    background-image: linear-gradient(transparent, transparent),
                          url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%229%22%3E%3Cpath d=%22M11.226.257l-6.718 6.453-2.699-2.575-1.292 1.302c1.33 1.273 2.65 2.557 3.99 3.821 2.654-2.591 5.337-5.153 8.01-7.726z%22 fill=%22%23ccc%22/%3E%3C/svg%3E");
  }
  .wikEdButton, .wikEdButtonDummy, .wikEdButtonChecked, .wikEdButtonUnchecked {
    background-color: transparent;
    filter: invert(100%) hue-rotate(180deg);
  }
  .oo-ui-iconElement-icon.oo-ui-icon-edit {
    filter: grayscale(1) brightness(180%);
  }
  .mw-graph-img {
    filter: invert(1) hue-rotate(180deg) contrast(60%);
  }
  .wikEdButtonChecked {
    border-color: var(--gray-e) var(--gray-1) var(--gray-1) var(--gray-e) !important;
  }
  .wikEdButtonUnchecked {
    border-color: var(--gray-1) var(--gray-e) var(--gray-e) var(--gray-1) !important;
  }
  .mw-datatable td {
    background-color: var(--gray-2);
  }
  .mw-datatable th, .mw-datatable tr:hover td {
    background-color: var(--gray-3);
  }
  .mw-spinner-container > div::after {
    background-color: var(--gray-9a);
  }
  div.flaggedrevs_diffnotice, div.flaggedrevs_preview,
  div.mw-search-profile-tabs {
    background-color: var(--blue-2);
    border-color: var(--blue-3) !important;
    color: var(--gray-c) !important;
  }
  div.flaggedrevs_short, div.flaggedrevs_short_details,
  .mw-rcfilters-ui-filterMenuSectionOptionWidget,
  .mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected) {
    background-color: var(--gray-2);
  }
  div[style*="background-color:#f9f9f9"] {
    background-color: var(--gray-2) !important;
  }
  table.fmbox-warning {
    background-color: var(--red-3) !important;
    border-color: var(--red-0) !important;
  }
  .mw-ext-score img {
    background-color: var(--gray-c);
  }
  .installerTitle {
    background-color: var(--blue-2);
  }
  .scriptInstaller {
    box-shadow: 5px 5px 5px var(--gray-5);
    background-color: var(--gray-2);
  }
  .cnotice {
    background-color: var(--gray-18);
    border-color: var(--brown-2);
  }
  /*** diff pages ***/
  table.diff, td.diff-otitle, td.diff-ntitle, td.diff-addedline,
  td.diff-deletedline, td.diff-context {
    background-color: transparent !important;
  }
  .wikEdDiffButtonUnchecked {
    border-color: var(--gray-4) !important;
  }
  td.diff-deletedline .diffchange, .wikEdDiffDelete,
  .wikEdDiffFragment:hover .wikEdDiffDelete {
    background-color: var(--diff-del) !important;
    color: var(--gray-d) !important;
  }
  td.diff-addedline .diffchange, .wikEdDiffInsert,
  .wikEdDiffFragment:hover .wikEdDiffInsert {
    background-color: var(--diff-add) !important;
    color: var(--gray-d) !important;
  }
  td.diff-deletedline {
    border-color: var(--diff-del) !important;
  }
  td.diff-addedline {
    border-color: var(--diff-add) !important;
  }
  del.popupDiff {
    background-color: var(--diff-del);
  }
  ins.popupDiff {
    background-color: var(--diff-add);
  }
  .mw-revslider-pointer-line .mw-revslider-upper-color,
  .mw-revslider-pointer-container-newer .mw-revslider-slider-line {
    border-color: var(--revs-new) !important;
  }
  .mw-revslider-pointer-line .mw-revslider-lower-color,
  .mw-revslider-pointer-container-older .mw-revslider-slider-line {
    border-color: var(--revs-old) !important;
  }
  .oo-ui-buttonElement-button:active, .pure-button-primary-progressive:active,
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active,
  .mw-ui-button.mw-ui-progressive:active,
  .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:active,
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:active {
    filter: brightness(72.5%) !important;
  }
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:focus:not(:active),
  .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus:not(:active),
  .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus:not(:active) {
    border-color: var(--base-color) !important;
    box-shadow: inset 0 0 0 1px var(--base-color) !important;
  }
  .oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input::placeholder {
    color: var(--gray-7) !important;
  }
  .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle,
  .mw-mmv-label {
    background-color: var(--gray-28);
    color: var(--gray-b);
  }
  .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover {
    background-color: var(--gray-3);
    color: var(--gray-9a);
    border-color: var(--gray-5);
  }
  .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:focus,
  input.too-ui-inputWidget-input {
    border-color: var(--base-color);
    box-shadow: inset 0 0 0 1px var(--base-color) !important;
  }
  .oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle {
    background-color: var(--gray-3);
  }
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button {
    background-color: var(--base-color) !important;
    border-color: var(--base-color) !important;
  }
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button:hover {
    background-color: var(--base-color) !important;
    border-color: var(--base-color) !important;
  }
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button .oo-ui-labelElement-label {
    color: var(--gray-e) !important;
  }
  /*** invert images ***/
  img[title="Wikipedia"], img.mwe-math-fallback-image-inline, #mw-wsmfinal-close,
  img[src*="Speaker_Icon"], .infobox img[alt*="structure"][src*=".svg"],
  img[src*=".svg"][height="16"], img[src*=".svg"][height="17"],
  img[src*=".svg"]:not([src*="check"])[height="18"], #gtx-host,
  .jfk-bubble-closebtn, .RTsettings,
  #pt-notifications-notice .mw-echo-notifications-badge,
  #pt-notifications-alert .mw-echo-notifications-badge,
  img.mwe-math-fallback-image-display, #cnotice-toggle-icon {
    -webkit-filter: invert(100%) !important;
            filter: invert(100%) !important;
    background-color: transparent !important;
  }
  img[src*="Portal.svg"], img[src*="Information.svg"],
  img[src*="Global_thinking.svg"], img[src*="Clipboard.svg"],
  img[src*="Darkgreen_flag_waving.svg"], img[src*="Stock_post_message.svg"],
  img[src*="Featured_article_star_-_cross.svg"],
  img[src*="C%C3%ADrculos_Conc%C3%A9ntricos.svg"],
  img[src*="Johnny-automatic-scales-of-justice"], img[src*="_scales"],
  a.image img[src*="Cross_country_skiing_pictogram"] {
    filter: invert(100%) hue-rotate(180deg) brightness(120%) contrast(102%);
  }
  a.image img[src*="Newspaper_Cover.svg"],
  a.image img[src*="Question_book-4.svg"],
  a.image img[src*="Wiktionary-logo.svg"],
  a.image img[src*="Disambig_bordered_fade.svg"],
  a.image img[src*="P_computing.svg"],
  a.image img[src*="Nuvola_apps_korganizer.svg"],
  a.image img[src*="Community.png"], a.image img[src*="C_Puzzle.png"],
  a.image img[src*="Wikimedia_Community_Logo"], a.image img[src*="Commons-logo"],
  a.image img[src*="Wikibooks-logo"], a.image img[src*="Wikiquote-logo"],
  a.image img[src*="Wikipedia-logo"], a.image img[src*="Wikisource-logo"],
  a.image img[src*="Wikisource-logo"], a.image img[src*="Wikinews-logo"],
  a.image img[src*="Wikiversity-logo"], a.image img[src*="Wikidata-logo"],
  a.image img[src*="Wikivoyage-logo"], a.image img[src*="Wikivoyage-Logo-v3"],
  a.image img[src*="MediaWiki-notext"], img[src*="Ambox_warning"],
  a.image img[src*="Ambox_warning"], a.image img[src*="Nuvola_apps_important"],
  a.image img[src*="Disambig"], a.image img[src*="Vista-trashcan"],
  a.image img[src*="Vista-trashcan"], a.image img[src*="Vista-trashcan"],
  a.image img[src*="Merge-arrows.gif"], a.image img[src*="Cscr-featured"],
  img[src*="Cscr-former.svg"], img[src*="Splitsection.svg"],
  a.image img[src*="Nuvola_apps_"], a.image img[src*="Otszogletu_zold_tabla"],
  a.image img[src*="Wiki_letter_w_cropped"], a.image img[src*="Coat_of_arms"],
  a.image img[src*="COA"], a.image img[src*="Gtk"],
  a.image img[src*="Replacement_filing_cabinet.svg"],
  img[src*="Nuvola_apps_date.svg"], a.image img[src*="Emblem-important.svg"],
  a.image img[src*="E-Guitare-horiz"], a.image img[src*="Exquisite"],
  a.image img[src*="orthographic"], a.image img[src*="Padlock"],
  a.image img[src*="User-info.svg"], a.image img[src*="Symbol_"],
  a.image img[src*="commentary"], a.image img[src*="Art"],
  .flow-ui-boardDescriptionWidget-editButton a.oo-ui-buttonElement-button:hover,
  a.image img[src*="Copyright_maybe"], a.image img[src*="Crystal"],
  a.image img[src*="Pillar"], a.image img[src*="map_"], a.image img[src*="box_"],
  a.image img[src*="Globe"], a.image img[src*="Paper"],
  a.image img[src*="Contact"], a.image img[src*="WP"],
  a.image img[src*="Sport3_icone"], a.image img[src*="Twemoji"],
  a.image img[src*="Information_icon"], a.image img[src*="_check"],
  a.image img[src*="Gnome-dialog-"], a.image [src*="Writing_Magnifying"],
  a.image [src*="Postscript"], a.image [src*="People_"],
  a.image [src*="Fairytale_"], a.image [src*="Pod_l"],
  a.image [src*="-file-manager"], a.image [src*="Chilli"] {
    background: inherit !important;
  }
  .vertical-navbox th:not([style*="6a5"]), div[class*="mw-echo-ui"],
  span[class*="mw-echo-ui"] {
    background-color: inherit !important;
  }
  img[src*="P_literature.svg"], img[src*="Portal-puzzle.svg"],
  img[src*="Wikipedia%27s_W.svg"], a img[src*="Wikimedia_A"],
  a img[src*="Wikimedia_%C3%96sterreich_logo_black"],
  a img[src*="Wikimedia_C"]:not([src*="2016"]), a img[src*="Wikimedia_De"],
  a img[src*="Wikimedia_Es"], a img[src*="Wikimedia_S"],
  a img[src*="Wikimedia_K"], a img[src*="Wikimedia_N"],
  a img[src*="Wikimedia_RU"], a img[src*="Wikimedia_T"],
  a img[src*="Wikimedistas_de_Bolivia"],
  a img[src*="Affiliations_Committee_logo_black"], img[src*="Simple_light_bulb"],
  a.image img[src*="Semi-protection-shackle"], img[src*="Wikimedia-logo_black"],
  img[src*="Banner_Aboriginal"], a.image [src*="Poster_Creative_Commons"],
  a.image [src*="Etiquettes_Wikipetcia_Atikamekw"],
  img[src*="Etiquettes_Wikipetcia_Atikamekw"] {
    background: transparent !important;
    filter: invert(1) hue-rotate(180deg) contrast(84%);
  }
  a img[src*="E60-HUN"][height="18"], span img[alt="flag"][src*="svg"] {
    background: transparent !important;
    filter: none !important;
  }
  a.image img[src*="Daggers.svg"], a.image img[src*="Acap.svg"],
  a.image img[src*="Dagger-and-double-dagger-in-times-new-roman"],
  img[src*="Kreuz_als_Fu%C3%9Fnotenzeichen_in_Henderson"],
  a img[src*="Audio_a.svg"], a img[src*="Quill_and_ink.svg"],
  a.image img[src*="Wiktionary-logo-en"] {
    background: inherit !important;
    filter: invert(90%) hue-rotate(180deg) brightness(140%) contrast(200%);
  }
  img[src*="Black_W_for_promotion"] {
    filter: invert(1) brightness(80%) contrast(90%);
    background-color: #bbb !important;
  }
  /* fix border due to image inversion in above rule */
  div.thumbinner a.image img[src*="Daggers.svg"],
  a.image img[src*="Dagger-and-double-dagger-in-times-new-roman"] {
    border: 1px solid var(--gray-c) !important;
  }
  .oo-ui-pendingElement-pending {
    background-color: var(--gray-1);
    background-image: -webkit-linear-gradient(135deg, var(--black) 25%, transparent 25%, transparent 50%, var(--black) 50%, var(--black) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(135deg, var(--black) 25%, transparent 25%, transparent 50%, var(--black) 50%, var(--black) 75%, transparent 75%, transparent);
    background-image: linear-gradient(135deg, var(--black) 25%, transparent 25%, transparent 50%, var(--black) 50%, var(--black) 75%, transparent 75%, transparent);
  }
  .central-textlogo__image, .unicode.haudio a img {
    filter: invert(60.5%) !important;
  }
  .mw-ui-icon-popups-close::before, .mw-ui-icon-footer::before,
  .oo-ui-iconElement-icon:not(.oo-ui-image-progressive):not(.oo-ui-icon-stop):not(.oo-ui-icon-add):not(.oo-ui-icon-check) {
    filter: invert(86.5%) !important;
  }
  .central-featured-logo {
    filter: brightness(90%) !important;
  }
  .oo-ui-icon-bell, .mw-widget-calendarWidget-day-additional {
    opacity: .7 !important;
  }
  #footer-icons img {
    filter: brightness(70%);
  }
  img[alt="The Signpost"] {
    filter: invert(60%);
  }
  .sprite.svg-translate-icon, .sprite.svg-arrow-down-blue {
    filter: grayscale(100%) brightness(200%);
  }
  .bookshelf-container .bookend {
    filter: invert(1) grayscale(1) brightness(120%);
  }
  #mw-indicator-mw-helplink a {
    background-image: url('data:image/svg+xml;utf-8,%3Csvg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="m12.001 2.085c-5.478 0-9.916 4.438-9.916 9.916 0 5.476 4.438 9.914 9.916 9.914 5.476 0 9.914-4.438 9.914-9.914 0-5.478-4.438-9.916-9.914-9.916zm0.001 18c-4.465 0-8.084-3.619-8.084-8.083 0-4.465 3.619-8.084 8.084-8.084 4.464 0 8.083 3.619 8.083 8.084 0 4.464-3.619 8.083-8.083 8.083z" fill="%23888"/%3E%3Cpath d="m11.766 6.688c-2.5 0-3.219 2.188-3.219 2.188l1.411 0.854s0.298-0.791 0.901-1.229c0.516-0.375 1.625-0.625 2.219 0.125 0.701 0.885-0.17 1.587-1.078 2.719-0.953 1.186-1 3.655-1 3.655h1.969s0.135-2.318 1.041-3.381c0.604-0.707 1.443-1.338 1.443-2.494s-1.187-2.437-3.687-2.437zm-0.766 9.312h2v2h-2v-2z" fill="%23888"/%3E%3C/svg%3E');
  }
  .cx-campaign-contributionsmenu li.cx-campaign-contributions a {
    background-image: url('data:image/svg+xml;utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="m10 11c-5.92 0-8 3-8 5v3h16v-3c0-2-2.08-5-8-5z" fill="%23888"/%3E%3Ccircle cx="10" cy="5.5" r="4.5" fill="%23888"/%3E%3C/svg%3E%0A');
  }
  .cx-campaign-contributionsmenu li.cx-campaign-translations a {
    background-image: url('data:image/svg+xml;utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M20 18h-1.44a.61.61 0 0 1-.4-.12.81.81 0 0 1-.23-.31L17 15h-5l-1 2.54a.77.77 0 0 1-.22.3.159.59 0 0 1-.4.14H9l4.55-11.47h1.89zm-3.53-4.31L14.89 9.5a11.62 11.62 0 0 1-.39-1.24q-.09.37-.19.69l-.19.56-1.58 4.19zm-6.3-1.58a13.43 13.43 0 0 1-2.91-1.41 11.46 11.46 0 0 0 2.81-5.37H12V4H7.31a4 4 0 0 0-.2-.56C6.87 2.79 6.6 2 6.6 2l-1.47.5s.4.89.6 1.5H0v1.33h2.15A11.23 11.23 0 0 0 5 10.7a17.19 17.19 0 0 1-5 2.1q.56.82.87 1.38a23.28 23.28 0 0 0 5.22-2.51 15.64 15.64 0 0 0 3.56 1.77zM3.63 5.33h4.91a8.11 8.11 0 0 1-2.45 4.45 9.11 9.11 0 0 1-2.46-4.45z" fill="%23888"/%3E%3C/svg%3E');
  }
  .cx-campaign-contributionsmenu li.cx-campaign-uploads a {
    background-image: url('data:image/svg+xml;utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M13.09 6.18a3.68 3.68 0 0 1-2.18-2.55c.09.09 1.82.91 1.82.91L10 0 7.27 4.55l1.82-.91a5.08 5.08 0 0 0 .55 1.91 5.13 5.13 0 0 0 2 2 8.86 8.86 0 0 1 2 1.18l-.64.63-.45-.45-.26 1.54 1.54-.26-.45-.45.62-.65a5.69 5.69 0 0 1 1.45 3.45h-.91v-.73l-1.26.91 1.26.91v-.73h.91A5.21 5.21 0 0 1 14 16.36l-.64-.64.45-.45-1.53-.27.26 1.54.45-.45.64.64a5.69 5.69 0 0 1-3.45 1.45v-.91h.73L10 16l-.91 1.27h.73v.91a5.21 5.21 0 0 1-3.45-1.45l.63-.64.45.45.27-1.54-1.54.26.45.45-.63.65a5.69 5.69 0 0 1-1.45-3.45h.91v.73l1.26-.91-1.26-.91v.73h-.91A5.21 5.21 0 0 1 6 9.09l.64.64-.45.45 1.54.26-.28-1.53-.45.45-.64-.64L5 7.45a7.29 7.29 0 1 0 8.09-1.27z" fill="%23888"/%3E%3Ccircle cx="10" cy="12.7" r="2.5" fill="%23888"/%3E%3C/svg%3E');
  }
  table.jquery-tablesorter th.headerSort {
    background-image: url('data:image/svg+xml;utf-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="21" height="9"%3E%3Cpath d="M14.5 5l-4 4-4-4zm0-1l-4-4-4 4z" fill="%23ccc"/%3E%3C/svg%3E');
  }
  .oo-ui-indicator-down, .oo-ui-indicator-clear {
    filter: invert(100%);
  }
  #pt-uls a.uls-trigger, .sprite.svg-Wikimedia-logo_black {
    filter: invert(100%) hue-rotate(180deg);
  }
  #mw-panel .portal:not(#p-navigation) .body {
    background-image: linear-gradient(to top, transparent, var(--gray-c));
    background-size: auto 1px;
  }
  /*** Reference tooltips ***/
  .rt-tooltip, .rt-tooltipTail::after {
    background: var(--gray-2) !important;
  }
  .rt-tooltipTail {
    background: var(--gray-5) !important;
  }
  /*** Page preview settings ***/
  .mwe-popups-overlay {
    background-color: var(--gray-2_75) !important;
  }
  #mwe-popups-settings {
    box-shadow: 0 2px 2px 0 var(--gray-5_25) !important;
  }
  a.image img[src*="Stop_hand.svg"], img[src*="OOjs_UI_icon_article-ltr.svg"],
  img[src*="OOjs_UI_icon_edit-ltr"], img[src*="OOjs_UI_icon_academic.svg"],
  img[src*="OOjs_UI_icon_speechBubbles-ltr.svg"],
  img[src*="OOjs_UI_icon_advanced.svg"], img[src*="OOjs_UI_icon_desktop.svg"],
  img[src*="OOjs_UI_icon_chem.svg"],
  img[src*="OOjs_UI_icon_ongoingConversation-rtl.svg"],
  img[src*="Echo_%28Notifications%29_megaphone.svg"] {
    filter: invert(1) hue-rotate(180deg) brightness(90%);
  }
}
@-moz-document
regexp("https?:\/\/([\w\-]{2,}\.m\.(wiki(pedia|books|news|quote|source|versity|voyage)|wiktionary)|m\.(mediawiki|wiki(data|dot))|(meta|commons|otrs-wiki|species|wikitech)\.m\.wikimedia)\.org\/.+") {
  body {
    background-color: var(--gray-2);
    background-image: var(--bg-selected);
    background-clip: border-box;
    background-origin: padding-box;
    background-attachment: var(--bg-attachment);
    /*[[bg-options]]*/
    color: var(--gray-c);
  }
  /* Icon fixes */
  footer > .post-content > h2 > img, .header-container button.mw-ui-icon,
  .header-container label.mw-ui-icon, .mw-ui-icon-wikimedia-bellOutline-base20,
  .mw-ui-icon-minerva-mainmenu, .mw-ui-icon-before::before {
    filter: brightness(200%);
  }
  .mw-editsection a.mw-ui-icon::before,
  .page-actions-menu__list-item .mw-ui-icon-element,
  #mw-mf-page-left ul li a.mw-ui-icon::before,
  .minerva-user-menu ul li a.mw-ui-icon::before,
  #page-actions-overflow ul li a.mw-ui-icon::before,
  .header .branding-box h1 img, .header .branding-box a img {
    filter: brightness(150%);
  }
  #page-actions .mw-show-on-map {
    filter: invert(100%);
  }
  .mw-ui-icon-mf-user::before {
    filter: invert(100%) brightness(300%);
  }
  .oo-ui-icon-funnel, .mw-ui-icon-funnel::before, .oo-ui-icon-wikiText,
  .mw-ui-icon-wikiText::before, .oo-ui-icon-close, .mw-ui-icon-close::before,
  .oo-ui-icon-edit, .mw-ui-icon-edit::before, .oo-ui-icon-eye,
  .mw-ui-icon-eye::before, .mw-ui-icon-mf-arrow:before, .oo-ui-icon-settings,
  .mw-ui-icon-settings::before, .oo-ui-indicator-down,
  .oo-ui-decoratedOptionWidget.oo-ui-widget-enabled .oo-ui-iconElement-icon,
  .oo-ui-decoratedOptionWidget.oo-ui-widget-enabled .oo-ui-indicatorElement-indicator,
  .oo-ui-buttonElement.oo-ui-iconElement .oo-ui-iconElement-icon,
  .oo-ui-buttonElement.oo-ui-indicatorElement .oo-ui-indicatorElement-indicator,
  .client-js .mw-echo-special-nojs, .mwe-math-fallback-image-inline,
  .oo-ui-icon-check, .mw-ui-icon-check:before, .uls-search-label,
  .central-textlogo a > img {
    filter: invert(80%);
  }
  img[src*="61px-Gnome-dialog-question.svg"] {
    filter: invert(1) hue-rotate(180deg) contrast(111%) brightness(150%);
  }
  #helpdeskheader[style*="border: 1px solid #ccc; background-color: #f9f9f9;"],
  #villagepumpheader[style*="border:1px solid #AAA;background:#F9F9F9"] {
    border: 1px solid var(--gray-5) !important;
    background: none !important;
  }
  .oo-ui-image-progressive.oo-ui-icon-eye, .mw-ui-icon-eye-progressive::before,
  .oo-ui-image-progressive.oo-ui-icon-edit, .mw-ui-icon-edit-progressive::before {
    filter: invert(0);
  }
  /* Background fixes */
  .minerva--amc-enabled.action-history .mw-history-compareselectedversions,
  .ns-special .pre-content, .ns-special #content form {
    background-color: transparent;
  }
  .client-js .ambox .ambox-learn-more::before, #mw-mf-page-center,
  .ext-related-articles-card-list h3::after, .overlay-enabled, #content {
    background: none;
  }
  .mw-rcfilters-ui-filterTagMultiselectWidget-mobile .oo-ui-tagMultiselectWidget-input.oo-ui-textInputWidget input[readonly] {
    background-color: var(--gray-1);
  }
  .mw-highlight {
    background-color: var(--gray-18);
  }
  .overlay, .overlay.search-overlay, .language-overlay .overlay-content,
  .language-searcher .site-link-list li, .language-searcher .panel,
  #mw-mf-diffview #mw-mf-userinfo, .mw-rollback-link, .mw-tag-marker,
  .mw-rcfilters-ui-filterMenuSectionOptionWidget,
  .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagMultiselectWidget-handle,
  .ext-related-articles-card-list .ext-related-articles-card-thumb,
  .ext-related-articles-card-list .ext-related-articles-card, .image-details,
  #mw-mf-page-left, .oo-ui-dropdownInputWidget.oo-ui-widget-enabled:hover,
  .oo-ui-dropdownInputWidget.oo-ui-widget-enabled,
  .mw-widgets-datetime-dateTimeInputWidget.oo-ui-widget-enabled .mw-widgets-datetime-dateTimeInputWidget-editField:hover,
  .navigation-enabled #mw-mf-page-center, table.wikitable tr,
  .action-history .mw-history-compareselectedversions {
    background-color: var(--gray-2);
  }
  .content table.infobox *[style*="background"] {
    background-color: var(--gray-2) !important;
  }
  tr[bgcolor], td[bgcolor] {
    background-color: var(--gray-28);
  }
  /* these general selectorss have to go when adding not remove all */
  td[style*="background"] {
    background-color: var(--gray-28) !important;
  }
  div[style*="border-bottom:1px solid; border-bottom-color:#8B0000; background:transparent;"] {
    border-bottom: 1px solid var(--red-2) !important;
    background: transparent;
  }
  .mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted.oo-ui-optionWidget-highlighted,
  .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .mw-rcfilters-ui-tagItemWidget-selected.oo-ui-tagItemWidget.oo-ui-widget-enabled,
  .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled,
  .oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame,
  .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle,
  .wikitable > tr > th, .wikitable > * > tr > th, .overlay-header-container,
  .overlay-footer-container, .overlay.search-overlay .results,
  .overlay.search-overlay .search-feedback, .header-container.header-chrome,
  .mw-widgets-datetime-calendarWidget, .mw-widget-dateInputWidget-calendar,
  .minoredit, .list-header, .oo-ui-dropdownWidget-handle,
  .mw-echo-ui-notificationsInboxWidget-toolbarWrapper,
  .mw-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget-selected,
  .oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle,
  .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle,
  .oo-ui-menuSelectWidget, th[bgcolor] {
    background-color: var(--gray-3);
  }
  th[style*="background"], .ombox-notice[style*="background"] {
    background-color: var(--gray-3) !important;
  }
  td[style="background:#d7e8f9;"] {
    background: var(--blue-2) !important;
  }
  .mw-parser-output a.external {
    color: var(--base-color);
  }
  /* plainlinks a.external is default style and needed */
  .plainlinks a.external {
    background: none !important;
    padding: 0 !important;
  }
  .mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected),
  .mw-rcfilters-ui-itemMenuOptionWidget:hover,
  .mw-rcfilters-ui-itemMenuOptionWidget-highlighted,
  .oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted,
  .mw-rcfilters-ui-itemMenuOptionWidget.oo-ui-optionWidget-selected,
  .oo-ui-listToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled,
  .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:active,
  .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:active:focus,
  .oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active > .oo-ui-tool-link,
  .oo-ui-tool.oo-ui-widget-enabled.oo-ui-popupToolGroup-active > .oo-ui-tool-link,
  .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:active,
  .mw-echo-ui-notificationItemWidget:hover, .list-thumb.list-thumb-none,
  .toggle-list-item__anchor--menu:hover, .toggle-list-item:hover {
    background-color: var(--gray-4);
  }
  .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:hover,
  .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover,
  form.mw-mf-settings #beta-field::before {
    background-color: var(--gray-5);
  }
  .editor-overlay-ve.loading, .overlay.overlay-loading,
  .oo-ui-windowManager-modal > .oo-ui-dialog {
    background-color: var(--gray-3_5);
  }
  /* ORES highlight fixes */
  .mw-rcfilters-ui-highlights-color-none {
    background-color: var(--gray-7);
  }
  .mw-rcfilters-ui-highlights-color-c1,
  .mw-rcfilters-ui-tagItemWidget-highlight[data-color="c1"]::before,
  .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1,
  .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1 tr:first-child,
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: var(--blue-2);
  }
  .mw-rcfilters-ui-highlights-color-c2,
  .mw-rcfilters-ui-tagItemWidget-highlight[data-color="c2"]::before,
  .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2,
  .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2 tr:first-child,
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: var(--cyan-1);
  }
  .mw-rcfilters-ui-highlights-color-c3,
  .mw-rcfilters-ui-tagItemWidget-highlight[data-color="c3"]::before,
  .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3,
  .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3 tr:first-child,
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: var(--ores-1);
  }
  .mw-rcfilters-ui-highlights-color-c4,
  .mw-rcfilters-ui-tagItemWidget-highlight[data-color="c4"]::before,
  .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
  .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: var(--ores-2);
  }
  .mw-rcfilters-ui-highlights-color-c5,
  .mw-rcfilters-ui-tagItemWidget-highlight[data-color="c5"]::before,
  .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
  .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: var(--ores-3);
  }
  /* Foreground fixes */
  a, a:not([href]), .last-modified-bar a, .last-modified-bar a:visited,
  .page-summary a h2, .page-summary a h3 {
    color: var(--base-color);
  }
  th[style*="color:#244C85;"] {
    color: var(--base-color) !important;
  }
  .messagebox.standard-talk {
    border: 1px solid var(--brown-1) !important;
    background: var(--brown-1) !important;
  }
  a.new, a.new:visited, a.new:hover, a.new > *, a.new:visited > *,
  a.new:hover > * {
    color: var(--red-1);
  }
  .oo-ui-tagItemWidget.oo-ui-widget-enabled:hover {
    color: var(--gray-7);
  }
  .page-list.side-list .list-thumb, .topic-title-list.side-list .list-thumb,
  .site-link-list.side-list .list-thumb, .content figcaption,
  .content .thumbcaption, #mw-mf-page-left ul li a:visited,
  #mw-mf-page-left ul li a:active, .toggle-list-item__anchor--menu:visited,
  .toggle-list-item__anchor--menu:active,
  .mw-rcfilters-ui-tagItemWidget-popup-content, .mw-widget-calendarWidget-day {
    color: var(--gray-9a);
  }
  .language-searcher .site-link-list a .autonym,
  .mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted .mw-rcfilters-ui-itemMenuOptionWidget-label-title,
  .mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted .mw-rcfilters-ui-itemMenuOptionWidget-label-desc,
  .mw-rcfilters-ui-itemMenuOptionWidget-label-desc,
  .mw-rcfilters-ui-itemMenuOptionWidget-label-title,
  .oo-ui-tagItemWidget.oo-ui-widget-enabled,
  .mw-rcfilters-ui-tagItemWidget.oo-ui-flaggedElement-muted.oo-ui-tagItemWidget.oo-ui-widget-enabled .oo-ui-labelElement-label,
  .mw-rcfilters-ui-savedLinksListWidget-placeholder.oo-ui-optionWidget .oo-ui-labelElement-label,
  .ext-related-articles-card-list h3 a, .category-header li a,
  .oo-ui-messageDialog-message, .oo-ui-messageDialog-title, .page-summary h2,
  .page-summary h3, .page-list li > a, .topic-title-list li > a,
  .site-link-list li > a, #mw-mf-page-left ul li a,
  .mw-echo-ui-menuItemWidget > .oo-ui-labelElement-label,
  .mw-echo-ui-notificationItemWidget-content-actions-timestamp,
  .mw-echo-ui-notificationItemWidget-content-message-header,
  .mw-echo-ui-notificationsListWidget:not(:hover) a,
  #p-personal .mw-echo-ui-notificationsListWidget:not(:hover) a.new,
  .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select,
  .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button,
  .oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:hover,
  .toggle-list-item__anchor--menu, .toggle-list-item__label,
  .notifications-filter-overlay .overlay-content .mw-echo-ui-crossWikiUnreadFilterWidget-subtitle,
  .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled:hover {
    color: var(--gray-c);
  }
  td[class*="table-"] {
    color: var(--gray-c) !important;
  }
  /* Border fixes */
  .oo-ui-tagItemWidget, .oo-ui-toolGroup, .page-actions-menu,
  .mw-rcfilters-ui-tagItemWidget.oo-ui-flaggedElement-muted.oo-ui-tagItemWidget.oo-ui-widget-enabled,
  .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,
  .client-js .mw-recentchanges-toplinks:not(.mw-recentchanges-toplinks-collapsed),
  .oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame,
  .editor-overlay-ve .overlay-header-container .ve-init-mw-mobileArticleTarget-toolbar,
  .notifications-overlay-overlay .mw-echo-ui-actionMenuPopupWidget-menu,
  .oo-ui-dropdownInputWidget select, .oo-ui-panelLayout-framed,
  .mw-rollback-link, .mw-widget-calendarWidget, .content kbd, .content samp,
  .content code, .content pre, .category-header li, footer > .post-content > h2,
  ul.mw-contributions-list li, ul.special li, .mw-tag-marker,
  .ns-special .content-header, .mw-mf-watchlist-selector li, .header,
  .oo-ui-dropdownWidget-handle, .oo-ui-menuSelectWidget,
  .notifications-filter-overlay .overlay-content .mw-echo-ui-pageNotificationsOptionWidget,
  .notifications-filter-overlay .overlay-content .mw-echo-ui-crossWikiUnreadFilterWidget,
  form.mw-mf-settings .oo-ui-fieldLayout,
  form.mw-mf-settings .oo-ui-fieldLayout:first-child,
  .overlay.search-overlay .search-content {
    border-color: var(--gray-5);
  }
  .oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor::after,
  .language-searcher .site-link-list a, .minerva-footer,
  .mw-rcfilters-ui-itemMenuOptionWidget-view-namespaces,
  .overlay-footer-container {
    border-top-color: var(--gray-5);
  }
  .mw-rcfilters-ui-itemMenuOptionWidget:not(:last-child):not(.mw-rcfilters-ui-itemMenuOptionWidget-identifier-talk),
  .mw-changeslist-line, .overlay .panel, .content .mw-parser-output > h2,
  .content .section-heading, .content table.infobox th,
  .content table.infobox td, .action-history #pagehistory li, .header-container,
  .mw-echo-ui-notificationItemWidget:last-child {
    border-bottom-color: var(--gray-5);
  }
  .oo-ui-popupWidget-anchored-end .oo-ui-popupWidget-anchor::after, blockquote {
    border-left-color: var(--gray-5);
  }
  .oo-ui-popupWidget-anchored-start .oo-ui-popupWidget-anchor::after {
    border-right-color: var(--gray-5);
  }
  /* Diff fixes */
  .diff-context {
    background-color: transparent;
    border-color: var(--gray-5);
    color: var(--gray-c);
  }
  .diff-addedline {
    border-color: var(--diff-add);
  }
  .diff-addedline .diffchange {
    background: var(--diff-add);
  }
  .diff-deletedline {
    border-color: var(--diff-del);
  }
  .diff-deletedline .diffchange {
    background: var(--diff-del);
  }
  /* RecentChanges layout fixes (see #78) */
  .mw-rcfilters-ui-changesListWrapperWidget {
    padding-left: .5em;
  }
  .mw-rcfilters-ui-changesListWrapperWidget-highlighted ul li {
    padding-right: .5em;
    padding-left: .5em;
  }
  .mw-rcfilters-ui-changesListWrapperWidget-highlighted .mw-rcfilters-ui-highlights {
    display: block;
  }
  .mw-rcfilters-ui-changesListWrapperWidget-highlighted .mw-rcfilters-ui-highlights > div {
    margin-right: 10px;
  }
  .mw-rollback-link {
    margin-left: .5em;
    float: right;
    border: 1px solid var(--gray-5);
  }
  /* Other UI fixes */
  .ns-special #content {
    background-color: var(--gray-2);
    background-image: var(--bg-selected);
  }
  .mw-ui-input {
    background-color: var(--gray-1);
    color: var(--gray-c);
    border-color: var(--gray-5);
    box-shadow: inset 0 0 0 .1em var(--gray-5);
  }
  .search-box .search {
    background-color: var(--gray-2);
    border-color: var(--gray-5);
    color: var(--gray-c);
  }
  .toggle-list__list {
    background-color: var(--gray-3);
    box-shadow: 0 5px 17px 0 var(--black_25), 0 0 1px var(--gray-5);
  }
  .minerva--amc-enabled.action-history #pagehistory .mw-changeslist-links:not(.mw-usertoollinks):not(.mw-history-histlinks) .mw-history-undo a:hover,
  .minerva--amc-enabled.action-history #pagehistory .mw-changeslist-links:not(.mw-usertoollinks):not(.mw-history-histlinks) .mw-rollback-link a:hover {
    background-color: var(--gray-5);
    border-color: var(--gray-5);
    color: var(--gray-c);
  }
  .mw-widget-dateInputWidget-handle,
  .oo-ui-textInputWidget .oo-ui-inputWidget-input {
    background-color: var(--gray-1);
    border-color: var(--gray-5);
    color: var(--gray-c);
  }
  .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
    background-color: var(--gray-4);
    color: var(--gray-c);
  }
  .mw-widgets-datetime-dateTimeInputWidget-handle {
    background-color: var(--gray-1);
    color: var(--gray-c);
  }
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active,
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active:focus,
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
  .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active {
    background-color: var(--gray-4);
    color: var(--gray-c);
  }
  .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:hover,
  .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > input.oo-ui-buttonElement-button,
  .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active {
    border-color: var(--gray-5);
    color: var(--gray-c);
  }
  #mw-mf-page-left ul li {
    background-color: var(--gray-3);
    border-top-color: var(--gray-5);
  }
  .page-list li, .topic-title-list li, .site-link-list li {
    border-bottom-color: var(--gray-5);
    color: var(--gray-c);
  }
  .backtotop {
    box-shadow: .1em .2em .3em var(--gray-5);
  }
  .mbox-small.plainlinks.sistersitebox, .mbox-small.wikipedia-books {
    background-color: var(--gray-3) !important;
    border-color: var(--gray-5) !important;
    color: var(--gray-c) !important;
  }
  .overlay textarea {
    background-color: var(--gray-1);
    color: var(--gray-9a);
  }
  .oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools .oo-ui-tool.oo-ui-widget-disabled.oo-ui-flaggedElement-primary > .oo-ui-tool-link,
  .oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary > .oo-ui-tool-link,
  .overlay-header .header-action .continue[disabled],
  .overlay-header .header-action .submit[disabled],
  .overlay-header .header-action .progressive[disabled],
  .oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
    background-color: var(--gray-5);
    border-color: var(--gray-5);
  }
  .minerva--amc-enabled.action-history #pagehistory .mw-changeslist-links:not(.mw-usertoollinks):not(.mw-history-histlinks) .mw-history-undo a,
  .minerva--amc-enabled.action-history #pagehistory .mw-changeslist-links:not(.mw-usertoollinks):not(.mw-history-histlinks) .mw-rollback-link a,
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover,
  .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover,
  .mw-ui-button:hover {
    background-color: var(--gray-4);
    border-color: var(--gray-5);
    color: var(--gray-c);
  }
  .overlay .content-header, footer .last-modified-bar {
    background-color: var(--gray-3);
    border-bottom-color: var(--gray-5);
    color: var(--gray-c);
  }
  .last-modified-bar.active, .oo-ui-toolbar-bar, .hatnote, .dablink, .rellink,
  .client-js .ambox {
    background-color: var(--gray-3);
    color: var(--gray-c);
  }
  .action-history #pagehistory .mw-changeslist-links:not(.mw-usertoollinks):not(.mw-history-histlinks) .mw-history-undo a,
  .action-history #pagehistory .mw-changeslist-links:not(.mw-usertoollinks):not(.mw-history-histlinks) .mw-rollback-link a,
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button,
  .previewnote p, .mw-revision, .mw-ui-button {
    background-color: var(--gray-3);
    border-color: var(--gray-5);
    color: var(--gray-c);
  }
  .mw-parser-output .divbox-gray, .mw-parser-output .divbox-grey {
    background-color: var(--gray-4);
    border-color: var(--gray-5);
  }
  .oo-ui-popupWidget-popup, .oo-ui-popupToolGroup-tools, .content table.infobox,
  .ve-mobile-fakeToolbar-container {
    background-color: var(--gray-3);
    border-color: var(--gray-5);
  }
  .ip-label-container, .client-js .toc-mobile, #toc,
  .mw-echo-ui-notificationItemWidget, .mw-ext-score-popup::after {
    background-color: var(--gray-2);
    border-color: var(--gray-5);
  }
  .client-js body.mw-rcfilters-ui-loading .mw-changeslist {
    opacity: .7;
  }
  kbd.keyboard-key {
    background: var(--gray-18) !important;
    border-color: var(--gray-5) !important;
    color: var(--gray-9a) !important;
  }
  div#editpage-specialchars a, body div.ui-dialog .ui-widget-header {
    background: var(--gray-3) !important;
    border-color: var(--gray-5) !important;
  }
  /* Animation fixes */
  .oo-ui-tool.oo-ui-widget-enabled .oo-ui-tool-link {
    -webkit-transition: none;
       -moz-transition: none;
            transition: none;
  }
  .oo-ui-pendingElement-pending {
    background-color: var(--gray-2);
    background-image: -webkit-linear-gradient(135deg, var(--black) 25%, transparent 25%, transparent 50%, var(--black) 50%, var(--black) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(135deg, var(--black) 25%, transparent 25%, transparent 50%, var(--black) 50%, var(--black) 75%, transparent 75%, transparent);
    background-image: linear-gradient(135deg, var(--black) 25%, transparent 25%, transparent 50%, var(--black) 50%, var(--black) 75%, transparent 75%, transparent);
  }
  @-webkit-keyframes unseen-fadeout-to-unread {
    from {
      background-color: var(--gray-18);
    }
    to {
      background-color: var(--gray-3);
    }
  }
  @keyframes unseen-fadeout-to-unread {
    from {
      background-color: var(--gray-18);
    }
    to {
      background-color: var(--gray-3);
    }
  }
  @-webkit-keyframes unseen-fadeout-to-read {
    from {
      background-color: var(--gray-18);
    }
    to {
      background-color: var(--gray-2);
    }
  }
  @keyframes unseen-fadeout-to-read {
    from {
      background-color: var(--gray-18);
    }
    to {
      background-color: var(--gray-2);
    }
  }
  #mw-panel .portal:not(#p-navigation) .body {
    background-image: linear-gradient(to top, transparent, var(--gray-c));
    background-size: auto 1px;
  }
}
@-moz-document domain("commons.wikimedia.org") {
  #mw-page-base, .mw-parser-output #wdinfoboxcaption {
    background-color: var(--gray-2);
  }
  table[style*="border:1px solid #cccccc; background-color:#f9f9f9;"] {
    border: 1px solid var(--gray-4) !important;
    background-color: var(--gray-28) !important;
  }
  #firstHeading div.fastcci-buttonset > .ui-button, .gallery .gallerybox {
    background-color: var(--gray-2) !important;
  }
  .ui-state-active, .ui-widget-content .ui-state-active,
  .ui-widget-header .ui-state-active, .ui-state-hover,
  .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover,
  .ui-state-focus, .ui-widget-content .ui-state-focus,
  .ui-widget-header .ui-state-focus, #cat_a_lot {
    background: var(--gray-3);
  }
  #firstHeading div.fastcci-buttonset > .ui-button:hover,
  .gallerytext .jFileTitle, #Centralized_discussion tr th,
  #villagepumpheader table tr th {
    background-color: var(--gray-3) !important;
  }
  .mw-parser-output .mainpage-welcome-sitename {
    color: var(--gray-91);
  }
  /* this isnt actually orange in default */
  .mw-parser-output .mainpage-box-orange .mainpage-box-title {
    background-color: var(--brown-2);
  }
  .mw-parser-output .mainpage-box-orange,
  .mw-parser-output .mainpage-box-orange .mainpage-box-seealso {
    border-color: var(--brown-2);
  }
  .mw-parser-output .mainpage-box-green .mainpage-box-title {
    background-color: var(--green-2);
  }
  .mw-parser-output .mainpage-box-blue .mainpage-box-title,
  .mw-parser-output .community-tabs td.active {
    background-color: var(--blue-3);
  }
  .mw-parser-output .community-tabs td {
    background-color: var(--blue-2);
  }
  body .ui-button.ui-button-green, body .ui-button.ui-button-green:hover {
    border-color: var(--green-4) !important;
    background: linear-gradient(to bottom, var(--green-3) 0%, var(--green-2) 90%) !important;
  }
  .com-mg-pagination {
    background-color: var(--gray-2);
    border-color: var(--gray-5);
  }
  .tipsy-inner {
    background-color: var(--gray-2);
    border-color: var(--gray-5);
    color: var(--gray-9a);
  }
  #gp_head {
    background-color: var(--blue-3) !important;
  }
  #gallerypreview > div {
    background-color: var(--green-4) !important;
    color: var(--base-color) !important;
  }
  .licensetpl_wrapper {
    background-color: var(--gray-3) !important;
  }
  .type.fileinfo-paramfield {
    background-color: var(--blue-3);
  }
  #gallerypreview_container, .layouttemplate.licensetpl,
  .layouttemplate.partnershiptemplate {
    border-color: var(--gray-5) !important;
  }
  /* Hack to fix Wikimedia logo on MP */
  .mainpage .center > .floatnone {
    background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/81/Wikimedia-logo.svg/45px-Wikimedia-logo.svg.png");
  }
  .mainpage .center > .floatnone > img {
    opacity: 0;
  }
  div[style*="background:#F8F8FF; margin:0px 0px 0.5em 0px; border:1px solid #CCCCFF;"] {
    background: var(--blue-3) !important;
    border-color: var(--blue-4) !important;
  }
  div[style*="background-color: #f9f9f9; border-color: #e9e9e9;"] {
    background: var(--gray-2) !important;
    border-color: var(--gray-5) !important;
  }
  .mw-tag-markers {
    background-color: var(--brown-4);
  }
  a.image img[src*="Semi-protection-shackle.svg"] {
    background: inherit !important;
  }
  .ns-talk .mw-body-content dl, .ns-talk .mw-body-content dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl dl dl dl dl {
    background: inherit;
    border: inherit;
  }
}
@-moz-document
regexp("https?:\/\/([\w\-]{2,}\.)?wikidata\.org\/.*") {
  #p-logo .mw-wiki-logo {
    filter: brightness(150%) contrast(60%);
  }
  .oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input::placeholder {
    color: var(--gray-5);
  }
  .oo-ui-indicator-required {
    filter: invert(1) brightness(70%);
  }
  img[src*="40px-OOjs_UI_icon_info_big_progressive.svg.png"] {
    filter: brightness(130%);
  }
  #mw-content-text {
    color: var(--gray-b9);
  }
  .wikibase-referenceview, .wikibase-entitytermsview .wikibase-toolbar-container {
    background-color: transparent;
  }
  .mediawiki .warningbox {
    background-color: var(--brown-3);
    border-color: var(--brown-2);
  }
  .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement:hover {
    background-color: var(--bluei-a1) !important;
    outline: 1px solid var(--gray-5);
  }
  .wikibase-statementview div.thumb img, .wikibase-statementview div.thumb audio,
  .wikibase-statementview div.thumb video,
  .wikibase-statementview div a.mw-kartographer-map {
    border-color: var(--gray-4);
  }
  .wikibase-entitytermsforlanguagelistview .wikibase-entitytermsforlanguagelistview-listview .wikibase-entitytermsforlanguageview .wikibase-entitytermsforlanguageview-label input:focus,
  .wikibase-entitytermsforlanguagelistview .wikibase-entitytermsforlanguagelistview-listview .wikibase-entitytermsforlanguageview .wikibase-entitytermsforlanguageview-description input:focus,
  .wikibase-entitytermsforlanguagelistview .wikibase-entitytermsforlanguagelistview-listview .wikibase-entitytermsforlanguageview .wikibase-entitytermsforlanguageview-label textarea:focus,
  .wikibase-entitytermsforlanguagelistview .wikibase-entitytermsforlanguagelistview-listview .wikibase-entitytermsforlanguageview .wikibase-entitytermsforlanguageview-description textarea:focus {
    border-color: var(--base-color);
  }
  .wikibase-entitytermsforlanguagelistview .wikibase-entitytermsforlanguagelistview-listview .wikibase-entitytermsforlanguageview .wikibase-entitytermsforlanguageview-label input,
  .wikibase-entitytermsforlanguagelistview .wikibase-entitytermsforlanguagelistview-listview .wikibase-entitytermsforlanguageview .wikibase-entitytermsforlanguageview-description input,
  .wikibase-entitytermsforlanguagelistview .wikibase-entitytermsforlanguagelistview-listview .wikibase-entitytermsforlanguageview .wikibase-entitytermsforlanguageview-label textarea,
  .wikibase-entitytermsforlanguagelistview .wikibase-entitytermsforlanguagelistview-listview .wikibase-entitytermsforlanguageview .wikibase-entitytermsforlanguageview-description textarea {
    border: 1px solid var(--gray-5);
  }
  .ui-closeable.wb-edit {
    background-color: var(--blue-2);
  }
  #editpage-specialchars[style*="border-color: #aaaaaa;"] {
    border: 1px solid var(--gray-4) !important;
  }
  .mw-parser-output .wd-mp-headerbox, .mw-parser-output .wd-mp-subheader > div,
  .ui-entityselector-list .ui-entityselector-more,
  .wikibase-entitysearch-list .wb-entitysearch-suggestions,
  .wikibase-statementgrouplistview .wikibase-statementlistview,
  .ui-entityselector-list .ui-entityselector-notfound,
  .mw-parser-output .property-navibox, .articlepreview .container,
  .wikibase-sitelinklistview .wikibase-sitelinkview .wikibase-removetoolbar-container {
    background-color: var(--gray-2);
  }
  .mediawiki .wikibase-sitelinkgroupview .wikibase-sitelinkgroupview-heading-container,
  .wikibase-sitelinkgroupview, .ui-widget.ui-suggester-list,
  .articlepreview.open, ul.wikibase-snaktypeselector-menu.ui-menu {
    background-color: var(--gray-2) !important;
  }
  .wikibase-statementgrouplistview .wikibase-statementgroupview-property,
  .wikibase-sitelinkgroupview .wikibase-sitelinkgroupview-heading-container,
  .wikibase-referenceview > .wikibase-referenceview-heading,
  .wikibase-statementlistview > .wikibase-toolbar-wrapper {
    background-color: var(--gray-3);
  }
  .wikibase-entitytermsforlanguagelistview-header-row th,
  li.wikibase-sitelinkview.listview-item span.wikibase-sitelinkview-siteid-container {
    background-color: var(--gray-3) !important;
  }
  .wikibase-snaktypeselector-menu .ui-state-active,
  .wikibase-snaktypeselector-menu .ui-state-focus {
    background: var(--gray-3) !important;
  }
  .wikibase-referenceview.wb-edit {
    background-color: var(--blue-3);
  }
  .wikibase-referenceview.wb-edit > .wikibase-referenceview-heading,
  .wikibase-statementgrouplistview .wikibase-statementgroupview-property.wb-edit,
  .wikibase-statementgroupview-property.wb-edit + .wikibase-statementlistview > .wikibase-toolbar-wrapper {
    background-color: var(--blue-2);
  }
  .wikibase-entityview textarea, .ui-listrotator,
  .wikiEditor-ui-toolbar .page-table th, .mw-parser-output .chatheader-title,
  .mw-parser-output .wd-box .header, .mw-parser-output .tool2-title {
    color: var(--gray-9a);
  }
  strong[style*="color: #484848"] {
    color: var(--gray-9a) !important;
  }
  #mw-content-text .mp-frame .mp-frame-header[style*="background: #006699"] {
    background-color: var(--blue-2) !important;
  }
  #mw-content-text .mp-frame .mp-frame-header[style*="background: #339966"] {
    background-color: var(--green-2) !important;
  }
  #mw-content-text .mp-frame .mp-frame-header[style*="background: #990000"] {
    background-color: var(--red-2) !important;
  }
  .tipsy-inner {
    color: var(--gray-9a);
    background-color: var(--gray-2) !important;
  }
  .mw-parser-output .property-navibox-header {
    background-color: var(--gray-2);
    outline-color: var(--gray-5);
  }
  .articlepreview .toggler {
    filter: invert(80%);
    background-color: var(--gray-e) !important;
  }
  .wb-icon, .articlepreview-button, .wb-help-field-hint, .ui-icon-close {
    filter: invert(80%);
  }
  .wikibase-sitelinkgroupview > .mw-collapsible-toggle,
  .wikibase-sitelinkgroupview > .mw-collapsible-toggle-expanded,
  .mw-parser-output .wd-mp-headerimage, .wikibase-toolbar-button-remove .wb-icon {
    filter: invert(100%);
  }
  .mw-parser-output .tool2-userscript {
    border-color: var(--green-3);
  }
  .mw-parser-output .tool2-external {
    border-color: var(--brown-2);
  }
  .mw-parser-output .tool2-gadget {
    border-color: var(--purple-2);
  }
  .navbox[style*="background: #CDDDDD"] {
    border-color: var(--gray-2f) !important;
  }
  table[style="box-shadow: 0 0 .2em #999; background-color:white;"] {
    box-shadow: 0 0 .2em var(--gray-4) !important;
    background-color: var(--gray-28) !important;
  }
  div[style*="background: #90EE90"] {
    background: var(--green-2) !important;
  }
  p {
    color: var(--gray-c) !important;
  }
  th.navbox-title[style*="background: #CDDDDD;"], th.navbox-title div {
    background: var(--gray-2f) !important;
    border-color: var(--gray-2f) !important;
  }
  th.navbox-group, th.navbox-title abbr, .nv-view, .nv-talk, .navbox tr {
    background: var(--gray-2f) !important;
  }
  .navbox-group a {
    background: none !important;
  }
  td[style*="background: #EFFFFF;"] {
    background: var(--ores-1) !important;
  }
  td[style*="#90EE90"] {
    border-color: var(--green-2) !important;
  }
  #mw-content-text .mp-frame .mp-frame-header[style*="background: #990000"] {
    background-color: var(--red-3) !important;
  }
  #mw-content-text .mp-frame .mp-frame-header[style*="background: #339966"] {
    background-color: var(--green-2) !important;
  }
  #mw-content-text .mp-frame .mp-frame-header[style*="background: #006699"] {
    background-color: var(--blue-4) !important;
  }
  .mw-parser-output .mp-frame {
    box-shadow: 0 0 .3em var(--gray-7);
  }
}
@-moz-document domain("m.wikidata.org") {
  .mw-parser-output .wd-mp-headerimage {
    filter: invert(100%);
  }
  .mw-parser-output .wd-mp-headerbox {
    background-color: var(--gray-2) !important;
  }
  .mw-parser-output .wd-mp-subheader > div {
    background-color: var(--gray-2);
  }
  .mw-parser-output .wd-mp-header {
    color: var(--gray-c);
  }
  .header .branding-box h1, .header .branding-box a {
    color: var(--gray-9a);
  }
}
@-moz-document domain("query.wikidata.org") {
  html, body {
    background-color: var(--gray-2) !important;
    background-image: var(--bg-selected) !important;
    background-clip: border-box !important;
    background-origin: padding-box !important;
    background-attachment: var(--bg-attachment) !important;
    color: var(--gray-9a);
    /*[[bg-options]]*/
  }
  .wikibase-queryservice {
    background-color: var(--gray-2);
  }
  #query-box .status .list-group-item-success {
    background-color: var(--green-2);
    color: var(--green-1);
    text-decoration-color: var(--green-1);
  }
  #query-box .toolbar {
    border-right: 1px solid var(--gray-5);
  }
  #query-box .status {
    color: var(--gray-9a);
  }
  .navbar-default {
    background: var(--gray-18);
    border-bottom: 1px solid var(--gray-4);
  }
  .navbar-default .navbar-collapse, .navbar-default .navbar-form,
  .navbar-default {
    border-color: var(--gray-5);
  }
  #execute-button {
    background: var(--base-color);
    border: 2px solid var(--base-color);
  }
  #execute-button:hover {
    background: var(--base-color);
    border-color: var(--base-color);
    opacity: .9;
  }
  #query-box .status .list-group-item-danger {
    background-color: var(--red-0);
    color: var(--red-1);
    text-decoration-color: var(--red-1);
  }
  #query-box .status .badge {
    border: 1px solid var(--gray-4);
  }
  #query-box .query-helper .panel-heading {
    background: var(--gray-2);
    border-bottom: 1px solid var(--gray-4);
  }
  #query-box .query-helper .panel-body-sub .query-helper-section {
    border-bottom: 1px solid var(--gray-4);
  }
  .btn-default, .btn-default:not(:active) {
    background: var(--gray-2);
    border: 1px solid var(--gray-4);
    color: var(--gray-a);
  }
  .btn-default:hover {
    background: var(--gray-3);
    border: 1px solid var(--gray-5);
    color: var(--gray-b9);
  }
  .nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
    background-color: var(--gray-2);
    border-color: var(--base-color);
  }
  .navbar .dropdown-menu, .table-hover > tbody > tr:hover, .brand {
    background: var(--gray-2);
  }
  .dropdown-menu {
    background-color: var(--gray-2);
    border: 1px solid var(--gray-4);
    box-shadow: 0 6px 12px var(--black_17);
  }
  .dropdown-menu .divider {
    background-color: var(--gray-4);
  }
  .dropdown-menu > li > a {
    color: var(--gray-9a);
  }
  .navbar .dropdown-menu > li > a:hover {
    background: var(--gray-3);
    color: var(--gray-a);
  }
  .btn-default.active, .btn-default:active, .open > .dropdown-toggle.btn-default {
    color: var(--gray-e);
    background-color: var(--gray-2);
    border-color: var(--base-color);
  }
  .btn-default.active.focus, .btn-default.active:focus,
  .btn-default.active:hover, .btn-default:active.focus,
  .btn-default:active:focus, .btn-default:active:hover,
  .open > .dropdown-toggle.btn-default.focus,
  .open > .dropdown-toggle.btn-default:focus,
  .open > .dropdown-toggle.btn-default:hover {
    color: var(--gray-e);
    background-color: var(--gray-3);
    border-color: var(--gray-5);
  }
  a, div.tagCloud span a, a:hover, .panel-info > .panel-heading {
    color: var(--base-color);
  }
  .navbar-brand, .navbar-nav > li > a {
    text-shadow: 0 1px 0 var(--white_25);
    color: var(--gray-9a);
  }
  .navbar-default .navbar-nav > li > a:focus,
  .navbar-default .navbar-nav > li > a:hover {
    color: var(--gray-9a);
    background-color: transparent;
  }
  .select2-container--default .select2-selection--single {
    background-color: var(--gray-2);
    border: 1px solid var(--gray-4);
  }
  .select2-container .select2-dropdown {
    background: var(--gray-2);
    border-color: var(--gray-4);
  }
  .select2-container .select2-results__option--highlighted[aria-selected] {
    background: var(--gray-2);
    color: var(--gray-9a);
  }
  .select2-container .select2-results__option--highlighted[aria-selected="false"]:hover {
    background: var(--gray-3);
    color: var(--gray-9a);
  }
  .select2-container .select2-selection--single .select2-selection__rendered {
    color: var(--gray-9a);
  }
  input.select2-search__field[type="search"] {
    background: var(--gray-18);
  }
  input[type="number"] {
    background: var(--gray-3);
    border-color: var(--gray-4);
  }
  .select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--gray-4);
  }
  .splitter {
    filter: grayscale(1) invert(95%) hue-rotate(180deg) contrast(75%);
  }
  a.disabled {
    color: var(--gray-c);
    opacity: .8;
  }
  .btn.focus, .btn:focus, .btn:hover {
    color: var(--gray-b);
  }
  .fa-play::before {
    color: var(--gray-e);
  }
  .panel {
    background-color: var(--gray-2);
  }
  .modal-content {
    background-color: var(--gray-1);
    border-color: var(--gray-4);
    border: 1px solid var(--black_2);
    box-shadow: 0 3px 9px var(--gray-6_5);
  }
  .nav > li > a:focus, .nav > li > a:hover {
    text-decoration: none;
    background-color: var(--gray-3);
  }
  .QueryExamples .modal-content .input-group-addon,
  .QueryExamples .modal-content .exampleTable {
    border-color: var(--gray-5);
  }
  .input-group-addon {
    color: var(--gray-9a);
    background-color: var(--gray-2);
    border-color: var(--gray-5);
  }
  .form-control {
    color: var(--gray-9a);
    background-color: var(--gray-1);
    border: 1px solid var(--gray-5);
  }
  .table > tbody > tr.active > td, .table > tbody > tr.active > th,
  .table > tbody > tr > td.active, .table > tbody > tr > th.active,
  .table > tfoot > tr.active > td, .table > tfoot > tr.active > th,
  .table > tfoot > tr > td.active, .table > tfoot > tr > th.active,
  .table > thead > tr.active > td, .table > thead > tr.active > th,
  .table > thead > tr > td.active, .table > thead > tr > th.active {
    background-color: var(--gray-2);
  }
  .table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td,
  .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    border-top: 1px solid var(--gray-5);
  }
  .table-bordered > tbody > tr > td, .table-bordered > tbody > tr > th,
  .table-bordered > tfoot > tr > td, .table-bordered > tfoot > tr > th,
  .table-bordered > thead > tr > td, .table-bordered > thead > tr > th,
  .table-bordered {
    border-color: var(--gray-4);
  }
  .form-control:focus {
    border-color: var(--base-color);
            box-shadow: none;
    -webkit-box-shadow: none;
  }
  .popover {
    background-color: var(--gray-18);
    border-color: var(--gray-4);
    -webkit-box-shadow: 0 5px 10px var(--black_2);
            box-shadow: 0 5px 10px var(--black_2);
  }
  .popover-title {
    background-color: var(--gray-2);
    border-color: var(--gray-4);
  }
  .popover.left > .arrow::after {
    border-left-color: var(--gray-18);
  }
  .popover.top>.arrow:after {
    border-top-color: var(--gray-18);
  }
  .popover.right>.arrow:after {
    border-right-color: var(--gray-18);
  }
  .popover.bottom>.arrow:after {
    border-bottom-color: var(--gray-2);
  }
  .popover.left > .arrow {
    border-left-color: var(--gray-4);
  }
  .popover.top > .arrow {
    border-top-color: var(--gray-4);
  }
  .popover.right > .arrow {
    border-right-color: var(--gray-4);
  }
  .popover.bottom > .arrow {
    border-bottom-color: var(--gray-4);
  }
  .popover pre {
    background: var(--gray-1);
    color: inherit;
    border-color: var(--gray-4);
  }
  .cm-comment, .cm-link {
    font-style: italic;
  }
  .CodeMirror {
    background: var(--gray-18);
  }
  .CodeMirror-gutters {
    background: var(--gray-2);
    border-right: 1px solid var(--gray-4);
  }
  .CodeMirror-guttermarker {
    color: var(--white);
  }
  .CodeMirror-guttermarker-subtle, .CodeMirror-linenumber {
    color: var(--gray-a);
  }
  .CodeMirror-cursor {
    border-left: 1px solid var(--white);
  }
  .CodeMirror-activeline-background {
    background: var(--cm-1);
  }
  .CodeMirror-matchingbracket {
    outline: 1px solid var(--gray);
    color: var(--white);
  }
  .cm-keyword {
    color: var(--cm-2);
  }
  .cm-atom {
    color: var(--cm-3);
  }
  .cm-number {
    color: var(--cm-4);
  }
  .cm-def {
    color: var(--cm-5);
  }
  .cm-variable-2, .cm-variable-3, span.cm-def, span.cm-tag {
    color: var(--cm-6);
  }
  .cm-builtin, .cm-operator {
    color: var(--cm-7);
  }
  .cm-comment {
    color: var(--gray-7);
    font-weight: 400;
  }
  .cm-string {
    color: var(--cm-8);
  }
  .cm-string-2 {
    color: var(--cm-9);
  }
  .cm-meta {
    background-color: var(--gray-18);
    color: var(--cm-10);
  }
  .cm-tag {
    color: var(--cm-11);
  }
  .cm-attribute {
    color: var(--cm-12);
  }
  .cm-header {
    color: var(--cm-13);
  }
  .cm-hr {
    color: var(--cm-14);
  }
  .cm-link {
    color: var(--cm-15);
    text-decoration: none;
  }
  .cm-error {
    border-bottom: 1px solid var(--red);
  }
}
@-moz-document domain("wikipedia.org") {
  /*** Navigation menu logo ***/
  #p-logo a {
    background-position: center -155px !important;
    display: table-cell !important;
    vertical-align: middle !important;
  }
  #p-logo a::before, #p-logo a::after {
    display: block !important;
    background: inherit !important;
    content: "" !important;
  }
  #p-logo a::before {
    background-position: center 0 !important;
    filter: brightness(90.5%) !important;
    height: 108px !important;
  }
  #p-logo a::after {
    background-position: center -108px !important;
    filter: invert(90.5%) !important;
    height: 47px !important;
  }
  a.image img[src*="Wikipedia-logo-v2.svg"] {
    background-color: inherit !important;
  }
  a.image img[src*="Wikipedia_wordmark.svg"] {
    filter: invert(1) brightness(90%);
  }
  /* Article assessment colors */
  .assess-fa-text, .assess-fl-text {
    color: var(--assess-1) !important;
  }
  .assess-a-text, .assess-al-text {
    color: var(--assess-2) !important;
  }
  .assess-ga-text {
    color: var(--assess-3) !important;
  }
  .assess-b-text, .assess-bl-text {
    color: var(--assess-4) !important;
  }
  .assess-c-text, .assess-cl-text {
    color: var(--assess-5) !important;
  }
  .assess-start-text {
    color: var(--assess-6) !important;
  }
  .assess-stub-text, .assess-sl-text {
    color: var(--assess-7) !important;
  }
  .assess-list-text {
    color: var(--assess-8) !important;
  }
  .assess-bplus-text {
    color: var(--assess-9) !important;
  }
  .assess-dab-text, .assess-setindex-text {
    color: var(--assess-10) !important;
  }
  .assess-cur-text {
    color: var(--assess-11) !important;
  }
  .assess-future-text {
    color: var(--assess-12) !important;
  }
  /* https://en.wikipedia.org/wiki/YAML fixes */
  td[style*="background: #FFFF66;"] {
    background: var(--yellow-2) !important;
  }
  td[style*="background: #ffd6ff;"] {
    background: var(--pink-3) !important;
  }
  a.image img[src*="System-installer.svg"], a.image img[src*="Graduation_cap"],
  a.image img[src*="Crystal_kcontrol"],
  a.image img[src*="Wikipedia_New_page_reviewer.svg"],
  a.image img[src*="Scale_of_justice_2.svg"],
  a.image img[src*="Crystal_kthememgr.svg"],
  a.image img[src*="Question_book-new.svg"] {
    background: inherit !important;
  }
  /* https://en.wikipedia.org/wiki/YAML syntax fixes */
  .mw-highlight .c1 {
    color: var(--cm-8);
  }
  .mw-highlight .nv, .mw-highlight .nn {
    color: var(--cm-5);
  }
  .mw-highlight .no {
    color: var(--cm-13);
  }
  .ns-talk .mw-body-content dl {
    border: 0;
  }
  div[style*="border:2px solid #90C0FF; background:#F0F0FF;"] hr {
    background-color: var(--gray-4) !important;
  }
  .ns-talk .mw-body-content dl, .ns-talk .mw-body-content dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl dl dl dl dl {
    background: inherit;
  }
  table.cmbox-notice {
    background-color: var(--blue-2) !important;
  }
}
@-moz-document
regexp("^https://(foundation|donate)\.wikimedia\.org.*$") {
  .mw-wiki-logo {
    filter: invert(1) brightness(80%);
  }
  img[src*="OOjs_UI_icon_info"] {
    filter: invert(1) brightness(75%);
  }
  div[style*="background: #eaf3ff;"] {
    background: var(--blue-2) !important;
    border-top-color: var(--blue-1) !important;
  }
  div[style*="background-color: none; border:6px solid #36c;"] {
    background: none !important;
    border-color: var(--blue-1) !important;
  }
  #form-wrapper {
    background-color: var(--gray-18);
    border: 1px solid var(--gray-5);
    color: var(--gray-c);
  }
  input[type="radio"]:checked + .frb-btn {
    background-color: var(--base-color);
    color: var(--gray-e);
    border-color: var(--base-color);
  }
  .frb-btn, .payment-method-button {
    background-color: var(--gray-3);
    color: var(--gray-c);
    border: 1px solid var(--gray-5);
  }
  .frb-btn:hover {
    background-color: var(--gray-4);
    color: var(--gray-c);
    border-color: var(--gray-5);
  }
  .frb-btn:active {
    background-color: var(--gray-3);
    color: var(--gray-c);
    border-color: var(--gray-3);
  }
  .payment-method-button:hover {
    background-color: var(--gray-5) !important;
    border-color: var(--base-color);
  }
  #appeal h2, #appeal-head {
    border-bottom: 1px solid var(--gray-5);
  }
  #infobox-wrapper {
    color: var(--gray-c);
  }
}
@-moz-document domain("es.wikipedia.org") {
  .mw-parser-output .main-top-left {
    background-image: linear-gradient(to right, var(--gray-28) 10%, var(--gray-2) 70%, transparent 100%);
  }
  .mw-parser-output .main-top, .mw-parser-output .main-box {
    background-color: var(--gray-28);
    border: 1px solid var(--gray-4);
  }
  .mw-parser-output .main-box-section, h1, h2, h3, h4, h5, h6 {
    color: var(--gray-a);
  }
  a.image img[src*="Science"] {
    background: inherit !important;
    filter: brightness(280%);
  }
  a.image img[src*="History2"], a.image img[src*="Vote"],
  a.image img[src*="Tecno"] {
    background: inherit !important;
  }
  div[style*="background-color: #EEEEEE"] {
    background-color: var(--gray-28) !important;
  }
  .ambox-notice {
    border-top: 5px solid var(--blue-1) !important;
  }
  .not-patrolled {
    background-color: var(--brown-4);
  }
  .mw-tag-marker {
    background-color: var(--brown-2);
  }
  .oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget,
  .footer-sidebar-text, .site-license,
  .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle {
    color: var(--gray-9a);
  }
  .oo-ui-menuOptionWidget.oo-ui-optionWidget-selected.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted,
  .oo-ui-menuOptionWidget.oo-ui-optionWidget-pressed.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
    color: var(--base-color);
  }
}
@-moz-document domain("sl.wikipedia.org") {
  th[style*="color:black"], td[style*="color:black;background:Gainsboro"] {
    color: var(--gray-c) !important;
    background: var(--purple-1) !important;
  }
  td[style*="color:black;background:Gainsboro"] {
    color: var(--gray-a) !important;
  }
  td[style="background:SkyBlue; color:black"] {
    background: var(--purple-1) !important;
  }
}
@-moz-document domain("de.wikipedia.org") {
  img[src*="24px-OOjs_UI_icon_signature-ltr.svg"] {
    filter: invert(1) brightness(75%);
  }
  a.image img[src*="Kreuz_als_Fu%C3%9Fnotenzeichen_in_Henderson"],
  a.image img[src*="37_Fides_symbol"],
  a.image img[src*="Familiae_Augustae_Franconicae_Genealogia_%28ca._1650%29_tabula_ad_p.10_%28excerpt%29"] {
    background: inherit !important;
    filter: invert(90%) hue-rotate(180deg) brightness(90%) contrast(100%);
  }
  /* fix border due to image inversion in above rule */
  a.image img[src*="Familiae_Augustae_Franconicae_Genealogia_%28ca._1650%29_tabula_ad_p.10_%28excerpt%29"],
  img[src*="Kreuz_als_Fu%C3%9Fnotenzeichen_in_Henderson"],
  a.image img[src*="37_Fides_symbol"] {
    border: 1px solid var(--gray-c) !important;
  }
  input::placeholder, textarea::placeholder {
    color: var(--gray-7) !important;
  }
  font[color="#686868"] {
    color: var(--gray-9a) !important;
  }
  .oo-ui-toolbar-narrow.oo-ui-toolbar-position-top .oo-ui-toolbar-bar::after {
    border-bottom: 1px solid var(--gray-5) !important;
  }
  #hauptseite .inhalt {
    background: var(--black_25);
    border: 1px solid var(--gray-4) !important;
  }
  span[style*="background-image: linear-gradient(#fdfefe 0,#e8f2f8 16px);"],
  kbd[style*="background: #F7F7F7;"] {
    background: var(--black_25) !important;
  }
  td[style*="background:#f2f2f4;"], td[style*="background-color:#f2f2f4;"] {
    background: var(--gray-28) !important;
  }
  td[style*="background: #EAEAEA;"] {
    background: var(--gray-28) !important;
    border-color: var(--gray-1) !important;
  }
  .zebra td[style*="border-color: #fdfdfd"] {
    border-color: var(--gray-1) !important;
  }
  kbd[style*="border-color:#DDDDDD #AAAAAA #888888 #CCCCCC;"], .rahmenfarbe1 {
    border-color: var(--gray-4) !important;
  }
  .rahmenfarbe2 {
    border-color: var(--gray-4);
  }
  html[lang="de"] body #mw-content-text #hauptseite h2 {
    background: var(--blue-2) !important;
    border: 1px solid var(--blue-3) !important;
  }
  table > * > tr.hintergrundfarbe2 > th, table > * > tr > th.hintergrundfarbe2,
  table.hintergrundfarbe2, .hintergrundfarbe2,
  table > * > tr.hintergrundfarbe1 > th, table > * > tr > th.hintergrundfarbe1,
  table.hintergrundfarbe1, .hintergrundfarbe1 {
    background-color: var(--gray-2);
  }
  table > * > tr.hintergrundfarbe5 > th, table > * > tr > th.hintergrundfarbe5,
  table.hintergrundfarbe5, .hintergrundfarbe5 {
    background-color: var(--gray-3);
  }
  .mw-parser-output div.NavHead {
    background-color: var(--gray-5);
  }
  td[style*="background:#CEDAF2;"],
  .headerSort[style="background-color:#B3B7FF"] {
    background-color: var(--purple-1) !important;
  }
  #Dokumentation\.Info[style*="border: #B3B7FF 3px solid;"],
  #Vorlagendokumentation[style*="border: #B3B7FF 3px solid;"],
  #TemplateData[style*="border:2px solid #B3B7FF;"] {
    border-color: var(--purple-2) !important;
  }
  table.rahmenfarbe3 {
    border: 1px solid var(--red-2) !important;
    border-width: thick !important;
  }
  .editMenus-button {
    background: var(--gray-3);
    border-color: var(--gray-5);
  }
  .editMenus-button:hover {
    background: var(--gray-2);
    border-color: var(--base-color);
  }
  div[style*="background-color: rgb(255, 255, 255); clear: both; color: rgb(0, 0, 0);"] {
    background: transparent !important;
    border-color: var(--gray-5);
  }
  a.menuSwitcher-help-button[style*="background-color: rgb(0, 128, 0);"] {
    background-color: var(--green-2) !important;
    border: 2px solid var(--green-1) !important;
    color: var(--gray-d) !important;
    padding: 2px 4px !important;
  }
  a[style*="background-color: rgb(255, 0, 0); border-color: rgb(128, 128, 128);"] {
    background-color: var(--red-3) !important;
    border: 2px solid var(--red-2) !important;
    color: var(--gray-d) !important;
    padding: 2px 3px !important;
    margin-left: -5px !important;
  }
  div[style*="border-color: #BFB086; background-color:#FFF6D9;"],
  div[style*="border-style:solid; background:#FFFFDD;"] {
    background-color: var(--brown-1) !important;
    border-color: var(--brown-2) !important;
  }
}
@-moz-document domain("fr.wikipedia.org") {
  .homonymie {
    background: transparent;
    border-bottom-color: var(--gray-5);
  }
  figure[typeof~="mw:Image/Thumb"], figure[typeof~="mw:Video/Thumb"],
  figure[typeof~="mw:Audio/Thumb"], figure[typeof~="mw:Image/Frame"],
  figure[typeof~="mw:Video/Frame"], figure[typeof~="mw:Audio/Frame"] {
    border: 1px solid var(--gray-5);
    background-color: var(--gray-28);
  }
  .oo-ui-icon-add, .mw-ui-icon-add::before {
    filter: invert(1);
  }
  #accueil_2017_en-tete {
    background: linear-gradient(to bottom, var(--gray-2), var(--blue-2));
    border-bottom: solid 1px var(--blue-4);
  }
  .accueil_2017_cadre {
    box-shadow: 0 0 .2rem var(--gray-7);
  }
  #mw-content-text .accueil_2017_cadre h2 {
    border-bottom: solid .2rem var(--blue-4);
  }
  .aa-fond-gris {
    background-color: var(--gray-28);
  }
  .aa-fond-blanc, .aa-en-tete-aide-droite {
    background-color: var(--gray-2);
  }
  div[style*="border-color: #AAA; background-color: #FFF;"] {
    background-color: var(--gray-3) !important;
    border-color: var(--gray-4) !important;
  }
  div.NavFrame div.NavHead {
    background: var(--gray-3) !important;
  }
  div[style*="background-color: rgb(239, 239, 239); color: black;"] {
    background: var(--gray-3) !important;
    color: var(--gray-a) !important;
  }
  .bandeau-simple.bandeau-niveau-information,
  .bandeau-discussion.bandeau-niveau-information {
    border-color: var(--blue-4) !important;
    background-color: var(--blue-2);
  }
  .boite-grise {
    background-color: var(--gray-2);
    border-color: var(--gray-4);
  }
  .ns-talk #mw-content-text dl, .ns-talk #mw-content-text dl dl dl,
  .ns-talk #mw-content-text dl dl dl dl dl,
  .ns-talk #mw-content-text dl dl dl dl dl dl dl,
  .ns-talk #mw-content-text dl dl dl dl dl dl dl dl dl,
  .ns-talk #mw-content-text dl dl dl dl dl dl dl dl dl dl dl,
  .ns-talk #mw-content-text dl dl dl dl dl dl dl dl dl dl dl dl dl {
    background: var(--blue-2);
  }
  .ns-talk #mw-content-text dl {
    border-top: solid 1px var(--blue-4);
    border-left: solid 1px var(--blue-4);
  }
  .ns-talk #mw-content-text dl dl, .ns-talk #mw-content-text dl dl dl dl,
  .ns-talk #mw-content-text dl dl dl dl dl dl,
  .ns-talk #mw-content-text dl dl dl dl dl dl dl dl,
  .ns-talk #mw-content-text dl dl dl dl dl dl dl dl dl dl,
  .ns-talk #mw-content-text dl dl dl dl dl dl dl dl dl dl dl dl,
  .ns-talk #mw-content-text dl dl dl dl dl dl dl dl dl dl dl dl dl dl {
    background: var(--gray-2);
  }
  .aa-filet-bleu {
    border-left: 6px solid var(--blue-1);
  }
  .mw-alerte, .bandeau-niveau-modere {
    background: var(--brown-1);
    border: 2px solid var(--yellow-1);
  }
  #wpTextbox1[readonly], #wpTextbox1[readonly] + .ui-resizable > .ace_editor {
    background: var(--gray-18);
  }
  span[style="color:#0645AD"] {
    color: var(--base-color) !important;
  }
  .aa-en-tete-aide-statut {
    background-color: var(--red-3);
  }
  div[style*="background-color: #f9eaea; border-color: #C00;"] {
    background-color: var(--red-0) !important;
    border-color: var(--red-1) !important;
  }
  .aa-titre-rouge {
    color: var(--red-2);
  }
}
@-moz-document domain("wikinews.org") {
  h1.central-textlogo {
    text-shadow: none !important;
  }
  span[style="color: #595959;"] {
    color: var(--gray-7) !important;
  }
  table.xambox-type-content {
    border-left: 15px solid var(--orange-1);
  }
  span[style="color: #8c8c8c;"] {
    color: var(--gray-9a) !important;
  }
  span[style*="color: #000"], span[style*="color:#000"] {
    color: var(--gray-c) !important;
  }
  .ns-talk .mw-body-content dl, .ns-talk .mw-body-content dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl dl dl dl dl {
    background: inherit;
    border: inherit;
  }
  span[style*="color: #000; box-shadow: 0 0 7px #5de;"] {
    color: var(--gray-e) !important;
    box-shadow: 0 1px 3px var(--base-color) !important;
  }
  body .ui-button {
    color: var(--base-color);
    border: 1px solid var(--gray-5) !important;
    background: var(--gray-28) !important;
    background: linear-gradient(to bottom, var(--gray-4) 0%, var(--gray-3) 90%) !important;
  }
  body .ui-button .ui-button-text {
    color: var(--gray-9a);
  }
  .lqt_header_content, .lqt-thread-topmost > .lqt-post-wrapper {
    border-color: var(--gray-5);
  }
  .lqt-post-wrapper {
    border-color: var(--gray-5);
    background: var(--gray-3);
  }
  .thread-collapse-control a {
    filter: invert(1) contrast(70%);
  }
  .lqt-thread-toolbar-menu ul {
    border-color: var(--gray-5);
    background: var(--gray-2);
  }
}
@-moz-document domain("fr.wikinews.org") {
  #bandeau-page {
    border: 2px solid var(--gray-4);
    background-color: var(--gray-28);
  }
  span[style*="color:blue"] {
    color: var(--cm-5) !important;
  }
  tr.blanco-hover {
    background: var(--gray-2);
  }
  tr.gris-hover {
    background: var(--gray-1);
  }
  tr.blanco-hover:hover, tr.gris-hover:hover {
    background: var(--brown-4);
  }
  [class*="ns-"] #content {
    border-left: 1px solid var(--gray-5);
  }
  span.accueil_WIKI {
    color: var(--gray-d);
  }
  span.accueil_NEWS {
    color: var(--gray-7);
  }
  div.bord_VOUS {
    border-top: 1px solid var(--gray-5);
    border-bottom: 1px solid var(--gray-5);
  }
  div[style*="background: #00AF89;"] {
    background: var(--green-2) !important;
  }
  div[style*="background: #36C;"] {
    background: var(--blue-4) !important;
  }
  div[style*="background: #D33;"] {
    background: var(--red-3) !important;
  }
  div[style*="background: #F16633;"] {
    background: var(--yellow-1) !important;
  }
  div[style*="background-color: #FFFFFF;"] {
    background-color: var(--gray-18) !important;
  }
  div[style*="background-color:#a7d7f9;"] {
    background-color: var(--blue-3) !important;
  }
  div[style*="background-color:#D8D8D8;"] {
    background-color: var(--gray-3) !important;
  }
  div[style*="background-color:#a7c6d1;"] {
    background-color: var(--blue-2) !important;
  }
  .bandeau-niveau-ebauche, .bandeau-niveau-information {
    border-color: var(--blue-4);
    background-color: var(--gray-2);
  }
  a.image img[src*="Factory.svg"], a.image img[src*="Euro_symbol_black.svg"],
  a.image img[src*="Biohazard_symbol.svg"], a img[src*="Biohazard_symbol.svg"],
  a.image img[src*="Society.svg"], a.image img[src*="Sports_icon_block_1.png"],
  a.image img[src*="Crime.svg"], a.image img[src*="Do_dans_huit_clefs.svg"],
  a img[src*="GClef.svg"], a img[src*="Black_Ribbon.svg"] {
    filter: invert(1) brightness(70%) contrast(90%);
  }
  a.image img[src*="Bullseye1.png"],
  a.image img[src*="%28orthographic_projection%29.svg"],
  a.image img[src*="Europe_orthographic_Caucasus_Urals_boundary"],
  a.image img[src*="Nuvola_apps_kchart"], a.image img[src*="Sciences_exactes"],
  a.image img[src*="Gnome-applications-science"],
  a.image img[src*="Wiki-black.png"], a.image img[src*="P_culture"],
  a.image img[src*="Sport_balls.svg"], a.image img[src*="Terra"],
  a.image img[src*="View-refresh.svg"],
  a.image img[src*="Scale_of_justice_2.svg"],
  a.image img[src*="P_parthenon.svg"], a.image img[src*="Weather-clear.svg"],
  a.image img[src*="Weather-heavy-overcast.svg"] {
    background: inherit !important;
  }
  a.image img[src*="Wikinews_Africa"] {
    filter: invert(1) hue-rotate(180deg) brightness(150%) contrast(69%);
  }
  div.mw-warning-with-logexcerpt {
    background-color: var(--brown-3);
    border-color: var(--brown-2);
  }
  div[style*="background-color:#e5edff;color:#000;padding: .3em .5em;border:2px solid #5f90fd;border-bottom:2px solid #5f90fd;"] {
    background-color: var(--blue-3) !important;
    border-color: var(--blue-1) !important;
  }
  td[style*="background:#e1edff; border: 1px solid #bfd7ff;"] {
    background-color: var(--blue-3) !important;
    border-color: var(--blue-4) !important;
  }
  td[style="border-left: 1px solid #bfd7ff;border-right: 1px solid #bfd7ff;border-bottom: 1px solid #bfd7ff;"],
  td[style*="border:1px solid #0B0B61;"] {
    border-color: var(--blue-4) !important;
  }
  div.image_une {
    border-color: var(--blue-3) !important;
  }
  font[color="#000080"] {
    color: var(--blue-1);
  }
  span[style="color:#005500"] {
    color: var(--green-1) !important;
  }
  #content a:hover span[style="color:#005500"] {
    color: var(--green-1) !important;
  }
  td[style="border: 1px solid #9f8f9f; padding: .5em 1em 1em; color: #000000; background-color: #ffffff"] {
    border: 1px solid var(--gray-5) !important;
  }
  div[style="border: 1px solid #cfcfbf;padding: .5em 1em 1em; color: #000000; background-color: #ffffff"] {
    background-color: var(--gray-28) !important;
    border-color: var(--gray-5) !important;
  }
  td[style*="color: #000000; background-color: #f8f8ff"] {
    color: var(--gray-9a) !important;
  }
  table[style*="border:1px solid #aaaaaa; background-color:#eeeeff;"] {
    background-color: var(--purple-0) !important;
    border-color: var(--purple-2) !important;
  }
  div[style*="border:1px solid #999; border-right: 2px solid #999; border-bottom: 2px solid #999; background:#fff;"] {
    border-color: var(--gray-4) !important;
  }
  table[style*="border-top: 1px solid #99b2cc; border-right: 2px solid #99b2cc; border-bottom: 2px solid #99b2cc; border-left: 1px solid #99b2cc"],
  .mw-parser-output table.entete_cafe {
    border: 2px solid var(--blue-3) !important;
    background-color: var(--gray-28) !important;
  }
  .deroule_cafe div[style*="background-color"],
  .deroule_cafe div[style*="background: #ffffff"] {
    border-right: 1px solid var(--gray-4) !important;
    border-left-color: var(--gray-5) !important;
    border-top-color: var(--gray-5) !important;
    border-bottom: 1px solid var(--gray-4) !important;
    background: var(--gray-3) !important;
  }
  mark {
    background-color: var(--brown-2);
    color: var(--gray-c);
  }
  div[style*="background-color:#f9f9f9; color:black;"] {
    background: var(--gray-3) !important;
    color: var(--gray-a) !important;
  }
  table.entete_cafe td {
    background-color: var(--gray-28);
    color: var(--gray-9a);
  }
  .mw-electronpdfservice-selection-form label {
    border: 1px solid var(--gray-5);
    color: var(--gray-a);
  }
}
@-moz-document domain("no.wikipedia.org") {
  .infoboks.biografi tr.overskrift th, .infoboks tr.rad td,
  .infoboks tr.bilde td, .infoboks tr.overskrift td {
    background-color: var(--gray-2) !important;
  }
}
@-moz-document domain("ru.wikipedia.org"), domain("ru.wiktionary.org") {
  .mw-parser-output .main-top, .mw-parser-output .main-box, #mw-page-base {
    background-color: transparent;
  }
  .mw-parser-output .main-top-left {
    background-image: linear-gradient(to right, var(--gray-2) 75%, transparent);
  }
  .ns-0 #mw-content-text h1 {
    background: transparent;
  }
  .mw-parser-output .main-top-right {
    background-image: linear-gradient(to right, transparent 30%, var(--black_5) 95%, transparent);
  }
  .mw-customtoggle {
    filter: invert(80%);
  }
  .mw-collapsible-toggle, .mw-parser-output .shortcutbox td a img {
    filter: grayscale(1) brightness(200%);
  }
  .mw-parser-output .main-top {
    filter: brightness(80%);
  }
  #mw-panel .portal:not(#p-navigation) .body {
    background-image: linear-gradient(to top, transparent, var(--gray-c));
    background-size: auto 1px;
  }
  th.infobox-header[style*="background:#b0c4de;"], .standard > tr > th,
  .standard > * > tr > th, .wide > tr > th, .wide > * > tr > th,
  th[style*="color:#fff; background:#69c;"],
  .infobox td[style*="background-color:#cedff2;"], tr[bgcolor="#cedff2"],
  td[style*="background:#cfe3ff;"], td[style*="background:#eaf3ff;"] {
    background-color: var(--blue-3) !important;
  }
  th.infobox-above[style*="background:#cedff2;"] {
    background: var(--blue-3) !important;
  }
  td[style*="background:#eef9ff;"], td[style*="background: #f0faff;"] {
    background-color: var(--blue-2) !important;
  }
  td[style*="background: #a0e0ff;"] {
    background-color: var(--blue-1) !important;
  }
  .mw-parser-output .shortcutbox td {
    background-color: var(--blue-3);
  }
  div[style*="border: solid #a0e0ff 1px;"] {
    border-color: var(--blue-1) !important;
  }
  input.mw-ui-button {
    color: var(--white) !important;
  }
  input.mw-ui-button:hover {
    opacity: .8;
  }
  th[style*="background:#ffd399;"] {
    background: var(--brown-2) !important;
  }
  td[style="background:#ffffec"] {
    background: var(--brown-3) !important;
  }
  th[style*="background:#eaecf0;"] {
    background: var(--gray-3) !important;
  }
  .messagebox.standard-talk, .mw-parser-output .t-Перенесено-movedBox {
    background: var(--brown-1);
    border: 1px solid var(--brown-2) !important;
  }
  .mw-parser-output table tr td[style*="background: #edf3fe;"],
  .mw-parser-output .ts-Родственные_проекты {
    background: var(--gray-2) !important;
  }
  .mw-parser-output table tr td[style*="background: #ffffff;"],
  td[style*="background: #f9f9f9;"] {
    background: var(--gray-18) !important;
  }
  div.NavFrame div.NavHead {
    background: var(--gray-18);
  }
  .mw-parser-output .shortcutbox-shortcutsCell.shortcutbox-shortcutsCell {
    background-color: var(--gray-4);
  }
  .mw-parser-output table tbody tr th[style*="background:#ccccff;"] {
    background: var(--purple-1) !important;
  }
  .mw-parser-output table.ambox-notice {
    border-left-color: var(--blue-1) !important;
  }
  .standard > tr > th, .standard > tr > td, .standard > * > tr > th,
  .standard > * > tr > td, .wide > tr > th, .wide > tr > td, .wide > * > tr > th,
  .wide > * > tr > td {
    border-color: var(--gray-5);
  }
  div[style*="border: solid #aaa 1px;"] {
    border-color: var(--gray-5) !important;
  }
  a span[style*="color"] {
    color: var(--base-color) !important;
  }
  .ns-0 .mw-disambig {
    background-color: var(--red-3);
  }
  #ca-nstab-портал {
    border-right: 0 !important;
  }
  .ruwiki-addSectionBottom {
    color: var(--base-color);
    background: var(--blue-3);
    border: 1px solid var(--blue-2);
  }
  div[style="border-bottom: solid 2px #479429;"],
  div[style*="border:1px solid #479429;"],
  div[style="border-bottom: solid 2px #479429;"] {
    border-color: var(--green-1) !important;
  }
}
@-moz-document domain("en.wiktionary.org") {
  .mw-wiki-logo {
    background-image: url("https://upload.wikimedia.org/wikipedia/meta/2/21/Wiktionary-logo-tiles_1x.png");
    width: 120px !important;
    height: 120px !important;
    margin-left: 30px !important;
    background-size: cover;
  }
  #p-logo:before {
    content: "Wiktionary";
    margin-left: 40px !important;
    font-size: 20px;
    color: #aaa;
  }
  #p-logo:after {
    content: "The free Dictionary";
    margin-left: 26px !important;
    font-size: 14px;
    color: #aaa;
    vertical-align: text-top;
  }
  #main_page_mp-mp {
    background-color: transparent !important;
  }
  #main_page_mp-mp div {
    background-color: var(--gray-2) !important;
  }
  #main_page_mp-mp table {
    border-color: var(--gray-5) !important;
  }
  div.NavFrame div.NavHead {
    color: var(--gray-2);
  }
  div.NavFrame div.NavHead, details.NavFrame summary.NavHead {
    background: var(--gray-7);
  }
  div.NavFrame div.NavHead:hover, details.NavFrame summary.NavHead:hover {
    background: var(--gray-9a);
  }
  .NavContent .translations form span[style*="color"] {
    color: var(--base-color) !important;
  }
}
@-moz-document domain("wikiversity.org") {
  tr + tr > .navbox-abovebelow, tr + tr > .navbox-group, tr + tr > .navbox-image,
  tr + tr > .navbox-list {
    border-top: 2px solid var(--gray-5);
  }
  .navbox-even {
    background: var(--gray-18);
  }
  td[style*="background-color: Azure; border: 1px solid RoyalBlue;"] {
    background: var(--green-4) !important;
    border: 1px solid var(--green-2) !important;
  }
  div[style*="background-color:#375acf; width: 20em; border:1px solid #999999;"] {
    background-color: var(--base-color) !important;
    border: 1px solid var(--gray-5) !important;
  }
  div[style*="background-color: #f6f6f6"] {
    background-color: var(--gray-2) !important;
  }
  div[style*="background-color: #fffcf1" i],
  .messagebox.standard-talk td[style*="background"], .navbox-list.navbox-even,
  .navbox-list.navbox-odd {
    background-color: transparent !important;
  }
  div[style*="background-color:#ced1fa" i] {
    background-color: var(--blue-3) !important;
  }
  div[style*="background-color:#e6c6e6" i] {
    background-color: var(--purple-1) !important;
  }
  div[style*="background-color:wheat" i] {
    background-color: var(--brown-3) !important;
  }
  div[style*="background-color:#c0eaa6"] {
    background-color: var(--brown-2) !important;
  }
  div[style*="color:black"], span[style*="color: black"],
  th[style*="color:#000000"] {
    color: var(--gray-a) !important;
  }
}
@-moz-document domain("wikisource.org") {
  .mw-wiki-logo {
    filter: invert(1) hue-rotate(180deg) brightness(80%) contrast(140%);
  }
  div#editpage-specialchars a {
    background: var(--gray-2) !important;
  }
  img[src*="QA_icon_clr.svg"][height="18"] {
    filter: none !important;
  }
  img[src*="Aiga_mail.svg"], img[src*="Leaves_of_Grass_%281860%29_p4.png"] {
    filter: invert(1) contrast(70%) !important;
  }
  a.image img[src*="Featured_article_star_-_check.svg"] {
    background: inherit !important;
  }
  .rootpage-Wikisource_talk_Community_portal .warningbox div[style*="color:red;"] p,
  .rootpage-Wikisource_talk_Community_portal .warningbox div[style*="color:red;"] p b {
    color: var(--red-4) !important;
  }
  #navigationNotes div {
    background-color: transparent !important;
  }
  #mf-explore-wikisource div[style*="background"], #plainSister {
    background-color: var(--gray-2) !important;
  }
  .footertemplate {
    background-color: var(--gray-2);
  }
  #navigationHeader > div {
    background-color: var(--gray-2) !important;
    border-color: var(--gray-5) !important;
  }
  #navigationHeader {
    border-color: var(--gray-5) !important;
  }
  .licFrame-top > div[style*="background"] {
    background-color: var(--blue-2) !important;
  }
  .licFrame-top {
    border-color: var(--blue-3) !important;
  }
}
@-moz-document domain("wikivoyage.org") {
  .mw-parser-output .community-container {
    background-color: transparent;
  }
  .mw-parser-output .community-container h4 span {
    color: var(--white) !important;
  }
  .metadata.plainlinks.ombox {
    border-color: var(--gray-5) !important;
  }
  #shortcut {
    background-color: var(--gray-3) !important;
  }
  .ext-related-articles-card-list .ext-related-articles-card {
    background-color: var(--gray-2);
  }
  .ext-related-articles-card-list h3::after {
    background: none;
  }
}
@-moz-document domain("wikiquote.org") {
  div[style*="background-color: #f8f8ff"], #mf-qotd > div {
    background-color: var(--gray-2) !important;
  }
  div[style*="border: 2px solid #faf9b2"], .MainPageLetterHead {
    border-color: var(--gray-5) !important;
  }
  div[style*="background-color: #e2e2ff"] {
    background-color: var(--blue-2) !important;
  }
  div[style*="background-color: #e2e2ff"] {
    background-color: var(--blue-3) !important;
  }
  div[style*="background-color: #faf9b2"] {
    background-color: var(--brown-3) !important;
  }
}
@-moz-document domain("wikibooks.org") {
  .mw-wiki-logo {
    filter: invert(1) hue-rotate(180deg) brightness(90%) contrast(80%);
  }
  span[style*="color: #2020C0;"] {
    color: var(--cm-5) !important;
  }
  /* define white https://en.wikibooks.org/wiki/LaTeX/Colors#The_68_standard_colors_known_to_dvips */
  td[bgcolor=""] {
    background-color: #fff;
  }
  .ns-talk .mw-body-content dl, .ns-talk .mw-body-content dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl dl dl dl dl {
    background: inherit;
    border: inherit;
  }
  table.ambox-protection {
    border-left: 10px solid var(--gray-7);
  }
  .flaggedrevs-color-1 {
    background-color: var(--blue-2);
  }
  .PrettyTextBox {
    background-color: var(--gray-3);
    color: var(--gray-9a);
  }
  td[style*="border:1px solid #2a62a1; background-color:#f4eed7;"] {
    background-color: var(--brown-2) !important;
    border-color: var(--blue-4) !important;
  }
  table[style*="SteelBlue;"] {
    background-color: var(--blue-2) !important;
    border-color: var(--blue-4) !important;
  }
  #mp-content td {
    background-color: var(--gray-2);
    border: thin solid var(--blue-4);
  }
  th[style="background: #dfefff; text-align: center; border-bottom: 1px solid #ccf;"] {
    background-color: var(--blue-2) !important;
    border-color: var(--blue-4) !important;
  }
  table[style*="background-color: #efe"] td {
    background-color: var(--green-4) !important;
    border-color: var(--gray-5) !important;
  }
  table[style*="border: 2px solid #ccccff" i] {
    border-color: var(--blue-2) !important;
  }
  div[style*="border-top:1px solid rgb(167, 215, 249);"] {
    border-color: var(--blue-4) !important;
  }
  div[style*="border-bottom:1px solid #2a62a1; background-color:#9eb8d6;"],
  div[style*="border-bottom:1px solid SteelBlue; background-color:LightSteelBlue;"] {
    background-color: var(--blue-3) !important;
    border-color: var(--blue-4) !important;
  }
  td[style="width:33%; padding:10px; vertical-align:top; background-color:#ddddff;"] {
    background-color: var(--purple-1) !important;
  }
  td[style*="background:#ccccee" i], th[style*="background-color: #dfefff" i] {
    background-color: var(--blue-3) !important;
  }
  table[style*="border:solid #bbbbbb 1px" i] {
    border-color: var(--gray-5) !important;
  }
  table[style*="background:#eeeeee" i] {
    background-color: var(--gray-2) !important;
  }
  .collapsible[style*="background"]:not(td) {
    background-color: var(--gray-3) !important;
  }
  .collapsible .title, .collapsible tr:first-child th,
  .collapsible tr:first-child td {
    color: var(--gray-9a);
  }
  a.image img[src*="sssss"] {
    background: inherit !important;
  }
  a.image img[src*="LaTeX_logo.svg"], img[src*="Phacility"] {
    background: inherit !important;
    filter: invert(1) brightness(90%) !important;
  }
  img[src*="ssd"] {
    background: inherit !important;
    filter: invert(1) hue-rotate(180deg) !important;
  }
}
@-moz-document domain("mediawiki.org") {
  .mw-parser-output .tech-header {
    background-color: var(--gray-28);
  }
  .mw-parser-output .tech-header-intro {
    background: var(--gray-2);
  }
  .mw-parser-output .tech-header-currentpage-forum .tech-header-tab-forum,
  .mw-parser-output .tech-header-currentpage-news .tech-header-tab-news,
  .mw-parser-output .tech-header-currentpage-ambassadors .tech-header-tab-ambassadors,
  .mw-parser-output .tech-header-currentpage-wikimedia-tech .tech-header-tab-wikimedia-tech,
  .mw-parser-output .tech-header-currentpage-wikimedia-prod .tech-header-tab-wikimedia-prod,
  .mw-parser-output .tech-header-currentpage-mediawiki .tech-header-tab-mediawiki {
    background-color: var(--gray-18);
  }
  .mw-parser-output .note-info {
    background-color: var(--brown-3);
    border-color: var(--brown-2) !important;
  }
  .navbox.mw-collapsible th[style*="color:"] {
    color: var(--gray-9a) !important; /* make global? */
  }
  .flow-post {
    color: var(--gray-9a);
  }
  .mw-hiero-table img, a img[src*="Community_Noun_project"],
  a img[src*="Octicons-terminal"], a img[src*="Source_code_project"],
  a img[src*="Plug-in_Noun_project"], a img[src*="Hammer_-_Noun_project"],
  a img[src*="OOjs_UI_icon_message-ltr"], a img[src*="OOjs_UI_icon_book-ltr"],
  a img[src*="Vitruvian_Man_Noun_project"],
  .mbox-image img[src*="OOjs_UI_icon_book"] {
    background: inherit !important;
    filter: invert(1) brightness(80%) !important;
  }
  table.ambox-protection {
    border-left: 10px solid var(--brown-2);
  }
  .mw-parser-output .ts-doc-header {
    background-color: var(--blue-4);
    color: var(--gray-a);
  }
  .mw-parser-output .ts-doc-doc, .mw-parser-output .ts-doc-footer {
    background-color: var(--blue-3);
    border: 1px solid var(--blue-4);
  }
  .mw-charinsert-buttons {
    border-color: var(--gray-5);
  }
}
@-moz-document domain("meta.wikimedia.org") {
  .mw-wiki-logo {
    filter: brightness(135%);
  }
  #otherlangs {
    border: 1px solid var(--gray-5);
    background: var(--gray-28);
  }
  .mw-parser-output .tech-header-intro {
    background: var(--gray-2);
  }
  .mw-parser-output .tech-header-currentpage-news .tech-header-intro {
    border-color: var(--purple-2);
  }
  .mw-parser-output .tech-header {
    background: var(--gray-28);
  }
  .mw-parser-output .tech-header-currentpage-forum .tech-header-tab-forum,
  .mw-parser-output .tech-header-currentpage-news .tech-header-tab-news,
  .mw-parser-output .tech-header-currentpage-ambassadors .tech-header-tab-ambassadors,
  .mw-parser-output .tech-header-currentpage-wikimedia-tech .tech-header-tab-wikimedia-tech,
  .mw-parser-output .tech-header-currentpage-wikimedia-prod .tech-header-tab-wikimedia-prod,
  .mw-parser-output .tech-header-currentpage-mediawiki .tech-header-tab-mediawiki {
    background-color: var(--gray-18);
  }
  .navbox th, table .navbox-title {
    background: var(--purple-1) !important;
  }
  span.mw-ui-button.mw-ui-big[style*="background: #d33682;"] span[style*="color:#FAFAFA"],
  span.mw-ui-button.mw-ui-big[style="background: #d33682;"] {
    background: var(--pink-2) !important;
  }
  span.mw-ui-button[style*="background: #d33682;"] span[style*="color:#FAFAFA"] {
    background: var(--pink-2) !important;
  }
  .tech-header-intro span[style*="background: #6c71c4;"] {
    background: var(--purple-2) !important;
  }
  span.mw-ui-button[style*="background: #6c71c4;"] span[style*="color:#FAFAFA"] {
    background: var(--purple-2) !important;
  }
  .tech-header-intro span[style*="background: #268bd2;"] {
    background: var(--blue-4) !important;
  }
  span.mw-ui-button[style*="background: #268bd2;"] span[style*="color:#FAFAFA"] {
    background: var(--blue-4) !important;
  }
  td[style*="border: 1px solid gray"] {
    border-color: var(--gray-5) !important;
  }
  div.vectorTabs li.selected {
    border-bottom: 3px solid var(--tab-color);
    box-shadow: none !important;
  }
  .mw-parser-output .community-wishlist-header {
    background: var(--blue-2);
  }
  .infobox[style="background: #feeeee;"] {
    border-color: var(--red-3);
  }
  h2[style*="color:#C66; border:none;text-shadow: 1px 1px 0px #FFF;"] {
    text-shadow: none !important;
    color: var(--red-4) !important;
  }
  h2[style*="color:#6B6; border:none;text-shadow: 1px 1px 0px #FFF;"] {
    text-shadow: none !important;
    color: var(--green-1) !important;
  }
  h2[style*="color:#6BB; border:none;text-shadow: 1px 1px 0px #FFF;"],
  h3[style*="color:#6BB; border:none;text-shadow: 1px 1px 0px #FFF;"] {
    text-shadow: none !important;
    color: var(--gray-a) !important;
  }
  div[style*="border:1px solid #eee8d5"] {
    background: var(--brown-3) !important;
    border-color: var(--yellow-1) !important;
  }
  .rootpage-Tech div[style*="background:#fdf6e3"] tbody tr td {
    background: var(--brown-3) !important;
    border-color: var(--brown-1) !important;
  }
  table[style="background: #feeeee;"] {
    background-color: var(--red-0) !important;
  }
  tr[style="background-color:#AAFFD5"] {
    background-color: var(--bluei-a0) !important;
  }
  tr[style="background-color:#AAFFFF"] {
    background-color: var(--bluei-a1) !important;
  }
  tr[style="background-color:#BBFFF1"] {
    background-color: var(--bluei-a2) !important;
  }
  tr[style="background-color:#CCFFE4"] {
    background-color: var(--bluei-a3) !important;
  }
  tr[style*="background-color:#E3FFAA"] {
    background-color: var(--green-a0) !important;
  }
  tr[style="background-color:#C6FFAA"] {
    background-color: var(--green-a1) !important;
  }
  tr[style="background-color:#AAFFAA"] {
    background-color: var(--green-a2) !important;
  }
  tr[style="background-color:#DDFFD6"] {
    background-color: var(--green-a3) !important;
  }
  tr[style="background-color:#EEFFC9"] {
    background-color: var(--green-a4) !important;
  }
  tr[style="background-color:#FFFFBB"] {
    background-color: var(--green-a5) !important;
  }
  div[style*="background:#FFFFFF"] {
    background-color: var(--gray-2) !important;
  }
  td[style="border-bottom:2px solid; background:#6EB4EB;"] {
    background-color: var(--blue-3) !important;
    border-color: var(--green-3) !important;
  }
  td[style="border-bottom:2px solid; background:#cfefcf;"] {
    background-color: var(--green-2) !important;
    border-color: var(--green-3) !important;
  }
  td[bgcolor="#cfefcf"] {
    background-color: var(--green-2) !important;
  }
  th[bgcolor="#FFC1C1"] {
    background-color: var(--red-3) !important;
  }
  th[bgcolor="#B4EEB4"] {
    background-color: var(--green-2) !important;
  }
  th[bgcolor="#C6E2FF"] {
    background-color: var(--blue-4) !important;
  }
  div[style*="border: 2px solid red; background-color: #F1F1DE;"] {
    background-color: var(--red-0) !important;
    border-color: var(--red-1) !important;
  }
  .mw-editTools > .mw-charinsert-buttons a {
    color: var(--gray-a) !important;
    background-color: var(--blue-2) !important;
    border: thin solid var(--blue-4);
  }
  div[style*="background:#F5FAFF;border:1px solid #AAA"] {
    background: var(--blue-2) !important;
    border-color: var(--gray-5) !important;
  }
  div[style*="background:#F9FCFF;border:1px solid #8EB4E6;"] {
    background: var(--blue-2) !important;
    border-color: var(--blue-4) !important;
  }
  div[style*="background-color:#8EB4E6;"] {
    background-color: var(--blue-4) !important;
  }
  div[style*="background:#F9FCFF;border:3px solid #8EB4E6"] {
    background-color: var(--blue-2) !important;
    border-color: var(--blue-3) !important;
  }
  span[style*="background:#cedff2;color:#11e"] {
    background: var(--blue-3) !important;
    color: var(--blue-1) !important;
  }
  div[style*="border:1px solid #ADF;background:#EEF;"] {
    background-color: var(--purple-0) !important;
    border-color: var(--purple-2) !important;
  }
  div[style*="background:#FFF;border:1px solid #AAA"] {
    background-color: var(--gray-2) !important;
    border-color: var(--gray-5) !important;
  }
  div[style*="border-bottom: 3px solid; color:#FFCBA4;"],
  div[style="border-bottom: 3px solid; color: #FF0000;"] {
    border-bottom-color: var(--red-3) !important;
  }
  div[style="border-bottom: 3px solid; color:#9370DB;"],
  div[style="border-bottom: 3px solid; color: #9932CC;"] {
    border-bottom-color: var(--purple-2) !important;
  }
  div[style="border-bottom: 3px solid; color:#FFD700;"],
  div[style="border-bottom: 3px solid; color: #FFA500;"] {
    border-bottom-color: var(--yellow-1) !important;
  }
  table[style*="border-color:#EFEFEF;"] {
    border: 1px solid var(--gray-5) !important;
  }
  div[style*="background:#CFC;"] {
    background: var(--green-2) !important;
    border-color: var(--green-3) !important;
    color: var(--gray-a);
  }
  td[style*="background:#CCC;"], td[style*="background:#AAA;"] {
    background: var(--gray-4) !important;
  }
  .mw-parser-output .privacy-policy-navigation-2 {
    border: 1px solid var(--gray-5);
    background-color: var(--gray-28);
  }
  span[style="color:#252525;border-bottom:1px dotted #C9C9C9"] {
    color: var(--gray-a) !important;
    border-color: var(--gray-5) !important;
  }
  .mw-charinsert-buttons {
    border-color: var(--gray-5);
  }
  a.image img[src*="Globe_of_letters.png"], a.image img[src*="QA_icon_clr.svg"],
  a.image img[src*="Wikimedia_Community_Logo.svg"],
  a.image img[src*="OOjs_UI_icon_alert-warning.svg"],
  a.image img[src*="Nuvola_apps_important.svg"],
  a.image img[src*="Wikispecies-logo"],
  a.image img[src*="Wikimedia_movement_affiliates"],
  a.image img[src*="Wikibooks-logo.svg"],
  a.image img[src*="Wikimedia_chapters_existing_and_regional"],
  a.image img[src*="Wikinews-logo-en.png"],
  a.image img[src*="Wikipedia-logo.png"], a.image img[src*="Wikiquote-logo.svg"],
  a.image img[src*="Wikisource-logo.png"], a.image img[src*="Commons-logo.svg"],
  a.image img[src*="WMF_open_door.png"], a.image img[src*="WMF_chart.png"],
  a.image img[src*="WMF_share.png"], a.image img[src*="WMF_safe.png"],
  a.image img[src*="WMF_sign.png"] {
    background: inherit !important;
  }
  a img[src*="OOjs_UI_icon_help.svg"],
  a.image img[src*="Wiktionary-logo-en.png"],
  span img[src*="TriangleArrow-Left.svg"],
  span img[src*="TriangleArrow-Right.svg"] {
    filter: invert(1) brightness(70%) !important;
  }
  /* fix button cut on left */
  .oo-ui-buttonElement-frameless.oo-ui-iconElement:first-child {
    margin-left: .1em;
  }
  .ns-talk .mw-body-content dl, .ns-talk .mw-body-content dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl dl dl dl dl {
    background: inherit;
    border: inherit;
  }
}
@-moz-document domain("outreach.wikimedia.org") {
  div[style*="background-color: whiteSmoke;"] {
    background-color: var(--gray-28) !important;
  }
  p span[style*="font-weight: bold; color: #404040;"] {
    color: var(--gray-9a) !important;
  }
  .mw-babel-box th[dir], .mw-babel-box th[dir] span {
    color: var(--gray-1) !important;
  }
  img[src*="431px-Wikimedia_Education_horizontal.svg.png"] {
    filter: invert(1) hue-rotate(180deg) brightness(80%) contrast(110%);
  }
  .mw-wiki-logo {
    filter: invert(1) hue-rotate(180deg) brightness(90%) contrast(110%);
  }
  img[src*="20px-Home"], img[src*="20px-About"], img[src*="19px-List"],
  img[src*="21px-Community"], img[src*="20px-Emojione"],
  img[src*="20px-Greenhouse"], img[src*="22px-Community"],
  img[src*="30px-Icon_Facebook"], img[src*="30px-Icon_Twitter"],
  img[src*="30px-YouTube"] {
    filter: invert(1) hue-rotate(180deg) brightness(80%) contrast(110%);
  }
  div[style*="border-top:0.35em solid #FDFEFE; border-bottom:0.35em solid#FDFEFE;"] {
    border-top: .35em solid var(--base-color) !important;
    border-bottom: .35em solid var(--base-color) !important;
  }
  span[style*="border-bottom:0.3em solid #FDFEFE;"] {
    border-bottom: .35em solid var(--base-color) !important;
  }
  span[style*="border-bottom:0.3em solid #c8ccd1;"] {
    border-bottom: .3em solid var(--gray-69) !important;
  }
  td[bgcolor="#F0F0F0"] p span {
    background-color: var(--gray-28) !important;
  }
  span[style="color:#3498DB"], span[style="color:#3498DB"]:hover {
    color: var(--base-color) !important;
  }
  table[style*="background-color:#EEEEEE; border:1px solid #EEEEEE;"] {
    background-color: var(--gray-2) !important;
    border: 1px solid var(--gray-4) !important;
  }
  div[style*="background: #339966; border-radius: .2em; color: #FFFFFF;"] {
    background: var(--green-2) !important;
    color: var(--gray-c) !important;
  }
  table[style*="border: 1px silver solid; background: whitesmoke;"] {
    border: 1px var(--gray-69) solid !important;
    background: var(--gray-3) !important;
  }
}
@-moz-document domain("wikimania.wikimedia.org") {
  span[style*="border-bottom:0.3em solid #235D2E;"] {
    border-bottom: .3em solid var(--green-1) !important;
  }
  .mw-pt-languages-label {
    color: var(--gray-c);
  }
  div[style*="border-color: #aaaaaa;"] {
    border-color: var(--gray-5) !important;
  }
  body, .mw-parser-output .contentframe-2019,
  .plainlinks[style*="background: #FFFFFF;"] {
    background-color: var(--gray-2);
    background-image: var(--bg-selected);
    background-clip: border-box;
    background-origin: padding-box;
    background-attachment: var(--bg-attachment);
    /*[[bg-options]]*/
    color: var(--gray-c);
  }
  #p-logo .mw-wiki-logo, img[src$="1280px-Wikimania2019_meta_banner.svg.png"],
  img[src$="500px-Wikimania2019_logo.svg.png"] {
    filter: invert(90%) hue-rotate(180deg) brightness(90%);
  }
  img[src*="19px-Wikimania2019_person_icon.svg.png"],
  img[src*="20px-Wikimania2019_dove_icon.svg.png"], img[src*="20px"][width="20"],
  img[src*="22px"][width="22"] {
    filter: invert(90%) hue-rotate(180deg);
  }
  img[src*="20px-Wikimania2019_moose_icon.svg.png"][height="18"],
  img[src$="180px-NMS_partnerlockup_grey_green_CMYK_%281%29.svg.png"],
  img[src$="320px-Terrapass_logo.png"],
  img[src$="230px-Eliza_communication.png"] {
    filter: brightness(130%) !important;
  }
  img[alt*="Wikimedia"], img[src$="160px-SIMPLY_LOGO_HDV1080_black.png"] {
    filter: invert(90%) hue-rotate(180deg) brightness(80%);
  }
  img[src$="220px-RAA_logo.jpg"], img[src$="180px-UEklundCiS.jpg"] {
    filter: invert(90%) hue-rotate(180deg) brightness(120%);
  }
  img[src$="250px-Ministry_for_Foreign_Affairs.png"],
  img[src$="120px-KB-logo_svart.png"],
  img[src$="160px-StockholmsStad_logotypeStandardA5_300ppi_svart.png"] {
    filter: invert(1) hue-rotate(180deg) brightness(90%);
  }
  img[src$="140px-Musikverket_logo_liggande_sRGB.png"],
  img[src$="190px-Riksarkivet_2013_rgb.png"] {
    filter: invert(1) hue-rotate(180deg) brightness(120%);
  }
  .mw-parser-output .schedule .break {
    background: var(--brown-2);
  }
  #toc {
    background-color: var(--gray-28) !important;
  }
  div[style*="background"] h2 b, div[style*="background"] h2 a,
  div[style*="background"] h2 center {
    background-color: inherit !important;
  }
  textarea:not(input):focus {
    outline: 1px inset var(--base-color) !important;
    border-top: 1px inset var(--base-color);
  }
  .image[href*="Wikimania2019_leaves_icon.svg"] {
    opacity: .5;
  }
  .image[href*="Wikimania2019_leaves_icon.svg"] {
    opacity: 1;
  }
  .mw-parser-output .card {
    color: var(--gray-e);
  }
  a.image img {
    background: inherit !important;
  }
}
@-moz-document
regexp("^https://wiki\.archlinux\.(org|jp)\/.*$") {
  /* some styling fix hacks */
  #searchform #simpleSearch {
    background-color: var(--gray-1);
    color: var(--gray-9a) !important;
    border: 1px solid var(--gray-5);
    padding-bottom: 1px !important;
  }
  #searchform #simpleSearch #searchInput:focus {
    box-shadow: none !important;
  }
  #archnavbar ul#archnavbarlist li a {
    color: var(--gray-a) !important;
  }
  #archnavbar ul#archnavbarlist li a:hover {
    color: var(--gray-d) !important;
  }
  div.vectorTabs li {
    margin-top: 1px;
  }
  #content table, #content h1, #content h2, #content h3, #content h4,
  #content h5, #content pre, #content code, #content tt, table.wikitable,
  .mw-body, .parsoid-body,
  .mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted .mw-rcfilters-ui-itemMenuOptionWidget-label-title,
  .mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted .mw-rcfilters-ui-itemMenuOptionWidget-label-desc,
  .languagesettings-menu .menu-section .settings-text,
  .languagesettings-menu .menu-section:hover .settings-text, .uls-ui-languages p,
  .checkbox, label.uls-font-label strong, label.uls-font-label {
    color: var(--gray-9a);
  }
  .oo-ui-tagItemWidget.oo-ui-widget-enabled {
    color: var(--gray-8);
  }
  .mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label,
  .mw-rcfilters-ui-viewSwitchWidget label.oo-ui-labelWidget {
    color: var(--gray-a);
  }
  .mw-rcfilters-ui-itemMenuOptionWidget-label-title {
    color: var(--gray-a) !important;
  }
  td[style*="background: #ddd; color: inherit;"] {
    background: var(--gray-5) !important;
  }
  td[style*="background: #faa; color: inherit;"] {
    background: var(--red-0) !important;
  }
  div.archwiki-template-box.archwiki-template-box-note,
  div[style*="background-color: #DDDDFF; border: thin solid #BBBBDD;"] {
    background-color: var(--purple-1) !important;
    border-color: var(--purple-2) !important;
  }
  div.archwiki-template-box.archwiki-template-box-warning,
  div[style*="background-color: #FFDDDD; border: thin solid #DDBBBB;"] {
    background-color: var(--red-0) !important;
    border-color: var(--red-3) !important;
  }
  div.archwiki-template-box.archwiki-template-box-tip,
  div[style*="background-color: #DDFFDD; border: thin solid #BBDDBB;"] {
    background-color: var(--green-4) !important;
    border-color: var(--green-3) !important;
  }
  .uls-button-group .mw-ui-button:hover {
    background-color: var(--gray-1) !important;
  }
  #toc, .toc, .mw-warning, .toccolours {
    background-color: var(--gray-2) !important;
    border-color: var(--gray-5) !important;
  }
  div.archwiki-template-message {
    background-color: var(--gray-2);
    border-color: var(--gray-5);
  }
  #simpleSearch {
    background-color: var(--gray-2);
  }
  tt {
    background: var(--gray-1) !important;
  }
  #uls-settings-block {
    background-color: var(--gray-18);
    border-top: 1px solid var(--gray-5);
  }
  .skin-vector .uls-search {
    border-bottom-color: var(--gray-5);
  }
  .uls-search {
    background-color: var(--gray-18);
    border-bottom: 1px solid var(--gray-5) !important;
  }
  .uls-font-item {
    border-bottom: 1px solid var(--gray-5);
    background: var(--gray-28);
  }
  #uls-settings-block > button.display-settings-block {
    background-image: linear-gradient(transparent, transparent),
                          url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E %3Cpath fill=%22%23ddd%22 d=%22M.002 2.275V15.22h8.405c.535 1.624-.975 1.786-1.902 2.505 0 0 2.293-.024 3.439-.024 1.144 0 3.432.024 3.432.024-.905-.688-2.355-.868-1.902-2.505h8.527V2.275h-20zm6.81 1.84h.797l3.313 8.466H9.879L8.836 9.943H5.462l-1.043 2.638h-.982zm.368 1.104c-.084.369-.211.785-.368 1.227L5.83 9.023h2.699l-.982-2.577c-.128-.33-.234-.747-.368-1.227zm7.117.982c.753 0 1.295.157 1.656.491.365.334.552.858.552 1.595v4.294h-.675l-.184-.859h-.062c-.315.396-.605.655-.92.798-.311.138-.758.184-1.227.184-.626 0-1.115-.168-1.472-.491-.353-.323-.491-.754-.491-1.35 0-1.275 1.028-1.963 3.068-2.025h1.043v-.429c0-.495-.091-.87-.307-1.104-.211-.238-.574-.307-1.043-.307-.526 0-1.115.107-1.779.429l-.307-.675a4.748 4.748 0 0 1 1.043-.429 4.334 4.334 0 0 1 1.104-.123zm.307 3.313c-.761.027-1.318.157-1.656.368-.334.207-.491.54-.491.982 0 .346.1.617.307.798.211.181.544.245.92.245.595 0 1.012-.164 1.35-.491.342-.326.552-.762.552-1.35v-.552z%22/%3E %3C/svg%3E");
  }
  #uls-settings-block > button.input-settings-block {
    background-image: linear-gradient(transparent, transparent),
                          url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E %3Cpath fill=%22%23ddd%22 d=%22M9 1.281c-.124.259-.185.599-.5.688-.55.081-1.133.018-1.688 0-.866-.032-1.733-.148-2.594 0-.588.157-.953.727-1.188 1.25-.178.416-.271.836-.344 1.281H-.002V16h20V4.5H3.654c.109-.52.203-1.057.563-1.469.222-.231.587-.17.875-.188 1.212.003 2.415.179 3.625.063.463-.058.812-.455.969-.875l.188-.438-.875-.313zM1.875 7.125h1.563c.094 0 .188.093.188.188v1.531a.201.201 0 0 1-.188.188H1.875c-.094 0-.156-.093-.156-.188V7.313c0-.094.062-.188.156-.188zm2.844 0h1.563c.094 0 .156.093.156.188v1.531c0 .094-.062.188-.156.188H4.719c-.094 0-.156-.093-.156-.188V7.313c0-.094.062-.188.156-.188zm2.844 0h1.563c.094 0 .156.093.156.188v1.531c0 .094-.062.188-.156.188H7.563a.201.201 0 0 1-.188-.188V7.313c0-.094.093-.188.188-.188zm2.813 0h1.563c.094 0 .188.093.188.188v1.531a.201.201 0 0 1-.188.188h-1.563c-.094 0-.156-.093-.156-.188V7.313c0-.094.062-.188.156-.188zm2.844 0h1.563c.094 0 .156.093.156.188v1.531c0 .094-.062.188-.156.188H13.22c-.094 0-.156-.093-.156-.188V7.313c0-.094.062-.188.156-.188zm2.844 0h1.531c.094 0 .188.093.188.188v1.531a.201.201 0 0 1-.188.188h-1.531a.201.201 0 0 1-.188-.188V7.313c0-.094.093-.188.188-.188zm-12.844 3h1.563c.094 0 .156.093.156.188v1.563c0 .094-.062.156-.156.156H3.22c-.094 0-.156-.062-.156-.156v-1.563c0-.094.062-.188.156-.188zm2.906 0h1.563c.094 0 .188.093.188.188v1.563c0 .094-.093.156-.188.156H6.126c-.094 0-.156-.062-.156-.156v-1.563c0-.094.062-.188.156-.188zm2.938 0h1.531c.094 0 .188.093.188.188v1.563c0 .094-.093.156-.188.156H9.064c-.094 0-.188-.062-.188-.156v-1.563c0-.094.093-.188.188-.188zm2.906 0h1.563c.094 0 .156.093.156.188v1.563c0 .094-.062.156-.156.156H11.97c-.094 0-.188-.062-.188-.156v-1.563c0-.094.093-.188.188-.188zm2.906 0h1.563c.094 0 .156.093.156.188v1.563c0 .094-.062.156-.156.156h-1.563c-.094 0-.156-.062-.156-.156v-1.563c0-.094.062-.188.156-.188zM4.001 13.688h12c.088 0 .156.068.156.156v.844a.154.154 0 0 1-.156.156h-12a.154.154 0 0 1-.156-.156v-.844c0-.088.068-.156.156-.156z%22/%3E %3C/svg%3E");
  }
  #uls-settings-block > button {
    color: var(--gray-9a);
    border: 0 !important;
  }
  #uls-settings-block > button:hover {
    color: var(--gray-c);
  }
  .languagesettings-menu .menu-section.active {
    color: var(--gray-9a) !important;
    background-color: var(--gray-28) !important;
    border-left: 3px solid var(--base-color) !important;
    border-color: var(--gray-2);
  }
  .languagesettings-menu .menu-section:hover,
  .languagesettings-menu #input-panel-trigger:hover {
    background-color: var(--gray-3);
  }
  textarea, .language-settings-buttons {
    border-color: var(--gray-5);
  }
  textarea:not(input):focus {
    border-color: var(--base-color);
  }
  div[style*="border:1px solid #888;"] {
    border-color: var(--gray-5) !important;
  }
  #pagehistory li {
    border-color: var(--gray-2) !important;
  }
  .ns-talk .mw-body-content dl, .ns-talk .mw-body-content dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl dl dl,
  .ns-talk .mw-body-content dl dl dl dl dl dl dl dl dl dl dl dl dl {
    background: inherit;
  }
  a.image img[src*="Tango"] {
    background: inherit !important;
  }
  .ext-related-articles-card-list .ext-related-articles-card-thumb {
    background-color: var(--gray-28) !important;
  }
  .ext-related-articles-card-list .ext-related-articles-card {
    background-color: var(--gray-28);
  }
  .ext-related-articles-card-list .ext-related-articles-card-thumb,
  .uls-icon-close {
    filter: invert(1) grayscale(1) brightness(140%) contrast(105%);
  }
  .ext-related-articles-card-list h3::after {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), var(--gray-28) 50%);
  }
  .ns-talk .mw-body-content dl {
    border-top: 0;
    border-left: 0;
  }
  .mw-rcfilters-ui-filterTagMultiselectWidget-hideshowButton .oo-ui-labelElement-label {
    border: 0 !important;
  }
  #content a:active, #mw-navigation li:not(.new) a:active,
  #mw-panel li:not(.new) a:active, #column-one li:not(.new) a:active,
  #footer a:active, #content a:focus, #mw-navigation li:not(.new) a:focus,
  #mw-panel li:not(.new) a:focus, #column-one li:not(.new) a:focus,
  #footer a:focus, #content a:active:hover,
  #mw-navigation li:not(.new) a:active:hover,
  #mw-panel li:not(.new) a:active:hover, #column-one li:not(.new) a:active:hover,
  #footer a:active:hover, #content a:focus:hover,
  #mw-navigation li:not(.new) a:focus:hover,
  #mw-panel li:not(.new) a:focus:hover, #column-one li:not(.new) a:focus:hover,
  #footer a:focus:hover, .uls-language-block a:hover {
    color: var(--base-color) !important;
  }
  /* hack around sidebar bottom border brightness */
  #mw-panel .portal:not(#p-navigation) .body {
    background-image: linear-gradient(to top, transparent, var(--gray-c));
    background-size: auto 1px;
  }
}
@-moz-document domain("wiki.mozilla.org") {
  .mw-wiki-logo {
    filter: invert(100%) hue-rotate(180deg) brightness(50%);
  }
}
@-moz-document domain("wikimediafoundation.org") {
  body {
    background: var(--gray-18);
    color: var(--gray-c);
  }
  .top-nav, .header-home, .focus-block, .card-vertical.card-person,
  .card-vertical.card-person .card-content {
    background: var(--gray-18);
  }
  .logo-container a, .language-dropdown button img[src*="down"],
  .connect-container .icon, img[src*="Wikimedia-Foundation-trademarked-logo"],
  img[src*="Wikipedia_wordmark"] {
    filter: invert(1) brightness(80%);
  }
  .language-list, .home-project-list-item--gray {
    background: var(--gray-28);
  }
  .language-dropdown button {
    color: var(--blue-1);
    background: var(--pink-0);
    border: 1px solid var(--pink-1);
  }
  .language-dropdown button:hover {
    border: 1px solid var(--pink-3);
  }
  .donate-btn {
    background: var(--pink-1);
    border: 1px solid var(--pink-2);
    color: var(--pink-3);
  }
  .donate-btn:hover {
    border: 1px solid var(--pink-3);
  }
  .shadow, .pagination-container,
  .header-home.featured-photo--content-left .page-intro-text .w-32p {
    border-color: var(--gray-5);
  }
  .language-list ul li a.selected {
    border-color: var(--blue-1);
  }
  button img[src*="language"] {
    filter: grayscale(1) brightness(325%);
  }
  .donate-btn img[src*="lock-pink"] {
    filter: brightness(800%);
  }
  .main-nav {
    border-top: 1px solid var(--gray-5);
  }
  .main-nav a {
    background-image: linear-gradient(to top, var(--gray-18), var(--gray-1));
  }
  .header-default .post-meta a {
    background-image: linear-gradient(to top, var(--gray-18), var(--gray-1));
    color: var(--gray-a);
    border-color: var(--blue-1);
  }
  .toc-link.-active, .people .person-name {
    color: var(--gray-e);
  }
  .header-default ul li a, .header-home ul li a, .bg-ltgray .color-gray,
  .language-list ul li a {
    color: var(--gray-c);
  }
  .module-mu .email-signup, .bg-ltgray .related-news .card .date, .color-gray,
  .article-img .img-caption, .translation-bar li,
  .header-home.featured-photo--content-left .page-intro-text .secure {
    color: var(--gray-9a);
  }
  .module-mu .email-signup input::placeholder, .nav-newer, .nav-older {
    color: var(--gray-69);
  }
  .nav-newer svg, .nav-older svg {
    fill: var(--gray-69);
  }
  #News\ Index path[fill="#FFFFFF"] {
    fill: var(--gray-18);
  }
  .nav-newer a:hover svg, .nav-older a:hover svg,
  .elsewhere-wikimedia .link-external a:hover .icon {
    fill: var(--base-color);
  }
  .elsewhere-wikimedia .link-external a .icon {
    fill: var(--gray-c);
    transition: .3s all;
  }
  .header-default ul li.current_page_item a,
  footer ul:not(.social-list) li a:hover {
    color: var(--base-color);
    border-color: var(--base-color);
  }
  .header-default.header-pink .ungrid {
    background: var(--pink-0);
  }
  .cta-primary {
    background: var(--pink-1);
  }
  .cta-primary .h2, .cta-description {
    color: var(--pink-3);
  }
  .module-mu.w-23p .h2.no-border span, .module-mu.w-50p .h2.no-border span {
    color: var(--purple-2);
  }
  .header-default .ungrid .content,
  .connect-container .email-signup #wmf-subscribe-input-email {
    background: var(--gray-18);
  }
  .page-number-list a:hover, .page-number-list span:hover {
    background: var(--gray-3);
  }
  .page-number-list li.active a, .page-number-list .current {
    background: var(--base-color);
  }
  .main-nav a:hover, .wysiwyg p a, .wysiwyg .p a, .wysiwyg li a, .arrow-link,
  .bg-white .related-news .card .card-heading:hover h3,
  .bg-white .related-news .card .card-heading .date h3,
  .module-mu .email-signup input, .photo-credits a:hover,
  .header-default .eyebrow a, .toc-link, .article-img .img-caption a:hover,
  .link-list a, .news-list-container .h3 a:hover, .nav-newer a:hover,
  .nav-older a:hover, .elsewhere-wikimedia .link-external a:hover,
  .article-footer .read-more a, .translation-bar a:hover,
  a.hover-img-zoom:hover .person-name {
    color: var(--base-color);
  }
  .article-footer .read-more a:hover {
    color: var(--base-color);
    opacity: .9;
  }
  .header-default .ungrid .h2.eyebrow, .framing-copy-ungrid code,
  .card .post-meta a {
    color: var(--blue-1);
  }
  .card .post-meta a:hover {
    color: var(--blue-1);
    border-color: var(--blue-1);
    opacity: .9;
  }
  .framing-copy-ungrid .ungrid-line {
    background: var(--blue-1);
  }
  .btn-blue .btn, .btn.btn-blue {
    background-color: var(--blue-1);
    color: var(--gray-e);
  }
  .btn-blue .btn:hover, .btn.btn-blue:hover {
    background-color: var(--blue-1);
    color: var(--gray-e);
  }
  .fact-inner {
    background: var(--pink-0);
  }
  .connect-container .module-mu.gray-module, .bg-ltgray {
    background: var(--gray-28);
  }
  .connect-container .module-mu {
    border: 1px solid var(--gray-4);
  }
  input, textarea {
    border: 1px solid var(--gray-5);
  }
  .connect-container .module-mu .email-signup input:focus {
    background: var(--gray-1);
    outline: 1px solid var(--base-color);
    box-shadow: 0 0 1px 1px var(--base-color);
  }
  .header-default .ungrid,
  .header-home.featured-photo--content-left .vision_container {
    background: var(--brown-4);
  }
  footer.bg-black {
    background: var(--gray-3);
  }
  footer #menu-footer-under-text li a, .module-mu h4.category,
  .module-mu h4 a.category {
    background: var(--gray-28);
    color: var(--base-color);
  }
  footer #menu-footer-under-text li a:hover {
    box-shadow: 0 2px 10px 0 var(--gray-69);
  }
  .module-mu h4.category:hover, .module-mu h4 a.category:hover {
    background: var(--blue-1);
    color: var(--gra-e);
  }
  .translation-bar {
    color: var(--base-color);
    border-color: var(--gray-5);
  }
}