MediaWiki:Sitewide.css

From Path of Exile Wiki
Jump to navigation Jump to search

Note: After saving, you have to bypass your browser's cache to see the changes. The simplest method that will work for most users is to hold down the ⇧ Shift key and click the Reload toolbar button. For details and other methods, see Help:Clear your browser cache.

/*
 * This stylesheet is loaded on both desktop and mobile views.
 * 
 * Desktop-only styles should go in [[MediaWiki:Common.css]] or [[MediaWiki:Vector.css]] if theme related.
 * Mobile-only styles should go in [[MediaWiki:Mobile.css]].
 */

/*
 * Colors exported from Metadata/UI/UISettings.xml wherein 3-digit colors are in RGB format. 4-digit colors
 * are not in any known format and have therefore been approximated.
 */
:root {
    --poe-color-default: rgb(127,127,127);
    --poe-color-valuedefault: rgb(255,255,255);
    --poe-color-fire: rgb(150,0,0);
    --poe-color-cold: rgb(54,100,146);
    --poe-color-lightning: rgb(255,215,0);
    --poe-color-chaos: rgb(208,32,144);
    --poe-color-augmented: rgb(136,136,255);
    --poe-color-crafted: rgb(184,218,242);
    --poe-color-fractured: rgb(162,145,98);
    --poe-color-enchanted: rgb(184,218,242);
    --poe-color-hellscaped: rgb(255,110,37);
    --poe-color-allocatedcruciblemod: rbg(255,115,57);
    --poe-color-unmet: rgb(210,0,0);
    --poe-color-uniqueitem: rgb(175,96,37);
    --poe-color-unique: rgb(175,96,37);
    --poe-color-rareitem: rgb(255,255,119);
    --poe-color-rare: rgb(255,255,119);
    --poe-color-magicitem: rgb(136,136,255);
    --poe-color-magic: rgb(136,136,255);
    --poe-color-whiteitem: rgb(200,200,200);
    --poe-color-normal: rgb(200,200,200);
    --poe-color-gemitem: rgb(27,162,155);
    --poe-color-gem: rgb(27,162,155);
    --poe-color-currencyitem: rgb(170,158,130);
    --poe-color-currency: rgb(170,158,130);
    --poe-color-questitem: rgb(74,230,58);
    --poe-color-quest: rgb(74,230,58);
    --poe-color-nemesismod: rgb(255,200,0);
    --poe-color-nemesismodoutline: rgb(219,34,0); /* 220,255,40,0 */
    --poe-color-talismanmod: rgb(141,241,79);
    --poe-color-talismanmodoutline: rgb(0,0,0); /* 220,0,0,0 */
    --poe-color-title: rgb(231,180,120);
    --poe-color-corrupted: rgb(210,0,0);
    --poe-color-favour: rgb(170,158,130);
    --poe-color-supporterpacknewitem: rgb(180,96,0);
    --poe-color-supporterpackitem: rgb(163,141,109);
    --poe-color-supporterpackincludes: rgb(242,162,47);
    --poe-color-bloodlinemod: rgb(210,0,220);
    --poe-color-bloodlinemodoutline: rgb(58,0,125); /* 200,74,0,160 */
    --poe-color-tormentmod: rgb(50,230,100);
    --poe-color-tormentmodoutline: rgb(0,78,117); /* 200,0,100,150 */
    --poe-color-canttradeormodify: rgb(210,0,0);
    --poe-color-lockedtoaccount: rgb(136,136,255);
    --poe-color-divination: rgb(14,186,255);
    --poe-color-prophecy: rgb(181,75,255);
    --poe-color-essencemod: rgb(164,210,255);
    --poe-color-essencemodoutline: rgb(0,41,82); /* 210,0,50,100 */
    --poe-color-premiumchat: rgb(253,242,126);
    --poe-color-premiumchatoutline: rgb(209,46,46);
    --poe-color-uniquefoil: rgb(130,173,106);
    --poe-color-legacy: rgb(212,145,63);
    --poe-color-bestiarymod: rgb(255,255,255);
    --poe-color-bestiarymodoutline: rgb(219,34,0); /* 220,255,40,0 */
    --poe-color-blightmod: rgb(255,255,255);
    --poe-color-blightmodoutline: rgb(215,0,0); /* 255,215,0,0 */
    --poe-color-afflictionmod: rgb(22,25,28);
    --poe-color-afflictionmodoutline: rgb(151,164,181); /* 200,193,210,232 */
    --poe-color-necropolisupside: rbg(255,204,27);
    --poe-color-necropolisdownside: rbg(175,181,203);
    --poe-color-necropolisoutline: rbg(0,0,0);
    --poe-color-necropoliscraftbook: rbg(33,32,31);
    --poe-color-stackitemlevel: rgb(255,255,255);
    --poe-color-harvestprimary: rgb(100,111,73);
    --poe-color-harvestsecondary: rgb(83,130,161);
    --poe-color-craftingcaster: rgb(179,248,254);
    --poe-color-craftingphysical: rgb(199,157,147);
    --poe-color-craftingfire: rgb(255,154,119);
    --poe-color-craftingcold: rgb(147,216,255);
    --poe-color-craftinglightning: rgb(248,203,118);
    --poe-color-craftingchaos: rgb(216,167,211);
    --poe-color-craftingspeed: rgb(207,238,165);
    --poe-color-craftingcrit: rgb(178,167,214);
    --poe-color-craftingred: rgb(200,103,110);
    --poe-color-craftingblue: rgb(162,207,251);
    --poe-color-craftinggreen: rgb(134,189,163);
    --poe-color-craftinglife: rgb(201,110,110);
    --poe-color-craftingdefences: rgb(168,143,103);
    --poe-color-craftingattack: rgb(218,129,77);
    --poe-color-heist: rgb(25,30,25);
    --poe-color-heiststolenitem: rgb(210,0,0);
    --poe-color-atlasmaven: rgb(182,12,169);
    --poe-color-ultimatumnumber: rgb(254,92,81);
    --poe-color-incursionunreachable: rgb(90,90,90);
    --poe-color-lockedinplaceitem: rgb(127,127,127);
    --poe-color-craftaffectremove: rgb(254,153,0);
    --poe-color-craftaffectwarning: rgb(235,200,80);
    --poe-color-craftaffectreroll: rgb(254,153,0);
    --poe-color-skillpopuptitle: rgb(249,230,202);
    --poe-color-disabledstats: rgb(150,150,167);
    --poe-color-skillextrainfo: rgb(255,192,119);
    --poe-color-fakeitemcount: rgb(200,200,200);
}

/* ===== Flex grid ===== */
.o-flex-grid {
    display: flex;
    flex-wrap: wrap;
    clear: both;
    margin-left: -16px;
}
.o-flex-grid__item {
    display: flex;
    box-sizing: border-box;
    overflow: hidden;
    flex: 0 0 auto;
    margin-bottom: 16px;
    padding-left: 16px;
    width: 100%;
}
.o-flex-grid__inner {
    flex: 0 1 100%;
    margin: 0 !important;
}
@media screen and (min-width: 45em) {
    .o-flex-grid--c2\@sm > .o-flex-grid__item {
        width: 50%;
    }
}
@media screen and (min-width: 60em) {
    .o-flex-grid--c2\@md > .o-flex-grid__item {
        width: 50%;
    }
    .o-flex-grid--c3\@md > .o-flex-grid__item {
        width: 33.3%;
    }
    .o-flex-grid--c4\@md > .o-flex-grid__item {
        width: 25%;
    }
}
@media screen and (min-width: 80em) {
    .o-flex-grid--c3\@lg > .o-flex-grid__item {
        width: 33.3%;
    }
}
@media screen and (min-width: 100em) {
    .o-flex-grid--c2\@lg > .o-flex-grid__item {
        width: 50%;
    }
    .o-flex-grid--c4\@lg > .o-flex-grid__item {
        width: 25%;
    }
}

/* ===== Content blocks ===== */
.c-cblock {
    overflow: hidden;
    margin: 6px 0;
    border: 1px solid #2c2b2b;
    border-radius: 4px;
    padding: 8px 16px;
    background-color: #141414;
}
.c-cblock--violet {
    border-color: #585477;
    background-color: #151517;
}
.c-cblock--gold {
    border-color: #75693c;
    background-color: #1c1b19;
}
.c-cblock > *:first-child {
    margin-top: 0 !important;
}
.c-cblock hr {
    clear: both;
    margin: 16px 0;
    background-color: #2c2b2b !important;
}
.c-cblock--violet hr {
    background-color: #585477 !important;
}
.c-cblock--gold hr {
    background-color: #75693c !important;
}
.c-cblock h2,
.c-cblock h3,
.c-cblock h4,
.c-cblock h5,
.c-cblock h6 {
    border: none;
}

/* ===== Hoverbox ([[Template:Tooltip]], [[Template:Item link]]) ===== */
.hoverbox {
    display: inline-block;
}
.hoverbox__display {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    padding: 8px;
    transition: opacity 0.25s;
}
.hoverbox__display.is-visible {
    visibility: visible;
    opacity: 1;
}
.hoverbox__activator {
    display: inline;
}
.hoverbox__icon {
    vertical-align: -0.125em;
}
.hoverbox-display-container {
    position: fixed;
    z-index: 9999;
    width: 100%;
}

/* ===== Tooltip hoverbox ([[Template:Tooltip]]) ===== */
.c-tooltip__activator {
    position: relative;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    border-bottom-color: initial;
    cursor: help;
}
.c-tooltip__display {
    box-sizing: border-box;
    border: 1px solid #7f7f7f;
    padding: 0.5em 1.5em;
    text-align: unset;
    max-width: 32em;
    font-size: 12px;
    line-height: 1.5;
    font-weight: normal;
    color: #7f7f7f;
    background-color: #000;
}

/* ===== Accordion (used by [[Template:Modifier compatibility]]) ===== */
.accordion__toggle button {
    position: relative;
    box-sizing: unset;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 0 0.5em 0 1.6em;
    text-align: unset;
    font-family: unset;
    font-size: unset;
    line-height: unset;
    color: unset;
    background: unset;
}
.accordion__toggle button:hover {
    border-color: #757169;
}
.accordion__toggle button::before {
    content: "";
    position: absolute;
    top: 0.4em;
    left: 0.333em;
    width: 1em;
    height: 1em;
    background-image: url("data:image/svg+xml;utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512' width='14' height='14'><path d='M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z' fill='%235a5751'/></svg>");
    background-repeat: no-repeat;
    transition: transform 150ms ease;
}
.accordion__toggle.is-open button::before {
    transform: rotate(0.25turn);
}
.accordion__toggle + .accordion__panel {
    overflow: hidden;
    margin-left: 1.6em;
    max-height: 0;
}
.accordion__toggle.is-open + .accordion__panel {
    max-height: none;
}
.accordion__controls button {
    border: unset;
    padding: unset;
    font-family: unset;
    font-size: unset;
    line-height: unset;
    color: var(--link-color);
    background: unset;
}
.accordion__controls button:hover,
.accordion__controls button:focus {
    text-decoration: underline;
}
.accordion__controls button:active {
    color: var(--link-active-color);
}

/* ===== Modifier compatibility ([[Template:Modifier compatibility]]) ===== */
@media screen and (min-width: 80em) {
    .mod-compat__section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1.6em;
    }
    .mod-compat__section-heading {
        grid-column-start: span 2;
    }
}
.mod-compat__gentype-header {
    margin: 1em 0;
}
.mod-compat__gentype-heading {
    font-size: 1.1em;
    font-weight: bold;
}
.mod-compat__group-list {
    background-color: #1c1b19;
}
.mod-compat__group {
    border-bottom: 1px solid #383736;
    margin: 0.5em 0 1em;
}
.mod-compat__group:last-child {
    border-bottom: none;
}
.mod-compat__group-label {
    margin-bottom: 0.2em;
    font-size: 11px;
    color: #757169;
}
.mod-compat__type-list {
    margin: 0 0 0.5em;
}
.mod-compat__type-summary {
    margin-bottom: 0.25em;
}
.mod-compat__type-details .modifier-table {
    margin-top: 0;
}
.modifier-table__tag-list {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    gap: 6px;
    margin: 0 !important;
    list-style: none;
}
.modifier-table__tag {
    margin: 0;
    padding: 1px 4px;
    font-family: sans-serif;
    font-size: 11px;
    line-height: normal;
    color: #89847c;
    background-color: #383634;
}

/* ===== Succession box (used by [[Template:Version]]) ===== */
table.successionbox {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ===== Hatnote ([[Template:Hatnote]]) ===== */
.hatnote {
    display: flex;
    margin-bottom: 0.4em;
}
.hatnote__icon {
    flex-shrink: 0;
    padding-right: 0.4em;
    width: 1.6em;
}
.hatnote__icon img {
    width: 100%;
    height: auto;
}
.hatnote__text {
    font-style: italic;
}
.hatnote__text i {
    font-style: normal;
}

/* ===== Message box ([[Template:Message box]]) ===== */
.c-mbox {
    display: flex;
    align-items: center;
    column-gap: 1em;
    margin: 6px 0;
    border: 1px solid #383736;
    border-top-width: 4px;
    padding: 0.4em 1em;
    min-width: min-content;
    background-color: #1c1b19;
}
@media screen and (min-width: 45em) {
    .c-mbox {
        margin-left: 20%;
        margin-right: 20%;
    }
}
.c-mbox--warning {
    border-color: #781c1c;
    background-color: #241515;
}
.c-mbox--action {
    border-color: #693a1e;
    background-color: #26211f;
}
.c-mbox--content {
    border-color: #664c1e;
    background-color: #26231f;
}
.c-mbox--style {
    border-color: #75693c;
    background-color: #24231f;
}
.c-mbox--info {
    border-color: #4b5e6a;
    background-color: #191b1c;
}
.c-mbox--legal {
    border-color: #403b2d;
    background-color: #21201c;
}
.c-mbox--proposal {
    border-color: #585477;
    background-color: #19191c;
}
.c-mbox--lock {
    border-color: #59534e;
    background-color: #211f1d;
}
.c-mbox__main {
    flex-grow: 1;
}
.c-mbox__title {
    font-weight: bold;
}
.c-mbox__text {
    font-size: 0.86em;
}
.c-mbox--full {
    clear: both;
    margin: 10px 0;
    border-top-width: 6px;
    padding-left: 2em;
    padding-right: 2em;
}
.c-mbox--full .c-mbox__title {
    font-size: 1.2em;
}
.c-mbox--full .c-mbox__text {
    font-size: 1em;
}

/* ===== Simple sidebar ==== */
.c-sidebar {
    box-sizing: border-box;
    clear: right;
    float: right;
    margin: 6px 0;
    border: 1px solid #59534e;
    padding: 0.4em 1em;
    min-width: 100%;
    max-width: auto;
    overflow-wrap: anywhere;
    font-size: 0.86em;
    background-color: #211f1d;
}
@media screen and (min-width: 45em) {
    .c-sidebar {
        margin-left: 14px;
        min-width: min-content;
        max-width: 220px;
        overflow-wrap: break-word;
    }
}

/* ===== Infocard ([[Template:Infocard]]) ==== */
.info-card {
    float: right;
    clear: right;
    margin-left: 14px;
    margin-bottom: 14px;
    text-align: center;
}
.info-card__card {
    border-style: solid;
    border-width: 2px 1px;
    border-color: #474233 #403b2e #1a1812;
    border-radius: 6px;
    padding: 2px 3px;
    width: 292px;
    background-color: #332f24;
}
.info-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.info-card__header .heading {
    font-size: 20px;
    line-height: 1.5;
    color: #dfcf99;
}
.info-card__header .subheading {
    padding-bottom: 4px;
    font-size: 14px;
    line-height: 1.0;
    font-weight: bold;
}
.info-card__body {
    margin: 0;
    border-style: solid;
    border-width: 2px 1px;
    border-color: #1a1812 #1f1c15 #474233;
    border-radius: 6px;
    background-color: #26231b;
}
.info-card__body .block {
    margin: 0;
    padding: 0.5em 1.0em;
    list-style: none;
}
.info-card__body .block:first-child {
    padding-top: 1.0em;
}
.info-card__body .block:last-child {
    padding-bottom: 1.0em;
}


/* ===== Disambiguation ([[Template:Disambiguation]]) ===== */
.dmbox {
    display: flex;
    align-items: center;
    clear: both;
    margin: 1em;
    border-width: 1px 0;
    border-style: solid;
    border-color: #474233;
    padding: 0.4em;
}
.dmbox-image {
    margin-right: 0.4em;
}

/* ===== Discussion Closed ([[Template:Discussion top]], [[Template:Discussion bottom]]) ===== */
.c-dcbox {
    margin: 6px 0;
    border: 1px solid #2c2b2b;
    border-radius: 4px;
    padding: 6px 1em;
    background-color: #141414;
}
.c-dcbox--resolved {
    border-color: #678236;
    background-color: #1b1c19;
}
.c-dcbox--moved {
    border-color: #585477;
    background-color: #151517;
}
.c-dcbox__header {
    margin-bottom: 12px;
    border-bottom: 1px solid #383736;
    padding-bottom: 4px;
}
.c-dcbox__status {
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
}
.c-dcbox__reminder {
    font-size: 0.9em;
    font-style: italic;
    color: #5e4f45;
}

/* ===== Blockquote ([[Template:Blockquote top]]) ===== */
.bqbox {
    margin: 6px 1em;
    border: 1px solid #293137;
    border-radius: 4px;
    padding: 6px 1em;
    background-color: #141517;
}

/* ===== Pull quote ([[Template:Pullquote]]) ===== */
.pull-quote {
    display: table;
    margin: 1em auto;
    min-width: 25%;
}
.pull-quote > .quotation {
    margin: 0 auto;
    font-size: 1.15em;
    font-style: italic;
    color: #736551;
}
.pull-quote > .citation {
    margin: 0 auto;
    text-align: right;
    font-size: 0.85em;
    font-style: normal;
}
.pull-quote.-aligncenter > .quotation,
.pull-quote.-aligncenter > .citation {
    text-align: center;
}
.pull-quote > .citation > cite {
    font-style: inherit;
}
.pull-quote > .citation::before {
    content: "— ";
}
@media all and (min-width: 50em) {
    .pull-quote.-aligncenter > .quotation,
    .pull-quote.-aligncenter > .citation {
        width: 75%;
    }
    .pull-quote.-alignleft {
        float: left;
        margin: 0 1.75em 1em 0;
        border-right: 3px solid #51453d;
        padding-right: .75em;
    }
    .pull-quote.-alignright {
        float: right;
        margin: 0 0 1em 1.75em;
        border-left: 3px solid #51453d;
        padding-left: .75em;
    }
    .pull-quote.-alignleft,
    .pull-quote.-alignright {
        width: 33.3%;
    }
}
@media all and (min-width: 73em) {
    .pull-quote.-alignnone > .quotation,
    .pull-quote.-alignnone > .citation {
        width: 80%;
    }
    .pull-quote.-aligncenter > .quotation,
    .pull-quote.-aligncenter > .citation {
        width: 50%;
    }
    .pull-quote.-alignleft,
    .pull-quote.-alignright {
        width: 25%;
    }
}

/* ===== Documentation ([[Template:Documentation]]) ===== */
.template-documentation {
    clear: both;
    margin: 14px 0 0;
    border: 1px solid #383736;
    padding: 1em;
    background-color: #1c1b19;
}
.template-documentation__start {
    margin-bottom: 0.9em;
    border-bottom: 1px solid #383736;
    padding-bottom: 3px;
}
.template-documentation__heading {
    font-size: 1.5em;
    font-weight: bold;
}
.template-documentation__end {
    margin: 7px 0;
    border: 1px solid #383736;
    padding: 1em;
    font-style: italic;
    background-color: #1c1b19;
}
.template-documentation__toolbar {
    font-size: 0.8em;
    font-style: normal;
}

/* ===== References ([[Template:Reflist]]) ===== */
ol.references,
div.reflist,
div.refbegin {
    font-size: 90%;
    margin-bottom: 0.5em;
}
div.refbegin-100 {
    font-size: 100%;
}
div.reflist ol.references {
    font-size: 100%;
    list-style-type: inherit;
}
ol.references li:target,
sup.reference:target,
span.citation:target {
    background-color: rgba(0, 182, 255, 0.1);
    border: 1px dotted #00b6ff;
    border-radius: 4px;
}
sup.reference {
    font-style: normal;
    font-weight: normal;
}
span.brokenref {
    display: none;
}
.citation {
    overflow-wrap: break-word;
}
.citation .printonly {
    display: none;
}

/* ===== Semantic text formatting, aka "text colors" ([[Template:C]]) ===== */
.tc {
    font-style: normal;
}
em.tc {
    font-style: normal;
}
em.tc.-i {
    font-style: italic;
}
.tc a {
    color: inherit !important;
}
.tc abbr {
    color: inherit;
}
.tc.-mod {
    font-family: "Fontin-SmallCaps", Verdana, Arial, Helvetica, sans-serif;
    font-variant-ligatures: none;
    color: var(--poe-color-augmented);
}
.tc.-default,
.tc.-stat {
    color: var(--poe-color-default);
}
.tc.-valuedefault,
.tc.-value {
    color: var(--poe-color-valuedefault);
}
.tc.-fire {
    color: var(--poe-color-fire);
}
.tc.-cold {
    color: var(--poe-color-cold);
}
.tc.-lightning {
    color: var(--poe-color-lightning);
}
.tc.-chaos {
    color: var(--poe-color-chaos);
}
.tc.-augmented {
    color: var(--poe-color-augmented);
}
.tc.-crafted,
.tc.-craft {
    color: var(--poe-color-crafted);
}
.tc.-fractured {
    color: var(--poe-color-fractured);
}
.tc.-enchanted {
    color: var(--poe-color-enchanted);
}
.tc.-unmet {
    color: var(--poe-color-unmet);
}
.tc.-uniqueitem {
    color: var(--poe-color-uniqueitem);
}
.tc.-unique {
    color: var(--poe-color-unique);
}
.tc.-rareitem {
    color: var(--poe-color-rareitem);
}
.tc.-rare {
    color: var(--poe-color-rare);
}
.tc.-magicitem {
    color: var(--poe-color-magicitem);
}
.tc.-magic {
    color: var(--poe-color-magic);
}
.tc.-whiteitem,
.tc.-white {
    color: var(--poe-color-whiteitem);
}
.tc.-normal {
    color: var(--poe-color-normal);
}
.tc.-gemitem {
    color: var(--poe-color-gemitem);
}
.tc.-gem,
.tc.-gemdesc {
    color: var(--poe-color-gem);
}
.tc.-currencyitem {
    color: var(--poe-color-currencyitem);
}
.tc.-currency,
.tc.-cosmetic {
    color: var(--poe-color-currency);
}
.tc.-questitem {
    color: var(--poe-color-questitem);
}
.tc.-quest {
    color: var(--poe-color-quest);
}
.tc.-nemesismod,
.tc.-nemesis {
    font-weight: bold;
    color: var(--poe-color-nemesismod);
    text-shadow: -1px -1px 0 var(--poe-color-nemesismodoutline), 1px -1px 0 var(--poe-color-nemesismodoutline), -1px 1px 0 var(--poe-color-nemesismodoutline), 1px 1px 0 var(--poe-color-nemesismodoutline);
}
.tc.-talismanmod {
    font-weight: bold;
    color: var(--poe-color-talismanmod);
    text-shadow: -1px -1px 0 var(--poe-color-talismanmodoutline), 1px -1px 0 var(--poe-color-talismanmodoutline), -1px 1px 0 var(--poe-color-talismanmodoutline), 1px 1px 0 var(--poe-color-talismanmodoutline);
}
.tc.-title {
    color: var(--poe-color-title);
}
.tc.-corrupted {
    color: var(--poe-color-corrupted);
}
.tc.-favour {
    color: var(--poe-color-favour);
}
.tc.-supporterpacknewitem {
    color: var(--poe-color-supporterpacknewitem);
}
.tc.-supporterpackitem {
    color: var(--poe-color-supporterpackitem);
}
.tc.-bloodlinemod,
.tc.-bloodline {
    font-weight: bold;
    color: var(--poe-color-bloodlinemod);
    text-shadow: -1px -1px 0 var(--poe-color-bloodlinemodoutline), 1px -1px 0 var(--poe-color-bloodlinemodoutline), -1px 1px 0 var(--poe-color-bloodlinemodoutline), 1px 1px 0 var(--poe-color-bloodlinemodoutline);
}
.tc.-tormentmod,
.tc.-torment {
    font-weight: bold;
    color: var(--poe-color-tormentmod);
    text-shadow: -1px -1px 0 var(--poe-color-tormentmodoutline), 1px -1px 0 var(--poe-color-tormentmodoutline), -1px 1px 0 var(--poe-color-tormentmodoutline), 1px 1px 0 var(--poe-color-tormentmodoutline);
}
.tc.-canttradeormodify {
    color: var(--poe-color-canttradeormodify);
}
.tc.-lockedtoaccount {
    color: var(--poe-color-lockedtoaccount);
}
.tc.-divination,
.tc.-card {
    color: var(--poe-color-divination);
}
.tc.-prophecy {
    color: var(--poe-color-prophecy);
}
.tc.-essencemod,
.tc.-essence {
    font-weight: bold;
    color: var(--poe-color-essencemod);
    text-shadow: -1px -1px 0 var(--poe-color-essencemodoutline), 1px -1px 0 var(--poe-color-essencemodoutline), -1px 1px 0 var(--poe-color-essencemodoutline), 1px 1px 0 var(--poe-color-essencemodoutline);
}
.tc.-uniquefoil,
.tc.-foil {
    color: var(--poe-color-uniquefoil);
}
.tc.-legacy {
    color: var(--poe-color-legacy);
}
.tc.-bestiarymod,
.tc.-bestiary {
    font-weight: bold;
    color: var(--poe-color-bestiarymod);
    text-shadow: -1px -1px 0 var(--poe-color-bestiarymodoutline), 1px -1px 0 var(--poe-color-bestiarymodoutline), -1px 1px 0 var(--poe-color-bestiarymodoutline), 1px 1px 0 var(--poe-color-bestiarymodoutline);
}
.tc.-blightmod,
.tc.-blight {
    font-weight: bold;
    color: var(--poe-color-blightmod);
    text-shadow: -1px -1px 0 var(--poe-color-blightmodoutline), 1px -1px 0 var(--poe-color-blightmodoutline), -1px 1px 0 var(--poe-color-blightmodoutline), 1px 1px 0 var(--poe-color-blightmodoutline);
}
.tc.-afflictionmod,
.tc.-deliriummod,
.tc.-delirium {
    font-weight: bold;
    color: var(--poe-color-afflictionmod);
    text-shadow: -1px -1px 0 var(--poe-color-afflictionmodoutline), 1px -1px 0 var(--poe-color-afflictionmodoutline), -1px 1px 0 var(--poe-color-afflictionmodoutline), 1px 1px 0 var(--poe-color-afflictionmodoutline);
}
.tc.-stackitemlevel {
    color: var(--poe-color-stackitemlevel);
}
.tc.-harvestprimary {
    color: var(--poe-color-harvestprimary);
}
.tc.-harvestsecondary {
    color: var(--poe-color-harvestsecondary);
}
.tc.-craftingcaster {
    color: var(--poe-color-craftingcaster);
}
.tc.-craftingphysical {
    color: var(--poe-color-craftingphysical);
}
.tc.-craftingfire {
    color: var(--poe-color-craftingfire);
}
.tc.-craftingcold {
    color: var(--poe-color-craftingcold);
}
.tc.-craftinglightning {
    color: var(--poe-color-craftinglightning);
}
.tc.-craftingchaos {
    color: var(--poe-color-craftingchaos);
}
.tc.-craftingspeed {
    color: var(--poe-color-craftingspeed);
}
.tc.-craftingcrit {
    color: var(--poe-color-craftingcrit);
}
.tc.-craftingred {
    color: var(--poe-color-craftingred);
}
.tc.-craftingblue {
    color: var(--poe-color-craftingblue);
}
.tc.-craftinggreen {
    color: var(--poe-color-craftinggreen);
}
.tc.-craftinglife {
    color: var(--poe-color-craftinglife);
}
.tc.-craftingdefences {
    color: var(--poe-color-craftingdefences);
}
.tc.-craftingattack {
    color: var(--poe-color-craftingattack);
}
.tc.-help {
    font-style: italic;
    color: var(--poe-color-default);
}
.tc.-flavour {
    font-style: italic;
    color: var(--poe-color-unique);
}
.tc.-hellscaped
.tc.-scourge {
    color: var(--poe-color-hellscaped);
}
.tc.-primal {
    color: cyan;
}
.tc.-vivid {
    color: yellow;
}
.tc.-wild {
    color: magenta;
}
/* Extra text colors. Used in legacy variant tables. */
.tc.-has {
    color: var(--poe-color-legacy);
}
.tc.-not {
    text-decoration: line-through;
    color: var(--poe-color-default);
}

/* ===== Veiled modifiers (Template:Veiled modifier) ===== */
.veiled {
    display: inline-block;
    white-space: nowrap;
    color: transparent;
    background-repeat: no-repeat;
    background-position: center;
}
.veiled.-prefix {
    width: 158px;
}
.veiled.-prefix.-m01 {
    background-image: url("https://www.poewiki.net/images/b/b3/Veiled_prefix_01.gif");
}
.veiled.-prefix.-m02 {
    background-image: url("https://www.poewiki.net/images/2/29/Veiled_prefix_02.gif");
}
.veiled.-prefix.-m03 {
    background-image: url("https://www.poewiki.net/images/5/58/Veiled_prefix_03.gif");
}
.veiled.-prefix.-m04 {
    background-image: url("https://www.poewiki.net/images/d/dd/Veiled_prefix_04.gif");
}
.veiled.-prefix.-m05 {
    background-image: url("https://www.poewiki.net/images/c/c7/Veiled_prefix_05.gif");
}
.veiled.-prefix.-m06 {
    background-image: url("https://www.poewiki.net/images/8/8c/Veiled_prefix_06.gif");
}
.veiled.-suffix {
    width: 85px;
}
.veiled.-suffix.-m01 {
    background-image: url("https://www.poewiki.net/images/0/0a/Veiled_suffix_01.gif");
}
.veiled.-suffix.-m02 {
    background-image: url("https://www.poewiki.net/images/4/44/Veiled_suffix_02.gif");
}
.veiled.-suffix.-m03 {
    background-image: url("https://www.poewiki.net/images/3/31/Veiled_suffix_03.gif");
}
.veiled.-suffix.-m04 {
    background-image: url("https://www.poewiki.net/images/7/7a/Veiled_suffix_04.gif");
}
.veiled.-suffix.-m05 {
    background-image: url("https://www.poewiki.net/images/9/95/Veiled_suffix_05.gif");
}
.veiled.-suffix.-m06 {
    background-image: url("https://www.poewiki.net/images/0/0e/Veiled_suffix_06.gif");
}

/* ===== Harbinger glyphs ([[Template:Glyph]]) ===== */
.glyph {
    display: inline-block;
    width: 2em;
    height: 1.5577em;
    vertical-align: middle;
    background: url("https://www.poewiki.net/images/4/41/Harbinger-glyphs.png") no-repeat;
    background-size: 12em auto;
    background-position: 2em;
}
.glyph.HBGAa {
    background-position: calc(-2em * 0) calc(-1.5577em * 0);
}
.glyph.HBGAb {
    background-position: calc(-2em * 1) calc(-1.5577em * 0);
}
.glyph.HBGAc {
    background-position: calc(-2em * 2) calc(-1.5577em * 0);
}
.glyph.HBGAd {
    background-position: calc(-2em * 3) calc(-1.5577em * 0);
}
.glyph.HBGAe {
    background-position: calc(-2em * 4) calc(-1.5577em * 0);
}
.glyph.HBGAf {
    background-position: calc(-2em * 5) calc(-1.5577em * 0);
}
.glyph.HBGAg {
    background-position: calc(-2em * 0) calc(-1.5577em * 1);
}
.glyph.HBGAh {
    background-position: calc(-2em * 1) calc(-1.5577em * 1);
}
.glyph.HBGAi {
    background-position: calc(-2em * 2) calc(-1.5577em * 1);
}
.glyph.HBGAj {
    background-position: calc(-2em * 3) calc(-1.5577em * 1);
}
.glyph.HBGAk {
    background-position: calc(-2em * 4) calc(-1.5577em * 1);
}
.glyph.HBGAl {
    background-position: calc(-2em * 5) calc(-1.5577em * 1);
}
.glyph.HBGAm {
    background-position: calc(-2em * 0) calc(-1.5577em * 2);
}
.glyph.HBGAn {
    background-position: calc(-2em * 1) calc(-1.5577em * 2);
}
.glyph.HBGAo {
    background-position: calc(-2em * 2) calc(-1.5577em * 2);
}
.glyph.HBGAp {
    background-position: calc(-2em * 3) calc(-1.5577em * 2);
}
.glyph.HBGAq {
    background-position: calc(-2em * 4) calc(-1.5577em * 2);
}
.glyph.HBGAr {
    background-position: calc(-2em * 5) calc(-1.5577em * 2);
}
.glyph.HBGAs {
    background-position: calc(-2em * 0) calc(-1.5577em * 3);
}
.glyph.HBGAt {
    background-position: calc(-2em * 1) calc(-1.5577em * 3);
}
.glyph.HBGAu {
    background-position: calc(-2em * 2) calc(-1.5577em * 3);
}
.glyph.HBGAv {
    background-position: calc(-2em * 3) calc(-1.5577em * 3);
}
.glyph.HBGAw {
    background-position: calc(-2em * 4) calc(-1.5577em * 3);
}
.glyph.HBGAx {
    background-position: calc(-2em * 5) calc(-1.5577em * 3);
}
.glyph.HBGAy {
    background-position: calc(-2em * 0) calc(-1.5577em * 4);
}
.glyph.HBGAz {
    background-position: calc(-2em * 1) calc(-1.5577em * 4);
}
.glyph.HBGBa {
    background-position: calc(-2em * 2) calc(-1.5577em * 4);
}
.glyph.HBGBb {
    background-position: calc(-2em * 3) calc(-1.5577em * 4);
}
.glyph.HBGBc {
    background-position: calc(-2em * 4) calc(-1.5577em * 4);
}
.glyph.HBGBd {
    background-position: calc(-2em * 5) calc(-1.5577em * 4);
}
.glyph.HBGBe {
    background-position: calc(-2em * 0) calc(-1.5577em * 5);
}
.glyph.HBG00 {
    width: 0.7692em;
    background-position: -2em calc(-1.5577em * 5);
}
.glyph.HBG01 {
    width: 0.8077em;
    background-position: -2.7692em calc(-1.5577em * 5);
}
.glyph.HBG02 {
    width: 0.9808em;
    background-position: -3.5769em calc(-1.5577em * 5);
}
.glyph.HBG03 {
    width: 0.8654em;
    background-position: -4.5577em calc(-1.5577em * 5);
}
.glyph.HBG04 {
    width: 1.0769em;
    background-position: -5.4231em calc(-1.5577em * 5);
}
.glyph.hbgi00 {
    width: 0.8462em;
    background-position: -6.5em calc(-1.5577em * 5);
}
.glyph.hbgi04 {
    background-position: calc(-2em * 4) calc(-1.5577em * 5);
}
.glyph.HBGC00 {
    background-position: calc(-2em * 0) calc(-1.5577em * 6);
}
.glyph.HBGC01 {
    background-position: calc(-2em * 1) calc(-1.5577em * 6);
}
.glyph.HBGC02 {
    background-position: calc(-2em * 2) calc(-1.5577em * 6);
}
.glyph.HBGC03 {
    background-position: calc(-2em * 3) calc(-1.5577em * 6);
}
.glyph.HBGC04 {
    background-position: calc(-2em * 4) calc(-1.5577em * 6);
}
.glyph.HBGC05 {
    background-position: calc(-2em * 5) calc(-1.5577em * 6);
}
.glyph.HBGC06 {
    background-position: calc(-2em * 0) calc(-1.5577em * 7);
}
.glyph.HBGC07 {
    background-position: calc(-2em * 1) calc(-1.5577em * 7);
}
.glyph.HBGC08 {
    background-position: calc(-2em * 2) calc(-1.5577em * 7);
}
.glyph.HBGC09 {
    background-position: calc(-2em * 3) calc(-1.5577em * 7);
}
.glyph.HBGC010 {
    background-position: calc(-2em * 4) calc(-1.5577em * 7);
}
.glyph.HBGC011 {
    background-position: calc(-2em * 5) calc(-1.5577em * 7);
}

/* ===== Monster category icons ([[Template:Monster category icon]]) ===== */
.mon-cat {
    display: inline-block;
    margin-right: 0.15em;
    width: 1.265em;
    height: 1.265em;
    vertical-align: middle;
    background: url("https://www.poewiki.net/images/c/c3/Monster_category_icons.png") no-repeat;
    background-size: auto 1.265em;
}
.mon-cat.-demon {
    background-position-x: calc(-1.265em * 0);
}
.mon-cat.-humanoid {
    background-position-x: calc(-1.265em * 1);
}
.mon-cat.-eldritch {
    background-position-x: calc(-1.265em * 2);
}
.mon-cat.-beast {
    background-position-x: calc(-1.265em * 3);
}
.mon-cat.-construct {
    background-position-x: calc(-1.265em * 4);
}
.mon-cat.-undead {
    background-position-x: calc(-1.265em * 5);
}

/* ===== Item box ([[Template:Item]]) ===== */
.item-box {
    display: inline-block;
    box-sizing: border-box;
    border-width: 1px;
    border-style: solid;
    padding: 2px;
    min-width: 220px;
    max-width: 440px;
    text-align: center;
    font-family: "Fontin-SmallCaps", Verdana, Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.265;
    font-weight: 400;
    font-style: normal;
    font-variant-ligatures: none;
    color: var(--poe-color-default);
    background-color: #000;
}
.item-box a,
.item-box a:visited,
.item-box a:active {
    color: unset;
}
.item-box.-normal {
    border-color: var(--poe-color-normal);
}
.item-box.-magic {
    border-color: var(--poe-color-magic);
}
.item-box.-rare {
    border-color: var(--poe-color-rare);
}
.item-box.-unique {
    border-color: var(--poe-color-unique);
}
.item-box.-currency {
    border-color: var(--poe-color-currency);
}
.item-box.-gem {
    border-color: var(--poe-color-gem);
}
.item-box.-quest {
    border-color: var(--poe-color-quest);
}
.item-box.-prophecy {
    border-color: var(--poe-color-prophecy);
}
.item-box.-foil {
    border-color: var(--poe-color-uniquefoil);
}
.item-box.-necropolis {
    border-color: rgb(52,58,64);
}
.item-box > .header {
    display: block;
    overflow: hidden;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 20px;
    background-repeat: no-repeat, no-repeat, repeat-x;
}
.item-box > .header > .symbol {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    background-position: center;
    background-repeat: no-repeat;
}
.item-box > .header > .symbol:first-child {
    left: 0;
}
.item-box > .header > .symbol:last-child {
    right: 0;
}
.item-box > .header > .symbol.-shaper {
    background-image: url("https://www.poewiki.net/images/5/55/Shaper-item-symbol.png");
}
.item-box > .header > .symbol.-elder {
    background-image: url("https://www.poewiki.net/images/1/1b/Elder-item-symbol.png");
}
.item-box > .header > .symbol.-crusader {
    background-image: url("https://www.poewiki.net/images/d/d1/Crusader-item-symbol.png");
}
.item-box > .header > .symbol.-redeemer {
    background-image: url("https://www.poewiki.net/images/9/9c/Redeemer-item-symbol.png");
}
.item-box > .header > .symbol.-hunter {
    background-image: url("https://www.poewiki.net/images/a/a8/Hunter-item-symbol.png");
}
.item-box > .header > .symbol.-warlord {
    background-image: url("https://www.poewiki.net/images/f/f1/Warlord-item-symbol.png");
}
.item-box > .header > .symbol.-veiled {
    background-image: url("https://www.poewiki.net/images/f/fd/Veiled-item-symbol.png");
}
.item-box > .header > .symbol.-fractured {
    background-image: url("https://www.poewiki.net/images/9/97/Fractured-item-symbol.png");
}
.item-box > .header > .symbol.-synthesised {
    background-image: url("https://www.poewiki.net/images/4/4c/Synthesised-item-symbol.png");
}
.item-box > .header > .symbol.-searingexarch {
    background-image: url("https://www.poewiki.net/images/c/c2/Searing-exarch-item-symbol.png");
}
.item-box > .header > .symbol.-eaterofworlds {
    background-image: url("https://www.poewiki.net/images/a/a2/Eater-of-worlds-item-symbol.png");
}
.item-box > .header > .symbol.-replica {
    background-image: url("https://www.poewiki.net/images/5/50/Replica-item-symbol.png");
}
.item-box.-normal > .header {
    color: var(--poe-color-normal);
}
.item-box.-magic > .header {
    color: var(--poe-color-magic);
}
.item-box.-rare > .header {
    color: var(--poe-color-rare);
}
.item-box.-unique > .header {
    color: var(--poe-color-unique);
}
.item-box.-currency > .header {
    color: var(--poe-color-currency);
}
.item-box.-gem > .header {
    color: var(--poe-color-gem);
}
.item-box.-quest > .header {
    color: var(--poe-color-quest);
}
.item-box.-prophecy > .header {
    color: var(--poe-color-prophecy);
}
.item-box.-foil > .header {
    color: var(--poe-color-uniquefoil);
}
.item-box.-necropolis > .header {
    color: rgb(181,168,144);
}
.item-box > .header.-single {
    background-image: url("https://www.poewiki.net/images/9/9b/Item-ui-header-single.png"), url("https://www.poewiki.net/images/9/9b/Item-ui-header-single.png"), url("https://www.poewiki.net/images/9/9b/Item-ui-header-single.png");
}
.item-box > .header.-single {
    padding: 3px 32px;
    height: 28px;
    line-height: 25px;
}
.item-box > .header.-single > .symbol {
    width: 32px;
    height: 34px;
}
.item-box.-normal > .header.-single {
    background-position: left 0, right -68px, center -34px;
}
.item-box.-magic > .header.-single {
    background-position: left -102px, right -170px, center -136px;
}
.item-box.-currency > .header.-single {
    background-position: left -204px, right -272px, center -238px;
}
.item-box.-gem > .header.-single {
    background-position: left -306px, right -374px, center -340px;
}
.item-box.-quest > .header.-single {
    background-position: left -408px, right -476px, center -442px;
}
.item-box.-prophecy > .header.-single {
    background-position: left -510px, right -578px, center -544px;
}
.item-box.-necropolis > .header.-single {
    margin: -5px -14px 0;
    padding: 0 40px;
    height: 45px;
    line-height: 42px;
    background-image: url("https://www.poewiki.net/images/a/a0/Item-ui-header-necropolis.png"), url("https://www.poewiki.net/images/a/a0/Item-ui-header-necropolis.png"), url("https://www.poewiki.net/images/a/a0/Item-ui-header-necropolis.png");
    background-position: left 0, right -90px, center -45px;
    background-clip: border-box, border-box, content-box;
}
.item-box > .header.-double {
    background-image: url("https://www.poewiki.net/images/e/e8/Item-ui-header-double.png"), url("https://www.poewiki.net/images/e/e8/Item-ui-header-double.png"), url("https://www.poewiki.net/images/e/e8/Item-ui-header-double.png");
}
.item-box > .header.-double {
    padding: 3px 44px;
    height: 48px;
    line-height: 23px;
}
.item-box > .header.-double > .symbol{
    width: 32px;
    height: 54px;
}
.item-box.-rare > .header.-double {
    background-position: left 0, right -108px, center -54px;
}
.item-box.-unique > .header.-double {
    background-position: left -162px, right -270px, center -216px;
}
.item-box.-foil > .header.-double {
    background-image: url("https://www.poewiki.net/images/e/e1/Item-ui-header-relic.gif"), url("https://www.poewiki.net/images/e/e1/Item-ui-header-relic.gif"), url("https://www.poewiki.net/images/e/e1/Item-ui-header-relic.gif");
}
.item-box.-foil > .header.-double {
    background-position: left 0, right -108px, center -54px;
}
.item-box > .header > a,
.item-box > .header > .selflink {
    font-weight: normal;
    color: inherit !important;
}
.item-stats {
    display: block;
    padding: 7px 12px;
    margin: 0 auto;
}
.item-stats.-nopad {
    padding: 0;
}
.item-stats > .group {
    display: block;
    margin: 0 auto;
}
.item-stats > .group:nth-last-child(n+2)::after,
.item-stat-separator::before {
    display: block;
    margin: 5px auto;
    width: auto;
    height: 3px;
    background-image: url("https://www.poewiki.net/images/e/ef/Item-ui-separators.png");
    background-position: center 0;
    background-repeat: no-repeat;
    content: "";
}
.item-box.-magic > .item-stats > .group::after,
.item-stat-separator.-magic::before {
    background-position: center -3px;
}
.item-box.-rare > .item-stats > .group::after,
.item-stat-separator.-rare::before {
    background-position: center -6px;
}
.item-box.-unique > .item-stats > .group::after,
.item-stat-separator.-unique::before {
    background-position: center -9px;
}
.item-box.-currency > .item-stats > .group::after,
.item-stat-separator.-currency::before,
.item-box.-divicard > .item-stats > .group::after,
.item-stat-separator.-divicard::before {
    background-position: center -12px;
}
.item-box.-gem > .item-stats > .group::after,
.item-stat-separator.-gem::before {
    background-position: center -15px;
}
.item-box.-quest > .item-stats > .group::after,
.item-stat-separator.-quest::before {
    background-position: center -18px;
}
.item-box.-prophecy > .item-stats > .group::after,
.item-stat-separator.-prophecy::before {
    background-position: center -21px;
}
.item-box.-foil > .item-stats > .group::after,
.item-stat-separator.-foil::before {
    background-position: center -24px;
}
.item-box.-necropolis > .item-stats > .group::after,
.item-stat-separator.-necropolis::before {
    height: 5px;
    background-image: url("https://www.poewiki.net/images/a/af/Item-ui-separator-necropolis.png");
}
.item-box > .image {
    display: block;
    padding: 7px 12px;
}

/* Variant tabs above item infobox */
.itembox-tabs {
    z-index: 1;
    display: flex;
    column-gap: 4px;
}
.itembox-tab {
    height: 35px;
}
.itembox-tab * {
    display: inline-block;
    height: 34px;
    line-height: 34px;
}
.itembox-tab a {
    border-width: 1px 1px 0 1px;
    border-style: solid;
    border-color: transparent;
    border-radius: 4px 4px 0 0;
    background-color: #27292a;
}
.itembox-tab a:hover,
.itembox-tab a:focus {
    background-color: #343738;
}
.itembox-tab.-selected a {
    border-color: var(--poe-color-gem);
    height: 35px;
    background-color: #000;
}
.itembox-tab img {
    vertical-align: baseline;
}

/* Gem quality widget in item infobox */
.gemqual-widget__option {
    display: inline-block;
    margin-right: 0.5em;
    border: none;
    padding: 1px 4px;
    font-size: 12px;
    color: #7c8489;
    background: #27292a;
    cursor: default;
}
.gemqual-widget__option:hover,
.gemqual-widget__option:focus {
    color: #a5b2bb;
    background: #343738;
}
.gemqual-widget__option.is-selected {
    color: #fff;
    background: #555;
}
.gemqual-widget__stats {
    display: none;
}
.gemqual-widget__stats.is-selected {
    display: inline;
}

/* Divination card item box */
.item-box.-divicard {
    border-color: var(--poe-color-divination);
}
.item-box.-divicard:first-child {
    border: none;
    padding: 0;
    background: none;
}
.divicard-wrapper {
    display: block;
    position: relative;
    width: 440px;
    height: 668px;
}
.divicard-background,
.divicard-art,
.divicard-artlink {
    overflow: hidden;
    display: block;
    position: absolute;
    top: 56px;
    left: 26px;
    width: 390px;
    height: 280px;
}
.divicard-background {
    background-color: #161618;
}
.divicard-background video {
    width: 100% !important;
    height: 100% !important;
}
.divicard-art a {
    display: none;
}
.divicard-art img {
    width: 100%;
    height: 100%;
}
.divicard-artlink a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.divicard-artlink img {
    opacity: 0;
    width: 100%;
    height: 100%;
}
.divicard-frame {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://www.poewiki.net/images/e/ec/Divination_card_frame.png?v=1") no-repeat;
}
.divicard-header {
    display: block;
    position: absolute;
    top: 14px;
    left: 0;
    width: 100%;
    font-size: 20px;
    line-height: 44px;
    color: #030301;
}
.divicard-header a,
.divicard-header .selflink {
    font-weight: normal;
}
.divicard-stack {
    display: block;
    position: absolute;
    top: 309px;
    left: 42px;
    width: 70px;
    font-size: 16px;
    line-height: 38px;
    color: #fff;
}
.divicard-face {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: absolute;
    top: 334px;
    left: 35px;
    width: 374px;
    height: 302px;
}
.divicard-face::after {
    display: block;
    order: 1;
    margin: 3px auto;
    width: 256px;
    height: 3px;
    background: url("https://www.poewiki.net/images/a/a5/Divination_card_separator.png") no-repeat;
    content: "";
}
.divicard-reward {
    display: block;
    order: 0;
    top: 334px;
    left: 35px;
    font-size: 16px;
}
.divicard-flavour {
    display: block;
    order: 2;
    top: 452px;
    left: 35px;
    font-size: 16px;
    font-style: italic;
    color: var(--poe-color-unique);
}

/* for [[Module:Item]] (old item module) */
.item-box.-floatright { 
    float: right;
    clear: right;
    margin-left: 14px;
    margin-bottom: 14px;
}
.itemboxhover,
.itemboxhovericon {
    position: absolute;
    z-index: 10000000; /* Needs to be on top always */
}
.itemboxhoverhide {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
}
.itemboxhovernojs {
    display: none !important;
}
.itemboxhover {
    background-color: rgba(0,0,0,0.85);
}
.itemboxhovericon {
    display: block;
    background: radial-gradient(ellipse at center,  rgba(0,0,0,0.9) 0%,rgba(0,0,0,0) 70%,rgba(0,0,0,0) 100%); /* W3C */
}
.itemhover {
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

/* for [[Module:Item2]] */
.inline-infobox-hover {
    display:none;
    position: absolute;
    z-index: 10000000;
}
.inline-infobox-hover .item-box {
    float: left;
    display: inline-block;
}
.inline-infobox-hover .image {
    padding: 7px 12px;
}
.inline-infobox-container > a:first-child > img {
    height: 16px;
    width: auto;
}
.inline-infobox-container > a:last-child > img {
    height: auto;
    width: auto;
    display: block;
    margin: 0 auto;
}
.inline-infobox-container:hover > .inline-infobox-hover {
    display: inline-block;
    font-weight: normal;
    font-style: normal;
}
.infobox-page-container {
    display: flex;
    flex-direction: column;
    float: right;
    clear: right;
    margin-left: 14px;
}
.item-infobox__navbar {
    display: inline-block;
    margin: 0;
    text-align: right;
    line-height: unset;
}
.infobox-page-container > .item-box {
    margin-bottom: 1em;
}
.infobox-page-container em.header {
    font-style: normal;
    font-weight: bold;
    font-size: 1.3em;
    display: inline-block;
    margin-bottom: 0.5em;
}
.infobox-disabled-drop {
    color: red;
    font-weight: bold;
}

/* ===== Item hoverbox ([[Template:Item link]]) ===== */
.c-item-hoverbox {
    display: inline-block;
}
.c-item-hoverbox__display {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    padding: 8px;
    transition: opacity 0.25s;
}
.c-item-hoverbox__display.is-visible {
    visibility: visible;
    opacity: 1;
}
.c-item-hoverbox__display > .item-box + img {
    position: absolute;
    top: 0;
    left: 100%;
}
.c-item-hoverbox__display.is-left-of-activator > .item-box + img,
.c-item-hoverbox__display.is-above-activator.is-right-side-of-viewport > .item-box + img,
.c-item-hoverbox__display.is-below-activator.is-right-side-of-viewport > .item-box + img {
    left: auto;
    right: 100%;
}
.c-item-hoverbox__activator {
    display: flex;
    align-items: baseline;
}
.c-item-hoverbox--large .c-item-hoverbox__activator {
    flex-direction: column;
    align-items: stretch;
}

/* ===== Legacy variant tables ([[Template:Legacy variant table row]]) ===== */
.legacy-stats {
    font-family: "Fontin-SmallCaps", Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.857em;
    font-variant-ligatures: none;
    color: #55548c;
}
.legacy-stats .tc {
    font-size: 1.167em;
}

/* ===== Mod box ([[Template:Mod]]) ===== */
.modbox {
    float:right;
}
.modbox table {
    width: 100%;
    float: right;
    clear: both;
    margin: 0 0 0.8em 0;
}

/* ===== Skill progression table ([[Template:Skill progression]]) ===== */
.skill-progression-table {
    text-align: center;
}

/* ===== Skill quality table ([[Template:Skill quality]]) ===== */
.skill-quality-table {
    text-align: center;
}

/* ===== Item table ([[Template:Item table]]) ===== */
.item-table {
    text-align: center;
    max-width: 100%;
}

/* ===== Harvest crafting options table ([[Template:Harvest crafting options]]) ===== */
.harvest-crafting-options-table td:nth-child(n+2) {
    text-align: right;
}

/* ===== Math block ([[Template:Math]]) ===== */
.c-math-block {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.c-math-block__formula {
    flex: 1 0 auto;
}
.c-math-block__formula .mwe-math-fallback-image-display {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.c-math-block__ref {
    flex: 0 1 auto;
    font-weight: bold;
}

/* ===== Keyboard key ([[Template:Key press]]) ===== */
.keyboard-key {
    display: inline-block;
    position: relative;
    top: -3px;
    border-radius: 4px;
    padding: 0 5px;
    font-family: var(--monospace-font);
    font-size: 12px;
    line-height: 16px;
    font-weight: normal;
    color: #fff;
    white-space: nowrap;
    background-color: #4f4d4a;
    box-shadow: 0 3px #2f2e2c;
}

/* ===== Main page ===== */
.page-Path_of_Exile_Wiki .firstHeading {
    display: none !important;
}
.mainpage-header {
    margin-bottom: 32px;
    text-align: center;
}
.mainpage-header h1 {
    margin-bottom: 20px;
    border: none;
    line-height: 1.1 !important;
    color: #ffaf46 !important;
    text-shadow: 0px 0px 10px rgba(209, 28, 0, 1);
}
.mainpage-header .h1-1,
.mainpage-header .h1-2 {
    background: radial-gradient(ellipse at center, rgba(154,2,0,0.9) 0%,rgba(154,2,0,0) 65%,rgba(154,2,0,0) 100%);
}
.mainpage-header .h1-1  {
    font-size: 26px;
    letter-spacing: 0.07em;
}
.mainpage-header .h1-2 {
    padding: 0 0.2em;
    font-size: 38px;
    font-weight: bold;
    letter-spacing: 0.01em;
}
.mainpage-version {
    display: table;
    border-collapse: collapse;
    width: 100%;
}
.mainpage-version > div {
    display: table-cell;
    vertical-align: middle;
}
.mainpage-version > div:first-child {
    width: 100%;
}
.mainpage-version > div:last-child {
    text-align: center;
}
.mainpage-news {
    margin: -12px -0.7em;
}
.mainpage-news > div {
    display: table;
    border-collapse: separate;
    border-spacing: 12px 0.7em;
}
.mainpage-news > div > div {
    display: table-row;
}
.mainpage-news .date,
.mainpage-news .title {
    display: table-cell;
    vertical-align: middle;
}
.mainpage-news .date > div {
    border-radius: 6px;
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 122%;
    line-height: 1.1;
    background-color: #332f24;
}
.mainpage-skills {
    width: 100%;
    text-align: center;
}
.mainpage-skills tr + tr td {
    padding-top: 12px;
}
.mainpage-equipment {
    width: 100%;
    text-align: center;
}
.mainpage-equipment tr + tr td {
    padding-top: 12px;
}
.mainpage-acts {
    width: 100%;
}
.mainpage-acts td {
    vertical-align: top;
}
.mainpage-mechanics {
    width: 100%;
}
.mainpage-mechanics td {
    vertical-align: top;
}