:root {

    /*--color-primary-lightest: rgb(224, 219, 218);
    --color-primary-light:    rgb(179, 96, 81);
    --color-primary:          rgb(98, 39, 29);
    --color-primary-dark:     rgb(49, 27, 23);*/

    --color-primary-lightest: rgb(224, 219, 218);
    --color-primary-light   : rgb(185, 185, 185);
    --color-primary         : rgb(95, 95, 95);
    --color-primary-dark    : rgb(54, 54, 54);

    --color-background            : rgb(31, 31, 31);
    --color-background-dark       : rgb(19, 19, 19);
    --color-background-dark-alt   : rgb(25, 25, 25);
    --color-background-transparent: rgb(31, 31, 31, 0.95);


    /*--color-defense: var(--color-primary-lightest);*/
    --color-skill        : rgb(202, 103, 219);
    --color-aura         : rgb(181, 147, 245);
    --color-skill-charges: rgb(242, 245, 64);
    --color-lightning    : rgb(245, 242, 64);
    --color-gold-find    : rgb(218, 211, 113);
    --color-magic-find   : rgb(85, 144, 255);
    --color-fire         : rgb(255, 127, 104);
    --color-poison       : rgb(0, 170, 42);
    --color-cold         : rgb(133, 210, 245);
    --color-mana         : rgb(76, 189, 241);
    --color-health       : rgb(251, 90, 90);
    --color-stat         : rgb(132, 189, 57);
    --color-negative     : rgb(248, 150, 163);
    --color-special      : rgb(251, 124, 65);
    --color-special-transparent      : rgba(251, 124, 65, 0.294);
    --color-skill-chance : rgb(221, 173, 109);
    --color-useless      : rgb(158, 158, 158);
}

* {
    padding   : 0;
    margin    : 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color      : var(--color-primary-lightest);
    background : var(--color-background);
    overflow-x : hidden;
}

a {
    border         : none;
    text-decoration: none;
    color          : var(--color-primary-light);
}

body > footer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 1.5rem;
    width: 100%;
    background: var(--color-background-dark);
    padding: 1em 0;
}

.aura {
    color: var(--color-aura);
}

.mana {
    color: var(--color-mana);
}

.health {
    color: var(--color-health);
}

.skill {
    color: var(--color-skill);
}

.lightning {
    color: var(--color-lightning);
}

.fire {
    color: var(--color-fire);
}

.cold {
    color: var(--color-cold);
}

.poison {
    color: var(--color-poison);
}

.skill-charges {
    color: var(--color-skill-charges);
}

.stat {
    color: var(--color-stat);
}

.negative {
    color: var(--color-negative);
}

.special {
    color: var(--color-special);
}

.gold-find {
    color: var(--color-gold-find);
}

.magic-find {
    color: var(--color-magic-find);
}

.skill-chance {
    color: var(--color-skill-chance);
}

.useless {
    color: var(--color-useless);
}








.m-top {
    margin-top: 0.5em;
}

.subnote {
    white-space: nowrap;
    font-size  : 0.8rem;
}

.main-header {
    display        : flex;
    justify-content: space-between;

    align-items: center;

    width: 100%;

    background-color: var(--color-primary-dark);

    box-shadow: 0em 0.1em 0.1em black;
}

.main-header h1 {
    padding    : 0.25em 0.5em;
    display    : flex;
    align-items: center;
}

.main-header h1 a {
    color: var(--color-primary-lightest)
}

.main-header h1 img {
    height      : 1em;
    margin-right: 0.25em;
}

.main-header nav {
    display      : flex;
    padding      : 0.5em;
}

.main-header nav a {
    display    : flex;
    align-items: center;

    font-size    : 1.5rem;
    cursor       : default;
    border-bottom: 0.3rem solid transparent;
    border-top   : 0.3rem solid transparent;
    padding      : 0;
    white-space: nowrap;
}


.main-header nav a.current,
.main-header nav a:hover {
    color        : var(--color-primary-lightest);
    border-bottom: 0.3rem solid var(--color-primary-lightest);

}

.main-header nav a.current {
    color        : var(--color-special);
    border-bottom: 0.2rem solid var(--color-special);

}

.main-header nav a:not(:last-of-type) {
    margin-right: 1em;
}


#runewords-page,
#runes-page,
section.note {
    margin   : 1em auto;
    padding  : 1em;
    max-width: 1640px;
    position : relative;
}

#runewords-page {
    align-items: flex-start;
}

section.note a {
    color: var(--color-special)
}
section.note a:hover {
    text-decoration: underline;
}
section.note,
section.note button,
.tooltip button,
.rune-tooltip button {
    border       : 0.1em solid var(--color-special);
    border-radius: 0.3em;
    font-style   : italic;
}

section.note footer {
    display        : flex;
    justify-content: space-between;
    align-items    : flex-end;
}


section.note button,
.tooltip button,
.rune-tooltip button {
    background  : none;
    color       : var(--color-special);
    border-color: var(--color-special);
    padding     : 0.4em;
    font-size   : 1.1rem;
    font-style  : normal;
}

section.note button:hover,
.tooltip button:hover,
.rune-tooltip button:hover {
    border-color: var(--color-aura);
    color       : var(--color-aura);
    right       : 0.8em;
    bottom      : 0.65em;
}

section.note h2,
section.note strong,
section.note em {
    color: var(--color-special);
}

section.note p {
    margin-top: 0.5em;
}


#runewords-page>section {
    padding      : 1em;
    flex-grow    : 1;
    background   : var(--color-primary-dark);
    border-radius: 0.2em;
    box-shadow   : 0.1em 0.1em 0.1em black;
}

#runewords-page>section>header {
    display        : flex;
    justify-content: space-between;
    flex-flow      : wrap;
}

#runewords-page>section>section {
    display        : flex;
    flex-flow      : row wrap;
    justify-content: center;
}

#runewords-page>section>header .search-resume-wrapper {
    width          : 100%;
    display        : flex;
    margin-top     : 0.5em;
    justify-content: space-between;
}

#runewords-page>section>header .search-resume-wrapper .checkbox {
    flex-grow: 0;
}

.search {
    width           : 20em;
    transition      : 0.5s;
    background-color: var(--color-background);
    color           : var(--color-primary-lightest);
    padding         : 0.25em 0.5em;
    border-radius   : 0.3em;
    border          : 0.2em solid var(--color-background-dark);
}

.search:focus,
.search:active {
    border-color: var(--color-primary-light);
    width       : 25em;
    outline     : none;
}


.runeword {
    position: relative;
    display     : flex;
    flex-flow   : column;
    padding     : 1em;
    margin-top  : 0.5em;
    margin-right: 0.5em;
    width       : 47%;
    max-width   : 26.25em;
    min-width   : 25em;
    text-align  : center;

    background-color: var(--color-background-dark);
    box-shadow      : 0.1em 0.1em 0.1em black;

    border-radius: 0.2em;
}

.runeword>header {
    display        : flex;
    align-items    : baseline;
    justify-content: space-between;
}
.runeword>.version {
    position: absolute;
    color: var(--color-special);
    top: -0.75rem;
    left: -0.5rem;
    border: 0.1rem solid var(--color-special);
    padding: 0.2rem 0.4rem;
    border-radius: 0.2rem;
    background: var(--color-background);
}

.runeword>.items {
    text-align: left;
}

.runeword>.runes {
    display        : inline-flex;
    justify-content: center;
    margin-top     : 0.75em;
}

.runeword>.mods {
    display        : flex;
    flex-flow      : column;
    justify-content: center;
    flex-grow      : 1;
    margin-top     : 0.75em;
    padding        : 0.5em 0.25em;
    border         : 0.1em solid rgb(26, 26, 26);
    border-radius  : 0.4em;
    min-height     : 0.5em;
}

.runeword>.abbreviations,
.runeword>abbr {
    display: none;
}

.runeword>header>h1 {
    font-size   : 1.33rem;
    margin-right: 0.2em;
}

.rune {
    background     : #222;
    border-radius  : 0.3em;
    margin-right   : 0.2em;
    padding        : 0.5em 0.4em 0.3em 0.4em;
    border         : 0.05em solid transparent;
    display        : flex;
    flex-flow      : column;
    justify-content: center;
    align-items    : center;
}

.rune.showing-help {
    border: 0.05em solid var(--color-useless);
}

.rune>img {
    width : 2em;
    margin: 0 0.1em;
}

.rune>span {
    margin-top: 0.2em;
}

.sidebar-nav {
    min-width    : 17em;
    max-width    : 17em;
    margin-right : 1em;
    padding      : 1em 0.5em;
    background   : var(--color-primary-dark);
    border-radius: 0.2em;

    box-shadow: 0.1em 0.1em 0.1em black;
}

.filter-box {
    margin-top   : 0.5em;
    padding      : 0.5em;
    border       : 0.1em solid var(--color-background);
    display      : flex;
    flex-flow    : row wrap;
    border-radius: 0.2em;
}

.filter-box>header {
    width          : 100%;
    display        : flex;
    justify-content: space-between;
    margin-bottom  : 0.2em;
    margin-bottom  : 0.5em;
    padding-bottom : 0.5em;
    border-bottom  : 0.1em solid var(--color-background);
}

.filter-box.rune-filter>header {
    display: block;
}

.filter-box.rune-filter>header>div {
    display: flex;
}

.filter-box>header>legend {
    font-size: 1.25em;
}

.filter-box>header>.checkbox>label {
    font-size: 0.9rem;
}

.checkbox {
    flex-grow: 1;
}

.checkbox--small {
    font-size: 0.8rem;
}

.checkbox>input {
    display: none;
}

.checkbox>label {
    font-size  : 1rem;
    display    : flex;
    align-items: center;
    position   : relative;
}

.checkbox>label.small {
    font-size: 1rem;
}

.checkbox>label:before {
    content           : '';
    -webkit-appearance: none;
    appearance        : none;
    background-color  : transparent;
    border            : 0.1em solid var(--color-primary-lightest);
    border-radius     : 0.2em;
    display           : inline-block;
    width             : 0.7em;
    min-width         : 0.7em;
    height            : 0.7em;
    margin-right      : 0.2em;
}

.filter-box>header>.checkbox {
    align-self     : flex-end;
    display        : flex;
    justify-content: flex-end;
}

.checkbox>label:hover:before,
.checkbox>input:checked+label:before {
    border-color: var(--color-special);
}

.checkbox>input:checked+label:before {
    box-shadow      : inset 0 0 0 0.1em var(--color-background);
    background-color: var(--color-special);
}

.checkbox.radio>label:before {
    border-radius: 50%;
}

.filter-box .checkbox {
    width: 50%;
}

.filter-box .checkbox.full-width {
    width: 100%;
}

.filter-box [for='rune-filter-check-all'] {
    padding-bottom: 0.3em;
    margin-bottom : 0.3em;
    border-bottom : 0.1em solid var(--color-background);
}

.full-width {
    width: 100%;
}

.rune-filter .checkbox {
    width: 30%;
}

.rune-filter img {
    width        : 1.5em;
    margin-top   : 0.2em;
    border       : 0.125em solid transparent;
    border-radius: 0.2em;
    padding      : 0.2em;
}

.rune-filter span {
    margin-top : 0.2em;
    font-size  : 0.9rem;
    margin-left: 0.2em;
}

.rune-filter .runes {
    display  : flex;
    flex-flow: row wrap;
}

.rune-filter .runes .checkbox:hover img {
    border          : 0.125em dashed var(--color-special);
    background-color: #fff1;
}

.rune-filter .runes .checkbox>label::before {
    display: none;
}

.rune-filter .runes .checkbox input:checked+label>img {
    border       : 0.125em solid var(--color-special);
    border-radius: 0.2em;
    padding      : 0.2em;
}

.rune-filter .runes .checkbox input:checked+label {
    color: var(--color-special);
}


.mods>div {
    border       : 0.05em solid transparent;
    border-radius: 0.2em;
    cursor       : default;

    width: 100%;
}

.mods>div.showing-help {
    border: 0.05em solid var(--color-useless);
}

.tooltip,
.rune-tooltip {
    transform     : scale(0);
    position      : absolute;
    left          : -3000px;
    top           : -3000px;
    background    : var(--color-background-transparent);
    padding       : 1em;
    text-align    : justify;
    max-width     : 25em;
    border-radius : 0.2em;
    box-shadow    : 0.1em 0.1em 0.2em black;
    transition    : 0.1s transform, 0.075s left, 0.075s top;
    pointer-events: none;
}

.tooltip>button,
.rune-tooltip>button {
    display   : none;
    margin    : 0 auto;
    margin-top: 1em;
}

.tooltip.big {
    max-width: 35em;
    font-size: 0.9rem;
}

.tooltip>div:first-child {
    text-align    : center;
    font-size     : 1.1em;
    font-weight   : bold;
    padding-bottom: 0.25em;
}

.tooltip>div:nth-child(2) {
    border-bottom: 0.1em solid var(--color-primary-light);
    border-top   : 0.1em solid var(--color-primary-light);
    margin       : 0.25em 0;
    padding      : 0.4em 0;
}

.row {
    display: flex;
}

.spaced {
    justify-content: space-between;
}

.formulae {
    text-align: center;
}

.extra-list {
    list-style: none;
}

.rune-list-header,
.rune-list {
    display: flex;
    width  : 100%;
}

.rune-list {
    flex-flow: column;
}

.rune-list>.runecard {
    display    : flex;
    flex-grow  : 1;
    text-align : center;
    align-items: stretch;
    margin-top : 0.5em;
}

.rune-list>.runecard:nth-child(odd)>div:first-child,
.rune-list>.runecard:nth-child(odd)>dt,
.rune-list>.runecard:nth-child(odd) dd>* {
    background: var(--color-background-dark-alt);
}

.rune-list-header>div,
.runecard .rune-number,
.runecard dt,
.runecard dd>div,
.runecard dd>.mods {
    background-color: var(--color-background-dark);
    margin-right    : 0.5rem;
    padding         : 0.5rem;
    border-radius   : 0.3rem;
    display         : flex;
    flex-flow       : column;
    justify-content : center;
    text-align      : center;
    align-items     : center;
}

.rune-list-header {
    padding      : 0.5em 0 0.25em;
    border-bottom: 0.1em solid var(--color-primary-light);
}

.runecard dt,
.rune-list-header>div {
    min-width: 4rem;
}

.rune-list-header>div:nth-child(3) {
    width: 4rem;
}

.rune-list-header>div:nth-child(4) {
    width    : 10%;
    flex-grow: 1;
    min-width: 10rem;
    position : relative;
}

.rune-list-header>div:nth-child(5),
.rune-list-header>div:nth-child(6) {
    width    : 5%;
    flex-grow: 0.5;
    min-width: 5rem;

    position: relative;
}

.rune-list-header>div:first-child,
.runecard .rune-number {
    min-width: 3rem;
}


.rune-list-header>div:nth-child(2),
.runecard .number .rune-list .runecard .level {
    min-width  : 4rem;
    flex-shrink: 0;
}

.runecard .rune-number {
    font-size: 1.5rem;
}

.runecard dt img {
    width: 1.5em;
}

.runecard .level {
    font-size: 1.5rem;
    width    : 4rem;
}

.runecard .mods {
    flex-grow: 1;
    width    : 10%;
}




.runecard dd {
    display        : flex;
    justify-content: space-between;
    width          : 100%;
}


.runecard dd .mods {
    display       : flex;
    flex-direction: column;
    min-width     : 10rem;
    padding-top   : 1em;

    position: relative;
}

.subskill {
    font-size: 1.1rem;
    font-weight: bold;
    font-style: italic;
    text-align: center;
    color: var(--color-aura);
    border-bottom: 0.2rem solid var(--color-aura);
}

.separator {
    margin: 0.4rem 0;
    border-bottom: 0.1rem solid var(--color-aura) !important;
}


.runecard dd .mods::before,
.rune-list-header>div:nth-child(5)::before,
.rune-list-header>div:nth-child(6)::before {
    content        : '';
    position       : absolute;
    top            : -0.25rem;
    left           : 0.2rem;
    height         : 1.25rem;
    background-size: 100% 100%;
    opacity        : 0.8;
}

.rune-list-header>div:nth-child(5)::before,
.rune-list-header>div:nth-child(6)::before {
    top: -0.9rem;
}

/*
.rune-list dd .rune-weapon-mods::before {
    left: calc(50% - 0.625rem);
    width: 1.25rem;
    background-image: url('./img/crossed-swords.svg');
}

.rune-list dd .rune-armor-mods::before {
    left: calc(50% - 1.625rem);
    width: 3.75rem;
    background-image: url('./img/armor-headgear-shield.svg');
}*/

.runecard dd .with-shield-only::before,
.rune-list-header>div:nth-child(6)::before {
    left            : calc(50% - 0.625rem);
    width           : 1.25rem;
    background-image: url('./img/checked-shield.svg');
}

.runecard dd .rune-armor-mods.with-shield-only::before,
.rune-list-header>div:nth-child(5)::before {
    left            : calc(50% - 1.25rem);
    width           : 2.5rem;
    background-image: url('./img/armor-headgear.svg');
}

.runecard dd .mods.with-shield-only {
    flex-grow: 0.5;
    width    : 5%;
    min-width: 5rem;
}



.open-filter {
    display      : none;
    padding      : 0.1em 0.3em;
    font-size    : 1.5rem;
    width        : 1.6em;
    height       : 1.5em;
    align-items  : center;
    position     : fixed;
    font-weight  : bold;
    top          : 0.4em;
    left         : 0.5em;
    z-index      : 1001;
    background   : var(--color-primary-dark);
    border-radius: 0.2em;
    border       : 0.1em solid var(--color-special);
    color        : var(--color-special);
}

.open-filter svg {
    width : 100%;
    height: 100%;
}

#open-filter-svg {
    fill: var(--color-special);
}

.open-filter svg:last-child {
    stroke : var(--color-special);
    display: none;
}

.open-filter.open svg:first-child {
    display: none;
}

.open-filter.open svg:last-child {
    display: block;
}

.darkener {
    display   : none;
    position  : fixed;
    left      : 0;
    top       : 0;
    width     : 100vw;
    height    : 100vh;
    background: #0006;
    z-index   : 999;
}

section.note {
    max-width: 1023px;
}

.page {
    display: none;
}

.current-page {
    display: flex;
}

.rune-tooltip.runecard {
    flex-direction: column;
    box-shadow: 0.2rem 0.2rem 0.1rem black;
    background: var(--color-background-dark);
    border: 0.1rem solid var(--color-special);
    padding: 0.5rem 0;
}

.rune-tooltip.runecard dt {
    width         : 100%;
    flex-direction: row;
    padding-bottom: 0;
    font-size: 1.25rem;
}

.rune-tooltip.runecard dt img {
    margin-right: 0.3em;
}

.rune-tooltip.runecard dd .level {
    width         : 100%;
    font-size     : 1.1rem;
    padding       : 0.2em 0.2em 0.75em 0.2em;
    flex-direction: row;
    border-bottom: 0.1rem solid var(--color-special-transparent);
    
}

.rune-tooltip.runecard dd .level::before {
    content     : 'Level required: ';
    margin-right: 0.2rem;
}

.rune-tooltip.runecard .mods,
.rune-tooltip.runecard dd .mods.with-shield-only {
    margin-top: 0.5rem;
    width    : 100%;
    max-width: none;
}

.rune-tooltip.runecard .mods:first-of-type {
    margin-top: 1rem;
}


.rune-tooltip.runecard:nth-child(odd)>dt,
.rune-tooltip.runecard:nth-child(even)>dt,
.rune-tooltip.runecard>dd>.level,
.rune-tooltip.runecard>dd>.mods:nth-child(odd) {
    background: var(--color-background-dark);
}

.rune-tooltip.runecard>dd>.mods:nth-child(even) {
    background: var(--color-background-dark-alt);
}

.rune-tooltip.runecard.same-mod-for-all-items>dd>.mods {
    background: var(--color-background-dark-alt);
    margin-top: 1rem;
}

.rune-tooltip.runecard dd {
    flex-flow: column;
    width    : 100%;
}

.rune-tooltip.runecard dd .rune-armor-mods::before {
    left            : calc(50% - 1.875rem);
    width           : 3.75rem;
    background-image: url('./img/armor-headgear-shield.svg');
}
.rune-tooltip.runecard dd .rune-weapon-mods::before {
    left            : calc(50% - 0.625rem);
    width           : 1.25rem;
    background-image: url('./img/crossed-swords.svg');
}
.rune-tooltip.runecard.same-mod-for-all-items .rune-weapon-mods {
    display: none;
}
.rune-tooltip.runecard.same-mod-for-all-items .rune-armor-mods::before {
    left            : calc(50% - 2.5rem);
    width           : 5rem;
    background-image: url('./img/all-gear.svg');
}

.rune-tooltip.runecard dd .rune-armor-mods.with-shield-only::before {
    left            : calc(50% - 1.25rem);
    width           : 2.5rem;
    background-image: url('./img/armor-headgear.svg');
}

.rune-tooltip.runecard .rune-number {
    display: none;
}

@media (max-width: 1620px) {
    #runewords-page {
        max-width: 1200px;
    }
}

@media (max-width: 1025px) {
    .main-header {
        min-height     : 3.5em;
        justify-content: flex-end;
    }

    .main-header h1 span {
        display: none;
    }
    .main-header h1 {
        width: 100%;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .main-header h1 img {
        align-self: flex-end;
        margin: 0;
    }


    .open-filter {
        display: flex;
    }

    .open-filter:hover {
        color       : var(--color-primary-lightest);
        border-color: var(--color-primary-lightest);
    }

    .open-filter:hover #open-filter-svg {
        fill: var(--color-primary-lightest);
    }

    .open-filter:hover svg {
        stroke: var(--color-primary-lightest);
    }

    #runewords-page,
    section.note {
        max-width: 100%;
    }

    #runewords-page {
        padding: 0.2em;
    }

    .sidebar-nav {
        position  : fixed;
        top       : 0;
        left      : -60em;
        height    : 100vh;
        overflow-y: scroll;
        max-width : 100vw;

        width     : 100%;
        width     : 25em;
        z-index   : 1000;
        transition: left 0.2s;
    }

    .sidebar-nav.open {
        left: 0
    }

    .sidebar-nav>h2 {
        text-align: right;
    }

    .sidebar-nav.open+.darkener {
        display: block;
    }

    #runewords-page>section {
        max-width    : 100%;
        padding      : 0.5em 0.3em;
        flex-grow    : 1;
        background   : var(--color-primary-dark);
        border-radius: 0.2em;
        box-shadow   : 0.1em 0.1em 0.1em black;
    }

    .runeword {
        max-width: 26em;
        min-width: 0;
        width    : 100%;

    }

    /*.filter-box {
        margin-top: 0.5em;
        padding: 0.5em;
        border: 0.1em solid var(--color-background);
        display  : flex;
        flex-flow: row wrap;
        border-radius: 0.2em;
    }
    .filter-box > header {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-bottom: 0.2em;
        margin-bottom: 0.5em;
        padding-bottom: 0.5em;
        border-bottom: 0.1em solid var(--color-background);
    }*/

    .filter-box.rune-filter .runes {
        display              : grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        width                : 100%;
    }

    .filter-box.rune-filter>header {
        display: block;
    }

    .filter-box.rune-filter>header>div {
        display: flex;
    }


    .filter-box.item-filter {
        display              : grid;
        grid-template-columns: 1fr 1fr;
    }

    .filter-box.item-filter>header {
        grid-column: 1 / span 2;
    }

    .filter-box.length-filter {
        display              : grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .filter-box.length-filter>header {
        grid-column: 1 / span 3;
    }



    .filter-box>header>legend {
        font-size: 1.25em;
    }

    .filter-box>header>.checkbox>label {
        font-size: 0.9rem;
    }

    .filter-box .checkbox {
        width    : auto;
        min-width: 25%;
    }
}


@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .main-header h1 {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .main-header h1 img {
        align-self: auto;
    }

    .filter-box.length-filter {
        grid-template-columns: 1fr 1fr;
    }

    .filter-box.length-filter>header {
        grid-column: 1 / span 2;
    }

    .tooltip,
    .rune-tooltip {
        position      : fixed;
        width         : 100%;
        max-width     : 100%;
        padding       : 1rem;
        border        : 0.1rem solid var(--color-special);
        max-height    : 100vh;
        pointer-events: initial;
        overflow-y: auto;

        /*min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;*/
    }

    .tooltip>button,
    .rune-tooltip>button {
        display: block;
    }

    .rune-list-header

    /*> div:first-child*/
    ,
    .runecard .rune-number {
        display: none;
    }

    .rune-list .runecard {
        margin-top    : 2em;
    }

    .runecard {
        flex-direction: column;
        box-shadow: 0.2rem 0.2rem 0.1rem black;
        background: var(--color-background-dark);
        border: 0.1rem solid var(--color-special-transparent);
        padding: 0.5rem 0;
    }

    .runecard dt {
        width         : 100%;
        flex-direction: row;
        padding-bottom: 0;
        font-size: 1.25rem;
    }

    .runecard dt img {
        margin-right: 0.3em;
    }

    .runecard dd .level {
        width         : 100%;
        font-size     : 1.1rem;
        padding       : 0.2em 0.2em 0.75em 0.2em;
        flex-direction: row;
        border-bottom: 0.1rem dotted var(--color-special);
        
    }

    .runecard dd .level::before {
        content     : 'Level required: ';
        margin-right: 0.2rem;
    }

    .runecard .mods,
    .runecard dd .mods.with-shield-only {
        margin-top: 0.5rem;
        width    : 100%;
        max-width: none;
    }

    .runecard .mods:first-of-type {
        margin-top: 1rem;
    }


    .rune-list>.runecard:nth-child(odd)>dt,
    .rune-list>.runecard:nth-child(even)>dt,
    .rune-list>.runecard>dd>.level,
    .rune-list>.runecard>dd>.mods:nth-child(odd) {
        background: var(--color-background-dark);
    }

    .rune-list>.runecard>dd>.mods:nth-child(even) {
        background: var(--color-background-dark-alt);
    }

    .rune-list>.runecard.same-mod-for-all-items>dd>.mods {
        background: var(--color-background-dark-alt);
        margin-top: 1rem;
    }

    .runecard dd {
        flex-flow: column;
        width    : 100%;
    }

    .runecard dd .rune-armor-mods::before {
        left            : calc(50% - 1.875rem);
        width           : 3.75rem;
        background-image: url('./img/armor-headgear-shield.svg');
    }
    .runecard dd .rune-weapon-mods::before {
        left            : calc(50% - 0.625rem);
        width           : 1.25rem;
        background-image: url('./img/crossed-swords.svg');
    }
    .runecard.same-mod-for-all-items .rune-weapon-mods {
        display: none;
    }
    .runecard.same-mod-for-all-items .rune-armor-mods::before {
        left            : calc(50% - 2.5rem);
        width           : 5rem;
        background-image: url('./img/all-gear.svg');
    }
    .runecard dd .rune-armor-mods.with-shield-only::before {
        left            : calc(50% - 1.25rem);
        width           : 2.5rem;
        background-image: url('./img/armor-headgear.svg');
    }
/*
    .rune-list dd .rune-armor-mods.with-shield-only::before,
    .rune-list-header>div:nth-child(5)::before {
        left            : calc(50% - 1.25rem);
        width           : 2.5rem;
        background-image: url('./img/armor-headgear.svg');
    }

    .rune-list dd .mods.with-shield-only {
        flex-grow: 0.5;
        width    : 5%;
        min-width: 5rem;
    }*/
}