@font-face {
    font-family: "Geometria";
    src: url("../../../template/fonts/Geometria/Geometria-Medium.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "PT Serif";
    src: url("../../../template/fonts/PTSerif/PTSerif-Bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

:root {
    --ink: #f4edef;
    --muted: #a79ca0;
    --faint: #73686d;
    --wine: #a82f42;
    --wine-bright: #d4475c;
    --gold: #c8a574;
    --panel: rgba(20, 13, 16, .92);
    --panel-soft: rgba(30, 20, 24, .78);
    --line: rgba(255, 255, 255, .085);
    --shadow: 0 28px 70px rgba(0, 0, 0, .38);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    min-height: 100%;
    width: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
    background: #10090c;
}

body {
    position: relative;
    z-index: 0;
    margin: 0;
    min-height: 100%;
    width: 100%;
    overflow-x: clip;
    color: var(--ink);
    background: #10090c;
    font: 14px/1.5 "Geometria", "Montserrat", Arial, sans-serif;
    transform: none !important;
    perspective: none !important;
    filter: none !important;
    will-change: auto !important;
}

.page-fixed-bg {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 635px;
    overflow: hidden;
    pointer-events: none;
    background: #10090c;
}

.page-fixed-bg__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
    user-select: none;
}

.page-fixed-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 6, 8, .02) 0, rgba(16, 9, 12, .68) 100%),
        linear-gradient(90deg, rgba(7, 5, 6, .44), rgba(25, 10, 15, .12) 50%, rgba(7, 5, 6, .48));
}

button,
input,
select {
    color: inherit;
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.sr-only {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.page-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background-image: none;
    transform: none !important;
    perspective: none !important;
    filter: none !important;
    will-change: auto !important;
}

.site-header {
    height: 84px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    background: rgba(13, 8, 10, .76);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    width: min(1440px, calc(100% - 64px));
    height: 100%;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    width: 176px;
}

.brand img {
    display: block;
    width: auto;
    height: 70px;
    max-height: none;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: stretch;
    gap: 40px;
    height: 100%;
    margin-left: 40px;
}

.site-nav a {
    position: relative;
    display: flex;
    align-items: center;
    color: #a99da1;
    font-size: 12px;
    letter-spacing: .13em;
    text-transform: uppercase;
    transition: color .2s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: -1px;
    left: 50%;
    height: 2px;
    background: var(--wine-bright);
    box-shadow: 0 0 16px rgba(212, 71, 92, .7);
    transition: inset .2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: #fff;
}

.site-nav a.active::after,
.site-nav a:hover::after {
    right: 0;
    left: 0;
}

.play-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: 146px;
    height: 44px;
    margin-left: auto;
    border: 1px solid rgba(212, 71, 92, .55);
    background: linear-gradient(180deg, rgba(167, 41, 60, .26), rgba(104, 25, 37, .15));
    color: #f7e9eb;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: .2s ease;
}

.play-link:hover {
    border-color: var(--wine-bright);
    background-color: rgba(168, 47, 66, .28);
}

.play-link svg {
    width: 17px;
}

main {
    min-height: calc(100vh - 220px);
}

.archive-hero {
    width: min(1440px, calc(100% - 64px));
    margin: 0 auto;
    padding: 82px 0 62px;
}

.archive-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #cbbac0;
    font-size: 10px;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.archive-hero__eyebrow span {
    width: 34px;
    height: 1px;
    background: var(--wine-bright);
    box-shadow: 0 0 9px rgba(212, 71, 92, .8);
}

.archive-hero__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-top: 15px;
}

.archive-hero h1 {
    margin: 0;
    font: 700 clamp(48px, 6vw, 86px)/.98 "PT Serif", Georgia, serif;
    letter-spacing: -.035em;
}

.archive-hero h1 em {
    color: var(--wine-bright);
    font-style: normal;
}

.archive-hero p {
    max-width: 660px;
    margin: 22px 0 0;
    color: #b0a4a8;
    font-size: 15px;
    line-height: 1.8;
}

.archive-stats {
    display: flex;
    align-items: center;
    gap: 27px;
    padding-bottom: 8px;
}

.archive-stats div {
    min-width: 116px;
}

.archive-stats strong {
    display: block;
    color: #fff;
    font: 700 29px/1 "PT Serif", Georgia, serif;
}

.archive-stats span {
    display: block;
    margin-top: 8px;
    color: #8d8185;
    font-size: 9px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.archive-stats i {
    width: 1px;
    height: 40px;
    background: var(--line);
}

.archive-app {
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(13, 8, 10, .74), rgba(14, 9, 11, .96) 320px);
    box-shadow: 0 -30px 80px rgba(0, 0, 0, .15);
}

.search-panel,
.class-filter,
.archive-layout {
    width: min(1440px, calc(100% - 64px));
    margin: 0 auto;
}

.search-panel {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 0 22px;
}

.search-field {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    height: 58px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(7, 5, 6, .66);
    box-shadow: inset 0 1px rgba(255, 255, 255, .025);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.search-field:focus-within {
    border-color: rgba(212, 71, 92, .58);
    box-shadow: 0 0 0 3px rgba(168, 47, 66, .08);
}

.search-field svg {
    width: 21px;
    margin-left: 21px;
    color: #867a7e;
}

.search-field input {
    flex: 1;
    height: 100%;
    min-width: 0;
    padding: 0 18px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 14px;
}

.search-field input::placeholder {
    color: #71676a;
}

.search-field kbd {
    display: grid;
    width: 25px;
    height: 25px;
    margin-right: 16px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 3px;
    background: rgba(255, 255, 255, .03);
    color: #766b6f;
    font: 11px "Geometria";
}

.clear-search {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: transparent;
    color: #8f8387;
    font-size: 23px;
    cursor: pointer;
}

.search-actions {
    display: flex;
    align-items: center;
    gap: 13px;
}

.cultivation-filter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 220px;
    height: 58px;
    padding: 0 13px;
    border: 1px solid var(--line);
    background: rgba(7, 5, 6, .66);
}

.cultivation-filter span {
    margin-bottom: 3px;
    color: #6f6468;
    font-size: 7px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.cultivation-filter select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: #110b0e;
    color: #c9bec1;
    font-size: 10px;
    cursor: pointer;
}

.icon-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 58px;
    padding: 0 17px;
    border: 1px solid var(--line);
    background: rgba(7, 5, 6, .66);
    color: #a89da1;
    font-size: 11px;
    cursor: pointer;
    white-space: nowrap;
}

.icon-toggle input {
    display: none;
}

.icon-toggle span {
    position: relative;
    width: 30px;
    height: 17px;
    border-radius: 20px;
    background: #33292d;
    transition: .2s ease;
}

.icon-toggle span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #93878b;
    transition: .2s ease;
}

.icon-toggle input:checked + span {
    background: #7f2636;
}

.icon-toggle input:checked + span::after {
    left: 16px;
    background: #fff;
}

.class-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 0 0 26px;
}

.class-filter__all,
.class-filter__class,
.class-filter__specials button {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 7px;
    background: rgba(255, 255, 255, .025);
    color: #a99da1;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.class-filter__all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 68px;
    height: 46px;
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.class-filter__all span {
    color: var(--wine-bright);
    font-size: 12px;
}

.class-filter__all strong {
    font-size: 9px;
    font-weight: 400;
}

.class-filter__races {
    display: flex;
    flex: 1 1 820px;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 13px;
    min-width: 0;
}

.class-filter__race {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-right: 13px;
    border-right: 1px solid rgba(255, 255, 255, .065);
}

.class-filter__race:last-child {
    padding-right: 0;
    border-right: 0;
}

.class-filter__class {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    padding: 2px;
    place-items: center;
    background:
        radial-gradient(circle at 50% 15%, rgba(255, 255, 255, .08), transparent 57%),
        rgba(15, 10, 12, .76);
}

.class-filter__class img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
    opacity: .58;
    filter: saturate(.72);
    transition: opacity .2s ease, filter .2s ease;
}

.class-filter__class span {
    position: absolute;
    z-index: 4;
    bottom: calc(100% + 8px);
    left: 50%;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 4px;
    background: #0d090b;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
    color: #d8cdd0;
    font-size: 8px;
    pointer-events: none;
    transform: translate(-50%, 4px);
    opacity: 0;
    white-space: nowrap;
    transition: opacity .16s ease, transform .16s ease;
}

.class-filter__specials {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    margin-left: 5px;
}

.class-filter__specials button {
    height: 34px;
    padding: 0 11px;
    font-size: 8px;
    letter-spacing: .04em;
}

.class-filter__all:hover,
.class-filter__class:hover,
.class-filter__specials button:hover {
    z-index: 3;
    border-color: rgba(255, 255, 255, .19);
    background-color: rgba(255, 255, 255, .055);
    color: #fff;
    transform: translateY(-1px);
}

.class-filter__class:hover img,
.class-filter__class.active img {
    opacity: 1;
    filter: saturate(1.08);
}

.class-filter__class:hover span {
    transform: translate(-50%, 0);
    opacity: 1;
}

.class-filter__all.active,
.class-filter__class.active,
.class-filter__specials button.active {
    border-color: rgba(205, 65, 86, .72);
    background-color: rgba(145, 38, 55, .2);
    color: #fff;
    box-shadow: 0 0 0 2px rgba(168, 47, 66, .1), 0 7px 18px rgba(100, 24, 37, .23);
}

.archive-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 24px;
    align-items: start;
    padding-bottom: 84px;
}

.results-panel {
    min-width: 0;
}

.results-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 53px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.results-toolbar > div:first-child {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding-bottom: 13px;
}

.results-toolbar__label {
    color: #6e6467;
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.results-toolbar strong {
    color: #d4c9cc;
    font-size: 11px;
    font-weight: 400;
}

.results-toolbar__meta {
    padding-bottom: 13px;
    color: #6f6568;
    font-size: 9px;
}

.results-toolbar__tools {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 9px;
}

.results-toolbar__tools .results-toolbar__meta {
    padding-bottom: 0;
}

.rune-type-filter {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    height: 36px;
    padding-left: 11px;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 4px;
    background: rgba(255, 255, 255, .022);
    transition: border-color .18s ease, background .18s ease;
}

.rune-type-filter.open {
    z-index: 20;
    border-color: rgba(194, 61, 81, .38);
    background: rgba(26, 16, 20, .96);
}

.rune-type-filter > span {
    color: #6f6468;
    font-size: 7px;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.glyph-type-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 154px;
    height: 34px;
    padding: 0 10px;
    background: #110b0e;
    color: #c9bec1;
    font-size: 9px;
    text-align: left;
    cursor: pointer;
}

.glyph-type-trigger > i,
.glyph-type-menu button > i {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    box-shadow: 0 0 8px currentColor;
}

.glyph-type-trigger b {
    overflow: hidden;
    flex: 1;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.glyph-type-trigger svg {
    width: 14px;
    transition: transform .18s ease;
}

.rune-type-filter.open .glyph-type-trigger svg {
    transform: rotate(180deg);
}

.glyph-type-menu {
    position: absolute;
    z-index: 40;
    top: calc(100% + 7px);
    right: 0;
    width: 190px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 5px;
    background: rgba(16, 10, 13, .985);
    box-shadow: 0 20px 42px rgba(0, 0, 0, .5);
}

.rune-type-filter.open-up .glyph-type-menu {
    top: auto;
    bottom: calc(100% + 7px);
}

.glyph-type-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 34px;
    padding: 0 9px;
    border-radius: 3px;
    background: transparent;
    font-size: 9px;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease;
}

.glyph-type-menu button:hover {
    background: rgba(255, 255, 255, .055);
}

.glyph-type-menu button.active {
    background: rgba(145, 38, 55, .17);
}

.glyph-type-menu button span {
    flex: 1;
    letter-spacing: .01em;
}

.glyph-type-menu button svg {
    width: 13px;
    color: #d66375;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.skill-card {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    height: 94px;
    padding: 14px 34px 14px 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .065);
    background: linear-gradient(135deg, rgba(31, 21, 25, .86), rgba(18, 12, 15, .92));
    color: #eee7e9;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.skill-card:hover {
    z-index: 2;
    border-color: rgba(255, 255, 255, .16);
    background: linear-gradient(135deg, rgba(43, 26, 31, .95), rgba(23, 14, 18, .95));
    transform: translateY(-2px);
}

.skill-card.selected {
    border-color: rgba(202, 62, 84, .72);
    background: linear-gradient(135deg, rgba(90, 28, 39, .52), rgba(30, 16, 21, .96));
    box-shadow: inset 0 0 25px rgba(150, 43, 60, .1);
}

.skill-card.has-rune {
    border-color: color-mix(in srgb, var(--rune-color, #c8a574) 13%, transparent);
    background:
        radial-gradient(circle at 0 50%, color-mix(in srgb, var(--rune-color, #c8a574) 4%, transparent), transparent 58%),
        linear-gradient(135deg, rgba(31, 21, 25, .9), rgba(18, 12, 15, .94));
    box-shadow: inset 0 0 20px color-mix(in srgb, var(--rune-color, #c8a574) 2%, transparent);
}

.skill-card.has-rune:hover {
    border-color: color-mix(in srgb, var(--rune-color, #c8a574) 30%, transparent);
    background:
        radial-gradient(circle at 0 50%, color-mix(in srgb, var(--rune-color, #c8a574) 8%, transparent), transparent 62%),
        linear-gradient(135deg, rgba(43, 26, 31, .96), rgba(23, 14, 18, .96));
}

.skill-card.has-rune.selected {
    border-color: color-mix(in srgb, var(--rune-color, #c8a574) 48%, transparent);
    background:
        radial-gradient(circle at 0 50%, color-mix(in srgb, var(--rune-color, #c8a574) 12%, transparent), transparent 66%),
        linear-gradient(135deg, rgba(46, 28, 34, .96), rgba(22, 14, 17, .98));
    box-shadow: inset 0 0 24px color-mix(in srgb, var(--rune-color, #c8a574) 5%, transparent);
}

.skill-card__edge {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    opacity: .4;
    background: var(--card-color, #a82f42);
    box-shadow: 0 0 8px var(--card-color, #a82f42);
}

.skill-icon {
    position: relative;
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    place-items: center;
    margin-right: 13px;
    border: 1px solid rgba(199, 170, 115, .25);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .28)),
        #1a1115;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .3), 0 8px 18px rgba(0, 0, 0, .3);
    color: #82515a;
    font-size: 21px;
}

.skill-icon::after {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(255, 255, 255, .055);
    pointer-events: none;
}

.skill-icon img {
    width: 48px;
    height: 48px;
    image-rendering: auto;
}

.skill-card.has-rune .skill-icon {
    border-color: color-mix(in srgb, var(--rune-color, #c8a574) 22%, transparent);
    box-shadow:
        inset 0 0 0 2px rgba(0, 0, 0, .35),
        0 8px 18px rgba(0, 0, 0, .3),
        0 0 12px color-mix(in srgb, var(--rune-color, #c8a574) 4%, transparent);
}

.skill-card__content {
    display: block;
    min-width: 0;
}

.skill-card__topline {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
    color: #71676a;
    font-size: 8px;
}

.class-tag {
    padding: 2px 5px 1px;
    border: 1px solid color-mix(in srgb, var(--class-color, #a82f42) 40%, transparent);
    background: color-mix(in srgb, var(--class-color, #a82f42) 11%, transparent);
    color: color-mix(in srgb, var(--class-color, #a82f42) 75%, white);
    font-size: 7px;
    letter-spacing: .05em;
}

.skill-card__content > strong {
    display: block;
    overflow: hidden;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.skill-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: #756a6e;
    font-size: 8px;
}

.skill-card__meta > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.skill-card__meta .rune-type-label {
    color: color-mix(in srgb, var(--rune-color, #c8a574) 42%, #8b7f83);
}

.skill-card__meta i {
    flex: 0 0 auto;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #6e2e39;
}

.skill-card__arrow {
    position: absolute;
    right: 12px;
    width: 13px;
    color: #5e5558;
    transition: .2s ease;
}

.skill-card:hover .skill-card__arrow,
.skill-card.selected .skill-card__arrow {
    color: var(--wine-bright);
    transform: translateX(2px);
}

.skill-card.has-rune:hover .skill-card__arrow,
.skill-card.has-rune.selected .skill-card__arrow {
    color: var(--rune-color, #c8a574);
}

.skill-card.skeleton {
    display: block;
    pointer-events: none;
}

.skeleton span,
.skeleton i,
.skeleton b {
    position: absolute;
    border-radius: 2px;
    background: linear-gradient(90deg, #22181b 15%, #312226 40%, #22181b 65%);
    background-size: 300% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton span {
    top: 17px;
    left: 17px;
    width: 55px;
    height: 55px;
}

.skeleton i {
    top: 24px;
    right: 27px;
    left: 87px;
    height: 12px;
}

.skeleton b {
    top: 49px;
    right: 50px;
    left: 87px;
    height: 8px;
}

@keyframes shimmer {
    to { background-position: -300% 0; }
}

.skill-inspector {
    position: -webkit-sticky;
    position: sticky;
    top: 22px;
    align-self: start;
    height: fit-content;
    min-height: 580px;
    max-height: calc(100vh - 44px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .08);
    background:
        radial-gradient(circle at 70% 0, rgba(132, 38, 53, .12), transparent 32%),
        linear-gradient(180deg, rgba(27, 17, 21, .98), rgba(13, 9, 11, .98));
    box-shadow: var(--shadow);
    scrollbar-color: #5e2631 transparent;
    scrollbar-width: thin;
}

.inspector-close {
    display: none;
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 13px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    color: #a5969b;
    font-size: 24px;
    cursor: pointer;
}

.inspector-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 580px;
    padding: 60px;
    color: #72676a;
    text-align: center;
}

.inspector-placeholder__sigil {
    display: grid;
    width: 82px;
    height: 82px;
    margin-bottom: 30px;
    place-items: center;
    border: 1px solid rgba(184, 57, 77, .25);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(147, 40, 56, .14), transparent 68%);
    color: #8f3040;
    font-size: 28px;
    box-shadow: 0 0 60px rgba(122, 31, 46, .12);
}

.inspector-placeholder span {
    font-size: 8px;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.inspector-placeholder h2 {
    margin: 10px 0;
    color: #a99ca0;
    font: 700 25px "PT Serif", Georgia, serif;
}

.inspector-placeholder p {
    max-width: 250px;
    margin: 0;
    font-size: 11px;
    line-height: 1.8;
}

.skeleton-block {
    display: block;
    border-radius: 2px;
    background: linear-gradient(90deg, #21171a 12%, #352428 38%, #21171a 64%);
    background-size: 300% 100%;
    animation: shimmer 1.45s ease-in-out infinite;
}

.inspector-skeleton {
    min-height: 580px;
}

.inspector-skeleton__profile {
    display: flex;
    gap: 18px;
    min-height: 134px;
    padding: 28px 26px 25px;
    border-bottom: 1px solid var(--line);
}

.inspector-skeleton__profile > div {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.inspector-skeleton__icon {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
}

.inspector-skeleton__eyebrow {
    width: 64px;
    height: 7px;
}

.inspector-skeleton__title {
    width: 72%;
    height: 23px;
    margin-top: 10px;
}

.inspector-skeleton__tags {
    display: flex;
    gap: 5px;
    margin-top: 11px;
}

.inspector-skeleton__tags i {
    width: 54px;
    height: 16px;
}

.inspector-skeleton__tags i:nth-child(2) {
    width: 68px;
}

.inspector-skeleton__tags i:nth-child(3) {
    width: 48px;
}

.inspector-skeleton__levels {
    min-height: 105px;
    padding: 22px 26px;
    border-bottom: 1px solid var(--line);
}

.inspector-skeleton__levels > span {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.inspector-skeleton__levels > span i:first-child {
    width: 96px;
    height: 9px;
}

.inspector-skeleton__levels > span i:last-child {
    width: 36px;
    height: 9px;
}

.inspector-skeleton__levels > div {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
}

.inspector-skeleton__levels > div i {
    height: 30px;
}

.inspector-skeleton__description {
    min-height: 270px;
    margin: 20px 18px;
    padding: 24px 18px 20px;
    border: 1px solid rgba(199, 166, 103, .12);
    background: #0b0809;
}

.inspector-skeleton__description > i {
    width: 100%;
    height: 10px;
    margin-top: 14px;
}

.inspector-skeleton__description .inspector-skeleton__ornament {
    width: 42%;
    height: 8px;
    margin: 0 auto 28px;
}

.inspector-skeleton__description .short {
    width: 58%;
}

.inspector-skeleton__description .medium {
    width: 78%;
}

.skill-inspector article {
    position: relative;
}

.skill-inspector article.is-refreshing > header,
.skill-inspector article.is-refreshing > section {
    opacity: .58;
}

.detail-refresh {
    position: absolute;
    z-index: 2;
    inset: 0;
    overflow: hidden;
    background: rgba(10, 7, 8, .12);
    pointer-events: none;
}

.detail-refresh span {
    position: sticky;
    top: 0;
    display: block;
    width: 32%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--wine-bright), transparent);
    box-shadow: 0 0 13px rgba(212, 71, 92, .65);
    animation: detail-progress 1s ease-in-out infinite;
}

@keyframes detail-progress {
    from { transform: translateX(-110%); }
    to { transform: translateX(420%); }
}

.skill-profile {
    position: relative;
    display: flex;
    gap: 18px;
    padding: 28px 26px 25px;
    border-bottom: 1px solid var(--line);
}

.skill-profile::after {
    content: "";
    position: absolute;
    right: 26px;
    bottom: -1px;
    width: 76px;
    height: 1px;
    background: var(--wine-bright);
}

.skill-profile__icon {
    position: relative;
    display: grid;
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    place-items: center;
    border: 1px solid rgba(201, 167, 106, .28);
    background: #110b0e;
    color: #8f3342;
    font-size: 27px;
    box-shadow: inset 0 0 0 3px #0a0708, 0 15px 28px rgba(0, 0, 0, .34);
}

.skill-profile__icon img {
    width: 64px;
    height: 64px;
    image-rendering: auto;
}

.skill-profile__id {
    color: #836e74;
    font-size: 8px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.skill-profile h2 {
    margin: 5px 0 9px;
    color: #fff;
    font: 700 23px/1.2 "PT Serif", Georgia, serif;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.profile-tags span,
.profile-tags i {
    padding: 3px 6px 2px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .025);
    color: #8d8185;
    font-size: 7px;
    font-style: normal;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.profile-tags span {
    border-color: color-mix(in srgb, var(--class-color, #a82f42) 42%, transparent);
    color: color-mix(in srgb, var(--class-color, #a82f42) 72%, white);
}

.profile-tags .profile-rune-type {
    border-color: color-mix(in srgb, var(--rune-color, #c8a574) 45%, transparent);
    color: color-mix(in srgb, var(--rune-color, #c8a574) 76%, white);
}

.level-panel {
    padding: 22px 26px;
    border-bottom: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.section-heading > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.section-heading span {
    color: var(--wine-bright);
    font-size: 8px;
    letter-spacing: .12em;
}

.section-heading strong {
    color: #d8ced1;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.section-heading b {
    color: #8e8185;
    font-size: 9px;
    font-weight: 400;
}

.level-buttons {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
}

.level-buttons button {
    height: 30px;
    border: 1px solid rgba(255, 255, 255, .075);
    background: rgba(255, 255, 255, .025);
    color: #887c80;
    font-size: 9px;
    cursor: pointer;
}

.level-buttons button:hover {
    border-color: rgba(255, 255, 255, .16);
    color: #fff;
}

.level-buttons button.active {
    border-color: #b23d50;
    background: linear-gradient(180deg, #a73347, #6e2130);
    color: #fff;
    box-shadow: 0 5px 16px rgba(141, 40, 57, .28);
}

.level-stepper {
    display: flex;
    align-items: stretch;
    gap: 5px;
}

.level-stepper > button {
    width: 38px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .035);
    color: #ae9fa4;
    cursor: pointer;
}

.level-stepper > button:disabled {
    opacity: .35;
    cursor: default;
}

.level-stepper label {
    flex: 1;
    padding: 6px 11px;
    border: 1px solid var(--line);
    background: rgba(8, 5, 7, .45);
}

.level-stepper label span {
    display: block;
    color: #6d6266;
    font-size: 7px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.level-stepper input {
    width: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 12px;
}

.level-stepper .max-level {
    width: 48px;
    border-color: rgba(184, 56, 76, .35);
    color: #c56b79;
    font-size: 8px;
    text-transform: uppercase;
}

.level-range {
    display: block;
    margin-top: 10px;
}

.level-range input {
    width: 100%;
    accent-color: #b43b4e;
}

.advanced-levels {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .055);
}

.advanced-levels label {
    flex: 1;
}

.advanced-levels span {
    display: block;
    margin-bottom: 5px;
    color: #706568;
    font-size: 7px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.advanced-levels select,
.advanced-levels input {
    width: 100%;
    height: 32px;
    padding: 0 9px;
    border: 1px solid var(--line);
    outline: 0;
    background: #110b0e;
    color: #cfc4c7;
    font-size: 10px;
}

.game-tooltip {
    position: relative;
    margin: 20px 18px;
    padding: 0 18px 20px;
    border: 1px solid rgba(199, 166, 103, .17);
    background:
        linear-gradient(135deg, rgba(187, 153, 91, .035), transparent 28%),
        #0b0809;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, .4);
}

.game-tooltip::before,
.game-tooltip::after {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    border-color: rgba(200, 163, 93, .5);
}

.game-tooltip::before {
    top: -1px;
    left: -1px;
    border-top: 1px solid;
    border-left: 1px solid;
}

.game-tooltip::after {
    right: -1px;
    bottom: -1px;
    border-right: 1px solid;
    border-bottom: 1px solid;
}

.game-tooltip__ornament {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 -2px 15px;
    transform: translateY(-1px);
}

.game-tooltip__ornament i {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 164, 98, .27));
}

.game-tooltip__ornament i:last-child {
    background: linear-gradient(90deg, rgba(201, 164, 98, .27), transparent);
}

.game-tooltip__ornament span {
    color: #8e7959;
    font-size: 7px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.game-tooltip__body {
    overflow-wrap: anywhere;
    color: #ded7d9;
    font-size: 11px;
    line-height: 1.7;
}

.formula-note {
    margin: 14px 0 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .05);
    color: #856f74;
    font-size: 8px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.pagination > button {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 0 10px;
    background: transparent;
    color: #8c8083;
    font-size: 11px;
    cursor: pointer;
}

.pagination > button:disabled {
    opacity: .3;
    cursor: default;
}

.pagination svg {
    width: 18px;
}

.pagination > div {
    display: flex;
    gap: 6px;
}

.pagination > div button {
    width: 40px;
    height: 40px;
    border: 1px solid transparent;
    background: transparent;
    color: #74696c;
    font-size: 11px;
    cursor: pointer;
}

.pagination > div button:hover:not(.ellipsis),
.pagination > div button.active {
    border-color: rgba(186, 57, 77, .5);
    background: rgba(136, 38, 53, .14);
    color: #fff;
}

.pagination > div button.ellipsis {
    cursor: default;
}

.empty-state,
.setup-error {
    min-height: 320px;
    border: 1px solid var(--line);
    background: rgba(15, 10, 12, .62);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.empty-state > span {
    color: #863040;
    font-size: 38px;
}

.empty-state h2 {
    margin: 10px 0 5px;
    font: 700 24px "PT Serif", Georgia, serif;
}

.empty-state p {
    margin: 0;
    color: #756a6e;
    font-size: 10px;
}

.empty-state button,
.setup-error button {
    margin-top: 20px;
    padding: 10px 16px;
    border: 1px solid rgba(190, 58, 79, .46);
    background: rgba(130, 36, 51, .15);
    color: #d7a3ab;
    font-size: 9px;
    cursor: pointer;
    text-transform: uppercase;
}

.setup-error {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 150px;
    padding: 26px;
}

.setup-error__mark {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid #863444;
    border-radius: 50%;
    color: #d6566a;
    font-size: 20px;
}

.setup-error > div {
    flex: 1;
}

.setup-error strong {
    color: #e2d8da;
    font-size: 12px;
}

.setup-error p {
    margin: 5px 0 0;
    color: #8a7e82;
    font-size: 9px;
}

.setup-error code {
    display: inline-block;
    margin-top: 9px;
    padding: 5px 8px;
    background: rgba(0, 0, 0, .24);
    color: #a8959b;
    font-size: 8px;
}

.setup-error button {
    margin: 0;
}

.archive-footer {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 116px;
    padding: 20px max(32px, calc((100% - 1440px) / 2));
    border-top: 1px solid var(--line);
    background:
        linear-gradient(rgba(13, 8, 10, .9), rgba(13, 8, 10, .95)),
        url("../../../template/images/bg/footer_smoke_bg_red.png") center / cover;
    color: #6e6467;
    font-size: 9px;
}

.archive-footer img {
    width: 92px;
    max-height: 50px;
    object-fit: contain;
    opacity: .65;
}

.archive-footer p {
    margin: 0;
}

.archive-footer a {
    margin-left: auto;
    color: #a09196;
    text-transform: uppercase;
}

.mobile-scrim {
    display: none;
}

@media (max-width: 1260px) {
    .skill-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .archive-layout {
        grid-template-columns: minmax(0, 1fr) 400px;
    }
}

@media (max-width: 1020px) {
    .site-header__inner,
    .archive-hero,
    .search-panel,
    .class-filter,
    .archive-layout {
        width: min(100% - 40px, 920px);
    }

    .site-nav {
        gap: 25px;
        margin-left: 20px;
    }

    .archive-layout {
        display: block;
    }

    .skill-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .skill-inspector {
        position: fixed;
        z-index: 30;
        top: 0;
        right: 0;
        bottom: auto;
        height: 100vh;
        height: 100dvh;
        width: min(470px, calc(100% - 36px));
        min-height: 0;
        max-height: 100vh;
        max-height: 100dvh;
        overflow-x: hidden;
        overflow-y: scroll;
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        padding-bottom: env(safe-area-inset-bottom, 0);
        border-top: 0;
        border-right: 0;
        border-bottom: 0;
        transform: translateX(105%);
        transition: transform .28s cubic-bezier(.2, .8, .2, 1);
    }

    .skill-inspector.visible {
        transform: translateX(0);
    }

    .skill-inspector .inspector-close {
        display: block;
    }

    .inspector-placeholder {
        display: none;
    }

    .mobile-scrim {
        position: fixed;
        z-index: 25;
        inset: 0;
        display: block;
        background: rgba(4, 2, 3, .72);
        backdrop-filter: blur(4px);
    }
}

@media (max-width: 790px) {
    .site-header {
        height: 70px;
    }

    .site-nav a:not(.active) {
        display: none;
    }

    .site-nav {
        margin-left: 0;
    }

    .brand {
        width: auto;
        margin-right: 30px;
    }

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

    .play-link {
        width: 115px;
        height: 39px;
    }

    .archive-hero {
        padding: 58px 0 45px;
    }

    .archive-hero__heading {
        display: block;
    }

    .archive-stats {
        margin-top: 30px;
    }

    .search-panel {
        display: block;
    }

    .search-actions {
        width: 100%;
        margin-top: 10px;
    }

    .cultivation-filter {
        flex: 1 1 auto;
        width: auto;
    }

    .skill-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .site-header__inner,
    .archive-hero,
    .search-panel,
    .class-filter,
    .archive-layout {
        width: calc(100% - 24px);
    }

    .site-nav {
        display: none;
    }

    .archive-hero h1 {
        font-size: 46px;
    }

    .archive-hero p {
        font-size: 13px;
    }

    .archive-stats {
        gap: 18px;
    }

    .search-actions {
        align-items: stretch;
    }

    .cultivation-filter {
        min-width: 0;
        padding: 0 10px;
    }

    .icon-toggle {
        flex: 0 0 auto;
        padding: 0 10px;
        font-size: 9px;
    }

    .class-filter {
        gap: 6px;
    }

    .class-filter__races {
        flex-basis: calc(100% - 68px);
        gap: 7px 9px;
    }

    .class-filter__race {
        gap: 4px;
        padding-right: 9px;
    }

    .class-filter__all {
        width: 60px;
        height: 40px;
    }

    .class-filter__class {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .class-filter__class span {
        display: none;
    }

    .class-filter__specials {
        flex-basis: 100%;
        justify-content: stretch;
        margin: 2px 0 0;
    }

    .class-filter__specials button {
        flex: 1 1 auto;
    }

    .results-toolbar__meta {
        display: none;
    }

    .results-toolbar__tools {
        padding-bottom: 10px;
    }

    .rune-type-filter {
        padding-left: 8px;
    }

    .rune-type-filter span {
        display: none;
    }

    .glyph-type-trigger {
        width: 132px;
    }

    .skill-grid {
        grid-template-columns: 1fr;
    }

    .skill-card {
        height: 88px;
    }

    .pagination > button span {
        display: none;
    }

    .pagination > button {
        min-width: 28px;
        min-height: 34px;
        padding: 0 4px;
    }

    .pagination > div button {
        width: 28px;
        height: 34px;
        font-size: 9px;
    }

    .archive-footer {
        display: grid;
        grid-template-columns: auto 1fr;
    }

    .archive-footer a {
        grid-column: 1 / -1;
        margin: 0;
    }

    .level-buttons {
        grid-template-columns: repeat(6, 1fr);
    }

    .inspector-skeleton__levels > div {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .skeleton span,
    .skeleton i,
    .skeleton b,
    .skeleton-block,
    .detail-refresh span {
        animation: none;
    }
}
