User:Ortemis/common.css

From Wiktionary, the free dictionary
Jump to navigation Jump to search

Note: You may have to bypass your browser’s cache to see the changes. In addition, after saving a sitewide CSS file such as MediaWiki:Common.css, it will take 5-10 minutes before the changes take effect, even if you clear your cache.

  • Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh);
  • Konqueror and Chrome: click Reload or press F5;
  • Opera: clear the cache in Tools → Preferences;
  • Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.

This CSS is applied for Ortemis to every page.


#aoeu {
#mw-panel {
	display: none;
}

#content {
    margin-left: 0;
}

/* Global color palette */
  :root {
    --base-color: rgb(65, 131, 196);
    --base-color-rgb: 65, 131, 196;
    --base-color-rgba-3: rgba(var(--base-color-rgb), 3);
    --base-color-rgba-8: rgba(var(--base-color-rgb), 8);
    --tab-color: rgb(224, 139, 38);
    --visited-color: rgb(41, 88, 135);
    --bg-custom: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAMAAAAMCGV4AAAAD1BMVEUREREREREAAAAREREWFhkN5cwCAAAABHRSTlNfGAAwFBG7CgAAACxJREFUeAFjYGJiZGBhhhMMYIIRTjCgcIE8VC4TKpeRmYEZiTtIzGNihhNMAJJAATdKr5xFAAAAAElFTkSuQmCC');
    --bg-selected: 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==');
    --bg-attachment: scroll;
    /* 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;
    --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);
  }
  .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);
  }/* transparent background */
  html, body, .mw-body[role="main"] {
    background-color: var(--gray-2);
    background-image: var(--bg-selected);
    background-clip: border-box;
    background-origin: padding-box;
    background-attachment: var(--bg-attachment);
    background-repeat: repeat !important;
  background-size: auto !important;
  background-position: left top !important;
    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"]),
  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"]),
  #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);
  }
  .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, #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 {
    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, 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),
  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*="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"]),
  .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),
  tr[style*="background:#f2f2f2" i], th[style*="background:#EDF1F1" i],
  td[style*="background:#EDF1F1" i], tr[style*="background-color:white" i],
  tr[style*="background:#f9f9f9" i], td[bgcolor="#FFFFFF" i],
  tr[style*="background:#ddd" i], td[style*="background: #F2F2F2" i],
  tr[style*="background-color:#F2F2F2" i],
  tr[style*="background-color:#FFF5EE" i], tr[bgcolor="FFF5EE" i],
  td[bgcolor="FFF5EE" i], tr[style*="background-color:#f0f0f0" i],
  .wikitable.charts-zebragrey > tbody > tr:nth-of-type(odd),
  td > span[style*="background-color:#eee" i], table.flextable th,
  tr[style*="background-color:#FFF" i], td[style*="background:#eee" i],
  #mw-searchoptions, .mw-advancedSearch-namespace-selection,
  td[style*="background:#fff2e6" i], td[style*="background:#F9F9F0"],
  td[style*="background:#F4F9F0"], td[style*="background:#F9F0F0"],
  td[style*="background:#f0f0f0"], #mwe-popups-settings,
  th[style*="border-bottom: 1px solid #eee; background-color:#ffffff;"],
  .table-na[style*="background:#ececec;"], #js-lang-lists .text, div.arcProg,
  .infoboks.biografi tr.overskrift th, .infoboks tr.rad td,
  .infoboks tr.bilde td, .infoboks tr.overskrift td,
  table[style*="background:#f9f9f9;"],
  table[style*="background-color: white; font-size:100%; border:1px solid #CCC" i] th {
    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)"]),
  .infobox tr[style*="background-color"]:not([style*="cedff2"]),
  .infobox td[style*="background"]:not([style*="D8B"]):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;
  }
  .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, 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 {
    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);
  }
  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 {
    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;
  }
  .mw-highlight .gh {
    color: var(--cm-5) !important;
  }
  /* ORES highlight colors */
  .mw-rcfilters-ui-highlights-color-none {
    background-color: var(--gray-7);
  }
  .mw-rcfilters-ui-highlights-color-c1,
  .mw-rcfilters-ui-tagItemWidget-highlight[data-color="c1"]::before {
    background-color: var(--blue-2);
  }
  .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1,
  .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1 tr:first-child,
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: var(--blue-2) !important;
  }
  .mw-rcfilters-ui-highlights-color-c2,
  .mw-rcfilters-ui-tagItemWidget-highlight[data-color="c2"]::before {
    background-color: var(--cyan-1) !important;
  }
  .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2,
  .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2 tr:first-child,
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: var(--cyan-1);
  }
  .mw-rcfilters-ui-highlights-color-c3,
  .mw-rcfilters-ui-tagItemWidget-highlight[data-color="c3"]::before {
    background-color: var(--ores-1);
  }
  .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3,
  .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3 tr:first-child,
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: var(--ores-1) !important;
  }
  .mw-rcfilters-ui-highlights-color-c4,
  .mw-rcfilters-ui-tagItemWidget-highlight[data-color="c4"]::before {
    background-color: var(--ores-2);
  }
  .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
  .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: var(--ores-2) !important;
  }
  .mw-rcfilters-ui-highlights-color-c5,
  .mw-rcfilters-ui-tagItemWidget-highlight[data-color="c5"]::before {
    background-color: var(--ores-3);
  }
  .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
  .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
  .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: var(--ores-3) !important;
  }
  .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"] {
    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;
  }
  .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"] {
    background: 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"]).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(--grey-2) !important;
  }
  table[style*="background: #f9f9f9"], .mw-parser-output .commonscat {
    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(--grey-2) !important;
    color: var(--gray-e) !important;
  }
  span[style="background-color:#FFF; color:#000"] {
    background-color: var(--grey-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;"],
  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;
  }
  html .thumbimage {
    background-color: var(--gray-28);
    border-color: var(--gray-5);
  }
  .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(65, 131, 196)'/></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(65, 131, 196)' 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] {
    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;"] {
    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"],
  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 .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, 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 {
    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;
  }
  /* 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;
  }
  li.gallerybox div.thumb {
    background-color: var(--gray-18);
  }
  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;
  }
  .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 {
    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 {
    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) {
    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);
  }
  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%);
  }.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;
  }
  .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);
  }