MediaWiki:Common.css

From Old School Near-Reality Wiki
Revision as of 23:44, 4 October 2022 by Bawolff (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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> */
:root {
    --body-main: #e2dbc8;
    --body-light: #d8ccb4;
    --body-mid: #d0bd97;
    --body-dark: #b8a282;
    --body-border: #94866d;
    --body-background-color: #c0a886;
    --button-background: #605443;
    --button-color: #fff;
    --button-border: #3c352a;
    --button-dark: #18140c;
    --button-light: #3a301d;
    --sidebar: #cfc08d;
    --background-text-color: #444;
    --background-link-color: #52351e;
    --search-box: #efeee6;
    --link-color: #936039;
    --redlink-color: #ba0000;
    --text-color: #000;
    --byline-color: #4c4c4c;
    --admin-blue: #332e75;
    --bearcat-green: #13592e;
    --awb-purple: #933b96;
    --rsw-blue: #438ab6;
    --osrsw-brown: #605443;
}

@font-face { 
    font-family: 'IBM Plex Sans';
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    src: url('images/IBMPlexSans-Regular.woff2') format('woff2');
}

@font-face { 
    font-family: 'IBM Plex Sans';
    font-weight: normal;
    font-style: italic;
    font-display: swap;
    src: url('images/IBMPlexSans-Italic.woff2') format('woff2');
}

@font-face { 
    font-family: 'IBM Plex Sans';
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    src: url('images/IBMPlexSans-Bold.woff2') format('woff2');
}

@font-face { 
    font-family: 'IBM Plex Sans';
    font-weight: bold;
    font-style: italic;
    font-display: swap;
    src: url('images/IBMPlexSans-BoldItalic.woff2') format('woff2');
}

@font-face { 
    font-family: 'PT Serif';
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    src: url('images/PT-Serif_Regular.woff2') format('woff2');
}

@font-face { 
    font-family: 'PT Serif';
    font-weight: normal;
    font-style: italic;
    font-display: swap;
    src: url('images/PT-Serif_Italic.woff2') format('woff2');
}

@font-face { 
    font-family: 'PT Serif';
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    src: url('images/PT-Serif_Bold.woff2') format('woff2');
}

@font-face { 
    font-family: 'PT Serif';
    font-weight: bold;
    font-style: italic;
    font-display: swap;
    src: url('images/PT-Serif_Bold-Italic.woff2') format('woff2');
}

@font-face { 
    font-family: 'RuneScape';
    font-style: normal;
    font-weight: normal;
    src: local("RuneScape Plain 12"),
         url('images/RuneScape.woff2') format('woff2');
}

@font-face { 
    font-family: 'RuneScape';
    font-style: normal;
    font-weight: bold;
    src: local("RuneScape Bold"),
         local("RuneScape Bold 12"),
         local("RuneScape Chat 2"),
         local("RuneScape Chat"),
         url('images/RuneScape_Bold.woff2') format('woff2');
}

@font-face { 
    font-family: 'RuneScape Small';
    font-style: normal;
    font-weight: normal;
    src: local("RuneScape Plain 12"),
         url('images/RuneScape_Small.woff2') format('woff2');
}

:root {
    --base-text-color: #36414f;
    --base-heading-color: #444e5a;
    --base-heading-border: #e4eaee;
    --mw-code-background-color: #ddd4bb;
    --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='%23000'/%3E %3C/svg%3E");
    --body-background-image: url('images/Background.jpg');
}

#mw-page-base {
    background: none;
}

.mw-body {
    background-color: var(--body-main);
    color: var(--text-color);
    border-color: transparent;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.15);
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-color);
}

h1,
h2 {
    border-color: var(--sidebar);
}

.mw-body h1,
.mw-body-content h1,
.mw-body-content h2,
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5,
.mw-body-content h6 {
    font-family: 'PT Serif', 'Palatino', 'Georgia', serif;
}

.mw-parser-output h2:first-of-type {
    clear: left;
}

ul {
    list-style-image: var(--ul-list-style-image);
}

hr {
    background: none;
    border-color: var(--sidebar);
    border-style: solid;
    border-width: 1px 0 0 0;
    height: initial;
}

fieldset {
    border-color: var(--sidebar);
}

.mw-footer {
    color: var(--background-text-color);
}

.mw-footer li {
    color: var(--background-text-color);
}

.mw-footer a,
.mw-footer a:active,
.mw-footer a:visited {
    color: var(--background-link-color);
}

a {
    color: var(--link-color);
}

a:visited,
a:active {
    color: var(--link-color);
}

a.new {
    color: var(--redlink-color);
}

a.new:visited {
    color: var(--redlink-color);
}

.mw-parser-output a.extiw,
.mw-parser-output a.external {
    color: var(--link-color);
}

.mw-parser-output a.extiw:visited,
.mw-parser-output a.external:visited,
.mw-parser-output a.extiw:active,
.mw-parser-output a.external:active {
    color: var(--link-color);
}

.jsPurgeLink a.external {
    color: var(--link-color);
}

a[href="https://near-reality.wiki/index.php/User:Jacmob"] {
    padding-left: 20px;
    image-rendering: -moz-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

#ca-nstab-user a {
    background: none;
}

:root {
    --errorbox-bg: #feecea;
    --errorbox-border: #ee4231;
    --warningbox-bg: #fef9de;
    --warningbox-border: #f9d000;
    --successbox-bg: #ecf8e3;
    --successbox-border: #6bc71f;
}

.errorbox,
.warningbox,
.successbox,
.usermessage {
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
}

.errorbox {
    background-color: var(--errorbox-bg);
    border-color: var(--errorbox-border);
}

.warningbox,
.usermessage {
    background-color: var(--warningbox-bg);
    border-color: var(--warningbox-border);
}

.successbox {
    background-color: var(--successbox-bg);
    border-color: var(--successbox-border);
}

#contentSub,
#contentSub2 {
    color: var(--byline-color);
}

.catlinks {
    background: var(--body-light);
    border: 1px solid var(--body-dark);
    padding: 8px 15px;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
}

.catlinks li {
    border-color: var(--body-mid);
}

#file img,
table.filehistory img {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIElEQVQ4jWNoaGj4jw8TAgyjBgwLAwgpIGTBqAHDwgAA83w9rjOB4XgAAAAASUVORK5CYII=) repeat;
}

.mw-highlight {
    background: none;
}

.mw-highlight .linenos {
    background-color: var(--mw-code-background-color);
    color: var(--byline-color);
}

.mw-highlight a:hover .linenos,
.mw-highlight .hll a .linenos {
    color: var(--text-color);
}

.mw-content-ltr.mw-highlight-lines pre,
.mw-content-ltr.content .mw-highlight-lines pre {
    box-shadow: inset 2.75em 0 0 var(--mw-code-background-color);
}

#pagehistory ul {
    list-style: none;
    margin-left: 0;
}

#pagehistory li {
    border: 1px solid transparent;
    padding: 1px 10px;
    margin: 2px 0;
}

#pagehistory li.selected {
    background-color: var(--body-light);
    color: inherit;
    border: 1px dashed var(--body-border);
    outline: none;
}

#mw-history-compare > div:first-of-type {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: var(--body-main);
    border-bottom: 1px solid var(--body-dark);
    padding: 0.25em 0;
}

.wgl-stickyheader #mw-history-compare > div:first-of-type {
    top: 2.75em;
}

.autocomment,
.autocomment a,
.autocomment a:visited {
    color: var(--link-color);
}

body.wgl-stickyheader.action-view .mw-headline:target::before {
    display: block;
    content: '';
    margin-top: -3rem;
    height: 3rem;
    visibility: hidden;
    pointer-events: none;
}

.mw-mmv-post-image {
    color: var(--text-color);
    background-color: var(--body-main);
}

.mw-mmv-image-metadata {
    border-top-color: var(--body-mid);
    background-color: var(--body-light);
}

.mw-mmv-dialog,
.mw-mmv-dialog .mw-mmv-dialog-down-arrow,
.mw-mmv-options-dialog .mw-mmv-dialog-down-arrow {
    background-color: var(--body-light);
    box-shadow: none;
}

.mw-mmv-options-enable-alert {
    background-color: var(--body-light);
    color: var(--text-color);
}

.mw-mmv-options-dialog-header,
.mw-mmv-options-text-header,
.mw-mmv-options-text-body,
.mw-mmv-options-enable-alert,
.mw-mmv-options-dialog .mw-mmv-disable-confirmation .mw-mmv-options-dialog-header,
.mw-mmv-options-dialog .mw-mmv-disable-confirmation .mw-mmv-options-text-header {
    color: var(--text-color);
}

.mw-revslider-container {
    border-color: var(--sidebar);
}

.mw-revslider-slider-wrapper {
    border-top-color: var(--sidebar);
}

.mw-ui-button {
    background-color: var(--ooui-normal);
    color: var(--ooui-text);
    border-color: var(--ooui-normal-border);
}

.mw-ui-button:not(:disabled):hover,
.mw-ui-button:not(:disabled):active {
    background-color: var(--ooui-normal--hover);
    color: var(--ooui-text);
    border-color: var(--ooui-normal-border);
}

.mw-ui-button:not(:disabled):focus {
    color: var(--ooui-text);
}

.mw-ui-button:not(:disabled):visited {
    color: var(--ooui-text);
}

.mw-ui-button.mw-ui-progressive:not( :disabled ),
.mw-ui-button.mw-ui-destructive:not( :disabled ) {
    color: #fff;
}

.mw-ui-button.mw-ui-quiet,
.mw-ui-button.mw-ui-quiet.mw-ui-progressive,
.mw-ui-button.mw-ui-quiet.mw-ui-destructive {
    color: var(--text-color);
}

input[type='checkbox']:hover + .mw-ui-button.mw-ui-quiet,
input[type='checkbox']:hover + .mw-ui-button.mw-ui-quiet.mw-ui-progressive,
input[type='checkbox']:hover + .mw-ui-button.mw-ui-quiet.mw-ui-destructive,
.mw-ui-button.mw-ui-quiet:hover,
.mw-ui-button.mw-ui-quiet.mw-ui-progressive:hover,
.mw-ui-button.mw-ui-quiet.mw-ui-destructive:hover {
    background-color: rgba(0, 24, 73, 0.02745098);
    color: var(--text-color);
    border-color: transparent;
}

input[type='checkbox']:focus + .mw-ui-button.mw-ui-quiet,
input[type='checkbox']:focus + .mw-ui-button.mw-ui-quiet.mw-ui-progressive,
input[type='checkbox']:focus + .mw-ui-button.mw-ui-quiet.mw-ui-destructive,
.mw-ui-button.mw-ui-quiet:focus,
.mw-ui-button.mw-ui-quiet.mw-ui-progressive:focus,
.mw-ui-button.mw-ui-quiet.mw-ui-destructive:focus {
    color: var(--text-color);
}

input[type='checkbox']:active + .mw-ui-button.mw-ui-quiet,
input[type='checkbox']:active + .mw-ui-button.mw-ui-quiet.mw-ui-progressive,
input[type='checkbox']:active + .mw-ui-button.mw-ui-quiet.mw-ui-destructive,
.mw-ui-button.mw-ui-quiet:active,
.mw-ui-button.mw-ui-quiet.mw-ui-progressive:active,
.mw-ui-button.mw-ui-quiet.mw-ui-destructive:active {
    background-color: rgba(0, 36, 73, 0.08235294);
    color: var(--text-color);
    border-color: #72777d;
}

.mw-ui-input {
    background-color: var(--ooui-input);
    color: var(--text-color);
    border-color: var(--ooui-input-border);
}

.mw-ui-input:hover {
    border-color: var(--ooui-input-border--hover);
}

.mw-ui-input::placeholder {
    color: var(--byline-color);
}

:root {
    --wikitable-header-bg: var(--body-dark);
    --wikitable-border: var(--body-border);
    --wikitable-bg: var(--body-light);
    --wikitable-bg-lighter: #e9e3d6;
    --wikitable-color: var(--text-color);
    --table-na-background: rgba(255, 255, 255, 0.3);
    --table-na-color: grey;
    --table-yes-background: rgba(0, 255, 0, 0.3);
    --table-yes-color: green;
    --table-no-background: rgba(255, 0, 0, 0.3);
    --table-no-color: red;
    --droptable-text-color: #000;
    --droptable-always-background: #afeeee;
    --droptable-common-background: #56e156;
    --droptable-uncommon-background: #ffed4c;
    --droptable-rare-background: #ff863c;
    --droptable-veryrare-background: #ff6262;
    --droptable-random-background: #ffa3ff;
}

.wikitable {
    background: var(--wikitable-bg);
    color: var(--wikitable-color);
    border-color: var(--wikitable-border);
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
}

.wikitable > tr > th,
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td {
    border-color: var(--wikitable-border);
}

.wikitable > tr > th.table-noborder,
.wikitable > tr > td.table-noborder,
.wikitable > * > tr > th.table-noborder,
.wikitable > * > tr > td.table-noborder {
    border-left-style: hidden;
    border-right-style: hidden;
    padding: 0;
}

.wikitable > tr > th,
.wikitable > * > tr > th {
    background-color: var(--wikitable-header-bg);
}

.tabber .wikitable {
    box-shadow: none;
}

.table-bg-always,
.table-bg-blue {
    background: var(--droptable-always-background);
    color: var(--droptable-text-color);
}

.table-bg-common,
.table-bg-green {
    background: var(--droptable-common-background);
    color: var(--droptable-text-color);
}

.table-bg-uncommon,
.table-bg-yellow {
    background: var(--droptable-uncommon-background);
    color: var(--droptable-text-color);
}

.table-bg-rare,
.table-bg-orange {
    background: var(--droptable-rare-background);
    color: var(--droptable-text-color);
}

.table-bg-veryrare,
.table-bg-red {
    background: var(--droptable-veryrare-background);
    color: var(--droptable-text-color);
}

.table-bg-random,
.table-bg-pink {
    background: var(--droptable-random-background);
    color: var(--droptable-text-color);
}

.table-bg-calc-grey {
    opacity: 0.6;
    background: #94866d;
}

.mw_metadata td,
.mw_metadata th {
    border-color: var(--wikitable-border);
}

.mw_metadata th {
    background-color: var(--wikitable-header-bg);
}

.mw_metadata td {
    background-color: var(--wikitable-bg);
}

.mw-datatable {
    border-color: var(--wikitable-border);
}

.mw-datatable td,
.mw-datatable th {
    border-color: var(--wikitable-border);
}

.mw-datatable th {
    background-color: var(--wikitable-header-bg);
}

.mw-datatable td {
    background-color: var(--wikitable-bg);
}

.mw-datatable tr:hover td {
    background-color: var(--wikitable-bg);
}

table.alternating-rows tr:nth-child(odd),
table.alternating-cols td:nth-child(odd) {
    background: var(--wikitable-alternating-bg);
}

.table-na {
    background: var(--table-na-background);
    color: var(--table-na-color);
    vertical-align: middle;
    text-align: center;
    -webkit-user-select: none;
    cursor: default;
}

.table-yes {
    background: var(--table-yes-background);
    color: var(--table-yes-color);
}

.table-positive {
    background: var(--table-yes-background);
}

.table-no {
    background: var(--table-no-background);
    color: var(--table-no-color);
}

.table-negative {
    background: var(--table-no-background);
}

#mw-allmessagestable .am_actual,
#mw-allmessagestable .am_default {
    background-color: var(--wikitable-bg);
}

#mw-allmessagestable .am_default:hover,
#mw-allmessagestable .am_actual:hover,
#mw-allmessagestable tbody:hover td {
    background-color: var(--wikitable-bg-lighter);
}

table.wikitable td.no-cell-spacing {
    padding: 0;
    height: 0;
}

table.wikitable td.no-cell-spacing table {
    margin: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
}

.plainlist ol,
.plainlist ul {
    margin: 0;
}

.plainlist li {
    margin-bottom: 0;
    list-style: none;
}

table.align-right-1 td:nth-of-type(1),
table.align-right-2 td:nth-of-type(2),
table.align-right-3 td:nth-of-type(3),
table.align-right-4 td:nth-of-type(4),
table.align-right-5 td:nth-of-type(5),
table.align-right-6 td:nth-of-type(6),
table.align-right-7 td:nth-of-type(7),
table.align-right-8 td:nth-of-type(8),
table.align-right-9 td:nth-of-type(9),
table.align-right-10 td:nth-of-type(10),
table.align-right-11 td:nth-of-type(11),
table.align-right-12 td:nth-of-type(12),
table.align-right-13 td:nth-of-type(13),
table.align-right-14 td:nth-of-type(14),
table.align-right-15 td:nth-of-type(15),
table.align-right-16 td:nth-of-type(16),
table.align-right-17 td:nth-of-type(17),
table.align-right-18 td:nth-of-type(18),
table.align-right-19 td:nth-of-type(19),
table.align-right-20 td:nth-of-type(20) {
    text-align: right;
}

table.align-center-1 td:nth-of-type(1),
table.align-center-2 td:nth-of-type(2),
table.align-center-3 td:nth-of-type(3),
table.align-center-4 td:nth-of-type(4),
table.align-center-5 td:nth-of-type(5),
table.align-center-6 td:nth-of-type(6),
table.align-center-7 td:nth-of-type(7),
table.align-center-8 td:nth-of-type(8),
table.align-center-9 td:nth-of-type(9),
table.align-center-10 td:nth-of-type(10),
table.align-center-11 td:nth-of-type(11),
table.align-center-12 td:nth-of-type(12),
table.align-center-13 td:nth-of-type(13),
table.align-center-14 td:nth-of-type(14),
table.align-center-15 td:nth-of-type(15),
table.align-center-16 td:nth-of-type(16),
table.align-center-17 td:nth-of-type(17),
table.align-center-18 td:nth-of-type(18),
table.align-center-19 td:nth-of-type(19),
table.align-center-20 td:nth-of-type(20) {
    text-align: center;
}

table.align-left-1 td:nth-of-type(1),
table.align-left-2 td:nth-of-type(2),
table.align-left-3 td:nth-of-type(3),
table.align-left-4 td:nth-of-type(4),
table.align-left-5 td:nth-of-type(5),
table.align-left-6 td:nth-of-type(6),
table.align-left-7 td:nth-of-type(7),
table.align-left-8 td:nth-of-type(8),
table.align-left-9 td:nth-of-type(9),
table.align-left-10 td:nth-of-type(10),
table.align-left-11 td:nth-of-type(11),
table.align-left-12 td:nth-of-type(12),
table.align-left-13 td:nth-of-type(13),
table.align-left-14 td:nth-of-type(14),
table.align-left-15 td:nth-of-type(15),
table.align-left-16 td:nth-of-type(16),
table.align-left-17 td:nth-of-type(17),
table.align-left-18 td:nth-of-type(18),
table.align-left-19 td:nth-of-type(19),
table.align-left-20 td:nth-of-type(20) {
    text-align: left;
}

.rsw-chartjs.rsw-chartjs-config {
    display: none;
}

.rsw-chartjs.rsw-chart-error {
    font-family: monospace;
}

.rsw-chartjs-canvas {
    background-color: white;
}

:root {
    --diff-addedline-border-color: #438ab5;
    --diff-addedline-background: #bddff2;
    --diff-addedline-color: #000;
    --diff-deletedline-border-color: #379541;
    --diff-deletedline-background: #c1edbf;
    --diff-deletedline-color: #000;
    --diff-context-border-color: var(--body-mid);
    --diff-context-background: var(--body-mid);
}

.diff-addedline {
    border-color: var(--diff-addedline-border-color);
}

.diff-addedline .diffchange {
    background: var(--diff-addedline-background);
    color: var(--diff-addedline-color);
}

.diff-deletedline {
    border-color: var(--diff-deletedline-border-color);
}

.diff-deletedline .diffchange {
    background: var(--diff-deletedline-background);
    color: var(--diff-deletedline-color);
}

.diff-context {
    border-color: var(--diff-context-border-color);
    background: var(--diff-context-background);
    color: inherit;
}

.mw-notification {
    background-color: var(--body-light);
    border-color: var(--body-border);
    color: var(--text-color);
}

.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
    background: var(--body-main);
}

.mw-echo-ui-crossWikiUnreadFilterWidget {
    border-color: var(--body-border);
}

.mw-echo-ui-crossWikiUnreadFilterWidget-subtitle {
    color: var(--byline-color);
}

.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer,
.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: var(--ooui-interface-border);
}

.mw-echo-ui-notificationItemWidget {
    background-color: var(--body-main);
    border-color: var(--body-border);
}

.mw-echo-ui-notificationItemWidget:hover,
.mw-echo-ui-notificationItemWidget-unread:hover {
    background-color: var(--wikitable-bg-lighter);
}

.mw-echo-ui-notificationItemWidget:last-child {
    border-bottom-color: var(--body-border);
}

.mw-echo-ui-notificationItemWidget-unread {
    background-color: var(--search-box);
}

.mw-echo-ui-notificationItemWidget-content-message-header,
.mw-echo-ui-notificationItemWidget-content-message-body,
.mw-echo-ui-menuItemWidget > .oo-ui-buttonElement-button > .oo-ui-labelElement-label,
.mw-echo-ui-notificationItemWidget-content-actions-timestamp {
    color: var(--ooui-text);
}

.mw-echo-ui-bundleNotificationItemWidget-group {
    background-color: var(--body-main);
}

@keyframes unseen-fadeout-to-unread {
    from {
          background-color: var(--wikitable-bg-lighter);
    }

    to {
          background-color: var(--search-box);
    }

}

@keyframes unseen-fadeout-to-read {
    from {
          background-color: var(--wikitable-bg-lighter);
    }

    to {
          background-color: var(--body-main);
    }

}

.mwe-popups {
    background: var(--body-light);
}

.mwe-popups .mwe-popups-container {
    color: var(--text-color);
    background: var(--body-light);
}

.mwe-popups .mwe-popups-container.flipped-x-y:before,
.mwe-popups .mwe-popups-container.flipped-y:before {
    border-top: none;
}

.mwe-popups .mwe-popups-container.mwe-popups-no-image-tri:before {
    border-bottom: none;
}

.mwe-popups .mwe-popups-container.flipped-x-y:after,
.mwe-popups .mwe-popups-container.flipped-y:after {
    border-top-color: var(--body-light);
}

.mwe-popups .mwe-popups-container.mwe-popups-no-image-tri:after {
    border-bottom-color: var(--body-light);
}

.mwe-popups .mwe-popups-settings-icon:hover,
.mwe-popups .mwe-popups-settings-icon:active {
    background-color: var(--ooui-normal--hover);
}

.mwe-popups .mw-ui-icon-element:not(.disabled):hover {
    background: none;
}

.mwe-popups .mwe-popups-extract {
    color: var(--text-color);
}

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

.mwe-popups-overlay {
    background-color: var(--ooui-window-background);
}

#mwe-popups-settings {
    background: var(--ooui-interface);
    border-color: var(--ooui-interface-border);
    color: var(--text-color);
}

#mwe-popups-settings header {
    border-color: var(--ooui-interface-border);
}

#mwe-popups-settings main#mwe-popups-settings-form p {
    color: var(--byline-color);
}

#mwe-popups-settings main#mwe-popups-settings-form form label > span {
    color: var(--ooui-text);
}

:root {
    --smw-ask-options-even-bg: var(--body-mid);
    --smw-ask-options-odd-bg: var(--body-light);
    --smw-ask-action-btn-lblue-bg: var(--body-main);
    --smw-ask-action-btn-lblue-color: #000;
    --smw-ask-action-btn-lblue-border-color: var(--osrsw-brown);
    --smw-ask-action-btn-dblue-bg: var(--osrsw-brown);
    --smw-ask-action-btn-dblue-color: #fff;
    --smw-ask-action-btn-dblue-border-color: var(--button-border);
}

.smw-ask-options-fields tr td {
    background-color: var(--smw-ask-options-even-bg);
}

.smw-ask-options-fields tr:nth-child(odd) td {
    background-color: var(--smw-ask-options-odd-bg);
}

.smw-ask-action-btn.smw-ask-action-btn-lblue,
.smw-ask-action-btn.smw-ask-action-btn-lblue:hover,
.smw-ask-action-btn.smw-ask-action-btn-lblue:visited {
    background-color: var(--smw-ask-action-btn-lblue-bg);
    color: var(--smw-ask-action-btn-lblue-color);
    border-color: var(--smw-ask-action-btn-lblue-border-color);
}

.smw-ask-action-btn.smw-ask-action-btn-dblue,
.smw-ask-action-btn.smw-ask-action-btn-dblue:hover,
.smw-ask-action-btn.smw-ask-action-btn-dblue:visited {
    background-color: var(--smw-ask-action-btn-dblue-bg);
    color: var(--smw-ask-action-btn-dblue-color);
    border-color: var(--smw-ask-action-btn-dblue-border-color);
}

.smw-factbox {
    background: var(--body-main);
    border-color: transparent;
}

.mw-body .mw-indicators #mw-indicator-smw-entity-examiner.mw-indicator .smw-indicator-vertical-bar-loader {
    display: none;
}

:root {
    --tabber-tab-bg: var(--body-light);
    --tabber-tab-border-color: var(--body-border);
    --tabber-active-tab-bg: var(--body-light);
    --tabber-active-tab-color: var(--text-color);
    --tabber-active-tab-hover-bg: var(--body-light);
    --tabber-active-tab-hover-border-color: var(--body-border);
    --tabber-active-tab-hover-color: var(--text-color);
    --tabber-active-tab-border-hider-color: var(--body-light);
    --tabber-inactive-tab-bg: var(--body-background-color);
    --tabber-inactive-tab-border-color: var(--body-border);
    --tabber-inactive-tab-color: var(--text-color);
    --tabber-inactive-tab-hover-bg: var(--body-light);
    --tabber-inactive-tab-hover-border-color: var(--body-border);
}

.tabber {
    margin: 1em 0;
}

.tabber .tabbertab {
    background-color: var(--tabber-tab-bg);
    border: 1px solid var(--tabber-tab-border-color);
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
    padding: 1em 1.5em;
}

ul.tabbernav {
    border: none;
    margin-left: 2em;
    margin-bottom: 0;
    margin-right: 2em;
    padding: 0;
    font-family: inherit;
}

ul.tabbernav li.tabberactive > a {
    background-color: var(--tabber-active-tab-bg);
    color: var(--tabber-active-tab-color);
    border-bottom: none;
    position: relative;
}

ul.tabbernav li.tabberactive > a:hover {
    color: var(--tabber-active-tab-hover-color);
    background-color: var(--tabber-active-tab-hover-bg);
    border-color: var(--tabber-active-tab-hover-border-color);
    border-bottom: none;
}

ul.tabbernav li.tabberactive > a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    border-bottom: 2px solid var(--tabber-active-tab-border-hider-color);
}

ul.tabbernav li a {
    background-color: var(--tabber-inactive-tab-bg);
    border-bottom: transparent;
    border-color: var(--tabber-inactive-tab-border-color);
    color: var(--tabber-inactive-tab-color);
    display: inline-block;
    font-size: 110%;
    padding: 0.5em 1em;
}

ul.tabbernav li a:hover {
    background-color: var(--tabber-inactive-tab-hover-bg);
    border-color: var(--tabber-inactive-tab-hover-border-color);
}

ul.tabbernav li a:link,
ul.tabbernav li a:visited {
    color: var(--tabber-inactive-tab-color);
}

.js-tooltip-text {
    padding: 5px;
}

.js-tooltip-wrapper {
    position: absolute;
    z-index: 10;
    background-color: var(--body-light);
    border: 1px solid var(--body-border);
    color: var(--text-color);
    max-width: 75%;
    overflow-wrap: break-word;
    padding: 10px 15px;
    margin: 0px;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
    font-size: 0.8em;
}

.js-tooltip-click {
    color: var(--button-color);
    background: var(--button-background);
    border-radius: 2em;
    cursor: pointer;
    padding: 0 0.3em;
    user-select: none ;
}

.js-tooltip-arrow {
    position: absolute;
    border-color: transparent;
    border-style: solid;
    width: 0;
    height: 0;
}

.js-tooltip-arrow.js-tooltip-arrow-pointleft {
    border-right-color: var(--body-border);
    border-left-color: transparent;
    border-left-width: 0;
}

.js-tooltip-arrow.js-tooltip-arrow-pointright {
    border-left-color: var(--body-border);
    border-right-color: transparent;
    border-right-width: 0;
}

.js-tooltip-close {
    float: right;
    margin-left: 10px;
    margin-right: -5px;
    margin-top: -5px;
    margin-bottom: 1px;
    background: var(--button-background);
    border: 0;
    cursor: pointer;
}

:root {
    --ooui-text: var(--text-color);
    --ooui-interface: var(--body-light);
    --ooui-interface-border: var(--body-border);
    --ooui-window-background: rgba(255, 255, 255, 0.5);
    --ooui-normal: #d5c7ad;
    --ooui-normal--hover: #dfd5c1;
    --ooui-normal-border: #b8a282;
    --ooui-input: #fff;
    --ooui-input-border: #b8a282;
    --ooui-input-border--hover: #8a724f;
    --ooui-pending-background-image: repeating-linear-gradient(-45deg, var(--search-box), var(--search-box) 20px, var(--body-main) 20px, var(--body-main) 30px);
}

.oo-ui-widget {
    color: var(--text-color);
}

.oo-ui-dropdownWidget-handle {
    border-color: var(--ooui-normal-border);
}

.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle {
    background-color: var(--ooui-normal);
    color: var(--ooui-text);
}

.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover {
    background-color: var(--ooui-normal--hover);
    color: var(--ooui-text);
    border-color: var(--ooui-normal-border);
}

.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:active {
    color: var(--ooui-text);
}

.oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle {
    background-color: var(--ooui-normal--hover);
}

.oo-ui-labelWidget.oo-ui-inline-help {
    color: var(--byline-color);
}

.oo-ui-menuSelectWidget {
    background-color: var(--ooui-interface);
    border-color: var(--ooui-interface-border);
}

.oo-ui-menuSelectWidget-frameless {
    box-shadow: inset 0 -1px 0 0 var(--ooui-normal-border);
}

.oo-ui-menuSectionOptionWidget {
    color: var(--byline-color);
}

.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
    background-color: var(--ooui-normal--hover);
    color: var(--ooui-text);
}

.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget {
    color: var(--ooui-text);
}

.oo-ui-menu.oo-ui-optionWidget-selected.oo-ui-menu.oo-ui-optionWidget-highlighted,
.oo-ui-menu.oo-ui-optionWidget-pressed.oo-ui-menu.oo-ui-optionWidget-highlighted {
    color: var(--link-color);
}

.oo-ui-messageDialog-title {
    color: inherit;
}

.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-error {
    background-color: var(--errorbox-bg);
    border-color: var(--errorbox-border);
}

.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning {
    background-color: var(--warningbox-bg);
    border-color: var(--warningbox-border);
}

.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-success {
    background-color: var(--successbox-bg);
    border-color: var(--successbox-border);
}

.oo-ui-outlineControlsWidget {
    background-color: var(--ooui-normal);
}

.oo-ui-outlineOptionWidget.oo-ui-optionWidget-highlighted {
    background-color: var(--ooui-normal--hover);
    color: var(--ooui-text);
}

.oo-ui-popupWidget-popup {
    background-color: var(--ooui-interface);
    border-color: var(--ooui-interface-border);
}

.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor:after {
    border-bottom-color: var(--ooui-interface);
}

.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor:before {
    border-bottom-color: var(--ooui-interface-border);
}

.oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:after {
    border-top-color: var(--ooui-interface);
}

.oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:before {
    border-top-color: var(--ooui-interface-border);
}

.oo-ui-popupWidget-anchored-start .oo-ui-popupWidget-anchor:after {
    border-right-color: var(--ooui-interface);
}

.oo-ui-popupWidget-anchored-start .oo-ui-popupWidget-anchor:before {
    border-right-color: var(--ooui-interface-border);
}

.oo-ui-popupWidget-anchored-end .oo-ui-popupWidget-anchor:after {
    border-left-color: var(--ooui-interface);
}

.oo-ui-popupWidget-anchored-end .oo-ui-popupWidget-anchor:before {
    border-left-color: var(--ooui-interface-border);
}

.oo-ui-searchWidget-query {
    border-bottom-color: var(--ooui-interface-border);
}

.oo-ui-selectFileWidget-dropTarget {
    background-color: var(--ooui-interface);
    border-color: var(--ooui-interface-border);
}

.oo-ui-selectFileWidget.oo-ui-widget-enabled.oo-ui-selectFileWidget-dropTarget {
    background-color: var(--ooui-interface);
}

.oo-ui-selectFileWidget.oo-ui-widget-enabled.oo-ui-selectFileWidget-dropTarget:hover {
    border-color: var(--ooui-input-border--hover);
}

.oo-ui-tabOptionWidget {
    color: var(--ooui-text);
}

.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
    background-color: var(--body-dark);
    color: var(--text-color);
}

.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected .oo-ui-labelElement-label {
    border-bottom-color: var(--body-border);
}

.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled:hover,
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled:active {
    background-color: var(--body-light);
    color: var(--text-color);
}

.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget-selected:hover {
    background-color: var(--body-dark);
}

.oo-ui-tabSelectWidget-framed {
    background: none;
    border-bottom: 1px solid var(--ooui-interface-border);
}

.oo-ui-tabSelectWidget-frameless {
    box-shadow: inset 0 -1px 0 0 var(--ooui-interface-border);
}

.oo-ui-tabSelectWidget-mobile.oo-ui-tabSelectWidget-framed:after {
    background: var(--mobile-navbox-linear-gradient);
}

.oo-ui-tabSelectWidget-mobile.oo-ui-tabSelectWidget-frameless:after {
    background: var(--mobile-navbox-linear-gradient);
}

.oo-ui-tagItemWidget {
    border-color: var(--ooui-normal-border);
}

.oo-ui-tagItemWidget.oo-ui-widget-enabled {
    color: var(--ooui-text);
}

.oo-ui-tagItemWidget.oo-ui-widget-enabled:hover {
    background-color: var(--ooui-normal--hover);
    color: var(--ooui-text);
    border-color: var(--ooui-normal-border);
}

.oo-ui-tagItemWidget.oo-ui-widget-enabled:not( .oo-ui-tagItemWidget-fixed ) {
    background-color: var(--ooui-normal);
}

.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled {
    background-color: var(--ooui-interface);
}

.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined {
    background-color: var(--ooui-normal);
}

.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled {
    background-color: var(--ooui-interface);
}

.oo-ui-textInputWidget .oo-ui-inputWidget-input {
    background-color: var(--ooui-input);
    color: var(--ooui-text);
    border-color: var(--ooui-input-border);
}

.oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input {
    border-color: var(--ooui-input-border--hover);
}

.oo-ui-buttonElement > .oo-ui-buttonElement-button,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
    color: var(--ooui-text);
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
    background-color: var(--ooui-normal);
    color: var(--ooui-text);
    border-color: var(--ooui-normal-border);
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button > .oo-ui-buttonElement-button:active,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
    background-color: var(--ooui-normal--hover);
    color: var(--ooui-text);
    border-color: var(--ooui-normal-border);
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button {
    color: var(--ooui-text);
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
    background-color: var(--ooui-normal--hover);
}

.oo-ui-pendingElement-pending {
    background-image: var(--ooui-pending-background-image);
    background-size: 200%;
    animation: oo-ui-pendingElement-stripes 6s linear infinite;
}

@keyframes oo-ui-pendingElement-stripes {
    100% {
          background-position: 100%;
    }

}

.oo-ui-messageDialog-content > .oo-ui-window-foot {
    outline-color: var(--ooui-interface-border);
}

.oo-ui-messageDialog-message {
    color: var(--ooui-text);
}

.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
    border-right-color: var(--ooui-interface-border);
}

.oo-ui-messageDialog-actions-vertical .oo-ui-actionWidget {
    border-bottom-color: var(--ooui-interface-border);
}

.oo-ui-processDialog-content .oo-ui-window-head,
.oo-ui-processDialog-content .oo-ui-window-foot {
    outline-color: var(--ooui-interface-border);
}

.oo-ui-processDialog .oo-ui-actionWidget > .oo-ui-buttonElement-button {
    border-top-color: transparent;
    border-bottom-color: transparent;
}

.oo-ui-processDialog .oo-ui-actionWidget > .oo-ui-buttonElement-button:hover,
.oo-ui-processDialog .oo-ui-actionWidget > .oo-ui-buttonElement-button:active {
    border-top-color: transparent;
    border-bottom-color: transparent;
}

.oo-ui-processDialog .oo-ui-actionWidget:not( .oo-ui-flaggedElement-progressive ):not( .oo-ui-flaggedElement-destructive ) > .oo-ui-buttonElement-button:hover,
.oo-ui-processDialog .oo-ui-actionWidget:not( .oo-ui-flaggedElement-progressive ):not( .oo-ui-flaggedElement-destructive ) > .oo-ui-buttonElement-button:active {
    border-right-color: var(--ooui-interface-border);
    border-left-color: transparent;
}

.oo-ui-processDialog-actions-safe .oo-ui-actionWidget > .oo-ui-buttonElement-button,
.oo-ui-processDialog-actions-other .oo-ui-actionWidget > .oo-ui-buttonElement-button {
    border-right-color: var(--ooui-normal-border);
    border-left-color: transparent;
}

.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not( .oo-ui-labelElement ) > .oo-ui-buttonElement-button:hover {
    background-color: var(--ooui-normal--hover);
    border-right-color: var(--ooui-interface-border);
}

.oo-ui-windowManager-modal > .oo-ui-dialog {
    background-color: var(--ooui-window-background);
}

.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
    background-color: var(--ooui-interface);
}

.oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame {
    border-color: var(--ooui-interface-border);
}

.oo-ui-bookletLayout-outlinePanel > .oo-ui-outlineControlsWidget {
    border-top-color: var(--ooui-interface-border);
}

.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
    border-right-color: var(--ooui-interface-border);
}

.oo-ui-window {
    color: var(--ooui-text);
}

.oo-ui-toolbar-bar {
    background-color: var(--ooui-interface);
    color: var(--ooui-text);
}

.oo-ui-toolbar-position-top > .oo-ui-toolbar-bar {
    border-bottom-color: var(--body-mid);
}

.oo-ui-toolbar-bar .oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
    border-right-color: var(--body-mid);
}

.oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:hover {
    background-color: var(--ooui-normal--hover);
}

.oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:hover {
    background-color: var(--ooui-normal--hover);
    color: var(--ooui-text);
}

.oo-ui-menuToolGroup {
    border-left-color: var(--body-mid);
    border-right-color: var(--body-mid);
}

.oo-ui-popupToolGroup-tools {
    background-color: var(--ooui-interface);
    border-color: var(--body-mid);
}

.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover {
    background-color: var(--ooui-normal--hover);
}

.oo-ui-toolbar-actions .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover {
    border-right-color: var(--ooui-normal--hover);
}

.oo-ui-panelLayout-framed {
    border-color: var(--sidebar);
}

.oo-ui-icon-advanced {
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Eadvanced%3C/title%3E%3Cpath d=%22M10 2.5a7.5 7.5 0 1 0 7.5 7.5A7.5 7.5 0 0 0 10 2.5zm0 11a3.5 3.5 0 1 1 3.5-3.5 3.5 3.5 0 0 1-3.5 3.5z%22/%3E%3Cpath d=%22M12 3.29L11.5 0h-3L8 3.29a7 7 0 0 1 4 0zM8 16.71L8.5 20h3l.5-3.29a7 7 0 0 1-4 0zm8.16-10.04l2-2.68L16 1.87l-2.68 2a7 7 0 0 1 2.83 2.83zM3.84 13.33L1.87 16 4 18.13l2.68-2a7 7 0 0 1-2.83-2.83zM16.71 12l3.29-.5v-3L16.71 8a7 7 0 0 1 0 4zM3.29 8L0 8.5v3l3.29.5a7 7 0 0 1 0-4zm10.04 8.16l2.68 2L18.13 16l-2-2.68a7 7 0 0 1-2.83 2.83zM6.67 3.84L4 1.87 1.87 4l2 2.68a7 7 0 0 1 2.8-2.84z%22/%3E%3C/svg%3E");
}

.oo-ui-icon-clear {
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Eclear%3C/title%3E%3Cpath d=%22M10 0a10 10 0 1 0 10 10A10 10 0 0 0 10 0zm5.66 14.24l-1.41 1.41L10 11.41l-4.24 4.25-1.42-1.42L8.59 10 4.34 5.76l1.42-1.42L10 8.59l4.24-4.24 1.41 1.41L11.41 10z%22/%3E%3C/svg%3E");
}

.mw-widget-dateInputWidget-handle {
    background-color: var(--ooui-input);
    color: var(--ooui-text);
    border-color: var(--ooui-input-border);
}

.mw-widget-dateInputWidget-handle:hover {
    border-color: var(--ooui-input-border--hover);
}

.mw-widget-dateInputWidget-calendar {
    background-color: var(--ooui-interface);
}

.mw-widget-calendarWidget {
    border-color: var(--ooui-interface-border);
}

.mw-widget-calendarWidget-day {
    color: var(--ooui-text);
}

.mw-kartographer-mapDialog-foot {
    background-color: var(--body-light);
    border-color: var(--body-mid);
}

.mw-kartographer-interactive .leaflet-container {
    color: var(--text-color);
}

.mw-kartographer-interactive .leaflet-popup-content a,
.mw-kartographer-interactive .leaflet-popup-content a:visited,
.mw-kartographer-interactive .leaflet-popup-content a:hover,
.mw-kartographer-interactive .leaflet-popup-content a:active {
    color: var(--link-color);
}

.mw-kartographer-interactive .leaflet-popup-content a.new a.new:visited {
    color: var(--redlink-color);
}

.leaflet-popup-content-wrapper {
    background-color: var(--body-light);
    color: var(--text-color);
}

.leaflet-popup-tip {
    border-top-color: var(--body-light);
}

.ve-activated  figure[typeof~='mw:Image/Thumb'],
.ve-activated  figure[typeof~='mw:Video/Thumb'],
.ve-activated  figure[typeof~='mw:Audio/Thumb'],
.ve-activated  figure[typeof~='mw:Image/Frame'],
.ve-activated  figure[typeof~='mw:Video/Frame'],
.ve-activated  figure[typeof~='mw:Audio/Frame'] {
    border: none;
    background: none;
}

.ve-activated  figure[typeof~='mw:Image/Thumb'] > *:first-child > img,
.ve-activated  figure[typeof~='mw:Video/Thumb'] > *:first-child > img,
.ve-activated  figure[typeof~='mw:Audio/Thumb'] > *:first-child > img,
.ve-activated  figure[typeof~='mw:Image/Frame'] > *:first-child > img,
.ve-activated  figure[typeof~='mw:Video/Frame'] > *:first-child > img,
.ve-activated  figure[typeof~='mw:Audio/Frame'] > *:first-child > img {
    background: none;
    border: none;
    margin: 0;
}

.ve-activated  figure[typeof~='mw:Image/Thumb'] > figcaption,
.ve-activated  figure[typeof~='mw:Video/Thumb'] > figcaption,
.ve-activated  figure[typeof~='mw:Audio/Thumb'] > figcaption,
.ve-activated  figure[typeof~='mw:Image/Frame'] > figcaption,
.ve-activated  figure[typeof~='mw:Video/Frame'] > figcaption,
.ve-activated  figure[typeof~='mw:Audio/Frame'] > figcaption {
    border: none;
    background-color: var(--thumb-caption-background);
    padding: 4px 6px;
}

.ve-activated  #catlinks:hover {
    background: var(--ooui-normal--hover);
}

.oo-ui-toolbar-position-top .ve-ui-toolbarDialog-position-above {
    border-top-color: var(--body-mid);
}

.ve-ce-branchNode-blockSlug,
.ve-ce-branchNode-newSlug {
    outline-color: var(--body-border);
    background-color: var(--ooui-interface);
}

.ve-ui-specialCharacterPage-character {
    border-color: var(--body-mid);
}

.ve-ui-specialCharacterPage-character:hover {
    border-color: var(--body-dark);
}

.ve-ce-linkAnnotation.ve-ce-annotation-active {
    box-shadow: 0 0 0 1px var(--body-mid);
    background: none;
}

.ve-ui-desktopContext .ve-ui-linkContextItem .ve-ui-linkContextItem-label {
    border-color: var(--body-border);
}

.ve-ui-mwHelpPopupTool-version-label,
.ve-ui-mwHelpPopupTool-version-link,
.ve-ui-mwHelpPopupTool-version-date {
    color: var(--byline-color);
}

.ve-ce-tableCellableNode {
    border-color: var(--body-mid);
}

.ve-ce-mwReferencesListNode-muted {
    color: var(--byline-color);
}

.ve-ui-mwTemplatePage-description,
.ve-ui-mwParameterPage-label,
.ve-ui-mwParameterPage-description-required,
.ve-ui-mwParameterPage-description-deprecated {
    color: var(--byline-color);
}

.ve-ui-mwGalleryDialog-menuLayout > .oo-ui-menuLayout-menu,
.ve-ui-mwGalleryDialog-innerMenuLayout > .oo-ui-menuLayout-menu,
.ve-ui-mwGalleryDialog .ve-ui-mwGalleryDialog-image-container,
.ve-ui-targetWidget {
    border-color: var(--body-border);
}

.ve-ui-targetWidget:not(.oo-ui-pendingElement-pending) {
    background-color: var(--body-main);
}

.ve-ui-mwSaveDialog {
    color: var(--ooui-text);
}

.ve-ui-mwSaveDialog-options {
    background-color: var(--ooui-interface);
    border-color: var(--body-border);
}

.ve-ui-mwSaveDialog-editSummary-count {
    border-color: var(--body-border);
}

.ve-ui-mwSaveDialog-license {
    color: var(--byline-color);
}

.ve-ui-mwReferenceContextItem-muted {
    color: var(--byline-color);
}

.ve-ui-mwNoticesPopupTool-items > div:not(:first-child),
.ve-ui-mwHelpPopupTool-item:not(:first-child) {
    border-color: var(--body-border);
}

.ve-ui-mwTemplateDialog .oo-ui-outlineControlsWidget {
    background: none;
}

.ve-ui-mwTemplateDialog .oo-ui-bookletLayout-outlinePanel > .oo-ui-outlineControlsWidget,
.ve-ui-mwTemplateDialog .ve-ui-mwTransclusionDialog-addParameterFieldset .ve-ui-mwParameterSearchWidget,
.ve-ui-mwTemplateDialog .oo-ui-searchWidget-query {
    border-color: var(--body-border);
}

.ve-ui-mwParameterResultWidget-description {
    color: inherit;
}

.ve-ui-mwParameterResultWidget.oo-ui-optionWidget-highlighted {
    background-color: var(--ooui-normal--hover);
}

.ve-init-mw-desktopArticleTarget-toolbarPlaceholder-floating .ve-init-mw-desktopArticleTarget-toolbarPlaceholder-bar {
    background: var(--ooui-interface);
}

.ve-init-mw-desktopArticleTarget-toolbarPlaceholder-bar {
    border-bottom-color: var(--body-mid);
}

:root {
    --fact-text-color: #15f;
    --production-selected-background: #c3e8a3;
    --production-selected-color: #000;
    --updateline-image: url('images/Horizontal_Line.png');
    --wikipedia-border: #e0e0e0;
    --wikipedia-background: #f8f8f8;
    --keypress-background: #eee;
    --keypress-border: #ccc;
    --keypress-text-shadow: #fff;
    --keypress-color: #333;
}

.archivelist {
    background-color: var(--body-light);
    border: solid 1px var(--body-border);
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
    float: right;
    margin: 5px;
    padding: 5px;
    text-align: center;
    width: 120px;
}

.collapsed-sec {
    font-family: 'PT Serif', 'Palatino', 'Georgia', serif;
    font-weight: bold;
    text-shadow: 1px 1px #fff;
}

.fact-text {
    color: var(--fact-text-color);
    font-style: italic;
    cursor: help;
    border-bottom: dotted 1px var(--text-color);
}

.production-selected {
    background: var(--production-selected-background);
    color: var(--production-selected-color);
}

.relative-location {
    background: var(--body-light);
    border: 1px solid var(--body-border);
    border-spacing: 0;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
    margin: 5px;
    text-align: center;
}

.relative-location-txt {
    color: var(--text-color);
}

.relative-location-header {
    background: var(--body-dark);
}

#musicMap data {
    display: none;
}

.musicMap-buttons {
    text-align: center;
    margin: 0.7em;
}

.talkheader {
    text-align: center;
    background-color: var(--body-dark);
}

.shortcut {
    border: 1px solid var(--body-border);
    background: var(--body-light);
    float: right;
    font-size: 0.8em;
    margin: 0.5em 0em 0.5em 1em;
    padding: 0.5em;
    text-align: center;
}

.succession {
    width: 50%;
    text-align: center;
}

.succession th {
    width: 33%;
    font-size: 90%;
    background: var(--body-mid);
}

.succession td {
    background: var(--body-light);
}

.update {
    border-radius: 2px;
    background: var(--body-mid);
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;
    text-align: center;
}

.updateline {
    background: var(--updateline-image) no-repeat;
    background-position: center;
}

.pollwrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    counter-reset: question;
}

.pollbox {
    position: relative;
    padding: 1em 0.7em;
    margin: 0.7em;
    margin-bottom: 1.2em;
    width: 700px;
    font-size: 16px;
    border: 2px solid var(--body-border);
    background: var(--body-light);
}

.pollbox::before {
    content: "Question " counter(question);
    counter-increment: question;
    position: absolute;
    font-size: 16px;
    font-weight: bold;
    top: -0.5em;
    margin-top: -2px;
    left: 0.6em;
    line-height: 1em;
    background: linear-gradient(0deg, var(--body-light), var(--body-light) 50%, rgba(0, 0, 0, 0) 50%);
    padding: 0 0.6em;
}

.pollbox table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.pollbox caption {
    text-align: left;
    margin-bottom: 4px;
}

.pollbox td {
    padding: 0px;
}

.pollquestion td:first-child::before {
    content: "";
    background: url('images/Poll_shield.png');
    background-repeat: no-repeat;
    background-position: top;
    width: 10px;
    height: 14px;
    position: absolute;
    top: 4px;
    left: 0;
}

.pollquestion td:first-child {
    position: relative;
    width: 32%;
    padding-right: 0.7em;
    padding-left: 16px;
}

.pollquestion td.pollpercent {
    box-sizing: border-box;
    padding-left: 17px;
    padding-right: 8px;
}

.pollquestion td:last-child {
    width: 22%;
    padding-left: 0.7em;
}

.pollquestion .pollnote td {
    width: 100%;
    padding: 20px 5px;
    padding-bottom: 5px;
}

.pollquestion .pollnote td::before {
    content: none;
}

.pollquestion data {
    display: block;
    height: 15px;
    background-image: url('images/Poll_sword2.png');
    position: relative;
}

.pollquestion data::before,
.pollquestion data::after {
    content: "";
    height: inherit;
    position: absolute;
    height: 15px;
}

.pollquestion data::before {
    background: url('images/Poll_sword1.png');
    width: 17px;
    right: 100%;
}

.pollquestion data::after {
    background: url('images/Poll_sword3.png');
    width: 8px;
    left: 100%;
}

.archivepollq th {
    text-align: left;
    font-weight: normal;
    padding: 15px 0 0 0;
}

.archivepollq td:first-child {
    position: relative;
    width: 80%;
    padding-right: 0.7em;
    padding-left: 16px;
}

.archivepollq td.archivepollpercent {
    box-sizing: border-box;
    padding: 2px;
    border: 1px solid var(--body-border);
}

.archivepollq td:last-child {
    text-align: right;
    padding-left: 0.7em;
}

.archivepollq .archivepollnote > td {
    text-align: left;
    width: 100%;
    padding: 20px 5px;
    padding-bottom: 5px;
}

.archivepollq data {
    display: block;
    height: 25px;
    background: var(--body-border);
    position: relative;
}

.archivepollq.e {
    border: 2px solid var(--errorbox-border);
    background: var(--errorbox-bg);
}

.archivepollq.e::before {
    content: "Error";
    background: linear-gradient(0deg, var(--errorbox-bg), var(--errorbox-bg) 50%, rgba(0, 0, 0, 0) 50%);
}

.wikipedia {
    border: 1px solid var(--wikipedia-border);
    background-color: var(--wikipedia-background);
}

.hatnote,
.seealso {
    font-style: italic;
}

.hatnote i,
.seealso i {
    font-style: normal;
}

div.hatnote,
div.seealso {
    margin: 0.8em 1.6em;
}

div.hatnote + div.hatnote,
div.hatnote + div.seealso,
div.seealso + div.hatnote,
div.seealso + div.seealso {
    margin-top: -0.8em;
}

.extimage div,
.extimage a,
.extimage img {
    width: inherit;
    height: inherit;
}

.tbz-region {
    background-color: var(--body-mid);
    display: inline-block;
    white-space: nowrap;
    border: 1px solid var(--body-border);
    border-radius: 10px;
    width: 110px;
    padding: 0.2em 0.5em;
}

.tbz-badge {
    background-color: var(--body-mid);
    display: inline-block;
    border: 1px solid var(--body-border);
    border-radius: 5px;
    padding: 0.2em 2px;
}

.tbz-badge + .tbz-badge {
    margin-left: 1px;
}

.combatinfo {
    width: 160px;
    text-align: center;
    float: right;
    clear: right;
}

.combatinfo.combatinfo-left {
    float: left;
    clear: left;
}

.combatinfo td {
    width: 25%;
}

.wikitable.combatinfo > caption {
    font-weight: normal;
}

.growth-stage-table td.growth-stage {
    text-align: center;
    vertical-align: bottom;
}

.keypress {
    background: var(--keypress-background);
    color: var(--keypress-color);
    display: inline-block;
    font-family: monospace;
    text-shadow: 0 1px 0 var(--keypress-text-shadow);
    border: 1px solid var(--keypress-border);
    border-radius: 2px;
    margin: 0 0.1em;
    padding: 0.1em 0.5em;
    line-height: 1.4;
    white-space: nowrap;
}

.rsw-music-player {
    height: 2em;
    vertical-align: middle;
}

.item-drops .beast-version {
    font-size: smaller;
    font-style: italic;
}

td.famtreesub {
    margin: 0;
    padding: 0;
}

td.famtreesub table {
    border-spacing: 0;
    margin: 0;
    padding: 0;
}

td.famtreesub table td {
    height: 1em;
    width: 1em;
}

td.famtreeleaf {
    background: var(--body-light);
    border: 1px solid var(--body-border);
    padding: 0.2em;
}

:root {
    --infobox-text-color: var(--text-color);
    --infobox-room-poh-color: #ccc;
}

:root {
    --coins-color: green;
    --coins-pos-color: #014cc0;
    --coins-neg-color: #c02614;
}

.coins {
    color: var(--coins-color);
    background-position: 0% 50%;
    background-repeat: no-repeat;
    display: inline-block;
    padding: 0;
}

.coins-pos {
    color: var(--coins-pos-color);
}

.coins-neg {
    color: var(--coins-neg-color);
}

.coins-10000 {
    background-image: url('images/Coins_10000.png');
    padding: 3px 0 3px 35px;
}

.coins-1000 {
    background-image: url('images/Coins_1000.png');
    padding: 1px 0 1px 35px;
}

.coins-250 {
    background-image: url('images/Coins_250.png');
    padding: 1px 0 1px 35px;
}

.coins-100 {
    background-image: url('images/Coins_100.png');
    padding: 1px 0px 1px 32px;
}

.coins-25 {
    background-image: url('images/Coins_25.png');
    padding-left: 30px;
}

.coins-5 {
    background-image: url('images/Coins_5.png');
    padding-left: 30px;
}

.coins-4 {
    background-image: url('images/Coins_4.png');
    padding-left: 30px;
}

.coins-3 {
    background-image: url('images/Coins_3.png');
    padding-left: 30px;
}

.coins-2 {
    background-image: url('images/Coins_2.png');
    padding-left: 23px;
}

.coins-1 {
    background-image: url('images/Coins_1.png');
    padding-left: 15px;
}

td > span.coins-1 {
    padding: 0px 35px 0px 0px;
    background-position: right 9px center;
}

td > span.coins-2 {
    padding: 0px 35px 0px 0px;
    background-position: right 5px center;
}

td > span.coins-3 {
    padding: 0px 35px 0px 0px;
    background-position: right 1px center;
}

td > span.coins-4 {
    padding: 0px 35px 0px 0px;
    background-position: right 1px center;
}

td > span.coins-5 {
    padding: 0px 35px 0px 0px;
    background-position: right 1px center;
}

td > span.coins-25 {
    padding: 0px 35px 0px 0px;
    background-position: right 1px center;
}

td > span.coins-100 {
    padding: 0px 35px 0px 0px;
    background-position: right 1px center;
}

td > span.coins-250 {
    padding: 0px 35px 0px 0px;
    background-position: right 0px center;
}

td > span.coins-1000 {
    padding: 0px 35px 0px 0px;
    background-position: right 1px center;
}

td > span.coins-10000 {
    padding: 0px 35px 0px 0px;
    background-position: right 1px center;
    padding-top: 3px;
    padding-bottom: 3px;
}

:root {
    --documentation-background: #f9fafa;
    --documentation-link-color: #e4eaee;
    --documentation-headers-color: #fff;
    --documentation-header-background: #949eaa;
    --documentation-subheader-background: #808c9a;
    --documentation-border: #e4eaee;
    --mw-templatedata-doc-muted-color: #888;
}

.documentation {
    background: var(--documentation-background);
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
}

.documentation pre,
.documentation code {
    background-color: var(--documentation-background);
    border-color: var(--documentation-border);
}

.documentation h2,
.documentation hr {
    border-color: var(--documentation-border);
}

.documentation-header {
    color: var(--documentation-headers-color);
    background: var(--documentation-header-background);
    font-weight: bold;
    padding: 1em 1.5em;
}

.documentation-title {
    font-size: 1.25em;
}

.documentation-subheader {
    color: var(--documentation-headers-color);
    background: var(--documentation-subheader-background);
    padding: 0.5em 1.5em;
}

.documentation-subheader a,
.documentation-subheader a:visited,
.documentation-subheader a:active {
    color: var(--documentation-link-color);
}

.documentation-documentation,
.documentation-links {
    font-size: 0.85em;
}

.documentation-content {
    padding: 1em 1.5em;
}

.mw-templatedata-doc-params dl {
    column-count: 3;
    border-top: 1px solid var(--body-border);
    margin-bottom: 0.7em;
}

.mw-templatedata-doc-params dt::after {
    content: ":";
}

.mw-templatedata-doc-params dd,
.mw-templatedata-doc-params dt {
    margin: 0.1em 2em;
    min-width: auto;
}

.mw-templatedata-doc-muted {
    color: var(--mw-templatedata-doc-muted-color);
    font-style: italic;
}

.fairycode {
    font-family: 'PT Serif', 'Palatino', 'Georgia', serif;
    font-size: 120%;
    font-weight: bold;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.fairycode b ~ b:before {
    content: "•";
}

.floornumber > .floornumber-us,
#toc li a span.toctext span span:nth-child(2),
.floornumber-setting-gb .floornumber > .floornumber-us,
.floornumber-setting-gb #toc li a span.toctext span span:nth-child(2),
.floornumber-setting-us .floornumber > .floornumber-gb,
.floornumber-setting-us #toc li a span.toctext span span:nth-child(1) {
    display: none;
}

.floornumber-setting-gb .floornumber > .floornumber-gb,
.floornumber-setting-gb #toc li a span.toctext span span:nth-child(1),
.floornumber-setting-us .floornumber > .floornumber-us,
.floornumber-setting-us #toc li a span.toctext span span:nth-child(2) {
    display: inline;
}

.floornumber-override-gb .floornumber > .floornumber-us,
.floornumber-override-gb #toc li a span.toctext span span:nth-child(2),
.floornumber-override-us .floornumber > .floornumber-gb,
.floornumber-override-us #toc li a span.toctext span span:nth-child(1) {
    display: none !important;
}

.floornumber-override-gb .floornumber > .floornumber-gb,
.floornumber-override-gb #toc li a span.toctext span span:nth-child(1),
.floornumber-override-us .floornumber > .floornumber-us,
.floornumber-override-us #toc li a span.toctext span span:nth-child(2) {
    display: inline !important;
}

.musicplayer {
    border: 1px solid var(--body-border);
    font-size: 90%;
    background: var(--body-light);
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
    max-width: 300px;
    margin: 0 0 1em 1em;
    padding: 5px;
}

.musicplayer .mediaContainer,
.infobox .mediaContainer,
.musicplayer .k-player,
.infobox .k-player,
.musicplayer audio,
.infobox audio {
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.k-player .control-bar {
    background: var(--body-light);
    border: none;
    font-family: inherit;
}

.k-player .play_head {
    border: none;
    right: 130px !important;
}

.k-player .volume-slider .ui-slider-range {
    height: 14px;
    top: 1px;
}

.k-player .k-options {
    border: none !important;
    color: var(--text-color) !important;
    font-family: inherit;
    top: 2px;
}

.k-player .time-disp {
    color: var(--text-color);
    font-family: inherit;
}

.k-player .play_head {
    top: 3px;
}

.timed-text {
    display: none;
}

.plink-template + a {
    margin-left: 0.25em;
}

.poh-image-upper img {
    vertical-align: top !important;
}

.poh-image-lower img {
    vertical-align: bottom !important;
}

.normal-POH {
    line-height: normal !important;
}

:root {
    --questdetails-header-background: #cfc2aa;
    --questdetails-header-background-alt: #cfbda1;
}

.questdetails {
    width: 100%;
    background-color: var(--body-light);
    border: 1px solid var(--body-border);
    border-collapse: separate;
}

.questdetails th {
    text-align: left;
}

.questdetails-header {
    padding: 0.5em 1em;
    background-color: var(--questdetails-header-background);
    width: 125px;
}

.questdetails tr:nth-child(odd) .questdetails-header {
    background-color: var(--questdetails-header-background-alt);
}

.questdetails-info {
    padding-left: 1em;
    padding-right: 2em;
}

ol.references,
.reflist {
    font-size: 90%;
}

.reflist {
    list-style-type: decimal;
}

.reflist .references {
    font-size: 100%;
    list-style-type: inherit;
}

.reflist-lower-alpha {
    list-style-type: lower-alpha;
}

ol.references li:target,
sup.reference:target {
    background-color: var(--body-light);
}

.hideQuotes .refhide {
    display: none;
}

.editnotice {
    font-size: 0.9em;
    padding-bottom: 0.75em;
    margin-bottom: 0.6em;
}

.editnotice .editnotice-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0.4em;
}

:root {
    --messagebox-obsolete-background: #cfcfcf;
    --messagebox-obsolete-border: #464646;
    --messagebox-obsolete-link-color: #6c6c6c;
    --messagebox-info-background: #ebebeb;
    --messagebox-info-border: #898989;
    --messagebox-info-link-color: #6c6c6c;
    --messagebox-action-background: #c7e8fa;
    --messagebox-action-border: #0b5884;
    --messagebox-action-link-color: #03436b;
    --messagebox-warn-background: #dfc0ba;
    --messagebox-warn-border: #861c10;
    --messagebox-warn-color: var(--text-color);
    --messagebox-warn-link-color: #8e221a;
    --messagebox-safe-background: #d8f0d3;
    --messagebox-safe-border: #1b8408;
    --messagebox-safe-color: var(--text-color);
    --messagebox-safe-link-color: #1b8408;
    --messagebox-disambig-background: #ebebeb;
    --messagebox-disambig-border: #898989;
    --messagebox-disambig-link-color: #6c6c6c;
    --messagebox-discord-background: #5865f2;
    --messagebox-discord-border: #4c57d0;
    --messagebox-discord-color: #d2e5fc;
}

.messagebox,
.errorbox,
.warningbox,
.successbox,
.usermessage {
    color: var(--text-color);
}

.messagebox {
    width: 65%;
    margin: 0.5em auto;
    border: 0;
    border-left: 15px solid;
    border-color: var(--body-dark);
    background-color: var(--body-light);
    padding: 0;
}

.messagebox.obsolete {
    background-color: var(--messagebox-obsolete-background);
    border-color: var(--messagebox-obsolete-border);
}

.messagebox.obsolete a,
.messagebox.obsolete a:visited,
.messagebox.obsolete a:active {
    color: var(--messagebox-obsolete-link-color);
}

.messagebox.info {
    background-color: var(--messagebox-info-background);
    border-color: var(--messagebox-info-border);
}

.messagebox.info a,
.messagebox.info a:visited,
.messagebox.info a:active {
    color: var(--messagebox-info-link-color);
}

.messagebox.action {
    background-color: var(--messagebox-action-background);
    border-color: var(--messagebox-action-border);
}

.messagebox.action a,
.messagebox.action a:visited,
.messagebox.action a:active {
    color: var(--messagebox-action-link-color);
}

.messagebox.warn {
    background-color: var(--messagebox-warn-background);
    border-color: var(--messagebox-warn-border);
}

.messagebox.warn a,
.messagebox.warn a:visited,
.messagebox.warn a:active {
    color: var(--messagebox-warn-link-color);
}

.messagebox.safe {
    background-color: var(--messagebox-safe-background);
    border-color: var(--messagebox-safe-border);
}

.messagebox.safe a,
.messagebox.safe a:visited,
.messagebox.safe a:active {
    color: var(--messagebox-safe-link-color);
}

.messagebox.disambig {
    background-color: var(--messagebox-disambig-background);
    border-color: var(--messagebox-disambig-border);
}

.messagebox.disambig a,
.messagebox.disambig a:visited,
.messagebox.disambig a:active {
    color: var(--messagebox-disambig-link-color);
}

.messagebox.discord {
    background-color: var(--messagebox-discord-background);
    border-color: var(--messagebox-discord-border);
    color: white;
}

.messagebox.discord a,
.messagebox.discord a:visited,
.messagebox.discord a:active {
    color: var(--messagebox-discord-color);
}

.messagebox.discord a.external,
.messagebox.discord a:visited.external,
.messagebox.discord a:active.external {
    font-style: italic;
}

.messagebox.stub {
    width: 40%;
}

.messagebox.hasdialogue {
    padding: 0 10px;
    width: auto;
}

:root {
    --ajaxpoll-background: #fafafa;
    --ajaxpoll-text-color: var(--base-text-color);
    --ajaxpoll-answerbar-background: var(--body-light);
    --ajaxpoll-answerbar-border: var(--body-border);
}

.ajaxpoll {
    background: var(--ajaxpoll-background);
}

.ajaxpoll .ajaxpoll-hover-vote,
.ajaxpoll .ajaxpoll-hover-revoke,
.ajaxpoll .ajaxpoll-ajax {
    background: none;
}

.ajaxpoll .ajaxpoll-answer-vote {
    border-color: var(--ajaxpoll-answerbar-border);
}

.ajaxpoll .ajaxpoll-answer-vote div {
    background: var(--ajaxpoll-answerbar-background);
    border-color: var(--ajaxpoll-answerbar-border);
}

.ajaxpoll .ajaxpoll-answer-vote span {
    top: -5px;
}

.ajaxpoll .ajaxpoll-our-vote div {
    border-color: #3c780a;
}

.ajaxpoll .ajaxpoll-misc,
.ajaxpoll .ajaxpoll-info,
.ajaxpoll .ajaxpoll-ajax {
    color: var(--ajaxpoll-text-color);
}

.ajaxpoll-id-info {
    display: none;
}

:root {
    --inventorytable-background-image: url('images/Inventory_tab.png');
    --lootingbagtable-background-image: url('images/Looting_bag_tab.png');
    --runepouchtable-background-image: url('images/Rune_pouch_background.png');
    --menagerietable-background-image: url('images/Menagerie_interface.png');
    --equipment-border-image-source: url("images/Interface_border.png");
    --equipment-background-color: #3e3529;
    --equipment-div-background-image: url("images/Worn_equipment_tab_(no_buttons).png");
    --equipment-div-buttons-background-image: url("images/Worn_equipment_tab_(borderless).png");
    --equipment-blank-background-image: url('images/Blank_slot.png');
}

.inventorytable,
.lootingbagtable,
.runepouchtable {
    background-repeat: no-repeat;
    background-position: top left;
    height: auto;
    border-spacing: 0;
    border-collapse: separate;
    margin-top: 7px;
    margin-bottom: 7px;
}

.inventorytable.storage-left,
.lootingbagtable.storage-left,
.runepouchtable.storage-left {
    float: left;
    clear: left;
    margin-right: 7px;
}

.inventorytable.storage-center,
.lootingbagtable.storage-center,
.runepouchtable.storage-center {
    margin-left: auto;
    margin-right: auto;
}

.inventorytable.storage-right,
.lootingbagtable.storage-right,
.runepouchtable.storage-right {
    float: right;
    clear: right;
    margin-left: 7px;
}

.inventorytable td,
.lootingbagtable td,
.runepouchtable td {
    padding: 0;
    border: 0;
    text-align: center;
    position: relative;
}

.inventorytable {
    background-image: var(--inventorytable-background-image);
    width: 204px;
    padding: 13px 16px 10px;
}

.inventorytable td {
    width: 43px;
    height: 36px;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .inventorytable a {
          image-rendering: -moz-crisp-edges;
          image-rendering: pixelated;
          image-rendering: crisp-edges;
    }

}

.lootingbagtable {
    background-image: var(--lootingbagtable-background-image);
    width: 204px;
    padding: 31px 17px 20px 12px;
}

.lootingbagtable td {
    width: 44px;
    height: 32px;
}

.runepouchtable {
    background-image: var(--runepouchtable-background-image);
    width: 158px;
    padding: 24px 7px 6px;
}

.runepouchtable.storage-left {
    margin-left: 23px;
}

.runepouchtable.storage-right {
    margin-right: 23px;
}

.runepouchtable td {
    width: 32px;
    height: 32px;
    line-height: 1.6em;
}

.runepouchtable td.middle-rune {
    padding-left: 24px;
    padding-right: 24px;
}

.divinerunepouch td.middle-rune {
    padding-left: 6px;
    padding-right: 6px;
}

.divinerunepouch td.middle-rune + td.middle-rune {
    padding-left: 0;
}

.menagerietable {
    background-image: var(--menagerietable-background-image);
    background-repeat: no-repeat;
    background-position: top left;
    width: 300px;
    height: 250px;
    padding: 56px 28px 34px 6px;
    border-spacing: 0;
}

.menagerietable td {
    padding: 0;
    border: 0;
    text-align: center;
    position: relative;
    width: 46px;
    height: 32px;
}

.inventorytable .inv-quantity-text,
.lootingbagtable .inv-quantity-text,
.runepouchtable .inv-quantity-text,
.equipment .inv-quantity-text {
    font-family: 'RuneScape Small';
    font-size: 12pt;
    position: absolute;
    top: -8px;
    left: 4px;
    text-shadow: #000 1px 1px;
    color: #ffff00;
    pointer-events: none;
}

.inventorytable .inv-quantity-text.qty-1,
.lootingbagtable .inv-quantity-text.qty-1,
.runepouchtable .inv-quantity-text.qty-1,
.equipment .inv-quantity-text.qty-1 {
    color: #ffff00;
}

.inventorytable .inv-quantity-text.qty-100k,
.lootingbagtable .inv-quantity-text.qty-100k,
.runepouchtable .inv-quantity-text.qty-100k,
.equipment .inv-quantity-text.qty-100k {
    color: #fff;
}

.inventorytable .inv-quantity-text.qty-10m,
.lootingbagtable .inv-quantity-text.qty-10m,
.runepouchtable .inv-quantity-text.qty-10m,
.equipment .inv-quantity-text.qty-10m {
    color: #01ff80;
}

.runepouchtable .inv-quantity-text {
    left: -1px;
}

.runepouchtable td.middle-rune .inv-quantity-text {
    left: 23px;
}

.divinerunepouch td.middle-rune .inv-quantity-text {
    left: 5px;
}

.divinerunepouch td.middle-rune + td.middle-rune .inv-quantity-text {
    left: 0;
}

.equipment .inv-quantity-text {
    top: -3px;
}

span.noted-item {
    width: 30px;
    height: 29px;
    text-align: center;
    display: inline-block;
}

span.noted-item a {
    width: 30px;
    height: 29px;
}

.noted-item a {
    background-image: url('images/Bank_note.png');
    background-repeat: no-repeat;
    display: inline-block;
    background-position: center;
}

td.noted-item a {
    width: 32px;
    line-height: 28px;
}

.noted-item img {
    transform: scale(0.65);
}

.equipment {
    background: var(--equipment-background-color);
    border: 9px solid transparent;
    border-image-source: var(--equipment-border-image-source);
    border-image-slice: 9;
    border-image-width: 9px;
    border-image-outset: 0;
    border-image-repeat: repeat;
    margin: 7px 0;
}

.equipment-div,
.equipment-div-buttons {
    background-repeat: no-repeat;
    background-position: top left;
    position: relative;
    width: 175px;
    margin: 5px;
    display: flex;
}

.equipment-div {
    background-image: var(--equipment-div-background-image);
    height: 222px;
}

.equipment-div-buttons {
    background-image: var(--equipment-div-buttons-background-image);
    height: 244px;
}

.equipment-blank {
    background-image: var(--equipment-blank-background-image);
    width: 36px;
    height: 36px;
}

.equipment-left {
    float: left;
    clear: left;
    margin-right: 7px;
}

.equipment-center {
    margin-left: auto;
    margin-right: auto;
}

.equipment-right {
    float: right;
    clear: right;
    margin-left: 7px;
}

.equipment-stats,
.equipment-ikod {
    font-family: 'RuneScape';
    font-size: 16px;
    line-height: 14px;
    color: #ff981f;
    text-shadow: 1px 1px 0 black;
}

td.equipment-stats b {
    font-family: 'RuneScape';
    font-weight: bold;
    display: block;
    margin-top: 2px;
}

td.equipment-stats data {
    display: block;
    padding-left: 8px;
}

td.equipment-stats data img {
    vertical-align: bottom;
}

td.equipment-ikod {
    max-width: 325px;
}

td.equipment-ikod em {
    font-style: normal;
    display: block;
    margin-bottom: 3px;
}

td.equipment-ikod b {
    font-weight: normal;
    color: white;
}

td.equipment-ikod strong {
    font-weight: normal;
    color: red;
}

td.equipment-ikod ul {
    list-style: none;
    margin: 0;
}

td.equipment-ikod li {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    margin: 0;
    margin-right: 14px;
}

td.equipment-ikod img {
    cursor: help;
}

td.equipment-ikod hr {
    border-top: 1px solid #0e0e0c;
    border-bottom: 1px solid #474745;
    margin: 7px 0;
}

.equipment-plinkp {
    position: absolute;
    width: 36px;
    height: 36px;
    left: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.equipment-head,
.equipment-cape,
.equipment-neck,
.equipment-ammo,
.equipment-weapon,
.equipment-torso,
.equipment-shield,
.equipment-legs,
.equipment-gloves,
.equipment-boots,
.equipment-ring,
.equipment-statsbutton,
.equipment-ikodbutton {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

.equipment-head {
    left: 70px;
    top: 0px;
}

.equipment-cape {
    left: 29px;
    top: 39px;
}

.equipment-neck {
    left: 70px;
    top: 39px;
}

.equipment-ammo {
    left: 111px;
    top: 39px;
}

.equipment-weapon {
    left: 14px;
    top: 78px;
}

.equipment-torso {
    left: 70px;
    top: 78px;
}

.equipment-shield {
    left: 126px;
    top: 78px;
}

.equipment-legs {
    left: 70px;
    top: 118px;
}

.equipment-gloves {
    left: 14px;
    top: 158px;
}

.equipment-boots {
    left: 70px;
    top: 158px;
}

.equipment-ring {
    left: 126px;
    top: 158px;
}

.equipment-statsbutton {
    top: 204px;
    left: 0px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    box-shadow: 2px 2px 3px black;
}

.equipment-ikodbutton {
    top: 204px;
    left: 90px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    box-shadow: 2px 2px 3px black;
}

:root {
    --transcript-border-color: #b4a36a;
    --transcript-border-hover-color: #88701d;
    --filter-transcript-icon: none;
}

.transcript {
    background: var(--body-light);
    border-radius: 0 0 120px 120px / 0 0 8px 8px;
    box-shadow: 0 5px 7px -7px rgba(0, 0, 0, 0.4);
    width: 50%;
    overflow: hidden;
    margin-bottom: 1em;
    padding: 0.5em 1em 1em 1em;
    clear: left;
}

.transcript.godletter {
    margin: 20px auto;
    padding: 20px 30px;
}

.quest-action {
    text-align: center;
    font-style: italic;
    margin: 0 5%;
}

.quest-action:before,
.quest-action:after {
    content: '———';
    margin: 4px;
    letter-spacing: -1px;
}

.speaksin-list ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0.15em 1.6em;
}

.transcript-chatbox-image {
    display: inline-block;
    margin-right: 5px;
    position: relative;
    text-align: center;
    width: 32px;
}

.transcript-chatbox-image + .transcript-chatbox-image {
    left: -10px;
    top: 10px;
    margin-right: 0;
}

.transcript-opt::before {
    content: '';
    background: url('/images/Black-chevron.svg');
    background-repeat: no-repeat;
    filter: var(--filter-transcript-icon);
    display: inline-block;
    width: 7px;
    height: 10px;
    margin-right: 5px;
}

.transcript-opt.disabled {
    filter: opacity(0.5);
}

:root {
    --blockquote-color: #444e5a;
}

.quote-source {
    text-align: right;
}

.quote-source::before {
    content: '— ';
}

blockquote {
    color: var(--blockquote-color);
}

.mw-body-content blockquote {
    border-color: var(--body-mid);
}

:root {
    --byline-arrow-filter: invert(29%) sepia(0%) saturate(376%) hue-rotate(172deg) brightness(87%) contrast(80%);
    --tile-border-color: #cabe9b;
    --tile-background-color: #f9f3eb;
    --tile-link-button-color: #f5e9db;
    --tile-link-button-highlight-color: #dfccb0;
    --tile-dark-color: #fff;
    --tile-dark-bg: #5d6773;
    --tile-dark-link-color: #ccc;
    --tile-dark-byline-color: rgba(255, 255, 255, 0.7);
    --tile-dark-header-color: #fff;
}

.tile {
    background: var(--tile-background-color);
    border: 1px solid var(--tile-border-color);
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
    padding: 1.5em 2em 1em;
    max-width: 40em;
}

.tile h2 {
    font-size: 1.4em;
    font-weight: bold;
    border: none;
    margin: 0 0 0.4em;
}

.tile .byline + h2 {
    margin-top: -0.5em;
}

.tile.dark {
    color: var(--tile-dark-color);
    background: var(--tile-dark-bg);
    border: none;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
}

.tile.dark h2 {
    color: var(--tile-dark-header-color);
}

.tile.dark a {
    color: var(--tile-dark-link-color);
}

.tile.dark .byline {
    color: var(--tile-dark-byline-color);
}

.byline {
    font-size: 0.9em;
    color: var(--byline-color);
}

.byline a {
    color: var(--byline-color);
}

.tile-row {
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 1em;
}

.tile-halves {
    display: flex;
    flex-flow: row wrap;
    border: 1px solid var(--tile-border-color);
    background: var(--tile-background-color);
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
    max-width: 100%
}

.tile-halves h2 {
    font-size: 1.4em;
    font-weight: bold;
    border: none;
    margin: 0 0 0.4em;
}

.tile-halves .byline + h2 {
    margin-top: -0.5em;
}

.tile-top {
    width: 100%;
    padding: 1.3rem 1.5rem 0.6rem;
}

.tile-top.tile-image {
    display: flex;
    align-items: center;
    background-color: var(--byline-color);
    overflow: hidden;
    padding: 0;
    height: 13vw;
    max-height: 12em;
    transition: 0.4s ease-out;
}

.tile-halves:hover .tile-top.tile-image img {
    transform: scale(1.1);
    transition: 0.5s ease-out;
}

.tile-top.tile-image a {
    width: 100%;
}

.tile-top.tile-image img {
    width: 100%;
    object-fit: cover;
    max-height: 200px;
    transition: 0.4s ease-out;
}

.tile-bottom {
    background: var(--tile-background-color);
    border-top: 1px solid var(--tile-border-color);
    width: 100%;
    padding: 1rem 1.5rem 0.6rem;
}

.tile-bottom.link-button {
    align-self: flex-end;
    padding: 0;
}

.tile-bottom.link-button a {
    display: block;
    text-align: center;
    padding: 0.75em 1.5em 0.8em;
    text-decoration: none;
}

.tile-bottom.read-more {
    background: var(--tile-link-button-color);
    transition: 0.3s ease-out;
}

.tile-bottom.read-more a {
    color: var(--byline-color);
    font-weight: bold;
    text-align: right;
}

.tile-bottom.read-more:hover {
    background: var(--tile-link-button-highlight-color);
}

.tile-bottom.read-more:hover .arrow {
    transform: translateX(50%);
}

.tile-bottom.read-more .arrow {
    filter: var(--byline-arrow-filter);
    margin-left: 0.4em;
    transition: 0.3s ease-out;
}

.tile.oswf-day {
    margin-left: 0.5em;
}

.oswf-tile {
    margin: 1em;
}

.oswf-tile.oswf-complete {
    opacity: 0.65;
}

.oswf-tile .oswf-summary {
    font-size: 105%;
    line-height: 1.6;
    margin-top: -0.4em;
}

.oswf-tile .oswf-img {
    display: block;
    max-width: 75px;
    float: right;
}

.oswf-tile .oswf-img img {
    max-width: 100%;
    height: auto;
}

.oswf-tile .oswf-guidance {
    border-top: 1px solid #eee;
    padding-top: 1em;
}

:root {
    --mainpage-recent-updates-description-color: #333;
    --bigtile-background-color: #f9f3eb;
    --bigtile-background-fade-zero: rgba(249, 243, 235, 0);
    --bigtile-background-fade-seventyfive: rgba(249, 243, 235, 0.75);
}

body.page-Old_School_Near-Reality_Wiki .mw-parser-output {
    max-width: 75em;
    margin: 0 auto;
}

body.page-Old_School_Near-Reality_Wiki.action-view .catlinks,
body.page-Old_School_Near-Reality_Wiki.action-view #contentSub,
body.page-Old_School_Near-Reality_Wiki.action-view #siteNotice {
    display: none;
}

.mainpage-header {
    display: flex;
    margin: 2.6em 1.75em 1.5em;
}

.mainpage-header .header-intro {
    flex: 2;
}

.mainpage-header .header-intro h1 {
    font-size: 2.5em;
    font-weight: bold;
    border: none;
    margin: 0 0 0.15em;
}

.mainpage-header .header-intro p {
    font-size: 1.1em;
    line-height: 1.7em;
}

.mainpage-header .header-stats {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -1em;
}

.mainpage-header .header-stats ul {
    list-style: none;
}

.mainpage-body {
    display: flex;
    flex-flow: row wrap;
}

.mainpage-body h2 a {
    color: var(--text-color);
}

.mainpage-body .tile {
    padding-left: 1.75em;
    padding-right: 1.75em;
    max-width: 100%;
    width: 100%
}

.mainpage-body .tile-row {
    width: 100%;
    margin-bottom: 0.9rem;
}

.mainpage-left {
    flex: 2;
    display: flex;
    flex-flow: column wrap;
    margin-right: 0.9rem;
}

.mainpage-left > * {
    margin: 0 0 0.9rem;
}

.mainpage-right {
    flex: 1;
    display: flex;
    flex-flow: column wrap;
}

.mainpage-right > * {
    margin: 0 0 0.9rem;
}

.arrow {
    background: url('images/White-chevron.svg') no-repeat;
    display: inline-block;
    height: 0.7rem;
    width: 0.45rem;
    vertical-align: middle;
}

.arrow.dark {
    filter: invert(80%);
}

.mainpage-recent-updates .tile-halves {
    flex: 1;
    align-content: flex-start;
    margin-right: 0.9rem;
}

.mainpage-recent-updates .tile-halves:hover .tile-top img {
    transform: scale(1.04);
}

.mainpage-recent-updates .tile-halves:last-child {
    /*margin-right: 0;*/
}

.mainpage-recent-updates .tile-bottom.link-button a {
    text-align: left;
    padding: 1rem 1.5rem 0.75rem;
}

.mainpage-recent-updates h2 {
    margin: -0.5em 0 0.3em;
}

.mainpage-recent-updates p:not(.byline) {
    font-size: 0.9em;
    line-height: 1.75em;
    color: var(--mainpage-recent-updates-description-color);
}

.mainpage-contents .tile-halves {
    flex: 1;
    margin-right: 0.9rem;
}

.mainpage-contents .tile-halves:last-child {
    /*margin-right: 0;*/
}

.mainpage-contents .tile-top {
    position: relative;
}

.mainpage-contents h2 {
    margin: 0;
    padding: 0;
}

.mainpage-skills ul {
    columns: 3;
    margin: 1em 0.7em 0.7em 1em;
}

.mainpage-skills li {
    display: flex;
    margin-bottom: 0.29em;
}

.mainpage-skills li a:first-child {
    border-radius: 3px;
    padding: 4px;
    width: 25px;
    height: 25px;
    text-align: center;
}

.mainpage-skills li a:last-child {
    flex: 1;
    display: flex;
    align-items: center;
    color: var(--base-text-color);
    font-weight: bold;
    padding-left: 0.7em;
    text-decoration: none;
}

.mainpage-skills li:hover a:first-child {
    border-radius: 3px 0 0 3px;
}

.mainpage-skills li:hover a:last-child {
    color: rgba(255, 255, 255, 0.9);
    border-radius: 0 3px 3px 0;
}

.skill-agility a:first-child,
.skill-melee a:first-child {
    background: #bc483d;
}

.skill-agility:hover a:last-child,
.skill-melee:hover a:last-child {
    background: #932419;
}

.skill-ranged a:first-child {
    background: #748d36;
}

.skill-ranged:hover a:last-child {
    background: #4c6215;
}

.skill-magic a:first-child {
    background: #6274ab;
}

.skill-magic:hover a:last-child {
    background: #304791;
}

.skill-fishing a:first-child,
.skill-fletching a:first-child {
    background: #3e8e9a;
}

.skill-fishing:hover a:last-child,
.skill-fletching:hover a:last-child {
    background: #1a6671;
}

.skill-cooking a:first-child,
.skill-thieving a:first-child {
    background: #91689e;
}

.skill-cooking:hover a:last-child,
.skill-thieving:hover a:last-child {
    background: #713684;
}

.skill-farming a:first-child,
.skill-woodcutting a:first-child {
    background: #59924f;
}

.skill-farming:hover a:last-child,
.skill-woodcutting:hover a:last-child {
    background: #306f25;
}

.skill-mining a:first-child {
    background: #6385a8;
}

.skill-mining:hover a:last-child {
    background: #315f8d;
}

.skill-smithing a:first-child {
    background: #d2b244;
}

.skill-smithing:hover a:last-child {
    background: #b69213;
}

.mainpage-wikinews .news-date {
    font-weight: bold;
    margin-bottom: 0.3em;
}

.mainpage-wikinews p:not(.news-date) {
    margin-left: 1em;
}

.popular-pages ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0.6em;
    margin: 1em 0 0.7em 0;
}

.mp-popular-page-light {
    display: flex;
    align-items: center;
    list-style: none;
    background-color: var(--button-background);
    transition: 0.2s;
}

.mp-popular-page-light a {
    flex: 1;
    display: block;
    color: white;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    padding: 0.7em 1em;
}

.mp-popular-page-light:hover {
    filter: brightness(115%);
    transition: 0.2s;
}

.mainpage-discord {
    border: none;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
}

.mainpage-discord .tile-top {
    display: flex;
    align-items: center;
    background: #5865f2;
    padding: 1em 1.75em;
}

.mainpage-discord .tile-top a {
    flex: 1;
    position: relative;
    text-decoration: none;
}

.mainpage-discord .tile-top a:hover .arrow {
    transform: translateX(50%);
}

.mainpage-discord .tile-bottom {
    background: #525ee0;
    border: none;
    padding: 1em 1.75em;
}

.mainpage-discord .tile-bottom p {
    color: #fff;
    font-weight: bold;
    font-size: 0.9em;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
}

.mainpage-discord .partner-icon {
    margin-right: 0.75em;
}

.mainpage-discord .server-name {
    color: #fff;
    font-weight: bold;
    font-size: 1.25em;
    margin: 0.5em 0 -0.15em;
}

.mainpage-discord .server-tagline {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5em;
}

.mainpage-discord .arrow {
    position: absolute;
    top: calc(50% - .5em);
    right: 0;
    height: 1em;
    width: 0.7em;
    background-size: 0.7em 1em;
    transition: 0.3s ease-out;
}

.mainpage-twitter {
    border: none;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
}

.mainpage-twitter .tile-top {
    display: flex;
    align-items: center;
    background: #00aced;
    padding: 1em 1.75em;
}

.mainpage-twitter .tile-top a {
    flex: 1;
    position: relative;
    text-decoration: none;
}

.mainpage-twitter .tile-top a:hover .arrow {
    transform: translateX(50%);
}

.mainpage-twitter .tile-bottom {
    background: #0084b4;
    border: none;
    padding: 1em 1.75em;
}

.mainpage-twitter .tile-bottom p {
    color: #fff;
    font-weight: bold;
    font-size: 0.9em;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
}

.mainpage-twitter .twitter-logo {
    margin-right: 0.75em;
}

.mainpage-twitter .twitter-name {
    color: #fff;
    font-weight: bold;
    font-size: 1.25em;
    margin: 0.5em 0 -0.15em;
}

.mainpage-twitter .twitter-tagline {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5em;
}

.mainpage-twitter .arrow {
    position: absolute;
    top: calc(50% - .5em);
    right: 0;
    height: 1em;
    width: 0.7em;
    background-size: 0.7em 1em;
    transition: 0.3s ease-out;
}

.mainpage-editing {
    border: none;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
}

.mainpage-editing .tile-top {
    background: #438ab5;
}

.mainpage-editing .tile-bottom {
    background: #3980ab;
    border: none;
    padding: 0.8rem 1.5rem 0.4rem;
}

.mainpage-editing h2,
.mainpage-editing a {
    color: #fff;
}

.mainpage-editing p {
    color: rgba(255, 255, 255, 0.9);
}

.mainpage-editing ul {
    list-style-image: url('images/Transparent-chevron.svg');
}

.mainpage-poll .ajaxpoll {
    border: none;
    background: none;
    padding: 0;
    width: auto;
}

@media only screen and (max-width: 65.999rem) {
    .mainpage-recent-updates .tile-halves:last-child {
          display: none;
    }

    .mainpage-recent-updates .tile-halves:hover .tile-top img {
          transform: scale(1.04);
    }

    .mainpage-recent-updates .tile-halves:nth-last-child(2) {
          margin-right: 0;
    }

    .mainpage-recent-updates .tile-top {
          height: 18vw;
    }

    .mainpage-contents .tile-halves:nth-child(1),
    .mainpage-contents .tile-halves:nth-child(2),
    .mainpage-contents .tile-halves:nth-child(3) {
          margin-bottom: 0.9rem;
    }

    .mainpage-contents .tile-halves:nth-child(3) {
          margin-right: 0;
    }

    .mainpage-contents .line-break {
          width: 100%;
    }

    .mainpage-skills ul {
          columns: 2 9em;
    }

    .mainpage-header .header-stats {
          display: none;
    }

    .popular-pages ul {
          grid-template-columns: repeat(2, 1fr);
    }

}

@media only screen and (min-width: 66rem) and (max-width: 81.999rem) {
    .mainpage-contents .contents-minigames {
          display: none;
    }

    .mainpage-contents .contents-calculators {
          margin-right: 0;
    }

    .mainpage-header .header-stats,
    .mainpage-contents .line-break {
          display: none;
    }

}

@media only screen and (min-width: 82rem) {
    .mainpage-header .header-intro {
          margin-right: 2em;
    }

    .mainpage-contents .line-break {
          display: none;
    }

    body.wgl-readermode .mainpage-contents .tile-halves:last-child {
          display: none;
    }

    body.wgl-readermode .mainpage-contents .tile-halves:nth-last-child(2) {
          margin-right: 0;
    }

}

.mw-prefs-buttons {
    background-color: var(--body-main);
    border-top-color: var(--body-border);
    box-shadow: none;
}

.mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed,
.mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout {
    border-color: var(--body-border);
}

.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:nth-child(even) td,
.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:nth-child(even):hover td {
    background-color: var(--body-light);
}

.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:hover td {
    background-color: var(--body-mid);
}

:root {
    --rc-positive-color: #407813;
    --rc-negative-color: #b41e0f;
}

.mw-plusminus-pos {
    color: var(--rc-positive-color);
}

.mw-plusminus-neg {
    color: var(--rc-negative-color);
}

.client-js .mw-recentchanges-toplinks:not(.mw-recentchanges-toplinks-collapsed) {
    border-color: var(--body-border);
    background-color: var(--body-light);
    border-radius: 2px;
}

.mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title {
    color: var(--text-color);
}

.mw-rcfilters-ui-filterTagMultiselectWidget-emptyFilters {
    color: var(--byline-color);
}

.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
    background-color: var(--ooui-interface);
    border-color: var(--ooui-interface-border);
}

.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget {
    border-color: var(--ooui-interface-border);
}

.mw-rcfilters-ui-menuSelectWidget-footer {
    background-color: var(--ooui-interface);
    border-color: var(--ooui-interface-border);
}

.mw-rcfilters-ui-viewSwitchWidget label.oo-ui-labelWidget {
    color: var(--byline-color);
}

.mw-rcfilters-ui-tagItemWidget-popup-content {
    color: var(--ooui-text);
}

.mw-changeslist-legend,
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
    background-color: var(--body-light);
    border-color: var(--body-dark);
}

.mw-rcfilters-ui-changesListWrapperWidget-previousChangesIndicator {
    border-color: var(--sidebar);
}

.client-js .mw-changeslist ul,
.client-js .mw-changeslist table.mw-enhanced-rc {
    margin-left: 0;
}

.mw-rcfilters-ui-watchlistTopSectionWidget-separator {
    border-color: var(--sidebar);
}

.mw-rcfilters-ui-itemMenuOptionWidget-header {
    border-bottom-color: var(--ooui-interface);
    background-color: var(--ooui-interface-border);
}

.mw-rcfilters-ui-itemMenuOptionWidget:not(:last-child):not(.mw-rcfilters-ui-itemMenuOptionWidget-identifier-talk) {
    border-bottom-color: var(--ooui-interface-border);
}

.mw-rcfilters-ui-itemMenuOptionWidget-label-title,
.mw-rcfilters-ui-itemMenuOptionWidget-label-desc {
    color: var(--text-color);
}

.mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected) {
    background-color: var(--body-main);
}

.mw-rcfilters-ui-filterMenuSectionOptionWidget {
    background-color: var(--body-mid);
}

.mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label {
    color: var(--ooui-text);
}

.mw-rcfilters-ui-filterMenuHeaderWidget-title {
    color: var(--ooui-text);
}

.mw-rcfilters-ui-filterMenuHeaderWidget-header {
    border-bottom-color: var(--ooui-interface-border);
    background-color: var(--ooui-interface);
}

.mw-rcfilters-ui-itemMenuOptionWidget-view-namespaces {
    border-top-color: var(--ooui-interface-border);
}

.mw-rcfilters-ui-datePopupWidget {
    border-color: var(--ooui-interface-border);
}

.mw-rcfilters-ui-datePopupWidget .mw-rcfilters-ui-valuePickerWidget-title {
    color: var(--byline-color);
}

.client-js .mw-changeslist.mw-rcfilters-ui-changesListWrapperWidget-highlighted ul,
.client-js .mw-changeslist.mw-rcfilters-ui-changesListWrapperWidget-highlighted table.mw-enhanced-rc {
    margin-left: 1.5em;
}

.page-Special_CreateAccount .mw-ui-container,
.page-Special_UserLogin .mw-ui-container {
    max-width: 64rem;
    margin: 0 auto;
}

.mw-number-text {
    color: var(--byline-color);
}

.mw-body-content .mw-number-text h3 {
    color: var(--text-color);
}

.results-info {
    color: inherit;
}

.mw-search-profile-tabs {
    background-color: var(--body-mid);
    border-color: transparent;
}

.search-types .current a {
    color: inherit;
}

#mw-searchoptions {
    background-color: var(--body-mid);
    border-color: transparent;
}

#mw-searchoptions .divider {
    border-color: var(--body-border);
}

#mw-searchoptions h4 {
    font-family: inherit;
}

.searchresult {
    line-height: 1.5;
}

.searchalttitle,
#mw-search-interwiki li {
    font-size: 90%;
}

.mw-search-result-data {
    color: inherit;
    opacity: 0.6;
}

.page-Special_ListFiles a.image img {
    width: inherit;
    height: inherit;
}

.page-Special_ListFiles .TablePager_col_thumb {
    text-align: center;
}

#editcount table[border="1"] {
    background-color: var(--body-main) !important;
    margin-top: 0.5em;
}

#editcount table[border="1"] th,
#editcount table[border="1"] td {
    padding: 0.25em 0.45em;
}

#editcount table[border="1"] th {
    background-color: var(--wikitable-header-bg);
    border: 1px solid var(--wikitable-border);
}

#editcount table[border="1"] td {
    border: 1px solid var(--wikitable-border);
}

#editcount table[border="1"] tr:nth-child(odd) {
    background-color: var(--body-light);
}

.smwb-theme-light .smwb-title,
.smwb-theme-light .smwb-center,
.smwb-theme-light .smwb-actions,
.smwb-theme-light .smwb-prophead {
    background-color: var(--body-mid);
}

.smwb-theme-light .smwb-factbox {
    border-left-color: var(--body-mid);
}

.smwb-theme-light .smwb-ifactbox {
    border-right-color: var(--body-mid);
}

.smwb-theme-light .smwb-propval {
    background-color: var(--body-light);
}

.smwb-action-separator {
    border-color: var(--body-border);
}

.smwb-bottom {
    border-bottom: 1px solid var(--body-border);
}

.smwb-ifactbox .smwb-cell,
.smwb-factbox .smwb-cell {
    border-top: 1px solid var(--body-border);
}

.smwb-propvalue .smwb-prophead,
.smwb-ipropvalue .smwb-prophead,
.smwb-propvalue .smwb-propval,
.smwb-ipropvalue .smwb-propval {
    font-size: 0.9em;
}

:root {
    --filter-black-to-link: invert(36%) sepia(58%) saturate(433%) hue-rotate(344deg) brightness(100%) contrast(91%);
}

#bodyContent span.smwbrowse a {
    color: black;
    background-image: url('images/Smwbrowse.svg');
    filter: var(--filter-black-to-link);
}

#bodyContent span.smwbrowse a:hover {
    color: black;
    background-image: url('images/Smwbrowse-hover.svg');
    text-decoration: underline;
}

#bodyContent span.smwsearch a {
    color: black;
    filter: var(--filter-black-to-link);
    background-image: url('images/Smwsearch.svg');
}

#bodyContent span.smwsearch a:hover {
    color: black;
    background-image: url('images/Smwsearch-hover.svg');
    text-decoration: underline;
}

.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup .mw-echo-ui-placeholderItemWidget {
    background-color: inherit;
}

table.mw-interwikitable.body td.mw-interwikitable-local-yes {
    background-color: var(--table-yes-background);
    color: var(--table-yes-color);
}

.mw-protectedpages-unknown {
    color: var(--byline-color);
}

.watchlistredir,
.allpagesredirect {
    font-style: italic;
}

.allpagesredirect:after {
    color: var(--byline-color);
    content: " (redirect)";
}

.mw-apisandbox-toolbar {
    background: var(--body-main);
}

.oo-ui-menuOptionWidget .mw-apisandbox-flag {
    color: var(--byline-color);
}

#siteNotice {
    text-align: center;
}

#siteNotice ul {
    list-style: none;
}

.sitedir-ltr .mw-dismissable-notice-body {
    margin: 0;
}

.sitedir-ltr .mw-dismissable-notice-close {
    float: none;
    text-align: right;
}

.mw-dismissable-notice-close-parent {
    min-height: 1em;
}

.mmg-xpline:after {
    content: ', ';
}

.mmg-xpline:last-child:after {
    content: '';
}

.mmg-itemline {
    display: block;
}

.discussiontable th {
    background-color: var(--body-dark);
}

.discussiontable th a {
    color: inherit;
}

.discussiontable .topic,
.discussiontable .edited,
.discussiontable .edited-by,
.discussiontable .rg-archive {
    background-color: var(--body-mid);
}

.dpltable {
    margin-top: -30px;
}

.dpltable td {
    padding-left: 5px;
}

.dpltable,
.discussiontable {
    width: 100%;
}

.dpltable .topic,
.discussiontable .topic {
    width: 40%;
}

.dpltable .edited,
.discussiontable .edited,
.dpltable .edited-by,
.discussiontable .edited-by {
    width: 30%;
}

.dpltable .rg-archive,
.discussiontable .rg-archive {
    width: 20%;
}

body.ns-110 #ca-talk {
    display: none;
}

.color-container {
    display: flex;
    margin: 2em auto;
    width: 80%;
    max-width: 60em;
}

.color-column {
    flex: 1;
    margin-right: 1em;
}

.color-column:last-child {
    margin-right: 0;
}

.color-column h3 {
    padding: 0;
}

.color-group {
    color: #333;
    padding: 1em 1.5em;
    transition: 0.2s ease-out;
}

.color-group:hover {
    transform: scale(1.03);
}

.color-group.dark {
    color: #fff;
}

.color-group .variable,
.color-group .hexcode {
    font-family: monospace;
    font-size: 1.1em;
    user-select: all;
    margin: 0;
}

body.wgl-readermode .color-group .variable,
body.wgl-readermode .color-group .hexcode {
    font-size: inherit;
}

.color-group .variable {
    font-weight: bold;
}

:root {
    --gemw-positive-color: #6bc71f;
    --gemw-unchanged-color: #3ea6e6;
    --gemw-negative-color: #ee4231;
    --gemw-historical-border-color: #000;
}

.gemw-container {
    width: 90%;
    max-width: 60em;
    margin: 4em auto;
}

.gemw-header {
    display: flex;
    border-left-width: 0.25em;
    border-left-style: solid;
    padding-left: 1em;
    margin-bottom: 3em;
}

.gemw-header.positive {
    border-color: var(--gemw-positive-color);
}

.gemw-header.negative {
    border-color: var(--gemw-negative-color);
}

.gemw-header.unchanged {
    border-color: var(--gemw-unchanged-color);
}

.gemw-header .gemw-section-left {
    flex: 1;
}

.gemw-header .gemw-name {
    font-size: 1.15em;
    font-weight: bold;
    margin-bottom: 0;
}

.gemw-header .gemw-name a {
    color: inherit;
}

.gemw-header .gemw-examine {
    color: var(--byline-color);
    font-size: 1.05em;
    font-style: italic;
    margin: 0 1em 1.25em 0;
}

.gemw-header .gemw-price {
    display: inline-block;
    font-size: 2.75em;
    font-weight: bold;
}

.gemw-header .gemw-price::after {
    content: ' coins';
    color: var(--byline-color);
    font-size: 1rem;
    font-weight: normal;
    word-spacing: 0.25em;
}

.gemw-header .gemw-change {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    margin-left: 2em;
    word-spacing: 0.5em;
}

.gemw-header .gemw-change img {
    vertical-align: baseline;
}

.gemw-header .gemw-section-right {
    text-align: right;
}

.gemw-header .gemw-updated {
    color: var(--byline-color);
    line-height: 1.5em;
    margin-top: 0.25em;
}

.gemw-header .gemw-time {
    color: var(--byline-color);
    font-weight: bold;
}

.gemw-body {
    display: flex;
}

.gemw-body .gemw-section-left {
    width: 40%;
    margin-right: 2em;
}

.gemw-body .gemw-section-left dl {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-bottom: -1.25em;
}

.gemw-body .gemw-section-left > div {
    margin-top: 2em;
}

.gemw-body .gemw-section-left a {
    color: var(--byline-color);
}

.gemw-body .gemw-property {
    width: 30%;
    border-top: 0.15em dotted var(--body-mid);
    padding-top: 0.25em;
    margin-bottom: 1.5em;
}

.gemw-body .gemw-property dt {
    color: var(--byline-color);
    font-weight: normal;
}

.gemw-body .gemw-property dd {
    font-weight: bold;
    margin: -0.25em 0 0;
}

.gemw-body .gemw-links {
    color: var(--byline-color);
    margin-bottom: 0.35em;
}

.gemw-body .gemw-section-right {
    width: 60%;
}

.gemw-body .gemw-chart {
    color: #eceeee;
    font-size: 5em;
    text-align: center;
    line-height: 5em;
    position: relative;
}

.gemw-body .gemw-chart .GEChartBox,
.gemw-body .gemw-chart .GEdatachart {
    position: relative;
}

.gemw-container.gemw-historical .gemw-header.positive,
.gemw-container.gemw-historical .gemw-header.negative,
.gemw-container.gemw-historical .gemw-header.neutral,
.gemw-container.gemw-historical .gemw-header.unchanged {
    border-color: var(--gemw-historical-border-color);
}

.gemw-container.gemw-historical .gemw-header .gemw-time .jsPurgeLink,
.gemw-container.gemw-historical .gemw-header .gemw-time > span.plainlinks {
    display: none;
}

.gemw-container.gemw-historical .gemw-header .gemw-section-left:after {
    content: "This is a historical item no longer available on the Grand Exchange. The data is preserved here as an archive.";
    font-style: italic;
}

#overlay {
    display: none;
    background-color: var(--ooui-window-background);
    height: auto;
    width: auto;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
}

#GEchartpopup {
    background: var(--ooui-interface);
    border: 1px solid var(--ooui-interface-border);
    border-radius: 2px;
    color: var(--ooui-text);
    position: fixed;
    left: 0;
    right: 0;
    top: 1em;
    bottom: 1em;
    margin: auto;
    padding: 1em;
    max-width: 975px;
    z-index: 52;
}

#GEchartpopup #closepopup {
    float: right;
    margin-bottom: 5px;
    z-index: 100;
}

#GEchartpopup #itemstats {
    bottom: 50px;
    font-size: 11px;
    position: absolute;
    right: 45px;
    width: 200px;
    z-index: 10;
}

#GEchartpopup #itemstats caption {
    cursor: pointer;
    text-align: right;
}

#GEpopupchart {
    height: 500px;
}

.highcharts-container .highcharts-range-selector {
    font-size: 11px;
}

.GEPermLink {
    float: right;
    font-size: 14px;
}

.GEPermLink ~ .GEdatachart {
    clear: right;
}

form[id^="chartProperties"] button {
    margin: 3px;
}

.smallChart .highcharts-range-selector {
    display: none;
}

.smallChart .highcharts-button title + rect {
    display: none;
}

.smallChart .highcharts-title {
    white-space: nowrap !important;
}

.smallChart .zoomButton,
.smallChart svg > text:first-of-type,
.smallChart .highcharts-input-group {
    display: none;
}

.smallChart .highcharts-scrollbar,
.mediumChart .highcharts-scrollbar {
    display: none;
}

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

.highcharts-title,
.highcharts-subtitle {
    color: var(--text-color) !important;
}

.highcharts-axis-title {
    fill: var(--text-color) !important;
}

.highcharts-yaxis-grid .highcharts-grid-line,
.highcharts-tick,
.highcharts-axis-line {
    stroke: var(--ooui-normal-border);
}

.highcharts-axis-labels text,
.highcharts-range-selector-group text {
    color: var(--ooui-text) !important;
    fill: var(--ooui-text) !important;
}

.highcharts-label-box {
    stroke: var(--ooui-normal-border);
}

.highcharts-button-box {
    fill: var(--ooui-normal);
}

.highcharts-navigator-outline {
    stroke: var(--ooui-interface-border);
}

.highcharts-scrollbar-track {
    fill: transparent;
    stroke: var(--ooui-interface-border);
}

.highcharts-scrollbar-button,
.highcharts-scrollbar-thumb,
.highcharts-navigator-handle {
    fill: var(--ooui-normal);
    stroke: var(--ooui-normal-border);
}

.highcharts-scrollbar-arrow {
    fill: var(--ooui-text);
}

.highcharts-scrollbar-rifles {
    stroke: var(--ooui-text);
}

#t-print,
#t-permalink {
    display: none;
}

.jcConfig {
    display: none;
}

#filetoc {
    border-radius: 2px;
    background: var(--body-mid);
    border-color: transparent;
    margin: 0.5em auto;
    text-align: center;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
}

li.gallerybox div.thumb {
    border: 0;
    background-color: var(--body-light);
}

.smwfact {
    display: none;
}

.list-header {
    background-color: var(--body-mid);
    color: inherit;
}

.editOptions {
    color: var(--text-color);
    background-color: var(--body-light);
    border-color: var(--body-mid);
}

.tile.big-tile.fsw {
  background: linear-gradient(to left,rgba(255,255,255,0.5),#ffffff 50%),url(https://runescape.wiki/images/Fresh_Start_Worlds_background.png?c6c16) right / auto 150% no-repeat #ffffff;
margin-bottom: 0.9em;
margin-right: 0.9em;
}