User:Helikon06/common.css

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* ==UserStyle==
@name         Wikipedia Dark
@namespace    StylishThemes
@version      3.5.10
@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('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAABGCAAAAABURb1YAAAFoUlEQVR4AWXWCY7kMJcDYd9DiCD4jLr/EWezJOT8vbMXy8ZngpVPlLUWbWABJFVRZyqqdqIq9O9V1gJS14KFfYzASvgS1UTF1jSqE9qgNjYVoNxLfIhCBFKhOTdPNR11KpmKk4W2LhowESMPKHHBItCg2tqoGm0VbWnXAmxIAFALPIAtCxY4VVX7jqrSGRVlJnwqfRsAIG+BZ0EmHy7Jm3NMo6KzdWXGc8ycY2zyHdOrW3hHhcQ0+uvcYlz3LQgQVyrPp2t+dUncjzHVTNFNuvhwK2Jgkfh856/INm05pjEVtWEKC6IfrmmtfPnpYZkRVTPjFztVUDsDLLCvR2WmX6RPXV/KRBQ7E0GZN5w+5+rKd2J7Ev1sFtVGlYY2oq2tgtN1SakCTkwiaxkebLZuJtjCd/OvyY1OQXXrGnAKfE67xbGq/NzemNviTWC2LjHjl6ruFucdUTTT4/wO7tQtkPd0LtO1ncs+ZrVvUXXeHue3Xt1zTD1vJlkbt8rigWhH3EUJ6HT31JYE1lp15XY1BSDaFh4asRNt0U5gqraB+UyFZJNagXh/qTxV1TY90VSVSLMX0W7dGA/4SfEZj+R7l6Hs9O6Orx5ne51Tj3Oev5E9MFWReefovrI73lzdnTziy8mTRjU1jZ99GtT52We2bmVfvqvKovqYqZ6N2GlGbRZYWM3CRKzX2bVQoMqjnbSopmlBTe3vMix227dzvqRJVR9+dT0LfJZhTyzbeaffIg6qz+muKJ2KoJ249yD3ku5kI/sJm31Mj41TrIoNVlgrolc33nTK06qPrdpRW6UTnZwnj6BuXdy6EMCqtPqcPUhS9OoC6mnYr+7p7tY10zyfLv7ovrMxfLs2y9trusGZMyW+80zU7z9Wz5D//8YusxMkP845i/Qk21Sru3W3u+aI5OtbWK3bpVVtk8c0OnuLpYVlXWQrYgFui0nAouTMy6OZtKKk5+EN9+GPs6e7aOpuewv6eL++gfnrIbiNdX7+bu0+j4rCvKo+aKdVxenV7dGtO3F1aRrP00R9sN26TNa+JsLpKYmLtZ1ZWJxGSc1UfDy7q/1Ms9ZdbuICFXJ1I5puXRt8WlXTpAsWhrrb4v7K7e3N7a5pZ4f0ed3mfy8L1iLzr3PmpDllv0nnfaaeZcj185/d/U3qj662fWwFpnsSqYvb3eN1+ky0Vclom50eTncXxA9x2cDu/F6GZcSAGrWqCe698be7qTv529jjXEVtT9GSGbktZp3G7nScj+4CTnflfXN1VXzU1uyLG88KnBSPblVBnUZFm91inYBsXW/zbG4SltE0YKtp1I5po4/tbWxYZ83PFldYiWcZCpkvaUc11Weu7iYwhltZfu3VnlGhnRHUmT6zABb+mv4u8Np/p1xTVd9XYG9x3RNybm39cWYnGkXTO9kn0fG5y7BWXKexp7v085JOxI62OyWN0pEHE/yEEgx7LSyf7rJbklTVakak3e18wHicTVlrRzeV9WzjiGrP7NqZAmt/Lv5nd518uitvVNH56W5Qwfd1AQ+YxP/UjXqfJgpm2tyhUpE0suBZFqzHNFm7uzl/l7sHnajtdf68Fs/ZWMm4gHpb/OliqjfRUf2bmBGYLJ66u5vJrpqRf5cORdupKvl7D2n06VdiMl3/sbvrdBfnL6ri+yX07933pfP801huIiaoOLm6J82c2xkfb2NPAs1Zhmva6XWuOm/W1P0+Hmz4XRnXTWpGs/cgN2nvZwsiPEBSd3Ud2XFjJNPtPCd1Zlys2zmef3Z3rU8tomK3rs5N73v3+ZXd4uY6E2GB9SzD7MbaprkJYN1rn1/dSCJrWc1U6GjbLZIp2nFZf67g4e6ucbH40Y1WwebsbrbuUjCfxGdzG/uldlA1naJI5p3j/FaARdxvZtKHfz49dIKizl9hL3Cvruf/3Sum/w07RUTLccAlwgAAAABJRU5ErkJggg==') EOT;
  uniform "Uniform Tile" <<<EOT
  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkAQMAAABKLAcXAAAABlBMVEUfHx8aGhrh02scAAAAH0lEQVR4AWMQRAICeHn/kcAH8vSN6hvVN6pvVN+oPgAPQ4LItqOMdQAAAABJRU5ErkJggg==') EOT;
  random "Random Tile" <<<EOT
  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkAgMAAAANjH3HAAAACVBMVEUaGhohISElJSUh9lebAAABwElEQVR4AY3Vua3gOBgGQQXZhgKYgwHJYAA0Ksu9CAh6hxbTbvFzfx6rNEGlHY6z5KvMw4s43mN2Z5fqYLzKyrfyXhXKnKBdD9n58UWW3Vlb3mOCmWoHHZbdV5lv8t7Ver6ldsfqumVAdbblxxcZVcd7QWq2Y6VsadS4ZTzFDbFa5XivqlxVUFG1Jd6k66u8x0RIOw0cXAiNW2z58bJ5r1LTQtVVuy1x2jK+yLTlxy3v5RogszEXSB0ZF4iYWLbMMUBGPDbvpRQUVUV9kvGU6ynrIe9FOqssJcQ4oqurCjV6ytmqco4SwvGeNCoJaphwSHoK13cyuuU9ZaQI0lB1qB8zT3GL2XjKueU9pR+gH0OlqvGUzHWLQ81O0Dg95L3Uj9qxKx0pr3LdYrnlvQKlUEnV/8v4Xt6bThZROwaO5QfTUyY4GCBWu8Wf/nO4ULtj/li3mE9Z47zlx/WU94Iq7RD5XuZ6ynjIGn9yr1VhFaq2NH9s4bP4Rt5j2NFO5MBXGVsmsD5v3gslYORsd8R1i1rrIUoLKLXlvVhgKH7ApToyhk21TJhbLDvdN151vEetJtKdOtYo4SmnOvhGpjpe+xuj3X723ghdygAAAABJRU5ErkJggg==') EOT;
  custom "Custom" <<<EOT
  var(--bg-custom) EOT;
  none "None" <<<EOT
  none EOT;
}
@advanced text bg-custom "Custom background; include url()" "url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAMAAAAMCGV4AAAAD1BMVEUREREREREAAAAREREWFhkN5cwCAAAABHRSTlNfGAAwFBG7CgAAACxJREFUeAFjYGJiZGBhhhMMYIIRTjCgcIE8VC4TKpeRmYEZiTtIzGNihhNMAJJAATdKr5xFAAAAAElFTkSuQmCC')"
@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]]*/;
    --base-color-rgb: /*[[base-color-rgb]]*/;
    --base-color-rgba-3: rgba(var(--base-color-rgb), 3);
    --base-color-rgba-8: rgba(var(--base-color-rgb), 8);
    --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-rgb: rgba(119, 34, 34, .4);
    --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;
    --orange-3: #4d2b01;
    --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: #c22;
    --diff-add: #36c;
    --revs-old: #b28200;
    --revs-new: #070;
    /* 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-0: #141414;
    --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;
  }
  .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: 2px solid var(--white);
  }
  .CodeMirror-activeline-background {
    background: var(--cm-1);
  }
  .CodeMirror-matchingbracket {
    outline: 1px solid var(--gray);
    color: var(--white);
  }
  .CodeMirror-line::selection, .CodeMirror-line > span::selection,
  .CodeMirror-line > span > span::selection {
    background: var(--cm-1);
  }
  .cm-keyword {
    color: var(--cm-2);
  }
  .cm-atom {
    color: var(--cm-3);
  }
  .cm-number {
    color: var(--cm-4);
  }
  .cm-def, .cm-mw-section-header, .cm-mw-link-pagename, .cm-mw-link-bracket,
  .cm-mw-link-delimiter, .cm-mw-indenting, .cm-mw-extlink-bracket, .cm-mw-list,
  .cm-mw-apostrophes-bold, .cm-mw-apostrophes-italic, .cm-mw-link-tosection {
    color: var(--cm-5);
  }
  .cm-mw-skipformatting {
    background-color: var(--cm-6);
  }
  .cm-variable-2, .cm-variable-3, span.cm-def, span.cm-tag,
  .cm-mw-extlink-protocol, .cm-mw-free-extlink-protocol, .cm-mw-extlink,
  .cm-mw-free-extlink {
    color: var(--cm-6);
  }
  .cm-builtin, .cm-operator {
    color: var(--cm-7);
  }
  .cm-comment {
    color: var(--gray-7);
    font-weight: 400;
  }
  .cm-string, .cm-mw-htmltag-name, .cm-mw-htmltag-bracket, .cm-mw-exttag-name,
  .cm-mw-exttag-bracket, .cm-mw-htmltag-attribute, .cm-mw-exttag-attribute,
  .cm-mw-mnemonic {
    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, .cm-mw-table-bracket, .cm-mw-table-definition,
  .cm-mw-table-delimiter {
    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);
  }
  .cm-mw-template-name, .cm-mw-template-bracket, .cm-mw-template,
  .cm-mw-template-argument-name, .cm-mw-template-delimiter {
    color: var(--cm-10);
  }
  /*# sourceURL=ace/css/ace-tm */
  .ace-tm .ace_gutter {
    background: var(--cm-1);
    color: var(--cm-10);
  }
  .ace-tm .ace_print-margin {
    background: var(--cm-1);
  }
  .ace-tm .ace_fold {
    background-color: var(--cm-6);
  }
  .ace-tm {
    background-color: var(--cm-0);
    color: var(--cm-10);
  }
  .ace-tm .ace_cursor {
    color: var(--cm-10);
  }
  .ace-tm .ace_invisible {
    color: var(--cm-10);
  }
  .ace-tm .ace_storage, .ace-tm .ace_keyword {
    color: var(--cm-5);
  }
  .ace-tm .ace_constant {
    color: var(--cm-13);
  }
  .ace-tm .ace_constant.ace_buildin {
    color: var(--cm-14);
  }
  .ace-tm .ace_constant.ace_language {
    color: var(--cm-14);
  }
  .ace-tm .ace_constant.ace_library {
    color: var(--cm-8);
  }
  .ace-tm .ace_invalid {
    background-color: rgba(255, 0, 0, .1);
    color: var(--cm-13);
  }
  .ace-tm .ace_support.ace_function {
    color: var(--cm-5);
  }
  .ace-tm .ace_support.ace_constant {
    color: var(--cm-8);
  }
  .ace-tm .ace_support.ace_type, .ace-tm .ace_support.ace_class {
    color: var(--cm-14);
  }
  .ace-tm .ace_keyword.ace_operator {
    color: var(--cm-14);
  }
  .ace-tm .ace_string {
    color: var(--cm-8);
  }
  .ace-tm .ace_comment {
    color: var(--cm-14);
  }
  .ace-tm .ace_comment.ace_doc {
    color: var(--cm-5);
  }
  .ace-tm .ace_comment.ace_doc.ace_tag {
    color: var(--cm-14);
  }
  .ace-tm .ace_constant.ace_numeric {
    color: var(--cm-5);
  }
  .ace-tm .ace_variable {
    color: var(--cm-12);
  }
  .ace-tm .ace_xml-pe {
    color: var(--cm-11);
  }
  .ace-tm .ace_entity.ace_name.ace_function {
    color: var(--cm-5);
  }
  .ace-tm .ace_heading {
    color: var(--cm-5);
  }
  .ace-tm .ace_list {
    color: var(--cm-13);
  }
  .ace-tm .ace_meta.ace_tag {
    color: var(--cm-6);
  }
  .ace-tm .ace_string.ace_regex {
    color: var(--cm-13);
  }
  .ace-tm .ace_marker-layer .ace_selection {
    background: var(--cm-1);
  }
  .ace-tm.ace_multiselect .ace_selection.ace_start {
    box-shadow: 0 0 3px 0 var(--cm-10);
  }
  .ace-tm .ace_marker-layer .ace_step {
    background: var(--cm-3);
  }
  .ace-tm .ace_marker-layer .ace_stack {
    background: var(--cm-2);
  }
  .ace-tm .ace_marker-layer .ace_bracket {
    border: 1px solid var(--cm-14);
  }
  .ace-tm .ace_marker-layer .ace_active-line {
    background: rgba(0, 0, 0, .07);
  }
  .ace-tm .ace_gutter-active-line {
    background-color: var(--gray-3);
  }
  .ace-tm .ace_marker-layer .ace_selected-word {
    background: var(--gray-3);
    border: 1px solid var(--cm-11);
  }
  .ace-tm .ace_indent-guide {
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;
  }
  .ve-ui-mwAceEditorWidget .ace_editor {
    border-color: var(--cm-6);
  }
}
@-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\.(archlinux|mozilla)\.(org|jp)\/.*$"),
regexp("https?:\/\/wikiless\.org\/.*$") {
  /* transparent background */
  html, body, .mw-body[role="main"], .skin-vector-max-width .mw-page-container,
  .skin-vector #mw-panel, .mw-page-container {
    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-download-pane .mw-mmv-download-attribution {
    background-color: var(--gray-2);
    color: var(--gray-a);
  }
  .mw-mmv-download-pane .mw-mmv-download-attribution:hover {
    background-color: var(--gray-28);
    color: var(--gray-c);
  }
  .mw-mmv-permission-box, .mw-mmv-info-box {
    border-color: var(--gray-5);
    background-color: transparent !important;
  }
  .mw-mmv-image-metadata, .navbox, .navbox-subgroup, .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-border {
    background-color: var(--gray-5);
  }
  .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, .mw-mmv-title,
  .ext-translate-language-selector-label, #mw-mwoauth-authorize-form,
  .mw-parser-output > div > blockquote > p, .mw-parser-output,
  .mw-echo-ui-menuItemWidget > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
    color: var(--gray-c);
  }
  .oo-ui-listToolGroup.oo-ui-widget-disabled,
  .oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-disabled .oo-ui-tool-title,
  .oo-ui-popupToolGroup-tools .oo-ui-tool-link .oo-ui-tool-accel {
    color: var(--gray-7);
  }
  /* text color fix to black for https://en.wikipedia.org/wiki/Web_colors#Hex_triplet,
	   if this breaks something we need to differenciate specificity */
  .color-chart-x11-table tr[style*="color: black"] > td {
    color: var(--gray-1);
  }
  .wikitable[style*="color:white"] tr[style="color: black;"] td {
    color: var(--gray-1);
  }
  h1, h2, h3, h4, h5, h6, #footer li,
  .infobox th[style*="background"]:not([style*="#eaecf0"]):not([style*="background-color:#b0c4de;"]):not([style*="background-color: #f9f"]):not([style*="background-color:#b0c4de"]):not([style*="background-color:#FFD"]):not([style*="background-color: #91FAFA"]):not([style="background-color: #b0c4de"]):not([style*="background-color: antiquewhite"]),
  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;"]:not([style^="background"]),
  td[style*="color:#000"]:not([style*="background"]), div[style*="color:black"],
  td[style*="color:darkslategray;"], .mw-mmv-post-image,
  .mw-mmv-permission-box .mw-mmv-permission-text, span[style*="color:#555555"],
  td[style^="background: #FFFFFF" i], td[style^="background:#FFFFFF" i],
  td[style^="background: #F5F" i], td[style^="background:#F5F" i] {
    color: var(--gray-c) !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);
  }
  .mw-parser-output > div::before, .uls-icon-close,
  .tool-button[style*="Button_underline"],
  .tool-button[style*="Vector_strikeout"] {
    filter: invert(1);
  }
  .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;
  }
  .wikitable > tr > th[scope="col"][style*=":#fed1a0;"],
  .wikitable > * > tr > th[scope="col"][style*=":#fed1a0;"] {
    background: var(--gray-3) !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"]):not(.frb-inline-container *),
  #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, .other-project a:focus,
  #p-lang .uls-settings-trigger: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-rgba-3);
    box-shadow: inset 0 0 0 1px var(--base-color-rgba-3);
  }
  .ve-ce-linkAnnotation.ve-ce-annotation-active {
    box-shadow: 0 0 0 1px var(--gray-5);
    background-color: var(--gray-1);
  }
  .ve-ui-desktopContext .ve-ui-linkContextItem .ve-ui-linkContextItem-label {
    border-top-color: var(--gray-4);
  }
  .ve-ce-attachedRootNode::selection, .ve-ce-attachedRootNode ::selection {
    background: var(--base-color);
  }
  .oo-ui-tabSelectWidget-frameless .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
    color: var(--base-color);
    box-shadow: inset 0 -2px 0 0 var(--base-color);
  }
  tt, tt[style*="background: white"] {
    background: var(--gray-1) !important;
  }
  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,
  .oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:hover {
    background-color: var(--gray-3);
  }
  div[style*="background-color: rgb(249, 249, 249)"] {
    background-color: var(--gray-18) !important;
    border-top-color: var(--gray-5) !important;
  }
  .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);
  }
  #mw-content-text .errorbox {
    background-color: var(--pink-0);
  }
  .aiv-header table[style*="background-color: #dfd;"] tbody,
  .aiv-header table[style*="background-color: #dfd;"] {
    background: var(--green-a3) !important;
  }
  th[style*="background-color: DarkSeaGreen;"] {
    background-color: var(--green-4) !important;
  }
  th.sidebar-title, th.sidebar-heading {
    background-color: var(--gray-4) !important;
  }
  input#searchButton[type="submit"] {
    border-left-color: var(--gray-a) !important;
    filter: invert(1) !important;
    background-color: var(--cm-10) !important;
  }
  .mw-parser-output > #Vorlage_Alternative,
  .infobox td[style*="border:1px #aaa solid;"],
  .infobox th[style*="background:#d0d0d0;"],
  .mw-parser-output > table.vertical-navbox, .tux-message-item-compact,
  .nomobile.plainlist, .infobox td[style^="background-color:#cfea9e;"],
  tr[style^="border-top:2px solid #aaaaaa"],
  div[style^="z-index"][style*="background:transparent;"][style*="1px solid #CCC"],
  .infobox[style*="border: solid 1px silver"],
  tr[style*="border:1px solid #aaa;"], table[style*="border:1px solid #CCCCCC;"],
  th[style*="border-top:1px solid #aaa;"], td[style*="border-bottom:1px #aaa"] {
    border-color: var(--gray-5) !important;
  }
  .frb-inline-main, .mw-parser-output .wwikipedii td,
  .mw-parser-output .wwikipedii th, .infobox.geography .mergedbottomrow td,
  .infobox.geography .mergedbottomrow th,
  .mw-parser-output .sidebar-collapse .sidebar-above,
  .mw-parser-output .sidebar-collapse .sidebar-below,
  .tux-editor-insert-buttons button,
  .infobox > tbody > tr:not([style]) > th[style*="background: #ccf"],
  .ve-ui-cxDesktopContext .ve-ui-cxLinkContextItem-sourceBody, .sidebar.WSerieV,
  table[style*="border:1px solid #CCCCCC;"],
  .ve-ui-mwTransclusionDialog-addParameterFieldset .ve-ui-mwParameterSearchWidget {
    border-color: var(--gray-5);
  }
  .uls-settings-trigger {
    border-color: var(--gray-2) !important;
  }
  .wikibase-toolbar-container.wikibase-toolbar-container {
    background: transparent !important;
  }
  .mw-parser-output .maf-info, .mw-parser-output .wwikipedii tr {
    background-color: var(--gray-18);
    border-color: var(--gray-5);
  }
  table td > div[style*="background-color: #F0EEFF;"] {
    background-color: var(--gray-18) !important;
    border-color: var(--gray-5) !important;
  }
  .tux-message-proofread, .tux-message-item-compact, .nomobile.plainlist,
  .mw-parser-output td[style*="background-color:#f9f9f9;"],
  .mw-parser-output td[style*="background-color:#FFFFFF;"],
  .mw-parser-output td[style*="background-color:#fbfbfb;"],
  .RMinline[style*="background:#F9F9F9;"] {
    background-color: var(--gray-2) !important;
  }
  .frb-inline-message, .frb-inline-main .cta-container {
    background-color: var(--gray-2);
  }
  table[class="toccolours;"] tr[style*="background:#EEEEEE"],
  .infobox-above[style*="background-color: #D3D3D3"], .sidebar-heading,
  .sidebar-list-title[style*="background-color: #def"],
  .cx-widget-translationtool, .ve-ui-cxDesktopContext .ve-ui-contextItem,
  .ve-ui-cxDesktopContext .ve-ui-cxDesktopContext-inspectors,
  .oo-ui-panelLayout.cx-card,
  .oo-ui-toolbar-tools > .ve-ui-toolbar-group-cx-mt.oo-ui-menuToolGroup,
  .cx-tools-editing-toolbar-container .ve-ui-positionedTargetToolbar > .oo-ui-toolbar-bar,
  td[bgcolor="#eeeeee"], tr[bgcolor="#eeeeee"] > td, .sidebar.WSerieV,
  .infobox-above[style*="background:#ccc"],
  .infobox-above[style*="background: #DEDEE2;"],
  .infobox-above[style*="background-color: #E7DCC3;"],
  .infobox-above[style="background:Silver"], tr[style="background: #DDD;"] {
    background-color: var(--gray-3) !important;
  }
  .ve-ui-mwParameterResultWidget.oo-ui-optionWidget-highlighted,
  .infobox-above[style=""], .infobox-header[style=""] {
    background-color: var(--gray-3);
  }
  table[class="toccolours;"] tr[style*="background:#FAFAFA"],
  .ve-ui-cxDesktopContext .ve-ui-cxLinkContextItem-sourceBody, th.sidebar-title,
  th.sidebar-heading {
    background-color: var(--gray-4) !important;
  }
  .infobox[style^="background:#F5F5F5;"],
  .mw-parser-output > table.vertical-navbox, #uls-settings-block,
  .mw-parser-output td[style*="background-color:#efefef;"],
  .mw-cx-ui-CategoryTagItemWidget.oo-ui-flaggedElement-highlight {
    background-color: var(--gray-18) !important;
  }
  input.languagefilter {
    background-color: var(--gray-2);
  }
  tr td[style="background: #FFFFFF; color:#000000;"],
  .cx-category-listing.oo-ui-icon-tag {
    color: var(--black) !important;
  }
  .userbox tbody tr td, .frb-headline > span,
  .infobox td.infobox-full-data th.infobox-above,
  .infobox-above[style*="background-color:#b0c4de"],
  .infobox-above[style*="background-color:#FFD"],
  .infobox-above[style*="background-color: #91FAFA"],
  .infobox-above[style="background-color: #b0c4de"], .oo-ui-icon-tag,
  .cx-message-widget-message, td[style^="background:  #FFFF"],
  td[style^="background:  #DFDFDF;"], td[style*="background:  #CFCFFF;"],
  td[style*="background:  #EFCFFF;"], td[style*="background:  #DFFFDF;"],
  td[style*="background:  #FFDF9F;"], tr > td[style="background: #FFFFFF;"],
  tr > td[style="background: #CFE8FF;"], tr > td[style="background: #EED8AE;"],
  tr > td[style="background: #FFF8DC;"], tr > td[style="background: #B9D3FF;"],
  tr > td[style="background: #6495ED;"], tr > td[style="background: #607CD2;"],
  tr > td[style="background: #828BD9;"], tr > td[style="background: #F0F8FF;"],
  .infobox tr[style*="background:#F6E5A8;"] td,
  .infobox tr[style*="background:#F6E5A8;"] th, td[style*="background:#AED0F0"],
  #mw-content-text .infobox-above[style*="background-color: lightblue"],
  #mwAg .infobox-above[style*="background-color: lightblue"],
  #mw-content-text .infobox-above[style*="background: #CCCCFF;"],
  #mwAg .infobox-above[style*="background: #CCCCFF;"],
  #mwAg .infobox-above[style*="background-color: lightblue"],
  #mw-content-text .infobox-above[style*="background-color: #e7dcc3;"],
  #mwAg .infobox-above[style*="background-color: #e7dcc3;"],
  #mw-content-text .infobox-above[style*="background-color:  #c9ffd9;"],
  #mw-content-text .infobox-above[style*="background:#F6DA9F"],
  #mw-content-text .infobox tr[style*="background:#F8C9B0;"] td,
  [class*="map"] [style*="font-size"][style*="left"],
  .infobox [style*="position"][style*="width"][style*="top"][style*="font-size"],
  .toccolours [style*="position"][style*="width"][style*="top"][style*="font-size"],
  table[style*="background-color:transparent; "] span[style*="background-color:#FEFEE9;"],
  .thumbimage [style*="position"][style*="width"] [style*="font-size"] {
    color: var(--gray-1) !important;
  }
  tr[style*="background:#B9C5FF;"] > td, td[style*="background: #FFCC66;"],
  td [style="background: #FFFF99;"], td[style="background: #4169E1;"],
  td[style="background: #8AB0FF;"], tr[style*="background:#E5D8C0;"] > td {
    color: var(--gray-1);
  }
  .reference-text span[style^="color:#555"] {
    color: var(--gray-a) !important;
  }
  .userbox tr td, .frb-headline > span, .frb-inline-message,
  .tux-pagemode-translation, .cx-translator__total-translations,
  .cx-translator__header, .tux-editor-insert-buttons button,
  .tux-proofread-translation, .tux-proofread-source,
  .cx-tlitem__details .target-title, .ve-ui-cxLinkContextItem-language,
  .cx-header-draft-status, .oo-ui-labelElement-label, .ve-cx-toolbar-mt-title {
    color: var(--gray-c) !important;
  }
  .cx-tlitem .cx-tlitem__details .last-updated, .cx-tlitem__languages__language,
  .cx-slitem__languages__language, .cx-selected-source-page__license,
  .mw-cx-tools-IssueTracking > .mw-cx-tools-IssueTracking-head .oo-ui-labelWidget,
  .cx-column--language-label, .cx-column-language-label {
    color: var(--gray-c);
  }
  .cx-header__trademark-text, .cx-translationlist__header {
    color: var(--white);
  }
  .cx-translationlist, .cx-dashboard-sidebar__help, .cx-translator {
    box-shadow: 0 1px 1px var(--gray-5);
  }
  .tux-message-editor .messagekey .caret {
    border-top-color: var(--gray-c);
  }
  .tux-message-editor .editor-expand {
    filter: invert(.35);
  }
  #uls-settings-block > button {
    filter: invert(.5);
  }
  .oo-ui-icon-check, .mw-ui-icon-check::before {
    filter: invert(.75);
  }
  .redirectText > li:first-child, .redirectText > li:first-child > a,
  .uls-languagefilter-clear {
    filter: invert(1) !important;
  }
  figure[typeof*="mw"] > figcaption {
    border: 1px solid var(--gray-5);
    background-color: var(--gray-3);
  }
  .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);
    background-color: var(--gray-2);
  }
  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 {
    background-color: var(--gray-7);
  }
  .oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary > .oo-ui-tool-link {
    background-color: var(--gray-4);
  }
  .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;
  }
  .oo-ui-outlineOptionWidget.oo-ui-optionWidget-selected,
  .oo-ui-outlineOptionWidget.oo-ui-optionWidget-highlighted {
    background-color: var(--gray-28);
  }
  .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-dropdown,
  .wikibase-sitelinklistview .wikibase-sitelinkview .wikibase-sitelinkview-siteid-container {
    background-color: var(--gray-3);
    border-color: var(--gray-4);
  }
  a.suggestion-link {
    border-color: var(--gray-4);
  }
  .suggestion-title {
    color: var(--gray-c) !important;
  }
  .suggestion-description, .mw-mmv-credit {
    color: var(--gray-b9);
  }
  .suggestion-link.active {
    background-color: var(--blue-4);
  }
  .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-advancedSearch-fieldContainer {
    background-image: none !important;
  }
  /* hack around sidebar bottom border brightness */
  .portal h3, .vector-menu-portal h3 {
    background-image: linear-gradient(to top, transparent, var(--gray-c));
    background-size: auto 1px;
  }
  .vector-menu-content-list li[id*="ca-"] {
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    background-color: var(--bg-selected);
    background-image: none;
  }
  .vector-menu-tabs, .vector-menu-tabs a, .vector-menu-tabs li,
  #mw-head .vector-menu-dropdown h3 {
    background-image: none;
  }
  .vector-menu-dropdown .vector-menu-content-list {
    background-color: var(--gray-2);
    border-color: var(--gray-5);
  }
  .wpb .portal ul, .boilerplate .pullquote, .module-shortcutboxplain,
  .mw-trackedTemplate, .todo-box, .mw-echo-ui-notificationItemWidget-unread {
    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),
  .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;
  }
  input[type="search"]#searchInput:focus, #simpleSearch:hover #searchInput:focus {
    -webkit-box-shadow: none;
            box-shadow: none;
    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:not(.languagefilter), 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;
  }
  .mw-ui-checkbox:not(#noop) [type="checkbox"] + label:hover::before {
    background-color: var(--gray-1);
    border: 1px solid var(--base-color) !important;
  }
  .mw-ui-checkbox:not(#noop) [type="checkbox"] + label::before {
    background-color: var(--gray-1);
    border-color: var(--gray-4);
  }
  .mw-ui-checkbox:not(#noop) [type="checkbox"]:enabled:checked + label::before {
    background-color: var(--base-color);
    border-color: var(--base-color);
  }
  .mw-ui-checkbox:not(#noop) [type="checkbox"]:enabled:checked:hover + label::before {
    background-color: var(--base-color);
    border-color: var(--base-color);
    opacity: .9;
  }
  .mw-ui-checkbox:not(#noop) [type="checkbox"]:enabled:checked:not(:active) + label::before {
    background-color: var(--base-color);
    border-color: var(--base-color);
  }
  input#searchButton {
    border-left: 1px solid var(--gray-5) !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
  }
  #searchButton, #mw-searchButton {
    font-size: .75em;
  }
  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,
  #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, .mw-parser-output > p,
  .hatnote.navigation-not-searchable, .thumbcaption,
  .oo-ui-fieldLayout-disabled > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header > .oo-ui-labelElement-label {
    color: var(--gray-a);
  }
  .oo-ui-tagItemWidget.oo-ui-widget-enabled:not(.oo-ui-tagItemWidget-fixed),
  .mw-revslider-container .mw-revslider-toggle-button.oo-ui-buttonElement-frameless.oo-ui-labelElement {
    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, .rt-tooltip,
  .mw-body-content p {
    color: var(--gray-c);
  }
  .languagesettings-menu .menu-section.active,
  .languagesettings-menu .menu-section:focus {
    border-color: var(--base-color);
    background-color: var(--gray-28);
  }
  .settings-title, .checkbox strong, label.uls-font-label strong {
    color: var(--gray-c);
  }
  .languagesettings-menu .menu-section .settings-text, .uls-ui-languages p,
  .checkbox, label.uls-font-label {
    color: var(--gray-9a);
  }
  .uls-font-item {
    background-color: var(--gray-2) !important;
    border-color: var(--gray-5) !important;
  }
  .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;
  }
  .mw-mmv-ttf-ellipsis::before {
    background-image: linear-gradient(to right, transparent, var(--gray-2)) !important;
  }
  .mwe-popups-extract .mwe-popups-fade,
  .mw-mmv-permission-box .mw-mmv-permission-text .mw-mmv-permission-text-fader {
    background-image: linear-gradient(to bottom, transparent, var(--gray-2)) !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;
  }
  .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, .mw-parser-output .portal > ul,
  .uls-menu .uls-no-results-view .uls-no-found-more, .mainpage-box-content,
  .mw-echo-ui-notificationItemWidget {
    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);
  }
  table:not(.mainpage-maintable):not(.floatright):not([style="width:100%; border:0px; border-collapse:collapse"]):not([style*="#f1f5"]):not([style*="#CED"]):not([style*="background:none;"]):not([style*="background:none;"]):not([cellspacing="0"]):not([style="text-align:center; width:100%"]):not([style*="E6F"]):not([style*="ffff"]):not([style*="E9F"]):not([style*="fff5"]):not([style*="E9E"]):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):not(.ibox2),
  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]:not([style*="color: black" i]), #toc,
  td[style*="background-color"]:not([style*="F9"]):not([style*="FD"]):not([style*="FF"]):not([style*="CF"]):not([style*="fed"]):not([style*="F0F"]):not([style*="F9F"]):not([style*="D4F"]):not([style*="FDB"]):not([style*="FFF"]):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*="BF4"]):not([style*="000"]):not([style*="468"]):not([style*="CED"]):not([style*="008"]):not([style*="ffe"]):not([style*="ffdb"]):not([style*="fafc"]):not([style*="ffe4"]):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"]):not([style^="overflow:hidden;background:#e44"]):not([style*="width"][style*="height"][style*="bottom"]:not([style*="opacity"])),
  .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([id*="advancedSearchField-"]):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):not(.ve-ui-cxTargetSurface):not(.ve-ui-cxSourceSurface),
  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:#F7F8FF" i],
  table[style*="background-color: white; font-size:100%; border:1px solid #CCC" i] th,
  td[style*="background:#F5F5F5"], td[bgcolor="f5f5f5"] {
    background-color: var(--gray-2) !important;
  }
  #advancedSearchField-plain, #advancedSearchField-not, #advancedSearchField-or,
  #advancedSearchField-deepcategory, #advancedSearchField-hastemplate {
    background-color: var(--gray-1) !important;
  }
  .mw-parser-output table.floatright[width="35%"] {
    background: none;
  }
  div[style*="background-color: #f0f0f0" i],
  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"] {
    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);
  }
  #mw-sidebar-button:focus {
    border-color: var(--base-color);
    box-shadow: inset 0 0 0 1px var(--base-color);
  }
  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]:not([style*="8aa"]),
  .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"]):not([style*="fffd"]),
  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, .mw-echo-ui-notificationItemWidget: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-icon-highlight {
    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-c);
  }
  table.wikitable > tr > th,
  table.wikitable > * > tr > th:not([style*="#ABC;"]):not([style*="#fdb"]):not([style*="#fed"]):not([style*="#fef"]):not([style*="#d4f"]):not([style*="0; color:#000000"]):not([style*="FF; color:#000000"]),
  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)"]):not([style*="antiquewhite"]),
  .infobox tr[style*="background-color"]:not([style*="cedff2"]),
  .infobox td[style*="background"]:not([style*="D8B"]):not([style*="000"]):not([style*="cdde"]):not([style*="e8dbae"]):not([style*="FE4"]):not([style*="301"]):not([style*="722"]):not([style*="781"]):not([style*="702"]):not([style*="6C3"]):not([style*="880"]):not([style*="866"]):not([style*="512"]):not([style*="DE6"]):not([style*="C54"]):not([style*="B76"]):not([style*="9A4"]):not([style*="4E2"]):not([style*="DF0"]):not([style*="DA7"]):not([style*="DF7"]):not([style*="9F00"]):not([style*="FAE6"]):not([style*="E0B0"]):not([style*="800080"]):not([style*="66023C"]):not([style*="7851A9"]):not([style*="C71585"]):not([style*="BF00FF"]):not([style*="A020F0"]):not([style*="9370DB"]):not([style*="663399"]),
  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"], th[style="background:lightgrey"],
  div[style*="background-color: #dddddd" i] {
    background-color: var(--gray-3) !important;
  }
  .infobox-above[style="background-color:whitesmokemorph"],
  .infobox-above[style="background-color:lemonchiffon"],
  .infobox-above[style="background-color:thistle"],
  .infobox-above[style="background-color:#E0E0E0"],
  .infobox-above[style="background-color:beige"],
  .infobox-above[style="background-color:lightgreen"],
  .infobox-above[style="background-color:pink"],
  .infobox-above[style="background-color:antiquewhite"],
  .infobox-above[style="background-color:lightblue"] {
    background-color: var(--gray-69) !important;
  }
  .plainlinks.mw-trackedTemplate {
    background: var(--gray-3) !important;
  }
  .licensetpl.fileinfotpl tbody th {
    background-color: var(--gray-4) !important;
  }
  .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, kbd, 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;
  }
  /* white background to wikEd - see #24 */
  .wikEdFrameBodySyntax, #wpTextbox1 {
    background: var(--gray-18);
  }
  #wmhu-tax-banner-text {
    color: var(--base-color);
  }
  #wmhu-tax-banner {
    background-color: var(--gray-18);
    border: 0;
  }
  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, kbd {
    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,
  .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link: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);
    border-color: var(--base-color);
  }
  .oo-ui-textInputWidget.oo-ui-widget-enabled textarea.oo-ui-inputWidget-input:focus {
    outline: 1px solid 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-b9);
  }
  .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
    background-color: var(--gray-2);
  }
  .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,
  span[style="white-space:nowrap;"], .mw-history-legend, #mw-content-text,
  .mw-mmv-options-text-body {
    color: var(--gray-c);
  }
  .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, .reference-text,
  .mwe-popups .mwe-popups-container, #viewsourcetext {
    color: var(--gray-c);
  }
  .mwe-popups .mwe-popups-container {
    background-color: var(--gray-2) !important;
  }
  .mwe-popups .mwe-popups-container .mwe-popups-thumbnail {
    background-color: var(--white) !important;
  }
  span[style="color:black"], span[style*="color: black"],
  span[style*="color:black"], td[style*="color: black"],
  td[style*="color: #2C2C2C"], .mwe-popups-container a {
    color: var(--gray-c) !important;
  }
  span[style*="color: #000"], .wikiEditor-ui-toolbar .page-table td,
  sup[style*="color:#000"], div[style*="color:#000"], .editOptions {
    color: var(--gray-c) !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;"],
  div[style*="background:#eee"] {
    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"],
  a img[src*="OOjs_UI_icon"] {
    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:not(.k-options):hover,
  .ui-icon-comment:hover {
    background-color: var(--gray-2);
    border: 0 !important;
  }
  .k-player .lButton, .k-player .rButton {
    border: medium none;
  }
  .k-player .volume-slider a.ui-slider-handle.ui-state-hover,
  .k-player .volume-slider a.ui-slider-handle.ui-state-focus {
    border: 0 !important;
  }
  .k-player .k-options:hover {
    border-bottom: 1px solid transparent !important;
  }
  .k-player .ui-widget-content {
    color: var(--gray-c);
  }
  div > .flow-menu li a, .mw-mmv-post-image,
  .mw-mmv-permission-box .mw-mmv-permission-text .mw-mmv-permission-text-fader a {
    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,
  .mw-page-container, #mw-panel {
    background-color: transparent !important;
    border: none !important;
  }
  .mw-rcfilters-ui-filterMenuHeaderWidget-header,
  .mw-rcfilters-ui-menuSelectWidget-footer,
  .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 {
    background-color: transparent !important;
  }
  tr[style*="background"]:not([style*="ABCDEF"]):not([style*="cedff2"]):not([style*="E4F2E4"]):not([style*="ccccff"]):not([style*="white"]) {
    background-color: transparent;
  }
  #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, .mw-parser-output table.dmbox {
    border-color: var(--gray-4);
  }
  .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button,
  .oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
    background-color: var(--gray-2);
    border-color: var(--gray-3) !important;
  }
  /*** Background Color Styles ***/
  div[style*="background-color:white; border"] {
    background-color: transparent !important;
    border: 1px solid var(--green-3) !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;
  }
  .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,
  .ve-ui-mwHelpPopupTool-version-label, .ve-ui-mwHelpPopupTool-version-link,
  .ve-ui-mwHelpPopupTool-version-date {
    color: var(--gray-7);
  }
  /* Red
  ** Red links (non-existant pages) */
  div.vectorTabs li.new:not(.selected) a, .mw-plusminus-neg,
  span[style="color:darkred"] {
    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%);
  }
  td[style="background-color: #FDB3AB;"],
  th[style*="background:#fdb3ab;"][colspan="3"],
  th[style*="background:#fdb3ab;"][colspan="4"] {
    background-color: var(--red-3) !important;
    color: var(--gray-c);
  }
  span[style*="border:1px solid #AAAAAA; padding:1px .6em; background-color:#fdb3ab;"] {
    background-color: var(--red-3) !important;
    border: 1px solid var(--red-3) !important;
  }
  span[style*="border-left: 1.2em solid #FDB3AB;"] {
    border-left: 1.2em solid var(--red-3) !important;
  }
  .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;
  }
  div[style*="background:#ffdbdb"] {
    background-color: var(--red-0) !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;
  }
  th[style*="background:#fdb3ab;"] {
    background: var(--red-2) !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"],
  td[style*="background:#fcc"] {
    background-color: var(--red-3) !important;
  }
  table[style="background-color: #fee;"] {
    background-color: var(--red-0) !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;
  }
  td[style*="border:1px solid #BF4D40; padding:5px; background:#D9948C; color:#FFFFFF" i] {
    border: 1px solid var(--red-3) !important;
    background: var(--red-3) !important;
    color: var(--gray-e) !important;
  }
  div[style*="border:1px solid #BF4D40; background:#BF4D40"] {
    border: 1px solid var(--red-3) !important;
    background: var(--red-3) !important;
  }
  div[style*="background:#F2DBD9"] {
    background: var(--red-rgb) !important;
  }
  td[style*="border:1px solid #BF4D40"], div[style*="border: 1px solid #BF4D40"] {
    border: 1px solid var(--red-3) !important;
  }
  /* Green */
  .mw-parser-output .MainPage__column--left {
    border: 1px solid var(--green-1);
    color: var(--gray-e);
    background-color: var(--green-4);
  }
  .resolved span[style*="border:1px solid #aaa" i],
  div[style*="border-color: #50C878"] {
    border-color: var(--green-2) !important;
  }
  .resolved span[style*="background:#f9fcf9" i],
  div[style*="background-color: #ECFCF4"] {
    background-color: var(--green-4) !important;
  }
  .mw-plusminus-pos, span[style*="color: darkgreen" i] {
    color: var(--green-1) !important;
  }
  .mw-parser-output .documentation, .mw-parser-output .documentation-metadata,
  .template-documentation {
    background-color: var(--green-4);
    border-color: var(--green-2);
  }
  .footertemplate, #navigationHeader div[style*="background-color:#E6F2E6" i] {
    background-color: var(--green-4) !important;
    border: 1px solid var(--green-2) !important;
  }
  th[style*="background:#EEF3E2" i] {
    background-color: var(--green-3) !important;
  }
  td[style="background-color: #D4F4B4;"], th[style*="background:#d4f4b4;"] {
    background-color: var(--green-2) !important;
  }
  span[style*="border-left: 1.2em solid #D4F4B4" i] {
    border-left: 1.2em solid var(--green-2) !important;
  }
  span[style*="border:1px solid #AAAAAA; padding:1px .6em; background-color:#d4f4b4" i] {
    background-color: var(--green-2) !important;
    border: 1px solid var(--green-2) !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;
  }
  td[style*="background-color:#98FB98" i],
  td[style*="background-color: #98FB98" i] {
    background-color: var(--green-2) !important;
  }
  td[style*="background-color:#CFC" i], td[style*="background-color: #CFC" i] {
    background-color: var(--green-3) !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;
  }
  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%);
  }
  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;
  }
  #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;
  }
  .mw-tag-marker {
    background: var(--green-4);
  }
  span[style="background-color:#EFF; color:#000"] {
    background-color: var(--green-4) !important;
    color: var(--gray-e) !important;
  }
  span[style="background-color:#EFF"] {
    background-color: var(--green-4) !important;
  }
  span[style="background-color:#EFE; color:#000"] {
    background-color: var(--green-a0) !important;
    color: var(--gray-e) !important;
  }
  span[style="background-color:#DFD; color:#000"] {
    background-color: var(--green-a1) !important;
    color: var(--gray-e) !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;
  }
  td[style*="background-color: #FF6"] {
    background: var(--brown-2) !important;
  }
  .usermessage {
    background: var(--brown-4);
    border-color: var(--yellow-1);
    color: var(--gray-c);
  }
  span[style="background-color:#FFC; color:#000"] {
    background-color: var(--brown-1) !important;
    color: var(--gray-e) !important;
  }
  span[style="background-color:#FFC"] {
    background-color: var(--brown-1) !important;
  }
  span[style="background-color:#FC6; color:#000"] {
    background-color: var(--brown-2) !important;
    color: var(--gray-e) !important;
  }
  /* 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;
  }
  span[style*="border-left: 1.2em solid #FED1A0;"] {
    border-left: 1.2em solid var(--yellow-1) !important;
  }
  span[style*="border:1px solid #AAAAAA; padding:1px .6em; background-color:#fed1a0;"] {
    border: 1px solid var(--yellow-1) !important;
    background-color: var(--yellow-1) !important;
  }
  th[style*="background:#fed1a0;"][colspan="3"], td[style*="background:#ffc"] {
    background-color: var(--yellow-1) !important;
  }
  /* Grey */
  h2[style*="color:white;"], th a span[style*="color:#FFFFFF"],
  b[style="color:black" i] {
    color: var(--gray-e) !important;
  }
  .uls-ui-languages p, .checkbox {
    color: var(--gray-a);
  }
  .mw-parser-output .MainPage__banner {
    border: 1px solid var(--gray-4);
    background-color: var(--gray-28);
    color: var(--gray-e);
  }
  .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"]):not([style*="background-color:transparent;"]).wikitable td:not([bgcolor]),
  table.prettytable td, .statstable > * > tr.tux-statstable-even > td {
    background: var(--gray-2);
  }
  tr[style*="background: #DEDEDE"] {
    background: var(--gray-3) !important;
  }
  th[style*="background: #EFEFEF"] {
    background: var(--gray-28) !important;
  }
  td[style*="background-color: #FFF"] {
    background-color: var(--gray-2) !important;
  }
  table[style*="background: #f9f9f9"], .mw-parser-output .commonscat,
  div[style*="background-color:#FFFFFF"] {
    background: var(--gray-2) !important;
  }
  table[style*="border: 1px solid #aaaaaa"] {
    border-color: var(--gray-4) !important;
  }
  td[style*="border-top: 1px solid white; border-left: 1px solid white; border-bottom: 1px solid white"],
  td[style*="border-top: 1px solid white; border-right: 1px solid white; border-bottom: 1px solid white"] {
    border-color: var(--gray-3) !important;
  }
  span[style*="border:1px solid #aaa; background:#fcf9f9;"] {
    background: var(--gray-3) !important;
    border-color: var(--gray-5) !important;
  }
  span[style="background-color:#EEE; color:#000"] {
    background-color: var(--gray-2) !important;
    color: var(--gray-e) !important;
  }
  span[style="background-color:#FFF; color:#000"] {
    background-color: var(--gray-1) !important;
    color: var(--gray-e) !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, .oo-ui-panelLayout-framed {
    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);
  }
  .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .mw-rcfilters-ui-tagItemWidget-selected.oo-ui-tagItemWidget.oo-ui-widget-enabled {
    background-color: var(--gray-2);
    border-color: var(--base-color);
  }
  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"], td[style*="background-color: #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 var(--gray-a);
  }
  .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;
  }
  div.noarticletext, div.fmbox-system {
    background: var(--gray-18);
    border-color: var(--gray-4);
  }
  div[style*="background: rgb(51, 102, 204)"] {
    background-color: var(--brown-1) !important;
    color: var(--gray-d) !important;
  }
  span[style*="border: 1px solid #aaa; background: #f9fcf9;"],
  span[style*="border: 1px solid #aaa; background-color: #f9fcf9;"],
  span[style*="border: 1px solid #aaa; background-color: #fcf9f9;"],
  span[style*="border: 1px solid #aaa; background-color: #fcfcf9;"],
  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;
  }
  td[style*="background: #F5F5FF"] {
    background-color: var(--gray-28) !important;
  }
  .oo-ui-menuSelectWidget {
    background-color: var(--gray-18);
    border-color: var(--gray-5);
  }
  table.ext-status-unknown > tbody > tr.tpl-infobox-header {
    background: var(--gray-5) !important;
  }
  tr[style*="background:#F3F3F3" i] {
    background: var(--gray-28) !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;"], th[style*="background-color:#ddd"] {
    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, table.fmbox {
    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 {
    filter: invert(1) brightness(80%);
  }
  .tux-grouplist__item__icon {
    filter: invert(1) brightness(180%);
  }
  .tux-groupselector {
    border: 1px solid var(--gray-5);
    background-color: var(--gray-28);
    box-shadow: 0 5px 10px rgba(200, 200, 200, .2);
  }
  .tux-grouplist {
    background-color: var(--gray-18);
  }
  .tux-grouplist__item {
    border-color: var(--gray-5);
  }
  .tux-grouplist__item:hover {
    background-color: var(--gray-2_75);
  }
  .tux-grouptab--selected {
    border-bottom: 2px solid var(--base-color);
  }
  .ext-translate-language-selector .uls::after {
    border-top: 4px solid var(--base-color);
  }
  .tux-groupselector::after {
    border-bottom: 6px solid var(--gray-28);
  }
  .tux-groupselector::before {
    border-bottom: 7px solid var(--gray-5);
  }
  .tux-action-bar .translate-mode-button::before {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='25' height='15' viewBox='0 0 25 15'><path fill='%23eee' d='M5.954 1.63h13.092V4.3H5.954zM5.954 6.166h13.092v2.668H5.954zM5.954 10.7h13.092v2.67H5.954z'/></svg>");
  }
  .tux-action-bar .page-mode-button::before {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='25' height='15' viewBox='0 0 25 15'><g fill='%23eee'><path d='M5.97 1.625v2.688h5.655V1.624H5.97zm7.405 0v2.688h5.656V1.624h-5.655zM5.97 6.156v2.688h5.655V6.156H5.97zm7.405 0v2.688h5.656V6.156h-5.655zM5.97 10.688v2.687h5.655v-2.688H5.97zm7.405 0v2.687h5.656v-2.688h-5.655z'/></g></svg>");
  }
  .tux-list-edit a, .message-desc-edit {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'><path d='M9.825 1.975l-6.218 8.888h-.015l-.19 2.164 1.977-.92 6.217-8.89-1.772-1.244z' fill='rgb(/*[[base-color-rgb]]*/)'/></svg>");
  }
  .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-loading-indicator {
    background-image: linear-gradient(transparent, transparent),
                          url("data:image/svg+xml,<?xml version='1.0' standalone='no'?><svg version='1.0' xmlns='http://www.w3.org/2000/svg' width='34px' height='34px' viewBox='0 0 34.000000 34.000000' preserveAspectRatio='xMidYMid meet'><g transform='translate(0.000000,34.000000) scale(0.100000,-0.100000)' fill='rgb(/*[[base-color-rgb]]*/)' stroke='none'><path d='M285 103 c-16 -29 -32 -43 -75 -60 -48 -19 -51 -22 -25 -23 39 0 90 32 115 72 21 35 25 48 13 48 -5 0 -17 -17 -28 -37z'/></g></svg>");
  }
  .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-a);
  }
  .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-statsbar .tux-translated {
    background-color: var(--base-color);
  }
  .tux-message-selector li.selected, .ve-ui-specialCharacterPage-character:hover {
    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;"], div[style*="background: #FFF"] {
    background: var(--gray-2) !important;
  }
  div[style*="background: #FFF"] {
    background: var(--gray-18) !important;
  }
  th[style*="background:linear-gradient(to top right,#eaecf0 49.5%,#aaa 49.5%,#aaa 50.5%,#eaecf0 50.5%)"] {
    background: var(--gray-3) !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 */
  .mw-parser-output .MainPage__column--right {
    border: 1px solid var(--blue-4);
    background: var(--blue-2);
  }
  th[style*="background: #E0FFFF"] {
    background: var(--blue-2) !important;
  }
  div[style*="background-color: #BBDDFF; border: #4169E1 1px solid"] {
    background-color: var(--blue-2) !important;
    border: var(--blue-4) 1px solid !important;
  }
  .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;
  }
  .rt-target {
    background-color: var(--blue-2);
  }
  div[style*="background"]:not([style*="order"]):not(.boilerplate):not([style*="#FFE"]):not([style*="#fff"]) h2:not([style]):not(#Before_you_post):not(#Post_a_new_question),
  div[style*="background"]:not([style*="order"]):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"],
  div[style*="background:#fafcfe" i], div[style*="background-color: #c6dbf7"] {
    background-color: var(--blue-2) !important;
  }
  td[style*="background-color: #CFF"], div[style*="background-color:#7fbfff"] {
    background: var(--blue-4) !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;"],
  td[style*="background:#ccf"] {
    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);
  }
  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"],
  div[style*="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);
  }
  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;
  }
  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;
  }
  th.navbox-title[style*="background:#3C3B6E"] {
    background: var(--purple-0) !important;
  }
  th.navbox-title[style*="border:1px double #8C959A;"] {
    border-color: var(--purple-0) !important;
  }
  div[style*="border-right:1px solid #FFFFFF; padding:0.1em; background-color:#FAF5FF"],
  div[style*="border: 1px #AAA solid; background: #BBF"] {
    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;
    color: var(--gray-c) !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: #DDF;"], 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:not([style*="background:white"]),
  .navbox-abovebelow:not([style*="background:white"]) *,
  div[style*="background:#ddddff" i], div[style*="background:#ddf"] {
    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;
  }
  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-8);
  }
  figure[typeof~="mw:Image/Thumb"] > :first-child > img,
  figure[typeof~="mw:Video/Thumb"] > :first-child > img,
  figure[typeof~="mw:Audio/Thumb"] > :first-child > img,
  figure[typeof~="mw:Image/Frame"] > :first-child > img,
  figure[typeof~="mw:Video/Frame"] > :first-child > img,
  figure[typeof~="mw:Audio/Frame"] > :first-child > img,
  figure[typeof~="mw:Image/Thumb"] > :first-child > video,
  figure[typeof~="mw:Video/Thumb"] > :first-child > video,
  figure[typeof~="mw:Audio/Thumb"] > :first-child > video,
  figure[typeof~="mw:Image/Frame"] > :first-child > video,
  figure[typeof~="mw:Video/Frame"] > :first-child > video,
  figure[typeof~="mw:Audio/Frame"] > :first-child > video,
  .mw-parser-output .mod-gallery .bordered-images .thumb img {
    border-color: var(--gray-5);
  }
  .mw-parser-output .mod-gallery .whitebg .gallerybox,
  .mw-parser-output .mod-gallery .whitebg .thumb {
    background: var(--gray-2) !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;
  }
  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"], td[style*="background:#fcf"],
  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;
  }
  span[style="background-color:#EEF; color:#000"] {
    background-color: var(--purple-d) !important;
    color: var(--gray-e) !important;
  }
  span[style="background-color:#FEF; color:#000"] {
    background-color: var(--purple-0) !important;
    color: var(--gray-e) !important;
  }
  /* Brown */
  .mw-notification.mw-notification-type-warn {
    border-color: var(--brown-2);
    background-color: var(--brown-3);
  }
  div[style*="background:#ffe496" i], div[style*="background-color:#ffffec"] {
    background-color: var(--brown-3) !important;
  }
  th[style*="background:#F5F5DC" i] {
    background-color: var(--brown-3) !important;
  }
  span[style*="background:moccasin" i] {
    background-color: var(--brown-2) !important;
  }
  div[style*="background-color: #FFE" i] div h2 span#Add_your_project {
    background-color: var(--brown-3);
  }
  .mw-parser-output #mp-banner {
    background-color: var(--brown-1);
    border-color: var(--brown-2);
  }
  .mw-parser-output .nmbox-header, .mw-parser-output .nmbox {
    background-color: var(--brown-3);
    border-color: var(--brown-2);
  }
  tr[style="background: #EEF3E2"], td[style="background: #EFE"] {
    background-color: var(--brown-3) !important;
  }
  .flaggedrevs-pending {
    background-color: var(--brown-2);
  }
  .flaggedrevs-unreviewed {
    background-color: var(--brown-1);
  }
  .oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
    background-color: var(--gray-2);
    color: var(--gray-c);
    border-color: var(--gray-5);
  }
  #btn_opisy_zm_waxon_off, tr[style="background-color:#FFFFAA" i],
  div[style*="background:#FFF4B8;border:1px solid #AAA" i],
  table[style*="border:1px solid #A9A9A9; background-color:#FFEFD5;" i],
  div[style*="background-color: #FFE" i], .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-color: #FEF8C6" i] {
    background: var(--brown-4) !important;
    color: var(--gray-c);
  }
  span[style*="border-left: 1.2em solid #FEF8C6" i] {
    border-left: 1.2em solid var(--brown-4) !important;
  }
  span[style*="border:1px solid #AAAAAA; padding:1px .6em; background-color:#fef8c6" i] {
    background-color: var(--brown-4) !important;
    border: 1px solid var(--brown-4) !important;
  }
  th[style*="background:#fef8c6;"][colspan="4"] {
    background: var(--brown-4) !important;
  }
  td[style*="background: #e8dbae" i],
  span[style*="font-size:115%;background:#FFA" i] {
    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);
  }
  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;
  }
  tr[style="background: #e8dbae"] th, table.infobox.standard-talk td,
  table.tmbox-protection, html table.tmbox-notice:not(#TMPedn),
  div[style*="border-bottom: 1px solid #c0c090;"] {
    border-color: var(--brown-2) !important;
  }
  div[style*="border-top: 1px solid #c0c090" i],
  td[style*="border-top: 1px solid #c0c090" i] {
    border-top-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);
  }
  .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 */
  div[style*="background:#fff5fa;"], th[style*="background:#FFABD5"] {
    background-color: var(--pink-0) !important;
  }
  td[style*="background-color: #FDD"] {
    background-color: var(--pink-1) !important;
  }
  td[style*="background-color: #F9D"] {
    background-color: var(--pink-2) !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([class*="MainPage__heading-"]):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, #toc,
  .mw-gallery-traditional li.gallerybox div.thumb, div.thumbinner,
  .mw-parser-output .portal, .mw-warning, .navbox, .catlinks, .catlinks li,
  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-prefs-tabs-wrapper.oo-ui-panelLayout-framed, .mw-prefs-buttons,
  .mw-ui-feature-header, .mw-ui-feature-discussion-link,
  .mw-ui-feature-info-link, .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,
  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),
  .mw-rcfilters-ui-watchlistTopSectionWidget-separator,
  .mw-revslider-slider-wrapper, .mw-revslider-container, .otherprojects,
  .infobox.bordered td, .infobox.bordered th,
  .mw-parser-output .covid-sticky th::before,
  .mw-parser-output .covid-sticky th::after,
  .mw-mmv-permission-box.full-size .mw-mmv-permission-html,
  .oo-ui-bookletLayout > .oo-ui-menuLayout-menu,
  .oo-ui-toolbar-position-top .ve-ui-toolbarDialog-position-above,
  .ve-ui-specialCharacterPage-character, .mw-echo-ui-notificationItemWidget,
  .mw-parser-output .commonscat, .infobox_v2,
  .mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head,
  .mw-echo-ui-notificationItemWidget:last-child {
    border-color: var(--gray-5);
  }
  body[class*="skin-"] .mw-parser-output table.ambox {
    border: 1px solid var(--gray-5);
  }
  body[class*="skin-"] .mw-parser-output table.ambox {
    border-left: 10px solid var(--orange-2);
  }
  table.ambox-protection {
    border-left: 10px solid var(--gray-7) !important;
  }
  table.sidebar.vertical-navbox.nomobile {
    background-color: var(--gray-2);
  }
  /* 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;" i],
  div[style*="border:1px solid #aaa;" i], div[style*="border:1px solid #CCC;" i],
  h2[style*="border:1px solid #ddd;" i],
  div[style*="border-bottom: 1px solid #CCC" i],
  .wikiEditor-ui .wikiEditor-ui-top, .mw-advancedSearch-fieldContainer fieldset,
  .editOptions, div#editpage-specialchars,
  .nmbox[style*="border: 1px solid #a2a9b1;" i],
  div[style*="border:solid #aaa 1px" i],
  table[style*="border:1px solid #aaa;" i],
  table[style*="border:1px solid #AAA;" i],
  table[style*="border: 1px solid Silver;" i],
  table[style*="border: 1px solid #ccc;" i],
  table[style*="border: 1px solid #cccccc;" i],
  div[style*="border-top:3px double #CCC;" i],
  table[style*="border: 1px solid #808080;" i],
  td[style*="border-bottom:1px solid #aaa;" i],
  .vertical-navbox td[style*="border-bottom:1px solid;" i],
  div[style*="border: 1px solid #aaa;" i],
  td[style*="border: 1px solid #aaa;" i],
  div[style*="border-bottom: #AAAAAA 1px solid;" i],
  div[style*="border: #AAAAAA 1px solid;" i],
  td[style*="border-left:1px solid #aaa;" i],
  div[style*="border:1px solid #e9e9e9;" i],
  th[style*="border-top: 1pt lightgrey solid;" i],
  td[style="border-top: 1pt lightgrey solid" i],
  div[style*="border: 1px solid rgb(170, 170, 170);" i],
  div[style*="border-color:#aaaaaa" i],
  td[style*="border-right: 1px solid #c9c9c9;" i],
  td[style*="border: 1px solid #cfcfbf" i],
  table[style*="border: 1px groove gray;" i],
  table[style*="border:1px solid #999999" i],
  div[style*="; border:1px solid ;" i],
  div[style*="border:solid #aaaaaa 1px;" i],
  table[style*="border:solid 1px #A8A8A8" i],
  td[style*="border: 1px solid #FFFFFF" i],
  th[style="border-right: 1px solid #ccccff;" i],
  table[style*="border: 1px solid gray;" i],
  div[style*="border:1px solid #AAA;" i],
  div[style*="border:1px solid #BDBDBD;" i],
  div[style*="border:2px solid #ddd;" i],
  table[style*="border:1px solid #bbb;" i],
  ul[style*="border:1px solid #AAA;" i],
  div[style*="border:1px solid #aaaaaa;" i],
  div[style*="border-bottom:1px solid #A0A0A0;" i],
  table[style*="border:solid #AAA 1px;" i],
  div[style*="border-bottom:1px solid #88A;" i],
  div[style*="border: 1px solid #999;" i],
  table[style*="border: 2px solid black;" i],
  th[style*="border:1px solid #AAA;" i], td[style*="border: 1px solid #AAA;" i],
  div[style*="border:1px solid #a2a9b1;" i],
  span[style*="border-bottom:0.3em solid #c8ccd1;" i],
  caption[style*="border-bottom:1px solid #AAA" i],
  table[style*="border:1px solid grey;" i],
  div[style*="border:1px solid gray;" i],
  div[style*="border-top:1px solid #AAA;" i],
  td[style*="border-top:1px solid #AAA;" i],
  th[style*="border:1px solid #aaa;" i],
  table[style*="border: 1px solid #AAA;" i],
  div[style*="border:1px solid #ccc;" i],
  div[style*="border-bottom: 1px solid #aaa;" i],
  table[style*="border:1px solid #ccc;" i],
  td[style*="border:1px solid #ccc;" i],
  table[style*="border-top:5px #ccc solid; border-bottom:5px #ccc solid;" i],
  th[style*="border: 1px solid #aaa;" i],
  table[style*="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa;" i],
  table[style*="border-color:#aaaaaa;" i],
  td[style*="border-bottom:1px solid #aaaaaa;" i],
  div[style*="border-bottom: 1px solid #AAAAAA;" i],
  td[style*="border:1px dashed #DDD" i], div[style*="border:solid #aaa 1px" i],
  div[style*="border-top:1px solid #DDD;" i],
  div[style*="border-top:1px solid #CCC;" i],
  div[style*="border-top: 1px solid #bebebe;" i],
  div[style*="border-bottom:1px solid #aaa" i],
  td[style*="border-top: 1px solid #aaa;" i],
  td[style*="border-top:1px solid grey;" i],
  table[style*="border: 1px solid #CCC;" i],
  div[style*="border:2px #cccccc solid;" i],
  div[style*="border-bottom: 1px solid #bebebe;" i], .search-form fieldset,
  .uls-search, .uls-menu, .mw-datatable td, .mw-datatable th,
  table[style*="border:1px solid #ddd;" i],
  div[style*="border:1px solid #999;" i],
  span[style*="border-top: 1px solid #C0C0C0; border-bottom: 1px solid #C0C0C0;" i],
  table[style*="border:2px solid #e0e0e0" i], tr.expand-child .description,
  div[style*="border:solid #aaaaaa" i],
  td[style*="border-bottom: 1px solid #ccc" i],
  th[style*="border:1px double #8C959A;" i],
  ul[style*="border-top: 1px solid rgb(170, 170, 170)" i],
  div[style*="border:1px solid #a3b0bf" i], .tux-action-bar button,
  div[style*="border: 1px solid #ccc" i],
  td[style*="border-right: 1px solid #aaa;border-bottom: 1px solid #aaa"],
  td[style*="border-bottom: 1px solid #aaa" i],
  td[style*="border-left:solid 2px #AAA;border-right:solid 1px #AAA"],
  div[style*="border: 2px solid #ccc" i],
  th[style*="border-top: 1px solid #BBB" i],
  table[style*="border:1px solid lightgrey" i],
  table[style*="border: 1px solid #aaa" i] {
    border-color: var(--gray-5) !important;
  }
  div[style*="border:1px #FFFFFF" i], td[style*="border-right:solid 2px #AAA" i],
  td[style*="border-right:solid 1px #AAA" i] {
    border-color: var(--gray-4) !important;
  }
  th[style*="border-right:solid 2px #AAA" i] {
    border-right-color: var(--gray-5) !important;
  }
  .rootpage-Wikipedia_Community_portal div[style*="border:1px #FFFFFF solid" i] {
    border-color: transparent !important;
  }
  /* stop hovering effects on tr/td borders
	   https://species.wikimedia.org/wiki/Wikispecies:Templates#Link_Templates */
  tr:hover,
  td:not(.mid-table):not([style*="border:1px solid transparent"]):not(.navbox-abovebelow):not(.navbox-list):not([style]):not(.MainPageBG):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"]:not([style*="border-bottom"]),
  th[style*="border-right:1px solid #AAA" i] {
    border-color: var(--gray-2) !important;
  }
  td[style*="border-left:2px solid #b32424;" i],
  td[style*="border-bottom:2px solid #b32424" i] {
    border-color: var(--red-2) !important;
  }
  table[style*="border:1px solid black;" i],
  div[style="width: 80%; border: 1px solid; padding: 10px; margin:0 auto 8px;" i] {
    border-color: var(--gray-7) !important;
  }
  div[style*="border: 1px solid #bebebe; background-color: white;" i] {
    background-color: var(--gray-2) !important;
    border-color: var(--gray-5) !important;
  }
  .mw-gallery-traditional li.gallerybox div.thumb {
    background-color: var(--gray-18) !important;
  }
  th[style^="padding:2px; font-size:90%; background-color:#efefef;"] {
    background-color: var(--gray-28) !important;
  }
  .infobox > tbody > tr[style*="background:#eee;"] {
    background-color: var(--gray-2) !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;" i] {
    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;
    color: var(--gray-e);
  }
  div[style*="border:1px solid #ddd;" i],
  table[style*="border: 1px solid #aaa;" i] {
    border: 1px solid var(--gray-5) !important;
  }
  td[style*="box-shadow: 0px 5px 5px -6px #ccc;" i], td[style*="#ccc;" i] {
    box-shadow: 0 5px 5px -7px var(--gray-5) !important;
  }
  td[style*="box-shadow: 0px 0px 5px #ccc;" i] {
    box-shadow: 0 0 5px var(--gray-5) !important;
  }
  table[style*="box-shadow:0 0 .5em #999" i] {
    box-shadow: 0 0 .5em var(--gray-18) !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" i], tr[style*="border-bottom" i] {
    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,
  .ve-ui-citeSourceSelectWidget-separator, .oo-ui-searchWidget-query,
  .ve-ui-mwReferenceResultWidget {
    border-color: var(--gray-5);
  }
  .ve-init-mw-progressBarWidget {
    background-color: var(--gray-1);
    border-color: var(--base-color);
  }
  .ve-init-mw-progressBarWidget-bar {
    background-color: var(--base-color);
  }
  .cx-callout, .mwe-popups::before, .cx-callout-1::before {
    border-bottom-color: var(--gray-7);
  }
  .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 {
    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 {
    border-bottom-color: var(--gray-2) !important;
  }
  .oo-ui-popupWidget-anchored .oo-ui-popupWidget-anchor::after {
    border-bottom-color: currentcolor !important;
  }
  .oo-ui-popupWidget-anchored .oo-ui-popupWidget-anchor::before {
    border-top-color: var(--gray-5) !important;
  }
  .oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::after {
    border-bottom-color: var(--gray-2) !important;
  }
  .oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::before {
    border-bottom-color: var(--gray-5) !important;
    border-width: 10px !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,
  .oo-ui-image-progressive.oo-ui-icon-wikiText,
  .oo-ui-image-progressive.oo-ui-icon-eye, .mw-ui-icon-eye-progressive::before,
  .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon,
  .oo-ui-image-progressive.oo-ui-icon-specialCharacter,
  .mw-ui-icon-specialCharacter-progressive::before,
  .oo-ui-image-progressive.oo-ui-icon-help, .mw-ui-icon-help-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::after {
    border-top-color: var(--gray-2) !important;
  }
  .oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor::before {
    border-top-color: var(--gray-4) !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-color: 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;
  }
  /* 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,
  .interlanguage-uls-menu.selector-left::before,
  .interlanguage-uls-menu.selector-left::after {
    border-right-color: var(--gray-5);
  }
  .uls-menu.callout.selector-left::after,
  .interlanguage-uls-menu.selector-left::after {
    border-right: 10px solid var(--gray-2);
  }
  .mw-interlanguage-selector:active, .mw-interlanguage-selector.selector-open {
    background-color: var(--gray-28) !important;
    color: var(--gray-c);
  }
  .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;
  }
  /* User Icon */
  #pt-anonuserpage, #pt-userpage a {
    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"><g fill="%23aaa"><path d="M10 11c-5.92 0-8 3-8 5v3h16v-3c0-2-2.08-5-8-5z"/><circle cx="10" cy="5.5" r="4.5"/></g></svg>');
  }
  /* 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:not(td), table.ambox-style {
    border-left: 10px solid var(--orange-2);
  }
  table.box-No_footnotes.ambox-style {
    border-left: 10px solid var(--yellow-2) !important;
  }
  table.ambox {
    border: 1px solid var(--gray-5);
  }
  /* add border */
  .vector-menu-tabs li, .client-js #preftoc li {
    border-right: 1px solid var(--gray-5) !important;
  }
  .vector-menu-tabs .selected, .client-js #preftoc li.selected {
    border-bottom: 2px solid var(--tab-color);
    box-shadow: none !important;
  }
  .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;
  }
  .wikitable th[style*="color: black"], .wikitable th[style*="color: black"] {
    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;
  }
  .ve-ui-mwTemplatePage-description {
    color: var(--gray-a);
  }
  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" i], .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;" i] {
    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,
  .wikiEditor-ui-toolbar .group .tool-select .menu .options .option:hover {
    background-color: var(--gray-2);
  }
  #proveit, ul[style*="background:#f9f9f9" i] {
    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, .mw-graph .vega canvas {
    filter: invert(1) hue-rotate(180deg) contrast(60%);
  }
  .client-js .mw-graph-interactable:hover .mw-graph-layover,
  .client-js .mw-graph-hover-title {
    background-color: var(--gray-2_75);
  }
  .client-js .mw-graph-interactable:hover .mw-graph-switch:hover {
    background-color: var(--gray-4);
  }
  .client-js .mw-graph-switch:hover, .client-js .mw-graph-switch {
    background-color: var(--gray-3);
    border-color: var(--base-color);
    color: var(--base-color);
  }
  .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" i] {
    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);
  }
  .wikipediauserbox td {
    color: var(--gray-a) !important;
  }
  .wikipediauserbox td a, .wikipediauserbox td a span {
    color: var(--base-color) !important;
  }
  .wikipediauserbox table[style*="background" i],
  table[style*="background:#DDD" i] {
    background-color: var(--gray-2) !important;
  }
  .wikipediauserbox, .wikipediauserbox td *,
  table[style*="border:1px solid #BBB" i] {
    border-color: var(--gray-5) !important;
  }
  .boilerplate.archived[style="background-color: #edeaff" i] {
    background-color: var(--blue-2) !important;
    border-color: var(--blue-4) !important;
  }
  .boilerplate.archived[style*="background-color: #eaffea" i] {
    background-color: var(--green-4) !important;
    border-color: var(--green-2) !important;
  }
  .boilerplate.archived[style*="background-color: #ffeaea" i] {
    background-color: var(--red-3) !important;
    border-color: var(--red-2) !important;
  }
  .boilerplate.archived[style*="background-color: #ffffd1" i] {
    background-color: var(--brown-1) !important;
    border-color: var(--brown-2) !important;
  }
  .boilerplate.xfd-closed[style*="background-color: #f3f9ff" i] {
    background-color: var(--blue-3) !important;
    border-color: var(--blue-1) !important;
  }
  .boilerplate[style*="background-color: #efe" i] {
    background-color: var(--green-2) !important;
    border-color: var(--green-1) !important;
  }
  .mw-collapsible.mw-made-collapsible th[style*="background"]:not([style*="fed1a0"]):not([colspan]) {
    background-color: var(--green-2) !important;
  }
  .mw-collapsible.mw-made-collapsible td[style*="background-color: #fcf4ef" i] {
    background-color: var(--gray-3) !important;
    border-color: var(--gray-5) !important;
  }
  .mw-collapsible.mw-made-collapsible[style*="border"],
  .skin-vector-max-width .mw-footer {
    border-color: var(--gray-5) !important;
  }
  /*** main page ***/
  .mw-parser-output #mp-topbanner {
    border-color: var(--gray-5);
    background-color: var(--gray-2);
  }
  .mw-parser-output #mp-topbanner, .mw-parser-output .mp-h2,
  .mw-parser-output #mp-left {
    color: var(--gray-c);
  }
  .mw-parser-output #mp-right {
    border-color: var(--blue-1);
    background: var(--blue-2);
  }
  .mw-parser-output #mp-right .mp-h2 {
    border-color: var(--blue-1);
  }
  .mw-parser-output #mp-left {
    border-color: var(--green-1);
    background: var(--green-4);
  }
  .mw-parser-output #mp-left .mp-h2 {
    border-color: var(--green-1);
  }
  .mw-parser-output #mp-middle {
    border-color: var(--pink-2);
    background: var(--pink-0);
  }
  .mw-parser-output #mp-tfl-h2 {
    border-color: var(--pink-2);
  }
  .mw-parser-output #mp-lower {
    border-color: var(--purple-2);
    background: var(--purple-d);
  }
  .mw-parser-output #mp-tfp-h2 {
    border-color: var(--purple-2);
  }
  .mw-parser-output #mp-other-lower {
    border-color: var(--gray-5);
  }
  .mw-parser-output #mp-other-lower .mp-h2 {
    background: var(--gray-28);
    border-color: var(--gray-5);
  }
  .mw-parser-output .itn-special {
    background-color: var(--blue-3);
    border-color: var(--blue-4);
  }
  #mp-middle p, #mp-other-lower p, .oo-ui-toolbar-bar {
    color: var(--gray-c);
  }
  #mp-left h2, #mp-left h2 span {
    background: var(--green-2) !important;
    color: var(--gray-d) !important;
  }
  #mp-right h2, #mp-right h2 span {
    background-color: var(--blue-3) !important;
  }
  #mp-center #mp-tfl-h2, #mp-center #mp-tfl-h2 span {
    background-color: var(--pink-1) !important;
    color: var(--gray-d) !important;
  }
  #mp-lower #mp-bottom h2, #mp-bottom h2 span {
    background-color: var(--purple-1) !important;
  }
  /*** diff pages ***/
  table.diff, td.diff-otitle, td.diff-ntitle, td.diff-addedline,
  td.diff-deletedline, td.diff-context {
    background-color: transparent !important;
    color: var(--gray-9a);
  }
  .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;
  }
  .mw-revslider-revision-tooltip .mw-revslider-change-negative {
    color: var(--diff-del);
  }
  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;
  }
  .mw-mmv-title-para .mw-mmv-ttf-ellipsis {
    background-color: var(--gray-2);
  }
  .oo-ui-dropdownInputWidget.oo-ui-widget-enabled,
  .oo-ui-dropdownInputWidget.oo-ui-widget-enabled:hover {
    background-color: transparent !important;
  }
  .oo-ui-labelWidget.oo-ui-inline-help {
    color: var(--gray-9a);
  }
  .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle,
  .mw-mmv-label,
  .mw-mmv-ttf-ellipsis-container:hover .mw-mmv-ttf-container .mw-mmv-ttf-ellipsis,
  .wbmi-item .wbmi-item-container .wbmi-entity-header,
  .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:active {
    background-color: var(--gray-28);
    color: var(--gray-b);
  }
  .mw-mmv-label:hover, .mw-mmv-ttf-container .mw-mmv-ttf-ellipsis:hover,
  .mw-mmv-ttf-ellipsis-container .mw-mmv-ttf-container .mw-mmv-ttf-ellipsis:hover {
    background-color: var(--gray-3);
  }
  .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-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle {
    text-shadow: none;
    border-color: var(--gray-5);
    background-color: var(--gray-3);
  }
  .mw-htmlform-ooui .mw-htmlform-matrix tbody tr:nth-child(2n) td {
    background-color: var(--gray-3);
  }
  .mw-htmlform-ooui .mw-htmlform-matrix tbody tr:hover td {
    background-color: var(--gray-4);
  }
  .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;
  }
  /*** translation pages ***/
  body.mw-special-ContentTranslation, body.mw-special-ContentTranslationStats {
    background-color: var(--gray-2);
    background-image: var(--bg-selected);
  }
  .cx-dashboard, .cx-slitem__details .cx-slitem__translation-link .source-title,
  .cx-tlitem .cx-tlitem__details .translation-link .source-title,
  .cx-ui-translationIssue.oo-ui-tabPanelLayout > .cx-ui-translationIssue-message,
  .cx-pagetitle.oo-ui-textInputWidget textarea,
  .cx-translation-view-header .cx-header__translation-center .oo-ui-buttonElement-button .oo-ui-labelElement-label {
    color: var(--gray-c);
  }
  .cx-translationlist-container, .cx-translation-view, .cx-column,
  .cx-column.cx-column-tools, .card-instructions-count-one,
  .card-instructions-count-two, .card-instructions-count-three {
    background-color: transparent;
  }
  .cx-dashboard-sidebar__help, .cx-translator, .cx-suggestionlist__header,
  .cx-translationlist__header, .cx-card:not(:empty) {
    background-color: var(--gray-2);
  }
  .translation-filter, .cx-selected-source-page__actions,
  .cx-selected-source-page__container, .cx-selected-source-page__license,
  .cx-translationlist-empty, .cx-suggestionlist-empty,
  .cx-translation-view .cx-translation-view-container {
    background-color: var(--gray-28);
  }
  .cx-translatorstats, .cx-tlitem:hover, .cx-slitem:hover,
  .cx-suggestionlist__collapse:hover, .cx-suggestionlist__expand:hover,
  .cx-suggestionlist__refresh:hover,
  .ve-ce-cxPendingNode-pending .ve-ce-cxPendingNode-indicator {
    background-color: var(--gray-3);
  }
  .cx-tlitem:last-child, .cx-slitem:last-child,
  .mw-cx-tools-IssueTracking > .mw-cx-tools-IssueTracking-body,
  .cx-ui-translationIssue.oo-ui-tabPanelLayout > .cx-ui-translationIssue-foot:not(:empty) {
    border-color: var(--gray-5);
  }
  .cx-language-filter .cx-language-filter-arrow::before,
  .cx-language-filter .cx-language-filter-arrow::after {
    border-left-color: var(--gray-5);
  }
  .ve-cx-toolbar-mt .ve-cx-toolbar-mt-title {
    border-bottom-color: var(--gray-5);
  }
  .ve-ce-cxLintableNode.mw-cx-current-issue-warning {
    box-shadow: -16px 0 0 -4px var(--gray-4), -20px 0 0 -4px var(--yellow-1);
  }
  .ve-ce-cxLintableNode.mw-cx-lintIssue-warning {
    box-shadow: -17px 0 0 -4px var(--gray-3), -20px 0 0 -4px var(--yellow-1);
  }
  .cx-header__trademark img {
    filter: invert(100%) brightness(60%);
  }
  .cx-tlitem, .cx-slitem, .cx-suggestionlist__collapse,
  .cx-suggestionlist__expand, .cx-suggestionlist__refresh,
  .cx-translation-view-header, .card-instructions-section {
    background-color: var(--gray-2);
    border-color: var(--gray-5);
  }
  .oo-ui-tagItemWidget.oo-ui-widget-disabled {
    background-color: var(--gray-3);
    border-color: var(--gray-5);
    text-shadow: none;
  }
  .cx-language-filter, .cx-dashboardlist__loading-indicator {
    background-color: var(--gray-3);
    border-color: var(--gray-5);
  }
  .ve-ce-cxPlaceholderNode {
    background-color: var(--gray-3);
    box-shadow: 0 0 0 4px var(--gray-3);
  }
  .cx-highlight, .cx-sentence-highlight, .cx-section-highlight {
    background-color: var(--brown-3);
    box-shadow: 0 0 0 4px var(--brown-3);
  }
  .ve-cx-toolbar-mt .ve-cx-toolbar-mt-noservices {
    background-color: var(--gray-28);
    border-color: var(--gray-5);
  }
  /*** invert images ***/
  img[title="Wikipedia"], #mw-wsmfinal-close, img[src*="Speaker_Icon"],
  .infobox img[alt*="structure"][src*=".svg"]:not([alt*="lag"]),
  /*
  img[src*=".svg"][height="16"]:not([alt*="lag"]),
  img[src*=".svg"][height="17"]:not([alt*="lag"]),
  img[src*=".svg"]:not([src*="check"])[height="18"]:not([src*="oyal"]):not([alt*="lag"]),
  */
  #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.mwe-math-fallback-image-inline, .oo-ui-indicator-required {
    filter: invert(1) brightness(90%);
  }
  div.equation-box[style*="background-color: #F5FFFA"] {
    background-color: var(--gray-1) !important;
  }
  div.equation-box[style*="border-color: #0073CF"] {
    border-color: var(--base-color) !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"],
  .ve-ui-educationPopup-header, img[src*="/Status_iucn3."] {
    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*="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"],
  a.image [src*="Vista_"], a.image [src*="Trivialpursuit"],
  a.image [src*="Fisher"], a.image img[src*="Icon_tools"],
  a.image img[src*="Puzzle_stub"], a.image img[src*="Gnome-"],
  a.image img[src*="copyright_icon"], a.image img[src*="Arrows"],
  a.image img[src*="Squola"], a.image img[src*="scales"],
  a.image img[src*="DeadEnd"], a.image img[src*="Local"],
  a.image img[src*="Merge-"], a.image img[src*="delete"],
  a.image img[src*="Filing_"], a.image img[src*="Lens_"],
  a.image img[src*="Wikimedia_logo_family_complete"], a.image img[src*="Propan"],
  a.image img[src*="pictogram"], a img[src*="Commons-logo"], .filehistory a img,
  #file img:hover {
    background: inherit !important;
  }
  .vertical-navbox th:not([style*="6a5"]):not([style*="3C3"]):not([style*="B22"]),
  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"], a.image [src*="Psi2"],
  img[src*="Psi2"], a.image [src*="Draig"], img[src*="Draig"],
  a.image [src*="Social_sciences"], img[src*="UserAvatar"],
  img[src*="external-link"], img[src*="_Silhouette"], img[src*="ship_side_view"],
  img[src*="Subm"], img[src*="Frigate"], a.image img[src*="Propanol"],
  img[src*="Wikitext"], a img[src*="question"] {
    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"], a.image img[src*="Wikitext"],
  a.image img[src*="ock_font"] {
    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;
  }
  .mbox-image img[src*="Wiktionary-logo"], a.image img[src*="Esca"],
  a img[src*="Esca"] {
    filter: invert(90%) hue-rotate(180deg) brightness(120%);
  }
  /* 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-invert):not(.oo-ui-image-progressive):not(.oo-ui-icon-stop):not(.oo-ui-icon-add):not(.oo-ui-icon-check):not(.oo-ui-iconElement-noIcon) {
    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%);
  }
  .svg-language-icon {
    background-position: 0 -617px;
    filter: grayscale(1) brightness(2);
  }
  .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');
  }
  img[src*="Sort_both_small.svg"] {
    filter: invert(.8);
  }
  .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);
  }
  .cx-header__personal a.uls-trigger:hover {
    color: var(--gray-1) !important;
  }
  div#mw-panel div.portal .body {
    background-image: none !important;
  }
  div#mw-panel div.portal h3 {
    background-image: linear-gradient(to right, var(--gray-5) 0%, var(--gray-5) 100%);
  }
  /*** 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);
  }
  /*** main page ***/
  #mw-mf-page-left ul li a:hover {
    box-shadow: inset 4px 0 0 0 var(--base-color);
  }
  #mw-mf-page-left ul.hlist li a {
    color: var(--base-color);
  }
  .header .branding-box a img[src*="wikipedia-wordmark"],
  footer > .post-content > h2 > img[src*="wikipedia-wordmark"],
  .branding-box img[src*="wikipedia-wordmark"] {
    filter: invert(1) !important;
  }
  .mw-parser-output #mp-topbanner {
    border-color: var(--gray-5);
    background-color: var(--gray-2);
  }
  .mw-parser-output #mp-topbanner, .mw-parser-output .mp-h2,
  .mw-parser-output #mp-left {
    color: var(--gray-c);
  }
  .mw-parser-output #mp-right {
    border-color: var(--blue-1);
    background: var(--blue-2);
  }
  .mw-parser-output #mp-right .mp-h2 {
    border-color: var(--blue-1);
  }
  .mw-parser-output #mp-left {
    border-color: var(--green-1);
    background: var(--green-4);
  }
  .mw-parser-output #mp-left .mp-h2 {
    border-color: var(--green-1);
  }
  .mw-parser-output #mp-middle {
    border-color: var(--pink-2);
    background: var(--pink-0);
  }
  .mw-parser-output #mp-tfl-h2 {
    border-color: var(--pink-2);
  }
  .mw-parser-output #mp-lower {
    border-color: var(--purple-2);
    background: var(--purple-d);
  }
  .mw-parser-output #mp-tfp-h2 {
    border-color: var(--purple-2);
  }
  .mw-parser-output #mp-other-lower {
    border-color: var(--gray-5);
  }
  .mw-parser-output #mp-other-lower .mp-h2 {
    background: var(--gray-28);
    border-color: var(--gray-5);
  }
  .mw-parser-output .quotebox {
    background: var(--gray-2);
  }
  #mp-middle p, #mp-other-lower p {
    color: var(--gray-c);
  }
  #mp-left h2, #mp-left h2 span {
    background: var(--green-2) !important;
    color: var(--gray-d) !important;
  }
  #mp-right h2, #mp-right h2 span {
    background-color: var(--blue-3) !important;
  }
  #mp-center #mp-tfl-h2, #mp-center #mp-tfl-h2 span {
    background-color: var(--pink-1) !important;
    color: var(--gray-d) !important;
  }
  #mp-lower #mp-bottom h2, #mp-bottom h2 span {
    background-color: var(--purple-1) !important;
  }
  .mw-parser-output .itn-special {
    background-color: var(--blue-3);
    border-color: var(--blue-4);
  }
  .lazy-image-placeholder {
    background-color: var(--gray-28);
  }
  /* Search */
  .client-nojs .search-box .search:focus,
  .search-overlay .search-box .search:focus {
    border-color: var(--base-color);
  }
  .page-list li > a:active, .topic-title-list li > a:active,
  .site-link-list li > a:active, .page-list li > a:hover,
  .topic-title-list li > a:hover, .site-link-list li > a:hover {
    color: var(--gray-c);
  }
  .page-list li > a:visited, .topic-title-list li > a:visited,
  .site-link-list li > a:visited {
    color: var(--visited-color);
  }
  .overlay.search-overlay .results, .overlay.search-overlay .search-feedback {
    background-color: var(--gray-28) !important;
  }
  /* Login */
  .warningbox, .mw-revision {
    background-color: var(--gray-18);
    border: 1px solid var(--gray-4);
  }
  .errorbox, .warningbox, .successbox, .mw-revision {
    color: var(--gray-a);
  }
  .mw-ui-checkbox:not(#noop) [type="checkbox"]:enabled:checked + label::before,
  .mw-ui-checkbox:not(#noop) [type="checkbox"]:hover:enabled:checked + label::before {
    background-color: var(--base-color);
    border-color: var(--base-color);
  }
  .mw-ui-checkbox:not(#noop) [type="checkbox"]:hover:enabled + label::before {
    border-color: var(--base-color);
  }
  .mw-ui-button.mw-ui-progressive {
    background-color: var(--base-color);
    color: var(--gray-e);
    border: 1px solid var(--base-color);
  }
  .mw-ui-checkbox:not(#noop) [type="checkbox"] + label::before {
    background-color: var(--gray-1);
    border: 1px solid var(--gray-5);
  }
  .mw-ui-button.mw-ui-progressive:hover {
    background-color: var(--base-color-rgba-8);
    border-color: var(--base-color-rgba-8);
  }
  .mw-ui-button.mw-ui-progressive:active, .mw-ui-button.mw-ui-progressive.is-on {
    background-color: var(--base-color-rgba-8);
    border-color: var(--base-color-rgba-8);
    color: var(--gray-e);
  }
  .mw-ui-button:hover {
    background-color: var(--gray-4);
    border-color: var(--gray-5);
    color: var(--gray-e);
  }
  .mw-ui-input:focus {
    border-color: var(--base-color);
    box-shadow: inset 0 0 0 1px var(--base-color);
  }
  /* footer */
  footer > .post-content > h2, .mw-footer > .post-content > h2 {
    border-color: var(--gray-5);
  }
  /* 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 */
  /* survey */
  .ext-quick-survey-panel, .ext-qs-loader-bar {
    background-color: var(--gray-2);
  }
  .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);
  }
  .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);
  }
  html .thumbimage {
    background-color: var(--white);
  }
  /* popups fixes */
  .mwe-popups .mwe-popups-container {
    background-color: var(--gray-2);
  }
  .mwe-popups .mwe-popups-container .mwe-popups-thumbnail {
    background-color: var(--white);
  }
  .mwe-popups .mwe-popups-container a {
    color: var(--gray-c);
  }
  .mwe-popups-extract::after {
    background-image: linear-gradient(to right, transparent, var(--gray-2) 50%);
  }
  .mw-mmv-ttf-ellipsis::before {
    background-image: linear-gradient(to right, transparent, var(--gray-2));
  }
  .mwe-popups .mwe-popups-extract[dir="ltr"]::after {
    background-image: linear-gradient(to bottom, transparent, var(--gray-2));
  }
  /* 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, .page-summary a h2, .page-summary a h3 {
    color: var(--base-color);
  }
  .last-modified-bar a:visited {
    color: var(--visited-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:active:not(.secondary-action),
  .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);
  }
  .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, #mw-mf-page-left .secondary-action {
    background-color: var(--gray-3);
    border-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);
  }
  .mw-parser-output .on-wikipedia {
    background-color: var(--gray-2);
    border-color: var(--gray-5);
  }
  .mw-parser-output .discussion-menu-title {
    color: var(--base-color);
    background-color: var(--gray-18);
    border-color: var(--gray-5);
  }
  .mw-parser-output .discussion-menu {
    border-color: var(--gray-5);
  }
  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-green,
  .mw-parser-output .mainpage-box-green .mainpage-box-seealso {
    border-color: var(--green-2);
  }
  .mw-parser-output .mainpage-box-blue,
  .mw-parser-output .mainpage-box-blue .mainpage-box-seealso {
    border-color: var(--blue-3);
  }
  .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);
  }
}
@-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 {
    background-color: var(--gray-18);
  }
  .mw-highlight .c1 {
    color: var(--cm-8);
  }
  .mw-highlight .nv, .mw-highlight .nn {
    color: var(--cm-5);
  }
  .mw-highlight .no {
    color: var(--cm-13);
  }
  .mw-highlight .nc {
    color: var(--cm-6);
  }
  .mw-highlight .k, .mw-highlight .nt {
    color: var(--cm-8);
  }
  .mw-highlight .mh, .mw-highlight .p {
    color: var(--cm-14);
  }
  .mw-highlight .mi {
    color: var(--cm-9) !important;
  }
  .mw-highlight .kd {
    color: var(--cm-15);
  }
  .mw-highlight .gh {
    color: var(--cm-5) !important;
  }
  .mw-highlight .nf {
    color: var(--cm-4);
  }
  .mw-highlight .kt {
    color: var(--cm-15);
  }
  .mw-highlight .na {
    color: var(--cm-8);
  }
  .mw-highlight .s {
    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-right {
    background-image: linear-gradient(to left, transparent, var(--gray-2_75) 10% 50%, transparent 70%);
  }
  .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;
  }
  td[style*="border:1px solid #dfdfdf; background-color:#FFFAF0;"] {
    background-color: var(--brown-1) !important;
    border-color: var(--brown-2) !important;
  }
  td[style*="border:1px solid #dfdfdf; background-color:#FFFFFF"] {
    background-color: var(--gray-19) !important;
    border-color: var(--gray-4) !important;
  }
  div[style*="background-color: #EEEEEE"] {
    background-color: var(--gray-28) !important;
  }
  .ambox-notice {
    border-top: 5px solid var(--blue-1) !important;
  }
  th[style*="background-color: #F8EABA"], td[style*="background-color:#F8EABA"] {
    background-color: var(--brown-3) !important;
  }
  th[style*="border:1px solid #C0C090"], td[style*="border: 1px solid #C0C090"] {
    border-color: var(--brown-2) !important;
  }
  div[style*="border: 1px solid #e6e6e6"] {
    border-color: var(--gray-5) !important;
  }
  div[style*="border-color:red"] {
    border: 4px solid var(--red-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("pl.wikipedia.org") {
  [id*="main-page-column"], #main-page-sister-projects, #main-page-wikimedia {
    background: var(--gray-18);
  }
  #mw-content-text .cytat {
    background-color: var(--gray-3);
  }
  #main-page-welcome strong {
    color: var(--gray-18);
  }
  #main-page #main-page-content h2 {
    background: linear-gradient(to right, var(--blue-1) 0%, transparent 90%);
    background-image: none;
    border-radius: 18px;
  }
  #main-page #main-page-column1, #main-page #main-page-column2,
  #main-page #main-page-footer .section.blue {
    border-color: var(--blue-1);
  }
  #main-page #main-page-footer h2 {
    background: linear-gradient(to right, var(--green-3) 0%, transparent 90%);
    background-image: none;
    border-radius: 18px;
  }
  #main-page #main-page-footer .section {
    border-color: var(--green-3);
  }
  #main-page #main-page-header, #main-page #main-page-wiki-events {
    border-color: var(--gray-5);
  }
  .tool-button {
    filter: invert(60%) brightness(140%);
  }
  tr[style*="background:white"], td[style*="background-color:white"],
  div[style*="background-color: white"] {
    background: var(--gray-2) !important;
  }
  td[style*="background-color:#f8f8f8"] {
    background: var(--gray-28) !important;
  }
  tr[style*="border-top:1px solid #aaa"], td[style*="border:1px solid #aaa"] {
    border-color: var(--gray-5) !important;
  }
  .mw-parser-output table.duchowny-kardynal td.naglowek,
  .mw-parser-output table.duchowny-kardynal tr.naglowek {
    color: var(--gray-e) !important;
    background: var(--red-3) !important;
  }
  .global-nav td:hover, .global-nav td:focus {
    border-color: var(--base-color) !important;
    background-color: var(--blue-3) !important;
  }
  td[style*="border: #0645AD solid"] {
    border-color: var(--base-color) !important;
  }
  .cytat.box {
    background-color: var(--gray-1) !important;
    border-color: var(--gray-5) !important;
  }
  .portal-naglowek {
    background-color: var(--gray-3) !important;
    border-color: var(--gray-5) !important;
  }
  .portal-sekcja {
    border-color: var(--gray-5) !important;
  }
  .takson-rosliny .naglowek td > span {
    color: var(--gray-1) !important;
  }
  .infobox.jezyk .naglowek,
  .infobox > tbody > tr:not([style]) > th:not([colspan]):not([style]):not(.infobox-label) {
    background-color: var(--gray-18) !important;
    color: var(--gray-c) !important;
  }
  .infobox.jezyk .naglowek, .mw-parser-output div.cytat,
  .navbox-abovebelow.hlist {
    border-color: var(--gray-5) !important;
  }
  table.navbox.v2 tr + tr > .navbox-grafika {
    border-color: var(--gray-2);
  }
}
@-moz-document domain("it.wikipedia.org") {
  td[style*="background:white"], td[style*="background:#FDFFFF"],
  td[style*="background:#f0eeff"] {
    background: var(--gray-2) !important;
  }
  .mw-parser-output .navbox_odd {
    background-color: var(--gray-2);
  }
  .mw-parser-output .navbox_even {
    background-color: var(--gray-28);
  }
  .mw-parser-output .nota-disambigua {
    border-color: var(--gray-5);
  }
  td[style*="border:1px solid #a7d7f9"] {
    border-color: var(--blue-4) !important;
  }
  p img[src*="bg_rounded"] {
    opacity: 0;
  }
  td[style*="background:#F5FAFF;" i] div, td[style*="background:#F5FAFF;" i] td {
    background-color: var(--blue-2) !important;
  }
  td[style*="border-bottom: 1px solid #a7d7f9"],
  div[style*="border-top: 1px solid #a7d7f9"] {
    border-color: var(--blue-4) !important;
  }
  div[style*="background:#F0F0FF"], td[style*="background-color:#F0DFFE"],
  table[style*="background:#f5faff"] {
    background: var(--purple-0) !important;
  }
  div[style*="border:1px solid #c6c9ff"],
  div[style*="border-top:1px solid #c6c9ff"],
  td[style*="border:1px solid #D0B0FF"],
  div[style*="border-top: 1px solid #D0B0FF"] {
    border-color: var(--purple-2) !important;
  }
  div[style*="background:#ffeedd"], div[style*="background-color:#FFFFDD"],
  div[style*="background:#ffeedd"] table tr {
    background: var(--brown-3) !important;
  }
  div[style*="border:3px solid #ffdd44"] {
    border-color: var(--yellow-1) !important;
  }
  div[style*="background:#FFFF66"] {
    background: var(--brown-4) !important;
  }
  .sinottico_testata th, .sinottico th, .sinottico_piede,
  .mw-parser-output .cassetto > div:first-of-type {
    background-color: var(--gray-3);
  }
  th[style*="background:#f5f5f5"], td[style*="background: #EFEFEF" i] {
    background-color: var(--gray-3) !important;
  }
  th[style*="background:#FFC0C0" i] {
    background-color: var(--gray-4) !important;
  }
  .mw-parser-output .CdA th {
    background-color: var(--blue-3);
  }
  th[style*="background:#4d97c6"], th[style*="background-color:#ccf" i],
  th[style*="background:#ddf"], th[style*="background-color: #6495ED" i],
  th[style*="background:#75ACE6" i], th[style*="background:#90bae6"],
  th[style*="background-color: #ABCDEF" i], th[style*="background: #ABCDEF" i],
  td[style*="background:#ABCDEF" i], th[style*="background:#99b3ff"] {
    background-color: var(--blue-3) !important;
  }
  th[style*="background:#b0c4de"], th[style*="background: #68BAFD" i],
  th[style*="background:lightblue"], th[style*="background-color:lightblue"],
  th[style*="background:#ABCDEF" i], th[style*="background:#ccccff"],
  th[style*="background:#9AA7C6" i], td[style*="background:#9AA7C6" i],
  th[style*="background:#87cefa"], td[style*="background:#87cefa"],
  th[style*="background:#DDEEFF" i], th[style*="background: #DDEEFF" i] {
    background-color: var(--blue-4) !important;
  }
  th[style*="background:#CFB53B" i] {
    background-color: var(--brown-4) !important;
  }
  th[style*="background-color: #FFFF80" i],
  th[style*="background-color:#fafad2"], th[style*="background:#ffe0a0"],
  th[style*="background:#F0DC82" i] {
    background-color: var(--yellow-1) !important;
  }
  th[style*="background:#90ee90"] {
    background-color: var(--green-2) !important;
  }
  th[style*="background:#9fd391"], td[style*="background:#9fd391"],
  th[style*="background-color:#bcf5bc"] {
    background-color: var(--green-3) !important;
  }
  th[style*="background:#E08070" i] {
    background-color: var(--red-3) !important;
  }
  th[style*="background:#f984e5"] {
    background-color: var(--purple-1) !important;
  }
  td div[style*="background-color: #F0EEFF" i] {
    background-color: var(--blue-3) !important;
    border-color: var(--blue-3) !important;
  }
  td div[style*="background-color: #FAFAFA" i] {
    background-color: var(--gray-2) !important;
    border-color: var(--gray-5) !important;
  }
  tr[style*="background:#FFF" i] {
    background-color: inherit !important;
  }
  .mw-parser-output .cassetto .mw-collapsible-content, .sinottico_piede2 {
    background-color: transparent;
  }
  .mw-parser-output .cassetto {
    background-color: var(--gray-2);
    border-color: var(--gray-5);
  }
}
@-moz-document domain("de.wiktionary.org") {
  div.mw-parser-output h2, div.mw-parser-output h3 {
    background-color: transparent !important;
  }
  div[style*="background-color: #EFF5FB"],
  div[style*="background-color:#EAF3FC"],
  table[style*="background-color:#F5FAFE"],
  td[style*="background-color: #F7F7F9"] {
    background-color: var(--gray-2_75) !important;
  }
  table[style*="background-color: #FCFCFC"] {
    background: var(--green-4) !important;
    border-color: var(--green-2) !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%);
  }
  a.image img[src*="SARS-CoV-2_without_background"] {
    background: inherit !important;
  }
  /* 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(--gray-4) !important;
    border-bottom: 0 !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);
  }
  div[style*="background:#F9F9F9"] {
    background: var(--gray-28) !important;
  }
  div[style*="border:1px solid #CCD2D9"] {
    border-color: var(--gray-5) !important;
  }
  div[style*="border:1px solid #8898bf"] {
    border-color: var(--blue-4) !important;
  }
  tr[style*="background-color:#ABCDEF"] {
    background: var(--blue-4) !important;
  }
  tr[style*="border:1px solid #ABCDEF"] {
    border-color: var(--blue-1) !important;
  }
  td[style*="border-top:solid 1px #CCD2D9"] {
    border-color: var(--gray-5) !important;
  }
  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;
  }
  .mw-parser-output table.taxobox > * > * > th {
    background-color: var(--green-4);
    border-color: var(--gray-5);
  }
  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;
  }
  .mw-parser-output .Diskussion-container {
    background-color: var(--gray-2);
    border-color: var(--gray-4);
  }
  .mw-parser-output .hauptseite-box-title {
    background-color: var(--blue-3);
    border-color: var(--blue-4) !important;
  }
  .mw-parser-output .hauptseite-box-content,
  .mw-parser-output .hauptseite-preview-wikidata {
    background-color: var(--gray-2);
  }
  .mw-parser-output .hauptseite-box-content,
  .mw-parser-output .hauptseite-box-title {
    border-color: var(--blue-4);
  }
  #SW-Sieger {
    background-color: var(--gray-2) !important;
    border-color: var(--gray-5) !important;
  }
  div[style*="#DFDFDF; padding:1em; background:white;"],
  div[style*="#DFDFDF; padding:1em; background:#FFFFFF;"] {
    background-color: var(--gray-2) !important;
    border-color: var(--gray-5) !important;
  }
  td[style*="background:#fff8dc"] {
    background-color: var(--gray-4) !important;
  }
  td[style*="background:#fffff0"] {
    background-color: var(--gray-3) !important;
  }
  table[style*="background:#ffffff; border: 1px solid #b5b5b5"] {
    background-color: transparent !important;
    border-color: var(--gray-5) !important;
  }
  table[style*="border: 5px solid #E5E5E5; font-size:95%; background:#E5E5E5"] {
    border-color: var(--gray-2) !important;
    background-color: var(--gray-5) !important;
  }
  td[style*="border-left: 6px solid #E5E5E5"] {
    border-color: var(--gray-2) !important;
  }
  div[style*="border:1px solid #A9A9A9"] {
    border-color: var(--gray-5) !important;
  }
  td.hintergrundfarbe5 {
    background-color: var(--gray-3) !important;
  }
  #mw-content-text [style*="background: #F8F9FA;"],
  .mw-parser-output > div[style*="background:#FFFFFF;"] {
    background-color: var(--gray-2) !important;
  }
  table[style^="background:#fffff"] {
    background-color: var(--gray-3) !important;
  }
  .hauptseite-box-content, .mw-parser-output > div[style*="background:#FFFFFF;"],
  .toptextcells td[style="border-top: solid 1px #ccd2d9"],
  table[style^="background:#fffff"], .hintergrundfarbe5[style^="border"] {
    border-color: var(--gray-5) !important;
  }
  table[style^="background:#fffff"] td > table[style*="background:#E5E5E5;"] {
    border-color: var(--gray-3) !important;
  }
  td[style*="background:#fff"] b, td[style="background:#e38d94;"] {
    color: var(--gray-1) !important;
  }
}
@-moz-document domain("fr.wiktionary.org") {
  span[style*="background-color:#FFFFFF"], table[style*="background:#FFF"] {
    background-color: var(--gray-2) !important;
  }
  span[style*="color: rgb(0, 0, 0)"] {
    color: var(--gray-9) !important;
  }
  div[style*="border:1px solid #ECECD8"] {
    border: 1px solid var(--brown-2) !important;
  }
  .cadre.jaune, .cadre.jaune h3 {
    background-color: var(--brown-3);
    border-color: var(--brown-4);
  }
  .cadre.bleu, .cadre.bleu h3 {
    background: var(--blue-2);
    border-color: var(--blue-3);
  }
  .cadre.vert, .cadre.vert h3, div.bandeau-voir {
    background: var(--green-4);
    border-color: var(--green-2);
  }
  .ns-0 #mw-content-text div:not(.toctitle) > h2 {
    background-color: transparent;
  }
  .ns-0 ol li, .ns-0 ol li li, .ns-0 ol li ul, .ns-0 ol li li ul,
  .ns-0 ol li ul ul, div.NavFrame div.NavHead {
    background-color: var(--gray-2);
  }
  .boite {
    border: 1px solid var(--gray-5);
    background-color: var(--gray-2);
  }
  .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: var(--blue-2);
  }
  .ns-talk .mw-body-content dl {
    border-top: solid 1px var(--blue-3);
    border-left: solid 1px var(--blue-3);
  }
  table[style*="border:1px solid"], td[style*="border-bottom:1px solid #aaaaaa"] {
    border-color: var(--gray-4) !important;
    border-bottom-color: var(--gray-4) !important;
  }
  .templatesUsed, .hiddencats {
    border: 1px solid var(--gray-4);
    background-color: var(--gray-2);
  }
}
@-moz-document domain("fr.wikipedia.org") {
  .skin-vector-max-width, .skin-vector-max-width .mw-page-container,
  .skin-vector-max-width #mw-panel {
    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-logo-tagline {
    filter: invert(1);
  }
  #talkpageheader li {
    color: var(--gray-a);
  }
  img[src*="Blue-bg_rounded"][data-file-width*="50"] {
    filter: invert(1) hue-rotate(180deg);
  }
  .mw-headline {
    color: var(--gray-c);
  }
  .wb-langlinks-link > a:link, .wb-langlinks-link > a:visited {
    color: var(--visited-color) !important;
  }
  .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"],
  figure[typeof*="mw"] > figcaption {
    border: 1px solid var(--gray-5);
    background-color: var(--gray-28);
  }
  .oo-ui-icon-add, .mw-ui-icon-add::before, [alt*="arrowPrevious-ltr.svg"] {
    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);
  }
  td[style*="border-left:1px solid #c2dfff"] {
    border-color: var(--gray-4) !important;
  }
  .aa-fond-gris {
    background-color: var(--gray-28);
  }
  .aa-fond-blanc, .aa-en-tete-aide-droite {
    background-color: var(--gray-2);
  }
  #bandeau-portail {
    border-color: var(--gray-3);
    background-color: var(--gray-3);
  }
  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-section.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 {
    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,
  .bandeau-niveau-neutre {
    background: var(--gray-2);
  }
  div[style*="background-color: #a3c4fc"] {
    background-color: var(--blue-2) !important;
  }
  .noarticletext, div.infobox_v3 {
    background: var(--gray-18);
    border-color: var(--gray-4);
  }
  table[style*=" border:1px solid #a7d7f9" i], .infobox_v3 caption.bordered,
  .infobox_v3 p.bordered {
    border-color: var(--blue-4) !important;
  }
  .bandeau-niveau-ebauche, .bandeau-niveau-information {
    border-color: var(--blue-4);
    background-color: 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);
  }
  div[style*="border-left-width:6px; border-color: #C00"] {
    border-color: var(--red-1) !important;
  }
  div[style*="border-left-width:6px; border-color: #36B"] {
    border-color: var(--blue-1) !important;
  }
}
@-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);
  }
  select:not(#searchLanguage) {
    background-color: var(--gray-1);
  }
  .search-form button[type="submit"] {
    height: 22px;
  }
  .search-form button img {
    filter: invert(1) brightness(150%);
  }
}
@-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("incubator.wikimedia.org") {
  div[style*="background-color: #f9f9f9"],
  td[style*="background-color: #F9F9F9"] {
    background-color: var(--gray-18) !important;
  }
  div[style*="border: 2px solid #025E8D"],
  td[style*="border: 1px solid #025E8D"] {
    border-color: var(--blue-2) !important;
  }
}
@-moz-document domain("pt.wikipedia.org") {
  table[style*="background: #f5faff"] td[style*="color: #000"],
  span[style*="color:#595959"], div[style*="color: #00002d"] {
    color: var(--gray-c) !important;
  }
  div[style*="color: #000000"] {
    color: var(--gray-e) !important;
  }
  .infobox_v2 .topo, .infobox_v2 {
    color: var(--gray-d);
  }
  .wb-langlinks-link > a:link, .wb-langlinks-link > a:visited {
    color: var(--visited-color) !important;
  }
  div[style*="background:#FFFFFF"], td[style*="background: #f5faff"],
  table[style*="background: #f5faff"], th[style*="background-color: #eee" i],
  td[style*="background: #e6e6e6"], ul[style*="background-color: #F9F9F9" i],
  td[style*="background-color: white" i], td[style*="background: #fff" i] {
    background-color: var(--gray-2) !important;
  }
  table[style*="background: #FFFFFF" i], td[style*="background: #F5F5F5" i] {
    background: var(--gray-18) !important;
  }
  table[style*="background: transparent" i], td[style*="background: #fff" i] {
    background: transparent !important;
  }
  tr[style*="background-color: rgb(255, 255, 255)" i],
  th[style*="background-color:#E8E8E8" i],
  td[style*="background-color: #E8E8E8" i], td[style*="background:white" i] {
    background-color: var(--gray-28) !important;
  }
  tr[style*="background-color: rgb(247, 247, 247)" i] {
    background-color: var(--gray-3) !important;
  }
  table[style*="border: 1px solid #A3B1BF" i],
  td[style*="border-left:1px solid #cccccc" i],
  td[style*="border: 1px solid #A3B1BF" i],
  div[style*="border: #aaa 1px solid" i],
  div[style*="border:1px solid #cccccc" i],
  td[style*="border-left: 1px solid #ccc" i],
  table[style*="border: 0.6px solid #a2a9b1" i],
  ul[style*="border-top: solid silver 1px; border-bottom:1px solid silver" i],
  td[style*="border:1px solid gray" i], div[style*="border:1px solid #a3b0bf" i],
  table[style*="border: 1px solid #b5cde3" i],
  td[style*="border-top: 1px solid #b5cde3" i],
  div[style*="border: solid #aaa 1px" i],
  td[style*="border: 1px solid #6688AA" i],
  td[style*="border-bottom: 1px solid #EBEBEB" i],
  table[style*="border: 1px solid #ccd2d9" i],
  div[style*="border:solid #F0F0F0"i],
  table[style*="border: 1px solid #ccd2d9" i],
  table[style*="border: 1px #ccd2d9 solid" i],
  td[style*="border-top: 1px solid #ccd2d9" i],
  td[style*="border-top: 1px solid #ccd2d9" i],
  div[style*="border-top: 1px solid #ccd2d9; border-bottom: 1px solid #ccd2d9" i] {
    border-color: var(--gray-5) !important;
  }
  td[style*="border-left:2px solid #fdfdfd" i] {
    border-left-color: var(--gray-2) !important;
  }
  th[style*="border-bottom: 1px solid #c0c090" i],
  #talkheader > tbody > tr > td[style*="border-top: 1px solid #c0c090" i] {
    border-color: var(--brown-2) !important;
  }
  td[style*="border: 1px solid #cedff2" i],
  div[style*="border: 2px solid #A3BFB1" i],
  div[style*="border: 1.5px solid #A3BFB1" i],
  div[style*="border: 1.5px solid #CEDFF2" i] {
    border-color: var(--blue-2) !important;
  }
  div[style*="border: 2px solid #CEDFF2" i] {
    border-color: var(--blue-3) !important;
  }
  h2[style*="border: 1px solid #A3B1BF" i],
  div[style*="border:2px solid #B8C7D9" i],
  div[style*="border: 1px solid #A3BFB1 solid" i],
  table[style*="border:2px #A3B1BF solid" i],
  div[style*="border:2px solid #A3B1BF" i],
  td[style*="border-bottom:1px #A3B1BF solid" i],
  th[style*="border: 1px solid #B1CDEB" i],
  td[style*="border: 1px solid #cedff2" i],
  div[style*="border: 1px solid #c0c0c0" i],
  table[style*="border:2px solid #9ebadf" i],
  td[style*="border:2px solid #9EBADF" i],
  div[style*="border:1px solid #808080" i] {
    border-color: var(--blue-4) !important;
  }
  div.mw-inputbox-centered[style*="background-color: #f8f8ff"] {
    background-color: transparent !important;
  }
  div[style*="background:#99CCFF" i], h2[style*="background: #C6DEFE" i],
  th[style*="background-color:#B0C4DE" i], div[style*="background: #F5FAFF" i],
  div[style*="background-color:#E6F2FF" i], table[style*="background:#E6F2FF" i],
  td[style*="background:#F5FAFF" i] table#toc tbody,
  th[style*="background: #cedff2" i], table[style*="background:#CEDFF2" i],
  table[style*="background:#f1f5fc" i], td[style*="background-color:#f1f5fc" i],
  div[style*="background:#E8F1FF" i] {
    background: var(--blue-2) !important;
  }
  /* also fix padding within #atalho a bit */
  #atalho {
    background-color: var(--gray-18);
    border-color: var(--gray-5);
    padding: 0 10px;
  }
  .mw-parser-output .main-page-block-heading {
    background-color: var(--gray-2);
    border-color: var(--gray-5);
    color: var(--gray-c);
  }
  .mw-parser-output .main-page-block-contents {
    border-top: 3px solid var(--gray-2);
  }
  .mw-parser-output .main-page-first-row > div {
    background-color: var(--brown-3);
  }
  .mw-parser-output .main-page-second-row > div {
    background-color: var(--green-4);
  }
  div[style*="background-color:#B5DFD3" i], div[style*="background: #008000" i],
  td[style*="background:#408040" i], div[style*="background-color:#80C080" i] {
    background-color: var(--green-3) !important;
  }
  td[style*="border:2px solid #B7D7C7" i] {
    border-color: var(--green-3) !important;
  }
  td[style*="background-color:#F5FFFA" i] {
    background-color: var(--green-4) !important;
  }
  div[style*="border: 2px solid #000000" i],
  div[style*="border: 1.5px solid #000000" i] {
    border-color: var(--gray-18) !important;
  }
  th[style*="background:#E6FFF2" i] {
    background: var(--green-3) !important;
  }
  th[style*="background:#F2E6FF" i] {
    background: var(--red-3) !important;
  }
  th[style*="background:#FFF2E6" i], th[style*="background-color:khaki" i],
  th[style*="background: khaki" i], div[style*="background-color:#eee8aa" i] {
    background: var(--brown-2) !important;
  }
  th[style*="background:#FFE6F2"] {
    background: var(--pink-1) !important;
  }
  td[style*="background:#F5FFFA" i], td[style*="background:#F0FFF0" i] {
    background: var(--green-4) !important;
  }
  td[style*="background:#FAF5FF" i] {
    background: var(--red-0) !important;
  }
  td[style*="background:#FFFAF5" i], td[style*="background-color:  #EEE8AA" i] {
    background: var(--brown-1) !important;
  }
  td[style*="background:#E6E3CF" i], td[style*="background:#fafad2" i] {
    background: var(--brown-3) !important;
  }
  td[style*="background:#FFF5FA" i], th[style*="background-color: #E6E6FA" i] {
    background: var(--pink-0) !important;
  }
  td[style*="background-color:#F9F9F0" i] {
    background-color: var(--green-a5) !important;
  }
  td[style*="background-color:#F4F9F0" i] {
    background-color: var(--green-a3) !important;
  }
  td[style*="background-color:#F4F9F0" i] {
    background-color: var(--green-a3) !important;
  }
  td[style*="background-color:#F0F9F0" i] {
    background-color: var(--green-a2) !important;
  }
  td[style*="background-color:#F0F9F9" i] {
    background-color: var(--bluei-a1) !important;
  }
  td[style*="background-color:#F0F4F9" i],
  th[style*="background-color: lightblue" i], td[style*="background:#76adb7" i],
  th[style*="background:#76adb7" i], div[style*="background-color:#CEDFF2" i],
  td[style*="background:#CEE0F2" i], div[style*="background:#4682B4" i] {
    background-color: var(--blue-3) !important;
  }
  div[style*="background: #CEDFF2" i], tr[style*="background:#9ebadf" i] {
    background: var(--blue-4) !important;
  }
  td[style*="background-color:#F0F0F9" i] {
    background-color: var(--purple-d) !important;
  }
  td[style*="background-color:#F9F0F9"] {
    background-color: var(--purple-1) !important;
  }
  td[style*="background-color:#F9F0F4"] {
    background-color: var(--pink-0) !important;
  }
  td[style*="background-color:#F9F0F0"] {
    background-color: var(--red-3) !important;
  }
  .mw-parser-output .main-page-third-row > div {
    background-color: var(--red-0);
  }
  a.image img[src*="_star"], a.image img[src*="Sciences_"],
  a.image img[src*="Noia"], a.image img[src*="icon"], a.image img[src*="BOIN"],
  a.image img[src*="Books"], a.image img[src*="Wikibar"] {
    background-color: inherit !important;
  }
  a.image img[src*="Hitler_Signature2"], div img[src*="Fleche"],
  a.image img[src*="Rel"] {
    background-color: inherit !important;
    filter: invert(1);
  }
  a.image img[src*="Sep"], a.image img[src*="Das"] {
    filter: invert(1) hue-rotate(180deg) contrast(85%) brightness(200%);
    background-color: inherit !important;
  }
}
@-moz-document domain("ru.wiktionary.org") {
  .mw-wiki-logo {
    filter: invert(80%);
  }
}
@-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, .tool-button, .mbox-image img[src*="OOjs_UI_icon_info"] {
    filter: invert(80%);
  }
  div[style*="background-color:#ddd"] {
    background-color: var(--gray-28) !important;
  }
  div[style*="color:#111"] {
    color: var(--gray-e) !important;
  }
  .mw-collapsible-toggle, .mw-parser-output .shortcutbox td a img {
    filter: grayscale(1) brightness(200%);
  }
  .mw-parser-output .main-top {
    filter: brightness(80%);
  }
  .mw-parser-output .main-top, .mw-parser-output .main-box {
    border-color: var(--gray-5);
  }
  div#mw-panel div.portal .body {
    background-image: none !important;
  }
  div#mw-panel div.portal h3 {
    background-image: linear-gradient(to right, var(--gray-5) 0%, var(--gray-5) 100%);
  }
  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;
  }
  .mw-parser-output .ts-editnotice-error {
    background: var(--red-0);
    border: 1px solid var(--red-1);
  }
  .mw-parser-output .ts-editnotice-neutral {
    background: var(--gray-28);
    border-color: var(--gray-5);
  }
}
@-moz-document domain("ru.m.wikipedia.org") {
  kbd {
    background: var(--gray-18) !important;
    border-color: var(--gray-5) !important;
    color: var(--gray-9a) !important;
    box-shadow: .1em .2em .2em var(--gray-4) !important;
  }
}
@-moz-document domain("zh.wikipedia.org") {
  mark {
    color: var(--gray-c);
  }
  .template-facttext {
    background-color: var(--gray-3);
  }
}
@-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: var(--gray-a);
  }
  #p-logo:after {
    content: "The free Dictionary";
    margin-left: 26px !important;
    font-size: 14px;
    color: var(--gray-a);
    vertical-align: text-top;
  }
  span a img[src*="Wikinews_commentary"] {
    filter: invert(1) hue-rotate(180deg) brightness(150%) !important;
  }
  #main_page_mp-mp {
    background-color: transparent !important;
  }
  #main_page_mp-mp div:not(.ui-widget):not(.control-bar):not(.lButton):not(.bodySearchWrap):not(#WOTD-rss-description):not([style*="border"]):not([style="text-align:center;"]),
  [id*="Translations-"] .NavContent, .noShowEditText, div.mw-editnotice div,
  .mw-htmlform-ooui-wrapper.oo-ui-layout {
    background-color: var(--gray-2);
  }
  div[style*="background-color: #FFFFFF;"],
  div[style*="background-color: #F8F8FF"],
  div[class=""][style*="border: 2px solid #ccc"] {
    background-color: var(--gray-2) !important;
  }
  span[style*="background-color: rgb(248, 248, 255)"] {
    background-color: var(--gray-2) !important;
  }
  table[style*="background-color:#E9E9FF; width: 100%; border: 3px solid #AAAAEE;"] {
    background-color: var(--purple-0) !important;
    border: 3px solid var(--purple-2) !important;
  }
  table[style*="border:3px solid #AABBDD; background:#E9F3FF;"] {
    background-color: var(--blue-2) !important;
    border: 3px solid var(--blue-4) !important;
  }
  div[style*="border: 3px solid #AAAAAA;padding:5px;background-color: #F0F0F0"] {
    background-color: var(--gray-28) !important;
    border: 3px solid var(--gray-4) !important;
  }
  td[style*="border: 1px solid #FFFFFF;padding:5px;background-color: #FFFFFF"] {
    border-color: var(--gray-2) !important;
  }
  #main_page_mp-mp table:not([style*="#AAAAEE;"]):not([style*="#AABBDD;"]) {
    border-color: var(--gray-5) !important;
  }
  div.NavFrame div.NavHead {
    color: var(--gray-e);
  }
  div.NavFrame div.NavHead, details.NavFrame summary.NavHead {
    background: var(--gray-4);
  }
  div.NavFrame div.NavHead:hover, details.NavFrame summary.NavHead:hover {
    background: var(--gray-5);
  }
  .NavContent .translations form span[style*="color"],
  .list-switcher-element a[role="button"] {
    color: var(--base-color) !important;
  }
  *[style*="background:#c0cfe4"], *[style*="background:#9999DF"] {
    background-color: var(--blue-4) !important;
  }
  *[style*="background:#a0ade3"], *[style*="background:#ccccff"],
  *[style*="background: rgb(242, 242, 255)"], *[style*="background:#ccd8ff"],
  *[style*="background:#c0d8e4"] {
    background-color: var(--blue-3) !important;
  }
  *[style*="background:#e2e4c0"], *[style*="background-color:#e2e4c0"],
  *[style*="background:#d0cfa4"] {
    background-color: var(--brown-2) !important;
  }
  *[style*="background:#e0e0b0"], *[style*="background:#e2c0c0"] {
    background-color: var(--pink-1) !important;
  }
  *[style*="background:#c0e4c0"], *[style*="background:#99cc99"],
  *[style*="background:#99CC99"] {
    background-color: var(--green-3) !important;
  }
  *[style*="background:#cfedcc"] {
    background-color: var(--green-4) !important;
  }
  *[style*="background:#e4d4c0"], *[style*="background:#f2caa4"] {
    background-color: var(--orange-3) !important;
  }
  *[style*="background:#ECECEC"], *[style*="background:#C0C0C0"],
  *[style*="background-color:#C0C0C0"], *[style*="background:#d0d0d0"],
  *[style*="background:#EFEFEF"], *[style*="background: rgb(204, 204, 204)"],
  *[style*="background:#e2f6e2"], *[style*="background: #e2f6e2"],
  *[style*="background: #CCC"] {
    background-color: var(--gray-4) !important;
  }
  div[style*="background:#d9ebff"], div.CategoryTreeItem,
  *[style*="background:#e0e0e0"], *[style*="background:#DEDEDE"] {
    background-color: var(--gray-3) !important;
  }
  table.inflection-table[style*="color: rgb(0%,0%,30%)"] {
    color: var(--gray-c) !important;
  }
  .HQToggle::before, .NavToggle::before, .HQToggle::after, .NavToggle::after {
    color: var(--base-color);
  }
  td[style*="background-color:#ffffe0"] {
    background-color: var(--brown-1) !important;
  }
  .trreq {
    background-color: var(--green-4);
  }
}
@-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);
  }
  #wmhu-tax-banner-text {
    color: var(--base-color);
  }
  #wmhu-tax-banner {
    background-color: var(--gray-18);
    border: 0;
  }
  div[style*="background-color: #fcfcfc"] {
    background-color: var(--gray-2) !important;
  }
  div[style*="border-color: #cccccc"], table[style*="border:solid #aaaaaa 1px"],
  div[style*="border: 1px solid #DEDED3"] {
    border-color: var(--gray-5) !important;
  }
  div[style*="border:1px solid #E9E9E9"] {
    border-color: var(--gray-3) !important;
  }
  td[style*="background-color:#F5F5FF"] {
    background-color: var(--blue-2) !important;
  }
  td[style*="background-color:#ffFcF1"] {
    background-color: var(--brown-3) !important;
  }
  .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;
  }
  td[style*="background-color:#FFF8FF"] {
    background-color: var(--pink-0) !important;
  }
  div[style*="background-color:#E6C6E6"] {
    background-color: var(--pink-1) !important;
  }
  select {
    background-color: var(--gray-18) !important;
    border-color: var(--gray-4);
    color: var(--gray-e);
  }
  .search-form button[type="submit"] {
    height: 22px;
  }
  .search-form button img {
    filter: invert(1) brightness(150%);
  }
  div#mw-panel div.portal .body {
    background-image: none !important;
  }
  div#mw-panel div.portal h3 {
    background-image: linear-gradient(to right, var(--gray-5) 0%, var(--gray-5) 100%);
  }
}
@-moz-document domain("beta.wikiversity.org") {
  div[style*="background-color:#f7f8ff"] {
    background-color: var(--purple-0) !important;
  }
  div[style*="border:1px solid #8888aa"] {
    border-color: var(--purple-2) !important;
  }
  table[style*="background-color:#ffffcc"] {
    background-color: var(--brown-1) !important;
  }
  table[style*="border:1px solid #ffff77"] {
    border-color: var(--brown-2) !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,
  div[style*="background:#FFFFFF"], span[style="background:#FFFFFF"] {
    background-color: var(--gray-2) !important;
  }
  div[style*="background-color:whitesmoke"] {
    background-color: var(--gray-28) !important;
  }
  div[style*="border:1px solid lightgrey"] {
    border-color: var(--gray-5) !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;
  }
  .quality0 {
    background-color: var(--gray-4);
    border-color: var(--gray-4);
  }
  .quality1 {
    background-color: var(--red-3);
    color: var(--gray-c);
    text-shadow: none;
  }
  .quality2 {
    background: var(--purple-1);
  }
  .quality3 {
    background: var(--yellow-1);
  }
  .quality4 {
    background: var(--green-3);
  }
  #ca-proofreadPagePrevLink.icon a {
    background-image: url("https://wikisource.org/w/extensions/ProofreadPage/modules/page/images/next-rtl.svg?ab6ad") !important;
  }
  #ca-proofreadPageNextLink.icon a {
    background-image: url("https://wikisource.org/w/extensions/ProofreadPage/modules/page/images/next-ltr.svg?1aefc") !important;
  }
  #ca-proofreadPageIndexLink.icon a {
    background-image: url("https://wikisource.org/w/extensions/ProofreadPage/modules/page/images/collapse.svg?aa8bb") !important;
  }
  #ca-proofreadPagePrevLink.icon a, #ca-proofreadPageNextLink.icon a,
  #ca-proofreadPageIndexLink.icon a {
    filter: invert(1) brightness(80%);
  }
}
@-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;
  }
  #www-wikivoyage-org .search-form fieldset {
    background: none !important;
  }
  select#searchLanguage {
    background-color: var(--gray-18);
    border-color: var(--gray-4);
    color: var(--gray-e);
  }
  select#searchLanguage option[selected],
  select#searchLanguage option[selected]:hover {
    background-color: var(--base-color);
    border-color: var(--base-color);
    color: var(--gray-e);
  }
}
@-moz-document domain("wikiquote.org") {
  div[style*="background-color: #f8f8ff"], #mf-qotd > div:not([style*="#fff5"]) {
    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;
  }
  div[style*="border: 2px solid #ffe2e2"] {
    border-color: var(--pink-0) !important;
  }
  div[style*="background: #ffe2e2"] {
    background: var(--pink-1) !important;
  }
  table[style="background: #fff5f5"], div[style*="background-color: #fff5f5"] {
    background: var(--pink-0) !important;
  }
  div[style*="border: 2px solid #e2e2ff"] {
    border-color: var(--blue-4) !important;
  }
  div[style*="background-color: #f8f8ff"] {
    background-color: var(--blue-2) !important;
  }
  div[style*="background: #ffffec"] {
    background: var(--brown-1) !important;
  }
  select {
    background-color: var(--gray-18) !important;
    border-color: var(--gray-4);
    color: var(--gray-e);
  }
  .search-form button[type="submit"] {
    height: 22px;
  }
  .search-form button img {
    filter: invert(1) brightness(150%);
  }
  div[style*="border: 1px solid black; background-color: #FCFCCC"] {
    background-color: var(--brown-3) !important;
    border-color: var(--brown-4) !important;
  }
}
@-moz-document domain("wikibooks.org") {
  .central-textlogo span[style*="color: #15304f"] {
    color: #2a62a1 !important;
  }
  .central-textlogo span[style*="color: #2a62a1"] {
    color: #4186d4 !important;
  }
  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: var(--white);
  }
  .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],
  table[style*="border: 2px solid #CCCCFF;"],
  td[style*="border-right: 1px solid #CCCCCC"],
  div[style*="border-top: 2px solid #ddd; border-bottom: 2px solid #ddd;"],
  #mw-content-text table[style*="border: 1px solid rgb(170, 170, 170)" i] {
    border-color: var(--gray-5) !important;
  }
  table[style*="background:#eeeeee" i],
  table[style*="background-color: #F7F7FF" i],
  #mw-content-text table[style*="background-color:#fff !important" 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;
  }
  .search-form button[type="submit"] {
    height: 22px;
  }
  .search-form button img {
    filter: invert(1) brightness(150%);
  }
}
@-moz-document domain("mediawiki.org") {
  .mw-parser-output .tech-header {
    background-color: var(--gray-28);
  }
  .oo-ui-icon-eye, .oo-ui-icon-wikiText,
  .oo-ui-image-progressive.oo-ui-icon-textStyle,
  .mw-ui-icon-textStyle-progressive::before {
    filter: grayscale(1) brightness(250%);
  }
  .oo-ui-indicator-up {
    filter: invert(1);
  }
  .flow-component .flow-list li:hover {
    background: var(--gray-3);
  }
  /* fix overflow https://www.mediawiki.org/wiki/User_talk:Remember_the_dot/Syntax_highlighter */
  .mw-highlight-lang-javascript[style="overflow:scroll"] {
    overflow: auto !important;
  }
  .mw-parser-output .tech-header-intro {
    background: var(--gray-2);
  }
  td[style="background: #f8f9fa"] {
    background: var(--gray-28) !important;
  }
  .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);
  }
  .oo-ui-widget-enabled.oo-ui-labelElement-label {
    color: var(--gray-e);
  }
  .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);
  }
  .mw-parser-output .hubs li, div > .flow-menu ul,
  .flow-ui-navigationWidget-affixed {
    background: var(--gray-2);
    border-color: var(--gray-5);
  }
  .flow-ui-anonWarningWidget-active {
    background-color: var(--base-color);
  }
  .flow-ui-editorWidget-focused .flow-ui-editorWidget-editor {
    border-color: var(--base-color);
    box-shadow: inset 0 0 0 1px var(--base-color);
  }
  .oo-ui-toolbar-position-bottom > .oo-ui-toolbar-bar {
    border-top-color: var(--gray-5);
  }
  .flow-ui-editorWidget > .flow-ui-editorWidget-editor:not(.oo-ui-pendingElement-pending) {
    background-color: var(--gray-3);
  }
}
@-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, .mw-parser-output .MainPage__block_heading {
    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);
  }
  .mw-parser-output .MainPageSisterProjects__wrapper,
  .mw-parser-output .MainPageSisterProjects__group {
    border-color: var(--gray-5);
  }
  .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;
  }
  .vector-menu-tabs .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);
  }
  #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 */
  .portal h3, .vector-menu-portal h3 {
    background-image: linear-gradient(to top, transparent, var(--gray-c));
    background-size: auto 1px;
  }
  nav.vector-menu-tabs li.selected {
    border-color: var(--gray-5);
    background-color: inherit;
  }
}
@-moz-document domain("wiki.mozilla.org") {
  .mw-wiki-logo {
    filter: invert(100%) hue-rotate(180deg) brightness(80%);
  }
  img[alt="Sumo-banner.png"] {
    filter: invert(100%) hue-rotate(180deg) brightness(90%);
  }
  div#simpleSearch {
    border: solid 1px var(--gray-5);
    color: var(--gray-c);
    background-color: var(--gray-18);
  }
  input[type="search"]#searchInput:focus, #simpleSearch:hover #searchInput:focus {
    -webkit-box-shadow: none;
            box-shadow: none;
    border-color: var(--base-color) !important;
    -webkit-appearance: none;
  }
  input#searchButton {
    border-left: 1px solid var(--gray-5) !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
  }
  div.vectorTabs ul li {
    background-color: transparent !important;
  }
  div.vectorTabs li:not(.selected) {
    border-bottom: 0 !important;
  }
  #mw-panel .portal:not(#p-navigation) .body {
    background-image: none;
  }
  div#mw-panel div.portal {
    background-image: linear-gradient(to top, transparent, var(--gray-c));
    background-size: auto 1px;
  }
  div[style*="background-color: lightcyan"] {
    background-color: var(--blue-2) !important;
  }
  div[style*="border: 0.1em solid darkcyan"] {
    border-color: var(--blue-4) !important;
  }
  div[style*="background-color: lightyellow"] {
    background-color: var(--brown-1) !important;
  }
  div[style*="border: 0.1em solid olive"] {
    border-color: var(--brown-2) !important;
  }
  div[style*="background-color: lightyellow"] div h2 {
    background-color: var(--brown-1) !important;
  }
  div[style*="ackground-color: palegreen"] {
    background-color: var(--green-4) !important;
  }
  div[style*="background-color: #FFEA00; color: black"] {
    color: var(--gray-1) !important;
  }
  #wpTextbox1 {
    color: var(--gray-b);
  }
  #pagehistory li {
    border-color: var(--gray-5);
  }
}
@-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);
  }
  .urgent-header {
    background: var(--red-3);
  }
}