Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
VihKun (talk | contribs)
No edit summary
imported>Westgrass
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/***********************************************************************************************************
.dmowiki-note {
* css reset for browser default rules and MediaWiki internal rules
    background:    #ffd9d9;
***********************************************************************************************************/
    border:        2px solid #fb4f4f;
* {
    border-radius: 4px;
  outline: 0;
    overflow:     auto;
}
    padding:      5px;
}


.dmowiki-message {
table {
    background:   #ced7e1;
  white-space: unset; /* be set to `no-wrap` in MW internal css */
    border:        2px solid #77a1cd;
    border-radius: 4px;
    overflow:      auto;
    padding:      5px;
}
}


.digimon-hover-box {
html {
    background: #fff;
  font-size: 16px; /* reset rem size */
    padding:    10px;
    border:    1px solid black;
    width:     200px;
}
}


.digimon-hover-box img {
body {
    width: 120px;
  overflow-y: unset;
}
}


.digimon-mave-hover:after {
pre {
    content: url('/images/arrow.png');
  margin: 0;
    margin: 0 3px;
}
}


#mw-panel .body {
h1, h2, h3, h4, h5, h6 {
    background: none !important;
  padding: 0;
  border: 0 solid transparent;
}
}


.admin-sig a {
table {
    color:       #03a9f4;
  display: table;
    font-weight: bold;
  white-space: unset;
}
}


/*
body, code {
@media (max-width: 1000px) {
  background: none;
    .main-alert {
        display: none;
    }
}
}


.main-alert {
/***********************************************************************************************************
    background: #E74C3C;
* css for wiki.gg top bar and footer bar
    border: 2px solid #E74C3C;
***********************************************************************************************************/
    color: #fff;
/********* wiki.gg header *********/
    padding: 3px;
header#wikigg-header #p-personal ul {
    text-align: center;
  white-space: nowrap; /* for "log out" */
    width: 100%;
}
     position: absolute;
header#wikigg-header #p-personal .vector-menu-content #pt-anonuserpage, header#wikigg-header #p-personal .vector-menu-content #pt-userpage a {
    font-size: 13px;
  /* user avatar icon position fix */
    z-index: 99999;
  padding-top: 0;
  background-position: left center;
}
@media screen and (max-width: 720px) {
  header#wikigg-header #p-personal li#p-themes > span {
     display: inline-block;
  }
}
}


.main-alert a {
/********* wiki.gg footer *********/
    text-decoration: underline;
footer#wikigg-footer .footer-right, footer#wikigg-footer .footer-left {
    font-weight: bold;
  margin: 0;
    color: #fff;
  text-align: center;
}
}
 
@media screen and (max-width: 479px) {
#p-personal {
  footer#wikigg-footer .footer-right, footer#wikigg-footer .footer-left {
    top: 25px !important;
     width: auto;
}*/
  }
 
.alert.alert-info {
     padding: 3px 15px 3px 11px !important;
}
}
 
@media screen and (max-width: 359px) {
.armor-tr .digivolve-level {
  footer#wikigg-footer .footer-middle {
     top: 15px;
     /* hide wiki.gg logo to make room to avoid text wrapping */
    display: none;
  }
}
}


.width-auto {
/***********************************************************************************************************
    width: auto !important;
* theming vars.
***********************************************************************************************************/
:root {
  /*** top site logo ***/
  --theme-site-logo-image: url(/images/e/e6/Site-logo.png);
  --theme-site-logo-filter: none;
  --theme-site-logo-width: 492px;
  --theme-site-logo-height: 108px;
  /*** site background ***/
  --theme-site-background: #73bfe8 url(/images/8/80/Site-background.jpg) top center / cover no-repeat fixed;
  /* common "box" style */
  --theme-box-back-backdrop-filter: none;
  --theme-box-border-radius: 4px;
  --theme-box-border-width: 0px;
  --theme-box-border-style: solid;
  --theme-box-border-color: #511e00;
  --theme-box-shadow: none;
  --theme-box-shadow2: none;
  --theme-box-back-background: rgba(255,255,255,0.8);
  /* be used in multi-layer background, so we can't simpy use background-color */
  --theme-box-background: linear-gradient(rgba(255,255,255,0.5),rgba(255,255,255,0.5));
  --theme-background: var(--theme-box-background), var(--theme-box-back-background);
  /*** text color ***/
  --theme-text-color: #000;
  --theme-text-color-hover: var(--theme-text-color);
  --theme-text-color-note: #9d9d9d;
  --theme-text-color-em: #0c742f;
  --theme-heading-color: var(--theme-text-color);
  --theme-text-color-placeholder: #808080;
  --theme-control-text-color: #333;
  --theme-control-text-color-hover: #333;
  /*** link text color ***/
  --theme-link-color: #611e00;
  --theme-link-color-hover: #000000;
  --theme-link-color-visited: var(--theme-link-color);
  --theme-link-color-redlink: #bf0017;
  --theme-link-color-focus: var(--theme-link-color);
  /* default color for icons */
  --theme-icon-color: var(--theme-link-color);
  --theme-icon-color-redlink: var(--theme-link-color-redlink);
  --theme-icon-color-hover: var(--theme-link-color-hover);
  /* default common color */
  --theme-border-color: #cecece;
  --theme-border-color-accent: #ffdd7a;
  --theme-highlight-background: rgba(97, 30, 0, 0.15);
  /* dropdown menu */
  --theme-dropdown-border: 1px solid var(--theme-box-border-color);
  --theme-dropdown-background: rgba(255,255,255,0.95);
  --theme-dropdown-backdrop-filter: blur(5px);
  /* for wide table */
  --theme-wide-table-shadow-color: #999;
  /** notification **/
  --theme-notice-red-text-color: #ff001f;
  --theme-notice-orange-text-color: #ffab5b;
  /* portable infobox */
  --pi-background: none;
  --pi-border-color: #535663;
  --pi-secondary-background: #797a8e;
  --pi-secondary-background--label: #000;
  --pi-item-spacing: 8px 10px;
}
}
 
:root.theme-dark {
.digivolve-table {
  --theme-site-background: #111d64 url(/images/c/c4/Site-background-dark.jpg) top center / cover no-repeat fixed;
    width:       calc(100% - 400px);
    table-layout: fixed;
}
}
 
:root.theme-dark {
.digivolve-table .down-right-arrow .digivolve-version {
  --theme-box-border-color: #666666;
    bottom: 30px;
  --theme-box-back-background: rgba(30,31,31,0.8);
    right: -2px;
  --theme-box-background: linear-gradient(rgba(30,31,31,0.5), rgba(30,31,31,0.5));
}
}
 
:root.theme-dark {
.infoboxhover a {
  --theme-text-color: #fff;
    display: block;
  --theme-text-color-note: #bbb;
    padding: 10px;
  --theme-text-color-em: #00f600;
}
}
 
:root.theme-dark {
.infoboxhover a * {
  --theme-link-color: #00abff;
    box-sizing: border-box;
  --theme-link-color-hover: #65ccff;
  --theme-link-color-redlink: #dd001a;
}
}
 
:root.theme-dark {
.digivolve-table .down-right-arrow {
  --theme-border-color: #505151;
    text-align:   right;
  --theme-border-color-accent: #296bc4;
    font-size:     24px;
  --theme-highlight-background: rgba(0, 171, 255, 0.15);
    padding-top:   0 !important;
    padding-right: 10px;
    position:      relative;
}
}
 
:root.theme-dark {
.digivolve-table .armor-tr td {
  --theme-dropdown-background: rgba(30,31,31,0.95);
    padding-top: 10px;
}
}


.digivolve-table .digivolve-type {
/* main content box */
    position: absolute;
/* sidebar */
    bottom:  0;
#mw-panel {
    right:   -18px;
  --theme-link-color: var(--theme-text-color);
  --theme-link-color-visited: var(--theme-link-color);
  --theme-link-color-hover: var(--theme-link-color);
   --theme-border-width: 0;
  --theme-gap: 0;
}
}


.digivolve-table .digivolve-version {
#catlinks {
    position: absolute;
  --theme-background: none;
    bottom:   12px;
   --theme-box-border-radius: 0;
    right:   -18px;
}
}


.w46 {
#footer {
    width: 46px !important;
  --theme-background: none;
}
}


.w46 a {
/* navbar */
    display: block;
#mw-head {
    position: relative;
  --theme-link-color: var(--theme-text-color);
  --theme-link-color-visited: var(--theme-link-color);
  --theme-link-color-hover: var(--theme-link-color);
  --theme-background: none;
  --theme-background-shadow: linear-gradient(to top, rgba(0,0,0,0.05), transparent 6px);
  --theme-tab-background: var(--theme-box-background);
  --theme-tab-background-selected: var(--theme-box-background);
  --theme-tab-border-color: var(--theme-box-border-color);
  --theme-tab-border-color-selected: var(--theme-box-border-color);
}
}
 
#mw-head #p-search {
.digivolve-relative {
  --theme-border-color: var(--theme-box-border-color);
    position:  relative;
  --theme-link-color: var(--theme-text-color);
    width:     30px;
  --theme-background: var(--theme-box-background);
    text-align: center;
  --theme-border-color-hover: var(--theme-icon-color-hover);
   --theme-border-color-focus: var(--theme-border-color-hover);
  --theme-shadow: none;
  --theme-shadow-focus: var(--theme-box-shadow);
}
}


.digivolve-level {
/* search result suggestion */
    position: absolute;
body > .suggestions {
    top:       5px;
  --theme-border-color: var(--theme-border-color-accent);
    left:     2px;
  --theme-rule-color: var(--theme-border-color-accent);
    width:     30px;
  --theme-link-color: var(--theme-text-color);
    font-size: 10px;
  --theme-link-color-visited: var(--theme-text-color);
  --theme-link-color-hover: var(--theme-text-color-hover);
}
}


.digivolve-table * {
/***********************************************************************************************************
    box-sizing: border-box;
* base css styles for both interface and content box: font, color, etc.
***********************************************************************************************************/
/** Font **/
html, body {
  font-family: Helvetica, Arial, sans-serif;
  color: var(--theme-text-color);
}
}


.alert {
html {
    display: inline-block !important;
  background: var(--theme-site-background);
    width:  auto !important;
}
}


.wikitable.glossary td,
body {
.wikitable.glossary th,
  font-size: 14px;
.wikitable.droptable td {
  line-height: 1.5;
    padding: 4px 8px;
}
}


.wikitable.glossary td:first-child {
ul, ol {
 
  margin: 2px 0 2px 1.5em;
    text-align: center;
}
}


.wikitable .questname {
li {
    padding: 8px;
  margin: 0 0 2px 0;
}
}


.statstable td {
pre, code, .mw-code {
    padding: 5px 10px !important;
  color: var(--theme-text-color);
  border: 1px solid var(--theme-border-color);
  background: var(--theme-background);
}
}


.wild {
/** link color **/
    border-spacing: 0;
/* Self-links aren't real links, they're not clickable.
    border:         2px solid grey;
* Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive.
    border-radius: 4px;
* We should not use :not(.selflink) since it increases the priority and make it is difficult to override
    width:         400px;
* link styles for certain elements (e.g. in wiki.gg header).
*/
a,
a.selflink:hover, a.selflink:active {
  text-decoration: none;
  color: var(--theme-link-color);
}
}


.wild .wild-mutation {
a:visited {
    background: #bfcaff;
  color: var(--theme-link-color-visited);
}
}


.wild .wild-leader {
a:hover, a:active {
    background: #caffbf;
  text-decoration: underline;
  color: var(--theme-link-color-hover);
}
}


.wild .wild-dd {
/** red link **/
    background: #ffc66b;
/* we don't really need to mark you have "visited" an inexistent page */
a.new, a.new:visited {
  color: var(--theme-link-color-redlink);
}
}


/*.wild .wild-mutation td, .wild .wild-leader td { padding: 2px 2px 2px 10px; }*/
/*********************************************************************************************************/
 
input, button {
.wild .wild-padding td {
  color: var(--theme-control-text-color);
    padding-left: 20px;
  caret-color: var(--theme-text-color);
}
}


.wild th {
input[type=submit] {
    background:             #ffc0cb;
  color: var(--theme-control-text-color);
    border-top-left-radius:  2px;
    border-top-right-radius: 2px;
}
}


.wild th, .wild td {
::placeholder {
    padding: 5px;
  color: var(--theme-text-color-placeholder);
}
}


.questtable td, .questtable th {
/* Removes VisualEdit button */
    padding: 5px !important;
#ca-ve-edit {
  display: none;
}
}


.questtable td:first-child {
/* Link color */
    text-align: center;
.mw-parser-output a.external,
.mw-parser-output a.external:visited,
.mw-parser-output a.extiw,
.mw-parser-output a.extiw:visited,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
  color: var(--theme-link-color);
}
}


.questtable th:first-child {
/* Text color */
    text-align: left;
.i .note,
    width:      50px;
.note-text {
  color: var(--theme-text-color-note);
}
}


.questtable th:first-child + th + th {
.pixel img, .pixel,
    text-align: left;
#mw-imagepage-section-filehistory img {
    width:     40px;
  image-rendering: pixelated; /*for chrome*/
  image-rendering: crisp-edges; /*for firefox*/
}
}


.infobox td {
.small {
 
  font-size: 85%;
    padding: 3px;
}
}


.mw-collapsible-toggle {
.fullwidth, .full-width {
    float: left;
  width: 100%;
}
}


.attacktable td:hover {
.nowrap {
    background: #f2f2f2;
  white-space: nowrap;
}
}


.atkdesc {
/* ".center" has width=100% rule, we don't want it, so use a different class name. */
    color: #666;
.aligncenter,
    width: 450px;
.align-center {
  text-align: center;
}
}


.atkdesc span {
.alignleft,
    margin-left: 10px;
.align-left {
  text-align: left;
}
}


.atkbor {
.alignright,
    border-right: 1px solid #666;
.align-right {
  text-align: right;
}
}


.atkbor:hover {
/* clear fix for float block */
    border-right: 1px solid #af1015;
.clearfix {
  *zoom: 1;
}
}


.atkpad {
.clearfix::before,
    /*padding: 0px 10px;*/
.clearfix::after {
    padding-right: 10px;
  content: " ";
  display: table;
}
}


.atkpad:hover {
.clearfix::after {
    background: #f2f2f2;
  clear: both;
}
}


.infoboxhover, .wild .wild-image {
/* References smaller text than main */
    background-color: transparent;
.references {
  font-size: 90%;
}
}


.infoboxhover:hover, .wild .wild-image:hover {
/* Larger font for Module: code display (default is smaller than other code pages) */
    background-color: #666;
pre.lua.source-lua {
  font-size: 14px !important;
}
}


.selecteddigivolve {
/* Facilitate inline scary transclusion */
    border: 3px solid # /*6cc0e5*//*a8ff00 green*/ fb4f4f;
.scary-transclusion p, .scary-transclusion .mw-parser-output {
    padding: 2px;
  display: inline;
}
}


.doesnotexist {
/* hide last empty paragraph at the end */
    opacity: 0.6;
div.mw-parser-output > p:last-child > br:only-child {
  display: none;
}
}


.doesnotexist:hover {
/* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */
    cursor:  not-allowed;
.apihelp-parameters dd:empty::before {
    opacity: 1;
  content: " ";
}
}


.attacktable td {
.block {
    text-align: center;
  display: block;
}
}


.attacktable .attackname {
.inline {
    padding: 0px 10px;
  display: inline;
}
}


.tableheader a, .tableheader a:visited {
.inline-block {
    color: #fbc93d;
  display: inline-block;
    /*text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;*/
}
}


.tableheader {
hr.space {
 
  height: 4px;
    color:                  white;
  background: none;
    font-weight:            bold;
  border: 0;
    text-align:             center;
    text-shadow:            -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    -webkit-background-size: 50px 50px;
    -moz-background-size:   50px 50px;
    background-size:        50px 50px; /* Controls the size of the stripes */
 
    background-color:        #222 !important;
    background-image:        -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255, 255, 255, .2)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255, 255, 255, .2)), color-stop(.75, rgba(255, 255, 255, .2)), color-stop(.75, transparent), to(transparent));
    background-image:        -webkit-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
    background-image:        -moz-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
    background-image:        -ms-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
    background-image:        -o-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
    background-image:        linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
}
}


.tableheadersmall {
.page-content .vertical-align-top * {
    -webkit-background-size: 15px 15px;
  vertical-align: top;
    -moz-background-size:    15px 15px;
    background-size:         15px 15px; /* Controls the size of the stripes */
}
}


.locations td {
.page-content .vertical-align-bottom * {
    padding: 5px !important;
  vertical-align: bottom;
}
}


.gallerybox img {
/* Drowning Table No Border */
    background: transparent;
.drowning-table-no-border {
  border: none;
}
}


.gallerybox img:hover {
/* Gadget description length */
    background: #666;
.oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header,
.oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body {
  max-width: unset;
}
}


.itembox {
/* Box at the top of all pages when the user has a new message on their User_talk: page */
    background:           #1e2c51;
.usermessage {
    border:               1px solid #a7b3c5;
  box-sizing: border-box;
    -webkit-border-radius: 3px;
  border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-box-border-color);
    -moz-border-radius:    3px;
  border-radius: var(--theme-box-border-radius);
    border-radius:         3px;
  backdrop-filter: var(--theme-box-back-backdrop-filter);
    float:                 right;
  box-shadow: var(--theme-box-shadow);
    font-family:           Arial;
  background: var(--theme-box-background), var(--theme-box-back-background);
    text-shadow:          1px 1px 1px #000;
    width:                 312px;
}
}


.itembox a {
/***********************************************************************************************************
    color:           #fff;
* interface layout and styles for widgets outside of content box
    text-decoration: underline;
***********************************************************************************************************/
:root {
  --layout-topbar-height: 35px; /* height of wiki.gg topbar */
  --layout-sidebar-width: 180px; /* width of side navbar, without gap */
  --layout-sidespace: 24px; /* whitespace width on most left and most right */
  --layout-box-gap: 12px;
  --layout-box-border-radius: 5px;
  --layout-logo-scale: 1;
  --layout-logo-box-height: calc(var(--theme-site-logo-height) * var(--layout-logo-scale) + var(--layout-box-gap) * 2);
  --dropdown-item-padding-x: 12px;
  --dropdown-item-padding-y: 4px;
}
}


.itembox a:hover {
/**** Main Layout START ***********************************************************/
    color: #77ff06;
/**
* Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout
*/
html, body {
  min-height: 100%;
}
}


.itemheader {
html {
    padding: 10px 20px;
  height: 100%;
  scroll-padding-top: calc(var(--layout-topbar-height) + 10px);
}
}


.itemheader span {
body {
    display:     inline-block;
  height: auto;
    margin-left: 12px;
}
}


.iteminfo {
/*** main grid container ***/
    margin-left: 10px !important;
body {
  /* self */
  box-sizing: border-box;
  /* grid */
  display: grid;
  grid-template-columns: [body-left] var(--layout-sidespace) [aside-left] var(--layout-sidebar-width) [aside-right nav-left content-left footer-left] minmax(0, 1fr) [nav-right content-right footer-right] var(--layout-sidespace) [body-right];
  grid-template-rows: [body-start] var(--layout-topbar-height) [page-start logo-start] var(--layout-logo-box-height) [logo-end nav-start aside-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [aside-end page-end] 0fr [body-end];
  gap: 0 var(--layout-box-gap);
}
}


.itemspan {
/*** grid items ***/
    color:      #f0ce97;
/* Flatten DOM structure. Therefore we have following grid items under body grid container:
    display:    inline-block;
* div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer.
    margin-top: 5px;
*/
    width:     114px;
body > .content-wrapper,
#mw-navigation {
  display: contents;
}
}


.description {
/** unused, hide them **/
    display:    inline-block;
#mw-head-base,
    margin-top: 5px;
#mw-navigation > h2 {
  display: none;
}
}


.itembox {
/** side nav bar **/
    background: #1e2c51;
#mw-panel {
    border:     1px solid #a7b3c5;
  grid-column: aside-left/aside-right;
    font-family: Arial;
  grid-row: aside-start/aside-end;
    width:       312px;
  margin-bottom: var(--layout-box-gap);
  float: none;
  width: unset;
  padding: 0;
}
}


.itembox hr {
/** nav **/
    margin:     0 auto;
#mw-head {
    margin-top: 10px;
  grid-column: nav-left/nav-right;
    width:      80%;
  grid-row: nav-start/nav-end;
}
}


.cash {
/** content **/
    color: #fff000;
.mw-body {
  grid-column: content-left/content-right;
  grid-row: content-start/content-end;
}
}


.characterbound {
/* For some page such as api.php, .mw-body is the only child, so take up all space. */
    color: #f00033;
.mw-body:first-child {
  grid-column: body-left/body-right;
  grid-row: page-start/page-end;
}
}


.magic {
/** #footer: content footer **/
    color: #77ff06;
#footer {
  grid-column: footer-left/footer-right;
  grid-row: footer-start/footer-end;
  margin: 0;
  z-index: 0;
}
}


.normal {
/** used to gen box shadow for main box (nav + content + #footer) **/
    color: #fff;
#mw-page-base {
  grid-column: content-left/content-right;
  grid-row: nav-start/footer-end;
  height: 100%;
}
}


.premiumsilk {
/** wiki.gg footer bar **/
    color: #fff000;
body > footer {
  grid-column: body-left/body-right;
  grid-row: page-end/body-end;
}
}


.rare {
/*** logo block. It is absolute position ***/
    color: #06e5ff;
#p-logo {
  position: absolute;
  width: 100%;
  height: var(--layout-logo-box-height);
  left: 0;
  top: var(--layout-topbar-height);
  background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: var(--theme-site-logo-filter);
}
}


.silk {
/* use logo image as <a>'s background will sometime flicker when hovered on Firefox,
    color: #b8a49d;
* I still don't know why, but move background to #p-logo can avoid this issue.
*/
#p-logo .mw-wiki-logo {
  width: var(--theme-site-logo-width);
  height: var(--theme-site-logo-height);
  margin: auto;
  background: none; /* logo flicker fix */
}
}


/* CSS placed here will be applied to all skins */
/**** Main Layout END ***********************************************************/
/*
This is the CSS for all skins (for all users) on MediaWiki.org.


SECTIONS:
/********* side panel START *********/
1. Indication of namespaces
#mw-panel {
2. Color classes füor content
  --list-body-font-size: 14px;
3. Special pages
  --list-body-padding-x: 6px;
4. Main page styling
  --list-body-padding-y: 3px;
5. Sidebar external links
}
6. [[Extension Matrix]] stuff
7. Wikitables, infobox templates, warnings, and other such stylings
8. Some other small things
*/


/*body{ background: #e1e1e1 url("/wiki/images/background/halloween_background.jpg") 0px 0px no-repeat; }*/
#mw-panel a {
/*a { color: #cc7400; }
  text-decoration: none;
a:visited { color: #cc7400; }
}
a:active { color: #cc7400; }
a:hover { color: #995700; }*/


/**
/* section box */
* 1. INDICATION OF NAMESPACES
#mw-panel .portal {
* -------------------------------------------------
  margin: 0 0 var(--layout-box-gap) 0;
*/
  padding: 0;
  box-sizing: border-box;
  border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-box-border-color);
  border-radius: var(--theme-box-border-radius);
  backdrop-filter: var(--theme-box-back-backdrop-filter);
  box-shadow: var(--theme-box-shadow);
  background: var(--theme-box-background), var(--theme-box-back-background);
}
#mw-panel .portal .vector-menu-heading {
  /* section heading */
  background: none;
  margin: 0;
  padding: 6px 10px;
  font-size: 16px;
  line-height: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--theme-heading-color);
}


/* Pseudo NS Special (light grey) */
/* show the heading of first section */
.ns--2 #content {
#mw-panel #p-logo + .portal .vector-menu-heading {
    background-color: #f4f4f4;
  display: flex;
}
}


.ns--2 div.thumb {
/* arrow icon */
    border-color: #f4f4f4;
#mw-panel .portal .vector-menu-heading::after {
  content: "";
  display: block;
  background: none;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: var(--theme-icon-color) transparent;
  border-width: 0 5px 6px;
  margin-top: 2px;
  flex: 0 0 auto;
}
#mw-panel .portal .vector-menu-heading:hover::after {
  border-color: var(--theme-icon-color-hover) transparent;
}
#mw-panel .portal.collapsed .vector-menu-heading::after {
  transform: scaleY(-1);
}
}


/* NS Project + Project_talk (light sky blue) */
/* list body */
.ns-4 #content,
#mw-panel .portal .body {
.ns-5 #content {
  background: none;
    background-color: #f8fcff;
  border: 0;
  padding: 0;
  margin: 0;
  border-top: var(--theme-border-width) solid var(--theme-border-color);
}
}
 
#mw-panel .portal .body ul {
.ns-4 div.thumb,
  padding: var(--theme-gap) 4px 4px;
.ns-5 div.thumb {
    border-color: #f8fcff;
}
}
 
#mw-panel .portal .body li {
/* NS MediaWiki + MediaWiki_talk (light grey) */
  margin: 0;
.ns-8 #content,
  padding: 0;
.ns-9 #content {
  font-size: var(--list-body-font-size);
    background-color: #f4f4f4;
  line-height: inherit;
}
}
 
#mw-panel .portal .body li:hover {
.ns-8 div.thumb,
  background: var(--theme-highlight-background);
.ns-9 div.thumb {
    border-color: #f4f4f4;
}
}
 
#mw-panel .portal .body li a {
/* NS Manual + Manual_talk (light bluish violet) */
  display: block;
.ns-100 #content,
  padding: var(--list-body-padding-y) var(--list-body-padding-x);
.ns-101 #content {
  color: var(--theme-link-color);
    background-color: #f3f3ff;
}
}
 
#mw-panel .portal .body li a:visited {
.ns-100 div.thumb,
  color: var(--theme-link-color-visited);
.ns-101 div.thumb {
    border-color: #f3f3ff;
}
}
 
#mw-panel .portal .body li a:hover {
/* NS Help (but NOT Help_talk) (blue border and Public Domain icon) */
  color: var(--theme-link-color-hover);
.ns-12 #content {
    border:              2px solid #00c;
    border-right:       none;
    background-image:   url(//upload.wikimedia.org/wikipedia/mediawiki/b/b8/PD-banner.png);
    background-repeat:  no-repeat;
    background-position: right top;
}
}


.ns-12 #bodyContent {
/* "Atom" RSS Feed */
    background-image:   url(//upload.wikimedia.org/wikipedia/mediawiki/6/67/PD-icon-faded.png);
#mw-panel .portal .body li a.feedlink {
    background-repeat:   no-repeat;
  text-indent: calc(var(--list-body-font-size) + 2px);
    /* @noflip */
  background-position: var(--list-body-padding-x) center; /* align icon with other text */
    background-position: right 5em;
}
}


/**
/********* side panel END *********/
* 2. COLOR CLASSES FOR CONTENT
* -------------------------------------------------
*/


/* Border colors */
/********* main content box *********/
.borderc1 {
/****** navbar (#mw-head) ******/
    border-color: #e9e9e9;
/* reset */
    border-width: thin;
#mw-head * {
  float: unset;
  font-size: unset;
  line-height: unset;
}
}


.borderc2 {
/* tabs layout */
    border-color: #aaa;
#mw-head {
    border-width: thin;
  --layout-padding: 12px;
  --layout-gap: 6px;
  --tab-padding-x: 12px;
  --tab-padding-y: 5px;
  --icon-size: 1em;
  padding: var(--layout-padding) 0 0 0;
  background: var(--theme-background);
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
#mw-head #left-navigation, #mw-head #right-navigation {
  float: none;
  flex: 1 1 auto;
  margin: 0;
  display: flex;
  align-items: flex-end;
}
#mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after {
  content: "";
  display: block;
  height: 100%;
  border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color);
  background: var(--theme-background-shadow);
}
#mw-head #left-navigation {
  justify-content: flex-start;
}
#mw-head #right-navigation {
  justify-content: flex-end;
}
#mw-head #left-navigation::before, #mw-head #right-navigation::after {
  flex: 0 0 var(--layout-padding);
}
#mw-head #left-navigation::after, #mw-head #right-navigation::before {
  flex: 1 1 auto;
}
}


.borderc3 {
/*** tabs of navbar ***/
    border-color: #777;
/* reset */
    border-width: thin;
#mw-head .vector-menu,
#mw-head .vector-menu * {
  background: none;
}
}


.borderc4 {
/* tabs list */
    border-color: #000;
#mw-head .vector-menu-tabs {
    border-width: thin;
  height: unset;
  padding: unset;
}
#mw-head .vector-menu-tabs .vector-menu-content-list {
  display: flex;
  align-items: flex-end;
}
}


.borderc5 {
/* tab */
    border-color: #c00000;
#mw-head {
    border-width: thin;
  --theme-tab-border-style: solid;
  --theme-tab-border-width: 1px;
  --theme-border-bottom-style: solid;
  --theme-border-bottom-width: 1px;
  --theme-border-bottom-color: var(--theme-tab-border-color-selected);
  --theme-border-bottom-color-selected: transparent;
}
#mw-head .vector-menu-tabs .mw-list-item,
#mw-head .vector-menu-dropdown {
  /* outer box */
  background: var(--theme-tab-background);
  border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color);
  border-radius: var(--theme-box-border-radius);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  position: relative;
  margin-right: var(--layout-gap); /* make space for gap */
}
#mw-head .vector-menu-tabs .mw-list-item::after,
#mw-head .vector-menu-dropdown::after {
  /* gap */
  content: "";
  display: block;
  width: var(--layout-gap);
  height: 100%;
  border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color);
  position: absolute;
  left: 100%;
  bottom: calc(0px - var(--theme-border-bottom-width));
  background: var(--theme-background-shadow);
}
#mw-head .vector-menu-tabs .mw-list-item a,
#mw-head .vector-menu-dropdown .vector-menu-heading {
  /* inner box */
  height: auto;
  margin: 0;
  padding: var(--tab-padding-y) var(--tab-padding-x);
  border: var(--theme-tab-border-width) var(--theme-tab-border-style) var(--theme-tab-border-color);
  border-bottom: 0;
  border-radius: var(--theme-box-border-radius);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  color: var(--theme-link-color);
  background: var(--theme-background-shadow);
}
#mw-head .vector-menu-tabs .mw-list-item a:hover,
#mw-head .vector-menu-dropdown .vector-menu-heading:hover {
  color: var(--theme-link-color-hover);
}
#mw-head .vector-menu-tabs .mw-list-item a.new,
#mw-head .vector-menu-dropdown .vector-menu-heading.new {
  color: var(--theme-link-color-redlink);
}
#mw-head .vector-menu-tabs .mw-list-item.selected {
  /* outer box: selected */
  background: var(--theme-tab-background-selected);
  border: var(--theme-tab-border-width) var(--theme-tab-border-style) var(--theme-tab-border-color-selected);
  border-bottom: 0;
}
#mw-head .vector-menu-tabs .mw-list-item.selected:after {
  /* gap */
  bottom: 0;
  padding-left: var(--theme-tab-border-width); /* x-position offset */
}
#mw-head .vector-menu-tabs .mw-list-item.selected a {
  /* inner box: selected */
  border: 0;
  border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color-selected);
  background: none;
  color: var(--theme-text-color);
}
}


.borderc6 {
/* dropdown menu*/
    border-color: #025e9d;
#mw-head .vector-menu-dropdown .vector-menu-heading {
    border-width: thin;
  /* tab label */
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
}
#mw-head .vector-menu-dropdown .vector-menu-heading::after {
  /* arrow icon */
  background: none;
  opacity: unset;
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: var(--theme-icon-color) transparent;
  border-width: 6px 5px 0;
  margin-top: 2px;
}
#mw-head .vector-menu-dropdown:hover .vector-menu-heading::after {
  /* .vector-menu-heading is covered by .vector-menu-checkbox, therefore we can't use .vector-menu-heading:hover::after */
  border-color: var(--theme-icon-color-hover) transparent;
}
#mw-head .vector-menu-dropdown .vector-menu-content {
  /* dropdown list body */
  border: var(--theme-dropdown-border);
  border-radius: var(--theme-box-border-radius);
  background: var(--theme-dropdown-background);
  backdrop-filter: var(--theme-dropdown-backdrop-filter);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  left: 0; /* reset */
}
#mw-head .vector-menu-dropdown .vector-menu-content ul {
  padding: 4px;
}
#mw-head .vector-menu-dropdown .vector-menu-content li:hover {
  background: var(--theme-highlight-background);
}
#mw-head .vector-menu-dropdown .vector-menu-content li a {
  display: block;
  padding: var(--dropdown-item-padding-y) var(--dropdown-item-padding-x);
  text-decoration: none;
  color: var(--theme-link-color);
}
#mw-head .vector-menu-dropdown .vector-menu-content li a:visited {
  color: var(--theme-link-color-visited);
}
#mw-head .vector-menu-dropdown .vector-menu-content li a:hover {
  color: var(--theme-link-color-hover);
}
}


.borderc7 {
/* watch/unwatch star */
    border-color: #008040;
#mw-head .vector-menu-tabs .mw-watchlink.icon a {
    border-width: thin;
  --theme-link-color-hover: var(--theme-icon-color-hover);
  width: 1.5em; /* same as line height */
  height: 1.5em;
  box-sizing: content-box;
  padding: var(--tab-padding-y);
  color: transparent; /**<< for watch/unwatch, the text of <a> will be plain 'watch'/'unwatch' without <span> after clicking. **/
}
#mw-head .vector-menu-tabs .mw-watchlink.icon a::before {
  content: "";
  display: block;
  position: unset;
  background-image: none;
  width: var(--icon-size);
  height: var(--icon-size);
  margin: calc((1.5em - var(--icon-size)) / 2);
  --mask: var(--icon) no-repeat;
  -webkit-mask: var(--mask);
  mask: var(--mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: center center;
  mask-position: center center;
  background-color: var(--theme-link-color);
}
#mw-head .vector-menu-tabs .mw-watchlink.icon a:hover::before {
  background-color: var(--theme-link-color-hover);
}
}
 
#mw-head .vector-menu-tabs .mw-watchlink.icon a span {
.borderc8 {
  display: none;
    border-color: #fc0;
}
    border-width: thin;
#mw-head .vector-menu-tabs .mw-watchlink.icon a::before {
  transform-origin: 50% calc(var(--icon-size) / 2 * 1.125);
}
#mw-head .vector-menu-tabs #ca-watch.icon {
  /* line star */
  --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M28.61,11.67H20l-2.66-8.2a1.39,1.39,0,0,0-2.64,0L12,11.67H3.39a1.39,1.39,0,0,0-.82,2.51l7,5.07L6.89,27.46a1.39,1.39,0,0,0,1.32,1.82A1.43,1.43,0,0,0,9,29l7-5.07L23,29a1.43,1.43,0,0,0,.81.27,1.39,1.39,0,0,0,1.32-1.82l-2.66-8.21,7-5.07A1.39,1.39,0,0,0,28.61,11.67Zm-7.34,6-1.17.86.44,1.38,2.09,6.41-5.45-4L16,21.46l-1.18.86-5.45,4,2.09-6.41.44-1.38-1.17-.86-5.45-4h8.19l.45-1.38L16,5.89l2.08,6.4.45,1.38h8.19Z'/%3E%3C/g%3E%3C/svg%3E");
}
#mw-head .vector-menu-tabs #ca-unwatch.icon {
  /* solid star */
  --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M28.61,11.67H20l-2.66-8.2a1.39,1.39,0,0,0-2.64,0L12,11.67H3.39a1.39,1.39,0,0,0-.82,2.51l7,5.07L6.89,27.46a1.39,1.39,0,0,0,1.32,1.82A1.43,1.43,0,0,0,9,29l7-5.07L23,29a1.43,1.43,0,0,0,.81.27,1.39,1.39,0,0,0,1.32-1.82l-2.66-8.21,7-5.07A1.39,1.39,0,0,0,28.61,11.67Z'/%3E%3C/g%3E%3C/svg%3E");
}
}


/* Used by: [[Template:Welcome]]. */


/* Background colors */
/*** search form ***/
.backgroundc1 {
#mw-head #p-search {
    background-color: #fff;
  /* navbar common border bottom */
  border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color);
  background: var(--theme-background-shadow);
  margin: 0;
  align-self: stretch;
}
#mw-head #p-search form {
  margin: 0;
}
#mw-head #p-search .vector-search-box-input {
  border-width: 1px;
  border-style: solid;
  border-color: var(--theme-border-color);
  color: var(--theme-text-color);
  background: var(--theme-background);
  box-shadow: var(--theme-shadow);
  height: 26px;
  padding: 0 26px 0 4px;
}
#mw-head #p-search .vector-search-box-input:hover {
  border-color: var(--theme-border-color-hover);
}
#mw-head #p-search .vector-search-box-input:focus {
  border-color: var(--theme-border-color-focus);
  box-shadow: var(--theme-shadow-focus);
  outline: 0;
  z-index: 1100; /* .suggestions: 1099 */
}
#mw-head #p-search .vector-search-box-input:focus ~ .searchButton {
  z-index: 1101;
}
#mw-head #p-search .vector-search-box-input::placeholder {
  color: var(--theme-text-color-note);
}
#mw-head #p-search .mw-searchButton {
  opacity: 0;
}
#mw-head #p-search .searchButton {
  width: 26px;
  min-width: unset;
  opacity: 1;
  background-image: none;
  --mask: url("data:image/svg+xml,%3C%3Fxml version='1.0'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3E search %3C/title%3E%3Cpath fill-rule='evenodd' d='M12.2 13.6a7 7 0 1 1 1.4-1.4l5.4 5.4-1.4 1.4-5.4-5.4zM13 8A5 5 0 1 1 3 8a5 5 0 0 1 10 0z'/%3E%3C/svg%3E%0A") no-repeat;
  -webkit-mask: var(--mask);
  mask: var(--mask);
  -webkit-mask-size: 18px 18px;
  mask-size: 18px 18px;
  -webkit-mask-position: center center;
  mask-position: center center;
  background-color: var(--theme-link-color);
}
#mw-head #p-search #searchform:hover .searchButton {
  background-color: var(--theme-link-color-hover);
}
#mw-head #p-search .vector-search-box-input:focus ~ .searchButton {
  background-color: var(--theme-link-color-focus);
}
}


/* Used by: [[Template:Welcome]]. */
/*** search result suggestions ***/
.backgroundc2 {
.suggestions {
    background-color: #f9f9f9;
  background: var(--theme-background);
  box-sizing: border-box;
  margin-top: 0;
  box-shadow: var(--theme-box-shadow);
  backdrop-filter: var(--theme-box-back-backdrop-filter);
}
.suggestions .suggestions-results,
.suggestions .suggestions-special {
  background: none;
}
.suggestions .suggestions-results {
  border: 1px solid var(--theme-border-color);
  border-top: 0;
  border-bottom-color: var(--theme-rule-color);
}
.suggestions .suggestions-results:empty {
  border-bottom: 0;
}
.suggestions .suggestions-result,
.suggestions .suggestions-special .special-label,
.suggestions .suggestions-special .special-query {
  color: var(--theme-text-color);
}
}
 
.suggestions .suggestions-result {
.backgroundc3 {
  padding: 1px 4px;
    background-color: #eee;
}
}
 
.suggestions .suggestions-special {
.backgroundc4 {
  margin: 0;
    background-color: #e0e0e0;
  padding: 2px 4px 4px;
  border: 1px solid var(--theme-border-color);
  border-top: 0;
  border-radius: var(--theme-box-border-radius);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
}
 
.suggestions a.mw-searchSuggest-link,
.backgroundc5 {
.suggestions a.mw-searchSuggest-link:hover,
    background-color: #d2d2d2;
.suggestions a.mw-searchSuggest-link:active,
.suggestions a.mw-searchSuggest-link:focus {
  color: var(--theme-link-color);
}
}
 
.suggestions .suggestions-result-current {
.backgroundc6 {
  background: var(--theme-highlight-background);
    background-color: #b7b7b7;
  color: var(--theme-link-color-hover);
}
}
 
.suggestions .suggestions-result-current .special-label, .suggestions .suggestions-result-current .special-query {
.backgroundc7 {
  color: var(--theme-link-color-hover);
    background-color: #a3a3a3;
}
}


.backgroundc8 {
    background-color: #445;
}


/**
* 3. SPECIAL PAGES
* -------------------------------------------------
*/


/* Consistent special page navigation */
/**** main content box ****/
.SpecialPageInfo {
/* font */
    background-color:   #f9f9f9;
.vector-body {
    background-image:    url(//upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/35px-Exquisite-khelpcenter.png);
  font-size: unset; /* reset */
    background-position: 0.8em 0.5em;
   line-height: 1.7142857143;
    background-repeat:   no-repeat;
    padding:             0.3em 0.5em 0.3em 5.0em;
    border-color:        #025e9d;
    border-width:        1px;
    border-style:        solid;
    border-bottom-width: medium;
    margin-bottom:      1em;
}
}


.mw-viewprevnext {
/** layout **/
    display:         block;
#content {
    border:           1px solid #ccc;
  color: var(--theme-text-color);
    background-color: #f9f9f2;
  padding: 0;
    padding:         0.2em 0.4em;
  display: flex;
  flex-direction: column;
  background: var(--theme-box-background);
  --theme-heading-rule-color-h1: var(--theme-border-color);
  --theme-heading-rule-color-h2: var(--theme-border-color);
  --layout-padding-x: 24px;
  --layout-padding-y: 16px;
}
}


/**
.content-body {
* 4. MAIN PAGE STYLING
  flex: 1 1 auto;
* -------------------------------------------------
*/
 
#mainpage_topbox {
    background: #f9f9f9;
    padding:    0px;
    border:    1px solid #aaa;
    margin:    0.2em 10px 10px;
}
}
 
.content-body > main {
.mainpage_boxtitle,
  align-self: stretch;
.mainpage_hubtitle,
  padding: var(--layout-padding-y) var(--layout-padding-x);
#mainpage_pagetitle {
    font-size:       105%;
    padding:         0.4em;
    background-color: #eee;
    border-bottom:    1px solid #aaa;
}
}


.mainpage_boxtitle {
#bodyContent {
    line-height: 120%;
  display: flex;
  flex-direction: column;
  position: unset;
}
}


#mainpage_pagetitle {
/** main heading section **/
    color:     #cf7606;
#firstHeading {
    font-size: 200% !important;
  overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */
}
}


#mainpage_sitelinks {
/** the " < rootpage < page " crumb **/
    padding:         0.2em;
#contentSub, #contentSub2 {
    text-align:       center;
  margin: 0;
    background-color: white;
  color: var(--theme-text-color-note);
  font-size: 12px;
  line-height: 20px;
}
}


.mainpage_hubtitle {
#contentSub .subpages {
    text-align: center;
  color: transparent;
  line-height: 20px;
  font-size: 0;
}
}
 
#contentSub .subpages a {
.mainpage_boxcontents,
  font-size: 12px;
.mainpage_boxcontents_small {
  vertical-align: middle;
    background: #fff;
  display: inline-flex;
    padding:   0.2em 0.4em;
  align-items: center;
  padding-left: 4px;
}
}
 
#contentSub .subpages a::before {
.mainpage_boxcontents_small {
  content: "";
    font-size: 95%;
  display: inline-block;
  height: 4px;
  width: 4px;
  border-color: var(--theme-icon-color);
  border-style: solid;
  border-width: 0 0 2px 2px;
  margin: 0 2px 0 0;
  transform: rotate(45deg);
}
}
 
#contentSub::after {
.mainpage_boxcontents_title {
  /* the spacing and line between heading section and content body box */
    display:       block;
  content: "";
    border-bottom: 1px solid #aaa;
  display: block;
    margin-bottom: 0.5em;
  height: 0;
    text-align:   center;
  border-bottom: 1px solid var(--theme-heading-rule-color-h2);
    font-weight:  bold;
  margin-top: 4px;
    font-size:    larger;
  margin-bottom: var(--layout-padding-y);
}
}


.mainpage_hubbox,
/** content body box **/
#mainpage_newscell,
#mw-content-text {
#mainpage_downloadcell,
  flex: 1 1 auto;
#mainpage_opportunitiescell,
  min-height: 30em;
#mainpage_featuredpagescell {
    padding: 0;
    border: 1px solid #aaa;
}
}


.mainpage_hubbox {
/*** "category:" box ***/
    margin-bottom: 0;
#catlinks {
  background: var(--theme-background);
  border: 1px solid var(--theme-border-color);
  border-radius: var(--theme-box-border-radius);
  margin: var(--layout-padding-y) 0 0 0;
  padding: 0.5em 1em;
}
}


#mainpage_newscell {
/*** ads ***/
    margin-bottom: 15px;
div.games-showcase-header {
    margin-top:    0 !important;
  margin: 0;
  padding: var(--layout-padding-y) var(--layout-padding-x) 0;
}
}


#mainpage_newscell .mainpage_boxtitle {
div.games-showcase-footer {
    background-image:   url(//upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png);
  margin: 0;
    background-repeat:  no-repeat;
  padding: 0 var(--layout-padding-x) var(--layout-padding-y);
    background-position: 99% 0.3em;
    padding-right:      25px;
}
}


#mainpage_downloadcell {
.content-body > .games-showcase-sidebar {
    width:         17em;
  margin: 0;
    margin-bottom: 5px;
  padding: var(--layout-padding-y) var(--layout-padding-x) 0 0;
}
}


#mainpage_downloadcell .mainpage_boxtitle {
.games-showcase-header img, .games-showcase-footer img {
    background-image:    url(//upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png);
  height: 100%;
    background-repeat:   no-repeat;
  width: auto;
    background-position: 96% 0.33em;
  object-fit: contain;
    padding-right:       25px;
}
}
 
@media screen and (max-width: 1100px) {
#mainpage_opportunitiescell {
  .games-showcase-header img, .games-showcase-footer img {
     max-width:     25em;
     height: auto !important;
     margin-bottom: 15px;
     width: 100% !important;
     margin-top:   0 !important;
     object-fit: contain;
  }
}
}
 
@media screen and (max-width: 926px) {
#mainpage_opportunitiescell .mainpage_boxtitle {
  .games-showcase-header img, .games-showcase-footer img {
     background-image:   url(//upload.wikimedia.org/wikipedia/commons/thumb/6/63/User-online.svg/20px-User-online.svg.png);
     object-position: 50%;
     background-repeat:   no-repeat;
     height: 105px !important;
     background-position: 98% 0.15em;
     width: 100% !important;
     padding-right:       25px;
     object-fit: none !important;
  }
}
}


#mainpage_featuredpagescell {
aside.games-showcase-sidebar div.sidebar-showcase {
    max-width:    25em;
  padding: 0 0 var(--layout-padding-y) 0;
    margin-bottom: 15px;
    margin-top:    0 !important;
}
}


#mainpage_featuredpagescell .mainpage_boxtitle {
    background-image:    url(//upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Note_icon.svg/20px-Note_icon.svg.png);
    background-repeat:  no-repeat;
    background-position: 98% 0.15em;
    padding-right:      25px;
}


/* The words 'MediaWiki.org' in the title. */
/**** #footer (copyright info) ****/
#mainpage_mwtitle {
#footer {
    color: #005288;
  background: var(--theme-background);
  padding: 16px 24px;
  border-radius: 0 0 var(--theme-box-border-radius) var(--theme-box-border-radius);
  position: relative;
  /* grid */
  display: grid;
  grid-template-columns: [l] 1fr 0fr [r];
  grid-template-rows: [t] auto auto [b];
  z-index: 0; /* covered by content */
}
}


/**
.mw-footer li {
* The "mainpage" class is added to the body with JavaScript for the main page in all
  color: var(--theme-text-color);
* languages, so we can style things that apppear on the main page and also elsewhere.
*/
.mainpage #lastmod,
.mainpage #siteSub,
.mainpage h1.firstHeading {
    display: none !important;
}
}


.mainpage #content {
#footer a {
    padding-top: 1em;
  color: var(--theme-link-color);
}
}


/**
#footer a:hover {
* 5. SIDEBAR EXTERNAL LINKS
  color: var(--theme-link-color-hover);
* -------------------------------------------------
*/
/*
#n-blog-text a,
#n-mw-repo-commits a,
#n-mw-repo-codereview a,
#n-browse-repo a,
#n-phpdoc a {
background: url(//upload.wikimedia.org/wikipedia/commons/6/64/Icon_External_Link.png) center right no-repeat;
padding-right: 13px;
color: #3366bb;
}
}
*/


/**
#footer-info {
* 7. WIKITABLES, INFOBOX TEMPLATES, WARNINGS AND OTHER SUCH STYLINGS
  font-size: 12px;
* -------------------------------------------------
  display: contents;
*/
 
table {
    border-collapse: separate;
    border-spacing: 10px 0px;
}
}


/* Custom h* styles (blue headings) */
#footer ul li {
.wikitable td.hl3,
  font-size: inherit;
.wikitable th.hl3 {
  line-height: 1.5;
    background-color: #8da7d6;
  padding: 0;
}
}


.wikitable td.hl1,
#footer-icons {
.wikitable th.hl1 {
  grid-column: span 1/r;
    background: #c5d8fc;
  grid-row: t/b;
  place-self: end;
}
}


.wikitable td.hl2,
#footer #footer-info-lastmod {
.wikitable th.hl2 {
  grid-column: l/span 1;
    background: #a7c1f2;
  grid-row: t/span 1;
  place-self: start;
  margin-bottom: 1em;
}
}


/**
#footer #footer-info-copyright {
* Make entire table valign=top,
  grid-column: l/span 1;
* To replace the |valign=top| on every cell.
  grid-row: span 1/b;
*/
  place-self: end stretch;
.vatop tr,
  position: relative;
tr.vatop,
  padding-right: 100px;
.vatop td,
.vatop th {
    vertical-align: top;
}
}


/* General purpose "pretty (data) tables" */
#footer-info-copyright img {
table.datatable {
  position: absolute;
    background-color: transparent;
  right: 0;
  bottom: 0;
  height: 31px;
  width: auto;
}
}


table.datatable th,
#footer-places,
table.datatable td {
#footer > div {
    padding: 4px;
  display: none;
}
}


table.datatable th {
/**** background box for nav+content+#footer ****/
    text-align:       left;
#mw-page-base {
    background-color: #999;
  box-sizing: border-box;
  border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-box-border-color);
  border-radius: var(--theme-box-border-radius);
  backdrop-filter: var(--theme-box-back-backdrop-filter);
  box-shadow: var(--theme-box-shadow);
  background: var(--theme-box-back-background);
  z-index: -1;
}
}


table.datatable tr {
#mw-head, #content, #footer {
    background-color: #ccc;
  box-sizing: border-box;
  background-clip: padding-box;
  border: var(--theme-box-border-width) solid transparent;
  margin: 0;
}
}


table.datatable tr:hover {
#mw-head {
    background-color: #ffc;
  border-bottom-width: 0;
}
}


/* SideBox styling */
#content {
div.sideBox {
  border-top-width: 0;
    position:    relative;
  border-bottom-width: 0;
    float:      right;
    background:  white;
    margin-left: 1em;
    border:     1px solid gray;
    padding:    0.3em;
    width:      200px;
    overflow:    hidden;
    clear:      right;
}
}


div.sideBox dl {
#footer {
    padding:   0;
   border-top-width: 0;
    margin:   0 0 0.3em 0;
    font-size: 96%;
}
}


div.sideBox dl dt {
/****** responsive Layout ******/
@media screen and (max-width: 1800px) {
  :root {
    --layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */
  }
} /* screen and (max-width: 1800px) */
@media screen and (max-width: 1365px) {
  :root {
    --layout-logo-scale: 0.75;
  }
 
  /* change layout */
  body {
    grid-template-columns: [body-left] 0 [aside-left nav-left content-left footer-left] minmax(0, 1fr) [content-right aside-right nav-right footer-right] 0 [body-right];
    grid-template-rows: [body-start] var(--layout-topbar-height) [page-start logo-start] var(--layout-logo-box-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end];
  }
 
  /* re-style navbar */
  #mw-panel {
    display: flex;
    align-items: flex-end;
    padding: 0 var(--layout-box-gap);
    box-sizing: border-box;
    border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-box-border-color);
    border-radius: var(--theme-box-border-radius);
    backdrop-filter: var(--theme-box-back-backdrop-filter);
    box-shadow: var(--theme-box-shadow);
    background: var(--theme-box-background), var(--theme-box-back-background);
    /* Make #p-logo be positioned relative to #mw-panel. By this way, we can safely apply filter/backdrop-filter on #mw-panel */
    position: relative;
    z-index: 1;
  }
  #mw-panel .portal {
     background: none;
     background: none;
     margin:    0.4em 0 0 0;
    box-shadow: none;
    border: 0;
     margin: 0;
    padding: 0;
    position: relative;
  }
  #mw-panel .portal .vector-menu-heading {
    padding: 9px 12px;
     border: 0;
    border-radius: 0;
    background: none;
  }
  #mw-panel .portal .vector-menu-heading::after {
    border-width: 6px 5px 0; /* change arrow direction */
    margin-left: 4px;
  }
  #mw-panel .portal.collapsed .vector-menu-heading::after {
    transform: none;
  }
  #mw-panel .portal .body {
    display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */
    position: absolute;
    left: 0;
    top: 100%;
    width: max-content;
    min-width: 8em;
    border: var(--theme-dropdown-border);
    border-radius: var(--theme-box-border-radius);
    background: var(--theme-dropdown-background);
    backdrop-filter: var(--theme-box-back-backdrop-filter);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  #mw-panel .portal .body li a {
    padding: 6px 12px;
  }
  #mw-panel .portal.expanded .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading {
    background: var(--theme-highlight-background);
    border-radius: 0;
  }
  #mw-panel .portal.expanded .vector-menu-heading::after, #mw-panel .portal:hover .vector-menu-heading::after {
    transform: scaleY(-1);
  }
  #mw-panel .portal.expanded .body, #mw-panel .portal:hover .body {
    display: block !important;
  }
 
  /* logo: smaller, and position relative to #mw-panel */
  #p-logo {
    background-size: calc(var(--theme-site-logo-width) * var(--layout-logo-scale)) auto;
    width: auto;
    top: calc(0px - var(--layout-logo-box-height));
  }
  #p-logo .mw-wiki-logo {
    width: calc(var(--theme-site-logo-width) * var(--layout-logo-scale));
    height: calc(var(--theme-site-logo-height) * var(--layout-logo-scale));
  }
 
  /* search: move to sidebar nav box ("main nav bar") */
  #mw-head #p-search {
    box-sizing: border-box;
    border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-box-border-color);
    border-radius: var(--theme-box-border-radius);
    backdrop-filter: var(--theme-box-back-backdrop-filter);
    box-shadow: var(--theme-box-shadow);
    background: var(--theme-box-background), var(--theme-box-back-background);
    padding: var(--layout-padding);
    border-bottom: 0;
    position: absolute;
    right: 0;
    top: -110px; /* offset */
    z-index: 2;
  }
 
  .vector-search-box-inner {
    width: 50vw;
    max-width: 25em;
  }
 
  #mw-head #right-navigation #p-cactions {
    margin-right: 0;
  }
 
  /* "more" menu in #right-navigation */
  #mw-head #right-navigation .vector-menu-dropdown {
    margin-right: 0;
  }
  #mw-head #right-navigation .vector-menu-dropdown::after {
    display: none;
  }
  #mw-head #right-navigation .vector-menu-dropdown .vector-menu-content {
    left: auto;
    right: 0;
  }
 
} /* screen and (max-width: 1365px) */
@media screen and (max-width: 900px) {
  :root {
    --layout-logo-scale: 0.5;
    --layout-logo-box-height: calc( var(--theme-site-logo-height) * var(--layout-logo-scale) + 20px);
    --layout-box-gap: 6px;
  }
 
  /* change layout */
  body {
    grid-template-columns: [body-left aside-left nav-left content-left footer-left] minmax(0, 1fr) [content-right aside-right nav-right footer-right body-right];
  }
 
  #mw-page-base,
  #mw-panel,
  #mw-head, #content, #footer {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
 
  #p-logo {
    left: 10px;
  }
 
  #mw-head #p-search {
    top: -98px; /* offset */
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
 
  .vector-search-box-inner {
    width: 50vw;
    max-width: 20em;
  }
 
  .mw-indicators {
    z-index: auto;
  }
 
  /* re-style navbar */
  #mw-panel {
    flex-wrap: wrap;
  }
  #mw-panel .portal {
    position: unset;
    flex: 0 0 auto;
  }
  #mw-panel .portal .vector-menu-heading {
    justify-content: center;
    white-space: nowrap;
  }
  #mw-panel .portal .vector-menu-heading::after {
    display: none;
  }
  #mw-panel .portal .body {
    left: 0;
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
  }
  #mw-panel .portal .body ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, var(--layout-sidebar-width));
    justify-content: center;
  }
  #mw-panel .portal .body li a {
    display: block;
  }
 
 
} /* screen and (max-width:900px) */
@media screen and (max-width: 720px) {
  :root {
    --layout-logo-scale: 0.75;
  }
 
  #p-logo {
    width: 100%;
    left: 0;
  }
 
  #mw-panel {
    box-shadow: var(--theme-box-shadow2);
    border-bottom: 0;
    display: block;
    height: 36px;
  }
  #mw-panel .portal {
    display: none;
    box-shadow: none;
    background: var(--theme-background);
    backdrop-filter: var(--theme-dropdown-backdrop-filter);
    border-left: var(--theme-dropdown-border);
    border-right: var(--theme-dropdown-border);
    margin: 0;
    border-radius: 0;
  }
  #mw-panel .portal .vector-menu-heading {
    padding: 0 12px 4px;
    border: 0;
    display: block;
    background: none;
    font-weight: bold;
  }
  #mw-panel .portal .vector-menu-heading::after {
    display: none;
  }
  #mw-panel .portal:hover .vector-menu-heading {
    background: none;
    color: var(--theme-heading-color);
  }
  #mw-panel .portal .body {
    display: block !important; /* !important is required, since there is inline-css from sidebar collapse/expand */
    position: unset;
    border: 0;
    background: none;
    backdrop-filter: none;
    padding: 4px 12px;
  }
  #mw-panel .portal .body ul {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: unset;
  }
  #mw-panel .portal .body li a {
    padding: 4px 8px;
    white-space: nowrap;
  }
  #mw-panel .portal:last-child {
    padding-bottom: 12px;
    border-bottom: var(--theme-dropdown-border);
    border-radius: 0 0 var(--layout-box-border-radius) var(--layout-box-border-radius);
  }
  #mw-panel .menu-toggle {
    --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-category-2' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M14 4h6v6h-6z'%3E%3C/path%3E%3Cpath d='M4 14h6v6h-6z'%3E%3C/path%3E%3Cpath d='M17 17m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0'%3E%3C/path%3E%3Cpath d='M7 7m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    -webkit-mask: var(--mask);
    mask: var(--mask);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: center center;
    mask-position: center center;
    background-color: var(--theme-icon-color);
    cursor: pointer;
    display: block;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin: 6px 12px;
  }
  #mw-panel .menu-toggle.expanded ~ .portal {
    display: block;
  }
  #mw-panel .menu-toggle + .portal {
    padding-top: 12px;
    border-top: var(--theme-dropdown-border);
  }
 
  #mw-head #p-search {
    box-shadow: none;
    padding: 0;
    top: -37px; /* offset */
    left: auto;
    right: 12px;
    width: auto;
    z-index: 3;
  }
 
  .vector-search-box-inner {
    width: 100vw;
    max-width: 20em;
  }
 
  #content {
    --layout-padding-x: 12px;
    --layout-padding-y: 12px;
  }
 
  /* icon navbar tabs */
  #mw-head {
    top: unset; /* reset */
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg fill='none' height='24' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h24v24H0z' fill='none' stroke='none'/%3E%3Cpath d='M4 4l4 16l4 -14l4 14l4 -16'/%3E%3C/svg%3E");
    --icon-size: 1.5em;
  }
  #mw-head .vector-menu-tabs .mw-list-item a,
  #mw-head .vector-menu-dropdown .vector-menu-heading {
    --theme-link-color-hover: var(--theme-icon-color-hover);
    width: 1.5em; /* same as line height */
    height: 1.5em;
    box-sizing: content-box;
    padding: var(--tab-padding-y);
    color: transparent; /**<< for watch/unwatch, the text of <a> will be plain 'watch'/'unwatch' without <span> after clicking. **/
  }
  #mw-head .vector-menu-tabs .mw-list-item a::before,
  #mw-head .vector-menu-dropdown .vector-menu-heading::before {
    content: "";
    display: block;
    position: unset;
    background-image: none;
    width: var(--icon-size);
    height: var(--icon-size);
    margin: calc((1.5em - var(--icon-size)) / 2);
    --mask: var(--icon) no-repeat;
    -webkit-mask: var(--mask);
    mask: var(--mask);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: center center;
    mask-position: center center;
    background-color: var(--theme-link-color);
  }
  #mw-head .vector-menu-tabs .mw-list-item a:hover::before,
  #mw-head .vector-menu-dropdown .vector-menu-heading:hover::before {
    background-color: var(--theme-link-color-hover);
  }
  #mw-head .vector-menu-tabs .mw-list-item a span,
  #mw-head .vector-menu-dropdown .vector-menu-heading span {
    display: none;
  }
  #mw-head .vector-menu-dropdown .vector-menu-heading::after {
    display: none;
  }
 
  #ca-edit {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M29.12,6.05,26,2.88a3,3,0,0,0-4.24,0L6.29,18.29a3.06,3.06,0,0,0-.72,1.18L2.08,29.92l10.46-3.49a3.15,3.15,0,0,0,1.17-.72L29.12,10.29a3,3,0,0,0,0-4.24Zm-21,13.28,8.75-8.74,1.58,1.58L9.67,20.92ZM18.24,9.17l1.59-1.58,4.58,4.58-1.58,1.59ZM7.1,21.19l3.72,3.71L5.25,26.75Zm5.57,2.73-1.59-1.59,8.75-8.74,1.58,1.58Zm15-15-1.88,1.88L21.24,6.17l1.88-1.88A1,1,0,0,1,23.83,4a1,1,0,0,1,.71.29l3.17,3.18a1,1,0,0,1,.29.7A1,1,0,0,1,27.71,8.88Z'/%3E%3C/g%3E%3C/svg%3E");
  }
 
  #ca-view,
  #ca-view-foreign {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M30.89,15.54A17,17,0,0,0,16,6,17,17,0,0,0,1.11,15.54L.87,16l.24.46A17,17,0,0,0,16,26a17,17,0,0,0,14.89-9.54l.24-.46ZM24,16a8,8,0,1,1-8-8A8,8,0,0,1,24,16ZM3.14,16a16.47,16.47,0,0,1,4.14-4.89,10,10,0,0,0,0,9.78A16.47,16.47,0,0,1,3.14,16Zm21.58,4.89a10,10,0,0,0,0-9.78A16.47,16.47,0,0,1,28.86,16,16.47,16.47,0,0,1,24.72,20.89Z'/%3E%3Cpath d='M16,20a4,4,0,1,0-4-4A4,4,0,0,0,16,20Zm0-6a2,2,0,1,1-2,2A2,2,0,0,1,16,14Z'/%3E%3C/g%3E%3C/svg%3E");
  }
 
  #left-navigation li[id^=ca-nstab-] {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpolygon points='12 15 11 15 11 17 12 17 20 17 21 17 21 15 20 15 12 15'/%3E%3Cpolygon points='12 19 11 19 11 21 12 21 15 21 16 21 16 19 15 19 12 19'/%3E%3Cpath d='M20.41,3H5V26a3,3,0,0,0,3,3H24a3,3,0,0,0,3-3V9.59ZM20,5.41,24.59,10H21a1,1,0,0,1-1-1ZM24,27H8a1,1,0,0,1-1-1V5H18V9a3,3,0,0,0,3,3h4V26A1,1,0,0,1,24,27Z'/%3E%3C/g%3E%3C/svg%3E");
  }
 
  #ca-history {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z'/%3E%3Cpath d='M17,7H15v8.52a2,2,0,0,0,.75,1.56l4.63,3.7,1.24-1.56L17,15.52Z'/%3E%3C/g%3E%3C/svg%3E");
  }
 
  #ca-talk {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M26,12H24V6a3,3,0,0,0-3-3H6A3,3,0,0,0,3,6V24.41l5.12-5.12A1.05,1.05,0,0,1,8.83,19H12v3a3,3,0,0,0,3,3h8.17a1.05,1.05,0,0,1,.71.29L29,30.41V15A3,3,0,0,0,26,12ZM12,15v2H8.83a3,3,0,0,0-2.12.88L5,19.59V6A1,1,0,0,1,6,5H21a1,1,0,0,1,1,1v6H15A3,3,0,0,0,12,15ZM27,25.59l-1.71-1.71A3,3,0,0,0,23.17,23H15a1,1,0,0,1-1-1V15a1,1,0,0,1,1-1H26a1,1,0,0,1,1,1Z'/%3E%3C/g%3E%3C/svg%3E");
  }
 
  #t-contributions {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg enable-background='new 0 0 32 32' id='Stock_cut' version='1.1' viewBox='0 0 32 32' xml:space='preserve' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdesc/%3E%3Cpath d='M27,12V5h-7v0 c0-2.209-1.791-4-4-4h0c-2.209,0-4,1.791-4,4v0H1v7h0c2.209,0,4,1.791,4,4v0c0,2.209-1.791,4-4,4h0v11h11v0c0-2.209,1.791-4,4-4h0 c2.209,0,4,1.791,4,4v0h7V20h0c2.209,0,4-1.791,4-4v0C31,13.791,29.209,12,27,12L27,12z' fill='none' stroke='%23000000' stroke-linejoin='round' stroke-miterlimit='10' stroke-width='2'/%3E%3C/svg%3E");
  }
 
  #ca-addsection {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpolygon points='29 15 17 15 17 3 15 3 15 15 3 15 3 17 15 17 15 28 17 28 17 17 29 17 29 15'/%3E%3C/g%3E%3C/svg%3E");
  }
 
  #ca-viewsource {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='heroicon-ui' d='M20.59 12l-3.3-3.3a1 1 0 1 1 1.42-1.4l4 4a1 1 0 0 1 0 1.4l-4 4a1 1 0 0 1-1.42-1.4l3.3-3.3zM3.4 12l3.3 3.3a1 1 0 0 1-1.42 1.4l-4-4a1 1 0 0 1 0-1.4l4-4a1 1 0 0 1 1.42 1.4L3.4 12zm7.56 8.24a1 1 0 0 1-1.94-.48l4-16a1 1 0 1 1 1.94.48l-4 16z'/%3E%3C/svg%3E");
  }
 
  #p-variants {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm8,13a24.28,24.28,0,0,0-.41-3.62c2.19.91,3.75,2.19,4.25,3.62Zm-2,0H17V10a20.9,20.9,0,0,1,4.34.63A20.26,20.26,0,0,1,22,15ZM17,8V4.19c1.43.5,2.71,2.06,3.62,4.25A24.28,24.28,0,0,0,17,8ZM15,4.19V8a24.28,24.28,0,0,0-3.62.41C12.29,6.25,13.57,4.69,15,4.19ZM15,10v5H10a20.26,20.26,0,0,1,.63-4.34A20.9,20.9,0,0,1,15,10ZM8,15H4.19c.5-1.43,2.06-2.71,4.25-3.62A24.28,24.28,0,0,0,8,15Zm0,2a24.28,24.28,0,0,0,.41,3.62C6.25,19.71,4.69,18.43,4.19,17Zm2,0h5v5a20.9,20.9,0,0,1-4.34-.63A20.26,20.26,0,0,1,10,17Zm5,7v3.84c-1.43-.5-2.71-2.06-3.62-4.25A24.28,24.28,0,0,0,15,24Zm2,3.84V24a24.28,24.28,0,0,0,3.62-.41C19.71,25.75,18.43,27.31,17,27.81ZM17,22V17h5a20.26,20.26,0,0,1-.63,4.34A20.9,20.9,0,0,1,17,22Zm7-5h3.84c-.5,1.43-2.06,2.71-4.25,3.62A24.28,24.28,0,0,0,24,17Zm2.87-6.12A15.11,15.11,0,0,0,23,9a15.11,15.11,0,0,0-1.85-3.87A12.12,12.12,0,0,1,26.84,10.88Zm-16-5.72A15.11,15.11,0,0,0,9,9a15.11,15.11,0,0,0-3.87,1.85A12.12,12.12,0,0,1,10.88,5.16Zm-5.72,16A15.11,15.11,0,0,0,9,23a15.11,15.11,0,0,0,1.85,3.87A12.12,12.12,0,0,1,5.16,21.12Zm16,5.72A15.11,15.11,0,0,0,23,23a15.11,15.11,0,0,0,3.87-1.85A12.12,12.12,0,0,1,21.12,26.84Z'/%3E%3C/g%3E%3C/svg%3E");
  }
 
  #p-cactions {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M16,13a3,3,0,1,0,3,3A3,3,0,0,0,16,13Zm0,4a1,1,0,1,1,1-1A1,1,0,0,1,16,17Z'/%3E%3Cpath d='M24,13a3,3,0,1,0,3,3A3,3,0,0,0,24,13Zm0,4a1,1,0,1,1,1-1A1,1,0,0,1,24,17Z'/%3E%3Cpath d='M8,13a3,3,0,1,0,3,3A3,3,0,0,0,8,13Zm0,4a1,1,0,1,1,1-1A1,1,0,0,1,8,17Z'/%3E%3C/g%3E%3C/svg%3E");
  }
 
} /* screen and (max-width:720px) */
@media screen and (max-width: 600px) {
  :root {
    --layout-logo-scale: 0.5;
  }
 
  .vector-search-box-inner {
    width: 50vw;
    max-width: 15em;
  }
 
  /* footer */
  #footer #footer-icons {
    float: none;
  }
  #footer #footer-info-copyright {
    grid-column: l/span 2;
    padding-right: 0;
    padding-bottom: 40px;
  }
  #footer #footer-info-copyright img {
    right: auto;
    left: 0;
  }
 
} /* screen and (max-width:600px) */
@media screen and (max-width: 450px) {
 
 
} /* screen and (max-width:450px) */
 
/***** Notification area *****/
.mw-notification-area-overlay {
  position: fixed;
  z-index: 9999;
}
}


div.sideBox dl dd {
.mw-notification-area {
    margin:           0.1em 0 0 1.1em;
  font-size: 14px;
    background-color: #f3f3f3;
  line-height: 1.7142857143;
}
}


/* Extension & Skin infobox styling */
.mw-notification {
.tpl-infobox {
  color: var(--theme-text-color);
    border:           2px solid #aaa;
  box-sizing: border-box;
    width:           280px;
  border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-box-border-color);
    /* @noflip */
  border-radius: var(--theme-box-border-radius);
    clear:           right;
  backdrop-filter: var(--theme-box-back-backdrop-filter);
    /* @noflip */
  box-shadow: var(--theme-box-shadow);
    float:           right;
  background: var(--theme-box-background), var(--theme-box-back-background);
    margin:           0 0 0.5em 0.5em;
  transform: none;
    border-collapse: collapse;
    background-color: white;
}
}


.tpl-infobox td {
/* Notification boxes on the right, e.g. after patrolling an edit */
    border:       2px none #aaa;
.mw-notification.mw-notification-type-error {
    padding:      0.2em 0.5em;
  color: var(--theme-notice-red-text-color);
    border-bottom: 1px solid #f0f0f0 !important;
  border-color: var(--theme-notice-red-text-color);
}
}


.tpl-infobox-header {
.mw-notification.mw-notification-type-warn {
    background-color: #aaa;
  color: var(--theme-notice-orange-text-color);
    color:           white;
  border-color: var(--theme-notice-orange-text-color);
    text-align:      left;
}
}


.tpl-infobox-header td {
/****** postedit notification ******/
    padding-top: 0.5em;
.postedit-container {
  top: 4em;
}
}


.ext-infobox-header img {
 
    padding: 0 0.2em 0 0.5em;
/***********************************************************************************************************
* Over-width table floating-scroll
***********************************************************************************************************/
/*
css for floating-scroll v3.2.0
https://amphiluke.github.io/floating-scroll/
(c) 2022 Amphiluke
*/
.fl-scrolls {
  overflow: auto;
  position: fixed;
}
}


.ext-status-unstable,
.fl-scrolls div {
.ext-status-unstable td {
  overflow: hidden;
    border-color: #900;
  pointer-events: none;
}
}


.ext-status-unstable .ext-infobox-header {
.fl-scrolls div:before {
    background-color: #900;
  content: " ";
    color:           #ff0;
}
}


.ext-status-experimental,
.fl-scrolls, .fl-scrolls div {
.ext-status-experimental td {
  font-size: 1px;
    border-color: #ff4500;
  line-height: 0;
  margin: 0;
  padding: 0;
}
}


.ext-status-experimental .ext-infobox-header {
.fl-scrolls-hidden div:before {
    background-color: #ff4500;
  content: "  ";
}
}


.ext-status-beta,
.fl-scrolls-viewport {
.ext-status-beta td {
  position: relative;
    border-color: #ffba01;
}
}


.ext-status-beta .ext-infobox-header {
.fl-scrolls-body {
    background-color: #ffba01;
  overflow: auto;
}
}


.ext-status-stable,
.fl-scrolls-viewport .fl-scrolls {
.ext-status-stable td {
  position: absolute;
    border-color: #32cd32;
}
}


.ext-status-stable .ext-infobox-header {
.fl-scrolls-hoverable .fl-scrolls {
    background-color: #32cd32;
  opacity: 0;
  transition: opacity 0.5s 0.3s;
}
}


.ext-status-magic,
.fl-scrolls-hoverable:hover .fl-scrolls {
.ext-status-magic td {
  opacity: 1;
    border-color: #fe57a1;
}
}


.ext-status-magic .ext-infobox-header {
.fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] {
    color:     #000;
  bottom: 0;
    background: #ffdbeb url(//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Magic_wand.svg/60px-Magic_wand.svg.png) 0 0 no-repeat;
  min-height: 17px;
}
}


.ext-status-magic .ext-infobox-header img {
.fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div {
    visibility:    hidden;
  height: 1px;
    padding-right: 1em;
}
}


.skin-infobox,
.fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] {
.skin-infobox td {
  bottom: 9999px;
    border-color: #a7d7f9;
}
}


.skin-infobox-header {
.fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] {
    color:      #000;
  left: 0;
    background: #e2f4ff;
}
}


/**
.fl-scrolls[data-orientation=vertical] {
* "Note" boxes ([[Template:Note]])
  right: 0;
*/
   min-width: 17px;
.tip,
.note {
    padding:             0.5em;
    margin:              0.5em 0;
    overflow:            hidden;
    background-color:    #f9f9f9;
    background-position: 4px 2px;
    background-repeat:   no-repeat;
    border:             1px solid #ddd;
}
}


.tip-info,
.fl-scrolls[data-orientation=vertical] div {
.note-info {
  width: 1px;
    background-color: #f0f0e7;
    background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/f/f8/Appunti_architetto_franc_01.svg/22px-Appunti_architetto_franc_01.svg.png);
    border-color:    #c93;
    /* @noflip */
    padding-left:    30px;
    min-height:       28px;
}
}


.tip-reminder,
.fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] {
.note-reminder {
  right: 9999px;
    background-color: #f6fdea;
    background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/23px-Bulbgraph.png);
    border-color:    #d6e434;
    padding-left:    31px;
    min-height:       28px;
}
}


.tip-error,
.fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] {
.note-error {
  top: 0;
    background-color: #f0e7e7;
    background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/51/Attention_niels_epting.svg/24px-Attention_niels_epting.svg.png);
    border-color:    #c33;
    padding-left:    32px;
    min-height:       25px;
}
}


/* Version box on [[Manual:Downloading MediaWiki]] */
/*css for wide table */
#DownloadVersionBox {
.table-wide {
    border:          2px solid black;
  clear: both;
    border-collapse: collapse;
  position: relative;
    margin:          auto;
    width:           50%;
    color:           black;
}
}


#DownloadVersionBox td {
.mw-parser-output > .table-width {
    border: 2px solid black;
  margin-top: 0.5em;
    padding: 20px;
  margin-bottom: 0.5em;
}
}


/* Major warning - used on the main page template to warn against editing carelessly, but can be used elsewhere as well */
.table-wide-inner {
.majorwarning {
  overflow-x: auto;
    background: yellow;
    padding:    0.3em;
    text-align: center;
    font-size:  125%;
    border:     2px solid red;
}
}


/* Page headings used throughout the wiki (though not very much at the time of writing…) */
.table-wide-inner > table {
.page-notice,
   margin: 0 !important;
.page-warning {
    border-width:  1px;
    border-style:  solid;
    padding:      0.3em 0.5em;
    margin-bottom: 1em;
    width:        95%;
    margin-left:   auto;
    margin-right: auto;
    text-align:    center;
}
}


/* Informative notices at the top of pages (blue) */
.table-wide:before {
.page-notice {
  box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color);
    background-color: #f9f9f9;
  content: "";
    border-color:     #025e9d;
  display: block;
    text-align:       left;
  width: 20px;
  height: 100%;
  pointer-events: none;
  position: absolute;
  right: 0;
}
}


/* Warning information at the top of pages (red) */
/***********************************************************************************************************
.page-warning {
* Styles for "real" wiki page content. (in div.mw-parser-output)
    background-color: #fff;
***********************************************************************************************************/
    border-color:     #c51919;
/* remove external link icon. */
    border-width:     2px;
.mw-parser-output a.external,
.link-https {
  padding-right: 0;
  background: none;
}
}


.pw-head {
.mw-parser-output > :first-child {
    color:      #c51919;
  margin-top: 0;
    font-weight: bold;
}
}


/* Used in Template:Notice */
/** headings **/
.block-note {
.mw-body h1, .mw-body-content h1, .mw-body-content h2,
    background-image:    url(//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png);
.vector-body h3, .vector-body h4,
    background-position: top left;
.vector-body h5, .vector-body h6 {
    background-repeat:  no-repeat;
  margin: 0;
  color: var(--theme-heading-color);
  font-family: inherit;
  font-weight: normal;
   line-height: 1.25;
}
}


/**
.mw-body h1, .mw-body-content h1 {
* Using block-contents in the hope that it can apply to all block-level warning templates,
  font-size: 32px;
* with different images applied as backgrounds to the wrapping DIV.
  line-height: 40px;
*/
.block-contents {
    display:     block;
    padding-left: 20px;
}
}


/* Template documentation ([[Template:Documentation]]) */
.mw-body-content h2 {
.template-documentation {
  font-size: 24px;
    clear:           both;
  line-height: 30px;
    margin:           1em 0 0 0;
  margin-top: 18px;
    border:           1px solid #aaa;
  margin-bottom: 9px;
    background-color: #ecfcf4;
  border-bottom: 1px solid var(--theme-heading-rule-color-h2);
    padding:         5px;
  padding-bottom: 3px;
}
}


/* Default style for navigation boxes */
.vector-body h3 {
table.navbox {
  font-size: 20px;
    /* Navbox container style */
  line-height: 26px;
 
  margin-top: 14px;
    border:     1px solid #aaa;
  margin-bottom: 7px;
    width:     100%;
    margin:    auto;
    clear:      both;
    font-size: 88%;
    text-align: center;
    padding:   1px;
}
}


table.navbox + table.navbox {
.vector-body h4 {
    /* Single pixel border between adjacent navboxes */
  font-size: 16px;
    margin-top: -1px;
  line-height: 22px;
    /* (doesn't work for IE6, but that's okay) */
  margin-top: 14px;
  margin-bottom: 7px;
}
}


.navbox th,
.vector-body h5 {
.navbox-title,
  line-height: 22px;
.navbox-abovebelow {
  font-size: 14px;
    text-align:   center;
  font-weight: bold;
    /* Title and above/below styles */
  margin-top: 10px;
    padding-left: 1em;
  margin-bottom: 7px;
    padding-right: 1em;
}
}


th.navbox-group {
.vector-body h6 {
    /* Group style */
  line-height: 20px;
    white-space: nowrap;
  font-size: 12px;
    /* @noflip */
  font-weight: bold;
    text-align: right;
  margin-top: 7px;
  margin-bottom: 7px;
}
}


.navbox,
/* reduce heading font size: */
.navbox-subgroup {
@media (max-width: 900px) {
     background: #fdfdfd;
  .mw-body h1, .mw-body-content h1 {
    font-size: 24px;
    line-height: 32px;
  }
  .mw-body-content h2 {
     font-size: 20px;
    line-height: 28px;
  }
  .vector-body h3 {
    font-size: 18px;
    line-height: 24px;
  }
}
}
 
/* section edit link */
.navbox-list {
.mw-editsection {
    /* Must match background color */
  white-space: nowrap;
    border-color: #fdfdfd;
  color: var(--theme-text-color-note);
}
}


.navbox th,
/** ToC **/
.navbox-title {
/* base common style */
    /* Level 1 color */
.toc {
    background: #ccf;
  background: none;
  border-radius: 4px;
  border: 1px solid var(--theme-border-color);
  margin-top: 18px;
  margin-bottom: 18px;
  padding: 0;
  font-size: 1em;
  min-width: 12em;
}
}
 
.toc a {
.navbox-abovebelow,
  color: var(--theme-text-color);
th.navbox-group,
.navbox-subgroup .navbox-title {
    /* Level 2 color */
    background: #ddf;
}
}
 
.toc .tocnumber {
.navbox-subgroup .navbox-group,
  color: var(--theme-text-color-note);
.navbox-subgroup .navbox-abovebelow {
    /* Level 3 color */
    background: #e6e6ff;
}
}
 
.toc .tocnumber:after {
.navbox-even {
  content: ".";
    /* Even row striping */
    background: #f7f7f7;
}
}


.navbox-odd {
/* header */
    /* Odd row striping */
.toc {
    background: transparent;
  /* arrow */
  /* do not change ToC box width when toggle show/hide. */
}
}
 
.toc .toctitle {
.navbox .hlist td dl,
  position: relative;
.navbox .hlist td ol,
  overflow: hidden;
.navbox .hlist td ul,
  text-align: left;
.navbox td.hlist dl,
  padding: 8px;
.navbox td.hlist ol,
.navbox td.hlist ul {
    /* Adjust hlist padding in navboxes */
    padding: 0.125em 0;
}
}
 
.toc .toctitle h2 {
.navbox .hlist dd,
  line-height: 20px;
.navbox .hlist dt,
  font-weight: normal;
.navbox .hlist li {
  margin: 0;
    /* Nowrap list items in navboxes */
  border: 0;
    white-space: nowrap;
  display: flex;
    /* IE < 8 no-wraps entire list, so disable it */
  align-items: center;
    white-space: normal !ie;
  padding: 0 0.5em;
}
}
 
.toc .toctitle h2::before {
.navbox .hlist dd dl,
  content: "";
.navbox .hlist dt dl,
  display: block;
.navbox .hlist li ol,
  width: 12px;
.navbox .hlist li ul {
  height: 12px;
    /* But allow parent list items to be wrapped */
  --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    white-space: normal;
  -webkit-mask: var(--mask);
  mask: var(--mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: center center;
  mask-position: center center;
  background-color: var(--theme-text-color);
  margin: 0 6px 0 0;
}
}
 
.toc .toctogglelabel {
ol + table.navbox,
  position: absolute;
ul + table.navbox {
  width: 100%;
    /* Prevent lists from clinging to navboxes */
  height: 100%;
    margin-top: 0.5em;
  left: 0;
  top: 0;
  box-sizing: border-box;
  padding-right: 1em;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
}
 
.toc .toctogglespan::before,
/* Default styling for Navbar template */
.toc .toctogglespan::after,
.navbar {
.toc .toctogglelabel::after {
    display:     inline;
  display: none;
    font-size:  88%;
    font-weight: normal;
}
}
 
.toc .toctogglelabel::before {
.navbar ul {
  content: "";
    display:     inline;
  display: inline-block;
    white-space: nowrap;
  background: none;
  position: relative;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: var(--theme-icon-color) transparent;
  border-width: 0 5px 6px 5px;
  vertical-align: middle;
  flex: 0 0 auto;
}
}
 
.toc .toctogglelabel:hover::before {
.navbar li {
  border-color: var(--theme-icon-color-hover) transparent;
    word-spacing: -0.125em;
}
}
 
.toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before {
/* Navbar styling when nested in navbox */
   border-width: 6px 5px 0 5px;
.navbox .navbar {
    display:   block;
    font-size: 100%;
}
}
 
.toc .toctogglecheckbox:checked ~ ul {
.navbox-title .navbar {
  overflow: hidden;
    /* @noflip */
  display: block;
    float:       left;
  height: 0;
    /* @noflip */
  border: 0;
    text-align:   left;
  padding-top: 0;
    /* @noflip */
  padding-bottom: 0;
    margin-right: 0.5em;
    width:       6em;
}
}


/* Allow people to optionally wrap lines in source listings */
/* content list */
div.wrapPreLines pre {
.mw-content-ltr .toc ul ul,
    white-space: pre-wrap;
.mw-content-rtl .toc ul ul {
  margin: 0 0 0 1em;
}
}


/**
.toc > ul {
* 8. SOME OTHER SMALL THINGS
  padding: 0.5em;
* -------------------------------------------------
  border-top: 1px solid var(--theme-border-color);
*/
  margin: 0;
 
/* Give a bit of space to the TOC */
#toc {
    margin: 1em 0;
}
}
 
.toc > ul a {
/**
  display: block;
* Allow limiting of which header levels are shown in a TOC;
  padding: 2px 0.5em;
* <div class="toclimit-3">, for instance, will limit to
  border-radius: 4px;
* showing ==headings== and ===headings=== but no further.
  transition: background 0.1s;
* Used in [[Template:TOCright]]
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}
}
 
.toc > ul a:hover {
/* make the list of references look smaller and highlight clicked reference in blue */
  text-decoration: none;
ol.references {
  background: var(--theme-highlight-background);
    font-size: 100%;
}
}
 
.toc > ul li {
.references-small {
  margin: 0;
    font-size: 90%;
}
}


ol.references > li:target {
/********* Tables *********/
    background-color: #def;
table {
  /* fix 100% width table with border */
  box-sizing: border-box;
}
}


sup.reference:target {
table.lined,
    background-color: #def;
table.bordered,
table.cellborder {
  border-collapse: collapse;
  border-style: solid;
  border-color: var(--theme-border-color);
}
}


/**
table.lined th,
* Styling for links generated by [[MediaWiki:Edittools]]
table.lined td {
* @source www.mediawiki.org/wiki/Extension:CharInsert#Styling
  border-width: 0 0 1px 0;
* @updated 2012-02-29
*/
.mw-charinsert-buttons {
    margin-top: 10px;
    border:    1px solid #aaa;
    padding:   1px;
    text-align: center;
    font-size:  110%;
}
}


.mw-charinsert-buttons a {
table tfoot:empty,
    color:           black;
table thead:empty {
    background-color: #cde !important;
  display: none;
    font-weight:      bold;
    font-size:       .9em;
    text-decoration:  none;
    border:          thin #069 outset;
    padding:          0 .1em .1em;
}
}


.mw-charinsert-buttons a:hover,
table.lined td.noline, table.lined tr.noline td {
.mw-charinsert-buttons a:active {
  border-bottom-width: 0;
    background-color: #bcd;
    border-style:     inset;
}
}


.client-js .mw-edittools-section {
table tr.bottomline td {
    display: inline;
  border-bottom-width: 1px;
}
}


.client-js .mw-edittools-section input[type="button"] {
table tr.topline td {
    font-size:    0.9em;
  border-top-width: 1px;
    padding-left: 1px;
    padding-right: 1px;
    margin-left:  1px;
}
}


/* from [[User:Splarka/Help:Linked images]] */
table td.bottomline, table.lined tr.noline td.bottomline {
.imagelink_wikilogo a {
  border-bottom-width: 1px;
    width:            135px;
    height:          135px;
    display:          block;
    text-decoration:  none;
    background-image: url(//upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png);
}
}


/**
table td.topline {
* Infoboxes
  border-top-width: 1px;
*/
.infobox {
    float:        right;
    clear:        right;
    margin-bottom: 0.5em;
    margin-left:   1em;
    padding:      0.2em;
    border:        1px solid #aaa;
    background:    #f9f9f9;
    color:        black;
}
}


.infobox td,
/* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */
.infobox th {
table.outer {
    vertical-align: top;
  white-space: nowrap;
}
}


.infobox caption {
table.inner {
    margin-left: inherit;
  border-collapse: collapse;
    font-size:   larger;
  background: inherit;
  width: 100%;
}
}


.infobox.bordered {
table.inner th {
    border-collapse: collapse;
  border: 2px solid var(--theme-border-color);
}
}


.infobox.bordered td,
.wikitable,
.infobox.bordered th {
.wikitable > tr > th,
    border: 1px solid #aaa;
.wikitable > * > tr > th {
  color: inherit;
  background: none;
}
}


.infobox.bordered .borderless td,
.wikitable {
.infobox.bordered .borderless th {
  border-color: var(--theme-border-color);
    border: 0;
}
}


/**
table.cargoTable.noMerge tr:nth-child(2n) {
* Apparently the namespaces parameter
  background: rgba(127, 127, 127, 0.25);
* for inputbox forces a checkbox.
* Let's hide it in the API sidebar
*/
.mw-inputbox-hideapicheck label[for="mw-inputbox-ns104"],
#mw-inputbox-ns104 {
    display: none;
}
}


/** Testing for code review **/
table.cargoTable.noMerge tr:nth-child(2n+1) {
div.mw-wordcloud {
  background: none;
    width:      100%;
    text-align: justify;
}
}


.mw-wordcloud-size-1 {
/***********************************************************************************************************
    color:     #222;
* common style for content box
    font-size: 2.4em;
***********************************************************************************************************/
.fullwidth, .full-width {
  width: 100%;
}
}


.mw-wordcloud-size-2 {
.nowrap {
    color:    #333;
  white-space: nowrap;
    font-size: 2.2em;
}
}


.mw-wordcloud-size-3 {
/* ".center" has width=100% rule, we don't want it, so use a different class name. */
    color:    #444;
.aligncenter,
    font-size: 2.0em;
.align-center {
  text-align: center;
}
}


.mw-wordcloud-size-4 {
.alignleft,
    color:    #555;
.align-left {
    font-size: 1.8em;
  text-align: left;
}
}


.mw-wordcloud-size-5 {
.alignright,
    color:    #666;
.align-right {
    font-size: 1.6em;
  text-align: right;
}
}


.mw-wordcloud-size-6 {
/* clear fix for float block */
    color:    #777;
.clearfix {
    font-size: 1.4em;
  *zoom: 1;
}
}


.mw-wordcloud-size-7 {
.clearfix::before,
    color:     #888;
.clearfix::after {
    font-size: 1.2em;
  content: " ";
  display: table;
}
}


.mw-wordcloud-size-8 {
.clearfix::after {
    color:    #999;
  clear: both;
    font-size: 1em;
}
}


.mw-wordcloud-size-9 {
/* Thumbnail background color */
    color:         #aaa;
html .thumbimage {
    font-size:      0.8em;
  background-color: #4d3a32;
    letter-spacing: 3px;
}
}


.mw-wordcloud-size-10,
/** gallery **/
.mw-wordcloud-size-0 {
.thumbinner {
    color:    #bbb;
  border-radius: 5px;
    font-size: 0.8em;
}
}


/* Styling for related links and disambiguation links */
li.gallerybox div.thumb {
.rellink,
  border-radius: 5px;
.dablink {
    font-style:    italic;
    margin-bottom: 0.5em;
    padding-left: 2em;
}
}


/* @todo FIXME: document me :) */
.gallery * {
#signuptopbox li {
  box-sizing: initial;
    float:      left;
    list-style: none;
    font-family: sans-serif;
}
}


#signuptopbox li {
.mw-gallery-traditional .thumb {
    color:        #3ca7d4;
  display: flex;
    background:    #c2e1f9;
    line-height:  2.8em;
    margin-right:  .25em;
    padding-right: .5em;
}
}


#signuptopbox li.pr-active,
.mw-gallery-traditional .thumb a {
#signuptopbox li.pr-active div {
   display: block;
    color:        #67ca36;
    background:   #d4f9c2;
    border-color: #fff #fff #fff #67ca36;
}
}


#signuptopbox li div {
/***********************************************************************************************************
    width:        0;
* css for specific content pages
    height:      0;
***********************************************************************************************************/
    border-color: #fff #fff #fff #3ca7d4;
/*********** Main page  START ****************/
    border-style: solid;
#mainpage-wrap .footer {
    border-width: 1.4em .3em 1.4em 1.4em;
  text-align: right;
    float:       left;
  font-size: 12px;
  line-height: 22px;
}
}
 
#mainpage-wrap .box {
#signuptopbox li span.pr-number {
  border: 1px solid var(--theme-border-color);
    display:              block;
  border-radius: var(--theme-box-border-radius);
    width:                 1.8em;
  padding: 1.5em;
    line-height:          1.8em;
    background:            #3ca7d4;
    color:                #c2e1f9;
    text-align:            center;
    margin:                .5em;
    -webkit-border-radius: 50%;
    -moz-border-radius:   50%;
    -ms-border-radius:    50%;
    -o-border-radius:      50%;
    border-radius:        50%;
    font-weight:           600;
    float:                left;
}
}
 
#mainpage-wrap h2 {
#signuptopbox li.pr-active span.pr-number {
  margin-top: 0;
    background: #67ca36;
  border-bottom: 0;
    color:     #d4f9c2;
}
}
 
#mainpage-wrap .content-wrap {
#signuptopbox li span {
  display: flex;
    float: left;
  gap: 1em;
  align-items: stretch;
  margin-bottom: 1em;
}
}
 
@media (max-width: 1200px) {
#signuptopbox li.pr-spacer {
  #mainpage-wrap .content-wrap {
     padding: 0;
     flex-direction: column;
  }
}
}
 
#mainpage-wrap .content-wrap .l {
/* Breadcrumb code */
  flex: 3 3 600px;
.breadcrumb {
  display: flex;
    list-style: none;
   flex-direction: column;
    overflow:  hidden;
  gap: 1em;
    font:       14px Helvetica, Arial, sans-serif;
}
}
 
#mainpage-wrap .content-wrap .r {
.breadcrumb li {
  flex: 1 1 300px;
    float:         left;
  display: flex;
    margin-bottom: 0;
  flex-direction: column;
  gap: 1em;
}
}
 
#mainpage-wrap .box.header {
.breadcrumb li a {
  text-align: center;
    color:          white;
    text-decoration: none;
    padding:        10px 0 10px 45px;
    position:        relative;
    display:        block;
    float:           left;
}
}
 
#mainpage-wrap .box.header .welcome h2 {
.breadcrumb li a:after {
  font-size: 2em;
    content:      " ";
    display:      block;
    width:        0;
    height:        0;
    /* Go big on the size, and let overflow hide */
    border-top:    50px solid transparent;
    border-bottom: 50px solid transparent;
    position:      absolute;
    top:          50%;
    margin-top:    -50px;
    left:          100%;
    z-index:       2;
}
}
 
#mainpage-wrap .box.header ul {
.breadcrumb li a:before {
  display: inline-flex;
    content:      " ";
  align-items: center;
    display:       block;
   margin: 1.5em auto 0.5em;
    width:        0;
   gap: 1em;
    height:        0;
    border-top:    50px solid transparent;
    border-bottom: 50px solid transparent;
    border-left:   31px solid white;
    position:      absolute;
    top:          50%;
    margin-top:   -50px;
    margin-left:   1px;
    left:         100%;
    z-index:      1;
}
}
 
#mainpage-wrap .box.header ul li {
.breadcrumb li:first-child a {
  list-style: none;
    padding-left: 20px;
}
}
 
@media (max-width: 600px) {
.currentcrumb a {
  #mainpage-wrap .box.header img {
     background: #069;
     width: 32px;
    height: auto;
  }
}
}
 
#mainpage-wrap .box.game > div {
.currentcrumb a:after {
  display: flex;
    border-left: 30px solid #069;
  gap: 1em;
  align-items: center;
}
}
 
@media (max-width: 640px) {
.currentcrumb a:hover,
  #mainpage-wrap .box.game > div {
.prevcrumb a:hover,
     flex-direction: column;
.nextcrumb a:hover {
  }
     background: #002d44;
}
}
 
#mainpage-wrap .box.game img {
.currentcrumb a:hover:after,
  width: 100%;
.prevcrumb a:hover:after,
  height: auto;
.nextcrumb a:hover:after {
  max-width: 320px;
    border-left-color: #002d44 !important;
  max-height: 180px;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.25);
}
}
 
#mainpage-wrap .box.game p {
.prevcrumb a {
  font-size: 16px;
    background: #396;
  line-height: 28px;
}
}
 
#mainpage-wrap .box.feature {
.prevcrumb a:after {
  font-size: 18px;
    border-left: 30px solid #396;
}
}
 
@media (max-width: 600px) {
.nextcrumb a {
  #mainpage-wrap .box.feature {
     background: #999;
     font-size: 16px;
  }
}
}
 
#mainpage-wrap .box.feature ul {
.nextcrumb a:after {
  margin: 0.5em 0;
    border-left: 30px solid #999;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  justify-items: start;
  gap: 1em 1.5em;
}
}
 
@media (max-width: 600px) {
/* To facilitate rtl translations */
  #mainpage-wrap .box.feature ul {
#bodyContent .table-RTL a {
     gap: 8px;
     background:   none;
  }
    padding-right: 0;
}
}
 
#mainpage-wrap .box.gallery ul {
#bodyContent .table-RTL ul {
  display: flex;
    margin-right: 10px;
  flex-wrap: wrap;
    display:     table;
  gap: 0.5em;
  margin: 0;
}
}
 
#mainpage-wrap .box.gallery ul li {
/* Fix annoying bug where the "date" column in the LQT sometimes
  flex: 1 1 40%;
* is two rows because of the date being too long even through there is
  list-style: none;
* enough space (otherwise the browser makes it's own decision on where to cut)
*/
.lqt_toc th:nth-child(3),
.lqt_toc td:nth-child(3) {
    white-space: nowrap;
}
}
 
@media (max-width: 1200px) and (min-width: 720px) {
.persian {
  #mainpage-wrap .box.gallery ul li {
     font-family: Tahoma;
     flex: 1 1 22%;
  }
}
}
 
#mainpage-wrap .box.gallery ul li img {
/**
  width: 100%;
* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
  height: auto;
* [[bugzilla:26204]]
*/
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript {
    font-family: monospace, "Courier New" !important;
}
}
 
#mainpage-wrap .box.gallery img {
/**
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.25);
* Manual:Database_layout
*/
.mwmanual-dbview-box img {
    opacity: 0.5;
}
}


.mwmanual-dbview-box:hover img {
/*********** Main page  END ****************/
    opacity: 0.8;
}


.mwmanual-dbview-link {
    background:    rgb(198, 212, 235);
    background:    hsla(217, 48%, 85%, 0.8);
    border:        1px solid #0645ad;
    border-radius: 4px;
    padding:      10px 5px;
    text-align:    center;
    font-weight:  bold;
}


.mwmanual-dbview-box:hover .mwmanual-dbview-link {
/***********************************************************************************************************
    background: hsla(215, 46%, 95%, 0.8);
* css for pages under MediaWiki or Special NS, or system widgets on template/module pages and so on
***********************************************************************************************************/
/********* ooui *********/
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined,
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
  background: none;
}
}


.mwmanual-dbview-link:hover {
.oo-ui-textInputWidget .oo-ui-inputWidget-input {
    background: hsla(215, 46%, 95%, 0.9);
  color: var(--theme-text-color);
}
}


/**
.oo-ui-tabOptionWidget {
* Hide "Edit" tab from [[VisualEditor:Welcome]] until page protection affects VisualEditor extension too (added on 06-29-2012)
  color: var(--theme-text-color);
* Unhid it for sysops in [[MediaWiki:Group-sysop.css]]
*/
body.page-VisualEditor_Welcome li#ca-edit {
    display: none;
}
}


/**
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
* VisualEditor documentation styles - required for displaying document diagrams
  color: var(--theme-text-color);
*/
  background: none;
.ve-doc-dm-data {
    list-style: none;
    cursor:     default;
}
}


.ve-doc-dm-data li {
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
    font-family: sans-serif;
  color: var(--theme-text-color-note);
    text-align:  center;
    line-height: 2.25em;
    display:    inline-block;
    width:      2.25em;
    height:      2.25em;
    border:      solid 2px white;
}
}


.ve-doc-dm-data li.ve-doc-dm-cursor {
.oo-ui-tabSelectWidget-framed {
    width: 0.5em;
  background: none;
}
}


.ve-doc-dm-cursor:hover {
/********* for File: NS pages *********/
    border-color: #ccc;
#filetoc {
  background: none;
}
}


.ve-doc-dm-open,
/******* Search result page. (Special:Search)  ******/
.ve-doc-dm-close {
.mw-search-form-wrapper {
    background-color: #50a5f4;
  font-size: 1em;
    color:           #7ddcfd;
}
}


.ve-doc-dm-open:hover,
.mw-search-form-wrapper #mw-search-top-table {
.ve-doc-dm-close:hover {
  display: flex;
    border-color: #7ddcfd;
  align-items: center;
}
}


.ve-doc-dm-close {
.mw-search-form-wrapper #mw-search-top-table > div {
    background-image:    url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJhJREFUeNrs0UENgEAQBMGThGMkImFBAp8jTVKVjIHptT4yM8eza947F2KIIYYYYoghBmKIgRhiIIYYiCGG18QQQwwxxBBDDMQQAzHEQAwxEEMMMTYHESMWRIwfBhEjFESMUBAxQkHECAURIxREjFAQMUJBxAgFESMURAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGCfW4ABAPk3h3InIbNlAAAAAElFTkSuQmCC);
  float: none;
    background-size:    contain;
    background-position: left top;
    background-repeat:   no-repeat;
}
}


.ve-doc-dm-char,
.mw-search-form-wrapper .results-info {
.ve-doc-dm-achar {
  color: var(--theme-text-color-note);
    border-radius: 3em;
  font-size: 1em;
  padding: 0 0 0 3em;
  white-space: nowrap;
  text-align: right;
  flex: 1 1 auto;
}
}


.ve-doc-dm-char {
.mw-search-form-wrapper .mw-search-visualclear {
    background-color: #7bcc45;
  display: none;
    color:           #fff;
}
}


.ve-doc-dm-char:hover {
.mw-search-form-wrapper .mw-search-profile-tabs {
    border-color: #b6f26c;
  border: 0;
  margin: 1em 0;
}
}


.ve-doc-dm-achar {
.mw-search-form-wrapper .mw-search-profile-tabs .search-types + div {
    background-color: #fa952c;
  display: none;
    color:           #fff;
}
}


.ve-doc-dm-achar:hover {
.mw-search-form-wrapper .mw-search-profile-tabs .search-types {
    border-color: #fed045;
  width: 100%;
  float: none;
  padding: 0;
}
}


.ve-doc-dm-element-text {
.mw-search-form-wrapper .mw-search-profile-tabs .search-types ul li {
    color: #50a5f4;
  float: none;
  display: inline-block;
  vertical-align: middle;
}
}


.ve-doc-dm-char-text {
.mw-search-form-wrapper .mw-search-profile-tabs .search-types ul li.current {
    color: #7bcc45;
  background: var(--theme-highlight-background);
  border-radius: 4px;
  overflow: hidden;
}
}


.ve-doc-dm-achar-text {
.mw-search-form-wrapper #mw-searchoptions {
    color: #fa952c;
  padding: 1em;
  background: var(--theme-box-background);
  border: 1px solid var(--theme-border-color-accent);
  border-radius: 4px;
}
}


/* For templates in Category:VisualEditor tests templates */
/* responsive tweak */
tt.ve-typing-test {
@media screen and (max-width: 600px) {
     color:           white;
  .mw-search-form-wrapper #mw-search-top-table {
     background-color: black;
     display: block;
     padding:         0 1em 0 1em;
  }
  .mw-search-form-wrapper .results-info {
     margin-top: 1em;
  }
  .mw-search-form-wrapper .mw-search-profile-tabs .search-types ul li {
     font-size: 12px;
  }
}
}


/**
ALERTS
**/


.alert {
.theme-dark {
    padding:              8px 35px 8px 14px;
  /***********************************************************************************************************
    margin:                0 20px 20px 0;
  * dark theme tweak
    text-shadow:          0 1px 0 rgba(255, 255, 255, 0.5);
  ***********************************************************************************************************/
    background-color:     #fcf8e3;
}
    border:               1px solid #fbeed5;
.theme-dark #filetoc, .theme-dark code,
    -webkit-border-radius: 4px;
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend,
    -moz-border-radius:    4px;
.theme-dark .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined,
    border-radius:         4px;
.theme-dark .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,
.theme-dark .mw-search-profile-tabs, .theme-dark #mw-searchoptions,
.theme-dark .mw-datatable td {
  background: none;
}
.theme-dark .oo-ui-textInputWidget .oo-ui-inputWidget-input {
  background: #1f3030;
  color: var(--theme-text-color);
}
.theme-dark #mw-allmessagestable tbody:hover td {
  background: var(--theme-highlight-background);
}
.theme-dark li.gallerybox div.thumb {
  background: var(--theme-box-background);
}
}
 
.theme-dark ul {
.alert,
  list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>');
.alert h4 {
}
    color: #c09853;
.theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
  color: var(--theme-text-color-note);
}
.theme-dark .oo-ui-tabSelectWidget-framed,
.theme-dark .mw-prefs-buttons {
  background: none;
}
.theme-dark .oo-ui-tabOptionWidget {
  color: var(--theme-text-color);
}
.theme-dark .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
  color: var(--theme-text-color);
  background: none;
}
.theme-dark table.diff .diff-context {
  background: rgba(248, 249, 250, 0.15);
  color: var(--theme-text-color);
}
.theme-dark table.diff .diff-addedline .diffchange {
  background: rgba(74, 166, 255, 0.6);
}
.theme-dark table.diff .diff-deletedline .diffchange {
  background: rgba(255, 198, 63, 0.6);
}
.theme-dark :root {
  --pi-background: rgba(255,255,255, 0.1);
}
.theme-dark div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
  background: #231c3b;
}
.theme-dark .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon {
  filter: invert(1);
}
.theme-dark .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon {
  filter: none;
}
.theme-dark .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title {
  color: #ddd;
}
.theme-dark div.thumbinner {
  background: none;
}
.theme-dark #pagehistory li.selected {
  background: rgba(40, 40, 40, 0.6);
  color: var(--theme-text-color);
}
}
 
.theme-dark #mw-indicator-mw-helplink a {
.alert h4 {
  background: none;
    margin: 0;
  position: relative;
}
}
 
.theme-dark #mw-indicator-mw-helplink a:before {
.alert .close {
  content: "";
    position:   relative;
  display: block;
    top:         -2px;
  position: absolute;
    right:       -21px;
  left: 0;
    line-height: 20px;
  top: 0;
  width: 20px;
  height: 20px;
  background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34);
  filter: invert(1);
}
}
 
.theme-dark .mw-plusminus-pos {
.alert-success {
  color: #7cf56e;
    color:            #468847;
    background-color: #dff0d8;
    border-color:     #d6e9c6;
}
}
 
.theme-dark .mw-plusminus-neg {
.alert-success h4 {
  color: #ff9a9b;
    color: #468847;
}
}
 
.theme-dark .autocomment, .theme-dark .autocomment a, .theme-dark .autocomment a:visited {
.alert-danger,
  color: var(--theme-text-color-note);
.alert-error {
    color:           #b94a48;
    background-color: #f2dede;
    border-color:    #eed3d7;
}
}
 
.theme-dark .mw-message-box-warning {
.alert-danger h4,
  background-color: rgba(54, 44, 10, 0.5);
.alert-error h4 {
  border-color: #fc3;
    color: #b94a48;
  color: #fff;
}
}
 
.theme-dark fieldset {
.alert-info {
  border-color: #ccc;
    color:            #3a87ad;
    background-color: #d9edf7;
    border-color:     #bce8f1;
}
}
 
.theme-dark .mw-highlight pre, .theme-dark .mw-highlight code, .theme-dark .mw-highlight .mw-code {
.alert-info h4 {
  color: #ccc;
    color: #3a87ad;
}
}
 
.theme-dark .mw-highlight .nv {
.alert-block {
  color: #01C2EC;
    padding-top:    14px;
    padding-bottom: 14px;
}
}


.alert-block > p,
.portable-infobox {
.alert-block > ul {
  border: 1px solid var(--pi-border-color);
    margin-bottom: 0;
}
}


.alert-block p + p {
.wikiEditor-ui-toolbar {
    margin-top: 5px;
  color: #000;
}
}


#p-googleadsense .body {
.toccolours {
    margin-left: -10px !important;
  background-color: unset;
  border: unset;
  font-size: unset;
  padding: unset;
}
}

Revision as of 11:02, 14 October 2023

/***********************************************************************************************************
 * css reset for browser default rules and MediaWiki internal rules
 ***********************************************************************************************************/
* {
  outline: 0;
}

table {
  white-space: unset; /* be set to `no-wrap` in MW internal css */
}

html {
  font-size: 16px; /* reset rem size */
}

body {
  overflow-y: unset;
}

pre {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  padding: 0;
  border: 0 solid transparent;
}

table {
  display: table;
  white-space: unset;
}

body, code {
  background: none;
}

/***********************************************************************************************************
 * css for wiki.gg top bar and footer bar
 ***********************************************************************************************************/
/********* wiki.gg header *********/
header#wikigg-header #p-personal ul {
  white-space: nowrap; /* for "log out" */
}
header#wikigg-header #p-personal .vector-menu-content #pt-anonuserpage, header#wikigg-header #p-personal .vector-menu-content #pt-userpage a {
  /* user avatar icon position fix */
  padding-top: 0;
  background-position: left center;
}
@media screen and (max-width: 720px) {
  header#wikigg-header #p-personal li#p-themes > span {
    display: inline-block;
  }
}

/********* wiki.gg footer *********/
footer#wikigg-footer .footer-right, footer#wikigg-footer .footer-left {
  margin: 0;
  text-align: center;
}
@media screen and (max-width: 479px) {
  footer#wikigg-footer .footer-right, footer#wikigg-footer .footer-left {
    width: auto;
  }
}
@media screen and (max-width: 359px) {
  footer#wikigg-footer .footer-middle {
    /* hide wiki.gg logo to make room to avoid text wrapping */
    display: none;
  }
}

/***********************************************************************************************************
 * theming vars.
 ***********************************************************************************************************/
:root {
  /*** top site logo ***/
  --theme-site-logo-image: url(/images/e/e6/Site-logo.png);
  --theme-site-logo-filter: none;
  --theme-site-logo-width: 492px;
  --theme-site-logo-height: 108px;
  /*** site background ***/
  --theme-site-background: #73bfe8 url(/images/8/80/Site-background.jpg) top center / cover no-repeat fixed;
  /* common "box" style */
  --theme-box-back-backdrop-filter: none;
  --theme-box-border-radius: 4px;
  --theme-box-border-width: 0px;
  --theme-box-border-style: solid;
  --theme-box-border-color: #511e00;
  --theme-box-shadow: none;
  --theme-box-shadow2: none;
  --theme-box-back-background: rgba(255,255,255,0.8);
  /* be used in multi-layer background, so we can't simpy use background-color */
  --theme-box-background: linear-gradient(rgba(255,255,255,0.5),rgba(255,255,255,0.5));
  --theme-background: var(--theme-box-background), var(--theme-box-back-background);
  /*** text color ***/
  --theme-text-color: #000;
  --theme-text-color-hover: var(--theme-text-color);
  --theme-text-color-note: #9d9d9d;
  --theme-text-color-em: #0c742f;
  --theme-heading-color: var(--theme-text-color);
  --theme-text-color-placeholder: #808080;
  --theme-control-text-color: #333;
  --theme-control-text-color-hover: #333;
  /*** link text color ***/
  --theme-link-color: #611e00;
  --theme-link-color-hover: #000000;
  --theme-link-color-visited: var(--theme-link-color);
  --theme-link-color-redlink: #bf0017;
  --theme-link-color-focus: var(--theme-link-color);
  /* default color for icons */
  --theme-icon-color: var(--theme-link-color);
  --theme-icon-color-redlink: var(--theme-link-color-redlink);
  --theme-icon-color-hover: var(--theme-link-color-hover);
  /* default common color */
  --theme-border-color: #cecece;
  --theme-border-color-accent: #ffdd7a;
  --theme-highlight-background: rgba(97, 30, 0, 0.15);
  /* dropdown menu */
  --theme-dropdown-border: 1px solid var(--theme-box-border-color);
  --theme-dropdown-background: rgba(255,255,255,0.95);
  --theme-dropdown-backdrop-filter: blur(5px);
  /* for wide table */
  --theme-wide-table-shadow-color: #999;
  /** notification **/
  --theme-notice-red-text-color: #ff001f;
  --theme-notice-orange-text-color: #ffab5b;
  /* portable infobox */
  --pi-background: none;
  --pi-border-color: #535663;
  --pi-secondary-background: #797a8e;
  --pi-secondary-background--label: #000;
  --pi-item-spacing: 8px 10px;
}
:root.theme-dark {
  --theme-site-background: #111d64 url(/images/c/c4/Site-background-dark.jpg) top center / cover no-repeat fixed;
}
:root.theme-dark {
  --theme-box-border-color: #666666;
  --theme-box-back-background: rgba(30,31,31,0.8);
  --theme-box-background: linear-gradient(rgba(30,31,31,0.5), rgba(30,31,31,0.5));
}
:root.theme-dark {
  --theme-text-color: #fff;
  --theme-text-color-note: #bbb;
  --theme-text-color-em: #00f600;
}
:root.theme-dark {
  --theme-link-color: #00abff;
  --theme-link-color-hover: #65ccff;
  --theme-link-color-redlink: #dd001a;
}
:root.theme-dark {
  --theme-border-color: #505151;
  --theme-border-color-accent: #296bc4;
  --theme-highlight-background: rgba(0, 171, 255, 0.15);
}
:root.theme-dark {
  --theme-dropdown-background: rgba(30,31,31,0.95);
}

/* main content box */
/* sidebar */
#mw-panel {
  --theme-link-color: var(--theme-text-color);
  --theme-link-color-visited: var(--theme-link-color);
  --theme-link-color-hover: var(--theme-link-color);
  --theme-border-width: 0;
  --theme-gap: 0;
}

#catlinks {
  --theme-background: none;
  --theme-box-border-radius: 0;
}

#footer {
  --theme-background: none;
}

/* navbar */
#mw-head {
  --theme-link-color: var(--theme-text-color);
  --theme-link-color-visited: var(--theme-link-color);
  --theme-link-color-hover: var(--theme-link-color);
  --theme-background: none;
  --theme-background-shadow: linear-gradient(to top, rgba(0,0,0,0.05), transparent 6px);
  --theme-tab-background: var(--theme-box-background);
  --theme-tab-background-selected: var(--theme-box-background);
  --theme-tab-border-color: var(--theme-box-border-color);
  --theme-tab-border-color-selected: var(--theme-box-border-color);
}
#mw-head #p-search {
  --theme-border-color: var(--theme-box-border-color);
  --theme-link-color: var(--theme-text-color);
  --theme-background: var(--theme-box-background);
  --theme-border-color-hover: var(--theme-icon-color-hover);
  --theme-border-color-focus: var(--theme-border-color-hover);
  --theme-shadow: none;
  --theme-shadow-focus: var(--theme-box-shadow);
}

/* search result suggestion */
body > .suggestions {
  --theme-border-color: var(--theme-border-color-accent);
  --theme-rule-color: var(--theme-border-color-accent);
  --theme-link-color: var(--theme-text-color);
  --theme-link-color-visited: var(--theme-text-color);
  --theme-link-color-hover: var(--theme-text-color-hover);
}

/***********************************************************************************************************
 * base css styles for both interface and content box: font, color, etc.
 ***********************************************************************************************************/
/** Font **/
html, body {
  font-family: Helvetica, Arial, sans-serif;
  color: var(--theme-text-color);
}

html {
  background: var(--theme-site-background);
}

body {
  font-size: 14px;
  line-height: 1.5;
}

ul, ol {
  margin: 2px 0 2px 1.5em;
}

li {
  margin: 0 0 2px 0;
}

pre, code, .mw-code {
  color: var(--theme-text-color);
  border: 1px solid var(--theme-border-color);
  background: var(--theme-background);
}

/** link color **/
/* Self-links aren't real links, they're not clickable.
 * Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive.
 * We should not use :not(.selflink) since it increases the priority and make it is difficult to override
 * link styles for certain elements (e.g. in wiki.gg header).
 */
a,
a.selflink:hover, a.selflink:active {
  text-decoration: none;
  color: var(--theme-link-color);
}

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

a:hover, a:active {
  text-decoration: underline;
  color: var(--theme-link-color-hover);
}

/** red link **/
/* we don't really need to mark you have "visited" an inexistent page */
a.new, a.new:visited {
  color: var(--theme-link-color-redlink);
}

/*********************************************************************************************************/
input, button {
  color: var(--theme-control-text-color);
  caret-color: var(--theme-text-color);
}

input[type=submit] {
  color: var(--theme-control-text-color);
}

::placeholder {
  color: var(--theme-text-color-placeholder);
}

/* Removes VisualEdit button */
#ca-ve-edit {
  display: none;
}

/* Link color */
.mw-parser-output a.external,
.mw-parser-output a.external:visited,
.mw-parser-output a.extiw,
.mw-parser-output a.extiw:visited,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
  color: var(--theme-link-color);
}

/* Text color */
.i .note,
.note-text {
  color: var(--theme-text-color-note);
}

.pixel img, .pixel,
#mw-imagepage-section-filehistory img {
  image-rendering: pixelated; /*for chrome*/
  image-rendering: crisp-edges; /*for firefox*/
}

.small {
  font-size: 85%;
}

.fullwidth, .full-width {
  width: 100%;
}

.nowrap {
  white-space: nowrap;
}

/* ".center" has width=100% rule, we don't want it, so use a different class name. */
.aligncenter,
.align-center {
  text-align: center;
}

.alignleft,
.align-left {
  text-align: left;
}

.alignright,
.align-right {
  text-align: right;
}

/* clear fix for float block */
.clearfix {
  *zoom: 1;
}

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* References smaller text than main */
.references {
  font-size: 90%;
}

/* Larger font for Module: code display (default is smaller than other code pages) */
pre.lua.source-lua {
  font-size: 14px !important;
}

/* Facilitate inline scary transclusion */
.scary-transclusion p, .scary-transclusion .mw-parser-output {
  display: inline;
}

/* hide last empty paragraph at the end */
div.mw-parser-output > p:last-child > br:only-child {
  display: none;
}

/* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */
.apihelp-parameters dd:empty::before {
  content: " ";
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.inline-block {
  display: inline-block;
}

hr.space {
  height: 4px;
  background: none;
  border: 0;
}

.page-content .vertical-align-top * {
  vertical-align: top;
}

.page-content .vertical-align-bottom * {
  vertical-align: bottom;
}

/* Drowning Table No Border */
.drowning-table-no-border {
  border: none;
}

/* Gadget description length */
.oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header,
.oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body {
  max-width: unset;
}

/* Box at the top of all pages when the user has a new message on their User_talk: page */
.usermessage {
  box-sizing: border-box;
  border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-box-border-color);
  border-radius: var(--theme-box-border-radius);
  backdrop-filter: var(--theme-box-back-backdrop-filter);
  box-shadow: var(--theme-box-shadow);
  background: var(--theme-box-background), var(--theme-box-back-background);
}

/***********************************************************************************************************
 * interface layout and styles for widgets outside of content box
 ***********************************************************************************************************/
:root {
  --layout-topbar-height: 35px; /* height of wiki.gg topbar */
  --layout-sidebar-width: 180px; /* width of side navbar, without gap */
  --layout-sidespace: 24px; /* whitespace width on most left and most right */
  --layout-box-gap: 12px;
  --layout-box-border-radius: 5px;
  --layout-logo-scale: 1;
  --layout-logo-box-height: calc(var(--theme-site-logo-height) * var(--layout-logo-scale) + var(--layout-box-gap) * 2);
  --dropdown-item-padding-x: 12px;
  --dropdown-item-padding-y: 4px;
}

/**** Main Layout START ***********************************************************/
/**
 * Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout
 */
html, body {
  min-height: 100%;
}

html {
  height: 100%;
  scroll-padding-top: calc(var(--layout-topbar-height) + 10px);
}

body {
  height: auto;
}

/*** main grid container ***/
body {
  /* self */
  box-sizing: border-box;
  /* grid */
  display: grid;
  grid-template-columns: [body-left] var(--layout-sidespace) [aside-left] var(--layout-sidebar-width) [aside-right nav-left content-left footer-left] minmax(0, 1fr) [nav-right content-right footer-right] var(--layout-sidespace) [body-right];
  grid-template-rows: [body-start] var(--layout-topbar-height) [page-start logo-start] var(--layout-logo-box-height) [logo-end nav-start aside-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [aside-end page-end] 0fr [body-end];
  gap: 0 var(--layout-box-gap);
}

/*** grid items ***/
/* Flatten DOM structure. Therefore we have following grid items under body grid container:
 * div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer.
 */
body > .content-wrapper,
#mw-navigation {
  display: contents;
}

/** unused, hide them **/
#mw-head-base,
#mw-navigation > h2 {
  display: none;
}

/** side nav bar **/
#mw-panel {
  grid-column: aside-left/aside-right;
  grid-row: aside-start/aside-end;
  margin-bottom: var(--layout-box-gap);
  float: none;
  width: unset;
  padding: 0;
}

/** nav **/
#mw-head {
  grid-column: nav-left/nav-right;
  grid-row: nav-start/nav-end;
}

/** content **/
.mw-body {
  grid-column: content-left/content-right;
  grid-row: content-start/content-end;
}

/* For some page such as api.php, .mw-body is the only child, so take up all space. */
.mw-body:first-child {
  grid-column: body-left/body-right;
  grid-row: page-start/page-end;
}

/** #footer: content footer **/
#footer {
  grid-column: footer-left/footer-right;
  grid-row: footer-start/footer-end;
  margin: 0;
  z-index: 0;
}

/** used to gen box shadow for main box (nav + content + #footer) **/
#mw-page-base {
  grid-column: content-left/content-right;
  grid-row: nav-start/footer-end;
  height: 100%;
}

/** wiki.gg footer bar **/
body > footer {
  grid-column: body-left/body-right;
  grid-row: page-end/body-end;
}

/*** logo block. It is absolute position ***/
#p-logo {
  position: absolute;
  width: 100%;
  height: var(--layout-logo-box-height);
  left: 0;
  top: var(--layout-topbar-height);
  background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: var(--theme-site-logo-filter);
}

/* use logo image as <a>'s background will sometime flicker when hovered on Firefox,
 * I still don't know why, but move background to #p-logo can avoid this issue.
 */
#p-logo .mw-wiki-logo {
  width: var(--theme-site-logo-width);
  height: var(--theme-site-logo-height);
  margin: auto;
  background: none; /* logo flicker fix */
}

/**** Main Layout END ***********************************************************/

/********* side panel START *********/
#mw-panel {
  --list-body-font-size: 14px;
  --list-body-padding-x: 6px;
  --list-body-padding-y: 3px;
}

#mw-panel a {
  text-decoration: none;
}

/* section box */
#mw-panel .portal {
  margin: 0 0 var(--layout-box-gap) 0;
  padding: 0;
  box-sizing: border-box;
  border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-box-border-color);
  border-radius: var(--theme-box-border-radius);
  backdrop-filter: var(--theme-box-back-backdrop-filter);
  box-shadow: var(--theme-box-shadow);
  background: var(--theme-box-background), var(--theme-box-back-background);
}
#mw-panel .portal .vector-menu-heading {
  /* section heading */
  background: none;
  margin: 0;
  padding: 6px 10px;
  font-size: 16px;
  line-height: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--theme-heading-color);
}

/* show the heading of first section */
#mw-panel #p-logo + .portal .vector-menu-heading {
  display: flex;
}

/* arrow icon */
#mw-panel .portal .vector-menu-heading::after {
  content: "";
  display: block;
  background: none;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: var(--theme-icon-color) transparent;
  border-width: 0 5px 6px;
  margin-top: 2px;
  flex: 0 0 auto;
}
#mw-panel .portal .vector-menu-heading:hover::after {
  border-color: var(--theme-icon-color-hover) transparent;
}
#mw-panel .portal.collapsed .vector-menu-heading::after {
  transform: scaleY(-1);
}

/* list body */
#mw-panel .portal .body {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  border-top: var(--theme-border-width) solid var(--theme-border-color);
}
#mw-panel .portal .body ul {
  padding: var(--theme-gap) 4px 4px;
}
#mw-panel .portal .body li {
  margin: 0;
  padding: 0;
  font-size: var(--list-body-font-size);
  line-height: inherit;
}
#mw-panel .portal .body li:hover {
  background: var(--theme-highlight-background);
}
#mw-panel .portal .body li a {
  display: block;
  padding: var(--list-body-padding-y) var(--list-body-padding-x);
  color: var(--theme-link-color);
}
#mw-panel .portal .body li a:visited {
  color: var(--theme-link-color-visited);
}
#mw-panel .portal .body li a:hover {
  color: var(--theme-link-color-hover);
}

/* "Atom" RSS Feed */
#mw-panel .portal .body li a.feedlink {
  text-indent: calc(var(--list-body-font-size) + 2px);
  background-position: var(--list-body-padding-x) center; /* align icon with other text */
}

/********* side panel END *********/

/********* main content box *********/
/****** navbar (#mw-head) ******/
/* reset */
#mw-head * {
  float: unset;
  font-size: unset;
  line-height: unset;
}

/* tabs layout */
#mw-head {
  --layout-padding: 12px;
  --layout-gap: 6px;
  --tab-padding-x: 12px;
  --tab-padding-y: 5px;
  --icon-size: 1em;
  padding: var(--layout-padding) 0 0 0;
  background: var(--theme-background);
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
#mw-head #left-navigation, #mw-head #right-navigation {
  float: none;
  flex: 1 1 auto;
  margin: 0;
  display: flex;
  align-items: flex-end;
}
#mw-head #left-navigation::before, #mw-head #left-navigation::after, #mw-head #right-navigation::before, #mw-head #right-navigation::after {
  content: "";
  display: block;
  height: 100%;
  border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color);
  background: var(--theme-background-shadow);
}
#mw-head #left-navigation {
  justify-content: flex-start;
}
#mw-head #right-navigation {
  justify-content: flex-end;
}
#mw-head #left-navigation::before, #mw-head #right-navigation::after {
  flex: 0 0 var(--layout-padding);
}
#mw-head #left-navigation::after, #mw-head #right-navigation::before {
  flex: 1 1 auto;
}

/*** tabs of navbar ***/
/* reset */
#mw-head .vector-menu,
#mw-head .vector-menu * {
  background: none;
}

/* tabs list */
#mw-head .vector-menu-tabs {
  height: unset;
  padding: unset;
}
#mw-head .vector-menu-tabs .vector-menu-content-list {
  display: flex;
  align-items: flex-end;
}

/* tab */
#mw-head {
  --theme-tab-border-style: solid;
  --theme-tab-border-width: 1px;
  --theme-border-bottom-style: solid;
  --theme-border-bottom-width: 1px;
  --theme-border-bottom-color: var(--theme-tab-border-color-selected);
  --theme-border-bottom-color-selected: transparent;
}
#mw-head .vector-menu-tabs .mw-list-item,
#mw-head .vector-menu-dropdown {
  /* outer box */
  background: var(--theme-tab-background);
  border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color);
  border-radius: var(--theme-box-border-radius);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  position: relative;
  margin-right: var(--layout-gap); /* make space for gap */
}
#mw-head .vector-menu-tabs .mw-list-item::after,
#mw-head .vector-menu-dropdown::after {
  /* gap */
  content: "";
  display: block;
  width: var(--layout-gap);
  height: 100%;
  border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color);
  position: absolute;
  left: 100%;
  bottom: calc(0px - var(--theme-border-bottom-width));
  background: var(--theme-background-shadow);
}
#mw-head .vector-menu-tabs .mw-list-item a,
#mw-head .vector-menu-dropdown .vector-menu-heading {
  /* inner box */
  height: auto;
  margin: 0;
  padding: var(--tab-padding-y) var(--tab-padding-x);
  border: var(--theme-tab-border-width) var(--theme-tab-border-style) var(--theme-tab-border-color);
  border-bottom: 0;
  border-radius: var(--theme-box-border-radius);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  color: var(--theme-link-color);
  background: var(--theme-background-shadow);
}
#mw-head .vector-menu-tabs .mw-list-item a:hover,
#mw-head .vector-menu-dropdown .vector-menu-heading:hover {
  color: var(--theme-link-color-hover);
}
#mw-head .vector-menu-tabs .mw-list-item a.new,
#mw-head .vector-menu-dropdown .vector-menu-heading.new {
  color: var(--theme-link-color-redlink);
}
#mw-head .vector-menu-tabs .mw-list-item.selected {
  /* outer box: selected */
  background: var(--theme-tab-background-selected);
  border: var(--theme-tab-border-width) var(--theme-tab-border-style) var(--theme-tab-border-color-selected);
  border-bottom: 0;
}
#mw-head .vector-menu-tabs .mw-list-item.selected:after {
  /* gap */
  bottom: 0;
  padding-left: var(--theme-tab-border-width); /* x-position offset */
}
#mw-head .vector-menu-tabs .mw-list-item.selected a {
  /* inner box: selected */
  border: 0;
  border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color-selected);
  background: none;
  color: var(--theme-text-color);
}

/* dropdown menu*/
#mw-head .vector-menu-dropdown .vector-menu-heading {
  /* tab label */
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
}
#mw-head .vector-menu-dropdown .vector-menu-heading::after {
  /* arrow icon */
  background: none;
  opacity: unset;
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: var(--theme-icon-color) transparent;
  border-width: 6px 5px 0;
  margin-top: 2px;
}
#mw-head .vector-menu-dropdown:hover .vector-menu-heading::after {
  /* .vector-menu-heading is covered by .vector-menu-checkbox, therefore we can't use .vector-menu-heading:hover::after */
  border-color: var(--theme-icon-color-hover) transparent;
}
#mw-head .vector-menu-dropdown .vector-menu-content {
  /* dropdown list body */
  border: var(--theme-dropdown-border);
  border-radius: var(--theme-box-border-radius);
  background: var(--theme-dropdown-background);
  backdrop-filter: var(--theme-dropdown-backdrop-filter);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  left: 0; /* reset */
}
#mw-head .vector-menu-dropdown .vector-menu-content ul {
  padding: 4px;
}
#mw-head .vector-menu-dropdown .vector-menu-content li:hover {
  background: var(--theme-highlight-background);
}
#mw-head .vector-menu-dropdown .vector-menu-content li a {
  display: block;
  padding: var(--dropdown-item-padding-y) var(--dropdown-item-padding-x);
  text-decoration: none;
  color: var(--theme-link-color);
}
#mw-head .vector-menu-dropdown .vector-menu-content li a:visited {
  color: var(--theme-link-color-visited);
}
#mw-head .vector-menu-dropdown .vector-menu-content li a:hover {
  color: var(--theme-link-color-hover);
}

/* watch/unwatch star */
#mw-head .vector-menu-tabs .mw-watchlink.icon a {
  --theme-link-color-hover: var(--theme-icon-color-hover);
  width: 1.5em; /* same as line height */
  height: 1.5em;
  box-sizing: content-box;
  padding: var(--tab-padding-y);
  color: transparent; /**<< for watch/unwatch, the text of <a> will be plain 'watch'/'unwatch' without <span> after clicking. **/
}
#mw-head .vector-menu-tabs .mw-watchlink.icon a::before {
  content: "";
  display: block;
  position: unset;
  background-image: none;
  width: var(--icon-size);
  height: var(--icon-size);
  margin: calc((1.5em - var(--icon-size)) / 2);
  --mask: var(--icon) no-repeat;
  -webkit-mask: var(--mask);
  mask: var(--mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: center center;
  mask-position: center center;
  background-color: var(--theme-link-color);
}
#mw-head .vector-menu-tabs .mw-watchlink.icon a:hover::before {
  background-color: var(--theme-link-color-hover);
}
#mw-head .vector-menu-tabs .mw-watchlink.icon a span {
  display: none;
}
#mw-head .vector-menu-tabs .mw-watchlink.icon a::before {
  transform-origin: 50% calc(var(--icon-size) / 2 * 1.125);
}
#mw-head .vector-menu-tabs #ca-watch.icon {
  /* line star */
  --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M28.61,11.67H20l-2.66-8.2a1.39,1.39,0,0,0-2.64,0L12,11.67H3.39a1.39,1.39,0,0,0-.82,2.51l7,5.07L6.89,27.46a1.39,1.39,0,0,0,1.32,1.82A1.43,1.43,0,0,0,9,29l7-5.07L23,29a1.43,1.43,0,0,0,.81.27,1.39,1.39,0,0,0,1.32-1.82l-2.66-8.21,7-5.07A1.39,1.39,0,0,0,28.61,11.67Zm-7.34,6-1.17.86.44,1.38,2.09,6.41-5.45-4L16,21.46l-1.18.86-5.45,4,2.09-6.41.44-1.38-1.17-.86-5.45-4h8.19l.45-1.38L16,5.89l2.08,6.4.45,1.38h8.19Z'/%3E%3C/g%3E%3C/svg%3E");
}
#mw-head .vector-menu-tabs #ca-unwatch.icon {
  /* solid star */
  --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M28.61,11.67H20l-2.66-8.2a1.39,1.39,0,0,0-2.64,0L12,11.67H3.39a1.39,1.39,0,0,0-.82,2.51l7,5.07L6.89,27.46a1.39,1.39,0,0,0,1.32,1.82A1.43,1.43,0,0,0,9,29l7-5.07L23,29a1.43,1.43,0,0,0,.81.27,1.39,1.39,0,0,0,1.32-1.82l-2.66-8.21,7-5.07A1.39,1.39,0,0,0,28.61,11.67Z'/%3E%3C/g%3E%3C/svg%3E");
}


/*** search form ***/
#mw-head #p-search {
  /* navbar common border bottom */
  border-bottom: var(--theme-border-bottom-width) var(--theme-border-bottom-style) var(--theme-border-bottom-color);
  background: var(--theme-background-shadow);
  margin: 0;
  align-self: stretch;
}
#mw-head #p-search form {
  margin: 0;
}
#mw-head #p-search .vector-search-box-input {
  border-width: 1px;
  border-style: solid;
  border-color: var(--theme-border-color);
  color: var(--theme-text-color);
  background: var(--theme-background);
  box-shadow: var(--theme-shadow);
  height: 26px;
  padding: 0 26px 0 4px;
}
#mw-head #p-search .vector-search-box-input:hover {
  border-color: var(--theme-border-color-hover);
}
#mw-head #p-search .vector-search-box-input:focus {
  border-color: var(--theme-border-color-focus);
  box-shadow: var(--theme-shadow-focus);
  outline: 0;
  z-index: 1100; /* .suggestions: 1099 */
}
#mw-head #p-search .vector-search-box-input:focus ~ .searchButton {
  z-index: 1101;
}
#mw-head #p-search .vector-search-box-input::placeholder {
  color: var(--theme-text-color-note);
}
#mw-head #p-search .mw-searchButton {
  opacity: 0;
}
#mw-head #p-search .searchButton {
  width: 26px;
  min-width: unset;
  opacity: 1;
  background-image: none;
  --mask: url("data:image/svg+xml,%3C%3Fxml version='1.0'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3E search %3C/title%3E%3Cpath fill-rule='evenodd' d='M12.2 13.6a7 7 0 1 1 1.4-1.4l5.4 5.4-1.4 1.4-5.4-5.4zM13 8A5 5 0 1 1 3 8a5 5 0 0 1 10 0z'/%3E%3C/svg%3E%0A") no-repeat;
  -webkit-mask: var(--mask);
  mask: var(--mask);
  -webkit-mask-size: 18px 18px;
  mask-size: 18px 18px;
  -webkit-mask-position: center center;
  mask-position: center center;
  background-color: var(--theme-link-color);
}
#mw-head #p-search #searchform:hover .searchButton {
  background-color: var(--theme-link-color-hover);
}
#mw-head #p-search .vector-search-box-input:focus ~ .searchButton {
  background-color: var(--theme-link-color-focus);
}

/*** search result suggestions ***/
.suggestions {
  background: var(--theme-background);
  box-sizing: border-box;
  margin-top: 0;
  box-shadow: var(--theme-box-shadow);
  backdrop-filter: var(--theme-box-back-backdrop-filter);
}
.suggestions .suggestions-results,
.suggestions .suggestions-special {
  background: none;
}
.suggestions .suggestions-results {
  border: 1px solid var(--theme-border-color);
  border-top: 0;
  border-bottom-color: var(--theme-rule-color);
}
.suggestions .suggestions-results:empty {
  border-bottom: 0;
}
.suggestions .suggestions-result,
.suggestions .suggestions-special .special-label,
.suggestions .suggestions-special .special-query {
  color: var(--theme-text-color);
}
.suggestions .suggestions-result {
  padding: 1px 4px;
}
.suggestions .suggestions-special {
  margin: 0;
  padding: 2px 4px 4px;
  border: 1px solid var(--theme-border-color);
  border-top: 0;
  border-radius: var(--theme-box-border-radius);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.suggestions a.mw-searchSuggest-link,
.suggestions a.mw-searchSuggest-link:hover,
.suggestions a.mw-searchSuggest-link:active,
.suggestions a.mw-searchSuggest-link:focus {
  color: var(--theme-link-color);
}
.suggestions .suggestions-result-current {
  background: var(--theme-highlight-background);
  color: var(--theme-link-color-hover);
}
.suggestions .suggestions-result-current .special-label, .suggestions .suggestions-result-current .special-query {
  color: var(--theme-link-color-hover);
}



/**** main content box ****/
/* font */
.vector-body {
  font-size: unset; /* reset */
  line-height: 1.7142857143;
}

/** layout **/
#content {
  color: var(--theme-text-color);
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--theme-box-background);
  --theme-heading-rule-color-h1: var(--theme-border-color);
  --theme-heading-rule-color-h2: var(--theme-border-color);
  --layout-padding-x: 24px;
  --layout-padding-y: 16px;
}

.content-body {
  flex: 1 1 auto;
}
.content-body > main {
  align-self: stretch;
  padding: var(--layout-padding-y) var(--layout-padding-x);
}

#bodyContent {
  display: flex;
  flex-direction: column;
  position: unset;
}

/** main heading section **/
#firstHeading {
  overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */
}

/** the " < rootpage < page " crumb **/
#contentSub, #contentSub2 {
  margin: 0;
  color: var(--theme-text-color-note);
  font-size: 12px;
  line-height: 20px;
}

#contentSub .subpages {
  color: transparent;
  line-height: 20px;
  font-size: 0;
}
#contentSub .subpages a {
  font-size: 12px;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  padding-left: 4px;
}
#contentSub .subpages a::before {
  content: "";
  display: inline-block;
  height: 4px;
  width: 4px;
  border-color: var(--theme-icon-color);
  border-style: solid;
  border-width: 0 0 2px 2px;
  margin: 0 2px 0 0;
  transform: rotate(45deg);
}
#contentSub::after {
  /* the spacing and line between heading section and content body box */
  content: "";
  display: block;
  height: 0;
  border-bottom: 1px solid var(--theme-heading-rule-color-h2);
  margin-top: 4px;
  margin-bottom: var(--layout-padding-y);
}

/** content body box **/
#mw-content-text {
  flex: 1 1 auto;
  min-height: 30em;
}

/*** "category:" box ***/
#catlinks {
  background: var(--theme-background);
  border: 1px solid var(--theme-border-color);
  border-radius: var(--theme-box-border-radius);
  margin: var(--layout-padding-y) 0 0 0;
  padding: 0.5em 1em;
}

/*** ads ***/
div.games-showcase-header {
  margin: 0;
  padding: var(--layout-padding-y) var(--layout-padding-x) 0;
}

div.games-showcase-footer {
  margin: 0;
  padding: 0 var(--layout-padding-x) var(--layout-padding-y);
}

.content-body > .games-showcase-sidebar {
  margin: 0;
  padding: var(--layout-padding-y) var(--layout-padding-x) 0 0;
}

.games-showcase-header img, .games-showcase-footer img {
  height: 100%;
  width: auto;
  object-fit: contain;
}
@media screen and (max-width: 1100px) {
  .games-showcase-header img, .games-showcase-footer img {
    height: auto !important;
    width: 100% !important;
    object-fit: contain;
  }
}
@media screen and (max-width: 926px) {
  .games-showcase-header img, .games-showcase-footer img {
    object-position: 50%;
    height: 105px !important;
    width: 100% !important;
    object-fit: none !important;
  }
}

aside.games-showcase-sidebar div.sidebar-showcase {
  padding: 0 0 var(--layout-padding-y) 0;
}


/**** #footer (copyright info) ****/
#footer {
  background: var(--theme-background);
  padding: 16px 24px;
  border-radius: 0 0 var(--theme-box-border-radius) var(--theme-box-border-radius);
  position: relative;
  /* grid */
  display: grid;
  grid-template-columns: [l] 1fr 0fr [r];
  grid-template-rows: [t] auto auto [b];
  z-index: 0; /* covered by content */
}

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

#footer a {
  color: var(--theme-link-color);
}

#footer a:hover {
  color: var(--theme-link-color-hover);
}

#footer-info {
  font-size: 12px;
  display: contents;
}

#footer ul li {
  font-size: inherit;
  line-height: 1.5;
  padding: 0;
}

#footer-icons {
  grid-column: span 1/r;
  grid-row: t/b;
  place-self: end;
}

#footer #footer-info-lastmod {
  grid-column: l/span 1;
  grid-row: t/span 1;
  place-self: start;
  margin-bottom: 1em;
}

#footer #footer-info-copyright {
  grid-column: l/span 1;
  grid-row: span 1/b;
  place-self: end stretch;
  position: relative;
  padding-right: 100px;
}

#footer-info-copyright img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 31px;
  width: auto;
}

#footer-places,
#footer > div {
  display: none;
}

/**** background box for nav+content+#footer ****/
#mw-page-base {
  box-sizing: border-box;
  border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-box-border-color);
  border-radius: var(--theme-box-border-radius);
  backdrop-filter: var(--theme-box-back-backdrop-filter);
  box-shadow: var(--theme-box-shadow);
  background: var(--theme-box-back-background);
  z-index: -1;
}

#mw-head, #content, #footer {
  box-sizing: border-box;
  background-clip: padding-box;
  border: var(--theme-box-border-width) solid transparent;
  margin: 0;
}

#mw-head {
  border-bottom-width: 0;
}

#content {
  border-top-width: 0;
  border-bottom-width: 0;
}

#footer {
  border-top-width: 0;
}

/****** responsive Layout ******/
@media screen and (max-width: 1800px) {
  :root {
    --layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */
  }
} /* screen and (max-width: 1800px) */
@media screen and (max-width: 1365px) {
  :root {
    --layout-logo-scale: 0.75;
  }
  
  /* change layout */
  body {
    grid-template-columns: [body-left] 0 [aside-left nav-left content-left footer-left] minmax(0, 1fr) [content-right aside-right nav-right footer-right] 0 [body-right];
    grid-template-rows: [body-start] var(--layout-topbar-height) [page-start logo-start] var(--layout-logo-box-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end];
  }
  
  /* re-style navbar */
  #mw-panel {
    display: flex;
    align-items: flex-end;
    padding: 0 var(--layout-box-gap);
    box-sizing: border-box;
    border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-box-border-color);
    border-radius: var(--theme-box-border-radius);
    backdrop-filter: var(--theme-box-back-backdrop-filter);
    box-shadow: var(--theme-box-shadow);
    background: var(--theme-box-background), var(--theme-box-back-background);
    /* Make #p-logo be positioned relative to #mw-panel. By this way, we can safely apply filter/backdrop-filter on #mw-panel */
    position: relative;
    z-index: 1;
  }
  #mw-panel .portal {
    background: none;
    box-shadow: none;
    border: 0;
    margin: 0;
    padding: 0;
    position: relative;
  }
  #mw-panel .portal .vector-menu-heading {
    padding: 9px 12px;
    border: 0;
    border-radius: 0;
    background: none;
  }
  #mw-panel .portal .vector-menu-heading::after {
    border-width: 6px 5px 0; /* change arrow direction */
    margin-left: 4px;
  }
  #mw-panel .portal.collapsed .vector-menu-heading::after {
    transform: none;
  }
  #mw-panel .portal .body {
    display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */
    position: absolute;
    left: 0;
    top: 100%;
    width: max-content;
    min-width: 8em;
    border: var(--theme-dropdown-border);
    border-radius: var(--theme-box-border-radius);
    background: var(--theme-dropdown-background);
    backdrop-filter: var(--theme-box-back-backdrop-filter);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  #mw-panel .portal .body li a {
    padding: 6px 12px;
  }
  #mw-panel .portal.expanded .vector-menu-heading, #mw-panel .portal:hover .vector-menu-heading {
    background: var(--theme-highlight-background);
    border-radius: 0;
  }
  #mw-panel .portal.expanded .vector-menu-heading::after, #mw-panel .portal:hover .vector-menu-heading::after {
    transform: scaleY(-1);
  }
  #mw-panel .portal.expanded .body, #mw-panel .portal:hover .body {
    display: block !important;
  }
  
  /* logo: smaller, and position relative to #mw-panel */
  #p-logo {
    background-size: calc(var(--theme-site-logo-width) * var(--layout-logo-scale)) auto;
    width: auto;
    top: calc(0px - var(--layout-logo-box-height));
  }
  #p-logo .mw-wiki-logo {
    width: calc(var(--theme-site-logo-width) * var(--layout-logo-scale));
    height: calc(var(--theme-site-logo-height) * var(--layout-logo-scale));
  }
  
  /* search: move to sidebar nav box ("main nav bar") */
  #mw-head #p-search {
    box-sizing: border-box;
    border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-box-border-color);
    border-radius: var(--theme-box-border-radius);
    backdrop-filter: var(--theme-box-back-backdrop-filter);
    box-shadow: var(--theme-box-shadow);
    background: var(--theme-box-background), var(--theme-box-back-background);
    padding: var(--layout-padding);
    border-bottom: 0;
    position: absolute;
    right: 0;
    top: -110px; /* offset */
    z-index: 2;
  }
  
  .vector-search-box-inner {
    width: 50vw;
    max-width: 25em;
  }
  
  #mw-head #right-navigation #p-cactions {
    margin-right: 0;
  }
  
  /* "more" menu in #right-navigation */
  #mw-head #right-navigation .vector-menu-dropdown {
    margin-right: 0;
  }
  #mw-head #right-navigation .vector-menu-dropdown::after {
    display: none;
  }
  #mw-head #right-navigation .vector-menu-dropdown .vector-menu-content {
    left: auto;
    right: 0;
  }
  
} /* screen and (max-width: 1365px) */
@media screen and (max-width: 900px) {
  :root {
    --layout-logo-scale: 0.5;
    --layout-logo-box-height: calc( var(--theme-site-logo-height) * var(--layout-logo-scale) + 20px);
    --layout-box-gap: 6px;
  }
  
  /* change layout */
  body {
    grid-template-columns: [body-left aside-left nav-left content-left footer-left] minmax(0, 1fr) [content-right aside-right nav-right footer-right body-right];
  }
  
  #mw-page-base,
  #mw-panel,
  #mw-head, #content, #footer {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  
  #p-logo {
    left: 10px;
  }
  
  #mw-head #p-search {
    top: -98px; /* offset */
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  
  .vector-search-box-inner {
    width: 50vw;
    max-width: 20em;
  }
  
  .mw-indicators {
    z-index: auto;
  }
  
  /* re-style navbar */
  #mw-panel {
    flex-wrap: wrap;
  }
  #mw-panel .portal {
    position: unset;
    flex: 0 0 auto;
  }
  #mw-panel .portal .vector-menu-heading {
    justify-content: center;
    white-space: nowrap;
  }
  #mw-panel .portal .vector-menu-heading::after {
    display: none;
  }
  #mw-panel .portal .body {
    left: 0;
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
  }
  #mw-panel .portal .body ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, var(--layout-sidebar-width));
    justify-content: center;
  }
  #mw-panel .portal .body li a {
    display: block;
  }
  
  
} /* screen and (max-width:900px) */
@media screen and (max-width: 720px) {
  :root {
    --layout-logo-scale: 0.75;
  }
  
  #p-logo {
    width: 100%;
    left: 0;
  }
  
  #mw-panel {
    box-shadow: var(--theme-box-shadow2);
    border-bottom: 0;
    display: block;
    height: 36px;
  }
  #mw-panel .portal {
    display: none;
    box-shadow: none;
    background: var(--theme-background);
    backdrop-filter: var(--theme-dropdown-backdrop-filter);
    border-left: var(--theme-dropdown-border);
    border-right: var(--theme-dropdown-border);
    margin: 0;
    border-radius: 0;
  }
  #mw-panel .portal .vector-menu-heading {
    padding: 0 12px 4px;
    border: 0;
    display: block;
    background: none;
    font-weight: bold;
  }
  #mw-panel .portal .vector-menu-heading::after {
    display: none;
  }
  #mw-panel .portal:hover .vector-menu-heading {
    background: none;
    color: var(--theme-heading-color);
  }
  #mw-panel .portal .body {
    display: block !important; /* !important is required, since there is inline-css from sidebar collapse/expand */
    position: unset;
    border: 0;
    background: none;
    backdrop-filter: none;
    padding: 4px 12px;
  }
  #mw-panel .portal .body ul {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: unset;
  }
  #mw-panel .portal .body li a {
    padding: 4px 8px;
    white-space: nowrap;
  }
  #mw-panel .portal:last-child {
    padding-bottom: 12px;
    border-bottom: var(--theme-dropdown-border);
    border-radius: 0 0 var(--layout-box-border-radius) var(--layout-box-border-radius);
  }
  #mw-panel .menu-toggle {
    --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-category-2' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M14 4h6v6h-6z'%3E%3C/path%3E%3Cpath d='M4 14h6v6h-6z'%3E%3C/path%3E%3Cpath d='M17 17m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0'%3E%3C/path%3E%3Cpath d='M7 7m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    -webkit-mask: var(--mask);
    mask: var(--mask);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: center center;
    mask-position: center center;
    background-color: var(--theme-icon-color);
    cursor: pointer;
    display: block;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin: 6px 12px;
  }
  #mw-panel .menu-toggle.expanded ~ .portal {
    display: block;
  }
  #mw-panel .menu-toggle + .portal {
    padding-top: 12px;
    border-top: var(--theme-dropdown-border);
  }
  
  #mw-head #p-search {
    box-shadow: none;
    padding: 0;
    top: -37px; /* offset */
    left: auto;
    right: 12px;
    width: auto;
    z-index: 3;
  }
  
  .vector-search-box-inner {
    width: 100vw;
    max-width: 20em;
  }
  
  #content {
    --layout-padding-x: 12px;
    --layout-padding-y: 12px;
  }
  
  /* icon navbar tabs */
  #mw-head {
    top: unset; /* reset */
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg fill='none' height='24' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h24v24H0z' fill='none' stroke='none'/%3E%3Cpath d='M4 4l4 16l4 -14l4 14l4 -16'/%3E%3C/svg%3E");
    --icon-size: 1.5em;
  }
  #mw-head .vector-menu-tabs .mw-list-item a,
  #mw-head .vector-menu-dropdown .vector-menu-heading {
    --theme-link-color-hover: var(--theme-icon-color-hover);
    width: 1.5em; /* same as line height */
    height: 1.5em;
    box-sizing: content-box;
    padding: var(--tab-padding-y);
    color: transparent; /**<< for watch/unwatch, the text of <a> will be plain 'watch'/'unwatch' without <span> after clicking. **/
  }
  #mw-head .vector-menu-tabs .mw-list-item a::before,
  #mw-head .vector-menu-dropdown .vector-menu-heading::before {
    content: "";
    display: block;
    position: unset;
    background-image: none;
    width: var(--icon-size);
    height: var(--icon-size);
    margin: calc((1.5em - var(--icon-size)) / 2);
    --mask: var(--icon) no-repeat;
    -webkit-mask: var(--mask);
    mask: var(--mask);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: center center;
    mask-position: center center;
    background-color: var(--theme-link-color);
  }
  #mw-head .vector-menu-tabs .mw-list-item a:hover::before,
  #mw-head .vector-menu-dropdown .vector-menu-heading:hover::before {
    background-color: var(--theme-link-color-hover);
  }
  #mw-head .vector-menu-tabs .mw-list-item a span,
  #mw-head .vector-menu-dropdown .vector-menu-heading span {
    display: none;
  }
  #mw-head .vector-menu-dropdown .vector-menu-heading::after {
    display: none;
  }
  
  #ca-edit {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M29.12,6.05,26,2.88a3,3,0,0,0-4.24,0L6.29,18.29a3.06,3.06,0,0,0-.72,1.18L2.08,29.92l10.46-3.49a3.15,3.15,0,0,0,1.17-.72L29.12,10.29a3,3,0,0,0,0-4.24Zm-21,13.28,8.75-8.74,1.58,1.58L9.67,20.92ZM18.24,9.17l1.59-1.58,4.58,4.58-1.58,1.59ZM7.1,21.19l3.72,3.71L5.25,26.75Zm5.57,2.73-1.59-1.59,8.75-8.74,1.58,1.58Zm15-15-1.88,1.88L21.24,6.17l1.88-1.88A1,1,0,0,1,23.83,4a1,1,0,0,1,.71.29l3.17,3.18a1,1,0,0,1,.29.7A1,1,0,0,1,27.71,8.88Z'/%3E%3C/g%3E%3C/svg%3E");
  }
  
  #ca-view,
  #ca-view-foreign {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M30.89,15.54A17,17,0,0,0,16,6,17,17,0,0,0,1.11,15.54L.87,16l.24.46A17,17,0,0,0,16,26a17,17,0,0,0,14.89-9.54l.24-.46ZM24,16a8,8,0,1,1-8-8A8,8,0,0,1,24,16ZM3.14,16a16.47,16.47,0,0,1,4.14-4.89,10,10,0,0,0,0,9.78A16.47,16.47,0,0,1,3.14,16Zm21.58,4.89a10,10,0,0,0,0-9.78A16.47,16.47,0,0,1,28.86,16,16.47,16.47,0,0,1,24.72,20.89Z'/%3E%3Cpath d='M16,20a4,4,0,1,0-4-4A4,4,0,0,0,16,20Zm0-6a2,2,0,1,1-2,2A2,2,0,0,1,16,14Z'/%3E%3C/g%3E%3C/svg%3E");
  }
  
  #left-navigation li[id^=ca-nstab-] {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpolygon points='12 15 11 15 11 17 12 17 20 17 21 17 21 15 20 15 12 15'/%3E%3Cpolygon points='12 19 11 19 11 21 12 21 15 21 16 21 16 19 15 19 12 19'/%3E%3Cpath d='M20.41,3H5V26a3,3,0,0,0,3,3H24a3,3,0,0,0,3-3V9.59ZM20,5.41,24.59,10H21a1,1,0,0,1-1-1ZM24,27H8a1,1,0,0,1-1-1V5H18V9a3,3,0,0,0,3,3h4V26A1,1,0,0,1,24,27Z'/%3E%3C/g%3E%3C/svg%3E");
  }
  
  #ca-history {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z'/%3E%3Cpath d='M17,7H15v8.52a2,2,0,0,0,.75,1.56l4.63,3.7,1.24-1.56L17,15.52Z'/%3E%3C/g%3E%3C/svg%3E");
  }
  
  #ca-talk {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M26,12H24V6a3,3,0,0,0-3-3H6A3,3,0,0,0,3,6V24.41l5.12-5.12A1.05,1.05,0,0,1,8.83,19H12v3a3,3,0,0,0,3,3h8.17a1.05,1.05,0,0,1,.71.29L29,30.41V15A3,3,0,0,0,26,12ZM12,15v2H8.83a3,3,0,0,0-2.12.88L5,19.59V6A1,1,0,0,1,6,5H21a1,1,0,0,1,1,1v6H15A3,3,0,0,0,12,15ZM27,25.59l-1.71-1.71A3,3,0,0,0,23.17,23H15a1,1,0,0,1-1-1V15a1,1,0,0,1,1-1H26a1,1,0,0,1,1,1Z'/%3E%3C/g%3E%3C/svg%3E");
  }
  
  #t-contributions {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg enable-background='new 0 0 32 32' id='Stock_cut' version='1.1' viewBox='0 0 32 32' xml:space='preserve' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdesc/%3E%3Cpath d='M27,12V5h-7v0 c0-2.209-1.791-4-4-4h0c-2.209,0-4,1.791-4,4v0H1v7h0c2.209,0,4,1.791,4,4v0c0,2.209-1.791,4-4,4h0v11h11v0c0-2.209,1.791-4,4-4h0 c2.209,0,4,1.791,4,4v0h7V20h0c2.209,0,4-1.791,4-4v0C31,13.791,29.209,12,27,12L27,12z' fill='none' stroke='%23000000' stroke-linejoin='round' stroke-miterlimit='10' stroke-width='2'/%3E%3C/svg%3E");
  }
  
  #ca-addsection {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpolygon points='29 15 17 15 17 3 15 3 15 15 3 15 3 17 15 17 15 28 17 28 17 17 29 17 29 15'/%3E%3C/g%3E%3C/svg%3E");
  }
  
  #ca-viewsource {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='heroicon-ui' d='M20.59 12l-3.3-3.3a1 1 0 1 1 1.42-1.4l4 4a1 1 0 0 1 0 1.4l-4 4a1 1 0 0 1-1.42-1.4l3.3-3.3zM3.4 12l3.3 3.3a1 1 0 0 1-1.42 1.4l-4-4a1 1 0 0 1 0-1.4l4-4a1 1 0 0 1 1.42 1.4L3.4 12zm7.56 8.24a1 1 0 0 1-1.94-.48l4-16a1 1 0 1 1 1.94.48l-4 16z'/%3E%3C/svg%3E");
  }
  
  #p-variants {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm8,13a24.28,24.28,0,0,0-.41-3.62c2.19.91,3.75,2.19,4.25,3.62Zm-2,0H17V10a20.9,20.9,0,0,1,4.34.63A20.26,20.26,0,0,1,22,15ZM17,8V4.19c1.43.5,2.71,2.06,3.62,4.25A24.28,24.28,0,0,0,17,8ZM15,4.19V8a24.28,24.28,0,0,0-3.62.41C12.29,6.25,13.57,4.69,15,4.19ZM15,10v5H10a20.26,20.26,0,0,1,.63-4.34A20.9,20.9,0,0,1,15,10ZM8,15H4.19c.5-1.43,2.06-2.71,4.25-3.62A24.28,24.28,0,0,0,8,15Zm0,2a24.28,24.28,0,0,0,.41,3.62C6.25,19.71,4.69,18.43,4.19,17Zm2,0h5v5a20.9,20.9,0,0,1-4.34-.63A20.26,20.26,0,0,1,10,17Zm5,7v3.84c-1.43-.5-2.71-2.06-3.62-4.25A24.28,24.28,0,0,0,15,24Zm2,3.84V24a24.28,24.28,0,0,0,3.62-.41C19.71,25.75,18.43,27.31,17,27.81ZM17,22V17h5a20.26,20.26,0,0,1-.63,4.34A20.9,20.9,0,0,1,17,22Zm7-5h3.84c-.5,1.43-2.06,2.71-4.25,3.62A24.28,24.28,0,0,0,24,17Zm2.87-6.12A15.11,15.11,0,0,0,23,9a15.11,15.11,0,0,0-1.85-3.87A12.12,12.12,0,0,1,26.84,10.88Zm-16-5.72A15.11,15.11,0,0,0,9,9a15.11,15.11,0,0,0-3.87,1.85A12.12,12.12,0,0,1,10.88,5.16Zm-5.72,16A15.11,15.11,0,0,0,9,23a15.11,15.11,0,0,0,1.85,3.87A12.12,12.12,0,0,1,5.16,21.12Zm16,5.72A15.11,15.11,0,0,0,23,23a15.11,15.11,0,0,0,3.87-1.85A12.12,12.12,0,0,1,21.12,26.84Z'/%3E%3C/g%3E%3C/svg%3E");
  }
  
  #p-cactions {
    --icon: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg id='Outlined' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle/%3E%3Cg id='Fill'%3E%3Cpath d='M16,13a3,3,0,1,0,3,3A3,3,0,0,0,16,13Zm0,4a1,1,0,1,1,1-1A1,1,0,0,1,16,17Z'/%3E%3Cpath d='M24,13a3,3,0,1,0,3,3A3,3,0,0,0,24,13Zm0,4a1,1,0,1,1,1-1A1,1,0,0,1,24,17Z'/%3E%3Cpath d='M8,13a3,3,0,1,0,3,3A3,3,0,0,0,8,13Zm0,4a1,1,0,1,1,1-1A1,1,0,0,1,8,17Z'/%3E%3C/g%3E%3C/svg%3E");
  }
  
} /* screen and (max-width:720px) */
@media screen and (max-width: 600px) {
  :root {
    --layout-logo-scale: 0.5;
  }
  
  .vector-search-box-inner {
    width: 50vw;
    max-width: 15em;
  }
  
  /* footer */
  #footer #footer-icons {
    float: none;
  }
  #footer #footer-info-copyright {
    grid-column: l/span 2;
    padding-right: 0;
    padding-bottom: 40px;
  }
  #footer #footer-info-copyright img {
    right: auto;
    left: 0;
  }
  
} /* screen and (max-width:600px) */
@media screen and (max-width: 450px) {
  
  
} /* screen and (max-width:450px) */

/***** Notification area *****/
.mw-notification-area-overlay {
  position: fixed;
  z-index: 9999;
}

.mw-notification-area {
  font-size: 14px;
  line-height: 1.7142857143;
}

.mw-notification {
  color: var(--theme-text-color);
  box-sizing: border-box;
  border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-box-border-color);
  border-radius: var(--theme-box-border-radius);
  backdrop-filter: var(--theme-box-back-backdrop-filter);
  box-shadow: var(--theme-box-shadow);
  background: var(--theme-box-background), var(--theme-box-back-background);
  transform: none;
}

/* Notification boxes on the right, e.g. after patrolling an edit */
.mw-notification.mw-notification-type-error {
  color: var(--theme-notice-red-text-color);
  border-color: var(--theme-notice-red-text-color);
}

.mw-notification.mw-notification-type-warn {
  color: var(--theme-notice-orange-text-color);
  border-color: var(--theme-notice-orange-text-color);
}

/****** postedit notification ******/
.postedit-container {
  top: 4em;
}


/***********************************************************************************************************
 * Over-width table floating-scroll
 ***********************************************************************************************************/
/*
css for floating-scroll v3.2.0
https://amphiluke.github.io/floating-scroll/
(c) 2022 Amphiluke
*/
.fl-scrolls {
  overflow: auto;
  position: fixed;
}

.fl-scrolls div {
  overflow: hidden;
  pointer-events: none;
}

.fl-scrolls div:before {
  content: " ";
}

.fl-scrolls, .fl-scrolls div {
  font-size: 1px;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.fl-scrolls-hidden div:before {
  content: "  ";
}

.fl-scrolls-viewport {
  position: relative;
}

.fl-scrolls-body {
  overflow: auto;
}

.fl-scrolls-viewport .fl-scrolls {
  position: absolute;
}

.fl-scrolls-hoverable .fl-scrolls {
  opacity: 0;
  transition: opacity 0.5s 0.3s;
}

.fl-scrolls-hoverable:hover .fl-scrolls {
  opacity: 1;
}

.fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] {
  bottom: 0;
  min-height: 17px;
}

.fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div {
  height: 1px;
}

.fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] {
  bottom: 9999px;
}

.fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] {
  left: 0;
}

.fl-scrolls[data-orientation=vertical] {
  right: 0;
  min-width: 17px;
}

.fl-scrolls[data-orientation=vertical] div {
  width: 1px;
}

.fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] {
  right: 9999px;
}

.fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] {
  top: 0;
}

/*css for wide table */
.table-wide {
  clear: both;
  position: relative;
}

.mw-parser-output > .table-width {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.table-wide-inner {
  overflow-x: auto;
}

.table-wide-inner > table {
  margin: 0 !important;
}

.table-wide:before {
  box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color);
  content: "";
  display: block;
  width: 20px;
  height: 100%;
  pointer-events: none;
  position: absolute;
  right: 0;
}

/***********************************************************************************************************
 * Styles for "real" wiki page content. (in div.mw-parser-output)
 ***********************************************************************************************************/
/* remove external link icon. */
.mw-parser-output a.external,
.link-https {
  padding-right: 0;
  background: none;
}

.mw-parser-output > :first-child {
  margin-top: 0;
}

/** headings **/
.mw-body h1, .mw-body-content h1, .mw-body-content h2,
.vector-body h3, .vector-body h4,
.vector-body h5, .vector-body h6 {
  margin: 0;
  color: var(--theme-heading-color);
  font-family: inherit;
  font-weight: normal;
  line-height: 1.25;
}

.mw-body h1, .mw-body-content h1 {
  font-size: 32px;
  line-height: 40px;
}

.mw-body-content h2 {
  font-size: 24px;
  line-height: 30px;
  margin-top: 18px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--theme-heading-rule-color-h2);
  padding-bottom: 3px;
}

.vector-body h3 {
  font-size: 20px;
  line-height: 26px;
  margin-top: 14px;
  margin-bottom: 7px;
}

.vector-body h4 {
  font-size: 16px;
  line-height: 22px;
  margin-top: 14px;
  margin-bottom: 7px;
}

.vector-body h5 {
  line-height: 22px;
  font-size: 14px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 7px;
}

.vector-body h6 {
  line-height: 20px;
  font-size: 12px;
  font-weight: bold;
  margin-top: 7px;
  margin-bottom: 7px;
}

/* reduce heading font size: */
@media (max-width: 900px) {
  .mw-body h1, .mw-body-content h1 {
    font-size: 24px;
    line-height: 32px;
  }
  .mw-body-content h2 {
    font-size: 20px;
    line-height: 28px;
  }
  .vector-body h3 {
    font-size: 18px;
    line-height: 24px;
  }
}
/* section edit link */
.mw-editsection {
  white-space: nowrap;
  color: var(--theme-text-color-note);
}

/** ToC **/
/* base common style */
.toc {
  background: none;
  border-radius: 4px;
  border: 1px solid var(--theme-border-color);
  margin-top: 18px;
  margin-bottom: 18px;
  padding: 0;
  font-size: 1em;
  min-width: 12em;
}
.toc a {
  color: var(--theme-text-color);
}
.toc .tocnumber {
  color: var(--theme-text-color-note);
}
.toc .tocnumber:after {
  content: ".";
}

/* header */
.toc {
  /* arrow */
  /* do not change ToC box width when toggle show/hide. */
}
.toc .toctitle {
  position: relative;
  overflow: hidden;
  text-align: left;
  padding: 8px;
}
.toc .toctitle h2 {
  line-height: 20px;
  font-weight: normal;
  margin: 0;
  border: 0;
  display: flex;
  align-items: center;
  padding: 0 0.5em;
}
.toc .toctitle h2::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
  -webkit-mask: var(--mask);
  mask: var(--mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: center center;
  mask-position: center center;
  background-color: var(--theme-text-color);
  margin: 0 6px 0 0;
}
.toc .toctogglelabel {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  box-sizing: border-box;
  padding-right: 1em;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.toc .toctogglespan::before,
.toc .toctogglespan::after,
.toc .toctogglelabel::after {
  display: none;
}
.toc .toctogglelabel::before {
  content: "";
  display: inline-block;
  background: none;
  position: relative;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: var(--theme-icon-color) transparent;
  border-width: 0 5px 6px 5px;
  vertical-align: middle;
  flex: 0 0 auto;
}
.toc .toctogglelabel:hover::before {
  border-color: var(--theme-icon-color-hover) transparent;
}
.toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before {
  border-width: 6px 5px 0 5px;
}
.toc .toctogglecheckbox:checked ~ ul {
  overflow: hidden;
  display: block;
  height: 0;
  border: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* content list */
.mw-content-ltr .toc ul ul,
.mw-content-rtl .toc ul ul {
  margin: 0 0 0 1em;
}

.toc > ul {
  padding: 0.5em;
  border-top: 1px solid var(--theme-border-color);
  margin: 0;
}
.toc > ul a {
  display: block;
  padding: 2px 0.5em;
  border-radius: 4px;
  transition: background 0.1s;
}
.toc > ul a:hover {
  text-decoration: none;
  background: var(--theme-highlight-background);
}
.toc > ul li {
  margin: 0;
}

/********* Tables *********/
table {
  /* fix 100% width table with border */
  box-sizing: border-box;
}

table.lined,
table.bordered,
table.cellborder {
  border-collapse: collapse;
  border-style: solid;
  border-color: var(--theme-border-color);
}

table.lined th,
table.lined td {
  border-width: 0 0 1px 0;
}

table tfoot:empty,
table thead:empty {
  display: none;
}

table.lined td.noline, table.lined tr.noline td {
  border-bottom-width: 0;
}

table tr.bottomline td {
  border-bottom-width: 1px;
}

table tr.topline td {
  border-top-width: 1px;
}

table td.bottomline, table.lined tr.noline td.bottomline {
  border-bottom-width: 1px;
}

table td.topline {
  border-top-width: 1px;
}

/* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */
table.outer {
  white-space: nowrap;
}

table.inner {
  border-collapse: collapse;
  background: inherit;
  width: 100%;
}

table.inner th {
  border: 2px solid var(--theme-border-color);
}

.wikitable,
.wikitable > tr > th,
.wikitable > * > tr > th {
  color: inherit;
  background: none;
}

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

table.cargoTable.noMerge tr:nth-child(2n) {
  background: rgba(127, 127, 127, 0.25);
}

table.cargoTable.noMerge tr:nth-child(2n+1) {
  background: none;
}

/***********************************************************************************************************
 * common style for content box
 ***********************************************************************************************************/
.fullwidth, .full-width {
  width: 100%;
}

.nowrap {
  white-space: nowrap;
}

/* ".center" has width=100% rule, we don't want it, so use a different class name. */
.aligncenter,
.align-center {
  text-align: center;
}

.alignleft,
.align-left {
  text-align: left;
}

.alignright,
.align-right {
  text-align: right;
}

/* clear fix for float block */
.clearfix {
  *zoom: 1;
}

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* Thumbnail background color */
html .thumbimage {
  background-color: #4d3a32;
}

/** gallery **/
.thumbinner {
  border-radius: 5px;
}

li.gallerybox div.thumb {
  border-radius: 5px;
}

.gallery * {
  box-sizing: initial;
}

.mw-gallery-traditional .thumb {
  display: flex;
}

.mw-gallery-traditional .thumb a {
  display: block;
}

/***********************************************************************************************************
 * css for specific content pages
 ***********************************************************************************************************/
/*********** Main page  START ****************/
#mainpage-wrap .footer {
  text-align: right;
  font-size: 12px;
  line-height: 22px;
}
#mainpage-wrap .box {
  border: 1px solid var(--theme-border-color);
  border-radius: var(--theme-box-border-radius);
  padding: 1.5em;
}
#mainpage-wrap h2 {
  margin-top: 0;
  border-bottom: 0;
}
#mainpage-wrap .content-wrap {
  display: flex;
  gap: 1em;
  align-items: stretch;
  margin-bottom: 1em;
}
@media (max-width: 1200px) {
  #mainpage-wrap .content-wrap {
    flex-direction: column;
  }
}
#mainpage-wrap .content-wrap .l {
  flex: 3 3 600px;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
#mainpage-wrap .content-wrap .r {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
#mainpage-wrap .box.header {
  text-align: center;
}
#mainpage-wrap .box.header .welcome h2 {
  font-size: 2em;
}
#mainpage-wrap .box.header ul {
  display: inline-flex;
  align-items: center;
  margin: 1.5em auto 0.5em;
  gap: 1em;
}
#mainpage-wrap .box.header ul li {
  list-style: none;
}
@media (max-width: 600px) {
  #mainpage-wrap .box.header img {
    width: 32px;
    height: auto;
  }
}
#mainpage-wrap .box.game > div {
  display: flex;
  gap: 1em;
  align-items: center;
}
@media (max-width: 640px) {
  #mainpage-wrap .box.game > div {
    flex-direction: column;
  }
}
#mainpage-wrap .box.game img {
  width: 100%;
  height: auto;
  max-width: 320px;
  max-height: 180px;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.25);
}
#mainpage-wrap .box.game p {
  font-size: 16px;
  line-height: 28px;
}
#mainpage-wrap .box.feature {
  font-size: 18px;
}
@media (max-width: 600px) {
  #mainpage-wrap .box.feature {
    font-size: 16px;
  }
}
#mainpage-wrap .box.feature ul {
  margin: 0.5em 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  justify-items: start;
  gap: 1em 1.5em;
}
@media (max-width: 600px) {
  #mainpage-wrap .box.feature ul {
    gap: 8px;
  }
}
#mainpage-wrap .box.gallery ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin: 0;
}
#mainpage-wrap .box.gallery ul li {
  flex: 1 1 40%;
  list-style: none;
}
@media (max-width: 1200px) and (min-width: 720px) {
  #mainpage-wrap .box.gallery ul li {
    flex: 1 1 22%;
  }
}
#mainpage-wrap .box.gallery ul li img {
  width: 100%;
  height: auto;
}
#mainpage-wrap .box.gallery img {
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.25);
}

/*********** Main page  END ****************/


/***********************************************************************************************************
 * css for pages under MediaWiki or Special NS, or system widgets on template/module pages and so on
 ***********************************************************************************************************/
/********* ooui *********/
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined,
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
  background: none;
}

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

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

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

.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
  color: var(--theme-text-color-note);
}

.oo-ui-tabSelectWidget-framed {
  background: none;
}

/********* for File: NS pages *********/
#filetoc {
  background: none;
}

/******* Search result page. (Special:Search)  ******/
.mw-search-form-wrapper {
  font-size: 1em;
}

.mw-search-form-wrapper #mw-search-top-table {
  display: flex;
  align-items: center;
}

.mw-search-form-wrapper #mw-search-top-table > div {
  float: none;
}

.mw-search-form-wrapper .results-info {
  color: var(--theme-text-color-note);
  font-size: 1em;
  padding: 0 0 0 3em;
  white-space: nowrap;
  text-align: right;
  flex: 1 1 auto;
}

.mw-search-form-wrapper .mw-search-visualclear {
  display: none;
}

.mw-search-form-wrapper .mw-search-profile-tabs {
  border: 0;
  margin: 1em 0;
}

.mw-search-form-wrapper .mw-search-profile-tabs .search-types + div {
  display: none;
}

.mw-search-form-wrapper .mw-search-profile-tabs .search-types {
  width: 100%;
  float: none;
  padding: 0;
}

.mw-search-form-wrapper .mw-search-profile-tabs .search-types ul li {
  float: none;
  display: inline-block;
  vertical-align: middle;
}

.mw-search-form-wrapper .mw-search-profile-tabs .search-types ul li.current {
  background: var(--theme-highlight-background);
  border-radius: 4px;
  overflow: hidden;
}

.mw-search-form-wrapper #mw-searchoptions {
  padding: 1em;
  background: var(--theme-box-background);
  border: 1px solid var(--theme-border-color-accent);
  border-radius: 4px;
}

/* responsive tweak */
@media screen and (max-width: 600px) {
  .mw-search-form-wrapper #mw-search-top-table {
    display: block;
  }
  .mw-search-form-wrapper .results-info {
    margin-top: 1em;
  }
  .mw-search-form-wrapper .mw-search-profile-tabs .search-types ul li {
    font-size: 12px;
  }
}


.theme-dark {
  /***********************************************************************************************************
   * dark theme tweak
   ***********************************************************************************************************/
}
.theme-dark #filetoc, .theme-dark code,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend,
.theme-dark .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined,
.theme-dark .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,
.theme-dark .mw-search-profile-tabs, .theme-dark #mw-searchoptions,
.theme-dark .mw-datatable td {
  background: none;
}
.theme-dark .oo-ui-textInputWidget .oo-ui-inputWidget-input {
  background: #1f3030;
  color: var(--theme-text-color);
}
.theme-dark #mw-allmessagestable tbody:hover td {
  background: var(--theme-highlight-background);
}
.theme-dark li.gallerybox div.thumb {
  background: var(--theme-box-background);
}
.theme-dark ul {
  list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>');
}
.theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
  color: var(--theme-text-color-note);
}
.theme-dark .oo-ui-tabSelectWidget-framed,
.theme-dark .mw-prefs-buttons {
  background: none;
}
.theme-dark .oo-ui-tabOptionWidget {
  color: var(--theme-text-color);
}
.theme-dark .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
  color: var(--theme-text-color);
  background: none;
}
.theme-dark table.diff .diff-context {
  background: rgba(248, 249, 250, 0.15);
  color: var(--theme-text-color);
}
.theme-dark table.diff .diff-addedline .diffchange {
  background: rgba(74, 166, 255, 0.6);
}
.theme-dark table.diff .diff-deletedline .diffchange {
  background: rgba(255, 198, 63, 0.6);
}
.theme-dark :root {
  --pi-background: rgba(255,255,255, 0.1);
}
.theme-dark div.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
  background: #231c3b;
}
.theme-dark .mw-rcfilters-ui-filterTagMultiselectWidget .oo-ui-iconElement-icon {
  filter: invert(1);
}
.theme-dark .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagItemWidget .oo-ui-iconElement-icon {
  filter: none;
}
.theme-dark .mw-rcfilters-ui-filterTagMultiselectWidget .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title {
  color: #ddd;
}
.theme-dark div.thumbinner {
  background: none;
}
.theme-dark #pagehistory li.selected {
  background: rgba(40, 40, 40, 0.6);
  color: var(--theme-text-color);
}
.theme-dark #mw-indicator-mw-helplink a {
  background: none;
  position: relative;
}
.theme-dark #mw-indicator-mw-helplink a:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34);
  filter: invert(1);
}
.theme-dark .mw-plusminus-pos {
  color: #7cf56e;
}
.theme-dark .mw-plusminus-neg {
  color: #ff9a9b;
}
.theme-dark .autocomment, .theme-dark .autocomment a, .theme-dark .autocomment a:visited {
  color: var(--theme-text-color-note);
}
.theme-dark .mw-message-box-warning {
  background-color: rgba(54, 44, 10, 0.5);
  border-color: #fc3;
  color: #fff;
}
.theme-dark fieldset {
  border-color: #ccc;
}
.theme-dark .mw-highlight pre, .theme-dark .mw-highlight code, .theme-dark .mw-highlight .mw-code {
  color: #ccc;
}
.theme-dark .mw-highlight .nv {
  color: #01C2EC;
}

.portable-infobox {
  border: 1px solid var(--pi-border-color);
}

.wikiEditor-ui-toolbar {
  color: #000;
}

.toccolours {
  background-color: unset;
  border: unset;
  font-size: unset;
  padding: unset;
}