MediaWiki:Common.css

From WIDEVERSE Wiki
Revision as of 01:30, 6 November 2021 by Admin (talk | contribs)
Jump to navigation Jump to search

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

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* <pre> */
body.wgl-darkmode {
    background-image: url('filepath://RuneScape_Wiki_background_dark.jpg?width=1000');
    background-color: #071022;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body.wgl-darkmode {
          background-image: url('filepath://RuneScape_Wiki_background_dark.jpg');
    }

}

body.wgl-darkmode .mw-special-ApiHelp {
    background-image: none;
    background-color: #172136;
}

body.wgl-darkmode .mw-body {
    color: #cbd9f4;
    background-color: #172136;
}

body.wgl-darkmode h1,
body.wgl-darkmode h2,
body.wgl-darkmode h3,
body.wgl-darkmode h4,
body.wgl-darkmode h5,
body.wgl-darkmode h6 {
    color: #cbd9f4;
    border-color: #596e96;
}

body.wgl-darkmode h2 {
    border: none;
}

body.wgl-darkmode pre,
body.wgl-darkmode code,
body.wgl-darkmode pre.mw-code.mw-script {
    background-color: #313e59;
    border-color: #172136;
}

body.wgl-darkmode .mw-highlight pre {
    background: inherit;
}

body.wgl-darkmode ul {
    list-style-image: url("data:image/svg+xml,%3C?xml version='1.0' encoding='UTF-8'?%3E %3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' width='5' height='13'%3E %3Ccircle cx='2.5' cy='9.5' r='2.5' fill='%238cabe6'/%3E %3C/svg%3E");
}

body.wgl-darkmode hr {
    border-color: #596e96;
}

body.wgl-darkmode .tabber .tabbertab {
    background-color: #313e59;
    border-color: #172136;
}

body.wgl-darkmode ul.tabbernav li.tabberactive a {
    color: #cbd9f4;
    background-color: #313e59;
    border-color: #313e59;
}

body.wgl-darkmode ul.tabbernav li.tabberactive a:hover,
body.wgl-darkmode ul.tabbernav li.tabberactive a:visited {
    color: #cbd9f4;
    background-color: #313e59;
    border-color: #313e59;
}

body.wgl-darkmode ul.tabbernav li a {
    background: #222e45;
    color: #cbd9f4;
    border-color: #172136;
}

body.wgl-darkmode ul.tabbernav li a:hover {
    background-color: #27354f;
    border-color: #172136;
}

body.wgl-darkmode ul.tabbernav li a:link,
body.wgl-darkmode ul.tabbernav li a:visited {
    color: #cbd9f4;
}

body.wgl-darkmode .mw-input input,
body.wgl-darkmode .jcInput input {
    background-color: #384766;
    border: 1px solid #475980;
    color: #cbd9f4;
    padding: 2px 1px;
    border-radius: 2px;
}

body.wgl-darkmode .mw-input select,
body.wgl-darkmode .jcInput select {
    background-color: #384766;
    border: 1px solid #475980;
    color: #cbd9f4;
    border-radius: 2px;
}

body.wgl-darkmode .mw-input textarea,
body.wgl-darkmode .jcInput textarea {
    background-color: #384766;
    border: 1px solid #475980;
    color: #cbd9f4;
    border-radius: 2px;
}

body.wgl-darkmode input[type="submit"],
body.wgl-darkmode button[type="submit"],
body.wgl-darkmode input[type="button"],
body.wgl-darkmode button[type="button"] {
    background-color: #313e59;
    border: 1px solid #3f5073;
    color: #cbd9f4;
    padding: 2px 7px;
    border-radius: 2px;
    cursor: pointer;
}

body.wgl-darkmode input[type="submit"]:hover,
body.wgl-darkmode button[type="submit"]:hover,
body.wgl-darkmode input[type="button"]:hover,
body.wgl-darkmode button[type="button"]:hover {
    background-color: #384766;
    border: 1px solid #475980;
    color: #cbd9f4;
}

body.wgl-darkmode form#mw-upload-form fieldset input,
body.wgl-darkmode form:not(.mw-htmlform) fieldset:not(.jcTable):not(.mw-contributions-table) input,
body.wgl-darkmode form#mw-upload-form fieldset select,
body.wgl-darkmode form:not(.mw-htmlform) fieldset:not(.jcTable):not(.mw-contributions-table) select {
    background-color: #384766;
    border: 1px solid #475980;
    border-radius: 2px;
    color: #cbd9f4;
}

body.wgl-darkmode form#mw-upload-form fieldset,
body.wgl-darkmode form:not(.mw-htmlform) fieldset {
    border-color: #596e96;
}

body.wgl-darkmode .createbox input.mw-ui-input,
body.wgl-darkmode .forumsearchbox input.mw-ui-input,
body.wgl-darkmode .searchbox input.mw-ui-input,
body.wgl-darkmode .createbox input[type="submit"],
body.wgl-darkmode .forumsearchbox input[type="submit"],
body.wgl-darkmode .searchbox input[type="submit"] {
    padding: 0.546875em 1em;
    box-shadow: none;
}

body.wgl-darkmode select {
    background: #313e59;
    color: #cbd9f4;
    border-color: #596e96;
    border-block-end-color: #596e96;
    border-block-start-color: #596e96;
}

body.wgl-darkmode a,
body.wgl-darkmode image a,
body.wgl-darkmode #mw-panel .portal .body li a,
body.wgl-darkmode .mw-kartographer-interactive.leaflet-container a {
    color: #8cabe6;
}

body.wgl-darkmode a:visited,
body.wgl-darkmode image a:visited,
body.wgl-darkmode #mw-panel .portal .body li a:visited,
body.wgl-darkmode .mw-kartographer-interactive.leaflet-container a:visited,
body.wgl-darkmode a:active,
body.wgl-darkmode image a:active,
body.wgl-darkmode #mw-panel .portal .body li a:active,
body.wgl-darkmode .mw-kartographer-interactive.leaflet-container a:active {
    color: #8cabe6;
}

body.wgl-darkmode a.new,
body.wgl-darkmode image a.new,
body.wgl-darkmode #mw-panel .portal .body li a.new,
body.wgl-darkmode .mw-kartographer-interactive.leaflet-container a.new {
    color: #f26d60;
}

body.wgl-darkmode a.new:visited,
body.wgl-darkmode image a.new:visited,
body.wgl-darkmode #mw-panel .portal .body li a.new:visited,
body.wgl-darkmode .mw-kartographer-interactive.leaflet-container a.new:visited {
    color: #f26d60;
}

body.wgl-darkmode a.mw-selflink.selflink {
    color: #cbd9f4;
}

body.wgl-darkmode .mw-body-content a.external,
body.wgl-darkmode .mw-body-content a.extiw {
    color: #8cabe6;
}

body.wgl-darkmode .mw-body-content a.external:visited,
body.wgl-darkmode .mw-body-content a.extiw:visited,
body.wgl-darkmode .mw-body-content a.external:active,
body.wgl-darkmode .mw-body-content a.extiw:active {
    color: #8cabe6;
}

body.wgl-darkmode div.thumbinner {
    border: none;
}

body.wgl-darkmode .thumbimage {
    background: #222e45;
}

body.wgl-darkmode .thumbcaption {
    color: #cbd9f4;
    background: #313e59;
    border: none;
}

body.wgl-darkmode #file img,
body.wgl-darkmode #file img:hover,
body.wgl-darkmode .filehistory a img,
body.wgl-darkmode table.filehistory img {
    background-image: url('filepath://Dark_mode_checkered_transparency.png');
}

body.wgl-darkmode #filetoc {
    background: #313e59;
    border: none;
}

body.wgl-darkmode img.thumbborder {
    border-color: #26375a;
}

body.wgl-darkmode li.gallerybox div.thumb {
    background: #172136;
    border-color: #222e45;
}

body.wgl-darkmode .gallery-bg .gallerybox .thumb,
body.wgl-darkmode .gallery-bg.mw-gallery-packed .gallerybox .thumb,
body.wgl-darkmode .gallery-bg-1 .gallerybox:nth-of-type(1) .thumb,
body.wgl-darkmode .gallery-bg-2 .gallerybox:nth-of-type(2) .thumb,
body.wgl-darkmode .gallery-bg-3 .gallerybox:nth-of-type(3) .thumb,
body.wgl-darkmode .gallery-bg-4 .gallerybox:nth-of-type(4) .thumb,
body.wgl-darkmode .gallery-bg-5 .gallerybox:nth-of-type(5) .thumb,
body.wgl-darkmode .gallery-bg-6 .gallerybox:nth-of-type(6) .thumb,
body.wgl-darkmode .gallery-bg-7 .gallerybox:nth-of-type(7) .thumb,
body.wgl-darkmode .gallery-bg-8 .gallerybox:nth-of-type(8) .thumb,
body.wgl-darkmode .gallery-bg-9 .gallerybox:nth-of-type(9) .thumb,
body.wgl-darkmode .gallery-bg-10 .gallerybox:nth-of-type(10) .thumb {
    background-color: #313e59;
}

body.wgl-darkmode ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper,
body.wgl-darkmode ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper,
body.wgl-darkmode ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper {
    background: rgba(7, 16, 34, 0.7);
}

body.wgl-darkmode div.gallerytext {
    color: #cbd9f4;
}

body.wgl-darkmode .musicplayer {
    background: #313e59;
    border: none;
}

body.wgl-darkmode #mw-panel .portal h3 {
    color: #cbd9f4;
}

body.wgl-darkmode #n-Discord a {
    background-color: #525ee0;
}

body.wgl-darkmode #n-Discord a:hover {
    background-color: #4c57d0;
}

body.wgl-darkmode div.vectorTabs,
body.wgl-darkmode div.vectorTabs ul,
body.wgl-darkmode div.vectorTabs ul li,
body.wgl-darkmode div#mw-head div.vectorMenu h3 {
    background: #222e45;
}

body.wgl-darkmode div.vectorTabs li.selected {
    background: #172136;
}

body.wgl-darkmode div.vectorTabs li.selected a,
body.wgl-darkmode div.vectorTabs li.selected a:visited {
    color: #cbd9f4;
}

body.wgl-darkmode div.vectorTabs li a,
body.wgl-darkmode div.vectorTabs li a:visited,
body.wgl-darkmode div.vectorTabs li a:active {
    color: #8cabe6;
}

body.wgl-darkmode div.vectorTabs li.new a,
body.wgl-darkmode div.vectorTabs li.new a:visited,
body.wgl-darkmode div.vectorTabs li.new a:active {
    color: #f26d60;
}

body.wgl-darkmode div.vectorMenu ul {
    list-style-type: none;
    list-style-image: none;
}

body.wgl-darkmode div.vectorMenu li a,
body.wgl-darkmode div.vectorMenu li a:visited,
body.wgl-darkmode div.vectorMenu li a:active {
    color: #8cabe6;
}

body.wgl-darkmode #p-cactions:hover #p-cactions-label,
body.wgl-darkmode div.vectorTabs ul li:not(.selected):hover,
body.wgl-darkmode div#mw-head div.vectorMenu h3:hover {
    background: #293753;
}

body.wgl-darkmode .vectorTabs #ca-watch.icon a {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22%3E %3Cpath fill=%22transparent%22 stroke=%22%238cabe6%22 stroke-width=%22.99992%22 d=%22M8.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%22/%3E %3C/svg%3E");
}

body.wgl-darkmode .vectorTabs #ca-watch.icon a:hover,
body.wgl-darkmode .vectorTabs #ca-watch.icon a:focus {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22%3E %3Cpath fill=%22transparent%22 stroke=%22%23f7861b%22 stroke-width=%22.99992%22 d=%22M8.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%22/%3E %3C/svg%3E");
}

body.wgl-darkmode .vectorTabs #ca-unwatch.icon a {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22%3E %3Cpath fill=%22%238cabe6%22 stroke=%22%238cabe6%22 stroke-width=%22.99992%22 d=%22M8.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%22/%3E %3C/svg%3E");
}

body.wgl-darkmode .vectorTabs #ca-unwatch.icon a:hover,
body.wgl-darkmode .vectorTabs #ca-unwatch.icon a:focus {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22%3E %3Cpath fill=%22%238cabe6%22 stroke=%22%23f7861b%22 stroke-width=%22.99992%22 d=%22M8.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%22/%3E %3C/svg%3E");
}

body.wgl-darkmode div.vectorMenu h3 span {
    color: #8cabe6;
}

body.wgl-darkmode div.vectorMenu h3 span:after {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22 viewBox=%220 0 12 12%22%3E %3Cpath d=%22M11.05 3.996l-.965-1.053-4.035 3.86-3.947-3.86L1.05 3.996l5 5 5-5%22 fill=%22%238cabe6%22/%3E %3C/svg%3E");
}

body.wgl-darkmode #p-personal {
    background: rgba(7, 16, 34, 0.7);
    top: 0;
    right: 0;
    border-radius: 0 0 0 0.3em;
}

body.wgl-darkmode #p-personal ul {
    padding: 0.15em 1em 0 0.4em;
}

body.wgl-darkmode #pt-skin-toggles .oo-ui-icon-advanced {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m8.85464918.37900488c-1.91149353 1.51069427-3.13816124 3.84973402-3.13816124 6.47527736 0 4.55564936 3.69308349 8.24873286 8.24873286 8.24873286 2.5815709 0 4.8861545-1.1859235 6.3986798-3.0426994-.8206378 4.7389755-4.9523867 8.343122-9.9259291 8.343122-5.56375572 0-10.07407088-4.5103151-10.07407088-10.0740709 0-5.02506013 3.67919933-9.19079725 8.49074856-9.95036192z' fill='%23cbd9f4' fill-rule='evenodd'/%3E%3C/svg%3E");
}

body.wgl-darkmode #pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read,
body.wgl-darkmode #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read,
body.wgl-darkmode #pt-notifications-alert .mw-echo-notifications-badge:before,
body.wgl-darkmode #pt-notifications-notice .mw-echo-notifications-badge:before {
    opacity: 1;
}

body.wgl-darkmode #pt-notifications-alert .mw-echo-notifications-badge:before {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3E bell %3C/title%3E%3Cpath fill='%23cbd9f4' d='M16 7a5.38 5.38 0 0 0-4.46-4.85C11.6 1.46 11.53 0 10 0S8.4 1.46 8.46 2.15A5.38 5.38 0 0 0 4 7v6l-2 2v1h16v-1l-2-2zm-6 13a3 3 0 0 0 3-3H7a3 3 0 0 0 3 3z'/%3E%3C/svg%3E");
}

body.wgl-darkmode .mw-echo-alert:visited,
body.wgl-darkmode .mw-echo-alert:active,
body.wgl-darkmode .mw-echo-alert:hover {
    color: #222;
}

body.wgl-darkmode #pt-notifications-notice .mw-echo-notifications-badge:before {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3E tray %3C/title%3E%3Cpath fill='%23cbd9f4' d='M17 1H3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zm0 12h-4l-1 2H8l-1-2H3V3h14z'/%3E%3C/svg%3E");
}

body.wgl-darkmode #pt-userpage,
body.wgl-darkmode #pt-anonuserpage {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2213.836%22 viewBox=%220 0 12 13.836%22%3E %3Cpath fill='%23cbd9f4' d=%22M1.938%2C6.656c-1.32%2C1.485-1.47%2C3.15-0.97%2C4.25c0.323%2C0.707%2C0.78%2C1.127%2C1.313%2C1.375 c0.496%2C0.229%2C1.074%2C0.273%2C1.658%2C0.282c0.023%2C0%2C0.04%2C0.03%2C0.062%2C0.03h4.187c0.61%2C0%2C1.225-0.125%2C1.75-0.405 c0.527-0.28%2C0.961-0.718%2C1.188-1.376c0.335-0.964%2C0.175-2.529-1.094-4.03C9.094%2C7.954%2C7.68%2C8.719%2C6.065%2C8.719 c-1.677%2C0-3.182-0.812-4.125-2.063H1.938z%22/%3E %3Cpath fill='%23cbd9f4' d=%22M6.063%2C0c-1.89%2C0-3.595%2C1.674-3.594%2C3.563C2.467%2C5.45%2C4.173%2C7.155%2C6.06%2C7.155 c1.89%2C0%2C3.564-1.705%2C3.563-3.593C9.625%2C1.673%2C7.95%2C0%2C6.063%2C0L6.063%2C0z%22/%3E %3C/svg%3E");
}

body.wgl-darkmode #pt-anonuserpage {
    color: #cbd9f4;
}

body.wgl-darkmode div#simpleSearch {
    background: #313e59;
}

body.wgl-darkmode div#simpleSearch #searchInput {
    color: #cbd9f4;
}

body.wgl-darkmode div#simpleSearch #searchInput::placeholder {
    color: #cbd9f4;
    opacity: 0.6;
}

body.wgl-darkmode div#simpleSearch #searchButton {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2213%22%3E %3Cg fill=%22none%22 stroke=%22%238cabe6%22 stroke-width=%222%22%3E %3Cpath d=%22M11.29 11.71l-4-4%22/%3E %3Ccircle cx=%225%22 cy=%225%22 r=%224%22/%3E %3C/g%3E %3C/svg%3E");
}

body.wgl-darkmode .suggestions-results,
body.wgl-darkmode .suggestions-special {
    background-color: #313e59;
    border-color: #596e96;
}

body.wgl-darkmode .suggestions-result,
body.wgl-darkmode .suggestions-special .special-query {
    color: #cbd9f4;
}

body.wgl-darkmode .suggestions-special .special-label {
    color: #8cabe6;
}

body.wgl-darkmode .suggestions-result-current {
    background-color: #2a4b8d;
}

body.wgl-darkmode .search-types ul {
    list-style: none;
}

body.wgl-darkmode .mw-notification {
    background-color: #313e59;
    border: 1px solid #596e96;
    color: #cbd9f4;
}

body.wgl-darkmode .mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer,
body.wgl-darkmode .mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement:last-child {
    border-color: #596e96;
}

body.wgl-darkmode div.vectorMenu div.menu {
    background-color: #313e59;
    border: 1px solid #596e96;
}

body.wgl-darkmode #footer ul li {
    color: #cbd9f4;
}

body.wgl-darkmode #footer-copyrightico div {
    background-image: url('filepath://Creative_Commons_footer_dark.png?width=88');
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body.wgl-darkmode #footer-copyrightico div {
          background-image: url('filepath://Creative_Commons_footer_dark.png');
    }

}

body.wgl-darkmode #footer-poweredbyico div {
    background-image: url('filepath://Weird_Gloop_footer_dark.png?width=88');
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body.wgl-darkmode #footer-poweredbyico div {
          background-image: url('filepath://Weird_Gloop_footer_dark.png');
    }

}

body.wgl-darkmode .catlinks {
    background: #313e59;
    border: none;
}

body.wgl-darkmode .catlinks li {
    border-color: #596e96;
}

body.wgl-darkmode .mw-content-ltr .mw-editsection-bracket:first-of-type,
body.wgl-darkmode .mw-content-ltr .mw-editsection-bracket:not(:first-of-type) {
    color: #cbd9f4;
}

body.wgl-darkmode #contentSub,
body.wgl-darkmode #contentSub2 {
    color: #99aad0;
}

body.wgl-darkmode .warningbox {
    color: #feecea;
    background: #801c13;
    border: none;
}

body.wgl-darkmode .warningbox a {
    color: #fbc0ba;
}

body.wgl-darkmode .warningbox.tdg-editscreen-error-msg {
    color: #feecea;
}

body.wgl-darkmode .updatedmarker {
    color: #ecf8e3;
    background-color: #3c780a;
}

body.wgl-darkmode div.mw-warning-with-logexcerpt,
body.wgl-darkmode #sp-contributions-footer {
    background-color: #313e59;
    border: none;
}

body.wgl-darkmode #viewingold-warning,
body.wgl-darkmode #viewingnew-warning {
    background-color: #313e59;
    border: none;
    color: #cbd9f4;
}

body.wgl-darkmode .mwe-popups {
    background: #313e59;
}

body.wgl-darkmode .mwe-popups.flipped_x_y:before,
body.wgl-darkmode .mwe-popups.flipped_y:before {
    border-top: none;
}

body.wgl-darkmode .mwe-popups.mwe-popups-no-image-tri:before {
    border-bottom: none;
}

body.wgl-darkmode .mwe-popups.flipped_x_y:after,
body.wgl-darkmode .mwe-popups.flipped_y:after {
    border-top-color: #313e59;
}

body.wgl-darkmode .mwe-popups.mwe-popups-no-image-tri:after {
    border-bottom-color: #313e59;
}

body.wgl-darkmode .mwe-popups .mwe-popups-extract {
    color: #cbd9f4;
}

body.wgl-darkmode .mwe-popups .mwe-popups-extract[dir='ltr']:after {
    background-image: linear-gradient(to right, rgba(49, 62, 89, 0), #313e59 50%);
}

body.wgl-darkmode #pagehistory li {
    border-color: transparent;
}

body.wgl-darkmode #pagehistory li.selected {
    border: 1px solid #313e59;
    background: #222e45;
    color: #cbd9f4;
}

body.wgl-darkmode #mw-history-compare > div:first-of-type {
    background-color: #172136;
    border-color: #313e59;
}

body.wgl-darkmode #deletedtextmessage {
    background: #313e59 !important;
    color: #cbd9f4 !important;
    padding: 1em;
    border-radius: 2px;
    margin-bottom: 1em;
}

body.wgl-darkmode .autocomment {
    color: #cbd9f4;
    opacity: 0.8;
}

body.wgl-darkmode #mw-search-top-table .results-info {
    color: inherit;
}

body.wgl-darkmode #mw-search-top-table input {
    background-color: #313e59;
    border-color: #222e45;
    color: #cbd9f4;
}

body.wgl-darkmode .mw-widget-searchWidget-menu {
    background-color: #313e59;
    border-color: #222e45;
}

body.wgl-darkmode .mw-content-ltr .redirectText li:first-child {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2247%22 height=%2220%22 viewBox=%220 0 47 20%22%3E %3Cpath fill=%22none%22 stroke=%22%23cbd9f4%22 stroke-width=%222%22 stroke-miterlimit=%2210%22 d=%22M14.98 2.5V11c0 1.04 1.02 1.98 2.02 1.98h6l3 .02%22/%3E %3Cpath fill=%22%23cbd9f4%22 d=%22M23.48 9.5l.02 7L30 13z%22/%3E %3C/svg%3E");
}

body.wgl-darkmode .mw-mmv-overlay {
    background-color: #071022;
}

body.wgl-darkmode .mw-mmv-post-image.mw-mmv-untruncated,
body.wgl-darkmode .jq-fullscreened .mw-mmv-post-image {
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
}

body.wgl-darkmode .mw-mmv-post-image {
    color: #cbd9f4;
    background-color: #222e45;
}

body.wgl-darkmode .mw-mmv-image-metadata {
    color: #cbd9f4;
    background-color: #313e59;
    border-top: none;
    transition: 0.1s ease;
}

body.wgl-darkmode .mw-mmv-main.metadata-panel-is-open .mw-mmv-image-metadata {
    padding-top: 1em;
}

body.wgl-darkmode .mw-mmv-image-links li {
    color: inherit;
}

body.wgl-darkmode .mw-mmv-image-links li::before {
    filter: brightness(1.5);
}

body.wgl-darkmode td.diff-context {
    background: #222e45;
    border-color: #313e59;
    color: #cbd9f4;
}

body.wgl-darkmode td.diff-addedline {
    background: #222e45;
}

body.wgl-darkmode td.diff-addedline .diffchange {
    color: #ffffff;
    background: #438ab5;
}

body.wgl-darkmode td.diff-deletedline {
    background: #222e45;
}

body.wgl-darkmode td.diff-deletedline .diffchange {
    color: #ffffff;
    background: #379541;
}

body.wgl-darkmode .oo-ui-widget {
    color: #cbd9f4;
}

body.wgl-darkmode .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
    color: #cbd9f4;
    background-color: #313e59;
    border-color: #3f5073;
}

body.wgl-darkmode .oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
    background-color: #313e59;
    border-color: #3f5073;
    opacity: 0.6;
}

body.wgl-darkmode .oo-ui-widget-disabled > .oo-ui-buttonElement-button {
    border-left-color: #3f5073 !important;
}

body.wgl-darkmode .oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
    opacity: 0.6;
    filter: none !important;
}

body.wgl-darkmode .oo-ui-buttonElement-framed.oo-ui-widget-enabled:not(.oo-ui-buttonElement-active) > .oo-ui-buttonElement-button:hover {
    color: #cbd9f4;
    background-color: #384766;
    border-color: #475980;
}

body.wgl-darkmode .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button {
    background-color: #20386a;
    border-color: #20386a;
}

body.wgl-darkmode .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagMultiselectWidget-handle {
    background-color: #222e45;
    border-color: #2f4060;
}

body.wgl-darkmode .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-inlined .oo-ui-tagMultiselectWidget-handle {
    background-color: #384766;
    border-color: #475980;
}

body.wgl-darkmode .oo-ui-tagMultiselectWidget-handle > .oo-ui-tagMultiselectWidget-content .oo-ui-tagMultiselectWidget-group:empty + input {
    color: #cbd9f4;
}

body.wgl-darkmode .oo-ui-menuSelectWidget {
    border-color: #2f4060;
}

body.wgl-darkmode .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled {
    background-color: #313e59;
    border-color: #3f5073;
}

body.wgl-darkmode .oo-ui-widget.oo-ui-widget-enabled.oo-ui-labelElement.oo-ui-draggableElement.oo-ui-draggableElement-handle.oo-ui-tagItemWidget {
    background-color: #313e59;
    border-color: #3f5073;
}

body.wgl-darkmode .oo-ui-textInputWidget input,
body.wgl-darkmode .oo-ui-textInputWidget textarea {
    color: #cbd9f4;
    background-color: #384766;
    border-color: #475980;
}

body.wgl-darkmode .oo-ui-inputWidget-input::placeholder {
    color: rgba(203, 217, 244, 0.6);
}

body.wgl-darkmode .oo-ui-textInputWidget.oo-ui-widget-enabled:hover input,
body.wgl-darkmode .oo-ui-textInputWidget.oo-ui-widget-enabled:hover textarea {
    border-color: #556c9b;
}

body.wgl-darkmode .oo-ui-textInputWidget .oo-ui-pendingElement-pending {
    background-color: #fff;
}

body.wgl-darkmode .oo-ui-textInputWidget.oo-ui-widget-disabled .oo-ui-inputWidget-input {
    background-color: #313e59;
    border-color: #3f5073;
    opacity: 0.6;
}

body.wgl-darkmode .oo-ui-textInputWidget.oo-ui-widget-disabled input,
body.wgl-darkmode .oo-ui-textInputWidget.oo-ui-widget-disabled textarea {
    text-shadow: none;
}

body.wgl-darkmode .oo-ui-numberInputWidget.oo-ui-widget-disabled.oo-ui-numberInputWidget-buttoned .oo-ui-iconElement-icon {
    filter: none;
    opacity: 0.6;
}

body.wgl-darkmode .oo-ui-pendingElement-pending {
    background-image: url(data:image/gif;base64,R0lGODlhGAAYAKECADhHZhchNgAruwAruyH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAQACACwAAAAAGAAYAAACNYwDqcvnyKJ6R1pqrMRQL955AChOXJmQqFqyouvBmnydq93irx7zs1/DoFLCITD4GI6KN0MBACH5BAUBAAMALAAAAAAYABgAAAI0jB+gy43YIntHWmqsxEk77H1UOIGkwnVkegLs+a5cG4e1d2v5NcO9bAKOfEHbz1hEPlquAgAh+QQFAQADACwAAAAAGAAYAAACM4x/oMuN2CJ7SUpq7MU64tA5XLh8ZDme5gl8oLqSLjvDaVjLMb53OX/z9TQ/YZA4tBQ1BQAh+QQFAQADACwAAAAAGAAYAAACNISDmcbtCp1kUM1Z15U5bJ59TyhSZAl06HGW6vqisTt/nSfX2w3rF59r2XwYIki4M46QjgIAIfkEBQEAAwAsAAAAABgAGAAAAjWEHal67bjWmyBK6izDTSfeeWBojYdoVlqqlilqwqMM0pyNecGLTzq/ivUeP2FwNswkSa5JAQAh+QQFAQADACwAAAAAGAAYAAACNIRvobvozuKbIDL6bMNIK9554OEFYyKe5YlabKW9qRqz83iDObdjPbWi1XC/TBFyDA11uwIAIfkEBQEAAwAsAAAAABgAGAAAAjWEj6G76M7imyAy+mzDSQfeaeDhfWPlnah4lqr7sq08prGlrtK9zzh/AW58v5rNSOPAkEVAAQAh+QQFAQADACwAAAAAGAAYAAACNISPF8ucr1qDUE6arMNIL955YKSNhheYAKqypjvCoMzRddnirx7zs3+zqFZAjCgnRCZ7pQIAIfkEBQEAAwAsAAAAABgAGAAAAjSEjxnLnH+ahFA2+qzDSC/eeWAkjoAXmGc5oqprwi0LyjXN2belrvyr6eFyQeAvVkQeZ5YCACH5BAEBAAMALAAAAAAYABgAAAI1jIGpa90LlXOxzlfhxTnt03lfKG4k8gUnkK7t+ZJxOHd1dlsjvMs9/QNeViyTy8gbHpVJQwEAOw==);
}

body.wgl-darkmode .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle {
    color: #cbd9f4;
    background-color: #313e59;
    border-color: #3f5073;
}

body.wgl-darkmode .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover {
    color: #cbd9f4;
    background-color: #313e59;
    border-color: #475980;
}

body.wgl-darkmode .oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle {
    background-color: #384766;
}

body.wgl-darkmode .oo-ui-menuSelectWidget {
    background-color: #313e59;
}

body.wgl-darkmode .oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
    background-color: #2a354c;
}

body.wgl-darkmode .oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
    background-color: #384766;
}

body.wgl-darkmode .mw-widget-dateInputWidget-handle {
    background: #384766;
    border-color: #475980;
}

body.wgl-darkmode .mw-widget-dateInputWidget.oo-ui-widget-enabled .mw-widget-dateInputWidget-handle:hover {
    border-color: #556c9b;
}

body.wgl-darkmode .oo-ui-windowManager-modal > .oo-ui-dialog {
    background-color: rgba(25, 25, 25, 0.6);
}

body.wgl-darkmode .oo-ui-labelElement-label {
    color: #cbd9f4;
}

body.wgl-darkmode .tdg-templateDataDialog-panels .oo-ui-labelElement-label {
    color: #cbd9f4;
}

body.wgl-darkmode .tdg-templateDataDialog-panels .oo-ui-dropdownWidget .oo-ui-labelElement-label,
body.wgl-darkmode .tdg-templateDataDialog-panels .tdg-templateDataParamWidget-param-alias {
    color: #cbd9f4;
}

body.wgl-darkmode .tdg-templateDataDialog-panels .errorbox {
    background-color: #9f261e;
    border-color: #9f261e;
    color: #ffffff;
}

body.wgl-darkmode .tdg-templateDataDialog-panels .successbox {
    background-color: #3c780a;
    border-color: #3c780a;
    color: #ffffff;
}

body.wgl-darkmode .oo-ui-panelLayout-framed {
    background-color: #222e45;
    border-color: #2f4060;
}

body.wgl-darkmode .mw-htmlform-ooui .mw-htmlform-matrix tbody tr:first-child td,
body.wgl-darkmode .mw-htmlform-ooui .mw-htmlform-matrix tbody tr:nth-child(even) td {
    background-color: transparent;
}

body.wgl-darkmode .mw-htmlform-ooui .mw-htmlform-matrix tbody tr:not(:first-child):hover td {
    background-color: #2f4060;
}

body.wgl-darkmode .oo-ui-popupWidget-popup {
    background-color: #222e45;
    border-color: #2f4060;
}

body.wgl-darkmode .oo-ui-popupWidget-anchored-start .oo-ui-popupWidget-anchor:after {
    border-right-color: #222e45;
}

body.wgl-darkmode .oo-ui-popupWidget-anchored-start .oo-ui-popupWidget-anchor:before {
    border-right-color: #2f4060;
}

body.wgl-darkmode .oo-ui-popupWidget-anchored-end .oo-ui-popupWidget-anchor:after {
    border-left-color: #222e45;
}

body.wgl-darkmode .oo-ui-popupWidget-anchored-end .oo-ui-popupWidget-anchor:before {
    border-left-color: #2f4060;
}

body.wgl-darkmode .oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:after {
    border-top-color: #222e45;
}

body.wgl-darkmode .oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:before {
    border-top-color: #2f4060;
}

body.wgl-darkmode .oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor:after {
    border-bottom-color: #222e45;
}

body.wgl-darkmode .oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor:before {
    border-bottom-color: #2f4060;
}

body.wgl-darkmode .oo-ui-buttonInputWidget:not(.oo-ui-flaggedElement-primary) .oo-ui-labelElement-label,
body.wgl-darkmode .oo-ui-buttonOptionWidget:not(.oo-ui-optionWidget-selected) .oo-ui-labelElement-label,
body.wgl-darkmode .dis-calc-select-junk-menu .oo-ui-optionWidget-selected .oo-ui-labelElement-label {
    color: #cbd9f4;
}

body.wgl-darkmode .mw-widget-calendarWidget {
    border-color: #475980;
}

body.wgl-darkmode .mw-widget-dateInputWidget-calendar {
    background: #384766;
}

body.wgl-darkmode .mw-widget-calendarWidget-item:hover {
    background: #556c9b;
}

body.wgl-darkmode .mw-widget-calendarWidget-day-heading {
    color: #cbd9f4;
}

body.wgl-darkmode .mw-widget-calendarWidget-day {
    color: #cbd9f4;
}

body.wgl-darkmode .mw-widget-calendarWidget-day-additional {
    color: rgba(203, 217, 244, 0.5);
}

body.wgl-darkmode .oo-ui-iconElement-icon:not(.oo-ui-image-destructive):not(.oo-ui-image-warning):not(.oo-ui-image-progressive):not(.oo-ui-checkboxInputWidget-checkIcon):not(.oo-ui-icon-page-existing) {
    filter: invert(1);
}

body.wgl-darkmode .oo-ui-indicatorElement-indicator {
    filter: invert(1);
}

body.wgl-darkmode .oo-ui-iconElement-icon.oo-ui-icon-stop.oo-ui-image-invert,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupToolGroup-handle .oo-ui-indicator-down {
    filter: none !important;
}

body.wgl-darkmode .oswf-tile .oo-ui-iconElement-icon.oo-ui-icon-expand,
body.wgl-darkmode .oswf-tile .oo-ui-iconElement-icon.oo-ui-icon-collapse {
    filter: none !important;
}

body.wgl-darkmode .oo-ui-window-content {
    background-color: #313e59;
}

body.wgl-darkmode .oo-ui-window-content p,
body.wgl-darkmode .oo-ui-window-content table.wikitable {
    color: #cbd9f4;
}

body.wgl-darkmode .oo-ui-window-content .oo-ui-widget-enabled:not(.oo-ui-buttonElement-active):not(.oo-ui-buttonElement-frameless):not(.light-mode-button):not(.dark-mode-button) > a.oo-ui-buttonElement-button {
    background-color: #3f5073 !important;
    border-color: #475980 !important;
}

body.wgl-darkmode .oo-ui-window-content .oo-ui-widget-enabled:not(.oo-ui-buttonElement-active):not(.oo-ui-buttonElement-frameless):not(.light-mode-button):not(.dark-mode-button) > a.oo-ui-buttonElement-button:hover {
    background-color: #4e638e !important;
    border-color: #4e638e !important;
}

body.wgl-darkmode .oo-ui-window-content .oo-ui-widget-enabled.oo-ui-buttonElement-active.oo-ui-buttonElement-framed:not(.light-mode-button):not(.dark-mode-button) > a.oo-ui-buttonElement-button {
    background-color: #24407a !important;
}

body.wgl-darkmode .oo-ui-outlineOptionWidget.oo-ui-optionWidget-selected {
    background-color: #172136;
}

body.wgl-darkmode .oo-ui-outlineOptionWidget.oo-ui-optionWidget-highlighted {
    background-color: #313e59;
}

body.wgl-darkmode .mw-apisandbox-optionalWidget.oo-ui-widget-disabled .oo-ui-widget-disabled * {
    background-color: #cccccc;
    color: #36414f;
    border-color: #36414f;
}

body.wgl-darkmode .oo-ui-textInputWidget.oo-ui-widget-enabled input[readonly],
body.wgl-darkmode .oo-ui-textInputWidget.oo-ui-widget-enabled textarea[readonly] {
    background-color: #313e59;
}

body.wgl-darkmode .mw-highlight {
    background: none;
}

body.wgl-darkmode .mw-highlight pre {
    background-color: #222e45;
}

body.wgl-darkmode .mw-highlight pre .hll {
    background-color: #49483e;
}

body.wgl-darkmode .mw-highlight pre .c {
    color: #949eaa;
}

body.wgl-darkmode .mw-highlight pre .err {
    color: #960050;
}

body.wgl-darkmode .mw-highlight pre .k {
    color: #66d9ef;
}

body.wgl-darkmode .mw-highlight pre .l {
    color: #ae81ff;
}

body.wgl-darkmode .mw-highlight pre .n {
    color: #f8f8f2;
}

body.wgl-darkmode .mw-highlight pre .o {
    color: #f92672;
}

body.wgl-darkmode .mw-highlight pre .p {
    color: #f8f8f2;
}

body.wgl-darkmode .mw-highlight pre .ch {
    color: #949eaa;
}

body.wgl-darkmode .mw-highlight pre .cm {
    color: #949eaa;
}

body.wgl-darkmode .mw-highlight pre .cp {
    color: #949eaa;
}

body.wgl-darkmode .mw-highlight pre .cpf {
    color: #949eaa;
}

body.wgl-darkmode .mw-highlight pre .c1 {
    color: #949eaa;
}

body.wgl-darkmode .mw-highlight pre .cs {
    color: #949eaa;
}

body.wgl-darkmode .mw-highlight pre .gd {
    color: #f92672;
}

body.wgl-darkmode .mw-highlight pre .ge {
    font-style: italic;
}

body.wgl-darkmode .mw-highlight pre .gi {
    color: #a6e22e;
}

body.wgl-darkmode .mw-highlight pre .gs {
    font-weight: bold;
}

body.wgl-darkmode .mw-highlight pre .gu {
    color: #949eaa;
}

body.wgl-darkmode .mw-highlight pre .kc {
    color: #66d9ef;
}

body.wgl-darkmode .mw-highlight pre .kd {
    color: #66d9ef;
}

body.wgl-darkmode .mw-highlight pre .kn {
    color: #f92672;
}

body.wgl-darkmode .mw-highlight pre .kp {
    color: #66d9ef;
}

body.wgl-darkmode .mw-highlight pre .kr {
    color: #66d9ef;
}

body.wgl-darkmode .mw-highlight pre .kt {
    color: #66d9ef;
}

body.wgl-darkmode .mw-highlight pre .ld {
    color: #e6db74;
}

body.wgl-darkmode .mw-highlight pre .m {
    color: #ae81ff;
}

body.wgl-darkmode .mw-highlight pre .s {
    color: #e6db74;
}

body.wgl-darkmode .mw-highlight pre .na {
    color: #a6e22e;
}

body.wgl-darkmode .mw-highlight pre .nb {
    color: #f8f8f2;
}

body.wgl-darkmode .mw-highlight pre .nc {
    color: #a6e22e;
}

body.wgl-darkmode .mw-highlight pre .no {
    color: #66d9ef;
}

body.wgl-darkmode .mw-highlight pre .nd {
    color: #a6e22e;
}

body.wgl-darkmode .mw-highlight pre .ni {
    color: #f8f8f2;
}

body.wgl-darkmode .mw-highlight pre .ne {
    color: #a6e22e;
}

body.wgl-darkmode .mw-highlight pre .nf {
    color: #a6e22e;
}

body.wgl-darkmode .mw-highlight pre .nl {
    color: #f8f8f2;
}

body.wgl-darkmode .mw-highlight pre .nn {
    color: #f8f8f2;
}

body.wgl-darkmode .mw-highlight pre .nx {
    color: #a6e22e;
}

body.wgl-darkmode .mw-highlight pre .py {
    color: #f8f8f2;
}

body.wgl-darkmode .mw-highlight pre .nt {
    color: #f92672;
}

body.wgl-darkmode .mw-highlight pre .nv {
    color: #f8f8f2;
}

body.wgl-darkmode .mw-highlight pre .ow {
    color: #f92672;
}

body.wgl-darkmode .mw-highlight pre .w {
    color: #f8f8f2;
}

body.wgl-darkmode .mw-highlight pre .mb {
    color: #ae81ff;
}

body.wgl-darkmode .mw-highlight pre .mf {
    color: #ae81ff;
}

body.wgl-darkmode .mw-highlight pre .mh {
    color: #ae81ff;
}

body.wgl-darkmode .mw-highlight pre .mi {
    color: #ae81ff;
}

body.wgl-darkmode .mw-highlight pre .mo {
    color: #ae81ff;
}

body.wgl-darkmode .mw-highlight pre .sa {
    color: #e6db74;
}

body.wgl-darkmode .mw-highlight pre .sb {
    color: #e6db74;
}

body.wgl-darkmode .mw-highlight pre .sc {
    color: #e6db74;
}

body.wgl-darkmode .mw-highlight pre .dl {
    color: #e6db74;
}

body.wgl-darkmode .mw-highlight pre .sd {
    color: #e6db74;
}

body.wgl-darkmode .mw-highlight pre .s2 {
    color: #e6db74;
}

body.wgl-darkmode .mw-highlight pre .se {
    color: #ae81ff;
}

body.wgl-darkmode .mw-highlight pre .sh {
    color: #e6db74;
}

body.wgl-darkmode .mw-highlight pre .si {
    color: #e6db74;
}

body.wgl-darkmode .mw-highlight pre .sx {
    color: #e6db74;
}

body.wgl-darkmode .mw-highlight pre .sr {
    color: #e6db74;
}

body.wgl-darkmode .mw-highlight pre .s1 {
    color: #e6db74;
}

body.wgl-darkmode .mw-highlight pre .ss {
    color: #e6db74;
}

body.wgl-darkmode .mw-highlight pre .bp {
    color: #f8f8f2;
}

body.wgl-darkmode .mw-highlight pre .fm {
    color: #a6e22e;
}

body.wgl-darkmode .mw-highlight pre .vc {
    color: #f8f8f2;
}

body.wgl-darkmode .mw-highlight pre .vg {
    color: #f8f8f2;
}

body.wgl-darkmode .mw-highlight pre .vi {
    color: #f8f8f2;
}

body.wgl-darkmode .mw-highlight pre .vm {
    color: #f8f8f2;
}

body.wgl-darkmode .mw-highlight pre .il {
    color: #ae81ff;
}

body.wgl-darkmode .mw-highlight pre .lineno {
    color: #949eaa;
}

body.wgl-darkmode .mw-json th {
    background-color: #222e45;
    border-color: #172136;
    font-size: inherit;
}

body.wgl-darkmode .mw-json td {
    background-color: #313e59;
    border-color: #172136;
    font-size: inherit;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_gutter {
    background: #313e59;
    color: #cbd9f4;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_print-margin {
    width: 1px;
    background: #555651;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm {
    background-color: #222e45;
    color: #F8F8F2;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_cursor {
    color: #F8F8F0;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_marker-layer .ace_selection {
    background: #334567;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm.ace_multiselect .ace_selection.ace_start {
    box-shadow: 0 0 3px 0px #334567;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_marker-layer .ace_step {
    background: #665200;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_marker-layer .ace_bracket {
    margin: -1px 0 0 -1px;
    border: 1px solid #49483E;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_marker-layer .ace_active-line {
    background: #2a3956;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_gutter-active-line {
    background-color: #43557a;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_marker-layer .ace_selected-word {
    border: 1px solid #49483E;
    background: #49483E;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_invisible {
    color: #52524d;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_entity.ace_name.ace_tag,
body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_keyword,
body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_meta.ace_tag,
body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_storage {
    color: #F92672;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_punctuation,
body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_punctuation.ace_tag {
    color: #fff;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_constant.ace_character,
body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_constant.ace_language,
body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_constant.ace_numeric,
body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_constant.ace_other {
    color: #AE81FF;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_invalid {
    color: #F8F8F0;
    background-color: #F92672;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_invalid.ace_deprecated {
    color: #F8F8F0;
    background-color: #AE81FF;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_support.ace_constant,
body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_support.ace_function {
    color: #66D9EF;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_fold {
    background-color: #A6E22E;
    border-color: #F8F8F2;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_storage.ace_type,
body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_support.ace_class,
body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_support.ace_type {
    color: #66D9EF;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_entity.ace_name.ace_function,
body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_entity.ace_other,
body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_entity.ace_other.ace_attribute-name,
body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_variable {
    color: #A6E22E;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_variable.ace_parameter {
    color: #FD971F;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_string {
    color: #E6DB74;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_keyword.ace_operator {
    color: #949eaa;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_comment {
    color: #949eaa;
}

body.wgl-darkmode .wikiEditor-ui .ace-tm .ace_indent-guide {
    background: none;
    border-right: solid 1px #334567;
    margin-left: -1px;
}

body.wgl-darkmode #mw-scribunto-input {
    background-color: #384766;
    border: 1px solid #475980;
}

body.wgl-darkmode .mw-scribunto-console-fieldset {
    color: #cbd9f4;
    background-color: #222e45;
    border-color: #2f4060;
}

body.wgl-darkmode .mw-scribunto-normalOutput,
body.wgl-darkmode .mw-scribunto-print,
body.wgl-darkmode .mw-scribunto-error,
body.wgl-darkmode .mw-scribunto-propList,
body.wgl-darkmode .mw-scribunto-message,
body.wgl-darkmode .mw-scribunto-tabcomplete {
    background: none;
}

body.wgl-darkmode .mw-scribunto-input {
    color: #3ea6e6;
}

body.wgl-darkmode .mw-scribunto-normalOutput {
    color: #cbd9f4;
}

body.wgl-darkmode .mw-scribunto-print {
    color: #f9d000;
}

body.wgl-darkmode .mw-scribunto-error {
    color: #ee4231;
}

body.wgl-darkmode .mw-scribunto-propList,
body.wgl-darkmode .mw-scribunto-message {
    color: #6bc71f;
}

body.wgl-darkmode .mw-scribunto-tabcomplete {
    color: #855cd8;
}

body.wgl-darkmode .mw-scribunto-clear {
    color: #ee4231;
    border-bottom-color: #ee4231;
}

body.wgl-darkmode .ui-dialog,
body.wgl-darkmode .ui-widget-content {
    background-color: #313e59;
    border-color: #222e45;
    background-image: none;
}

body.wgl-darkmode .ui-dialog .ui-dialog-content,
body.wgl-darkmode .ui-widget-content .ui-dialog-content {
    background-color: #313e59;
    border-color: #222e45;
}

body.wgl-darkmode .ui-dialog .ui-widget-header,
body.wgl-darkmode .ui-widget-content .ui-widget-header,
body.wgl-darkmode .ui-dialog .ui-dialog-buttonpane,
body.wgl-darkmode .ui-widget-content .ui-dialog-buttonpane {
    background-image: none !important;
    background-color: #172136 !important;
    color: #cbd9f4;
    border-color: #222e45 !important;
}

body.wgl-darkmode .ui-dialog .ui-widget-header > .ui-dialog-titlebar-close,
body.wgl-darkmode .ui-widget-content .ui-widget-header > .ui-dialog-titlebar-close {
    background-color: #313e59;
    background-image: none;
}

body.wgl-darkmode .ui-dialog .ui-widget-header > .ui-dialog-titlebar-close:hover,
body.wgl-darkmode .ui-widget-content .ui-widget-header > .ui-dialog-titlebar-close:hover {
    background-color: #556c9b;
    color: #e0e8f8;
    border: none;
}

body.wgl-darkmode .ui-dialog .ui-widget-header > .ui-dialog-titlebar-close .ui-icon-closethick,
body.wgl-darkmode .ui-widget-content .ui-widget-header > .ui-dialog-titlebar-close .ui-icon-closethick {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA0UlEQVQY013PvS9DURyH8ed7LlEv181ptybNNUh1USEq6dDw7zTRuSMLk5W/xmKql8HQAXcVI27QoeKcn6mReKbP+uj6odxxSu5Axf3V46b3i1rbyscyW/+x0BHAzdPXhYN+tDBwaAG5MzM732ulhwIYjZ594n0hITPmwKbT77eNXjsvHUC323i3aEOgJpFFbNhr5yWAY5Zj/o+qzCyAy9uXapZlhRkRQCKZfH40D3brrw5gNU1PgRoxHEULx0B1aXnlBED/NwG291tjsGa00PkFoDBODlNCW14AAAAASUVORK5CYII=) no-repeat 50% 50% !important;
}

body.wgl-darkmode .ui-dialog .ui-widget-header > .ui-dialog-titlebar-close .ui-icon-closethick:hover,
body.wgl-darkmode .ui-widget-content .ui-widget-header > .ui-dialog-titlebar-close .ui-icon-closethick:hover {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA0ElEQVQY012PsUrDYBhFz/1rm0YQTeOiCEWRZhAdhPo84iboM+iik2v7Uh1LKAStFbR0ULSFYAzk/5zi4JkOh7tcPb7kp42WG0lk76/p8TQMdRYfjM04rMz3BfA8/x7K6dK8vzYpcNKDmQ32d8IrAaTpMlqPgwyQzNZAP6uySE66W1/UTOf5xWxR2GxR2NNbfl53V4tJzb+1U7tWAUwmq047amUCD2BYo1x+9pJk98MBhJvNe0Hszd/4yt8KdYKN6A5A/28CbO8djc3oVaXv/wJSoVb/a7Dn4QAAAABJRU5ErkJggg==) no-repeat 50% 50% !important;
}

body.wgl-darkmode .ui-dialog .ui-widget-content,
body.wgl-darkmode .ui-widget-content .ui-widget-content {
    color: #cbd9f4;
}

body.wgl-darkmode .ui-dialog .ui-widget-content .ui-dialog-buttonset > .ui-button,
body.wgl-darkmode .ui-widget-content .ui-widget-content .ui-dialog-buttonset > .ui-button {
    background-color: #313e59 !important;
    background-image: none !important;
    color: #cbd9f4;
    border-color: #222e45 !important;
}

body.wgl-darkmode .ui-dialog .ui-widget-content .ui-dialog-buttonset > .ui-button:hover,
body.wgl-darkmode .ui-widget-content .ui-widget-content .ui-dialog-buttonset > .ui-button:hover {
    background-color: #556c9b !important;
    color: #e0e8f8;
}

body.wgl-darkmode ul.ui-autocomplete {
    list-style-image: none;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui,
body.wgl-darkmode .mw-editform {
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-view,
body.wgl-darkmode .mw-editform .wikiEditor-ui-view,
body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top {
    border-color: #172136;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar {
    background-color: #313e59;
    background-image: none;
    color: #cbd9f4;
    border-color: #172136;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-iconElement-icon:not(.oo-ui-image-progressive),
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-iconElement-icon:not(.oo-ui-image-progressive) {
    filter: invert(1);
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-iconElement-icon.oo-ui-image-progressive,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-iconElement-icon.oo-ui-image-progressive {
    filter: brightness(1.5);
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupToolGroup-handle .oo-ui-indicator-down,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupToolGroup-handle .oo-ui-indicator-down {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%238cabe6'%3E%3Ctitle%3Edown%3C/title%3E%3Cpath d='M11.05 3.996l-.965-1.053-4.035 3.86-3.947-3.86L1.05 3.996l5 5 5-5'/%3E%3C/svg%3E");
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupToolGroup-handle .oo-ui-indicator-down:hover,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupToolGroup-handle .oo-ui-indicator-down:hover {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%23e0e8f8'%3E%3Ctitle%3Edown%3C/title%3E%3Cpath d='M11.05 3.996l-.965-1.053-4.035 3.86-3.947-3.86L1.05 3.996l5 5 5-5'/%3E%3C/svg%3E");
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupToolGroup-handle:hover,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupToolGroup-handle:hover,
body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle {
    background-color: #556c9b;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-toolGroup-tools.oo-ui-clippableElement-clippable,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-toolGroup-tools.oo-ui-clippableElement-clippable {
    border-color: #172136;
    background-color: #313e59;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-toolGroup-tools.oo-ui-clippableElement-clippable .oo-ui-tool-name-editModeVisual,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-toolGroup-tools.oo-ui-clippableElement-clippable .oo-ui-tool-name-editModeVisual {
    background-color: #313e59;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-toolGroup-tools.oo-ui-clippableElement-clippable .oo-ui-tool-name-editModeVisual:hover,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-toolGroup-tools.oo-ui-clippableElement-clippable .oo-ui-tool-name-editModeVisual:hover {
    background-color: #556c9b;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-toolGroup-tools.oo-ui-clippableElement-clippable .oo-ui-tool-name-editModeVisual .oo-ui-tool-title,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-toolGroup-tools.oo-ui-clippableElement-clippable .oo-ui-tool-name-editModeVisual .oo-ui-tool-title {
    color: #8cabe6;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-toolGroup-tools.oo-ui-clippableElement-clippable .oo-ui-tool-name-editModeVisual .oo-ui-tool-title:hover,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-toolGroup-tools.oo-ui-clippableElement-clippable .oo-ui-tool-name-editModeVisual .oo-ui-tool-title:hover {
    color: #e0e8f8;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-toolGroup-tools.oo-ui-clippableElement-clippable .oo-ui-tool-name-editModeSource,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-toolGroup-tools.oo-ui-clippableElement-clippable .oo-ui-tool-name-editModeSource {
    background-color: #556c9b;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-toolGroup-tools.oo-ui-clippableElement-clippable .oo-ui-tool-name-editModeSource .oo-ui-tool-title,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-toolGroup-tools.oo-ui-clippableElement-clippable .oo-ui-tool-name-editModeSource .oo-ui-tool-title {
    color: #e0e8f8;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupWidget-popup,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupWidget-popup {
    background-color: #313e59;
    border-color: #172136;
    color: #cbd9f4;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupWidget-popup .oo-ui-buttonElement-button,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupWidget-popup .oo-ui-buttonElement-button {
    background-color: #313e59;
    background-image: none;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupWidget-popup .oo-ui-buttonElement-button:hover,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupWidget-popup .oo-ui-buttonElement-button:hover {
    background-color: #556c9b;
    color: #e0e8f8;
    border: none;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupWidget-popup .oo-ui-buttonElement-button .oo-ui-icon-close,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupWidget-popup .oo-ui-buttonElement-button .oo-ui-icon-close {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='%238cabe6'%3E%3Ctitle%3Eclose%3C/title%3E%3Cpath d='M3.636 2.224l14.142 14.142-1.414 1.414L2.222 3.638z'/%3E%3Cpath d='M17.776 3.636L3.634 17.778 2.22 16.364 16.362 2.222z'/%3E%3C/svg%3E");
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupWidget-popup .oo-ui-buttonElement-button .oo-ui-icon-close:hover,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupWidget-popup .oo-ui-buttonElement-button .oo-ui-icon-close:hover {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='%23e0e8f8'%3E%3Ctitle%3Eclose%3C/title%3E%3Cpath d='M3.636 2.224l14.142 14.142-1.414 1.414L2.222 3.638z'/%3E%3Cpath d='M17.776 3.636L3.634 17.778 2.22 16.364 16.362 2.222z'/%3E%3C/svg%3E");
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupWidget-anchor::before,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupWidget-anchor::before {
    border-bottom-color: #172136;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupWidget-anchor::after,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-popupWidget-anchor::after {
    border-bottom-color: #556c9b;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .tabs a,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .tabs a,
body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .tabs > .tab > a,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .tabs > .tab > a {
    color: #8cabe6;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .group > .tool.tool-active.oo-ui-buttonElement-frameless.oo-ui-iconElement,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .group > .tool.tool-active.oo-ui-buttonElement-frameless.oo-ui-iconElement,
body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-iconElement-icon.oo-ui-icon-markup,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-iconElement-icon.oo-ui-icon-markup {
    background-color: transparent;
    box-shadow: none;
    outline: none;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .group > .tool.tool-active.oo-ui-buttonElement-frameless.oo-ui-iconElement:hover,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .group > .tool.tool-active.oo-ui-buttonElement-frameless.oo-ui-iconElement:hover,
body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-iconElement-icon.oo-ui-icon-markup:hover,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-iconElement-icon.oo-ui-icon-markup:hover {
    background-color: #556c9b;
    color: #e0e8f8;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-image-progressive.oo-ui-icon-markup,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-image-progressive.oo-ui-icon-markup,
body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-iconElement-icon.oo-ui-icon-markup,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-iconElement-icon.oo-ui-icon-markup {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='%238cabe6'%3E%3Ctitle xmlns:default='http://www.w3.org/2000/svg'%3Emarkup%3C/title%3E%3Cpath xmlns:default='http://www.w3.org/2000/svg' d='M6.5 3.5l-5 5L0 10l1.5 1.5 5 5L8 15l-5-5 5-5-1.5-1.5zm12 5l-5-5L12 5l5 5-5 5 1.5 1.5 5-5L20 10l-1.5-1.5z'/%3E%3C/g%3E%3C/svg%3E");
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-image-progressive.oo-ui-icon-markup:hover,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-image-progressive.oo-ui-icon-markup:hover,
body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-iconElement-icon.oo-ui-icon-markup:hover,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .oo-ui-iconElement-icon.oo-ui-icon-markup:hover {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='%23e0e8f8'%3E%3Ctitle xmlns:default='http://www.w3.org/2000/svg'%3Emarkup%3C/title%3E%3Cpath xmlns:default='http://www.w3.org/2000/svg' d='M6.5 3.5l-5 5L0 10l1.5 1.5 5 5L8 15l-5-5 5-5-1.5-1.5zm12 5l-5-5L12 5l5 5-5 5 1.5 1.5 5-5L20 10l-1.5-1.5z'/%3E%3C/g%3E%3C/svg%3E");
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .sections .toolbar,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .sections .toolbar {
    background-color: #313e59;
    color: #cbd9f4;
    border-color: #172136;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .sections .toolbar .group > .label,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .sections .toolbar .group > .label {
    color: #cbd9f4;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .sections .toolbar a,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .sections .toolbar a {
    color: #8cabe6;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .sections .toolbar .tool > .label,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .sections .toolbar .tool > .label {
    color: #cbd9f4;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .sections .toolbar .tool,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .sections .toolbar .tool {
    background-color: #313e59;
    border-color: #172136;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .sections .toolbar .tool .options,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .sections .toolbar .tool .options {
    border-color: #172136;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .sections .toolbar .tool .option,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .sections .toolbar .tool .option {
    background-color: #313e59;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .wikiEditor-ui-toolbar .sections .toolbar .tool .option:hover,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .wikiEditor-ui-toolbar .sections .toolbar .tool .option:hover {
    background-color: #556c9b;
    color: #e0e8f8;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .booklet,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .booklet {
    background-color: #313e59;
    background-image: none;
    color: #cbd9f4;
    border-color: #172136;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .booklet a,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .booklet a,
body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .booklet .index > div,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .booklet .index > div {
    color: #8cabe6;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .booklet .index > div.current,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .booklet .index > div.current {
    background-color: #556c9b;
    color: #e0e8f8;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .booklet .pages,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .booklet .pages {
    background-color: #313e59;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .booklet .pages .page-characters span,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .booklet .pages .page-characters span {
    color: #cbd9f4;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .booklet .pages .page-characters span:hover,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .booklet .pages .page-characters span:hover {
    background-color: #556c9b;
    color: #e0e8f8;
    border-color: #26375a;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .booklet .pages th,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .booklet .pages th {
    color: #fff;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-top .booklet .pages > .page-table > table span,
body.wgl-darkmode .mw-editform .wikiEditor-ui-top .booklet .pages > .page-table > table span {
    color: #cbd9f4;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .editOptions,
body.wgl-darkmode .mw-editform .editOptions {
    color: #cbd9f4;
    background-color: #222e45;
    border-color: #222e45;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui #editpage-copywarn,
body.wgl-darkmode .mw-editform #editpage-copywarn {
    color: #cbd9f4;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-left .ace_editor .ace_gutter,
body.wgl-darkmode .mw-editform .wikiEditor-ui-left .ace_editor .ace_gutter {
    background: #313e59;
    color: #cbd9f4;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-left .ace_editor .ace_gutter-active-line,
body.wgl-darkmode .mw-editform .wikiEditor-ui-left .ace_editor .ace_gutter-active-line {
    background: #556c9b;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-left .ace_editor .ace_search,
body.wgl-darkmode .mw-editform .wikiEditor-ui-left .ace_editor .ace_search {
    background-color: #313e59;
    color: #cbd9f4;
    border-color: #596e96;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-left .ace_editor .ace_search .ace_search_field,
body.wgl-darkmode .mw-editform .wikiEditor-ui-left .ace_editor .ace_search .ace_search_field {
    background-color: #556c9b;
    border-color: #172136;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-left .ace_editor .ace_search .ace_search_field::placeholder,
body.wgl-darkmode .mw-editform .wikiEditor-ui-left .ace_editor .ace_search .ace_search_field::placeholder {
    color: #cbd9f4;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-left .ace_editor .ace_search .ace_search_field:-ms-input-placeholder,
body.wgl-darkmode .mw-editform .wikiEditor-ui-left .ace_editor .ace_search .ace_search_field:-ms-input-placeholder {
    color: #cbd9f4;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-left .ace_editor .ace_search .ace_search_field::-ms-input-placeholder,
body.wgl-darkmode .mw-editform .wikiEditor-ui-left .ace_editor .ace_search .ace_search_field::-ms-input-placeholder {
    color: #cbd9f4;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-left .ace_editor .ace_search .ace_searchbtn,
body.wgl-darkmode .mw-editform .wikiEditor-ui-left .ace_editor .ace_search .ace_searchbtn {
    border-color: #172136;
    background-color: #556c9b;
    color: #cbd9f4;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-left .ace_editor .ace_search .ace_searchbtn::after,
body.wgl-darkmode .mw-editform .wikiEditor-ui-left .ace_editor .ace_search .ace_searchbtn::after {
    border-color: #cbd9f4;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-left .ace_editor .ace_search .ace_searchbtn:hover,
body.wgl-darkmode .mw-editform .wikiEditor-ui-left .ace_editor .ace_search .ace_searchbtn:hover {
    background-color: #6178a8;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-left .ace_editor .ace_search .ace_button,
body.wgl-darkmode .mw-editform .wikiEditor-ui-left .ace_editor .ace_search .ace_button {
    color: #cbd9f4;
    border-color: #3d588f;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-left .ace_editor .ace_search .ace_button:hover,
body.wgl-darkmode .mw-editform .wikiEditor-ui-left .ace_editor .ace_search .ace_button:hover {
    background-color: #556c9b;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-left .ace_editor .ace_search .ace_button.checked,
body.wgl-darkmode .mw-editform .wikiEditor-ui-left .ace_editor .ace_search .ace_button.checked {
    border-color: #172136;
    background-color: #43557a;
}

body.wgl-darkmode #mw-content-text .wikiEditor-ui .wikiEditor-ui-left .codeEditor-status,
body.wgl-darkmode .mw-editform .wikiEditor-ui-left .codeEditor-status {
    border-color: #172136;
    background-color: #313e59;
}

body.wgl-darkmode.action-edit .oo-ui-window-content {
    background-color: #313e59;
}

body.wgl-darkmode.action-edit .oo-ui-window-content .oo-ui-window-body,
body.wgl-darkmode.action-edit .oo-ui-window-content .oo-ui-window-head {
    outline-color: #172136;
}

body.wgl-darkmode.action-edit .oo-ui-window-content .oo-ui-selectFileWidget-empty.oo-ui-widget-enabled.oo-ui-selectFileWidget-dropTarget,
body.wgl-darkmode.action-edit .oo-ui-window-content .oo-ui-selectFileWidget-dropTarget,
body.wgl-darkmode.action-edit .oo-ui-window-content .oo-ui-selectFileWidget-info {
    background-color: #3a4969;
}

body.wgl-darkmode.action-edit .oo-ui-window-content .oo-ui-selectFileWidget-empty.oo-ui-widget-enabled.oo-ui-selectFileWidget-dropTarget .oo-ui-selectFileWidget-dropLabel,
body.wgl-darkmode.action-edit .oo-ui-window-content .oo-ui-selectFileWidget-dropTarget .oo-ui-selectFileWidget-dropLabel,
body.wgl-darkmode.action-edit .oo-ui-window-content .oo-ui-selectFileWidget-info .oo-ui-selectFileWidget-dropLabel {
    color: #cbd9f4;
}

body.wgl-darkmode.action-edit .oo-ui-window-content .mw-foreignStructuredUpload-bookletLayout-license {
    color: #cbd9f4;
}

body.wgl-darkmode.action-edit .oo-ui-window-content .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
    background-color: #556c9b;
    border-color: #172136;
}

body.wgl-darkmode.action-edit .oo-ui-window-content .oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
    background-color: #313e59;
    border-color: #172136;
}

body.wgl-darkmode.action-edit .oo-ui-window-content .oo-ui-actionWidget,
body.wgl-darkmode.action-edit .oo-ui-window-content .oo-ui-window-foot {
    border-color: #172136;
    outline-color: #172136;
}

body.wgl-darkmode.action-edit .oo-ui-window-content .oo-ui-messageDialog-actions .oo-ui-actionWidget.oo-ui-widget-enabled .oo-ui-buttonElement-button:hover {
    background-color: #556c9b;
}

body.wgl-darkmode .oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame {
    border-color: #172136;
}

body.wgl-darkmode .CodeMirror {
    background: #222e45;
    caret-color: #61afef;
}

body.wgl-darkmode .CodeMirror pre {
    color: #cbd9f4;
}

body.wgl-darkmode .CodeMirror-cursor {
    border-left-color: #61afef;
}

body.wgl-darkmode pre.cm-mw-section-1,
body.wgl-darkmode pre.cm-mw-section-2,
body.wgl-darkmode pre.cm-mw-section-3,
body.wgl-darkmode pre.cm-mw-section-4,
body.wgl-darkmode pre.cm-mw-section-5,
body.wgl-darkmode pre.cm-mw-section-6 {
    color: #ffffff;
}

body.wgl-darkmode pre.cm-mw-section-1 {
    font-size: 1.7em;
}

body.wgl-darkmode pre.cm-mw-section-2 {
    font-size: 1.35em;
}

body.wgl-darkmode pre.cm-mw-section-3 {
    font-size: 1.1em;
}

body.wgl-darkmode .cm-mw-section-header {
    color: #84be5b;
}

body.wgl-darkmode .cm-mw-apostrophes-bold,
body.wgl-darkmode .cm-mw-apostrophes-italic,
body.wgl-darkmode .cm-mw-doubleUnderscore,
body.wgl-darkmode .cm-mw-indenting,
body.wgl-darkmode .cm-mw-signature,
body.wgl-darkmode .cm-mw-hr,
body.wgl-darkmode .cm-mw-list {
    color: #3b9ff1;
}

body.wgl-darkmode .cm-mw-doubleUnderscore,
body.wgl-darkmode .cm-mw-indenting,
body.wgl-darkmode .cm-mw-signature,
body.wgl-darkmode .cm-mw-hr,
body.wgl-darkmode .cm-mw-list {
    background: rgba(97, 175, 239, 0.1);
}

body.wgl-darkmode .cm-mw-skipformatting {
    background: rgba(97, 175, 239, 0.5);
}

body.wgl-darkmode .cm-mw-mnemonic {
    color: #98c379;
}

body.wgl-darkmode .cm-mw-comment {
    color: #cbd9f4;
    opacity: 0.7;
}

body.wgl-darkmode .cm-mw-link-pagename,
body.wgl-darkmode .cm-mw-link,
body.wgl-darkmode .cm-mw-extlink,
body.wgl-darkmode .cm-mw-free-extlink {
    color: #61afef;
}

body.wgl-darkmode .cm-mw-link-tosection,
body.wgl-darkmode .cm-mw-extlink-protocol,
body.wgl-darkmode .cm-mw-free-extlink-protocol {
    color: #85bfef;
}

body.wgl-darkmode .cm-mw-link-bracket,
body.wgl-darkmode .cm-mw-link-delimiter,
body.wgl-darkmode .cm-mw-extlink-bracket {
    color: #3b9ff1;
}

body.wgl-darkmode .cm-mw-template-bracket,
body.wgl-darkmode .cm-mw-template-delimiter {
    color: #c78343;
}

body.wgl-darkmode .cm-mw-template-name,
body.wgl-darkmode .cm-mw-template-argument-name {
    color: #ca9564;
}

body.wgl-darkmode .cm-mw-template {
    color: #cfa783;
}

body.wgl-darkmode .cm-mw-table-bracket,
body.wgl-darkmode .cm-mw-table-delimiter {
    color: #3bacba;
}

body.wgl-darkmode .cm-mw-table-definition {
    color: #56b6c2;
}

body.wgl-darkmode .cm-mw-templatevariable-bracket,
body.wgl-darkmode .cm-mw-templatevariable-delimiter {
    color: #bd56db;
}

body.wgl-darkmode .cm-mw-templatevariable-name,
body.wgl-darkmode .cm-mw-templatevariable {
    color: #c678dd;
}

body.wgl-darkmode .cm-mw-parserfunction-bracket {
    color: #de4955;
}

body.wgl-darkmode .cm-mw-parserfunction-name,
body.wgl-darkmode .cm-mw-parserfunction-delimiter {
    color: #df6c75;
}

body.wgl-darkmode .CodeMirror-selected {
    background-color: rgba(140, 171, 230, 0.1);
}

.CodeMirror-focused body.wgl-darkmode .CodeMirror-selected {
    background-color: rgba(140, 171, 230, 0.2);
}

body.wgl-darkmode .CodeMirror-line::selection,
body.wgl-darkmode .CodeMirror-line > span::selection,
body.wgl-darkmode .CodeMirror-line > span > span::selection {
    background: rgba(140, 171, 230, 0.2);
}

body.wgl-darkmode .CodeMirror-line::-moz-selection,
body.wgl-darkmode .CodeMirror-line > span::-moz-selection,
body.wgl-darkmode .CodeMirror-line > span > span::-moz-selection {
    background: rgba(140, 171, 230, 0.2);
}

body.wgl-darkmode pre.CodeMirror-line {
    background: none;
}

body.wgl-darkmode .cm-mw-htmltag-bracket,
body.wgl-darkmode .cm-mw-exttag-bracket {
    color: #84be5b;
}

body.wgl-darkmode .cm-mw-htmltag-name,
body.wgl-darkmode .cm-mw-htmltag-attribute,
body.wgl-darkmode .cm-mw-exttag-name,
body.wgl-darkmode .cm-mw-exttag-attribute {
    color: #98c379;
}

body.wgl-darkmode pre.cm-mw-exttag {
    background: rgba(255, 255, 255, 0.05);
}

body.wgl-darkmode .mw-editform #wpTextbox1 {
    color: #cbd9f4;
    background: #222e45;
    border-color: #172136;
}

body.wgl-darkmode .mw-editTools select#std-preload-list {
    background-color: #384766;
    border: 1px solid #475980;
    color: #cbd9f4;
}

body.wgl-darkmode .mw-editTools input#cust-preload-input {
    background-color: #384766;
    border: 1px solid #475980;
    color: #cbd9f4;
    padding: 2px 1px;
}

body.wgl-darkmode .mw-editTools input#cust-preload-button {
    background-color: #313e59;
    border: 1px solid #3f5073;
    border-left: none;
    color: #cbd9f4;
    padding: 2px 7px;
    cursor: pointer;
}

body.wgl-darkmode .mw-editTools input#cust-preload-button:hover {
    background-color: #384766;
    border: 1px solid #475980;
    border-left: none;
}

body.wgl-darkmode .ve-ui-mwTransclusionDialog-multiple .oo-ui-outlineControlsWidget {
    background: none;
}

body.wgl-darkmode .ve-ui-mwTransclusionDialog-multiple .oo-ui-outlineOptionWidget.oo-ui-optionWidget-selected,
body.wgl-darkmode .ve-ui-mwTransclusionDialog-multiple .oo-ui-outlineOptionWidget.oo-ui-optionWidget-highlighted {
    background-color: #3f5073;
}

body.wgl-darkmode .ve-ui-mwTransclusionDialog-multiple .oo-ui-bookletLayout-outlinePanel > .oo-ui-outlineControlsWidget,
body.wgl-darkmode .ve-ui-mwTransclusionDialog-multiple .oo-ui-searchWidget-query,
body.wgl-darkmode .ve-ui-mwTransclusionDialog-multiple .ve-ui-mwTransclusionDialog-addParameterFieldset .ve-ui-mwParameterSearchWidget {
    border-color: #596e96;
}

.ve-active body.wgl-darkmode #content .oo-ui-widget,
.ve-active body.wgl-darkmode #content .ve-ui-commentContextItem .ve-ui-linearContextItem-body {
    color: #cbd9f4;
}

.ve-active body.wgl-darkmode #content .oo-ui-toolbar-bar {
    background-color: #222e45;
}

.ve-active body.wgl-darkmode #content .oo-ui-iconElement-icon,
.ve-active body.wgl-darkmode #content .oo-ui-indicatorElement-indicator,
.ve-active body.wgl-darkmode #content .oo-ui-icon-notice,
.ve-active body.wgl-darkmode #content .mw-ui-icon-notice:before {
    filter: invert(100%);
}

.ve-active body.wgl-darkmode #content .oo-ui-iconElement-icon.oo-ui-icon-cancel,
.ve-active body.wgl-darkmode #content .ve-ui-mwInternalLinkContextItem-withImage .oo-ui-iconElement-icon {
    filter: invert(0%);
}

.ve-active body.wgl-darkmode #content .ve-ce-linkAnnotation-active {
    background: #222e45;
    box-shadow: 0 0 0 1px #313e59;
}

.ve-active body.wgl-darkmode #content .oo-ui-tool:not(.oo-ui-toolGroupTool).oo-ui-tool-active {
    background: #313e59;
}

.ve-active body.wgl-darkmode #content .oo-ui-popupToolGroup-handle:hover,
.ve-active body.wgl-darkmode #content .oo-ui-tool:not(.oo-ui-toolGroupTool).oo-ui-widget-enabled:hover {
    background: #384766;
}

.ve-active body.wgl-darkmode #content .oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle {
    background: #313e59;
}

.ve-active body.wgl-darkmode #content .oo-ui-menuToolGroup .oo-ui-tool.oo-ui-tool-active,
.ve-active body.wgl-darkmode #content .oo-ui-listToolGroup .oo-ui-tool-active.oo-ui-widget-enabled {
    background: #384766;
}

.ve-active body.wgl-darkmode #content .oo-ui-popupToolGroup .oo-ui-toolGroup-tools {
    background: #222e45;
    border-color: #2f4060;
}

.ve-active body.wgl-darkmode #content .oo-ui-tool-title {
    color: #cbd9f4;
}

.ve-active body.wgl-darkmode #content .oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-accel {
    color: rgba(203, 217, 244, 0.5);
}

.ve-active body.wgl-darkmode #content .oo-ui-toolbar-position-top > .oo-ui-toolbar-bar {
    border-bottom-color: #2f4060;
}

.ve-active body.wgl-darkmode #content .oo-ui-toolGroup {
    border-right-color: #2f4060;
}

.ve-active body.wgl-darkmode #content .oo-ui-toolbar-actions .oo-ui-toolGroup {
    border-left-color: #2f4060;
}

.ve-active body.wgl-darkmode #content .oo-ui-toolbar-actions > .oo-ui-toolbar:not(:last-child) {
    border-right-color: #2f4060;
}

.ve-active body.wgl-darkmode #content .oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
    background-color: #596e96;
}

.ve-active body.wgl-darkmode #content .oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button .oo-ui-labelElement-label {
    color: rgba(203, 217, 244, 0.5);
}

.ve-active body.wgl-darkmode #content .oo-ui-popupWidget-popup {
    background-color: #222e45;
    border-color: #2f4060;
}

.ve-active body.wgl-darkmode #content .oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor:after {
    border-bottom-color: #222e45;
}

.ve-active body.wgl-darkmode #content .oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor:before {
    border-bottom-color: #2f4060;
}

.ve-active body.wgl-darkmode #content .ve-ce-branchNode-blockSlug,
.ve-active body.wgl-darkmode #content .ve-ce-branchNode-newSlug {
    outline-color: #2f4060;
    background-color: #222e45;
}

body.wgl-darkmode .ve-ui-mwTemplatePage-description,
body.wgl-darkmode .ve-ui-mwParameterPage-label {
    color: #cbd9f4;
    line-height: 1.6em;
}

body.wgl-darkmode .ve-ui-mwGalleryDialog-menuLayout > .oo-ui-menuLayout-menu,
body.wgl-darkmode .ve-ui-mwGalleryDialog-innerMenuLayout > .oo-ui-menuLayout-menu,
body.wgl-darkmode .ve-ui-mwGalleryDialog .ve-ui-mwGalleryDialog-image-container,
body.wgl-darkmode .ve-ui-targetWidget {
    border-color: #2f4060;
}

body.wgl-darkmode .ve-ui-mwGalleryDialog-highlighted-image {
    background-color: #222e45;
}

body.wgl-darkmode .ve-ui-mwSaveDialog {
    color: #cbd9f4;
}

body.wgl-darkmode .ve-ui-mwSaveDialog-options {
    background-color: #222e45;
    border-color: #2f4060;
}

body.wgl-darkmode .ve-ui-mwSaveDialog-editSummary-count {
    border-color: #2f4060;
}

body.wgl-darkmode .ve-ui-mwSaveDialog-license {
    color: #cbd9f4;
}

body.wgl-darkmode .mw-summary-preview {
    border-bottom-color: #172136;
}

body.wgl-darkmode [data-diff-action='remove'],
body.wgl-darkmode table[data-diff-action='remove'] > caption,
body.wgl-darkmode figure[data-diff-action='remove'] > figcaption {
    color: #ffffff;
    background: #9f261e !important;
    box-shadow: 0 0 0 1px #9f261e;
}

body.wgl-darkmode [data-diff-action='insert'],
body.wgl-darkmode table[data-diff-action='insert'] > caption,
body.wgl-darkmode figure[data-diff-action='insert'] > figcaption {
    color: #ffffff;
    background: #3c780a !important;
    box-shadow: 0 0 0 1px #3c780a;
}

body.wgl-darkmode table.wikitable {
    background: #313e59;
}

body.wgl-darkmode table.wikitable > * > tr > th {
    background-color: #222e45;
    border-color: #172136;
}

body.wgl-darkmode table.wikitable > * > tr > td {
    border-color: #172136;
}

body.wgl-darkmode .table-bg-red {
    background: #9f261e;
    color: #feecea;
}

body.wgl-darkmode .table-bg-red a:not(.mw-selflink) {
    color: #fbc0ba;
}

body.wgl-darkmode .table-bg-orange {
    background: #b55e0c;
    color: #fef0e4;
}

body.wgl-darkmode .table-bg-orange a:not(.mw-selflink) {
    color: #fbcfa6;
}

body.wgl-darkmode .table-bg-yellow {
    background: #a48900;
    color: #fef9de;
}

body.wgl-darkmode .table-bg-yellow a:not(.mw-selflink) {
    color: #fcea94;
}

body.wgl-darkmode .table-bg-green {
    background: #3c780a;
    color: #ecf8e3;
}

body.wgl-darkmode .table-bg-green a:not(.mw-selflink) {
    color: #c3e8a3;
}

body.wgl-darkmode .table-bg-blue {
    background: #0b5884;
    color: #e5f3fc;
}

body.wgl-darkmode .table-bg-blue a:not(.mw-selflink) {
    color: #aad9f5;
}

body.wgl-darkmode .table-bg-purple {
    background: #4f348b;
    color: #f0ecfa;
}

body.wgl-darkmode .table-bg-purple a:not(.mw-selflink) {
    color: #cfc0f0;
}

body.wgl-darkmode .table-bg-pink {
    background: #984c89;
    color: #fceef9;
}

body.wgl-darkmode .table-bg-pink a:not(.mw-selflink) {
    color: #f5c8ec;
}

body.wgl-darkmode .table-bg-gray,
body.wgl-darkmode .table-bg-grey {
    background: #5d6773;
    color: #f9fafa;
}

body.wgl-darkmode .table-bg-gray a:not(.mw-selflink),
body.wgl-darkmode .table-bg-grey a:not(.mw-selflink) {
    color: #e4eaee;
}

body.wgl-darkmode table.alternating-rows tr:nth-child(odd),
body.wgl-darkmode table.alternating-cols td:nth-child(odd) {
    background: #2a3651;
}

body.wgl-darkmode tr.store-hist {
    background: #5d6773;
    color: #f9fafa;
}

body.wgl-darkmode tr.store-hist a:not(.mw-selflink) {
    color: #e4eaee;
}

body.wgl-darkmode .table-na {
    background: #2c374f;
    color: #596e96;
}

body.wgl-darkmode table.lighttable .highlight-over .table-na {
    color: rgba(236, 248, 227, 0.5);
    background: #336508;
}

body.wgl-darkmode table.lighttable .highlight-on .table-na {
    color: rgba(236, 248, 227, 0.4);
    background: #254b04;
}

body.wgl-darkmode .mw_metadata td,
body.wgl-darkmode .mw_metadata th {
    border-color: #172136;
}

body.wgl-darkmode .mw_metadata th {
    background-color: #222e45;
}

body.wgl-darkmode .mw_metadata td {
    background-color: #313e59;
}

body.wgl-darkmode table.jquery-tablesorter th.headerSort {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2221%22 height=%229%22 viewBox=%220 0 21 9%22%3E %3Cg fill=%22%23cbd9f4%22%3E %3Cpath d=%22M14.5 5l-4 4-4-4zM14.5 4l-4-4-4 4z%22/%3E %3C/g%3E %3C/svg%3E");
}

body.wgl-darkmode table.jquery-tablesorter th.headerSortUp {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2221%22 height=%224%22 viewBox=%220 0 21 4%22%3E %3Cg fill=%22%23cbd9f4%22%3E %3Cpath d=%22M6.5 4l4-4 4 4z%22/%3E %3C/g%3E %3C/svg%3E");
}

body.wgl-darkmode table.jquery-tablesorter th.headerSortDown {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2221%22 height=%224%22 viewBox=%220 0 21 4%22%3E %3Cg fill=%22%23cbd9f4%22%3E %3Cpath d=%22M14.5 0l-4 4-4-4z%22/%3E %3C/g%3E %3C/svg%3E");
}

body.wgl-darkmode .rsw-infobox {
    background: #313e59;
}

body.wgl-darkmode .rsw-infobox .infobox-header {
    background: #172136;
    border-color: #313e59;
}

body.wgl-darkmode .rsw-infobox .infobox-subheader {
    background: #222e45;
    border-color: #313e59;
}

body.wgl-darkmode .rsw-infobox .infobox-image.bordered-image {
    border: none;
}

body.wgl-darkmode .rsw-infobox .infobox-map {
    border: none;
}

body.wgl-darkmode .rsw-infobox th:not(.infobox-header):not(.infobox-subheader) {
    border-left: none;
    border-right-color: #222e45;
}

body.wgl-darkmode .rsw-infobox td:not(.infobox-image):not(.infobox-map) {
    border-right: none;
}

body.wgl-darkmode .rsw-infobox td[colspan="2"]:not(.infobox-image):not(.infobox-map) {
    border: none;
}

body.wgl-darkmode .rsw-infobox.infobox-monster th.defensive-subheader {
    color: #36414f;
}

body.wgl-darkmode .rsw-infobox.infobox-monster th.defensive-subheader:not(:last-child) {
    border-right: 0.175em solid #438ab5;
}

body.wgl-darkmode .rsw-infobox.infobox-monster th:not(.infobox-header):not(.infobox-subheader):last-child {
    border: none;
}

body.wgl-darkmode .rsw-infobox.infobox-monster th.slayer-header {
    background: #1f1f1f;
}

body.wgl-darkmode .rsw-infobox.infobox-monster th.slayer-subheader {
    background-color: #333333;
    color: #ffffff;
}

body.wgl-darkmode .rsw-infobox.infobox-monster th.slayer-subheader:not(:last-child) {
    border-right: 0.175em solid #1f1f1f !important;
}

body.wgl-darkmode .rsw-infobox.infobox-monster td:not(.infobox-image):not(.infobox-map) {
    border: none;
}

body.wgl-darkmode .rsw-infobox#infobox-familiar th:last-child:not([colspan="4"]) {
    border-right: none;
}

body.wgl-darkmode .rsw-infobox#infobox-familiar td.infobox-template-links {
    border: none !important;
    padding-bottom: 0.6em;
}

body.wgl-darkmode .rsw-infobox#infobox-familiar td:first-child {
    border-left: none !important;
}

body.wgl-darkmode .rsw-infobox#infobox-familiar td:last-child {
    border-right: none !important;
}

body.wgl-darkmode .infobox-bonuses th {
    border-color: #172136;
    background: #222e45;
}

body.wgl-darkmode .infobox-bonuses td {
    border-color: #172136;
    background: #313e59;
}

body.wgl-darkmode .infobox-bonuses .oo-ui-labelElement-label {
    color: #cbd9f4;
}

body.wgl-darkmode .multi-infobox ul.tabbernav li:not(.tabberactive) a {
    border-bottom: 1px solid #222e45;
}

body.wgl-darkmode #DisassemblyT .disassembly-border {
    border-top-color: #313e59;
}

body.wgl-darkmode .infotableBonuses .attribute-value,
body.wgl-darkmode .infotableBonuses .attribute-total,
body.wgl-darkmode .infotableBonuses .attribute-total .attribute-value {
    background: #2a3651;
}

body.wgl-darkmode .rsw-infobox.infobox-user-stats .infobox-header {
    background: #313e59;
}

body.wgl-darkmode .rsw-infobox.infobox-user-stats .infobox-header a {
    color: #ffffff;
}

body.wgl-darkmode .rsw-infobox.infobox-user-stats td:not(.infobox-image):not(.infobox-map):not(:last-child) {
    border-right: 1px solid #222e45;
}

body.wgl-darkmode .messagebox {
    border-color: #222e45;
    background-color: #313e59;
}

body.wgl-darkmode .messagebox.obsolete,
body.wgl-darkmode .messagebox.info,
body.wgl-darkmode .messagebox.disambig {
    color: #ddd;
    background-color: #464646;
    border-color: #333;
}

body.wgl-darkmode .messagebox.obsolete a,
body.wgl-darkmode .messagebox.info a,
body.wgl-darkmode .messagebox.disambig a,
body.wgl-darkmode .messagebox.obsolete a:visited,
body.wgl-darkmode .messagebox.info a:visited,
body.wgl-darkmode .messagebox.disambig a:visited,
body.wgl-darkmode .messagebox.obsolete a:active,
body.wgl-darkmode .messagebox.info a:active,
body.wgl-darkmode .messagebox.disambig a:active {
    color: #bbb;
}

body.wgl-darkmode .messagebox.action {
    background-color: #45697d;
    border-color: #2d5266;
}

body.wgl-darkmode .messagebox.action a,
body.wgl-darkmode .messagebox.action a:visited,
body.wgl-darkmode .messagebox.action a:active {
    color: #b8d5e5;
}

body.wgl-darkmode .messagebox.file,
body.wgl-darkmode .messagebox.task {
    background-color: #617ebc;
    border-color: #4563a4;
}

body.wgl-darkmode .messagebox.file a,
body.wgl-darkmode .messagebox.task a,
body.wgl-darkmode .messagebox.file a:visited,
body.wgl-darkmode .messagebox.task a:visited,
body.wgl-darkmode .messagebox.file a:active,
body.wgl-darkmode .messagebox.task a:active {
    color: #a6c2ff;
}

body.wgl-darkmode .messagebox.warn {
    color: #f9fafa;
    background-color: #9f261e;
    border-color: #801c13;
}

body.wgl-darkmode .messagebox.warn a,
body.wgl-darkmode .messagebox.warn a:visited,
body.wgl-darkmode .messagebox.warn a:active {
    color: #ffe3e0;
}

body.wgl-darkmode .messagebox.warning {
    background: #b55e0c;
    color: #fef0e4;
    border-color: #9d520a;
}

body.wgl-darkmode .messagebox.warning a:not(.mw-selflink),
body.wgl-darkmode .messagebox.warning a:visited,
body.wgl-darkmode .messagebox.warning a:active {
    color: #fbcfa6;
}

body.wgl-darkmode .messagebox.unsafe {
    color: #f9f6d0;
    background-color: #a48900;
    border-color: #7a6600;
}

body.wgl-darkmode .messagebox.unsafe a,
body.wgl-darkmode .messagebox.unsafe a:visited,
body.wgl-darkmode .messagebox.unsafe a:active {
    color: #e8e3b3;
}

body.wgl-darkmode .messagebox.safe {
    color: #e9f6e7;
    background-color: #1b8408;
    border-color: #126802;
}

body.wgl-darkmode .messagebox.safe a,
body.wgl-darkmode .messagebox.safe a:visited,
body.wgl-darkmode .messagebox.safe a:active {
    color: #c1e0bb;
}

body.wgl-darkmode .messagebox.easter {
    background-color: #2e5e05;
    border-color: #254b04;
}

body.wgl-darkmode .messagebox.easter a,
body.wgl-darkmode .messagebox.easter a:visited,
body.wgl-darkmode .messagebox.easter a:active {
    color: #5dbf0a;
}

body.wgl-darkmode .messagebox.halloween {
    background-color: #6d3662;
    border-color: #5f2f56;
}

body.wgl-darkmode .messagebox.halloween a,
body.wgl-darkmode .messagebox.halloween a:visited,
body.wgl-darkmode .messagebox.halloween a:active {
    color: #bf7db2;
}

body.wgl-darkmode .messagebox.christmas {
    background-color: #0b5884;
    border-color: #03436b;
}

body.wgl-darkmode .messagebox.christmas a,
body.wgl-darkmode .messagebox.christmas a:visited,
body.wgl-darkmode .messagebox.christmas a:active {
    color: #3ea6e6;
}

body.wgl-darkmode .messagebox.bigRaffle {
    background-color: #5d5641;
    border-color: #631414;
}

body.wgl-darkmode .messagebox.bigRaffle a,
body.wgl-darkmode .messagebox.bigRaffle a:visited,
body.wgl-darkmode .messagebox.bigRaffle a:active {
    color: #eccf6e;
}

body.wgl-darkmode .messagebox.thanksgiving {
    background-color: #7a3f08;
    border-color: #673507;
}

body.wgl-darkmode .messagebox.thanksgiving a,
body.wgl-darkmode .messagebox.thanksgiving a:visited,
body.wgl-darkmode .messagebox.thanksgiving a:active {
    color: #f18a2a;
}

body.wgl-darkmode .messagebox.welcomenotice .wordmark {
    filter: none;
}

body.wgl-darkmode .messagebox.alphabetical {
    border-color: #222e45;
    background-color: #313e59;
}

body.wgl-darkmode .messagebox2 {
    background: #313e59;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
}

body.wgl-darkmode .messagebox2 .messagebox-title {
    color: #f1f1f1;
}

body.wgl-darkmode .messagebox2.warn .messagebox-header {
    background: #9f261e;
    border-bottom-color: #731911;
}

body.wgl-darkmode .messagebox2.warn .messagebox-header a,
body.wgl-darkmode .messagebox2.warn .messagebox-header a:visited,
body.wgl-darkmode .messagebox2.warn .messagebox-header a:active {
    color: #f1a8a1;
}

body.wgl-darkmode .messagebox2.action .messagebox-header {
    background: #b55e0c;
    border-bottom-color: #6c3807;
}

body.wgl-darkmode .messagebox2.action .messagebox-header a,
body.wgl-darkmode .messagebox2.action .messagebox-header a:visited,
body.wgl-darkmode .messagebox2.action .messagebox-header a:active {
    color: #f7bf8a;
}

body.wgl-darkmode .messagebox2.safe .messagebox-header {
    background: #3c780a;
    border-bottom-color: #274f04;
}

body.wgl-darkmode .messagebox2.safe .messagebox-header a,
body.wgl-darkmode .messagebox2.safe .messagebox-header a:visited,
body.wgl-darkmode .messagebox2.safe .messagebox-header a:active {
    color: #abf76b;
}

body.wgl-darkmode .messagebox2.file .messagebox-header {
    background: #246c97;
    border-bottom-color: #0f4f75;
}

body.wgl-darkmode .messagebox2.file .messagebox-header a,
body.wgl-darkmode .messagebox2.file .messagebox-header a:visited,
body.wgl-darkmode .messagebox2.file .messagebox-header a:active {
    color: #a0d4f3;
}

body.wgl-darkmode .messagebox2.task .messagebox-header {
    background: #246c97;
    border-bottom-color: #0f4f75;
}

body.wgl-darkmode .messagebox2.task .messagebox-header a,
body.wgl-darkmode .messagebox2.task .messagebox-header a:visited,
body.wgl-darkmode .messagebox2.task .messagebox-header a:active {
    color: #a0d4f3;
}

body.wgl-darkmode .messagebox2.task .messagebox-reason {
    display: flex;
    flex-wrap: wrap;
}

body.wgl-darkmode .messagebox2.task .messagebox-reason .task-info {
    flex: 1 0 auto;
    padding-right: 1em;
}

body.wgl-darkmode .messagebox2.task .messagebox-reason a.mw-selflink {
    font-weight: normal;
}

body.wgl-darkmode .messagebox2.event .messagebox-header {
    background: #984c89;
    border-bottom-color: #633159;
}

body.wgl-darkmode .messagebox2.event .messagebox-header a,
body.wgl-darkmode .messagebox2.event .messagebox-header a:visited,
body.wgl-darkmode .messagebox2.event .messagebox-header a:active {
    color: #e1c1da;
}

body.wgl-darkmode .messagebox2.info .messagebox-header {
    background: #5d6773;
    border-bottom-color: #3d4651;
}

body.wgl-darkmode .messagebox2.info .messagebox-header a,
body.wgl-darkmode .messagebox2.info .messagebox-header a:visited,
body.wgl-darkmode .messagebox2.info .messagebox-header a:active {
    color: #c8ced5;
}

body.wgl-darkmode .messagebox2.obsolete .messagebox-header {
    background: #4c4c4c;
    border-bottom-color: #2b2b2b;
}

body.wgl-darkmode .messagebox2.obsolete .messagebox-header a,
body.wgl-darkmode .messagebox2.obsolete .messagebox-header a:visited,
body.wgl-darkmode .messagebox2.obsolete .messagebox-header a:active {
    color: #b3b3b3;
}

body.wgl-darkmode .messagebox2.discord .messagebox-header {
    background: #7289DA;
    border-bottom-color: #5265a5;
}

body.wgl-darkmode .messagebox2.discord .messagebox-header a,
body.wgl-darkmode .messagebox2.discord .messagebox-header a:visited,
body.wgl-darkmode .messagebox2.discord .messagebox-header a:active {
    color: #ffffff;
}

body.wgl-darkmode .messagebox-header {
    background: #222e45;
    border-width: 0 0 0.3em 0;
    border-bottom-color: #1b2537;
}

body.wgl-darkmode .messagebox-text {
    border: none;
}

body.wgl-darkmode .usermessage {
    background-color: #444e5a;
    border-color: #23282e;
    color: white;
}

body.wgl-darkmode .usermessage a {
    color: #a1baeb;
}

body.wgl-darkmode .navbox {
    background: #313e59;
}

body.wgl-darkmode .navbox .navbox-title,
body.wgl-darkmode .navbox .navbox-footer {
    background: #222e45;
    border-bottom: 1px solid #172136;
}

body.wgl-darkmode .navbox .navbox-group-title {
    background: #222e45;
    border-color: #172136;
}

body.wgl-darkmode .navbox .navbox-group-title a:visited {
    color: #8cabe6;
}

body.wgl-darkmode .navbox .navbox-list {
    border-color: #172136;
}

body.wgl-darkmode .navbox .navbox.navbox-collapsible .navbox-title {
    background: #222e45;
}

body.wgl-darkmode .text-red {
    color: #f8948a;
}

body.wgl-darkmode .text-orange {
    color: #f9b575;
}

body.wgl-darkmode .text-yellow {
    color: #fbe062;
}

body.wgl-darkmode .text-green {
    color: #a8de7a;
}

body.wgl-darkmode .text-blue {
    color: #7cc5f0;
}

body.wgl-darkmode .text-purple {
    color: #b097e6;
}

body.wgl-darkmode .text-pink {
    color: #ed9ddd;
}

body.wgl-darkmode .text-gray,
body.wgl-darkmode .text-grey {
    color: #c5d2da;
}

body.wgl-darkmode #toc,
body.wgl-darkmode .toc {
    background: #313e59;
}

body.wgl-darkmode #toc .toctitle,
body.wgl-darkmode .toc .toctitle {
    background: #222e45;
    border: none;
}

body.wgl-darkmode #toc .toctitle h2,
body.wgl-darkmode .toc .toctitle h2,
body.wgl-darkmode #toc .toctitle a,
body.wgl-darkmode .toc .toctitle a {
    color: #ffffff;
}

body.wgl-darkmode #toc .toclevel-1 a,
body.wgl-darkmode .toc .toclevel-1 a,
body.wgl-darkmode #toc .toclevel-2 a,
body.wgl-darkmode .toc .toclevel-2 a {
    color: #cbd9f4;
}

body.wgl-darkmode #toc > ul,
body.wgl-darkmode .toc > ul {
    border: none;
}

body.wgl-darkmode #toc ul ul,
body.wgl-darkmode .toc ul ul {
    border-color: #596e96;
}

body.wgl-darkmode #toc li,
body.wgl-darkmode .toc li {
    list-style-type: none;
    list-style-image: none;
}

body.wgl-darkmode .mwe-math-fallback-image-inline {
    -webkit-filter: invert(100%);
    filter: invert(100%);
}

body.wgl-darkmode .chat-options-dialogue {
    background: #313e59;
    border-color: #596e96;
}

body.wgl-darkmode .coins {
    color: #6bc71f;
}

body.wgl-darkmode .coins-pos {
    color: #3ea6e6;
}

body.wgl-darkmode .coins-neg {
    color: #ee4231;
}

body.wgl-darkmode [class^="table-bg-"] .coins,
body.wgl-darkmode [class^="table-bg-"] .coins-pos,
body.wgl-darkmode [class^="table-bg-"] .coins-neg {
    color: inherit;
}

body.wgl-darkmode blockquote {
    color: inherit;
}

body.wgl-darkmode blockquote p:not(.quote-source) {
    border-color: #313e59;
}

body.wgl-darkmode .questdetails,
body.wgl-darkmode .trainingdetails {
    background-color: #313e59;
    border: none;
}

body.wgl-darkmode .questdetails .questdetails-header,
body.wgl-darkmode .trainingdetails .questdetails-header {
    background-color: #222e45;
}

body.wgl-darkmode .questreq ul {
    border-color: #596e96;
    list-style: none;
}

body.wgl-darkmode .portal-link a {
    color: #cbd9f4;
    background-color: #313e59;
}

body.wgl-darkmode .portal-link a:hover {
    background-color: #394661;
}

body.wgl-darkmode .archive,
body.wgl-darkmode .shortcut {
    background: #313e59;
    border: none;
}

body.wgl-darkmode .documentation {
    background-color: #313e59;
    border: none;
}

body.wgl-darkmode .documentation pre,
body.wgl-darkmode .documentation code {
    background-color: #222e45;
}

body.wgl-darkmode .documentation-header {
    background: #222e45;
}

body.wgl-darkmode .documentation-subheader {
    background: #1f293e;
}

body.wgl-darkmode .production-selected {
    background-color: #2e5e05;
    color: #c3e8a3;
}

body.wgl-darkmode .production-selected a.mw-selflink {
    color: #c3e8a3;
}

body.wgl-darkmode .forumheader {
    border-color: #222e45;
    background-color: #313e59;
}

body.wgl-darkmode .forumsearchbox {
    color: #cbd9f4;
    background-color: #313e59;
}

body.wgl-darkmode .forumsearchbox .mw-ui-button.mw-ui-progressive:disabled {
    color: #444e5a;
}

body.wgl-darkmode .forumlist.archive {
    background: transparent;
    text-align: initial;
}

body.wgl-darkmode .official {
    background: #313e59;
    border: none;
}

body.wgl-darkmode .succession th {
    background: #222e45;
}

body.wgl-darkmode .succession td {
    background: #313e59;
}

body.wgl-darkmode td.famtreeleaf {
    background: #313e59;
}

body.wgl-darkmode .chat-options .chat-options-underline {
    border-color: #8cabe6;
}

body.wgl-darkmode .gemw-header .gemw-name a {
    color: #8cabe6;
}

body.wgl-darkmode .gemw-header .gemw-examine,
body.wgl-darkmode .gemw-header .gemw-price::after,
body.wgl-darkmode .gemw-header .gemw-updated,
body.wgl-darkmode .gemw-header .gemw-time {
    color: #cbd9f4;
}

body.wgl-darkmode .gemw-body .gemw-section-left a,
body.wgl-darkmode .gemw-body .gemw-property dt {
    color: #8cabe6;
}

body.wgl-darkmode .gemw-body .gemw-property {
    border-color: #596e96;
}

body.wgl-darkmode .gemw-body .gemw-links {
    color: #cbd9f4;
}

body.wgl-darkmode .fact-text {
    color: #3ea6e6;
    border-color: #8cabe6;
}

body.wgl-darkmode .wikipedia {
    background: #313e59;
    border-color: #222e45;
}

body.wgl-darkmode .ajaxpoll {
    background: #313e59;
}

body.wgl-darkmode .ajaxpoll .ajaxpoll-answer-vote {
    background: #222e45;
}

body.wgl-darkmode .ajaxpoll .ajaxpoll-answer-vote div {
    background: #596e96;
}

body.wgl-darkmode .ajaxpoll .ajaxpoll-id-info {
    color: #313e59;
}

body.wgl-darkmode .poll-result-outer {
    background: #222e45;
}

body.wgl-darkmode .poll-result-inner {
    background: #596e96;
}

body.wgl-darkmode .update-type a,
body.wgl-darkmode .update-type a:visited {
    color: #ffffff;
}

body.wgl-darkmode .update-history {
    background: #222e45;
    border-color: #313e59;
}

body.wgl-darkmode .ability-rotation {
    background-color: #222e45;
    border-color: #596e96;
}

body.wgl-darkmode #revocalc-settings select {
    background-color: #384766;
    border: 1px solid #475980;
    color: #cbd9f4;
    border-radius: 2px;
}

body.wgl-darkmode .menaphite-script img {
    filter: invert(100%);
}

body.wgl-darkmode .discussiontable.noresults .topic,
body.wgl-darkmode .discussiontable.noresults .edited,
body.wgl-darkmode .discussiontable.noresults .edited-by,
body.wgl-darkmode .discussiontable.noresults .yg-archive {
    color: #cbd9f4;
    background-color: #313e59;
}

body.wgl-darkmode .discussiontable.noresults th {
    color: #cbd9f4;
    background-color: #222e45;
}

body.wgl-darkmode .discussiontable.noresults th a {
    color: #cbd9f4;
}

body.wgl-darkmode .discussiontable th {
    color: #cbd9f4;
    background-color: #222e45;
}

body.wgl-darkmode .discussiontable th a {
    color: #cbd9f4;
}

body.wgl-darkmode .discussiontable .topic,
body.wgl-darkmode .discussiontable .edited,
body.wgl-darkmode .discussiontable .edited-by,
body.wgl-darkmode .discussiontable .yg-archive {
    color: #cbd9f4;
    background-color: #313e59;
}

body.wgl-darkmode .forumactiveheader,
body.wgl-darkmode .forumarchiveheader,
body.wgl-darkmode .forumoldarchives {
    background-color: #222e45;
}

body.wgl-darkmode .forumcolumnheader {
    background-color: #313e59;
    color: #cbd9f4;
}

body.wgl-darkmode .mainpage-recent-updates p:not(.byline),
body.wgl-darkmode .mainpage-body h2 a,
body.wgl-darkmode .mainpage-skills li a:last-child {
    color: #cbd9f4;
}

body.wgl-darkmode .tile.big-tile {
    background: linear-gradient(to left, rgba(49, 62, 89, 0), rgba(49, 62, 89, 0.75), #313e59 50%), url("filepath://Main page Shauny night.png") right / auto 100% no-repeat #313e59;
}

body.wgl-darkmode .tile.big-tile.dxp {
    background: linear-gradient(to left, rgba(49, 62, 89, 0.5), #313e59 50%), url("filepath://Lumbridge Market.png") right / auto 150% no-repeat #313e59;
}

body.wgl-darkmode .tile.big-tile.rs-mobile {
    background: linear-gradient(to left, rgba(49, 62, 89, 0.5), #313e59 50%), url("filepath://RuneScape Mobile promo.png") right / auto 150% no-repeat #313e59;
}

body.wgl-darkmode .tile.big-tile.archaeology {
    background: linear-gradient(to left, rgba(49, 62, 89, 0.85), rgba(49, 62, 89, 0.85)), url("filepath://Archaeology key art.png") right / 100% auto no-repeat #313e59;
    padding: 1.5em 2em 1em;
    text-align: center;
}

body.wgl-darkmode .tile.big-tile.archaeology h3#arch-countdown {
    font-size: 2em;
}

body.wgl-darkmode #mw-indicator-mw-helplink a {
    background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23cbd9f4' viewBox='0 0 24 24'%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.916zm.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'/%3E %3Cpath d='M11.766 6.688c-2.5 0-3.219 2.188-3.219 2.188l1.411.854s.298-.791.901-1.229c.516-.375 1.625-.625 2.219.125.701.885-.17 1.587-1.078 2.719-.953 1.186-1 3.655-1 3.655h1.969s.135-2.318 1.041-3.381c.603-.707 1.443-1.338 1.443-2.494s-1.187-2.437-3.687-2.437zM11 16h2v2h-2z'/%3E %3C/svg%3E");
}

body.wgl-darkmode #signupstart,
body.wgl-darkmode #userloginprompt {
    border: none;
    background: #313e59;
}

body.wgl-darkmode #userloginForm input {
    box-shadow: none;
}

body.wgl-darkmode .signup-realname-tip {
    color: inherit;
    opacity: 0.8;
}

body.wgl-darkmode .mw-plusminus-pos {
    color: #6bc71f;
}

body.wgl-darkmode .mw-plusminus-neg {
    color: #ee4231;
}

body.wgl-darkmode .mw-plusminus-null {
    color: #bdc5cd;
}

body.wgl-darkmode.page-Special_RecentChanges .mw-rcfilters-ui-changesListWrapperWidget {
    color: #cbd9f4;
}

body.wgl-darkmode .mw-recentchanges-toplinks:not(.mw-recentchanges-toplinks-collapsed) {
    border-color: #596e96;
}

body.wgl-darkmode .mw-rcfilters-ui-filterMenuHeaderWidget-header {
    background-color: #222e45;
    border-color: #2f4060;
}

body.wgl-darkmode .mw-rcfilters-ui-menuSelectWidget-body {
    background-color: #313e59;
}

body.wgl-darkmode .mw-rcfilters-ui-filterMenuSectionOptionWidget {
    background-color: #172136;
}

body.wgl-darkmode .mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label {
    color: #cbd9f4;
}

body.wgl-darkmode .mw-rcfilters-ui-itemMenuOptionWidget {
    background-color: #313e59;
}

body.wgl-darkmode .mw-rcfilters-ui-itemMenuOptionWidget:hover {
    background-color: #384766;
}

body.wgl-darkmode .mw-rcfilters-ui-itemMenuOptionWidget-label-desc {
    color: rgba(203, 217, 244, 0.75);
}

body.wgl-darkmode .mw-rcfilters-ui-itemMenuOptionWidget:not(:last-child) {
    border-color: #3f5073;
}

body.wgl-darkmode .mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected) {
    background-color: #2a354c;
}

body.wgl-darkmode .mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted .mw-rcfilters-ui-itemMenuOptionWidget-label-title,
body.wgl-darkmode .mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted .mw-rcfilters-ui-itemMenuOptionWidget-label-desc {
    color: rgba(203, 217, 244, 0.4);
}

body.wgl-darkmode .mw-rcfilters-ui-viewSwitchWidget label.oo-ui-labelWidget {
    color: #cbd9f4;
}

body.wgl-darkmode .mw-rcfilters-ui-menuSelectWidget-footer {
    background-color: #222e45;
    border-color: #2f4060;
}

body.wgl-darkmode .mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget {
    background-color: #313e59;
    border-color: #3f5073;
}

body.wgl-darkmode .mw-rcfilters-ui-changesListWrapperWidget-previousChangesIndicator {
    border-color: #596e96;
}

body.wgl-darkmode .mw-rcfilters-ui-datePopupWidget {
    border-color: #2f4060;
}

body.wgl-darkmode .mw-rcfilters-ui-datePopupWidget .mw-rcfilters-ui-valuePickerWidget-title {
    color: #cbd9f4;
}

body.wgl-darkmode #editcount input[type="text"] {
    background-color: #384766;
    border: 1px solid #475980;
    color: #cbd9f4;
    padding: 2px 1px;
    border-radius: 2px;
}

body.wgl-darkmode #editcount table[border="1"] {
    background: #313e59 !important;
    border-color: #172136 !important;
}

body.wgl-darkmode #editcount table[border="1"] th {
    background: #222e45;
    border: 1px solid #172136;
}

body.wgl-darkmode #editcount table[border="1"] td {
    border: 1px solid #172136;
}

body.wgl-darkmode #editcount table[border="1"] tr:nth-child(odd) {
    background-color: #2c3851;
}

body.wgl-darkmode input#LQT-BlockTime,
body.wgl-darkmode input#LQT-DeleteReason,
body.wgl-darkmode input.mw-ui-input-inline {
    background-color: #384766;
    border: 1px solid #475980;
    color: #cbd9f4;
    padding: 2px 1px;
    border-radius: 2px;
}

body.wgl-darkmode select#namespace {
    background-color: #384766;
    border: 1px solid #475980;
    color: #cbd9f4;
    border-radius: 2px;
}

body.wgl-darkmode .mw-widget-calendarWidget-day-today {
    background-color: #313e59;
    color: #cbd9f4;
    box-shadow: none;
    border-color: #3f5073;
}

body.wgl-darkmode .mw-search-profile-tabs {
    background-color: #313e59;
    border-color: #172136;
}

body.wgl-darkmode .search-types .current a {
    color: #cbd9f4;
}

body.wgl-darkmode #mw-searchoptions {
    background-color: #313e59;
    border-color: #172136;
}

body.wgl-darkmode #mw-searchoptions .divider {
    border-color: #172136;
}

body.wgl-darkmode .mw-datatable,
body.wgl-darkmode .mw-datatable td,
body.wgl-darkmode .mw-datatable th {
    border-color: #172136;
}

body.wgl-darkmode .mw-datatable th {
    background-color: #222e45;
}

body.wgl-darkmode .mw-datatable td,
body.wgl-darkmode .mw-datatable tr:hover td {
    background-color: #313e59;
}

body.wgl-darkmode table.mw-abuselog-details {
    background: #313e59;
    border-color: #172136;
}

body.wgl-darkmode table.mw-abuselog-details th {
    background: #222e45;
}

body.wgl-darkmode table.mw-abuselog-details th,
body.wgl-darkmode table.mw-abuselog-details td {
    border-color: #172136;
}

body.wgl-darkmode .mw-abusefilter-history-changed {
    background: #9f261e;
}

body.wgl-darkmode ul.fileupload-results li.ful-success {
    background: #2e5e05;
}

body.wgl-darkmode ul.fileupload-results li.ful-success a {
    color: #c3e8a3;
}

body.wgl-darkmode .smwb-title {
    background-color: #1e283c;
    border: none;
}

body.wgl-darkmode .smwb-theme-light .smwb-actions {
    background-color: #1e283c;
}

body.wgl-darkmode .smwb-theme-light .smwb-factbox {
    border-left-color: #1e283c;
}

body.wgl-darkmode .smwb-theme-light .smwb-ifactbox {
    border-right-color: #1e283c;
}

body.wgl-darkmode .smwb-propvalue {
    background-color: #313e59;
}

body.wgl-darkmode .smwb-propvalue .smwb-prophead,
body.wgl-darkmode .smwb-ipropvalue .smwb-prophead {
    background-color: #222e45;
    border-color: #172136;
}

body.wgl-darkmode .smwb-propvalue .smwb-propval,
body.wgl-darkmode .smwb-ipropvalue .smwb-propval {
    background-color: #313e59;
    border-color: #172136;
}

body.wgl-darkmode .smwb-center {
    background-color: #1e283c;
    border-color: #1e283c;
}

body.wgl-darkmode #preferences {
    background: #313e59;
    border-color: #313e59;
}

body.wgl-darkmode #preferences fieldset {
    border-color: #8cabe6;
}

body.wgl-darkmode #preferences legend,
body.wgl-darkmode #preferences .signup-realname-tip,
body.wgl-darkmode #preferences .htmlform-tip {
    color: #cbd9f4;
}

body.wgl-darkmode #preftoc {
    background: none;
    border: none;
}

body.wgl-darkmode #preftoc a,
body.wgl-darkmode #preftoc a:active {
    color: #8cabe6;
}

body.wgl-darkmode #preftoc li {
    background: none;
    border: none;
    padding-bottom: 0.25em;
}

body.wgl-darkmode #preftoc li.selected a {
    background: #313e59;
    color: #cbd9f4;
}

body.wgl-darkmode .smw-ask-otheroptions > tbody > tr {
    background: #313e59 !important;
}

body.wgl-darkmode .smw-ask-otheroptions > tbody > tr:nth-child(even) {
    background: #222e45 !important;
}

body.wgl-darkmode .smw-ask-toplinks {
    background-color: #222e45;
}

body.wgl-darkmode .smw-ask-toplinks span.smw-icon-info {
    filter: invert(1);
    opacity: 0.7;
}

body.wgl-darkmode #ask .smw-ask-options #options-toggle:not(:checked) + #options-list .options-parameter-list:after {
    background-image: linear-gradient(to bottom, rgba(34, 46, 69, 0), #222e45 90%);
}

body.wgl-darkmode #ask .smw-ask-options .smw-table.smw-ask-options-list .smw-ask-options-row-odd {
    background-color: #313e59;
}

body.wgl-darkmode #ask .smw-ask-options .smw-table.smw-ask-options-list .smw-ask-options-row-even {
    background-color: #222e45;
}

body.wgl-darkmode #ask .smw-tabs .smw-icon-compact,
body.wgl-darkmode #ask .smw-tabs .smw-icon-pen {
    filter: invert(1);
    opacity: 0.7;
}

body.wgl-darkmode #ask .smw-tabs input.nav-tab:checked + label.nav-label {
    color: #cbd9f4;
    border-color: #596e96;
    border-top-color: #337ab7;
}

body.wgl-darkmode #ask .smw-tabs section,
body.wgl-darkmode #ask .smw-tabs .subtab-content {
    border-color: #596e96;
}

body.wgl-darkmode #ask .smw-debug {
    background-color: #a48900 !important;
    border-color: #786300 !important;
    color: white;
}

body.wgl-darkmode #ask .smw-debug .smwpre {
    background-color: #fcea94;
    border-color: #a48900;
}

body.wgl-darkmode #mw-allmessagestable .allmessages-customised .am_default {
    background-color: #a48900;
    color: #f9f9f9;
}

body.wgl-darkmode #mw-allmessagestable .allmessages-customised .am_actual {
    background-color: #3c780a;
    color: #f9f9f9;
}

body.wgl-darkmode #mw-allmessagestable .allmessages-customised:hover .am_default {
    background-color: #b89a00;
}

body.wgl-darkmode #mw-allmessagestable .allmessages-customised:hover + .allmessages-customised .am_actual {
    background-color: #458b0c;
}

body.wgl-darkmode table.mw-interwikitable.body td.mw-interwikitable-local-yes {
    background-color: #3c780a;
}

body.wgl-darkmode .mw-widgets-datetime-dateTimeInputWidget-handle {
    background-color: #384766;
    border-color: #475980;
    color: #cbd9f4;
}

body.wgl-darkmode .mw-widgets-datetime-dateTimeInputWidget-editField .mw-widgets-datetime-dateTimeInputWidget-field {
    border: none;
}

body.wgl-darkmode .mw-widgets-datetime-dateTimeInputWidget.oo-ui-widget-enabled .mw-widgets-datetime-dateTimeInputWidget-editField:hover {
    background-color: #3f5073;
}

body.wgl-darkmode .mw-widgets-datetime-calendarWidget-dependent {
    background-color: #384766;
    border: 1px solid #475980 !important;
}

body.wgl-darkmode .mw-widgets-datetime-calendarWidget-grid .mw-widgets-datetime-calendarWidget-cell.mw-widgets-datetime-calendarWidget-selected .oo-ui-buttonElement-button {
    background-color: #3f5073;
}

body.wgl-darkmode .mw-widgets-datetime-calendarWidget-grid .mw-widgets-datetime-calendarWidget-cell.mw-widgets-datetime-calendarWidget-selected .oo-ui-buttonElement-button:hover {
    background-color: #556c9b;
    border: #5e76a6;
}

body.wgl-darkmode .mw-widgets-datetime-calendarWidget-grid .mw-widgets-datetime-calendarWidget-cell.mw-widgets-datetime-calendarWidget-selected .oo-ui-buttonElement-button .oo-ui-labelElement-label {
    color: #cbd9f4;
}

body.wgl-darkmode .mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head {
    border-color: #2f4060;
}

body.wgl-darkmode .mw-echo-ui-overlay .oo-ui-popupWidget-head .oo-ui-iconElement-icon {
    filter: invert(1);
}

body.wgl-darkmode .mw-echo-ui-notificationItemWidget {
    background-color: #2a3751;
    border-color: #2f4060;
}

body.wgl-darkmode .mw-echo-ui-notificationItemWidget:hover {
    background: #2f3d57;
}

body.wgl-darkmode .mw-echo-ui-notificationItemWidget-content-message-body {
    color: #cbd9f4;
}

body.wgl-darkmode .mw-echo-ui-notificationItemWidget-icon {
    filter: brightness(150%);
}

body.wgl-darkmode .mw-echo-ui-notificationItemWidget-content-message-header {
    color: #cbd9f4;
}

body.wgl-darkmode .mw-echo-ui-menuItemWidget > .oo-ui-labelElement-label {
    color: rgba(203, 217, 244, 0.85);
}

body.wgl-darkmode .mw-echo-ui-menuItemWidget > .oo-ui-iconElement-icon {
    filter: invert(1);
}

body.wgl-darkmode .mw-echo-ui-crossWikiNotificationItemWidget-separator,
body.wgl-darkmode .mw-echo-ui-bundleNotificationItemWidget-separator {
    border-color: #2f4060;
}

body.wgl-darkmode .mw-echo-ui-crossWikiNotificationItemWidget-group,
body.wgl-darkmode .mw-echo-ui-bundleNotificationItemWidget-group {
    background-color: #2a3751;
}

body.wgl-darkmode .mw-echo-ui-notificationItemWidget-unread {
    background-color: #3e4c66;
}

@keyframes unseen-fadeout-to-unread {
    from {
          background-color: #2f3d57;
    }

    to {
          background-color: #3e4c66;
    }

}

@keyframes unseen-fadeout-to-read {
    from {
          background-color: #2f3d57;
    }

    to {
          background-color: #2a3751;
    }

}

.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > body.wgl-darkmode .oo-ui-popupWidget-footer {
    border-color: #3f5073;
}

body.wgl-darkmode .oo-ui-popupWidget-footer .oo-ui-buttonElement .oo-ui-buttonElement-button {
    background-color: #313e59;
}

body.wgl-darkmode .oo-ui-popupWidget-footer .oo-ui-iconElement-icon {
    filter: invert(1);
}

.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > body.wgl-darkmode .oo-ui-popupWidget-footer .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement:last-child {
    border-color: #3f5073;
}

body.wgl-darkmode .mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
    background: transparent;
    box-shadow: none;
}

body.wgl-darkmode .mw-echo-ui-notificationItemWidget:last-child {
    border-color: #2f4060;
}

body.wgl-darkmode .mw-echo-ui-crossWikiUnreadFilterWidget {
    border-color: #2f4060;
}

body.wgl-darkmode .mw-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget-selected {
    background-color: #3366cc;
}

body.wgl-darkmode .oo-ui-optionWidget-selected .mw-echo-ui-pageNotificationsOptionWidget-label-count {
    color: #cbd9f4;
}

body.wgl-darkmode .mw-echo-ui-pageNotificationsOptionWidget-icon .oo-ui-iconElement-icon {
    filter: invert(1);
}

body.wgl-darkmode .mw-echo-ui-pageNotificationsOptionWidget-label-count {
    background-color: #222e45;
}

body.wgl-darkmode .mw-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget-highlighted {
    background-color: #222e45;
}

body.wgl-darkmode .mw-body-content .mw-echo-ui-datedSubGroupListWidget-title-secondary {
    color: rgba(203, 217, 244, 0.85);
}

body.wgl-darkmode .mw-echo-ui-specialHelpMenuWidget .oo-ui-iconElement-icon,
body.wgl-darkmode .mw-echo-ui-specialHelpMenuWidget .oo-ui-indicator-down {
    filter: invert(1);
}

body.wgl-darkmode .mw-echo-ui-specialHelpMenuWidget-menu .oo-ui-buttonWidget:hover {
    background-color: #384766;
}

body.wgl-darkmode .mw-echo-ui-specialHelpMenuWidget-menu .oo-ui-iconElement-icon {
    filter: invert(1);
}

body.wgl-darkmode .oo-ui-window-body {
    outline: none;
}

body.wgl-darkmode #mw-head.sticky-hidden {
    background: #222e45;
}

body.wgl-darkmode .rsw-skin-toggle-popup .oo-ui-window-frame {
    background: #313e59 !important;
}

body.wgl-darkmode .rsw-skin-toggle-popup .appearance-modal {
    color: #cbd9f4;
}

body.wgl-darkmode .rsw-skin-toggle-popup .reader-mode {
    background: #222e45;
}

body.wgl-darkmode .rsw-skin-toggle-popup .reader-mode p {
    color: inherit;
    opacity: 0.7;
}

body.wgl-darkmode .rsw-skin-toggle-popup > .oo-ui-window-frame {
    border-color: #172136 !important;
}

body.wgl-darkmode #rsw-config-background {
    background: rgba(23, 33, 54, 0.75);
}

body.wgl-darkmode .rsw-tooltip {
    color: #cbd9f4;
    background-color: #313e59;
    border-color: #596e96;
}

body.wgl-darkmode ol.references li:target,
body.wgl-darkmode sup.reference:target {
    background-color: #313e59;
}

body.wgl-darkmode #less-modal {
    background: #313e59 !important;
    color: #cbd9f4 !important;
}

body.wgl-darkmode #less-modal a {
    color: #8cabe6 !important;
}

body.wgl-darkmode #less-modal #less-header {
    border-color: #172136 !important;
}

body.wgl-darkmode #less-modal #less-close {
    background-color: #313e59 !important;
}

body.wgl-darkmode #less-overlay {
    background-color: rgba(25, 25, 25, 0.6) !important;
}

body.wgl-darkmode table.lighttable .highlight-over,
body.wgl-darkmode #pengLocations .highlight-over {
    background-color: #3c780a;
    color: #ecf8e3;
}

body.wgl-darkmode table.lighttable .highlight-over a,
body.wgl-darkmode #pengLocations .highlight-over a {
    color: #c3e8a3;
}

body.wgl-darkmode table.lighttable .highlight-on,
body.wgl-darkmode #pengLocations .highlight-on {
    background-color: #2e5e05;
    color: #ecf8e3;
}

body.wgl-darkmode table.lighttable .highlight-on a,
body.wgl-darkmode #pengLocations .highlight-on a {
    color: #c3e8a3;
}

body.wgl-darkmode .title-parenthesis {
    color: inherit;
    opacity: 0.75;
}

body.wgl-darkmode .rsw-disassembly-calc-popup-button > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon.oo-ui-icon-lightbulb {
    opacity: 0.73;
}

body.wgl-darkmode .rsw-disassembly-calc-popup-button > .oo-ui-buttonElement-button:hover > .oo-ui-iconElement-icon.oo-ui-icon-lightbulb {
    opacity: 1;
}

body.wgl-darkmode #rsw-disassembly-overlay table.wikitable > tr > th,
body.wgl-darkmode #rsw-disassembly-overlay > * > tr > th {
    background-color: #222e45;
}

body.wgl-darkmode #rsw-disassembly-overlay table.wikitable > tr > th,
body.wgl-darkmode #rsw-disassembly-overlay > * > tr > th,
body.wgl-darkmode #rsw-disassembly-overlay table.wikitable > tr > td,
body.wgl-darkmode #rsw-disassembly-overlay > * > tr > td {
    border-color: #172136;
}

body.wgl-darkmode #rsw-disassembly-overlay .rsw-discalc-priceinfo {
    color: #cbd9f4;
}

body.wgl-darkmode #perkCalcCompSelect .tooltip {
    background: #222e45;
    border-color: #ffffff;
}

body.wgl-darkmode #GEchartpopup {
    background: #222e45;
    border: 1px solid #2f4060;
}

body.wgl-darkmode .highcharts-background,
body.wgl-darkmode .highcharts-plot-background {
    fill: transparent;
}

body.wgl-darkmode .highcharts-title,
body.wgl-darkmode .highcharts-subtitle {
    color: #cbd9f4 !important;
}

body.wgl-darkmode .highcharts-axis-title tspan {
    fill: #cbd9f4;
}

body.wgl-darkmode .highcharts-yaxis-grid .highcharts-grid-line,
body.wgl-darkmode .highcharts-tick,
body.wgl-darkmode .highcharts-axis-line {
    stroke: #3d527c;
}

body.wgl-darkmode .highcharts-axis-labels text,
body.wgl-darkmode .highcharts-range-selector-group text {
    color: #cbd9f4 !important;
    fill: #cbd9f4 !important;
}

body.wgl-darkmode .highcharts-label-box {
    stroke: #3f5073;
}

body.wgl-darkmode .highcharts-button-box {
    fill: #313e59;
}

body.wgl-darkmode .highcharts-navigator-outline {
    stroke: #445c89;
}

body.wgl-darkmode .highcharts-scrollbar-track {
    fill: transparent;
    stroke: #3a4969;
}

body.wgl-darkmode .highcharts-scrollbar-button,
body.wgl-darkmode .highcharts-scrollbar-thumb,
body.wgl-darkmode .highcharts-navigator-handle {
    fill: #313e59;
    stroke: #4e638e;
}

body.wgl-darkmode .highcharts-scrollbar-arrow {
    fill: #cbd9f4;
}

body.wgl-darkmode .highcharts-scrollbar-rifles {
    stroke: #cbd9f4;
}

body.wgl-darkmode .smw-ask-query textarea,
body.wgl-darkmode .smw-ask-actions textarea {
    background-color: #222e45;
    border-color: #2f4060;
    color: #cbd9f4;
}

body.wgl-darkmode .smw-ask-query-format select {
    background-color: #222e45;
    border: 1px solid #2f4060;
    color: #cbd9f4;
}

body.wgl-darkmode .smw-ask-sorting select,
body.wgl-darkmode .smw-ask-options-fields select {
    background-color: #1f293e;
    border: 1px solid #4c5574;
    color: #cbd9f4;
}

body.wgl-darkmode .smw-ask-sorting input,
body.wgl-darkmode .smw-ask-options-fields input {
    background-color: #1f293e;
    border: 1px solid #4c5574;
    color: #cbd9f4;
    padding: 2px 1px;
}

body.wgl-darkmode input.smw-ask-action-btn.smw-ask-action-btn-dblue {
    background-color: #313e59;
    border-color: #3f5073;
    color: #cbd9f4;
}

body.wgl-darkmode a.smw-ask-action-btn.smw-ask-action-btn-lblue {
    background-color: #222e45;
    border-color: #2f4060;
    color: #cbd9f4;
}

body.wgl-darkmode a.smw-ask-action-btn.smw-ask-action-btn-lblue:visited {
    background-color: #222e45;
    border-color: #2f4060;
    color: #cbd9f4;
}

body.wgl-darkmode a.smw-ask-action-btn.smw-ask-action-btn-lblue:hover {
    background-color: #293753;
    border-color: #36496e;
    color: #cbd9f4;
}

body.wgl-darkmode a.smw-ask-action-btn-lgrey {
    background-color: #313e59;
    border-color: #3f5073;
    color: #cbd9f4;
}

body.wgl-darkmode a.smw-ask-action-btn-lgrey:hover {
    background-color: #384766;
    border-color: #475980;
    color: #cbd9f4;
}

body.wgl-darkmode .smw-callout {
    color: #f9f9f9;
}

body.wgl-darkmode .smw-callout-error {
    background-color: #9f261e;
    border-color: #9f261e;
    border-left-color: #801c13;
}

body.wgl-darkmode .smw-callout-info {
    background-color: #0b5884;
    border-color: #0b5884;
    border-left-color: #03436b;
}

body.wgl-darkmode .smw-callout-success {
    background-color: #3c780a;
    border-color: #3c780a;
    border-left-color: #2e5e05;
}

body.wgl-darkmode .smw-callout-warning {
    background-color: #b55e0c;
    border-color: #b55e0c;
    border-left-color: #7a3f08;
}

body.wgl-darkmode .smw-tabs input.nav-tab:checked + label.nav-label {
    color: inherit;
}

body.wgl-darkmode .smw-tabs input.nav-tab:checked + label.nav-label:hover {
    color: #ffffff;
}

body.wgl-darkmode #tab-smw-property-value:checked + label.nav-label .usage-count {
    color: #ffffff;
    background-color: #596e96;
}

body.wgl-darkmode #tab-smw-property-value:checked + label.nav-label .usage-count.moderate {
    color: #ffffff;
    background-color: #b55e0c;
    border-color: #b55e0c;
}

body.wgl-darkmode #tab-smw-property-value:checked + label.nav-label .usage-count.high {
    color: #ffffff;
    background-color: #9f261e;
    border-color: #9f261e;
}

body.wgl-darkmode .smw-property-page-results .header-title {
    background-color: #222e45;
    border-bottom: 1px solid #596e96;
}

body.wgl-darkmode .smw-property-page-results .value-row:hover {
    background-color: #384766;
}

body.wgl-darkmode #bodyContent span.smwbrowse a:hover,
body.wgl-darkmode #bodyContent span.smwsearch a:hover {
    color: #ffffff;
}

body.wgl-darkmode .tippy-tooltip.light-border-theme {
    background-color: #313e59;
    color: #cbd9f4;
}

body.wgl-darkmode .tippy-tooltip.light-border-theme .tippy-arrow {
    border-top-color: #313e59;
}

body.wgl-darkmode .tippy-tooltip.light-border-theme .tippy-arrow:after {
    border-top-color: #313e59;
}

body.wgl-darkmode .tippy-header {
    background-color: #2b364d;
    border-bottom-color: #222e45;
}

body.wgl-darkmode .smw-factbox label#tab-label-facts-list {
    background-color: #313e59;
    color: #cbd9f4;
    border-color: #596e96;
    border-bottom-color: #313e59;
    border-top-color: orange;
}

body.wgl-darkmode .smw-factbox section#tab-content-facts-list {
    border-color: #596e96;
}

body.wgl-darkmode .smw-factbox section#tab-content-facts-list .smwfact {
    background-color: #313e59;
    color: #cbd9f4;
}

body.wgl-darkmode .smw-factbox section#tab-content-facts-list .smwfact .smwfacttable {
    border-top-color: #596e96;
}

body.wgl-darkmode .smw-factbox section#tab-content-facts-list .smwfact .smw-table.smwfacttable .smw-table-row:nth-child(odd) {
    background-color: #2a354c;
}

body.wgl-darkmode .smw-factbox section#tab-content-facts-list .smwfact .smw-table.smwfacttable .smw-table-row:nth-child(even) {
    background-color: #313e59;
}

body.wgl-darkmode .calc-section-header {
    background: #172136;
}

body.wgl-darkmode .calc-toc-dots {
    border-color: #596e96;
}

body.wgl-darkmode .calc-tile-container {
    width: 100%;
}

body.wgl-darkmode .calc-list {
    border: 1px solid rgba(137, 142, 152, 0.075) !important;
    border-top: none;
}

body.wgl-darkmode .context {
    outline-color: #62686c;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.32);
}

body.wgl-darkmode .news-tabs {
    border-color: #62686c;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.32);
}

body.wgl-darkmode .news-tabs li + li:before {
    color: #62686c;
}

body.wgl-darkmode .news-embed {
    background-color: #0f1624;
    box-shadow: none;
}

body.wgl-darkmode .oswf-page-container,
body.wgl-darkmode .oswf-section-header,
body.wgl-darkmode .oswf-page-quicklinks,
body.wgl-darkmode .oswf-page-quicklinks-col {
    border-color: #172136;
}

body.wgl-darkmode .oswf-page-quicklinks {
    background: none;
}

body.wgl-darkmode .oswf-page-container {
    background: #222e45;
}

body.wgl-darkmode .oswf-section-header {
    background: #313e59;
}

body.wgl-darkmode .oswf-section-header.oswf-page-header {
    background: #b55e0c;
}

body.wgl-darkmode .oswf-page-quicklinks-col.oswf-ql-discord {
    background-color: #525ee0;
}

body.wgl-darkmode .oswf-page-quicklinks-col.oswf-ql-discord a {
    color: #ffffff !important;
}

body.wgl-darkmode .js-tooltip-text {
    color: #cbd9f4;
}

body.wgl-darkmode .js-tooltip-click {
    background: #222e45;
    border: 2px solid #222e45;
}

body.wgl-darkmode .js-tooltip-wrapper {
    background-color: #313e59;
    border: 3px solid #222e45;
}

body.wgl-darkmode .js-tooltip-arrow.js-tooltip-arrow-pointleft {
    border-right-color: #222e45;
}

body.wgl-darkmode .js-tooltip-arrow.js-tooltip-arrow-pointright {
    border-left-color: #222e45;
}

body.wgl-darkmode .js-tooltip-close {
    background: #222e45;
}

body.wgl-darkmode .tile,
body.wgl-darkmode .tile-bottom,
body.wgl-darkmode .tile-halves {
    background: #313e59;
    border: none;
}

body.wgl-darkmode .tile.dark {
    color: #cbd9f4;
    background: #222e45;
}

body.wgl-darkmode .tile.dark h2,
body.wgl-darkmode .tile.dark h3 {
    color: #cbd9f4;
}

body.wgl-darkmode .tile.dark a {
    color: #8cabe6;
}

body.wgl-darkmode .tile.dark .byline {
    color: rgba(203, 217, 244, 0.75);
}

body.wgl-darkmode .tile-top.tile-image {
    background-color: #313e59;
}

body.wgl-darkmode .tile-bottom.read-more {
    background: #222e45;
}

body.wgl-darkmode .tile-bottom.read-more:hover {
    background: #27344c;
}

body.wgl-darkmode .byline {
    color: rgba(203, 217, 244, 0.75);
}

body.wgl-darkmode .oswf-tile .oswf-guidance {
    border-top-color: #596e96;
}

body.wgl-darkmode .oswf-tile .oswf-guidance .oo-ui-iconElement-icon.oo-ui-icon-expand.oo-ui-image-invert,
body.wgl-darkmode .oswf-tile .oswf-guidance .oo-ui-iconElement-icon.oo-ui-image-invert.oo-ui-icon-collapse {
    filter: none;
}

body.wgl-darkmode .transcript {
    background: #313e59;
    border-color: transparent;
}

body.wgl-darkmode.ns-120 .mw-parser-output > ul li,
body.wgl-darkmode .transcript > ul li,
body.wgl-darkmode.ns-120 .mw-parser-output > ul ul li,
body.wgl-darkmode .transcript > ul ul li {
    border-left-color: #596e96;
}

body.wgl-darkmode.ns-120 .mw-parser-output > ul li b:first-child,
body.wgl-darkmode .transcript > ul li b:first-child,
body.wgl-darkmode.ns-120 .mw-parser-output > ul ul li b:first-child,
body.wgl-darkmode .transcript > ul ul li b:first-child {
    color: #cbd9f4;
}

body.wgl-darkmode.ns-120 .mw-parser-output > ul li:hover,
body.wgl-darkmode .transcript > ul li:hover,
body.wgl-darkmode.ns-120 .mw-parser-output > ul ul li:hover,
body.wgl-darkmode .transcript > ul ul li:hover {
    border-color: #8596b7;
}

body.wgl-darkmode .oo-ui-window-foot.mw-kartographer-mapDialog-foot {
    background-color: #222e45;
    border-color: #596e96;
}

body.wgl-darkmode .oo-ui-window-foot.mw-kartographer-mapDialog-foot .mw-kartographer-inlinefoot .mw-kartographer-captionfoot {
    color: #cbd9f4;
}

body.wgl-darkmode .mw-kartographer-interactive .leaflet-control-container a,
body.wgl-darkmode .mw-kartographer-interactive .leaflet-control-container a:visited,
body.wgl-darkmode .mw-kartographer-interactive .leaflet-control-container a:hover,
body.wgl-darkmode .mw-kartographer-interactive .leaflet-control-container a:active {
    color: #222222 !important;
}

body.wgl-darkmode .mw-kartographer-interactive .leaflet-popup-content-wrapper {
    background-color: #313e59;
    color: #cbd9f4;
}

body.wgl-darkmode .mw-kartographer-interactive .leaflet-popup-tip {
    border-top-color: #313e59;
}

body.wgl-darkmode .hover-text {
    border-bottom-color: #cbd9f4;
}