MediaWiki:Common.css: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
No edit summary
 
(98 intermediate revisions by 3 users not shown)
Line 1: Line 1:
/* --- CUSTOM FONT --- */
@import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:UITest.css");
 
/* ------ CUSTOM FONT ------ */


@font-face {
@font-face {
font-family: 'Idleon';
font-family: 'Idleon';
src: url('https://idleon.wiki/wiki/resources/assets/Idleon.ttf') format('truetype');
src: url('https://idleon.wiki/wiki/resources/assets/Idleon.woff2') format('woff2'),
        url('https://idleon.wiki/wiki/resources/assets/Idleon.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
}


/* --- CSS VARIABLES --- */
/* ------ CSS VARIABLES ------ */
 
:root {
--box-shadow: rgb(0 0 0 / 15%) 0 0 8px;
--highlight-progressive: rgb(51 102 204 / 25%);
}


:root{
:root {
     --base-0: #f9f9f9;
color-scheme: light;
     --base-1: #e7e7e7;
     --base-0: #EAECF0;
     --base-1: #f3f5f7;
     --base-2: #ffffff;
     --base-2: #ffffff;
     --base-3: #f5f5f5;
     --sidebar-base: rgb(243 245 247 / 85%);
--contrast-1: #000;
--contrast-1: #000;
--contrast-2: rgb(0 0 0 / 50%);
--contrast-2: #a0a9bb;
--contrast-3: rgb(0 0 0 / 25%);
--contrast-3: #c3ccd5;
     --accent-0: #ba68c8;
     --accent-0: #c25fd3;
     --accent-1: #ce93d8;
     --accent-1: #d38bdf;
     --accent-2: rgb(190 128 211 / 50%);
     --accent-2: rgb(194 117 219 / 50%);
     --accent-3: rgb(190 128 211 / 25%);
     --accent-3: rgb(194 117 219 / 25%);
     --link: #3366cc;
    --rankstar-1: #E15F25;
     --link-hover: #2e47ac;
    --rankstar-2: #848482;
    --rankstar-3: #996515;
    --rankstar-4: #00b7eb;
    --rankstar-5: #cf1020;
     --link: #36c;
     --link-hover: #447ff5;
     --link-new: #d33;
     --link-new: #d33;
     --box-shadow: rgb(0 0 0 / 15%) 0 0 8px;
     --highlight-accent: rgb(190 128 211 / 8%);
     --sidebar-base: rgb(243 243 243 / 90%);
     --highlight-contrast: rgb(195 204 213 / 18%);
    --table-row-hover: rgb(0 0 0 / 3%);
     --modal-overlay: rgb(255 255 255 / 75%);
     --modal-overlay: rgb(255 255 255 / 75%);
    --page-background: var(--base-0) url(https://idleon.info/wiki/images/9/9f/Background_Beach.png) no-repeat center center / cover fixed;
    --filter: none;
    --filter-ace: none;
    --filter-codemirror: none;
    --filter-link-th: brightness(0.75) saturate(1.5);
    --toggle-style-icon: url(https://idleon.wiki/wiki/images/0/0f/Darkmode-Icon.png);
   
    /* Messagebox Variables */
    --messagebox-warn-background-color: #FFCFC6;
    --messagebox-warn-border-color: red;
    --messagebox-warn-color: black;
}
}
/* --- DARK MODE --- */


:root.client-darkmode {
:root.client-darkmode {
--base-2: #ddd;
color-scheme: dark;
--base-3: #d9dada;
    --base-0: #101016;
--link: #f27f21;
    --base-1: #191924;
--link-hover: #f4903e;
    --base-2: #222230;
--link-new: #ff6e6e;
    --sidebar-base: rgb(25 26 36 / 50%);
     --sidebar-base: rgb(243 243 243 / 65%);
--contrast-1: #fff;
--contrast-2: #707099;
--contrast-3: #434360;
    --accent-0: #74328f;
    --accent-1: #8c3c9a;
    --accent-2: rgb(140 60 154 / 50%);
    --accent-3: rgb(140 60 154 / 25%);
    --rankstar-1: #ff9f00;
    --rankstar-2: #b2beb5;
    --rankstar-3: #ffdf00;
    --rankstar-4: #00DBFF;
    --rankstar-5: #ff355e;
    --link: #4d88fe;
    --link-hover: #6da0ff;
    --link-new: #ff4033;
     --box-shadow: rgb(0 0 0 / 15%) 0 0 8px;
    --highlight-accent: rgb(140 60 154 / 8%);
    --highlight-contrast: rgb(67 67 96 / 18%);
    --modal-overlay: rgb(0 0 0 / 75%);
    --page-background: var(--base-0) url(https://idleon.info/wiki/images/2/24/NightDesertBG.png) no-repeat center center / cover fixed;
    --filter: invert(1) hue-rotate(180deg);
    --filter-ace: invert(1) hue-rotate(170deg) saturate(3);
    --filter-codemirror: invert(1) hue-rotate(180deg) saturate(2);
    --filter-link-th: brightness(1.25) saturate(1.5);
    --toggle-style-icon: url(https://idleon.wiki/wiki/images/6/60/Lightmode-Icon.png);
   
    /* Messagebox Variables */
    --messagebox-warn-background-color: #440909;
    --messagebox-warn-border-color: #FF0000;
    --messagebox-warn-color: #FFFFFF;
}
}


/* -- Override prepended symbols -- */
/* ------ GLOBAL STYLES ------ */
.client-darkmode .darkmode-link:before {
 
    content: '';
body {
}
color: var(--contrast-1);
.darkmode-link:before {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    content: '';
}
}


/* --------- GLOBAL STYLES --------- */
.pixelfont,
.mw-body h1,
.mw-body h1,
.mw-body h2,
.mw-body h2,
Line 56: Line 105:
.mw-body h4,
.mw-body h4,
.mw-body h5,
.mw-body h5,
.Infobox .Header {
.mw-body h6,
font-family: 'Idleon'
.pixelfont {
font-family: 'Idleon';
font-weight: normal;
color: var(--contrast-1);
}
}


body {
.mw-body h1 {
color: var(--contrast-1);
    font-size: 2rem;
}
.mw-body h2,
.vector-body h1 {
    font-size: 1.715rem;
}
.mw-body h3,
.vector-body h2 {
    font-size: 1.5rem;
}
.mw-body h4,
.vector-body h3 {
    font-size: 1.35rem;
}
.mw-body h5,
.vector-body h4 {
    font-size: 1.1875rem;
}
.mw-body h6,
.vector-body h5 {
    font-size: 1rem;
}
.vector-body h6 {
    font-size: .875rem;
}
}


a,
a:visited,
.mw-body a,
.mw-body a,
.mw-body a:visited,
.mw-body a:visited,
Line 69: Line 146:
.mw-portlet-body a:visited,
.mw-portlet-body a:visited,
.mw-parser-output a.extiw,
.mw-parser-output a.extiw,
.mw-parser-output a.extiw:active,
.mw-parser-output a.extiw:visited,
.mw-parser-output a.extiw:visited,
.mw-parser-output a.external,
.mw-parser-output a.external,
.mw-parser-output a.external:visited,
.mw-parser-output a.external:visited {
.client-darkmode a,
.client-darkmode #mw-panel .portal .body li a,
.client-darkmode #mw-panel .portal .body li a:visited,
.client-darkmode .toctogglelabel,
.client-darkmode .mw-parser-output a.external,
.client-darkmode .mw-parser-output a.extiw,
.client-darkmode .mw-parser-output a.extiw:active,
.client-darkmode .mw-parser-output a.extiw:visited{
color: var(--link);
color: var(--link);
}
}


a:hover,
a:active,
a:visited:hover,
.mw-body a:hover,
.mw-body a:hover,
.mw-body a:active,
.mw-body a:visited:hover,
.mw-body a:visited:hover,
.mw-portlet-body a:hover,
.mw-portlet-body a:hover,
.mw-portlet-body a:active,
.mw-portlet-body a:visited:hover,
.mw-portlet-body a:visited:hover,
.mw-parser-output a.extiw:hover,
.mw-parser-output a.extiw:hover,
.mw-parser-output a.extiw:active:hover,
.mw-parser-output a.extiw:active,
.mw-parser-output a.extiw:visited:hover,
.mw-parser-output a.external:hover,
.mw-parser-output a.external:hover,
.mw-parser-output a.extiw:visited:hover,
.mw-parser-output a.external:active,
.mw-parser-output a.external:visited:hover {
.mw-parser-output a.external:visited:hover {
color: var(--link-hover);
color: var(--link-hover);
Line 98: Line 172:
a.new,
a.new,
.new a,
.new a,
.client-darkmode a.new,
a.new:hover,
.client-darkmode .new a
.new a:hover {
.new a:hover{
color: var(--link-new) !important;
color: var(--link-new) !important;
}
}
Line 106: Line 179:
a.mw-selflink.selflink {
a.mw-selflink.selflink {
     color: inherit;
     color: inherit;
}
hr {
border-color: var(--accent-2);
}
}


Line 111: Line 188:
background: transparent;
background: transparent;
}
}
input,
select {
color: var(--contrast-1);
background: var(--base-3);
border: 1px solid var(--contrast-3);
padding: 0.35em;
}
code, pre, .mw-code{
    background:var(--base-2);
    color:var(--contrast-1);
    border-color:var(--contrast-3);
}
.mw-content-ltr.mw-highlight-lines pre,
.mw-content-ltr.content .mw-highlight-lines pre {
    box-shadow: inset 2.75em 0 0 var(--table-row-hover);
}
.CodeMirror pre.CodeMirror-line {
font-size: 13px;
line-height: 17px;
}


/* --- IMAGES --- */
/* --- IMAGES --- */
Line 161: Line 213:
}
}


.thumbinner {
    background: var(--base-2);
    border-color: var(--contrast-3);
}
.thumbinner .thumbimage, .thumbborder{
    border-color: var(--contrast-3);
}
div.magnify a {
    filter: var(--filter);
}
.darkmode-icon {
background-image: var(--toggle-style-icon);
background-repeat: no-repeat;
background-size: 20px 20px;
}


/* --- ALIGNMENT --- */
/* --- ALIGNMENT --- */
Line 191: Line 260:
}
}


/* --------- MAINPAGE --------- */
/* ------ TABLES ------ */


.mainpage-body {
table:not([class]) {
display: flex;
background: transparent;
}
}


.mainpage-left {
th {
max-width: calc(100% - 270px);
text-align: unset;
}
}


.mainpage-right .portable-infobox {
.wikitable,
float: none;
.mw_metadata,
.mw-datatable,
.dataTable,
.cargoTable,
.statstable {
    background: var(--base-2);
    border: 1px solid var(--accent-1);
    border-radius: 3px;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: var(--box-shadow);
    color: var(--contrast-1);
    padding: 0;
    position: relative;
}
}


.mainpage-container {
.wikitable tr,
border: 1px solid var(--accent-2);
.mw_metadata tr,
background: var(--base-2);
.mw-datatable tr,
margin: 0 0 1em;
.dataTable tr,
padding: .5em .8em 0;
.cargoTable tr,
box-shadow: var(--box-shadow);
.statstable tr {
border-radius: 5px;
    background: transparent;
}
}


.mainpage-container h3 {
.wikitable tr th,
font-size: 1.4em;
.mw_metadata tr th,
margin: 0 0 .4em;
.mw-datatable tr th,
.dataTable tr th,
.cargoTable tr th,
.statstable tr th{
background: var(--accent-1);
    border: 0 solid var(--accent-0);
    border-width: 0 0 1px;
    white-space: nowrap;
}
}


@media screen and (max-width: 850px) {
.wikitable > tr > th,
.mainpage-body {
.wikitable > * > tr > th {
flex-flow: column wrap;
text-align: left;
}
.mainpage-left {
max-width: 100%;
}
}
}


.twitter-timeline.twitter-timeline-rendered iframe#twitter-widget-0 {
.wikitable tr th a.mw-collapsible-text,
     max-width: 270px;
.mw_metadata tr th a.mw-collapsible-text,
.mw-datatable tr th a.mw-collapsible-text,
.dataTable tr th a.mw-collapsible-text,
.cargoTable tr th a.mw-collapsible-text {
     filter: var(--filter-link-th);
}
}


.wikitable tr th a:not(:has(img)) {
    filter: var(--filter-link-th);
}


/* --- MAINPAGE FEATURES + BESTIARY --- */
.wikitable tr td,
.mw_metadata tr td,
.mw-datatable tr td,
.dataTable tr td,
.cargoTable tr td,
.statstable tr td {
    background: transparent;
    border: 0 solid var(--accent-3);
    border-width: 0 0 1px;
}


.tile-row {
table > *:last-child > tr:last-child th,
display: grid;
table > *:last-child > tr:last-child td {
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    border-bottom: 0;
width: calc(100% + 1em);
}
}


.mainpage-features .tile-halves {
.mw_metadata tr:nth-child(odd),
display: flex;
.mw-datatable tr:nth-child(odd),
flex: 1 1 auto;
.dataTable tr:nth-child(odd),
flex-flow: column;
.cargoTable tr:nth-child(odd),
margin-right: 1em;
.alterrows tr:nth-child(odd),
overflow: hidden;
body table.cargoTable.noMerge tr:nth-child(odd),
margin-bottom: 1em;
body table.dataTable.stripe tbody tr.odd,
background: var(--accent-3);
body table.dataTable.display tbody tr.odd {
border-radius: 3px;
background: transparent;
}
}


.mainpage-features .tile-halves:hover {
.mw_metadata tr:nth-child(even),
background: var(--accent-2);
.mw-datatable tr:nth-child(even),
.dataTable tr:nth-child(even),
.cargoTable tr:nth-child(even),
.alterrows tr:nth-child(even),
body table.cargoTable.noMerge tr:nth-child(even),
body table.dataTable.stripe tbody tr.even,
body table.dataTable.display tbody tr.even,
.statstable > * > tr.tux-statstable-even {
background: var(--highlight-contrast);
}
}


.mainpage-features .tile-halves a,
.wikitable tr:hover > td,
.mainpage-features .tile-halves:hover a {
.mw_metadata tr:hover > td,
color:var(--contrast-1);
.mw-datatable tr:hover > td,
.dataTable tr:hover > td,
.cargoTable tr:hover > td,
.statstable tr:hover {  
    background: var(--highlight-accent);  
}
}


.mainpage-features .tile-halves h3 {
.nohoverhighlight tr:hover td {
font-size: 1em;
background: transparent;
font-weight: 700;
font-family: inherit;
margin: 0;
}
}


.mainpage-features .tile-top {
.wikitablecellborders tr td,
height: 6.5em;
.wikitablecellborders tr th {
position: relative;
border-right: 1px solid var(--accent-3)
}
}


.mainpage-features .tile-top-best {
.content-table caption,
height: 8rem;
caption.nowrap {
position: relative;
white-space: nowrap;
}
}


.mainpage-features .tile-top.tile-image,
/* --- COLLAPSIBLE TABLES --- */
.mainpage-features .tile-top-best.tile-image-best {
 
display: flex;
.wikitable .mw-collapsible-toggle-default:before {
align-items: center;
    padding-left: .1em;
overflow: hidden;
padding: 0;
max-height: 60em;
}
}


.mainpage-features .tile-top-best.tile-image-best {
.wikitable.mw-collapsed {
align-items: flex-end;
    border-collapse: collapse;
padding-bottom: 5px;
    border: 0;
    overflow: hidden;
}
}


.tile-top.tile-image a,
/* --- RESPONSIVE TABLES --- */
.tile-top-best.tile-image-best a {
 
width: 100%;
.content-table-wrapper:not(.overflowed) .content-table-scrollbar {
display: none;
}
}


.tile-top.tile-image img {
.content-table-wrapper:not(.overflowed) .content-table-left,
width: 100%;
.content-table-wrapper:not(.overflowed) .content-table-right {
object-fit: cover;
height: auto !important
}
}


.tile-top-best.tile-image-best img {
.scroll-left.overflowed .content-table-left,
margin: auto;
.scroll-right.overflowed .content-table-right{
display: block;
    box-shadow: var(--box-shadow) 3px;
    border-color: var(--accent-2);
}
}


.tile-halves .tile-bottom,
.content-table-wrapper.overflowed:has(.mw-collapsed) .content-table-left,
.tile-halves .tile-bottom-best {
.content-table-wrapper.overflowed:has(.mw-collapsed) .content-table-right {
width: 100%;
     display: none;
padding: 0;
background: var(--accent-2);
flex-grow:1;
display: flex;
    align-items: center;
     justify-content: center;
}
}


.tile-halves:hover .tile-bottom,
.content-table-wrapper.overflowed:has(.mw-collapsed) .content-table {
.tile-halves:hover .tile-bottom-best {
    overflow: hidden;
background: var(--accent-1);
}
}


.tile-bottom.link-button {
/* --- CARGO TABLES --- */
align-content: flex-end;
 
padding: 0;
#content .cargoDynamicTable.dataTable thead th,
#content .cargoDynamicTable.dataTable thead td {
    border-bottom: 1px solid var(--accent-0);
}
}


.tile-bottom.link-button a {
#content .cargoDynamicTable.dataTable.row-border tbody th,
display: block;
#content .cargoDynamicTable.dataTable.row-border tbody td,
text-align: center;
#content .cargoDynamicTable.dataTable.display tbody th,
text-decoration: none;
#content .cargoDynamicTable.dataTable.display tbody td {
padding: .35em 0;
    border-top: 0;
}
}


@media screen and (max-width: 850px) {
#content .cargoDynamicTable.dataTable tfoot th,  
.tile-row {
#content .cargoDynamicTable.dataTable tfoot td {
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    border: 0;
width: calc(100% + 0.3em);
}
.mainpage-features .tile-halves {
margin-right: 0.5em;
margin-bottom: 0.5em;
}
}
}


#content table.dataTable.display tbody tr.odd > .sorting_1,
#content table.dataTable.order-column.stripe tbody tr.odd > .sorting_1,
#content table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
    background: var(--highlight-contrast);
}


/* --- MAIN PAGE ITEMS & SKILLS --- */
#content table.dataTable.display tbody tr:hover > .sorting_1,
#content table.dataTable.order-column.hover tbody tr:hover > .sorting_1 {
    background: var(--accent-3);
}


.mainpage-container .tabber__tabs {
#content .dataTables_wrapper .dataTables_length,
flex: 0 1 100%;
#content .dataTables_wrapper .dataTables_filter,
#content .dataTables_wrapper .dataTables_info,
#content .dataTables_wrapper .dataTables_processing,
#content .dataTables_wrapper .dataTables_paginate {
    color: var(--contrast-1);
    margin-bottom: .3em;
}
}


.mainpage-container .tabber__tab {
#content .dataTables_wrapper .dataTables_paginate .paginate_button {
font-family: 'Idleon';
    color: var(--link) !important;
font-weight: normal;
    border: none;
font-size: 16px;
}
#content .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
#content .dataTables_wrapper .dataTables_paginate .paginate_button:active {
    color: var(--link-hover) !important;
    background: none;
}
#content .dataTables_wrapper .dataTables_paginate .paginate_button.current,
#content .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{
    color: var(--contrast-1) !important;
    background: none;
    font-weight: bold;
}
}


.tabber__panel .mainpage-items {
#content .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
margin-top: 1em
#content .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
#content .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    color: var(--contrast-2) !important;
}
}


.mainpage-items,
/* --- SORTABLE TABLES --- */
.mainpage-skills {
 
padding-bottom: .3em;
.jquery-tablesorter th.headerSort,
table.dataTable thead .sorting,
.jquery-tablesorter th.headerSortUp,
table.dataTable thead .sorting_asc,
.jquery-tablesorter th.headerSortDown,
table.dataTable thead .sorting_desc {
background-image: none;
    position: relative;
    padding-right: 0.5em;
    padding-left: 21px;
}
}
 
.jquery-tablesorter th.headerSort:after,
.mainpage-items ul,
table.dataTable thead .sorting:after,
.mainpage-skills ul {
.jquery-tablesorter th.headerSortUp:after,
flex-flow: row wrap;
table.dataTable thead .sorting_asc:after,
display: flex;
.jquery-tablesorter th.headerSortDown:after,
margin: 0;
table.dataTable thead .sorting_desc:after {
    display:inline-block;
    content: "";
    width:21px;
    height:9px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    filter: var(--filter);
}
table.dataTable thead .sorting:after,
.jquery-tablesorter th.headerSort:after {
background: url(/wiki/resources/src/jquery.tablesorter.styles/images/sort_both.svg) no-repeat center center;
}
}
 
.jquery-tablesorter th.headerSortUp:after,
.mainpage-items li,
table.dataTable thead .sorting_asc:after {
.mainpage-skills li {
background: url(/wiki/resources/src/jquery.tablesorter.styles/images/sort_up.svg) no-repeat center center;
display: flex;
flex: 1 0 32.3%;
margin: 0 .5% .5em;
flex-grow: unset;
}
}
 
.jquery-tablesorter th.headerSortDown:after,
.mainpage-items.col4 li {
table.dataTable thead .sorting_desc:after {
flex: 1 0 24%;
background: url(/wiki/resources/src/jquery.tablesorter.styles/images/sort_down.svg) no-repeat center center;
flex-grow: unset;
}
}


.mainpage-items li img {
/* --- STATS TABLE --- */
width:36px;
}


.mainpage-items li:hover img,
.statstable tr th {
.mainpage-skills li:hover img {
    font-weight: bold;
transform: scale(1.2);
    letter-spacing: unset;
transition: 0.2s ease-out;
}
}
 
.statstable > * > tr.tux-statstable-even > td {  
.mainpage-items li a:first-child,
    background: unset;
.mainpage-skills li a:first-child {
}
border-radius: 3px;
.statstable > * > tr:hover > td {
width: 48px;
    filter: none;
height: 48px;
}
min-width: 48px;
.statstable tr td[style^="background"] {
text-align: center;
    background: var(--highlight-progressive) !important;
display: flex;
align-items: center;
justify-content: center;
}
}
 
.statstable > * > tr > td[data-sort-value='0.00000'][style^="background"] {
.mainpage-items li a:last-child,
    background: transparent !important;
.mainpage-skills li a:last-child {
flex: 1 1 auto;
display: flex;
align-items: center;
color: #000;
font-size: 1.1em;
font-weight: 700;
padding-left: 0.7em;
text-decoration: none;
}
}


.mainpage-items li:hover a:first-child,
/* --- STICKY TABLE HEADER --- */
.mainpage-skills li:hover a:first-child {
border-radius: 3px 0 0 3px;
}


.mainpage-items li:hover a:last-child,
.stickyHeader.jquery-tablesorter th.headerSort,
.mainpage-skills li:hover a:last-child {
.stickyHeader th {
color: #fff;
position: sticky;
border-radius: 0 3px 3px 0;
top: 0;
z-index:100;
}
 
.content-table-wrapper.overflowed .stickyHeader.jquery-tablesorter th.headerSort,  
.content-table-wrapper.overflowed .stickyHeader th {
    position: relative;
    height: unset !important;
}
}


.mainpage-items li a:first-child,
/* --- CENTER COLUMN TABLE --- */
.mainpage-skills li a:first-child {
 
background-color: var(--accent-2);
.CenterColumn1Image tr td:nth-child(1) img {
display: block;
margin: 0 auto;
max-height: 50px;
width: auto;
}
}


.mainpage-items li:hover a:last-child,
.CenterColumn2Image tr td:nth-child(1) img {
.mainpage-skills li:hover a:last-child {
display: block;
background-color: var(--accent-0);
margin: 0 auto;
}
}


@media screen and (max-width: 850px) {
.CenterColumn1Image tr td.drop-separator:nth-child(1) img {
.mainpage-skills li,
display: inline-block;
.mainpage-items li,
.mainpage-items.col4 li {
flex: 1 0 49%;
flex-grow: unset;
}
.mainpage-skills li a:first-child,
.mainpage-items li a:first-child {
width: 40px;
height: 40px;
}
.mainpage-skills li a:last-child,
.mainpage-items li a:last-child {
font-size: .9em;
}
}
}


/* --- MAIN PAGE SKILL COLORS --- */
/* --- WORLD TABLES --- */


.mainpage-skills .skill-Mining a:first-child {
.worldtable{width:70%;}
background-color: #d2b244;
.worldtable th:nth-child(1){width:10%;}
}
.worldtable th:nth-child(2){width:35%;}
.mainpage-skills .skill-Mining:hover a:last-child {
.worldtable th:nth-child(3){width:55%;}
background-color: #b69213;
.worldtable td:first-of-type{ text-align:center;}
}


.mainpage-skills .skill-Choppin a:first-child {
/* --- FIRSTIMAGE TABLES (BOSS, NPC, BUILDING) --- */
background-color: #748d36;
}
.mainpage-skills .skill-Choppin:hover a:last-child {
background-color: #4c6215;
}


.mainpage-skills .skill-Smithing a:first-child {
.FirstImage {
background-color: #878787;
width: 100%;
}
.mainpage-skills .skill-Smithing:hover a:last-child {
background-color: #616161;
}
}


.mainpage-skills .skill-Fishing a:first-child {
.FirstImage td:first-of-type {
background-color: #3e8e9a;
width: 12%;
}
min-width: 100px;
.mainpage-skills .skill-Fishing:hover a:last-child {
background-color: #1a6671;
}
}


.mainpage-skills .skill-Catching a:first-child {
.FirstImage td:first-of-type img {
background-color: #b9863b;
max-height: 100px;
}
height: auto;
.mainpage-skills .skill-Catching:hover a:last-child {
width: auto;
background-color: #7b5b13;
margin: 0 auto;
}
display: block;
 
.mainpage-skills .skill-Alchemy a:first-child {
background-color: #6e88e8;
}
.mainpage-skills .skill-Alchemy:hover a:last-child {
background-color: #304d91;
}
}


.mainpage-skills .skill-Worship a:first-child {
/* --- TOC --- */
background-color: #b769d6;
}
.mainpage-skills .skill-Worship:hover a:last-child {
background-color: #803a9c;
}


.mainpage-skills .skill-Construction a:first-child {
.toc {
background-color: #e27c5d;
padding: 0;
}
border-radius: 3px;
.mainpage-skills .skill-Construction:hover a:last-child {
background: var(--base-2);
background-color: #ab4d31;
border: 1px solid var(--contrast-3);
box-shadow: var(--box-shadow);
margin: 0 0 1em;
}
}


.mainpage-skills .skill-Trapping a:first-child {
.toc .toctitle {
background-color: #859ab3;
padding: .5em 1em;
}
.mainpage-skills .skill-Trapping:hover a:last-child {
background-color: #476588;
}
}


.mainpage-skills .skill-Breeding a:first-child {  
.toc > ul,
background-color: #c99f4b;  
.toc .tocUl {
}
padding: .3em 1em;
.mainpage-skills .skill-Breeding:hover a:last-child {
margin: 0;
background-color: #d7b46e;
border-top: 1px solid var(--contrast-3);
}
}


.mainpage-skills .skill-Cooking a:first-child {  
.toc .toctitle {
background-color: #b55305;  
text-align: left;
}
border: none;
.mainpage-skills .skill-Cooking:hover a:last-child {
background-color: #d7813d;  
}
}


.mainpage-skills .skill-Laboratory a:first-child {
.toggleNode {
background-color: #67c5df;  
position: relative;
float: right;
left: unset;
color: var(--contrast-2);
}
}
.mainpage-skills .skill-Laboratory:hover a:last-child {
 
background-color: #34cdf7;
.tocnumber {
display: none;
}
}


.mainpage-skills .skill-Sailing a:first-child {
.toc .toctogglelabel,
background-color: #80FDFF;  
.toc .toggleSymbol {
color:var(--link);
}
}
.mainpage-skills .skill-Sailing:hover a:last-child {
 
background-color: #66CACC;
.toctext {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}
}


.mainpage-skills .skill-Divinity a:first-child {
/* --------- MAINPAGE --------- */
background-color: #FFFF80;  
 
.mainpage-body {
display: flex;
}
}
.mainpage-skills .skill-Divinity:hover a:last-child {
 
background-color: #CCCC66;
.mainpage-left {
max-width: calc(100% - 270px);
}
}


.mainpage-skills .skill-Gaming a:first-child {
.mainpage-right .portable-infobox {
background-color: #FF6B66;  
float: none;
}
}
.mainpage-skills .skill-Gaming:hover a:last-child {
background-color: #FF2119;
}
/* --- MAINPAGE EMBEDS --- */


.twitchplayer,
.mainpage-container {
.youtubeplayer {
border: 1px solid var(--accent-1);
position: relative;
background: var(--base-2);
padding-bottom: 56.25%;
margin: 0 0 1em;
height: 0;
padding: .5em .8em 0;
overflow: hidden;
box-shadow: var(--box-shadow);
max-width: 100%;
border-radius: 3px;
margin-bottom: 1em
}
}


.twitchplayer iframe,
.mainpage-container h3 {
.youtubeplayer iframe {
font-size: 1.35rem;
position: absolute;
margin: 0 0 .4em;
top: 0;
padding: 0;
left: 0;
width: 100%!important;
height: 100%!important;
}
}


.widget-twitter {
@media screen and (max-width: 850px) {
display: block;
.mainpage-body {
margin: 0 0 1em 1em;
flex-flow: column wrap;
}
.mainpage-left {
max-width: 100%;
}
}
}


/* --- MAINPAGE FEATURES + BESTIARY --- */


/* --- WORLD HEADERS --- */
.tile-row {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
width: calc(100% + 1em);
transition: all 0.2s ease;
}


.worldheader {
.tile-halves {
display: block;
display: flex;
flex: 1 1 auto;
flex-flow: column;
margin-right: 1em;
overflow: hidden;
margin-bottom: 1em;
margin-bottom: 1em;
width: 100%;
background: var(--accent-3);
border-radius: 3px;
}
}


.worldheader>.mw-collapsible-toggle {
.tile-halves:hover {
display: block;
background: var(--accent-2);
float: none;
box-shadow: var(--box-shadow);
margin-bottom: 1em;
}
}


.mw-body .headerimg {
.tile-halves a,
height: 60px !important;
.tile-halves:hover a {
color:var(--contrast-1);
}
 
.tile-halves h3 {
font-size: 1em;
font-weight: 700;
font-family: inherit;
margin: 0;
padding: 0;
width: 100%;
width: 100%;
object-fit: cover;
object-position: 0;
border-radius: 5px;
}
}


.mainpage-container .headerimg {
.tile-top,
margin-top: .3em
.tile-top-best {
height: 6.5em;
position: relative;
display: block;
}
}


@media screen and (max-width: 850px) {
.tile-top-best {
.mw-body .headerimg {
height: 8rem;
height: 50px !important;
}
}
}


.tile-image a,
.tile-image-best a {
display: flex;
overflow: hidden;
height: 100%;
width: 100%;
}


/* --- WORLD BANNERS (couldn't make .banner-image work, using style instead) (where?) --- */
.tile-image-best a {
align-items: flex-end;
}


.banner-image {
.tile-image img {
position: relative;
height: 100% !important;
border-radius: 0.4em;
width: 100%;
max-width: 100%;
object-fit: cover;
overflow: hidden;
}
float: left;
 
margin: 0 0 3px;
.tile-image-best img {
margin: 0 auto 5px;
display: block;
}
 
.tile-image-best:has(img[src$="png"]) a {
    height: 100%;
}
}


.banner-text {
.tile-image-best:has(img[src$="png"]) img {
position: absolute;
    margin-bottom: 0;
bottom: 10px;
    height: 100% !important;
left: 20px;
    object-fit: cover;
color: white;
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
font-size: 35px;
font-weight: bold;
padding-left: 2px;
padding-right: 2px;
}
}


.header-text {
.tile-halves img {
position: absolute;
    transition: 0.2s ease-out;
bottom: 2px;
}
left: 20px;
 
color: white;
.tile-halves:hover img {
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    transform: scale(1.1);
font-size: 18px;
font-weight: bold;
padding-left: 2px;
padding-right: 2px;
}
}


 
.tile-bottom {
/* --- TOC --- */
width: 100%;
 
.toc,
.client-darkmode .toc {
padding: 0;
padding: 0;
border-radius: 5px;
background: var(--accent-2);  
background: var(--base-2);
flex-grow: 1;  
border: 1px solid var(--accent-2);
display: flex;
box-shadow: var(--box-shadow);
    align-content: flex-end;
    justify-content: center;
}
}


.toc .toctitle {
.tile-halves .tile-bottom a {
padding: .5em 1em;
display: block;
text-align: center;
text-decoration: none;
padding: .35em 0;
}
}


.toc>ul,
.tile-halves:hover .tile-bottom {
.toc .tocUl {
background: var(--accent-1);
padding: .3em 1em;
margin: 0;
border-top: 1px solid var(--accent-3);
}
}


.toc .toctitle {
.tile-halves .tile-bottom a,
text-align: left;
.tile-halves .tile-bottom a:hover {
border: none;
color: var(--contrast-1);
}
}


.toggleNode {
@media screen and (max-width: 850px) {
position: relative;
.tile-row {
float: right;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
left: unset;
width: calc(100% + 0.3em);
}
.tile-halves {
margin-right: 0.5em;
margin-bottom: 0.5em;
}
}
}


.tocnumber {
display: none;
}


.toc .toctogglelabel,
/* --- MAIN PAGE ITEMS & SKILLS --- */
.toc .toggleSymbol {
 
color:var(--link);
.mainpage-container .tabber__tabs {
flex: 0 1 100%;
}
}


 
.mainpage-container .tabber__tab {
/* TABLES */
font-family: 'Idleon';
 
font-weight: normal;
table:not([class]),
font-size: 16px;
.client-darkmode table:not([class]) {
background: transparent;
}
}


.wikitable,
.tabber__panel .mainpage-items {
.client-darkmode .wikitable {
margin-top: 1em
background: var(--base-2);
box-shadow: var(--box-shadow);
}
}


.alterrows tr:nth-child(even),
.mainpage-items,
.client-darkmode .alterrows tr:nth-child(even) {
.mainpage-skills {
background-color: var(--base-3);
padding-bottom: .3em;
}
}


.wikitable>tr>th,
.mainpage-items ul,
.wikitable>*>tr>th {
.mainpage-skills ul {
background-color: var(--accent-1);
flex-flow: row wrap;
white-space: nowrap;
display: flex;
margin: 0;
}
}


.wikitable tr:hover {
.mainpage-items li,
background: var(--table-row-hover);
.mainpage-skills li {
display: flex;
flex: 1 0 32.3%;
margin: 0 .5% .5em;
flex-grow: unset;
}
}


.content-table caption {
.mainpage-items.col4 li {
white-space: nowrap;
flex: 1 0 24%;
flex-grow: unset;
}
}


/* CENTER COLUMN TABLE */
.mainpage-items li img {
 
width: 36px;
.CenterColumn1Image tr td:nth-child(1) img {
display: block;
margin: 0 auto;
max-height: 50px;
width: auto;
}
}


.CenterColumn2Image tr td:nth-child(1) img {
.mainpage-items li *,
display: block;
.mainpage-skills li * {
margin: 0 auto;
    transition: 0.2s ease;
}
}


.CenterColumn1Image tr td.drop-separator:nth-child(1) img {
.mainpage-items li:hover img,
display: inline-block;
.mainpage-skills li:hover img {
transform: scale(1.2);
}
}


 
.mainpage-items li a:first-child,
/* ----- FIRSTIMAGE TABLES (BOSS, NPC, BUILDING) ----- */
.mainpage-skills li a:first-child {
 
border-radius: 3px;
.FirstImage,
width: 48px;
.client-darkmode .FirstImage {
height: 48px;
width: 100%;
min-width: 48px;
background: transparent;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
background-color: var(--accent-2);
}
}


.FirstImage td:first-of-type {
.mainpage-items li a:last-child,
width: 12%;
.mainpage-skills li a:last-child {
min-width: 100px;
flex: 1 1 auto;
display: flex;
align-items: center;
color: var(--contrast-1);
font-size: 1.1em;
font-weight: 700;
padding-left: 0.5em;
text-decoration: none;
}
}


.FirstImage td:first-of-type img {
.mainpage-items li:hover a:first-child,
max-height: 100px;
.mainpage-skills li:hover a:first-child {
height: auto;
border-radius: 3px 0 0 3px;
width: auto;
margin: 0 auto;
display: block;
}
}


/* ----- RESPONSIVE TABLES ----- */
.mainpage-items li:hover a:last-child,
.mainpage-skills li:hover a:last-child {
color: var(--contrast-1);
border-radius: 0 3px 3px 0;
background-color: var(--accent-3);
}


.content-table-wrapper:not(.overflowed) .content-table-left,
@media screen and (max-width: 850px) {
.content-table-wrapper:not(.overflowed) .content-table-right {
.mainpage-skills li,
height: auto !important
.mainpage-items li,
.mainpage-items.col4 li {
flex: 1 0 49%;
flex-grow: unset;
}
.mainpage-skills li a:first-child,
.mainpage-items li a:first-child {
width: 40px;
height: 40px;
}
.mainpage-skills li a:last-child,
.mainpage-items li a:last-child {
font-size: 1em;
}
}
}


.content-table-wrapper:not(.overflowed) .content-table caption {
/* --- MAIN PAGE SKILL COLORS --- */
width: auto !important
 
.mainpage-skills .skill-Mining {
    --accent-2: #d2b244;
    --accent-3: rgb(210 178 68 / 50%);
}
}


/* --- GENERIC FLEX LAYOUT --- */
.mainpage-skills .skill-Choppin {
    --accent-2: #748d36;
    --accent-3: rgb(116 141 54 / 50%);
}


.GenericFlex {
.mainpage-skills .skill-Smithing {
flex-wrap: wrap;
    --accent-2: #878787;
display: flex;
    --accent-3: rgb(135 135 135 / 50%);
justify-content: space-between;
}
}


.GenericChild {
.mainpage-skills .skill-Fishing {
display: block;
    --accent-2: #3e8e9a;
flex: 0 1 48%;
    --accent-3: rgb(62 142 154 / 50%);
margin: 1em 0;
}
}


.ThreeCol .GenericChild {
.mainpage-skills .skill-Catching {
flex: 0 1 32%;
    --accent-2: #b9863b;
    --accent-3: rgb(185 134 59 / 50%);
}
}


@media screen and (max-width: 850px) {
.mainpage-skills .skill-Alchemy {
.ThreeCol .GenericChild {
    --accent-2: #6e88e8;
flex: 0 1 48%;
    --accent-3: rgb(110 136 232 / 50%);
}
}
}


@media screen and (max-width: 650px) {
.mainpage-skills .skill-Worship {
.GenericChild,
    --accent-2: #b769d6;
.ThreeCol .GenericChild {
    --accent-3: rgb(183 105 214 / 50%);
flex: 1 1 100%;
}
}
}


.GenericChild h2,
.mainpage-skills .skill-Construction {
.GenericChild h3 {
    --accent-2: #e27c5d;
margin-top: 0;
    --accent-3: rgb(226 124 93 / 50%);
}
}


.GenericChild h3:after {
.mainpage-skills .skill-Trapping {
content: '';
    --accent-2: #859ab3;
display: block;
    --accent-3: rgb(133 154 179 / 50%);
border-bottom: solid 2px #c8ccd1;
overflow: hidden;
}
}


.GenericChild .valInput {
.mainpage-skills .skill-Breeding {
display: inline-block;
    --accent-2: #c99f4b;
    --accent-3: rgb(201 159 75 / 50%);
}
 
.mainpage-skills .skill-Cooking {
    --accent-2: #b55305;
    --accent-3: rgb(181 83 5 / 50%);
}
}


/* --- ALCHEMY TABLES --- */
.mainpage-skills .skill-Laboratory {
 
    --accent-2: #67c5df;
.bubble-table {
    --accent-3: rgb(103 197 223 / 50%);
border: 1px solid var(--accent-2);
border-radius: 5px;
background: var(--base-2);
width: 100%;
margin: auto;
box-shadow: var(--box-shadow);
}
}


.bubble-table th,
.mainpage-skills .skill-Sailing {
.bubble-table td {
    --accent-2: #37b3e3;
padding: 5px 10px;
    --accent-3: rgb(55 179 227 / 50%);
}
}


.bubble-table th.name {
.mainpage-skills .skill-Divinity {
text-align: center;
    --accent-2: #d9d96a;
    --accent-3: rgb(217 217 106 / 50%);
}
}


.bubble-table th.icon {
.mainpage-skills .skill-Gaming {
padding: 0;
    --accent-2: #FF6B66;
    --accent-3: rgb(255 107 102 / 50%);
}
}


.bubble-table td img {
.mainpage-skills .skill-Farming {
width: 24px;
    --accent-2: #a13e00;
    --accent-3: rgb(161 62 0 / 50%);
}
}


.bubble-table tr:first-child th:nth-child(1) {
.mainpage-skills .skill-Sneaking {
width: 5%;
    --accent-2: #adfeff;
border-top-left-radius: 3px;
    --accent-3: rgb(173 254 255 / 50%);
}
}


.bubble-table tr:first-child th:nth-child(2) {
.mainpage-skills .skill-Summoning {
width: 15%;
    --accent-2: #f5e0ff;
    --accent-3: rgb(245 224 255 / 50%);
}
}


.bubble-table tr:first-child th:nth-child(3) {
/* --- MAINPAGE EMBEDS --- */
width: 20%;
}


.bubble-table tr:first-child th:nth-child(4) {
.youtubeplayer {
width: 55%;
position: relative;
border-top-right-radius: 3px
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
max-width: 100%;
margin-bottom: 1em
}
}


.bubbleDiv table {
.youtubeplayer iframe {
width: 100%;
position: absolute;
background: var(--base-2);
top: 0;
border-radius: 5px;
left: 0;
border: 1px solid var(--accent-2);
width: 100%!important;
box-shadow: var(--box-shadow);
height: 100%!important;
}
}


.bubbleDiv .bubbleDesc td {
.widget-twitter {
background: var(--accent-1);
display: block;
text-align: center;
margin: 0 0 1em 1em;
border-radius: 3px 3px 0 0;
padding: .5em;
}
}
 
#twitter-widget-0 {
.bubbleDiv .bubbleDesc h3 {
    border-radius: 14px;
margin: 0;
    max-width: 270px;
}
}


.bubbleDiv .bubbleDesc h3:after {
@media screen and (max-width: 550px) {
display: none;
.widget-twitter {
margin: 0 0 1em;
}
#twitter-widget-0 {
    max-width: 100%;
}
}
}


.bubbleDiv .bubbleDesc p {
/* --- WORLD HEADERS --- */
margin: 0
}


.orange-cauldron,
.worldheader {
.orange .bubbleDiv table {
display: block;
border-color: rgb(177 88 0 / 60%);
margin-bottom: 1em;
width: 100%;
}
}


.orange-cauldron tr:first-child,
.worldheader>.mw-collapsible-toggle {
.orange .bubbleDiv tr.bubbleDesc td {
display: block;
    background-color: rgb(255 148 32 / 50%);
float: none;
box-shadow: var(--box-shadow);
margin-bottom: 1em;
}
}


.orange-cauldron tr:nth-child(2n+3) {
.mw-body .headerimg {
background-color: rgb(255 148 32 / 15%);
height: 60px !important;
width: 100%;
object-fit: cover;
object-position: 0;
border-radius: 3px;
}
}


.orange-cauldron tr.big {
.mainpage-container .headerimg {
background-color: rgb(255 148 32 / 35%);
margin-top: .3em
}
}


.green-cauldron,
@media screen and (max-width: 850px) {
.green .bubbleDiv table {
.mw-body .headerimg {
border-color: rgb(49 147 52 / 60%);
height: 50px !important;
}
}
}


.green-cauldron tr:first-child,
.green .bubbleDiv tr.bubbleDesc td {
    background-color: rgb(71 219 90 / 50%);
}


.green-cauldron tr:nth-child(2n+3) {
/* --- WORLD BANNERS (couldn't make .banner-image work, using style instead) (where?) --- */
background-color: rgb(71 219 90 / 15%);
}


.green-cauldron tr.big {
.banner-image {
background-color: rgb(71 219 90 / 35%);
position: relative;
}
border-radius: 0.4em;
 
max-width: 100%;
.purple-cauldron tr:first-child,
overflow: hidden;
.purple .bubbleDiv tr.bubbleDesc td {
float: left;
    background-color: rgb(208 89 240 / 50%);
margin: 0 0 3px;
}
}


.purple-cauldron tr:nth-child(2n+3) {
.banner-text {
background-color: rgb(208 89 240 / 15%);
position: absolute;
bottom: 10px;
left: 20px;
color: white;
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
font-size: 35px;
font-weight: bold;
padding-left: 2px;
padding-right: 2px;
}
}


.purple-cauldron tr.big {
.header-text {
background-color: rgb(208 89 240 / 35%);
position: absolute;
bottom: 2px;
left: 20px;
color: white;
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
font-size: 18px;
font-weight: bold;
padding-left: 2px;
padding-right: 2px;
}
}


.yellow-cauldron,
/* --- GENERIC FLEX LAYOUT --- */
.yellow .bubbleDiv table {
border-color: rgb(190 131 0 / 60%);
}


.yellow-cauldron tr:first-child,
.GenericFlex {
.yellow .bubbleDiv tr.bubbleDesc td {
flex-wrap: wrap;
    background-color: rgb(250 208 10 / 50%);
display: flex;
justify-content: space-between;
}
}


.yellow-cauldron tr:nth-child(2n+3) {
.GenericChild {
background-color: rgb(250 208 10 / 15%);
display: block;
flex: 0 1 48%;
margin: 1em 0;
}
}


.yellow-cauldron tr.big {
.ThreeCol .GenericChild {
background-color: rgb(250 208 10 / 35%);
flex: 0 1 32%;
}
}


.cauldInput,
@media screen and (max-width: 850px) {
.client-darkmode .cauldInput {
.ThreeCol .GenericChild {
min-width: 50%;
flex: 0 1 48%;
background: transparent;
}
}
}


.cauldInput td:first-child {
@media screen and (max-width: 650px) {
text-align: right;
.GenericChild,
.ThreeCol .GenericChild {
flex: 1 1 100%;
}
}
}


/* --- ACHIEVEMENTS --- */
.GenericChild h2,
.GenericChild h3 {
margin-top: 0;
}


.secret-achievement,
.GenericChild h3:after {
.steam-exclusive {
content: '';
display:block;
display: block;
font-size:.8em;
border-bottom: solid 2px var(--accent-3);
padding:0 .2em;
overflow: hidden;
text-transform:uppercase;
font-weight: 700;
width:fit-content;
text-align:center;
margin-bottom: .3em;
}
}


.steam-exclusive {
.GenericChild .valInput {
background: rgb(35 179 172 / 35%);
display: inline-block;
border: 1px solid #6aafac;
}
}


.secret-achievement {
/* --- ALCHEMY TABLES --- */
     background: rgb(247 89 126 / 35%);
 
    border: 1px solid #e56885;
.bubble-table,
.bubble,
.cauldInput{
     border-color: var(--accent-0);
}
}


/* --- INFOBOX --- */
.dashdivider {
    border-bottom: dashed var(--accent-0);
    text-align: left;
}


.Infobox {
.bubble-table tr:hover td,
width: 30%;
.bubble tr:hover td,
min-width: 300px;
.cauldInput tr:hover td {
float: right;
    background: transparent;
clear: right;
}
background: var(--base-2);
 
border: 1px solid var(--accent-2);
/* ALCH QUICK LOOK  */
border-radius: 5px;
 
margin: 0 0 1em 1em;
.bubble-table tr th:nth-of-type(1) {
padding: 2px;
width: 5%;
box-shadow: var(--box-shadow);
}
}


.Infobox .Header,
.bubble-table tr th:nth-of-type(2) {
.Infobox .SubHeader {
width: 15%;
background: var(--accent-1);
text-align: center;
font-weight: 700;
}
}


.bubble-table tr th:nth-of-type(3) {
width: 20%;
}


/* Fix for Firefox, <table> doesn't fill the space properly */
.bubble-table tr th:nth-of-type(4) {
width: 55%;
}


.Infobox table {
.bubble-table tr:nth-child(2n+3) {
width: 100%;
background: var(--accent-3);
}
}


.bubble-table tr.big {
background: var(--accent-2);
}


/* Affects the very first header of the Infobox */
.bubble-table .name {
text-align: left;
    font-weight: bold;
}
.bubble-table .icon {
padding: 0 0 0 3px;
    text-align: center;
}


.Infobox .Header {
.bubble-table .icon img {
padding: 0.5em;
width: auto;
border-radius: 3px 3px 0 0;
font-size: 1.2em;
}
}


[data-name="headerImg"] .pi-image-thumbnail {
.bubble-table img {
    min-width: 100%;
width: 24px;
    max-height: auto;
}
}


/* Affects all the headers/dividers below the image */
.bubble-table a span {
 
    filter: var(--filter-link-th);
.Infobox .SubHeader {
margin-top: 2px;
padding: .2em
}
}


/* ALCH BUBBLES */


/* Centers the main image */
.bubble {
    text-align: center;
    margin: 0;
width: 100%;
    max-width: 450px;
}


.Infobox .HeaderImage {
.bubble tr th {
text-align: center;
    font-weight: normal;
padding: 5px 0;
    text-align: center;
    white-space: normal;
}
}


.bubble tr td {
    border: 0;
}


/* Constraining the max height of images in infoboxes */
.bubble tr:last-of-type td {
 
    width: 50%;
.Infobox .HeaderImage img {
max-height: 300px;
width: auto;
}
}


 
.bubbleDiv h3 {
/* --- INFOBOX (TABLE) --- */
margin: 0;
 
table.Infobox {
padding: 0;
padding: 0;
}
}


.bubbleDiv h3:after {
display: none;
}


/* Affects the left column (purple) */
.bubbleDiv p {
 
margin: 0
.Infobox th {
background: var(--accent-2);
text-align: left;
margin-top: 2px;
padding: .2em;
}
}


/* ALCH TABLE COLORS */


/* Makes width of the two rows more consistent, but allows for flexibility // % gets overriden by colspan, em works // */
.orange-cauldron {
    --accent-0: rgb(177 88 0 / 60%);
    --accent-1: rgb(255 148 32 / 50%);
    --accent-2: rgb(255 148 32 / 35%);
    --accent-3: rgb(255 148 32 / 15%);
}


.Infobox th,
.green-cauldron {
.Infobox td {
    --accent-0: rgb(49 147 52 / 60%);
max-width: 8em;
    --accent-1: rgb(71 219 90 / 50%);
min-width: 5em;
    --accent-2: rgb(71 219 90 / 35%);
    --accent-3: rgb(71 219 90 / 15%);
}
}


.purple-cauldron {
    --accent-0: rgb(166 97 189 / 60%);
    --accent-1: rgb(208 89 240 / 50%);
    --accent-2: rgb(208 89 240 / 35%);
    --accent-3: rgb(208 89 240 / 15%);
}


/* Rounds the last table row to fit with the rounded edge of the Infobox */
.yellow-cauldron {
 
    --accent-0: rgb(190 131 0 / 60%);
.LastTable {
    --accent-1: rgb(250 208 10 / 50%);
border-radius: 0 0 0 3px;
    --accent-2: rgb(250 208 10 / 35%);
    --accent-3: rgb(250 208 10 / 15%);
}
}


/* CAULDRON CALCS */


/* --- INFOBOX (DEFINITION LIST) --- */
.cauldInput {
 
width: 100%;
.Infobox dl,
    max-width: 450px;
.Infobox .dl {
}
display: grid;
.cauldInput tr th {
grid-template-columns: 40% 60%;
text-align: center;
gap: 2px;
}
margin: 0;
.cauldInput tr td {
border: 0;
}
.cauldInput td:first-child {
text-align: right;
}
.cauldInput tr td input {
    width: 100%;
    box-sizing: border-box;
}
}


.Infobox dl:not(:empty){
/* --- ACHIEVEMENTS --- */
margin-top: 2px;
}


.Infobox dt,
.secret-achievement,
.Infobox dd,
.steam-exclusive {
.Infobox .dt,
display:block;
.Infobox .dd {
font-size:.8em;
margin: 0;
padding:0 .2em;
padding: .2em;
text-transform:uppercase;
font-family: inherit;
font-weight: 700;
display: flex;
width:fit-content;
align-items: center;
text-align:center;
margin-bottom: .3em;
}
}


.Infobox dt,
.steam-exclusive {
.Infobox .dt {
background: rgb(35 179 172 / 35%);
line-height: 1.5;
border: 1px solid #6aafac;
background: var(--accent-2);
font-weight: 700
}
}


.Infobox>:last-child {
.secret-achievement {
border-radius: 0 0 3px 3px;
    background: rgb(247 89 126 / 35%);
overflow: hidden
    border: 1px solid #e56885;
}
}


/* --- PORTABLE INFOBOX --- */
/* --- INFOBOX --- */


.portable-infobox {
.Infobox {
width: 30%;
min-width: 300px;
float: right;
clear: right;
background: var(--base-2);
background: var(--base-2);
border: 1px solid var(--accent-2);
border: 1px solid var(--accent-2);
border-radius: 5px;
border-radius: 3px;
margin: 0 0 1em 1em;
padding: 2px;
box-shadow: var(--box-shadow);
box-shadow: var(--box-shadow);
color: var(--contrast-1);
}
}


.mw-body .mw-parser-output .portable-infobox h2:after,
.Infobox .Header,
.mw-body .mw-parser-output .portable-infobox h3:after {
.Infobox .SubHeader {
display: none;
background: var(--accent-1);
text-align: center;
font-weight: 700;
}
}


.portable-infobox div.pi-item {
font-size: .85rem;
}


.portable-infobox .pi-title,
/* Fix for Firefox, <table> doesn't fill the space properly */
.portable-infobox .pi-header {
 
background: var(--accent-1);
.Infobox table {
text-align: center;
width: 100%;
}
}


.portable-infobox .pi-title {
 
font-family: 'Idleon';
/* Affects the very first header of the Infobox */
padding: 0.5em 0.5em 0.3em;
 
.Infobox .Header {
padding: 0.5em;
border-radius: 3px 3px 0 0;
font: normal 1.35rem / 1.4 'Idleon';
}
}


.portable-infobox .pi-border-color {
/* Affects all the headers/dividers below the image */
border-color: var(--accent-3);
}


.portable-infobox .pi-media {
.Infobox .SubHeader {
padding: 0.5em 0;
margin-top: 2px;
padding: .2em
}
}


.portable-infobox .pi-section-navigation,
.portable-infobox .pi-section-navigation,
.portable-infobox .pi-media-collection-tabs {
border-bottom: 1px solid var(--accent-2);
}


.pi-section-navigation .pi-section-tab,
/* Centers the main image */
.pi-media-collection .pi-tab-link {
 
background: none;
.Infobox .HeaderImage {
border: none;
text-align: center;
color: var(--link);
padding: 5px 0;
font-weight: bold;
}
}


.pi-section-navigation .pi-section-tab:hover,
 
.pi-media-collection .pi-tab-link:hover {
/* Constraining the max height of images in infoboxes */
color: var(--link-hover);
 
box-shadow: inset 0 -2px 0 0 currentColor;
.Infobox .HeaderImage img {
max-height: 300px;
width: auto;
}
}


.pi-section-navigation .pi-section-tab.pi-section-active,
.pi-section-navigation .pi-section-tab.current,
.pi-media-collection .pi-tab-link.current {
background: none;
box-shadow: inset 0 -2px 0 0 currentColor;
}


.pi-media-collection-tab-content figure {
/* --- INFOBOX (TABLE) --- */
    vertical-align: text-bottom;
 
    display: flex;
table.Infobox {
    justify-content: center;
padding: 0;
    align-items: end;
}
}


.portable-infobox .grid-4, .portable-infobox .grid-5 {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 5px 2px;
    margin: auto;
    width:100%;
}
.portable-infobox .grid-5 {
    grid-template-columns: repeat(5,1fr);
}


/* --- MAINPAGE INFOBOX --- */
/* Affects the left column (purple) */


.portable-infobox.pi-theme-gameinfo .pi-section-active .pi-item {
.Infobox th {
padding: 0;
background: var(--accent-2);
border-top: 1px solid var(--accent-0);  
text-align: left;
border-bottom: 1px solid var(--accent-0);
margin-top: 2px;
padding: .2em;
}
}


/* --- BOSS INFOBOX --- */


.pi-data[data-source="NormalDamages"], .pi-data[data-source="ChaoticDamages"], .pi-data[data-source="NightmareDamages"] {padding:0;}
/* Makes width of the two rows more consistent, but allows for flexibility // % gets overriden by colspan, em works // */
.pi-data[data-source="NormalDamages"] .pi-data:last-of-type, .pi-data[data-source="ChaoticDamages"] .pi-data:last-of-type, .pi-data[data-source="NightmareDamages"] .pi-data:last-of-type {border:0;}


/* --- SKILL INFOBOX --- */
.Infobox th,
 
.Infobox td {
.portable-infobox.pi-theme-skillinfo .pi-media {
max-width: 8em;
padding: 0;
min-width: 5em;
border-top: 1px solid var(--accent-0);  
border-bottom: 1px solid var(--accent-0);
}
}


.portable-infobox.pi-theme-skillinfo ul {
 
margin-top: 0;
/* Rounds the last table row to fit with the rounded edge of the Infobox */
 
.LastTable {
border-radius: 0 0 0 3px;
}
}


/* --- CLASS INFOBOX (TALENTS) --- */


.InfoboxTalents {
/* --- INFOBOX (DEFINITION LIST) --- */
text-align: center;
padding: 5px
}


.InfoboxTalents p {
.Infobox dl,
.Infobox .dl {
display: grid;
display: grid;
grid-template-columns: repeat(5, 1fr);
grid-template-columns: 40% 60%;
row-gap: 5px;
gap: 2px;
max-width: 300px;
margin: 0;
margin: auto;
}
}


/* --- INFOBOX EXTRAS --- */
.Infobox dl:not(:empty){
 
margin-top: 2px;
.CardStar {
max-height: 13px;
width: auto;
}
}


.FishDepth {
.Infobox dt,
    max-height: 11px;
.Infobox dd,
    width: auto;
.Infobox .dt,
.Infobox .dd {
margin: 0;
padding: .2em;
font-family: inherit;
display: flex;
align-items: center;
}
}


.SlabNum {
.Infobox dt,
    position:relative;  
.Infobox .dt {
    float:left;
line-height: 1.5;
background: var(--accent-2);
font-weight: 700
}
}


.SlabNum span {
.Infobox>:last-child {
    position: absolute;
border-radius: 0 0 3px 3px;
    font-size: 16px;
overflow: hidden
    color: #fff;
}
     min-width: 28px;
 
     text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
/* --- PORTABLE INFOBOX --- */
    font-weight: 400;
 
    left: 50%;
.portable-infobox {
    top: 50%;
--pi-background: var(--base-2);
    transform: translateX(-50%) translateY(-50%);
     --pi-secondary-background: var(--accent-1);
     --pi-border-color: var(--accent-3);
background: var(--base-2);
border: 1px solid var(--accent-1);
border-radius: 3px;
box-shadow: var(--box-shadow);
font-size: .7rem;
}
}


.client-darkmode .SlabNum span {
.skin-timeless #mw-content-text .portable-infobox {
     -webkit-filter: invert(1) hue-rotate(180deg);
     font-size: .7rem;
    filter: invert(1) hue-rotate(180deg);
}
}


.Infobox .str,
.portable-infobox * {
.portable-infobox .str {
box-sizing: border-box;
color:#ef7600;
}
}
.Infobox .agi,
 
.portable-infobox .agi {  
@media screen and (max-width: 720px) {
color:#19b131;
.portable-infobox {
    margin-bottom: var(--pi-margin);
    }
}
}
.Infobox .wis,  
 
.portable-infobox .wis {
.mw-body .mw-parser-output .portable-infobox h2:after,
color:#cb50ef;
.mw-body .mw-parser-output .portable-infobox h3:after {
display: none;
}
}
.Infobox .luk,  
 
.portable-infobox .luk {
.portable-infobox .pi-title,
color:#d3a20f;
.portable-infobox .pi-header {
background: var(--accent-1);
border-bottom: 1px solid var(--accent-0);
text-align: center;
}
}


/* --- DETAILBOX INFOBOX --- */
.skin-timeless #mw-content-text .pi-title,
 
.skin-timeless #mw-content-text .pi-header {
.DetailboxGrid {
     border-bottom: 1px solid var(--accent-0);
     display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18em, 1fr));
    row-gap: .5em;
    column-gap: .5em;
}
}


.Infobox.Detailbox {
.portable-infobox .pi-title,
float: none;
.skin-timeless #mw-content-text .pi-title {
margin: 0 0 1em;
font: normal 1.35rem / 1.4 'Idleon';
table-layout: fixed;
padding: 10px;
}
}


.DetailboxGrid .Infobox.Detailbox {
.portable-infobox .pi-header,
  min-width: auto;
.skin-timeless #mw-content-text .pi-header {
  width: 100%;
    font-size: 1.0em;
  margin:0;
}
}


.Infobox.Detailbox .Header {
.portable-infobox .pi-data-label {
font-family: inherit;
    font-family: inherit;
font-size: 1em;
    font-weight: bold;
padding: .2em;
background: var(--accent-2);
font-weight: bold;
}
}


.Infobox.Detailbox .SellPrice {
.portable-infobox .pi-section-navigation,
text-align: center
.portable-infobox .pi-section-navigation,
.portable-infobox .pi-media-collection-tabs {
border-bottom: 1px solid var(--accent-2);
font-size: .85em;
    padding: 0;
}
}


.Infobox.Detailbox .SubHeader {
.pi-section-navigation .pi-section-tab,
font-size: .9em;
.pi-media-collection .pi-tab-link {
background: var(--accent-2);
background: none;
border: none;
color: var(--link);
font-weight: bold;
font-weight: bold;
flex: 1;
    margin-bottom: -1px;
}
}


.Infobox.Detailbox dl,  
.pi-section-navigation .pi-section-tab:hover,
.Infobox.Detailbox .dl {
.pi-media-collection .pi-tab-link:hover {
grid-template-columns: repeat(4, 1fr);
color: var(--link-hover);
gap: 2px;
box-shadow: inset 0 -2px 0 0 currentColor;
}
}


.Infobox.Detailbox dt,
.pi-section-navigation .pi-section-tab.pi-section-active,
.Infobox.Detailbox dd,
.pi-section-navigation .pi-section-tab.current,
.Infobox.Detailbox .dt,
.pi-media-collection .pi-tab-link.current {
.Infobox.Detailbox .dd {
background: none;
margin: 0;
box-shadow: inset 0 -2px 0 0 currentColor;
font-size: .9em;
border-bottom: 0;
padding: .1em .2em;
}
}


.Infobox.Detailbox dt,
.pi-media-collection-tab-content figure {
.Infobox.Detailbox .dt {  
    vertical-align: text-bottom;
background:var(--accent-3);
    display: flex;
    justify-content: center;
    align-items: end;
}
}


.Infobox.Detailbox .start {
.portable-infobox .pi-media {
grid-column-start: 1;
padding: 0.5em 0;
border-bottom: 1px solid var(--pi-border-color);
}
}


.Infobox.Detailbox .wide {
/* INFOBOX GRIDS */
grid-column: span 3;
}


.Infobox.Detailbox .clearfix,
.DetailboxGrid {
.Infobox.Detailbox hr {
    display: grid;
display:none;
    grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
    row-gap: .5em;
    column-gap: .5em;
}
}


/* --- DETAILBOX INFOBOX (TOOLTIP) --- */
.DetailboxGrid .portable-infobox {
 
.tooltip .Infobox.Detailbox,
.tooltipster-content .Infobox.Detailbox {
display: block;
float: none;
float: none;
clear: both;
margin: 0;
margin: 0;
font-size: 1rem;
width: auto;
width: auto;
min-width: 200px;
min-width: unset;
max-width: 300px;
color: var(--contrast-1);
margin: -6px -10px;
border-color: #808080;
}
}


.tooltip .Infobox.Detailbox .Header,
.DetailboxGrid .portable-infobox,  
.tooltip .Infobox.Detailbox .SellPrice,
.skin-timeless #mw-content-text .DetailboxGrid .portable-infobox {
.tooltip .Infobox.Detailbox .HeaderImage,
    font-size: .65rem;
.tooltip .Infobox.Detailbox .SubHeader,
.tooltipster-content .Infobox.Detailbox .Header,
.tooltipster-content .Infobox.Detailbox .SellPrice,
.tooltipster-content .Infobox.Detailbox .HeaderImage,
.tooltipster-content .Infobox.Detailbox .SubHeader{
display: block;
}
}


.tooltip .Infobox.Detailbox .HeaderImage,
.DetailboxGrid .portable-infobox .pi-title,
.tooltipster-content .Infobox.Detailbox .HeaderImage {
.DetailboxGrid .portable-infobox .pi-header,
padding: 2px 0;
.skin-timeless #mw-content-text .DetailboxGrid .pi-title,
.skin-timeless #mw-content-text .DetailboxGrid .pi-header {
background: var(--accent-2);
    border-bottom-color: var(--accent-2);
}
}


.tooltip .Infobox.Detailbox .HeaderImage img,
.DetailboxGrid .portable-infobox .pi-title,
.tooltipster-content .Infobox.Detailbox .HeaderImage img {
.skin-timeless #mw-content-text .DetailboxGrid .pi-title {
max-width: 36px;
    font-size: 1rem;
}
}


/* --- GENERAL TOOLTIP --- */
/* TABLES (CARDINFO) INSIDE INFOBOX */


.tooltipster-default .tooltipster-content {
.portable-infobox .pi-data:has(table) {
font-family:inherit;  
    padding-left: 0;
    padding-right: 0;
}
.pi-data-value table {
    margin: -5px auto !important;
}
.pi-data-value th:not(:first-child),
.pi-data-value td:not(:first-child){
    border-left: 1px solid var(--pi-border-color);
}
}
.tooltipster-content p {
.pi-data-value th {  
margin: 0;
    padding: var(--pi-item-spacing);
    padding-bottom: 0;
}
}
.tooltipster-base.tooltipster-default.tooltipster-fade.tooltipster-fade-show {
.pi-data-value td {  
box-shadow: var(--box-shadow);
    padding: var(--pi-item-spacing);
    padding-top: 0;
}
}


/* --- DETAILBOX RNG ITEMS --- */
/* GRIDS INSIDE INFOBOX */


.DetailboxGrid.RNG-Items {
.portable-infobox .grid-4,
     grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
.portable-infobox .grid-5 {
    display: grid;
     grid-template-columns: repeat(4,1fr);
    gap: 5px 2px;
    margin: auto;
    width: 100%;
    text-align: center;
}
}
 
.portable-infobox .grid-5 {
.Infobox.RNG-Item {
    grid-template-columns: repeat(5,1fr);
  border-width: 2px;
}
}


.Infobox.Rarity-Common {
/* BOSS INFOBOX */
border-color:#878898;
 
}
.pi-data[data-source="NormalDamages"],
.Infobox.Rarity-Common .Header, .Infobox.Rarity-Common .SubHeader {
.pi-data[data-source="ChaoticDamages"],
background-color: rgb(135 136 152 / 30%);
.pi-data[data-source="NightmareDamages"] {padding:0;}
.pi-data[data-source="NormalDamages"] .pi-data:last-of-type,
.pi-data[data-source="ChaoticDamages"] .pi-data:last-of-type,
.pi-data[data-source="NightmareDamages"] .pi-data:last-of-type {border:0;}
 
/* CLASS, NPC, MAINPAGE, SKILL INFOBOX */
 
.portable-infobox.pi-theme-classinfo .pi-data-label,
.portable-infobox.pi-theme-npcinfo .pi-data-label {
    flex-basis: 120px;
}
}
.Infobox.Rarity-Uncommon {
 
border-color:#1a9934;
.portable-infobox.pi-theme-gameinfo .pi-media,
.portable-infobox.pi-theme-skillinfo .pi-media {
padding: 0;
border-color: var(--accent-0);
}
}
.Infobox.Rarity-Uncommon .Header, .Infobox.Rarity-Uncommon .SubHeader {
 
background-color: rgb(26 153 52 / 30%);
.portable-infobox.pi-theme-gameinfo .pi-media img,
.portable-infobox.pi-theme-skillinfo .pi-media img {
    width: 100%;
    max-width: 100%;
}
}
.Infobox.Rarity-Rare {
 
border-color:#3c65cb;
.portable-infobox.pi-theme-skillinfo ul {
margin-top: 0;
}
}
.Infobox.Rarity-Rare .Header, .Infobox.Rarity-Rare .SubHeader {
 
background-color: rgb(60 101 203 / 30%);
/* DUNGEON INFOBOXES */
 
.portable-infobox.pi-theme-dungeon .pi-data:first-of-type {
    text-align: center;
    border: 0;
}
}
.Infobox.Rarity-Epic {
 
border-color:#5a3cc9;
.portable-infobox.pi-theme-RNG-Item {
    border-width: 2px;
}
}
.Infobox.Rarity-Epic .Header, .Infobox.Rarity-Epic .SubHeader {
 
background-color: rgb(90 60 201 / 30%);
.portable-infobox.pi-theme-Common {
    --accent-1: #878898;
    --accent-2: rgb(135 136 152 / 50%);
}
}
.Infobox.Rarity-Legendary {
 
border-color:#eb7b07;
.portable-infobox.pi-theme-Uncommon {
    --accent-1: #1a9934;
    --accent-2: rgb(26 153 52 / 50%);
}
}
.Infobox.Rarity-Legendary .Header, .Infobox.Rarity-Legendary .SubHeader {
 
background-color: rgb(235 123 7 / 30%);
.portable-infobox.pi-theme-Rare {
    --accent-1: #3c65cb;
    --accent-2: rgb(60 101 203 / 50%);
}
}


/* --- DETAILBOX DUNGEON ENEMIES --- */
.portable-infobox.pi-theme-Epic {
    --accent-1: #5a3cc9;
    --accent-2: rgb(90 60 201 / 50%);
}


.DetailboxGrid.DungeonEnemies {
.portable-infobox.pi-theme-Legendary {
     grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
     --accent-1: #eb7b07;
    --accent-2: rgb(235 123 7 / 50%);
}
 
.portable-infobox.pi-theme-dungeonenemy .pi-media img {
    height: 50px !important;
    width: auto;
}
}


/* --- NAVBOX --- */
/* INFOBOX EXTRAS */


.Navbox {
.CardStar {
width: 100%;
max-height: 13px;
background: var(--base-2);
width: auto;
border: 1px solid var(--accent-2);
border-radius: 5px;
margin: 0 0 1em;
padding: 2px;
box-shadow: var(--box-shadow);
}
}


.Navbox th {
.FishDepth {
background: var(--accent-1);
    max-height: 11px;
text-align: center;
    width: auto;
font-weight: 700;
}
}


/* ----- FORGE SLOT ----- */
.SlabNum {
 
    position:relative;  
.forgeslot {
    float:left;
width: 100%;
background: var(--base-2);
border: 1px solid var(--accent-2);
box-shadow: var(--box-shadow);
border-radius: 5px;
margin-bottom: 1em;
text-align: center;
max-width: 400px;
}
}


.forgeslot th {
.SlabNum span {
background: var(--accent-1);
    position: absolute;
    font-size: 16px;
    color: #fff;
    min-width: 28px;
    text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
    font-weight: 400;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}
}


.forgeslot th:first-child {
.Infobox .str,
border-top-left-radius: 3px;
.portable-infobox .str {
color:#ef7600;
}
}
 
.Infobox .agi,
.forgeslot th:last-child {
.portable-infobox .agi {  
border-top-right-radius: 3px;
color:#19b131;
}
}
 
.Infobox .wis,  
.forgeslot th:first-child,
.portable-infobox .wis {
.forgeslot td:first-child {
color:#cb50ef;
text-align: left;
}
}
.Infobox .luk,
.portable-infobox .luk {
color:#d3a20f;
}
/* --- DETAILBOX INFOBOX --- */


.forgeslot tr:last-child td {
.Infobox.Detailbox {
text-align: right;
float: none;
margin: 0 0 1em;
table-layout: fixed;
}
}


.forgeslot .anviltab img {
.DetailboxGrid .Infobox.Detailbox {
float: left;
  min-width: auto;
  width: 100%;
  margin:0;
}
}


.forgeslot .smithreq img {
.Infobox.Detailbox .Header {
float: right;
font-family: inherit;
font-size: 1em;
padding: .2em;
background: var(--accent-2);
font-weight: bold;
}
}


/* ----- BONUS CALCS (GOLD FOOD, STATUES)  ----- */
.Infobox.Detailbox .SellPrice {
text-align: center
}


.bonusDiv {
.Infobox.Detailbox .SubHeader {
    width: 100%;
font-size: .9em;
    max-width: 400px;
background: var(--accent-2);
    background: var(--base-2);
font-weight: bold;
    border: 1px solid var(--accent-2);
    border-radius: 5px;
    margin: 0 0 1em;
    padding: 2px;
    box-shadow: var(--box-shadow);
    text-align: center;
}
}


.bonusDiv .bonusHead {
.Infobox.Detailbox dl {
    background: var(--accent-1);
grid-template-columns: repeat(4, 1fr);
    font-weight: 700;
gap: 2px;
    border-radius: 3px 3px 0 0;
    padding: .2em;
    margin-bottom: .5em;
}
}


.bonusDiv p{
.Infobox.Detailbox dt,
max-width: 90%;  
.Infobox.Detailbox dd {
margin: 1em auto;
margin: 0;
font-size: .9em;
border-bottom: 0;  
padding: .1em .2em;
}
}


.bonusDiv .valInput {
.Infobox.Detailbox dt {  
    vertical-align: middle;
background:var(--accent-3);
}
}


.bonusDiv .result, .bonusDiv .result1, .bonusDiv .result2, .bonusDiv .resultB, .bonusDiv .resultM {
.Infobox.Detailbox .start {
    color: #358510;
grid-column-start: 1;
    font-weight: bold;
}
}


/* ----- PATCH NOTES ----- */
.Infobox.Detailbox .wide {
 
grid-column: span 3;
.patchnote {
width: 50%;
background: var(--base-2);
border: 1px solid var(--accent-2);
box-shadow: var(--box-shadow);
border-radius: 5px;
margin-bottom: 1em;
}
}


.patchnote th {
.Infobox.Detailbox .clearfix,
background: var(--accent-1);
.Infobox.Detailbox hr {
text-align: center;
display:none;
border-radius: 3px 3px 0 0;
}
}


.GenericChild .patchnote {
/* --- DETAILBOX INFOBOX (TOOLTIP) --- */
width: 100%;
}


.patchnote .mw-prefixindex-body {
.tooltip .Infobox.Detailbox,
columns: 8em 3;
.tooltipster-content .Infobox.Detailbox {
    -moz-columns: 8em 3;
display: block;
    -webkit-columns: 8em 3;
float: none;
clear: both;
margin: 0;
font-size: 1rem;
width: auto;
min-width: 200px;
max-width: 300px;
color: var(--contrast-1);
margin: -6px -10px;
border-color: #808080;
font-weight: normal;
}
}


.patchnote .mw-prefixindex-body ul {
.tooltip .Infobox.Detailbox .Header,
margin-top: 0;
.tooltip .Infobox.Detailbox .SellPrice,
.tooltip .Infobox.Detailbox .HeaderImage,
.tooltip .Infobox.Detailbox .SubHeader,
.tooltipster-content .Infobox.Detailbox .Header,
.tooltipster-content .Infobox.Detailbox .SellPrice,
.tooltipster-content .Infobox.Detailbox .HeaderImage,
.tooltipster-content .Infobox.Detailbox .SubHeader{
display: block;
}
}


/* --- SITE NOTICE --- */
.tooltip .Infobox.Detailbox .HeaderImage,
 
.tooltipster-content .Infobox.Detailbox .HeaderImage {
#siteNotice {
padding: 2px 0;
border: 1px solid transparent;
border-spacing: 3px;
background-image: linear-gradient(#ffcffa 60%, #ee75ff 70%);
text-align: center;
border-radius: 5px;
color: #fff;
text-shadow: -0.065em 0 #000, 0 0.065em #000, 0.065em 0 #000, 0 -0.065em #000;
margin: 0 auto 1em !important;
font-size: 16px;
font-family: 'Idleon';
}
}


.client-darkmode #siteNotice, .client-darkmode #siteNotice img {
.tooltip .Infobox.Detailbox .HeaderImage img,
filter: none;
.tooltipster-content .Infobox.Detailbox .HeaderImage img {
max-width: 36px;
}
}


#siteNotice a {
/* --- GENERAL TOOLTIP --- */
color: #94f9ff !important;
 
cursor: pointer;
.simple-tooltip-inline{
    border-color: var(--contrast-2);
}
}


#siteNotice .mw-dismissable-notice {
.tooltipster-default {
border: 1px solid #000;
background:var(--contrast-1);  
border-radius: 3px;
color:var(--base-1);
padding: 0 1em;
background-image: linear-gradient(#a94bc1 30%, #7e38aa 80%);
margin: 3px;
outline: 1px solid #000;
outline-offset: 3px;
}
}


#siteNotice .mw-dismissable-notice-close {
.tooltipster-default .tooltipster-content {
margin: 0.5em;
font-family:inherit;
font-weight:bold;
}
}


#siteNotice .mw-dismissable-notice-body {
.tooltipster-content p {
margin: 0;
margin: 0;
}
}
 
.tooltipster-base.tooltipster-default.tooltipster-fade.tooltipster-fade-show {
#localNotice p {
box-shadow: var(--box-shadow);
margin: .5em;
}
}


/* --- MIRAHEZE NOTICES --- */
/* --- NAVBOX --- */
#siteNotice .wikitable {background:transparent !important; color:inherit !important; border:0 !important; margin:0 !important}
#siteNotice .wikitable td{border:0 !important}


/* --- ANNOUNCEMENT BANNER --- */
.Navbox {
width: 100%;
background: var(--base-2);
border: 1px solid var(--accent-2);
border-radius: 3px;
margin: 0 0 1em;
padding: 2px;
box-shadow: var(--box-shadow);
}


.banner {
.Navbox th {
border: 1px solid #000;
background: var(--accent-1);
border-spacing: 3px;
background-image: linear-gradient(#d5d5d5 60%, #979797 70%);
width: 60%;
text-align: center;
text-align: center;
border-radius: 5px;
font-weight: 700;
color: #fff;
font-size: 20px;
text-shadow: -.065em 0 #000, 0 .065em #000, .065em 0 #000, 0 -.065em #000;
margin: 0 auto 1em !important;
padding: 3px;
}
}


.banner .banner-inner {
/* ----- FORGE SLOT ----- */
border: 1px solid #000;
 
border-radius: 3px;
.forgeslot {
background-image: linear-gradient(#828282 30%, #5c5c5c 80%);
width: 100%;
padding: 0 1em;
margin-bottom: 1em;
text-align: center;
max-width: 450px;
}
}


.banner a {
.forgeslot th:first-child,
color: #94f9ff !important;
.forgeslot td:first-child {
text-align: left;
}
}


.banner.blue {
.forgeslot tr:last-child td {
background-image: linear-gradient(#b0fdfe 60%, #2891d8 70%);
text-align: right;
}
}


.banner.blue .banner-inner {
.forgeslot .anviltab img {
background-image: linear-gradient(#369de2 30%, #0d578c 80%);
float: left;
}
}


.banner.red {
/* ----- BONUS CALCS (GOLD FOOD, STATUES, GUILD BONUSES) ----- */
background-image: linear-gradient(#ffc0b8 60%, #fe7663 70%);
}


.banner.red .banner-inner {
.bonusDiv {
background-image: linear-gradient(#ff533c 30%, #d4240c 80%);
    width: 100%;
    max-width: 450px;
    background: var(--base-2);
    border: 1px solid var(--accent-2);
    border-radius: 3px;
    margin: 0 0 1em;
    box-shadow: var(--box-shadow);
    text-align: center;
    overflow: hidden;
}
}


.banner.purple {
.bonusDiv .bonusHead {
background-image: linear-gradient(#ffcffa 60%, #ee75ff 70%);
    background: var(--accent-1);
    font-weight: 700;
    padding: 0.4em 0.5em;
    margin-bottom: .5em;
}
}


.banner.purple .banner-inner {
.bonusDiv p {
background-image: linear-gradient(#a94bc1 30%, #7e38aa 80%);
max-width: 90%;
margin: 1em auto;
}
}


.bonusDiv .valInput {
    vertical-align: middle;
}


/* ----- SECRETS TOGGLE ----- */
.bonusDiv .result, .bonusDiv .result1, .bonusDiv .result2, .bonusDiv .resultB, .bonusDiv .resultM {
    color: #358510;
    font-weight: bold;
}


.secrets {
.GenericChild .bonusDiv {
box-sizing: border-box;
    margin: 0;
width: 100%;
}
border: 1px solid var(--accent-2);
 
padding: 1em;
/* ----- PATCH NOTES ----- */
background-color: var(--base-3);
 
margin-bottom: 1em;
.patchnote {
box-shadow: var(--box-shadow);
width: 50%;
border-radius: 3px;
margin: 0 0 1em;
clear: both;
}
}


.secrets>h3 {
.patchnote tr th {  
margin: 0;
text-align:center;  
font-size: 20px;
}
}


.secrets>.mw-collapsible-content {
.patchnote tr td {  
margin-top: 1em;
border: 0;
overflow: auto;
}
}


/* ----- ENEMY NAV ----- */
.patchnote tr:hover td {
background: transparent;
}


.EnemyNav {
.GenericChild .patchnote {
display: flex;
width: 100%;
background: var(--base-2);
}
border: 1px solid var(--accent-2);
margin-bottom: 1em;
overflow: auto;
border-radius: 5px;
padding: .8em;
box-shadow: var(--box-shadow);
}


.EnemyNav div {
.patchnote .mw-prefixindex-body {
display: flex;
columns: 8em 3;
align-items: center;
flex-basis: 33%;
}
}


.EnemyNav div a {
.patchnote .mw-prefixindex-body ul {
line-height: 1;
margin-top: 0;
margin: 0 1px;
}
}


.EnemyNav .EnemyNavCenter {
/* --- SITE NOTICE --- */
justify-content: center;
}


.EnemyNav .EnemyNavRight {
#siteNotice {
justify-content: flex-end;
margin: 0 auto 1em;
}
}


/* ----- TABBER NEUE ----- */
#siteNotice .mw-dismissable-notice {
 
background-image: linear-gradient(#ffcffa 60%, #ee75ff 70%);
.tabber__tab:active,
border: 1px solid #000;
.tabber__tab:hover,
border-radius: 3px;
.tabber__tab--active,
color: #fff;
.tabber__tab--active:visited {
font: normal 1rem / 1.2 'Idleon';
box-shadow: inset 0 -2px 0 0 currentColor;
margin: 0;
padding: 3px;
text-align: center;
text-shadow: -.065em 0 #000, 0 .065em #000, .065em 0 #000, 0 -.065em #000;
}
}


.tabber__section {
#siteNotice .mw-dismissable-notice a {
scroll-behavior: unset !important
color: #94f9ff !important;
cursor: pointer;
}
}


.tabber__panel {
#siteNotice .mw-dismissable-notice-body {
overscroll-behavior-y: auto !important;
background-image: linear-gradient(#a94bc1 30%, #7e38aa 80%);
border: 1px solid #000;
border-radius: 2px;
margin: 0;
}
}


.tabber__header {
#siteNotice .mw-dismissable-notice-close,
box-shadow: inset 0 -1px 0 0 var(--accent-2);
#siteNotice .mw-dismissable-notice-body p {
margin: 0.5em;
}
}


/* ----- DETAILED RECIPE TAB ----- */
/* --- ANNOUNCEMENT BANNER --- */


.detrecipe {
.banner {
margin-top: 1em;
border: 1px solid #000;
border-spacing: 3px;
background-image: linear-gradient(#d5d5d5 60%, #979797 70%);
width: 60%;
text-align: center;
border-radius: 3px;
color: #fff;
font-size: 20px;
text-shadow: -.065em 0 #000, 0 .065em #000, .065em 0 #000, 0 -.065em #000;
margin: 0 auto 1em !important;
padding: 3px;
}
}


.detrecipe .tabber__header {
.banner .banner-inner {
    box-shadow: none;
border: 1px solid #000;
border-radius: 2px;
background-image: linear-gradient(#828282 30%, #5c5c5c 80%);
padding: 0 1em;
}
}


/* --- STICKY HEADER --- */
.banner a {
color: #94f9ff !important;
}


.stickyHeader th {
.banner.blue {
position: sticky;
background-image: linear-gradient(#b0fdfe 60%, #2891d8 70%);
top: 20px;
z-index:100;
}
}


.sticky-card-nav {
.banner.blue .banner-inner {
    text-align: center;
background-image: linear-gradient(#369de2 30%, #0d578c 80%);
    font-size: 1.4em;
    display: block;
    background: var(--base-1);
    position: sticky;
    top: 2em;
    z-index: 100;
    padding: 0.5em 1em;
    margin: 0 -1em;
}
}


/* --- RESPONSIVE TABLES, INFOBOXES, ETC --- */
.banner.red {
background-image: linear-gradient(#ffc0b8 60%, #fe7663 70%);
}


@media screen and (max-width: 550px) {
.banner.red .banner-inner {
.Infobox,
background-image: linear-gradient(#ff533c 30%, #d4240c 80%);
.wikitable,
.EnemyNav,
.widget-twitter {
width: 100%;
float: none;
margin: 0 0 1em;
}
}
}


/* --- CSS TOOLTIPS --- */
.banner.purple {
background-image: linear-gradient(#ffcffa 60%, #ee75ff 70%);
}


.tooltip {
.banner.purple .banner-inner {
display: inline;
background-image: linear-gradient(#a94bc1 30%, #7e38aa 80%);
position: relative;
}
text-decoration: none;  
 
border-bottom: 1px dotted #AAA;
/* ----- SECRETS TOGGLE ----- */
 
.secrets {
box-sizing: border-box;
width: 100%;
border: 1px solid var(--contrast-3);
padding: 1em;
background-color: var(--base-2);
margin-bottom: 1em;
box-shadow: var(--box-shadow);
border-radius: 3px;
clear: both;
}
}


.tooltip>span {
.secrets > h3 {
display: none;
margin: 0;
padding: 0;
line-height: 1.125;
}
}


.tooltip:hover>span {
.secrets > .mw-collapsible-content {
     display: block;
margin-top: 1.5em;
     position: absolute;
overflow: auto;
     z-index: 999;
}
     background: #000;
 
     color: #fff;
.secrets > .mw-collapsible-content > :first-child {
     border-radius: 5px;
    margin-top: 0;
     padding: 5px;
    padding-top: 0;
}
 
.secrets .mw-collapsible-toggle-default:before,
.secrets .mw-collapsible-toggle-default:after {
    color: var(--contrast-2);
}
 
/* ----- ENEMY NAV ----- */
 
.EnemyNav {
display: flex;
background: var(--base-2);
border: 1px solid var(--accent-2);
margin-bottom: 1em;
overflow: auto;
border-radius: 3px;
padding: .8em;
box-shadow: var(--box-shadow);
}
 
.EnemyNav div {
display: flex;
align-items: center;
flex-basis: 33%;
}
 
.EnemyNav div a {
line-height: 1;
margin: 0 1px;
}
 
.EnemyNav .EnemyNavCenter {
justify-content: center;
}
 
.EnemyNav .EnemyNavRight {
justify-content: flex-end;
}
 
/* ----- TABBER NEUE ----- */
 
.tabber__tab:active,
.tabber__tab:hover,
.tabber__tab--active,
.tabber__tab--active:visited {
box-shadow: inset 0 -2px 0 0 currentColor;
}
 
.tabber__section {
scroll-behavior: unset !important
}
 
.tabber__panel {
overscroll-behavior-y: auto !important;
}
 
.tabber__header {
box-shadow: inset 0 -1px 0 0 var(--accent-2);
}
 
.tabber__header--prev-visible .tabber__header__prev:after,
.tabber__header--next-visible .tabber__header__next:after {
filter: var(--filter);
}
 
/* ----- DETAILED RECIPE TAB ----- */
 
.detrecipe {
margin-top: 1em;
}
 
.detrecipe .tabber__header {
    box-shadow: none;
}
 
.detrecipe .wikitable {
    width: 100%;
    max-width: 450px;
    margin: 0;
}
 
/* --- STICKY NAV HEADER --- */
 
.sticky-card-nav {
    text-align: center;
    font-size: 1.4em;
    display: block;
    background: var(--base-1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.5em 1em;
    margin: 0;
}
 
@media screen and (min-width: 851px) {
 
.sticky-card-nav {
margin: 0 -1em;
        top: 2em;
}
 
}
 
/* --- CSS TOOLTIPS --- */
 
.tooltip {
display: inline;
position: relative;
text-decoration: none;
border-bottom: 1px dotted #AAA;
}
 
.tooltip>span {
display: none;
}
 
.tooltip:hover>span {
     display: block;
     position: absolute;
     z-index: 999;
     background: #000;
     color: #fff;
     border-radius: 3px;
     padding: 5px;
     font-size: 12px;
     font-size: 12px;
     line-height: 1.2rem;
     line-height: 1.2rem;
     min-width: 2em;
     min-width: 2em;
     text-align: center;
     text-align: center;
     top: 0;
     top: 0;
     left: 50%;
     left: 50%;
     transform: translate(-50%, calc(-100% - 8px));
     transform: translate(-50%, calc(-100% - 8px));
}
 
.tooltip:hover>span:before {
    display: block;
    content: "";
    border-left: 8px solid transparent !important;
    border-right: 8px solid transparent !important;
    border-top: 8px solid #000;
    bottom: -7px;
    width: 0;
    position: absolute;
    z-index: 999;
    left: calc(50% - 8px);
}
 
/* --- SIDEBAR --- */
.mw-portlet li[id^="n--"],
#mw-site-navigation .sidebar-chunk li[id^="n--"] {
    font-variant: small-caps;
    padding-top:1em;
}
.mw-portlet li:first-child,
#mw-site-navigation .sidebar-chunk li:first-child {
    padding-top:.25em;
}
 
/* Questy Captcha text. To make it more clear. */
div.mw-htmlform-field-HTMLInfoField > div.mw-input {
    color:green;
    font-weight:bold;
    font-style:italic;
}
 
.starrank1 {
color: var(--rankstar-1);
}
.starrank2 {
color: var(--rankstar-2);
}
.starrank3 {
color: var(--rankstar-3);
}
.starrank4 {
color: var(--rankstar-4);
}
.starrank5 {
color: var(--rankstar-5);
}
 
/* Highlight targeted element for Anchor highlights. */
*:not(.tabber__tab):target {
  background-color: #be3cd74d;
}
 
/* Citation Reference highlighting adjusted for darkmode toggling. */
.references li:target,
.reference:target {
/* Overwrite the style rules defined by the cite extension. */
background-color: var(--highlight-contrast) !important;
}
 
/* #### Main Page Tabber Images #### */
 
#tab-World_1-0 { background: transparent url("https://idleon.wiki/wiki/images/f/f7/Wb1.png") no-repeat scroll center center; color: transparent; }
#tab-World_2-0 { background: transparent url("https://idleon.wiki/wiki/images/c/c7/Wb2.png") no-repeat scroll center center; color: transparent; }
#tab-World_3-0 { background: transparent url("https://idleon.wiki/wiki/images/a/ae/Wb3.png") no-repeat scroll center center; color: transparent; }
#tab-World_4-0 { background: transparent url("https://idleon.wiki/wiki/images/5/55/Wb4.png") no-repeat scroll center center; color: transparent; }
#tab-World_5-0 { background: transparent url("https://idleon.wiki/wiki/images/3/33/Wb5.png") no-repeat scroll center center; color: transparent; }
#tab-World_6-0 { background: transparent url("https://idleon.wiki/wiki/images/6/6d/Wb6.png") no-repeat scroll center center; color: transparent; }
#tab-World_7-0 { background: transparent url("https://idleon.wiki/wiki/images/1/1a/Wb7.png") no-repeat scroll center center; color: transparent; }
#tab-World_8-0 { background: transparent url("https://idleon.wiki/wiki/images/3/3d/Wb8.png") no-repeat scroll center center; color: transparent; }
 
/*
================================================================================
Template:MessageBox
================================================================================
*/
.messagebox {
width: 60%;
margin: 0.5rem auto;
border: 1px solid var(--accent-0);
border-width: 1px 1px 1px 8px;
border-radius: 3px;
background-color: var(--base-2);
}
 
.messagebox .messagebox-image {
padding: 0.25rem;
}
 
.messagebox .messagebox-title {
font-size: 0.9rem;
}
}


.tooltip:hover>span:before {
.messagebox .messagebox-content {
    display: block;
font-size: 0.85rem;
    content: "";
    border-left: 8px solid transparent !important;
    border-right: 8px solid transparent !important;
    border-top: 8px solid #000;
    bottom: -7px;
    width: 0;
    position: absolute;
    z-index: 999;
    left: calc(50% - 8px);
}
}


/* --- SIDEBAR --- */
.messagebox.warn {
 
background-color: var(--messagebox-warn-background-color);
#p-Skills {
border-color: var(--messagebox-warn-border-color);
    counter-reset: world;
color: var(--messagebox-warn-color);
}
#p-Skills li:nth-child(3n-2):before{
    counter-increment: world;
    content: "World " counter(world);
    display:block;
    font-variant: small-caps;
    padding-bottom:.5em;
}
#p-Skills li:nth-child(3n) {
    padding-bottom:1em;
}
#p-Skills li:last-child {
    padding-bottom:0;
}
}


/* Questy Captcha text. To make it more clear. */
/*
label[for=wpCaptchaWord] {
================================================================================
    color:green;
Template:TemplateArgument
    font-weight:bold;
================================================================================
    font-size:150%;
*/
    font-style:italic;
.template-preview .argument {
color: var(--contrast-2);
}
}

Latest revision as of 23:55, 21 June 2024

@import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:UITest.css"); 

/* ------ CUSTOM FONT ------ */

@font-face {
	font-family: 'Idleon';
	src: url('https://idleon.wiki/wiki/resources/assets/Idleon.woff2') format('woff2'),
         url('https://idleon.wiki/wiki/resources/assets/Idleon.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* ------ CSS VARIABLES ------ */

:root {
	--box-shadow: rgb(0 0 0 / 15%) 0 0 8px;
	--highlight-progressive: rgb(51 102 204 / 25%);
}

:root {
	color-scheme: light;
    --base-0: #EAECF0;
    --base-1: #f3f5f7;
    --base-2: #ffffff;
    --sidebar-base: rgb(243 245 247 / 85%);
	--contrast-1: #000;
	--contrast-2: #a0a9bb;
	--contrast-3: #c3ccd5;
    --accent-0: #c25fd3;
    --accent-1: #d38bdf;
    --accent-2: rgb(194 117 219 / 50%);
    --accent-3: rgb(194 117 219 / 25%);
    --rankstar-1: #E15F25;
    --rankstar-2: #848482;
    --rankstar-3: #996515;
    --rankstar-4: #00b7eb;
    --rankstar-5: #cf1020;
    --link: #36c;
    --link-hover: #447ff5;
    --link-new: #d33;
    --highlight-accent: rgb(190 128 211 / 8%);
    --highlight-contrast: rgb(195 204 213 / 18%);
    --modal-overlay: rgb(255 255 255 / 75%);
    --page-background: var(--base-0) url(https://idleon.info/wiki/images/9/9f/Background_Beach.png) no-repeat center center / cover fixed;
    --filter: none;
    --filter-ace: none;
    --filter-codemirror: none;
    --filter-link-th: brightness(0.75) saturate(1.5);
    --toggle-style-icon: url(https://idleon.wiki/wiki/images/0/0f/Darkmode-Icon.png);
    
    /* Messagebox Variables */
    --messagebox-warn-background-color: #FFCFC6;
    --messagebox-warn-border-color: red;
    --messagebox-warn-color: black;
}

:root.client-darkmode {
	color-scheme: dark;
    --base-0: #101016;
    --base-1: #191924;
    --base-2: #222230;
    --sidebar-base: rgb(25 26 36 / 50%);
	--contrast-1: #fff;
	--contrast-2: #707099;
	--contrast-3: #434360;
    --accent-0: #74328f;
    --accent-1: #8c3c9a;
    --accent-2: rgb(140 60 154 / 50%);
    --accent-3: rgb(140 60 154 / 25%);
    --rankstar-1: #ff9f00;
    --rankstar-2: #b2beb5;
    --rankstar-3: #ffdf00;
    --rankstar-4: #00DBFF;
    --rankstar-5: #ff355e;
    --link: #4d88fe;
    --link-hover: #6da0ff;
    --link-new: #ff4033;
    --box-shadow: rgb(0 0 0 / 15%) 0 0 8px;
    --highlight-accent: rgb(140 60 154 / 8%);
    --highlight-contrast: rgb(67 67 96 / 18%);
    --modal-overlay: rgb(0 0 0 / 75%);
    --page-background: var(--base-0) url(https://idleon.info/wiki/images/2/24/NightDesertBG.png) no-repeat center center / cover fixed;
    --filter: invert(1) hue-rotate(180deg);
    --filter-ace: invert(1) hue-rotate(170deg) saturate(3);
    --filter-codemirror: invert(1) hue-rotate(180deg) saturate(2);
    --filter-link-th: brightness(1.25) saturate(1.5);
    --toggle-style-icon: url(https://idleon.wiki/wiki/images/6/60/Lightmode-Icon.png);
    
    /* Messagebox Variables */
    --messagebox-warn-background-color: #440909;
    --messagebox-warn-border-color: #FF0000;
    --messagebox-warn-color: #FFFFFF;
}

/* ------ GLOBAL STYLES ------ */

body {
	color: var(--contrast-1);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5,
.mw-body h6,
.pixelfont {
	font-family: 'Idleon';
	font-weight: normal;
	color: var(--contrast-1);
}

.mw-body h1 {
    font-size: 2rem;
}
.mw-body h2,
.vector-body h1 {
    font-size: 1.715rem;
}
.mw-body h3,
.vector-body h2 {
    font-size: 1.5rem;
}
.mw-body h4,
.vector-body h3 {
    font-size: 1.35rem;
}
.mw-body h5,
.vector-body h4 {
    font-size: 1.1875rem;
}
.mw-body h6,
.vector-body h5 {
    font-size: 1rem;
}
.vector-body h6 {
    font-size: .875rem;
}

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

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

a.new,
.new a,
a.new:hover,
.new a:hover {
	color: var(--link-new) !important;
}

a.mw-selflink.selflink {
    color: inherit;
}

hr { 
	border-color: var(--accent-2); 
}

.transparent {
	background: transparent;
}

/* --- IMAGES --- */

img {
	max-width: 100%;
	height: auto;
	image-rendering: -webkit-optimize-contrast;
}

img[src$="Coin.png"] {
	margin-right: 2px;
	vertical-align: text-bottom;
}

.classimg img {
	width: auto;
	height: 50px;
}

.mw-body .mw-parser-output table a>img,
.mw-body .mw-parser-output table .floatnone>img {
	height: auto !important;
	max-width: 100% !important;
}

.thumbinner {
    background: var(--base-2);
    border-color: var(--contrast-3);
}
.thumbinner .thumbimage, .thumbborder{
    border-color: var(--contrast-3);
}

div.magnify a {
    filter: var(--filter);
}

.darkmode-icon {
	background-image: var(--toggle-style-icon);
	background-repeat: no-repeat;
	background-size: 20px 20px;
}

/* --- ALIGNMENT --- */

.left {
	text-align: left;
}

.leftImage img {
	display: block;
	float: left;
}

.center {
	text-align: center;
}

.centerImage img {
	display: block;
	margin: 0 auto;
}

.right {
	text-align: right;
}

.rightImage img {
	display: block;
	float: right;
}

/* ------ TABLES ------ */

table:not([class]) {
	background: transparent;
}

th {
	text-align: unset;
}

.wikitable, 
.mw_metadata,
.mw-datatable, 
.dataTable,
.cargoTable,
.statstable { 
    background: var(--base-2);
    border: 1px solid var(--accent-1);
    border-radius: 3px; 
    border-collapse: separate; 
    border-spacing: 0;
    box-shadow: var(--box-shadow);
    color: var(--contrast-1);
    padding: 0; 
    position: relative;
}

.wikitable tr,
.mw_metadata tr, 
.mw-datatable tr,
.dataTable tr,
.cargoTable tr,
.statstable tr {
    background: transparent;
}

.wikitable tr th,
.mw_metadata tr th, 
.mw-datatable tr th,
.dataTable tr th,
.cargoTable tr th,
.statstable tr th{
	background: var(--accent-1);
    border: 0 solid var(--accent-0);
    border-width: 0 0 1px;
    white-space: nowrap;
}

.wikitable > tr > th, 
.wikitable > * > tr > th {
	text-align: left;
}

.wikitable tr th a.mw-collapsible-text,
.mw_metadata tr th a.mw-collapsible-text, 
.mw-datatable tr th a.mw-collapsible-text,
.dataTable tr th a.mw-collapsible-text,
.cargoTable tr th a.mw-collapsible-text {
    filter: var(--filter-link-th);
}

.wikitable tr th a:not(:has(img)) {
    filter: var(--filter-link-th);
}

.wikitable tr td,
.mw_metadata tr td, 
.mw-datatable tr td, 
.dataTable tr td,
.cargoTable tr td,
.statstable tr td {
    background: transparent;
    border: 0 solid var(--accent-3);
    border-width: 0 0 1px;
}

table > *:last-child > tr:last-child th,
table > *:last-child > tr:last-child td {
    border-bottom: 0;
}

.mw_metadata tr:nth-child(odd), 
.mw-datatable tr:nth-child(odd),
.dataTable tr:nth-child(odd),
.cargoTable tr:nth-child(odd),
.alterrows tr:nth-child(odd),
body table.cargoTable.noMerge tr:nth-child(odd),
body table.dataTable.stripe tbody tr.odd, 
body table.dataTable.display tbody tr.odd {
	background: transparent;
}

.mw_metadata tr:nth-child(even), 
.mw-datatable tr:nth-child(even),
.dataTable tr:nth-child(even),
.cargoTable tr:nth-child(even),
.alterrows tr:nth-child(even),
body table.cargoTable.noMerge tr:nth-child(even),
body table.dataTable.stripe tbody tr.even, 
body table.dataTable.display tbody tr.even,
.statstable > * > tr.tux-statstable-even {
	background: var(--highlight-contrast);
}

.wikitable tr:hover > td,
.mw_metadata tr:hover > td, 
.mw-datatable tr:hover > td,
.dataTable tr:hover > td,
.cargoTable tr:hover > td,
.statstable tr:hover { 
    background: var(--highlight-accent); 
}

.nohoverhighlight tr:hover td {
	background: transparent;
}

.wikitablecellborders tr td,
.wikitablecellborders tr th {
	border-right: 1px solid var(--accent-3)
}

.content-table caption,
caption.nowrap {
	white-space: nowrap;
}

/* --- COLLAPSIBLE TABLES --- */

.wikitable .mw-collapsible-toggle-default:before {
    padding-left: .1em;
}

.wikitable.mw-collapsed {
    border-collapse: collapse;
    border: 0;
    overflow: hidden;
}

/* --- RESPONSIVE TABLES --- */

.content-table-wrapper:not(.overflowed) .content-table-scrollbar {
	display: none;
}

.content-table-wrapper:not(.overflowed) .content-table-left,
.content-table-wrapper:not(.overflowed) .content-table-right {
	height: auto !important
}

.scroll-left.overflowed .content-table-left,
.scroll-right.overflowed .content-table-right{
    box-shadow: var(--box-shadow) 3px;
    border-color: var(--accent-2);
}

.content-table-wrapper.overflowed:has(.mw-collapsed) .content-table-left,
.content-table-wrapper.overflowed:has(.mw-collapsed) .content-table-right {
    display: none;
}

.content-table-wrapper.overflowed:has(.mw-collapsed) .content-table {
    overflow: hidden;
}

/* --- CARGO TABLES --- */

#content .cargoDynamicTable.dataTable thead th, 
#content .cargoDynamicTable.dataTable thead td {
    border-bottom: 1px solid var(--accent-0);
}

#content .cargoDynamicTable.dataTable.row-border tbody th, 
#content .cargoDynamicTable.dataTable.row-border tbody td, 
#content .cargoDynamicTable.dataTable.display tbody th, 
#content .cargoDynamicTable.dataTable.display tbody td {
    border-top: 0;
}

#content .cargoDynamicTable.dataTable tfoot th, 
#content .cargoDynamicTable.dataTable tfoot td {
    border: 0;
}

#content table.dataTable.display tbody tr.odd > .sorting_1, 
#content table.dataTable.order-column.stripe tbody tr.odd > .sorting_1,
#content table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
    background: var(--highlight-contrast);
}

#content table.dataTable.display tbody tr:hover > .sorting_1, 
#content table.dataTable.order-column.hover tbody tr:hover > .sorting_1 {
    background: var(--accent-3);
}

#content .dataTables_wrapper .dataTables_length, 
#content .dataTables_wrapper .dataTables_filter, 
#content .dataTables_wrapper .dataTables_info, 
#content .dataTables_wrapper .dataTables_processing, 
#content .dataTables_wrapper .dataTables_paginate {
    color: var(--contrast-1); 
    margin-bottom: .3em;
}

#content .dataTables_wrapper .dataTables_paginate .paginate_button {
    color: var(--link) !important; 
    border: none;
}
#content .dataTables_wrapper .dataTables_paginate .paginate_button:hover, 
#content .dataTables_wrapper .dataTables_paginate .paginate_button:active {
    color: var(--link-hover) !important;
    background: none;
}
#content .dataTables_wrapper .dataTables_paginate .paginate_button.current, 
#content .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{
    color: var(--contrast-1) !important;
    background: none;
    font-weight: bold;
}

#content .dataTables_wrapper .dataTables_paginate .paginate_button.disabled, 
#content .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, 
#content .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    color: var(--contrast-2) !important;
}

/* --- SORTABLE TABLES --- */

.jquery-tablesorter th.headerSort,
table.dataTable thead .sorting,
.jquery-tablesorter th.headerSortUp,
table.dataTable thead .sorting_asc,
.jquery-tablesorter th.headerSortDown,
table.dataTable thead .sorting_desc {
	background-image: none;
    position: relative;
    padding-right: 0.5em;
    padding-left: 21px;
}
.jquery-tablesorter th.headerSort:after,
table.dataTable thead .sorting:after,
.jquery-tablesorter th.headerSortUp:after,
table.dataTable thead .sorting_asc:after,
.jquery-tablesorter th.headerSortDown:after,
table.dataTable thead .sorting_desc:after {
    display:inline-block;
    content: "";
    width:21px;
    height:9px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    filter: var(--filter);
}
table.dataTable thead .sorting:after,
.jquery-tablesorter th.headerSort:after {
	background: url(/wiki/resources/src/jquery.tablesorter.styles/images/sort_both.svg) no-repeat center center;
}
.jquery-tablesorter th.headerSortUp:after,
table.dataTable thead .sorting_asc:after {
	background: url(/wiki/resources/src/jquery.tablesorter.styles/images/sort_up.svg) no-repeat center center;
}
.jquery-tablesorter th.headerSortDown:after,
table.dataTable thead .sorting_desc:after {
	background: url(/wiki/resources/src/jquery.tablesorter.styles/images/sort_down.svg) no-repeat center center;
}

/* --- STATS TABLE --- */

.statstable tr th {
    font-weight: bold;
    letter-spacing: unset;
}
.statstable > * > tr.tux-statstable-even > td { 
    background: unset;
}
.statstable > * > tr:hover > td {
    filter: none;
}
.statstable tr td[style^="background"] {
    background: var(--highlight-progressive) !important;
}
.statstable > * > tr > td[data-sort-value='0.00000'][style^="background"] {
    background: transparent !important;
}

/* --- STICKY TABLE HEADER --- */

.stickyHeader.jquery-tablesorter th.headerSort,
.stickyHeader th {
	position: sticky;
	top: 0;
	z-index:100;
}

.content-table-wrapper.overflowed .stickyHeader.jquery-tablesorter th.headerSort, 
.content-table-wrapper.overflowed .stickyHeader th {
    position: relative;
    height: unset !important;
}

/* --- CENTER COLUMN TABLE --- */

.CenterColumn1Image tr td:nth-child(1) img {
	display: block;
	margin: 0 auto;
	max-height: 50px;
	width: auto;
}

.CenterColumn2Image tr td:nth-child(1) img {
	display: block;
	margin: 0 auto;
}

.CenterColumn1Image tr td.drop-separator:nth-child(1) img {
	display: inline-block;
}

/* --- WORLD TABLES --- */

.worldtable{width:70%;}
.worldtable th:nth-child(1){width:10%;}
.worldtable th:nth-child(2){width:35%;}
.worldtable th:nth-child(3){width:55%;}
.worldtable td:first-of-type{ text-align:center;}

/* --- FIRSTIMAGE TABLES (BOSS, NPC, BUILDING) --- */

.FirstImage {
	width: 100%;
}

.FirstImage td:first-of-type {
	width: 12%;
	min-width: 100px;
}

.FirstImage td:first-of-type img {
	max-height: 100px;
	height: auto;
	width: auto;
	margin: 0 auto;
	display: block;
}

/* --- TOC --- */

.toc {
	padding: 0;
	border-radius: 3px;
	background: var(--base-2);
	border: 1px solid var(--contrast-3);
	box-shadow: var(--box-shadow);
	margin: 0 0 1em;
}

.toc .toctitle {
	padding: .5em 1em;
}

.toc > ul,
.toc .tocUl {
	padding: .3em 1em;
	margin: 0;
	border-top: 1px solid var(--contrast-3);
}

.toc .toctitle {
	text-align: left;
	border: none;
}

.toggleNode {
	position: relative;
	float: right;
	left: unset;
	color: var(--contrast-2);
}

.tocnumber {
	display: none;
}

.toc .toctogglelabel, 
.toc .toggleSymbol {
	color:var(--link);
}

.toctext {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --------- MAINPAGE --------- */

.mainpage-body {
	display: flex;
}

.mainpage-left {
	max-width: calc(100% - 270px);
}

.mainpage-right .portable-infobox {
	float: none;
}

.mainpage-container {
	border: 1px solid var(--accent-1);
	background: var(--base-2);
	margin: 0 0 1em;
	padding: .5em .8em 0;
	box-shadow: var(--box-shadow);
	border-radius: 3px;
}

.mainpage-container h3 {
	font-size: 1.35rem;
	margin: 0 0 .4em;
	padding: 0;
}

@media screen and (max-width: 850px) {
	.mainpage-body {
		flex-flow: column wrap;
	}
	.mainpage-left {
		max-width: 100%;
	}
}

/* --- MAINPAGE FEATURES + BESTIARY --- */

.tile-row {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	width: calc(100% + 1em);
	transition: all 0.2s ease;
}

.tile-halves {
	display: flex;
	flex: 1 1 auto;
	flex-flow: column;
	margin-right: 1em;
	overflow: hidden;
	margin-bottom: 1em;
	background: var(--accent-3);
	border-radius: 3px;
}

.tile-halves:hover {
	background: var(--accent-2);
}

.tile-halves a,
.tile-halves:hover a {
	color:var(--contrast-1);
}

.tile-halves h3 {
	font-size: 1em;
	font-weight: 700;
	font-family: inherit;
	margin: 0;
	padding: 0;
	width: 100%;
}

.tile-top,
.tile-top-best {
	height: 6.5em;
	position: relative;
	display: block;
}

.tile-top-best {
	height: 8rem;
}

.tile-image a,
.tile-image-best a {
	display: flex;
	overflow: hidden;
	height: 100%;
	width: 100%;
}

.tile-image-best a {
	align-items: flex-end;
}

.tile-image img {
	height: 100% !important;
	width: 100%;
	object-fit: cover;
}

.tile-image-best img {
	margin: 0 auto 5px;
	display: block;
}

.tile-image-best:has(img[src$="png"]) a {
    height: 100%;
}

.tile-image-best:has(img[src$="png"]) img {
    margin-bottom: 0;
    height: 100% !important;
    object-fit: cover;
}

.tile-halves img {
    transition: 0.2s ease-out;
}

.tile-halves:hover img {
    transform: scale(1.1);
}

.tile-bottom {
	width: 100%;
	padding: 0;
	background: var(--accent-2); 
	flex-grow: 1; 
	display: flex;
    align-content: flex-end;
    justify-content: center;
}

.tile-halves .tile-bottom a {
	display: block;
	text-align: center;
	text-decoration: none;
	padding: .35em 0;
}

.tile-halves:hover .tile-bottom {
	background: var(--accent-1);
}

.tile-halves .tile-bottom a,
.tile-halves .tile-bottom a:hover {
	color: var(--contrast-1);
}

@media screen and (max-width: 850px) {
	.tile-row {
		grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
		width: calc(100% + 0.3em);
	}
	.tile-halves {
		margin-right: 0.5em;
		margin-bottom: 0.5em;
	}
}


/* --- MAIN PAGE ITEMS & SKILLS --- */

.mainpage-container .tabber__tabs {
	flex: 0 1 100%;
}

.mainpage-container .tabber__tab {
	font-family: 'Idleon';
	font-weight: normal;
	font-size: 16px;
}

.tabber__panel .mainpage-items {
	margin-top: 1em
}

.mainpage-items,
.mainpage-skills {
	padding-bottom: .3em;
}

.mainpage-items ul,
.mainpage-skills ul {
	flex-flow: row wrap;
	display: flex;
	margin: 0;
}

.mainpage-items li,
.mainpage-skills li {
	display: flex;
	flex: 1 0 32.3%;
	margin: 0 .5% .5em;
	flex-grow: unset;
}

.mainpage-items.col4 li {
	flex: 1 0 24%;
	flex-grow: unset;
}

.mainpage-items li img {
	width: 36px;
}

.mainpage-items li *, 
.mainpage-skills li * {
    transition: 0.2s ease;
}

.mainpage-items li:hover img,
.mainpage-skills li:hover img {
	transform: scale(1.2);
}

.mainpage-items li a:first-child,
.mainpage-skills li a:first-child {
	border-radius: 3px;
	width: 48px;
	height: 48px;
	min-width: 48px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--accent-2);
}

.mainpage-items li a:last-child,
.mainpage-skills li a:last-child {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	color: var(--contrast-1);
	font-size: 1.1em;
	font-weight: 700;
	padding-left: 0.5em;
	text-decoration: none;
}

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

.mainpage-items li:hover a:last-child,
.mainpage-skills li:hover a:last-child {
	color: var(--contrast-1);
	border-radius: 0 3px 3px 0;
	background-color: var(--accent-3);
}

@media screen and (max-width: 850px) {
	.mainpage-skills li,
	.mainpage-items li,
	.mainpage-items.col4 li {
		flex: 1 0 49%;
		flex-grow: unset;
	}
	.mainpage-skills li a:first-child,
	.mainpage-items li a:first-child {
		width: 40px;
		height: 40px;
	}
	.mainpage-skills li a:last-child,
	.mainpage-items li a:last-child {
		font-size: 1em;
	}
}

/* --- MAIN PAGE SKILL COLORS --- */

.mainpage-skills .skill-Mining {
    --accent-2: #d2b244;
    --accent-3: rgb(210 178 68 / 50%);
}

.mainpage-skills .skill-Choppin {
    --accent-2: #748d36;
    --accent-3: rgb(116 141 54 / 50%);
}

.mainpage-skills .skill-Smithing {
    --accent-2: #878787;
    --accent-3: rgb(135 135 135 / 50%);
}

.mainpage-skills .skill-Fishing {
    --accent-2: #3e8e9a;
    --accent-3: rgb(62 142 154 / 50%);
}

.mainpage-skills .skill-Catching {
    --accent-2: #b9863b;
    --accent-3: rgb(185 134 59 / 50%);
}

.mainpage-skills .skill-Alchemy {
    --accent-2: #6e88e8;
    --accent-3: rgb(110 136 232 / 50%);
}

.mainpage-skills .skill-Worship {
    --accent-2: #b769d6;
    --accent-3: rgb(183 105 214 / 50%);
}

.mainpage-skills .skill-Construction {
    --accent-2: #e27c5d;
    --accent-3: rgb(226 124 93 / 50%);
}

.mainpage-skills .skill-Trapping {
    --accent-2: #859ab3;
    --accent-3: rgb(133 154 179 / 50%);
}

.mainpage-skills .skill-Breeding {
    --accent-2: #c99f4b;
    --accent-3: rgb(201 159 75 / 50%);
}

.mainpage-skills .skill-Cooking {
    --accent-2: #b55305;
    --accent-3: rgb(181 83 5 / 50%);
}

.mainpage-skills .skill-Laboratory {
    --accent-2: #67c5df;
    --accent-3: rgb(103 197 223 / 50%);
}

.mainpage-skills .skill-Sailing {
    --accent-2: #37b3e3;
    --accent-3: rgb(55 179 227 / 50%);
}

.mainpage-skills .skill-Divinity {
    --accent-2: #d9d96a;
    --accent-3: rgb(217 217 106 / 50%);
}

.mainpage-skills .skill-Gaming {
    --accent-2: #FF6B66;
    --accent-3: rgb(255 107 102 / 50%);
}

.mainpage-skills .skill-Farming {
    --accent-2: #a13e00;
    --accent-3: rgb(161 62 0 / 50%);
}

.mainpage-skills .skill-Sneaking {
    --accent-2: #adfeff;
    --accent-3: rgb(173 254 255 / 50%);
}

.mainpage-skills .skill-Summoning {
    --accent-2: #f5e0ff;
    --accent-3: rgb(245 224 255 / 50%);
}

/* --- MAINPAGE EMBEDS --- */

.youtubeplayer {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
	margin-bottom: 1em
}

.youtubeplayer iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%!important;
	height: 100%!important;
}

.widget-twitter {
	display: block;
	margin: 0 0 1em 1em;
}
#twitter-widget-0 {
    border-radius: 14px;
    max-width: 270px;
}

@media screen and (max-width: 550px) {
	.widget-twitter {
		margin: 0 0 1em;
	}
	#twitter-widget-0 {
    	max-width: 100%;
	}
}

/* --- WORLD HEADERS --- */

.worldheader {
	display: block;
	margin-bottom: 1em;
	width: 100%;
}

.worldheader>.mw-collapsible-toggle {
	display: block;
	float: none;
	box-shadow: var(--box-shadow);
	margin-bottom: 1em;
}

.mw-body .headerimg {
	height: 60px !important;
	width: 100%;
	object-fit: cover;
	object-position: 0;
	border-radius: 3px;
}

.mainpage-container .headerimg {
	margin-top: .3em
}

@media screen and (max-width: 850px) {
	.mw-body .headerimg {
		height: 50px !important;
	}
}


/* --- WORLD BANNERS (couldn't make .banner-image work, using style instead) (where?) --- */

.banner-image {
	position: relative;
	border-radius: 0.4em;
	max-width: 100%;
	overflow: hidden;
	float: left;
	margin: 0 0 3px;
}

.banner-text {
	position: absolute;
	bottom: 10px;
	left: 20px;
	color: white;
	text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
	font-size: 35px;
	font-weight: bold;
	padding-left: 2px;
	padding-right: 2px;
}

.header-text {
	position: absolute;
	bottom: 2px;
	left: 20px;
	color: white;
	text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
	font-size: 18px;
	font-weight: bold;
	padding-left: 2px;
	padding-right: 2px;
}

/* --- GENERIC FLEX LAYOUT --- */

.GenericFlex {
	flex-wrap: wrap;
	display: flex;
	justify-content: space-between;
}

.GenericChild {
	display: block;
	flex: 0 1 48%;
	margin: 1em 0;
}

.ThreeCol .GenericChild {
	flex: 0 1 32%;
}

@media screen and (max-width: 850px) {
	.ThreeCol .GenericChild {
		flex: 0 1 48%;
	}
}

@media screen and (max-width: 650px) {
	.GenericChild,
	.ThreeCol .GenericChild {
		flex: 1 1 100%;
	}
}

.GenericChild h2,
.GenericChild h3 {
	margin-top: 0;
}

.GenericChild h3:after {
	content: '';
	display: block;
	border-bottom: solid 2px var(--accent-3);
	overflow: hidden;
}

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

/* --- ALCHEMY TABLES --- */

.bubble-table,
.bubble,
.cauldInput{
    border-color: var(--accent-0);
}

.dashdivider {
    border-bottom: dashed var(--accent-0);
    text-align: left;
}

.bubble-table tr:hover td,
.bubble tr:hover td,
.cauldInput tr:hover td {
    background: transparent;
}

/* ALCH QUICK LOOK  */

.bubble-table tr th:nth-of-type(1) {
	width: 5%;
}

.bubble-table tr th:nth-of-type(2) {
	width: 15%;
}

.bubble-table tr th:nth-of-type(3) {
	width: 20%;
}

.bubble-table tr th:nth-of-type(4) {
	width: 55%;
}

.bubble-table tr:nth-child(2n+3) {
	background: var(--accent-3);
}

.bubble-table tr.big {
	background: var(--accent-2);
}

.bubble-table .name {
	text-align: left;
    font-weight: bold;
}
.bubble-table .icon {
	padding: 0 0 0 3px;
    text-align: center;
}

.bubble-table .icon img {
	width: auto;
}

.bubble-table img {
	width: 24px;
}

.bubble-table a span {
    filter: var(--filter-link-th);
}

/* ALCH BUBBLES */

.bubble {
    text-align: center;
    margin: 0;
	width: 100%;
    max-width: 450px;
}

.bubble tr th {
    font-weight: normal;
    text-align: center;
    white-space: normal;
}

.bubble tr td {
    border: 0;
}

.bubble tr:last-of-type td {
    width: 50%;
}

.bubbleDiv h3 {
	margin: 0;
	padding: 0;
}

.bubbleDiv h3:after {
	display: none;
}

.bubbleDiv p {
	margin: 0
}

/* ALCH TABLE COLORS */

.orange-cauldron {
    --accent-0: rgb(177 88 0 / 60%);
    --accent-1: rgb(255 148 32 / 50%);
    --accent-2: rgb(255 148 32 / 35%);
    --accent-3: rgb(255 148 32 / 15%);
}

.green-cauldron {
    --accent-0: rgb(49 147 52 / 60%);
    --accent-1: rgb(71 219 90 / 50%);
    --accent-2: rgb(71 219 90 / 35%);
    --accent-3: rgb(71 219 90 / 15%);
}

.purple-cauldron {
    --accent-0: rgb(166 97 189 / 60%);
    --accent-1: rgb(208 89 240 / 50%);
    --accent-2: rgb(208 89 240 / 35%);
    --accent-3: rgb(208 89 240 / 15%);
}

.yellow-cauldron {
    --accent-0: rgb(190 131 0 / 60%);
    --accent-1: rgb(250 208 10 / 50%);
    --accent-2: rgb(250 208 10 / 35%);
    --accent-3: rgb(250 208 10 / 15%);
}

/* CAULDRON CALCS */

.cauldInput {
	width: 100%;
    max-width: 450px;
}
.cauldInput tr th {
	text-align: center;
}
.cauldInput tr td {
	border: 0;
}
.cauldInput td:first-child {
	text-align: right;
}
.cauldInput tr td input {
    width: 100%;
    box-sizing: border-box;
}

/* --- ACHIEVEMENTS --- */

.secret-achievement,
.steam-exclusive {
	display:block;
	font-size:.8em;
	padding:0 .2em;
	text-transform:uppercase;
	font-weight: 700;
	width:fit-content;
	text-align:center;
	margin-bottom: .3em;
}

.steam-exclusive {
	background: rgb(35 179 172 / 35%);
	border: 1px solid #6aafac;
}

.secret-achievement {
    background: rgb(247 89 126 / 35%);
    border: 1px solid #e56885;
}

/* --- INFOBOX --- */

.Infobox {
	width: 30%;
	min-width: 300px;
	float: right;
	clear: right;
	background: var(--base-2);
	border: 1px solid var(--accent-2);
	border-radius: 3px;
	margin: 0 0 1em 1em;
	padding: 2px;
	box-shadow: var(--box-shadow);
	color: var(--contrast-1);
}

.Infobox .Header,
.Infobox .SubHeader {
	background: var(--accent-1);
	text-align: center;
	font-weight: 700;
}


/* Fix for Firefox, <table> doesn't fill the space properly */

.Infobox table {
	width: 100%;
}


/* Affects the very first header of the Infobox */

.Infobox .Header {
	padding: 0.5em;
	border-radius: 3px 3px 0 0;
	font: normal 1.35rem / 1.4 'Idleon';
}

/* Affects all the headers/dividers below the image */

.Infobox .SubHeader {
	margin-top: 2px;
	padding: .2em
}


/* Centers the main image */

.Infobox .HeaderImage {
	text-align: center;
	padding: 5px 0;
}


/* Constraining the max height of images in infoboxes */

.Infobox .HeaderImage img {
	max-height: 300px;
	width: auto;
}


/* --- INFOBOX (TABLE) --- */

table.Infobox {
	padding: 0;
}


/* Affects the left column (purple) */

.Infobox th {
	background: var(--accent-2);
	text-align: left;
	margin-top: 2px;
	padding: .2em;
}


/* Makes width of the two rows more consistent, but allows for flexibility // % gets overriden by colspan, em works // */

.Infobox th,
.Infobox td {
	max-width: 8em;
	min-width: 5em;
}


/* Rounds the last table row to fit with the rounded edge of the Infobox */

.LastTable {
	border-radius: 0 0 0 3px;
}


/* --- INFOBOX (DEFINITION LIST) --- */

.Infobox dl,
.Infobox .dl {
	display: grid;
	grid-template-columns: 40% 60%;
	gap: 2px;
	margin: 0;
}

.Infobox dl:not(:empty){
	margin-top: 2px;
}

.Infobox dt,
.Infobox dd,
.Infobox .dt,
.Infobox .dd {
	margin: 0;
	padding: .2em;
	font-family: inherit;
	display: flex;
	align-items: center;
}

.Infobox dt,
.Infobox .dt {
	line-height: 1.5;
	background: var(--accent-2);
	font-weight: 700
}

.Infobox>:last-child {
	border-radius: 0 0 3px 3px;
	overflow: hidden
}

/* --- PORTABLE INFOBOX --- */

.portable-infobox {
	--pi-background: var(--base-2);
    --pi-secondary-background: var(--accent-1);
    --pi-border-color: var(--accent-3);
	background: var(--base-2);
	border: 1px solid var(--accent-1);
	border-radius: 3px;
	box-shadow: var(--box-shadow);
	font-size: .7rem;
}

.skin-timeless #mw-content-text .portable-infobox {
    font-size: .7rem;
}

.portable-infobox * {
	box-sizing: border-box;
}

@media screen and (max-width: 720px) {
.portable-infobox {
    margin-bottom: var(--pi-margin);
    }
}

.mw-body .mw-parser-output .portable-infobox h2:after,
.mw-body .mw-parser-output .portable-infobox h3:after {
	display: none;
}

.portable-infobox .pi-title,
.portable-infobox .pi-header {
	background: var(--accent-1);
	border-bottom: 1px solid var(--accent-0);
	text-align: center;
}

.skin-timeless #mw-content-text .pi-title, 
.skin-timeless #mw-content-text .pi-header {
    border-bottom: 1px solid var(--accent-0);
}

.portable-infobox .pi-title,
.skin-timeless #mw-content-text .pi-title {
	font: normal 1.35rem / 1.4 'Idleon';
	padding: 10px;
}

.portable-infobox .pi-header,
.skin-timeless #mw-content-text .pi-header {
    font-size: 1.0em;
}

.portable-infobox .pi-data-label {
    font-family: inherit;
    font-weight: bold;
}

.portable-infobox .pi-section-navigation,
.portable-infobox .pi-section-navigation,
.portable-infobox .pi-media-collection-tabs {
	border-bottom: 1px solid var(--accent-2);
	font-size: .85em;
    padding: 0;
}

.pi-section-navigation .pi-section-tab,
.pi-media-collection .pi-tab-link {
	background: none;
	border: none;
	color: var(--link);
	font-weight: bold;
	flex: 1;
    margin-bottom: -1px;
}

.pi-section-navigation .pi-section-tab:hover,
.pi-media-collection .pi-tab-link:hover {
	color: var(--link-hover);
	box-shadow: inset 0 -2px 0 0 currentColor;
}

.pi-section-navigation .pi-section-tab.pi-section-active,
.pi-section-navigation .pi-section-tab.current,
.pi-media-collection .pi-tab-link.current {
	background: none;
	box-shadow: inset 0 -2px 0 0 currentColor;
}

.pi-media-collection-tab-content figure {
    vertical-align: text-bottom;
    display: flex;
    justify-content: center;
    align-items: end;
}

.portable-infobox .pi-media {
	padding: 0.5em 0;
	border-bottom: 1px solid var(--pi-border-color);
}

/* INFOBOX GRIDS */

.DetailboxGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
    row-gap: .5em;
    column-gap: .5em;
}

.DetailboxGrid .portable-infobox {
	float: none;
	margin: 0;
	width: auto;
	min-width: unset;
}

.DetailboxGrid .portable-infobox, 
.skin-timeless #mw-content-text .DetailboxGrid .portable-infobox {
    font-size: .65rem;
}

.DetailboxGrid .portable-infobox .pi-title,
.DetailboxGrid .portable-infobox .pi-header,
.skin-timeless #mw-content-text .DetailboxGrid .pi-title, 
.skin-timeless #mw-content-text .DetailboxGrid .pi-header {
	background: var(--accent-2); 
    border-bottom-color: var(--accent-2);
}

.DetailboxGrid .portable-infobox .pi-title,
.skin-timeless #mw-content-text .DetailboxGrid .pi-title {
	    font-size: 1rem;
}

/* TABLES (CARDINFO) INSIDE INFOBOX */

.portable-infobox .pi-data:has(table) {
    padding-left: 0;
    padding-right: 0;
}
.pi-data-value table {
    margin: -5px auto !important;
}
.pi-data-value th:not(:first-child),
.pi-data-value td:not(:first-child){
    border-left: 1px solid var(--pi-border-color);
}
.pi-data-value th { 
    padding: var(--pi-item-spacing);
    padding-bottom: 0;
}
.pi-data-value td { 
    padding: var(--pi-item-spacing);
    padding-top: 0;
}

/* GRIDS INSIDE INFOBOX */

.portable-infobox .grid-4, 
.portable-infobox .grid-5 {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 5px 2px;
    margin: auto;
    width: 100%;
    text-align: center;
}
.portable-infobox .grid-5 {
    grid-template-columns: repeat(5,1fr);
}

/* BOSS INFOBOX */

.pi-data[data-source="NormalDamages"], 
.pi-data[data-source="ChaoticDamages"], 
.pi-data[data-source="NightmareDamages"] {padding:0;}
.pi-data[data-source="NormalDamages"] .pi-data:last-of-type, 
.pi-data[data-source="ChaoticDamages"] .pi-data:last-of-type, 
.pi-data[data-source="NightmareDamages"] .pi-data:last-of-type {border:0;}

/* CLASS, NPC, MAINPAGE, SKILL INFOBOX */

.portable-infobox.pi-theme-classinfo .pi-data-label,
.portable-infobox.pi-theme-npcinfo .pi-data-label {
    flex-basis: 120px;
}

.portable-infobox.pi-theme-gameinfo .pi-media, 
.portable-infobox.pi-theme-skillinfo .pi-media {
	padding: 0; 
	border-color: var(--accent-0);
}

.portable-infobox.pi-theme-gameinfo .pi-media img,
.portable-infobox.pi-theme-skillinfo .pi-media img {
    width: 100%;
    max-width: 100%;
}

.portable-infobox.pi-theme-skillinfo ul {
	margin-top: 0;
}

/* DUNGEON INFOBOXES */

.portable-infobox.pi-theme-dungeon .pi-data:first-of-type {
    text-align: center;
    border: 0;
}

.portable-infobox.pi-theme-RNG-Item {
    border-width: 2px;
}

.portable-infobox.pi-theme-Common {
    --accent-1: #878898;
    --accent-2: rgb(135 136 152 / 50%);
}

.portable-infobox.pi-theme-Uncommon {
    --accent-1: #1a9934;
    --accent-2: rgb(26 153 52 / 50%);
}

.portable-infobox.pi-theme-Rare {
    --accent-1: #3c65cb;
    --accent-2: rgb(60 101 203 / 50%);
}

.portable-infobox.pi-theme-Epic {
    --accent-1: #5a3cc9;
    --accent-2: rgb(90 60 201 / 50%);
}

.portable-infobox.pi-theme-Legendary {
    --accent-1: #eb7b07;
    --accent-2: rgb(235 123 7 / 50%);
}

.portable-infobox.pi-theme-dungeonenemy .pi-media img {
    height: 50px !important;
    width: auto;
}

/* INFOBOX EXTRAS */

.CardStar {
	max-height: 13px;
	width: auto;
}

.FishDepth {
    max-height: 11px;
    width: auto;
}

.SlabNum {
    position:relative; 
    float:left;
}

.SlabNum span {
    position: absolute;
    font-size: 16px;
    color: #fff;
    min-width: 28px;
    text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
    font-weight: 400;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.Infobox .str, 
.portable-infobox .str {
	color:#ef7600;
}
.Infobox .agi, 
.portable-infobox .agi { 
	color:#19b131;
}
.Infobox .wis, 
.portable-infobox .wis {
	color:#cb50ef;
}
.Infobox .luk, 
.portable-infobox .luk {
	color:#d3a20f;
}

/* --- DETAILBOX INFOBOX --- */

.Infobox.Detailbox {
	float: none;
	margin: 0 0 1em;
	table-layout: fixed;
}

.DetailboxGrid .Infobox.Detailbox {
   min-width: auto;
   width: 100%;
   margin:0;
}

.Infobox.Detailbox .Header {
	font-family: inherit;
	font-size: 1em;
	padding: .2em;
	background: var(--accent-2);
	font-weight: bold;
}

.Infobox.Detailbox .SellPrice {
	text-align: center
}

.Infobox.Detailbox .SubHeader {
	font-size: .9em;
	background: var(--accent-2);
	font-weight: bold;
}

.Infobox.Detailbox dl {
	grid-template-columns: repeat(4, 1fr);
	gap: 2px;
}

.Infobox.Detailbox dt,
.Infobox.Detailbox dd {
	margin: 0;
	font-size: .9em;
	border-bottom: 0; 
	padding: .1em .2em;
}

.Infobox.Detailbox dt { 
	background:var(--accent-3);
}

.Infobox.Detailbox .start {
	grid-column-start: 1;
}

.Infobox.Detailbox .wide {
	grid-column: span 3;
}

.Infobox.Detailbox .clearfix,
.Infobox.Detailbox hr {
	display:none;
}

/* --- DETAILBOX INFOBOX (TOOLTIP) --- */

.tooltip .Infobox.Detailbox,
.tooltipster-content .Infobox.Detailbox {
	display: block;
	float: none;
	clear: both;
	margin: 0;
	font-size: 1rem;
	width: auto;
	min-width: 200px;
	max-width: 300px;
	color: var(--contrast-1);
	margin: -6px -10px;
	border-color: #808080;
	font-weight: normal;
}

.tooltip .Infobox.Detailbox .Header,
.tooltip .Infobox.Detailbox .SellPrice,
.tooltip .Infobox.Detailbox .HeaderImage,
.tooltip .Infobox.Detailbox .SubHeader,
.tooltipster-content .Infobox.Detailbox .Header,
.tooltipster-content .Infobox.Detailbox .SellPrice,
.tooltipster-content .Infobox.Detailbox .HeaderImage,
.tooltipster-content .Infobox.Detailbox .SubHeader{
	display: block;
}

.tooltip .Infobox.Detailbox .HeaderImage,
.tooltipster-content .Infobox.Detailbox .HeaderImage {
	padding: 2px 0;
}

.tooltip .Infobox.Detailbox .HeaderImage img,
.tooltipster-content .Infobox.Detailbox .HeaderImage img {
	max-width: 36px;
}

/* --- GENERAL TOOLTIP --- */

.simple-tooltip-inline{
    border-color: var(--contrast-2);
}

.tooltipster-default {
	background:var(--contrast-1); 
	color:var(--base-1);
}

.tooltipster-default .tooltipster-content {
	font-family:inherit; 
	font-weight:bold;
}

.tooltipster-content p {
	margin: 0;
}
.tooltipster-base.tooltipster-default.tooltipster-fade.tooltipster-fade-show {
	box-shadow: var(--box-shadow);
}

/* --- NAVBOX --- */

.Navbox {
	width: 100%;
	background: var(--base-2);
	border: 1px solid var(--accent-2);
	border-radius: 3px;
	margin: 0 0 1em;
	padding: 2px;
	box-shadow: var(--box-shadow);
}

.Navbox th {
	background: var(--accent-1);
	text-align: center;
	font-weight: 700;
}

/* ----- FORGE SLOT ----- */

.forgeslot {
	width: 100%;
	margin-bottom: 1em;
	text-align: center;
	max-width: 450px;
}

.forgeslot th:first-child,
.forgeslot td:first-child {
	text-align: left;
}

.forgeslot tr:last-child td {
	text-align: right;
}

.forgeslot .anviltab img {
	float: left;
}

/* ----- BONUS CALCS (GOLD FOOD, STATUES, GUILD BONUSES)  ----- */

.bonusDiv {
    width: 100%;
    max-width: 450px;
    background: var(--base-2);
    border: 1px solid var(--accent-2);
    border-radius: 3px;
    margin: 0 0 1em;
    box-shadow: var(--box-shadow);
    text-align: center;
    overflow: hidden;
}

.bonusDiv .bonusHead {
    background: var(--accent-1);
    font-weight: 700;
    padding: 0.4em 0.5em;
    margin-bottom: .5em;
}

.bonusDiv p {
	max-width: 90%; 
	margin: 1em auto;
}

.bonusDiv .valInput {
    vertical-align: middle;
}

.bonusDiv .result, .bonusDiv .result1, .bonusDiv .result2, .bonusDiv .resultB, .bonusDiv .resultM {
    color: #358510; 
    font-weight: bold;
}

.GenericChild .bonusDiv {
    margin: 0;
}

/* ----- PATCH NOTES ----- */

.patchnote {
	width: 50%;
	margin: 0 0 1em;
}

.patchnote tr th { 
	text-align:center; 
}

.patchnote tr td { 
	border: 0;
}

.patchnote tr:hover td {
	background: transparent;
}

.GenericChild .patchnote {
	width: 100%;
}

.patchnote .mw-prefixindex-body {
	columns: 8em 3;
}

.patchnote .mw-prefixindex-body ul {
	margin-top: 0;
}

/* --- SITE NOTICE --- */

#siteNotice {
	margin: 0 auto 1em;
}

#siteNotice .mw-dismissable-notice {
	background-image: linear-gradient(#ffcffa 60%, #ee75ff 70%);
	border: 1px solid #000;
	border-radius: 3px;
	color: #fff;
	font: normal 1rem / 1.2 'Idleon';
	margin: 0;
	padding: 3px;
	text-align: center;
	text-shadow: -.065em 0 #000, 0 .065em #000, .065em 0 #000, 0 -.065em #000;
}

#siteNotice .mw-dismissable-notice a {
	color: #94f9ff !important;
	cursor: pointer;
}

#siteNotice .mw-dismissable-notice-body {
	background-image: linear-gradient(#a94bc1 30%, #7e38aa 80%);
	border: 1px solid #000;
	border-radius: 2px;
	margin: 0;
}

#siteNotice .mw-dismissable-notice-close,
#siteNotice .mw-dismissable-notice-body p {
	margin: 0.5em;
}

/* --- ANNOUNCEMENT BANNER --- */

.banner {
	border: 1px solid #000;
	border-spacing: 3px;
	background-image: linear-gradient(#d5d5d5 60%, #979797 70%);
	width: 60%;
	text-align: center;
	border-radius: 3px;
	color: #fff;
	font-size: 20px;
	text-shadow: -.065em 0 #000, 0 .065em #000, .065em 0 #000, 0 -.065em #000;
	margin: 0 auto 1em !important;
	padding: 3px;
}

.banner .banner-inner {
	border: 1px solid #000;
	border-radius: 2px;
	background-image: linear-gradient(#828282 30%, #5c5c5c 80%);
	padding: 0 1em;
}

.banner a {
	color: #94f9ff !important;
}

.banner.blue {
	background-image: linear-gradient(#b0fdfe 60%, #2891d8 70%);
}

.banner.blue .banner-inner {
	background-image: linear-gradient(#369de2 30%, #0d578c 80%);
}

.banner.red {
	background-image: linear-gradient(#ffc0b8 60%, #fe7663 70%);
}

.banner.red .banner-inner {
	background-image: linear-gradient(#ff533c 30%, #d4240c 80%);
}

.banner.purple {
	background-image: linear-gradient(#ffcffa 60%, #ee75ff 70%);
}

.banner.purple .banner-inner {
	background-image: linear-gradient(#a94bc1 30%, #7e38aa 80%);
}

/* ----- SECRETS TOGGLE ----- */

.secrets {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid var(--contrast-3);
	padding: 1em;
	background-color: var(--base-2);
	margin-bottom: 1em;
	box-shadow: var(--box-shadow);
	border-radius: 3px;
	clear: both;
}

.secrets > h3 {
	margin: 0;
	padding: 0;
	line-height: 1.125;
}

.secrets > .mw-collapsible-content {
	margin-top: 1.5em;
	overflow: auto;
}

.secrets > .mw-collapsible-content > :first-child {
    margin-top: 0;
    padding-top: 0;
}

.secrets .mw-collapsible-toggle-default:before,
.secrets .mw-collapsible-toggle-default:after {
    color: var(--contrast-2);
}

/* ----- ENEMY NAV ----- */

.EnemyNav {
	display: flex;
	background: var(--base-2);
	border: 1px solid var(--accent-2);
	margin-bottom: 1em;
	overflow: auto;
	border-radius: 3px;
	padding: .8em;
	box-shadow: var(--box-shadow);
}

.EnemyNav div {
	display: flex;
	align-items: center;
	flex-basis: 33%;
}

.EnemyNav div a {
	line-height: 1;
	margin: 0 1px;
}

.EnemyNav .EnemyNavCenter {
	justify-content: center;
}

.EnemyNav .EnemyNavRight {
	justify-content: flex-end;
}

/* ----- TABBER NEUE ----- */

.tabber__tab:active,
.tabber__tab:hover,
.tabber__tab--active,
.tabber__tab--active:visited {
	box-shadow: inset 0 -2px 0 0 currentColor;
}

.tabber__section {
	scroll-behavior: unset !important
}

.tabber__panel {
	overscroll-behavior-y: auto !important;
}

.tabber__header {
	box-shadow: inset 0 -1px 0 0 var(--accent-2);
}

.tabber__header--prev-visible .tabber__header__prev:after, 
.tabber__header--next-visible .tabber__header__next:after {
	filter: var(--filter);
}

/* ----- DETAILED RECIPE TAB ----- */

.detrecipe {
	margin-top: 1em;
}

.detrecipe .tabber__header {
    box-shadow: none;
}

.detrecipe .wikitable {
    width: 100%;
    max-width: 450px;
    margin: 0;
}

/* --- STICKY NAV HEADER --- */

.sticky-card-nav {
    text-align: center;
    font-size: 1.4em;
    display: block;
    background: var(--base-1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.5em 1em;
    margin: 0;
}

@media screen and (min-width: 851px) {

	.sticky-card-nav {
		margin: 0 -1em;
        top: 2em;
	}

}

/* --- CSS TOOLTIPS --- */

.tooltip {
	display: inline;
	position: relative;
	text-decoration: none; 
	border-bottom: 1px dotted #AAA;
}

.tooltip>span {
	display: none;
}

.tooltip:hover>span {
    display: block;
    position: absolute;
    z-index: 999;
    background: #000;
    color: #fff;
    border-radius: 3px;
    padding: 5px;
    font-size: 12px;
    line-height: 1.2rem;
    min-width: 2em;
    text-align: center;
    top: 0;
    left: 50%;
    transform: translate(-50%, calc(-100% - 8px));
}

.tooltip:hover>span:before {
    display: block;
    content: "";
    border-left: 8px solid transparent !important;
    border-right: 8px solid transparent !important;
    border-top: 8px solid #000;
    bottom: -7px;
    width: 0;
    position: absolute;
    z-index: 999;
    left: calc(50% - 8px);
}

/* --- SIDEBAR --- */
.mw-portlet li[id^="n--"],
#mw-site-navigation .sidebar-chunk li[id^="n--"] {
    font-variant: small-caps; 
    padding-top:1em;
}
.mw-portlet li:first-child,
#mw-site-navigation .sidebar-chunk li:first-child {
    padding-top:.25em;
}

/* Questy Captcha text. To make it more clear. */
div.mw-htmlform-field-HTMLInfoField > div.mw-input {
    color:green;
    font-weight:bold;
    font-style:italic;
}

.starrank1 {
	color: var(--rankstar-1);
}
.starrank2 {
	color: var(--rankstar-2);
}
.starrank3 {
	color: var(--rankstar-3);
}
.starrank4 {
	color: var(--rankstar-4);
}
.starrank5 {
	color: var(--rankstar-5);
}

/* Highlight targeted element for Anchor highlights. */
*:not(.tabber__tab):target {
   background-color: #be3cd74d;
}

/* Citation Reference highlighting adjusted for darkmode toggling. */
.references li:target,
.reference:target {
	/* Overwrite the style rules defined by the cite extension. */
	background-color: var(--highlight-contrast) !important;
}

/* #### Main Page Tabber Images #### */

#tab-World_1-0 { background: transparent url("https://idleon.wiki/wiki/images/f/f7/Wb1.png") no-repeat scroll center center; color: transparent; }
#tab-World_2-0 { background: transparent url("https://idleon.wiki/wiki/images/c/c7/Wb2.png") no-repeat scroll center center; color: transparent; }
#tab-World_3-0 { background: transparent url("https://idleon.wiki/wiki/images/a/ae/Wb3.png") no-repeat scroll center center; color: transparent; }
#tab-World_4-0 { background: transparent url("https://idleon.wiki/wiki/images/5/55/Wb4.png") no-repeat scroll center center; color: transparent; }
#tab-World_5-0 { background: transparent url("https://idleon.wiki/wiki/images/3/33/Wb5.png") no-repeat scroll center center; color: transparent; }
#tab-World_6-0 { background: transparent url("https://idleon.wiki/wiki/images/6/6d/Wb6.png") no-repeat scroll center center; color: transparent; }
#tab-World_7-0 { background: transparent url("https://idleon.wiki/wiki/images/1/1a/Wb7.png") no-repeat scroll center center; color: transparent; }
#tab-World_8-0 { background: transparent url("https://idleon.wiki/wiki/images/3/3d/Wb8.png") no-repeat scroll center center; color: transparent; }

/*
================================================================================
Template:MessageBox
================================================================================
*/
.messagebox {
	width: 60%;
	margin: 0.5rem auto;
	border: 1px solid var(--accent-0);
	border-width: 1px 1px 1px 8px;
	border-radius: 3px;
	background-color: var(--base-2);
}

.messagebox .messagebox-image {
	padding: 0.25rem;
}

.messagebox .messagebox-title {
	font-size: 0.9rem;
}

.messagebox .messagebox-content {
	font-size: 0.85rem;
}

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

/*
================================================================================
Template:TemplateArgument
================================================================================
*/
.template-preview .argument {
	color: var(--contrast-2);
}