/* ============================================================
   NOXARIS KNOWLEDGE BASE
   Scoped owner: .nx-kb
   ============================================================ */

.nx-kb {
    --nx-kb-gold: #b28a4d;
    --nx-kb-gold-soft: #d5b77a;
    --nx-kb-brown: #493525;
    --nx-kb-text: #55483d;
    --nx-kb-muted: #8a7765;
    --nx-kb-line: rgba(126, 91, 45, .28);
    --nx-kb-paper: rgba(245, 237, 216, .96);
    --nx-kb-paper-deep: rgba(231, 217, 187, .94);

    position: relative;
    max-width: 1280px;
    margin: 30px auto 70px;
    color: var(--nx-kb-text);
}


/* HERO */

.nx-kb__hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(126, 91, 45, .42);
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.66),
            rgba(226,210,177,.72)
        );
    box-shadow:
        0 10px 34px rgba(54, 37, 21, .13),
        inset 0 0 0 1px rgba(255,255,255,.55);
}.nx-kb__hero::before,
.nx-kb__hero::after {
    content: "";
    position: absolute;
    left: -24px;
    right: -24px;
    pointer-events: none;
    background-repeat: no-repeat;
    z-index: 2;
}.nx-kb__hero::before {
    top: -24px;
    height: 199.155px;
    background-image:
        url("/styles/noxaris/theme/images/noxaris/decor/02_corner_top_left.png"),
        url("/styles/noxaris/theme/images/noxaris/decor/03_corner_top_right.png");
    background-size:
        119.453px 134.4px,
        151.155px 151.155px;
    background-position:
        18px 18px,
        calc(100% - 13.299px) 9.321px;
}.nx-kb__hero::after {
    bottom: -24px;
    height: 199.155px;
    background-image:
        url("/styles/noxaris/theme/images/noxaris/decor/04_corner_bottom_left.png"),
        url("/styles/noxaris/theme/images/noxaris/decor/05_corner_bottom_right.png");
    background-size:
        151.155px 151.155px,
        124.395px 102.94px;
    background-position:
        15.094px calc(100% - 4.415px),
        calc(100% - 21px) calc(100% - 21px);
}

.nx-kb__hero-inner {
    position: relative;
    z-index: 1;
    padding: 42px 54px 38px;
    text-align: center;
}

.nx-kb__eyebrow {
    margin-bottom: 8px;
    color: #94713f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .24em;
}

.nx-kb__hero h1 {
    margin: 0;
    color: #503923;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    line-height: 1.15;
    font-weight: 400;
}

.nx-kb__hero p {
    max-width: 740px;
    margin: 14px auto 0;
    color: #786553;
    font-size: 14px;
    line-height: 1.7;
}

.nx-kb__private {
    display: inline-block;
    margin-top: 18px;
    padding: 7px 13px;
    border: 1px solid rgba(151, 108, 52, .25);
    background: rgba(255,255,255,.34);
    color: #87673e;
    font-size: 11px;
    letter-spacing: .06em;
}


/* LAYOUT */

.nx-kb__layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}


/* SIDEBAR */

.nx-kb__sidebar {
    position: sticky;
    top: 18px;
}

.nx-kb__sidebar-frame {
    position: relative;
    padding: 24px 18px 20px;
    border: 1px solid rgba(119, 84, 43, .36);
    background:
        linear-gradient(
            180deg,
            rgba(246,239,220,.97),
            rgba(232,219,190,.96)
        );
    box-shadow:
        0 8px 26px rgba(48, 31, 18, .12),
        inset 0 0 0 1px rgba(255,255,255,.55);
}.nx-kb__sidebar-frame::before,
.nx-kb__sidebar-frame::after {
    content: "";
    position: absolute;
    left: -24px;
    right: -24px;
    pointer-events: none;
    background-repeat: no-repeat;
    z-index: 2;
}.nx-kb__sidebar-frame::before {
    top: -24px;
    height: 141.212px;
    background-image:
        url("/styles/noxaris/theme/images/noxaris/decor/02_corner_top_left.png"),
        url("/styles/noxaris/theme/images/noxaris/decor/03_corner_top_right.png");
    background-size:
        73.663px 82.88px,
        93.212px 93.212px;
    background-position:
        20px 20px,
        calc(100% - 17.101px) 14.648px;
}.nx-kb__sidebar-frame::after {
    bottom: -24px;
    height: 141.212px;
    background-image:
        url("/styles/noxaris/theme/images/noxaris/decor/04_corner_bottom_left.png"),
        url("/styles/noxaris/theme/images/noxaris/decor/05_corner_bottom_right.png");
    background-size:
        93.212px 93.212px,
        76.71px 63.479px;
    background-position:
        17.358px calc(100% - 12.006px),
        calc(100% - 21px) calc(100% - 21px);
}

.nx-kb__sidebar-title {
    position: relative;
    z-index: 1;
    margin: 0 0 22px;
    padding: 0 0 13px;
    border-bottom: 1px solid rgba(135, 96, 47, .24);
    color: #4c3826;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    text-align: center;
}

.nx-kb__nav-group {
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.nx-kb__nav-group-title {
    margin-bottom: 7px;
    color: #9a794d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.nx-kb__sidebar a {
    position: relative;
    display: block;
    margin: 2px 0;
    padding: 7px 10px 7px 17px;
    border-left: 1px solid transparent;
    color: #655545;
    font-size: 12px;
    line-height: 1.35;
    text-decoration: none;
    transition:
        color .18s ease,
        background .18s ease,
        border-color .18s ease,
        padding-left .18s ease;
}

.nx-kb__sidebar a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 6px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(166, 124, 69, .48);
    transform: translateY(-50%);
}

.nx-kb__sidebar a:hover,
.nx-kb__sidebar a.is-active {
    padding-left: 20px;
    border-left-color: #b28a4d;
    background: rgba(255,255,255,.32);
    color: #8f672f;
}


/* ARTICLE */

.nx-kb__content {
    min-width: 0;
}

.nx-kb__section {
    position: relative;
    margin-bottom: 22px;
    padding: 34px 40px 38px;
    scroll-margin-top: 20px;
    border: 1px solid rgba(126, 91, 45, .32);
    background:
        linear-gradient(
            180deg,
            var(--nx-kb-paper),
            var(--nx-kb-paper-deep)
        );
    box-shadow:
        0 8px 28px rgba(56, 38, 21, .10),
        inset 0 0 0 1px rgba(255,255,255,.52);
}.nx-kb__section::before,
.nx-kb__section::after {
    content: "";
    position: absolute;
    left: -24px;
    right: -24px;
    pointer-events: none;
    background-repeat: no-repeat;
    z-index: 2;
}.nx-kb__section::before {
    top: -24px;
    height: 151.289px;
    background-image:
        url("/styles/noxaris/theme/images/noxaris/decor/02_corner_top_left.png"),
        url("/styles/noxaris/theme/images/noxaris/decor/03_corner_top_right.png");
    background-size:
        81.626px 91.84px,
        103.289px 103.289px;
    background-position:
        20px 20px,
        calc(100% - 16.788px) 14.07px;
}.nx-kb__section::after {
    bottom: -24px;
    height: 151.289px;
    background-image:
        url("/styles/noxaris/theme/images/noxaris/decor/04_corner_bottom_left.png"),
        url("/styles/noxaris/theme/images/noxaris/decor/05_corner_bottom_right.png");
    background-size:
        103.289px 103.289px,
        85.003px 70.342px;
    background-position:
        16.964px calc(100% - 11.034px),
        calc(100% - 21px) calc(100% - 21px);
}

.nx-kb__section-heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 18px;
}

.nx-kb__section-number {
    display: flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(151, 108, 52, .38);
    background: rgba(255,255,255,.33);
    color: #a17943;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
}

.nx-kb__section-kicker {
    margin-bottom: 3px;
    color: #a07c4c;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .18em;
}

.nx-kb__section h2 {
    margin: 0;
    color: #4e3926;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
}

.nx-kb__divider {
    position: relative;
    width: min(760px, 92%);
    height: 42px;
    margin: 14px auto 18px;
    background:
        url("/styles/noxaris/theme/images/noxaris/decor/07_gold_divider_small.png")
        center center / auto 28px
        no-repeat;
    opacity: .96;
}

.nx-kb__section p {
    position: relative;
    z-index: 1;
    margin: 10px 0;
    color: #645548;
    font-size: 13px;
    line-height: 1.75;
}

.nx-kb__lead {
    color: #4f4034 !important;
    font-size: 14px !important;
}

.nx-kb__info {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    padding: 14px 16px;
    border-left: 3px solid #b28a4d;
    background: rgba(255,255,255,.38);
    color: #675441;
    font-size: 12px;
    line-height: 1.6;
}


/* STEPS */

.nx-kb__steps {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
}

.nx-kb__step {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 13px;
    padding: 14px 15px;
    border: 1px solid rgba(126, 91, 45, .18);
    background: rgba(255,255,255,.28);
}

.nx-kb__step > span {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(160, 117, 59, .38);
    color: #9c743e;
    font-family: Georgia, "Times New Roman", serif;
}

.nx-kb__step strong {
    display: block;
    margin: 1px 0 3px;
    color: #59442f;
    font-size: 13px;
}

.nx-kb__step p {
    margin: 0;
    font-size: 12px;
}


/* CARDS */

.nx-kb__cards {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.nx-kb__mini-card {
    padding: 16px;
    border: 1px solid rgba(126, 91, 45, .2);
    background: rgba(255,255,255,.30);
}

.nx-kb__mini-card strong,
.nx-kb__mini-card span {
    display: block;
}

.nx-kb__mini-card strong {
    margin-bottom: 5px;
    color: #59402b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
}

.nx-kb__mini-card span {
    color: #86725e;
    font-size: 11px;
}


/* TABLE */

.nx-kb__table {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 16px;
    border-collapse: collapse;
    background: rgba(255,255,255,.25);
}

.nx-kb__table th,
.nx-kb__table td {
    padding: 12px 14px;
    border: 1px solid rgba(126, 91, 45, .18);
    text-align: left;
    vertical-align: top;
}

.nx-kb__table th {
    background: rgba(149, 109, 55, .09);
    color: #624a32;
    font-size: 11px;
    letter-spacing: .04em;
}

.nx-kb__table td {
    color: #685748;
    font-size: 12px;
}


/* FAQ */

.nx-kb__faq {
    position: relative;
    z-index: 1;
    margin: 9px 0;
    border: 1px solid rgba(126, 91, 45, .2);
    background: rgba(255,255,255,.27);
}

.nx-kb__faq summary {
    padding: 13px 15px;
    cursor: pointer;
    color: #5a432e;
    font-size: 12px;
    font-weight: 600;
}

.nx-kb__faq p {
    margin: 0;
    padding: 0 15px 15px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .nx-kb {
        margin-top: 18px;
    }

    .nx-kb__layout {
        grid-template-columns: 1fr;
    }

    .nx-kb__sidebar {
        position: static;
    }

    .nx-kb__sidebar-frame {
        padding: 20px;
    }

    .nx-kb__nav-group {
        display: inline-block;
        width: calc(50% - 10px);
        margin-right: 6px;
        vertical-align: top;
    }

    .nx-kb__section {
        padding: 28px 26px 30px;
    }

}

@media (max-width: 600px) {

    .nx-kb__hero-inner {
        padding: 34px 22px 30px;
    }

    .nx-kb__hero h1 {
        font-size: 31px;
    }

    .nx-kb__nav-group {
        display: block;
        width: auto;
        margin-right: 0;
    }

    .nx-kb__section {
        padding: 24px 18px 26px;
    }

    .nx-kb__section-heading {
        gap: 12px;
    }

    .nx-kb__section-number {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .nx-kb__section h2 {
        font-size: 21px;
    }

    .nx-kb__cards {
        grid-template-columns: 1fr;
    }

    .nx-kb__table {
        display: block;
        overflow-x: auto;
    }

}


/* ==========================================================
   NOXARIS KNOWLEDGE BASE — EDITOR UI V1
   ========================================================== */

.nx-kb__section-tools {
    position: relative;
    z-index: 4;
    display: flex;
    justify-content: flex-end;
    height: 0;
    transform: translateY(-12px);
}

.nx-kb__edit-button,
.nx-kb__editor-save,
.nx-kb__editor-cancel {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 15px;
    border: 1px solid rgba(157, 112, 55, .46);
    border-radius: 2px;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.78),
            rgba(236,224,201,.82)
        );
    box-shadow:
        0 1px 0 rgba(255,255,255,.76) inset,
        0 2px 7px rgba(72,47,24,.08);
    color: #73532d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.nx-kb__edit-button:hover,
.nx-kb__editor-save:hover,
.nx-kb__editor-cancel:hover {
    border-color: rgba(143,94,37,.72);
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.94),
            rgba(230,211,178,.90)
        );
    color: #54391d;
    text-decoration: none;
}

.nx-kb__save-notice {
    margin: 0 0 18px;
    padding: 10px 14px;
    border: 1px solid rgba(125,144,80,.36);
    background: rgba(239,244,222,.78);
    color: #5f6b3c;
    font-size: 12px;
    text-align: center;
}

.nx-kb__editor {
    position: relative;
    z-index: 4;
    margin: 2px 0 0;
    padding: 18px;
    border: 1px solid rgba(154,113,62,.28);
    background: rgba(255,255,255,.34);
}

.nx-kb__editor-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.nx-kb__editor-wide {
    grid-column: 1 / -1;
}

.nx-kb__editor label {
    display: block;
}

.nx-kb__editor label > span {
    display: block;
    margin: 0 0 6px;
    color: #745a3a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

.nx-kb__editor input,
.nx-kb__editor textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid rgba(143,104,57,.34);
    border-radius: 2px;
    background: rgba(255,255,255,.82);
    box-shadow:
        0 1px 3px rgba(63,39,20,.06) inset;
    color: #4d3e32;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    font-size: 13px;
    outline: none;
}

.nx-kb__editor input {
    height: 36px;
    padding: 7px 9px;
}

.nx-kb__editor textarea {
    min-height: 330px;
    padding: 11px;
    line-height: 1.55;
    resize: vertical;
    white-space: pre-wrap;
}

.nx-kb__editor input:focus,
.nx-kb__editor textarea:focus {
    border-color: rgba(158,111,48,.74);
    box-shadow:
        0 0 0 2px rgba(187,146,82,.10);
}

.nx-kb__editor-content {
    margin-top: 16px;
}

.nx-kb__editor-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
}

.nx-kb__editor-save {
    appearance: none;
}

@media (max-width: 600px) {

    .nx-kb__editor-grid {
        grid-template-columns: 1fr;
    }

    .nx-kb__editor-wide {
        grid-column: auto;
    }

    .nx-kb__editor {
        padding: 14px;
    }

    .nx-kb__editor textarea {
        min-height: 260px;
    }
}


/* ==========================================================
   NOXARIS KNOWLEDGE BASE — VISUAL EDITOR V2
   ========================================================== */

.nx-kb__editor-label {
    display: block;
    margin: 0 0 6px;
    color: #745a3a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

.nx-kb__visual-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    padding: 8px;
    border: 1px solid rgba(143,104,57,.34);
    border-bottom: 0;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.80),
            rgba(239,228,207,.72)
        );
}

.nx-kb__visual-toolbar button,
.nx-kb__format-select {
    box-sizing: border-box;
    min-height: 30px;
    border: 1px solid rgba(145,105,58,.32);
    border-radius: 2px;
    background: rgba(255,255,255,.78);
    color: #60482c;
    font-size: 12px;
}

.nx-kb__visual-toolbar button {
    min-width: 32px;
    padding: 5px 9px;
    cursor: pointer;
}

.nx-kb__visual-toolbar button:hover,
.nx-kb__format-select:hover {
    border-color: rgba(150,102,43,.68);
    background: #fffaf0;
}

.nx-kb__format-select {
    min-width: 150px;
    padding: 4px 28px 4px 8px;
}

.nx-kb__toolbar-separator {
    width: 1px;
    height: 22px;
    margin: 0 2px;
    background: rgba(142,105,61,.24);
}

.nx-kb__visual-editor {
    box-sizing: border-box;
    min-height: 360px;
    max-height: 650px;
    overflow-y: auto;
    padding: 20px;
    border: 1px solid rgba(143,104,57,.34);
    background: rgba(255,255,255,.88);
    box-shadow:
        0 1px 4px rgba(63,39,20,.05) inset;
    color: #5a4938;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    font-size: 13px;
    line-height: 1.65;
    outline: none;
}

.nx-kb__visual-editor:focus {
    border-color: rgba(158,111,48,.72);
    box-shadow:
        0 0 0 2px rgba(187,146,82,.10),
        0 1px 4px rgba(63,39,20,.05) inset;
}

.nx-kb__visual-editor:empty::before {
    content: attr(data-placeholder);
    color: rgba(92,73,53,.45);
    pointer-events: none;
}

.nx-kb__visual-editor p {
    margin: 0 0 12px;
}

.nx-kb__visual-editor h3 {
    margin: 18px 0 9px;
    color: #5f452b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 400;
}

.nx-kb__visual-editor h4 {
    margin: 15px 0 7px;
    color: #715333;
    font-size: 15px;
    font-weight: 700;
}

.nx-kb__visual-editor blockquote {
    margin: 14px 0;
    padding: 10px 14px;
    border-left: 3px solid rgba(182,133,69,.64);
    background: rgba(244,235,215,.58);
}

.nx-kb__visual-editor ul,
.nx-kb__visual-editor ol {
    margin: 10px 0 14px 24px;
}

.nx-kb__visual-editor li {
    margin: 4px 0;
}

.nx-kb__visual-editor .nx-kb__steps,
.nx-kb__visual-editor .nx-kb__cards,
.nx-kb__visual-editor .nx-kb__info,
.nx-kb__visual-editor .nx-kb__table {
    margin-top: 14px;
    margin-bottom: 14px;
}

.nx-kb__editor-source {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.nx-kb__editor-hint {
    margin-top: 8px;
    color: #8c775e;
    font-size: 11px;
}

@media (max-width: 600px) {

    .nx-kb__visual-toolbar {
        gap: 4px;
    }

    .nx-kb__format-select {
        min-width: 135px;
    }

    .nx-kb__visual-editor {
        min-height: 300px;
        padding: 14px;
    }
}


/* ==========================================================
   NOXARIS KNOWLEDGE BASE — JODIT PROFESSIONAL EDITOR V3
   ========================================================== */

.nx-kb__editor-content .jodit-container {
    border-color: rgba(143, 104, 57, .35) !important;
    border-radius: 2px !important;
    background: rgba(255, 255, 255, .88);
    box-shadow:
        0 2px 8px rgba(74, 49, 25, .06);
}

.nx-kb__editor-content .jodit-toolbar__box {
    border-color: rgba(143, 104, 57, .28) !important;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.94),
            rgba(239,228,207,.84)
        ) !important;
}

.nx-kb__editor-content .jodit-toolbar-button__button {
    border-radius: 2px;
}

.nx-kb__editor-content
.jodit-toolbar-button__button:hover {
    background: rgba(225, 205, 169, .50) !important;
}

.nx-kb__editor-content .jodit-workplace {
    background: rgba(255,255,255,.96);
}

.nx-kb__editor-content .jodit-wysiwyg {
    padding: 20px !important;
    color: #574737;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    font-size: 13px;
    line-height: 1.65;
}

.nx-kb__editor-content .jodit-wysiwyg p {
    margin: 0 0 12px;
}

.nx-kb__editor-content .jodit-wysiwyg h3 {
    margin: 18px 0 9px;
    color: #5f452b;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 20px;
}

.nx-kb__editor-content .jodit-wysiwyg h4 {
    margin: 15px 0 7px;
    color: #715333;
    font-size: 15px;
}

.nx-kb__editor-content .jodit-wysiwyg blockquote {
    margin: 14px 0;
    padding: 10px 14px;
    border-left: 3px solid rgba(182,133,69,.64);
    background: rgba(244,235,215,.58);
}

.nx-kb__editor-content .jodit-wysiwyg table {
    width: 100%;
    border-collapse: collapse;
}

.nx-kb__editor-content .jodit-wysiwyg th,
.nx-kb__editor-content .jodit-wysiwyg td {
    padding: 8px 10px;
    border: 1px solid rgba(150,113,68,.30);
}

.nx-kb__editor-content .jodit-status-bar {
    border-color: rgba(143,104,57,.24) !important;
    background: rgba(244,236,219,.68) !important;
}

/*
 * Старый V2 больше не используется.
 * Эти правила гарантируют, что его случайные элементы
 * не появятся при старом browser cache.
 */
.nx-kb__visual-toolbar,
.nx-kb__visual-editor,
.nx-kb__editor-source {
    display: none !important;
}

@media (max-width: 600px) {

    .nx-kb__editor-content .jodit-wysiwyg {
        padding: 14px !important;
    }
}


/* ==========================================================
   NOXARIS KNOWLEDGE BASE — ONE-PAGE V1
   ========================================================== */

.nx-kb__article {
    position: relative;
    overflow: hidden;
    padding: 0 34px 42px;
    border: 1px solid rgba(159, 117, 65, .36);
    background:
        linear-gradient(
            180deg,
            rgba(253,248,236,.96),
            rgba(247,237,215,.95)
        );
    box-shadow:
        0 8px 28px rgba(79, 54, 30, .09);
}

.nx-kb__article::before,
.nx-kb__article::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.nx-kb__article::before {
    inset: 0 0 auto;
    height: 150px;
    background:
        linear-gradient(
            180deg,
            rgba(221,193,145,.14),
            transparent
        );
}

.nx-kb__article-intro {
    position: relative;
    z-index: 2;
    padding: 38px 20px 32px;
    text-align: center;
    border-bottom: 1px solid rgba(163,119,61,.24);
}

.nx-kb__article-intro > span {
    display: block;
    margin-bottom: 8px;
    color: #a17a46;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .24em;
}

.nx-kb__article-intro h1 {
    margin: 0;
    color: #57402b;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 32px;
    font-weight: 400;
}

.nx-kb__article-intro p {
    max-width: 720px;
    margin: 13px auto 0;
    color: #7e6c58;
    font-size: 13px;
    line-height: 1.65;
}

.nx-kb__article-section {
    position: relative;
    z-index: 2;
    padding: 34px 0 10px;
    scroll-margin-top: 120px;
}

.nx-kb__article-section
+ .nx-kb__article-section {
    margin-top: 18px;
    border-top: 1px solid rgba(171,129,74,.22);
}

.nx-kb__article-heading {
    margin-bottom: 22px;
}

.nx-kb__article-kicker {
    margin-bottom: 5px;
    color: #a27b46;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.nx-kb__article-heading h2 {
    position: relative;
    margin: 0;
    padding: 11px 18px;
    border-left: 3px solid #c8954b;
    background:
        linear-gradient(
            90deg,
            rgba(226,199,153,.38),
            rgba(246,235,211,.16)
        );
    color: #5b432c;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 23px;
    font-weight: 400;
}

.nx-kb__article-body {
    color: #655443;
    font-size: 13px;
    line-height: 1.68;
}

.nx-kb__article-body > :first-child {
    margin-top: 0;
}

.nx-kb__article-body > :last-child {
    margin-bottom: 0;
}

.nx-kb__article-body p {
    margin: 0 0 13px;
}

.nx-kb__article-body .nx-kb__table {
    margin: 18px 0 24px;
}

.nx-kb__article-body .nx-kb__cards,
.nx-kb__article-body .nx-kb__steps {
    margin: 18px 0 24px;
}

/*
 * Старые отдельные карточки и editor UI в ONE-PAGE
 * больше не используются.
 */
.nx-kb__content > .nx-kb__section,
.nx-kb__section-tools,
.nx-kb__editor,
.nx-kb__save-notice {
    display: none;
}

@media (max-width: 800px) {

    .nx-kb__article {
        padding-left: 20px;
        padding-right: 20px;
    }

    .nx-kb__article-intro {
        padding-left: 5px;
        padding-right: 5px;
    }

    .nx-kb__article-intro h1 {
        font-size: 27px;
    }

    .nx-kb__article-heading h2 {
        font-size: 20px;
    }
}


/* ==========================================================
   NOXARIS KNOWLEDGE BASE — ONE-PAGE V2
   ========================================================== */

.nx-kb__article {
    padding-top: 18px;
}

.nx-kb__article-section:first-of-type {
    padding-top: 16px;
}

.nx-kb__article-section
+ .nx-kb__article-section {
    margin-top: 10px;
}

.nx-kb__article-heading {
    margin-bottom: 18px;
}

.nx-kb__article-heading h2 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.nx-kb__article-body .nx-kb__info {
    margin: 16px 0 22px;
    padding: 14px 16px;
    border-left: 3px solid #c7964c;
    background:
        linear-gradient(
            90deg,
            rgba(235,216,182,.48),
            rgba(250,245,233,.65)
        );
    color: #66513b;
}

.nx-kb__article-body .nx-kb__info strong {
    color: #5b422b;
}

.nx-kb__article-body .nx-kb__table {
    overflow: hidden;
    border: 1px solid rgba(156,116,67,.24);
    background: rgba(255,255,255,.28);
}

.nx-kb__article-body .nx-kb__table th {
    background: rgba(224,198,157,.34);
}

.nx-kb__article-body .nx-kb__table tbody tr:nth-child(even) td {
    background: rgba(255,255,255,.20);
}


/* ==========================================================
   NOXARIS KNOWLEDGE BASE — ONE-PAGE V3 DECOR
   ========================================================== */

/*
 * Между крупными разделами не сжимаем пространство,
 * а превращаем его в декоративную паузу.
 */
.nx-kb__article-section
+ .nx-kb__article-section {
    position: relative;
    margin-top: 12px;
    padding-top: 58px;
    border-top: 0;
}

.nx-kb__article-section
+ .nx-kb__article-section::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    width: min(520px, 72%);
    height: 28px;
    transform: translateX(-50%);
    background:
        url("/styles/noxaris/theme/images/noxaris/decor/07_gold_divider_small.png")
        center center / auto 20px
        no-repeat;
    opacity: .78;
    pointer-events: none;
}

/*
 * Заголовок подраздела становится частью общего полотна,
 * а не отдельной карточкой.
 */
.nx-kb__article-heading {
    position: relative;
    margin-bottom: 20px;
}

.nx-kb__article-heading::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 7px;
    background:
        linear-gradient(
            90deg,
            rgba(191,143,75,.46),
            rgba(191,143,75,.14) 55%,
            transparent
        );
}

.nx-kb__article-heading h2 {
    position: relative;
    overflow: hidden;
    padding: 11px 20px 12px;
    border-left: 3px solid #c8954b;
    background:
        linear-gradient(
            90deg,
            rgba(226,199,153,.46) 0%,
            rgba(241,224,193,.28) 42%,
            rgba(250,246,236,.10) 100%
        );
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.54);
}

.nx-kb__article-heading h2::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 100%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.20)
        );
    pointer-events: none;
}

.nx-kb__article-kicker {
    position: relative;
    padding-left: 1px;
}

/*
 * Таблицы — чуть глубже и аккуратнее,
 * но без превращения в отдельные огромные карточки.
 */
.nx-kb__article-body .nx-kb__table {
    position: relative;
    margin: 20px 0 24px;
    border: 1px solid rgba(157,116,66,.30);
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.37),
            rgba(249,241,225,.27)
        );
    box-shadow:
        0 3px 12px rgba(83,56,29,.035),
        inset 0 1px 0 rgba(255,255,255,.56);
}

.nx-kb__article-body .nx-kb__table th {
    background:
        linear-gradient(
            180deg,
            rgba(226,199,156,.45),
            rgba(234,213,178,.28)
        );
    color: #60492f;
}

.nx-kb__article-body .nx-kb__table td {
    border-color: rgba(155,117,71,.19);
}

.nx-kb__article-body .nx-kb__table tbody tr:hover td {
    background: rgba(229,207,170,.16);
}

/*
 * Информационные вставки получают небольшой золотой акцент.
 */
.nx-kb__article-body .nx-kb__info {
    position: relative;
    overflow: hidden;
    margin: 18px 0 22px;
    padding: 14px 18px;
    border: 1px solid rgba(168,126,70,.15);
    border-left: 3px solid #c8954b;
    background:
        linear-gradient(
            90deg,
            rgba(237,218,184,.48),
            rgba(251,247,237,.68)
        );
}

.nx-kb__article-body .nx-kb__info::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 110px;
    height: 100%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(219,187,133,.10)
        );
    pointer-events: none;
}

/*
 * Первый раздел не получает разделитель сверху:
 * он начинает полотно сразу после верхней границы.
 */
.nx-kb__article-section:first-of-type {
    padding-top: 20px;
}

/*
 * На узком экране орнамент становится компактнее.
 */
@media (max-width: 800px) {

    .nx-kb__article-section
    + .nx-kb__article-section {
        padding-top: 50px;
    }

    .nx-kb__article-section
    + .nx-kb__article-section::before {
        width: 78%;
        background-size: auto 17px;
    }

    .nx-kb__article-heading h2 {
        padding-left: 15px;
        padding-right: 15px;
    }
}


/* ==========================================================
   NOXARIS KNOWLEDGE BASE — ONE-PAGE V4 SCALE
   ========================================================== */

/*
 * Умеренно увеличиваем содержимое,
 * не меняя ширину полотна и пропорции макета.
 */

.nx-kb__article-body {
    font-size: 14px;
    line-height: 1.72;
}

.nx-kb__article-body p {
    margin-bottom: 14px;
}

.nx-kb__article-kicker {
    font-size: 10.5px;
}

.nx-kb__article-heading h2 {
    font-size: 24px;
    line-height: 1.25;
}

.nx-kb__article-body .nx-kb__table {
    font-size: 13.5px;
}

.nx-kb__article-body .nx-kb__table th,
.nx-kb__article-body .nx-kb__table td {
    padding: 11px 13px;
}

.nx-kb__article-body .nx-kb__info {
    font-size: 13.5px;
    line-height: 1.65;
}

/*
 * Навигацию увеличиваем совсем немного.
 */
.nx-kb__sidebar a {
    font-size: 12.5px;
}

.nx-kb__nav-group-title {
    font-size: 10.5px;
}

@media (max-width: 800px) {

    .nx-kb__article-body {
        font-size: 13.5px;
    }

    .nx-kb__article-heading h2 {
        font-size: 22px;
    }

    .nx-kb__article-body .nx-kb__table {
        font-size: 13px;
    }
}


/* ==========================================================
   NOXARIS KNOWLEDGE BASE — ONE-PAGE V5 DIVIDER SCALE
   Увеличиваем именно декоративный межсекционный разделитель
   ========================================================== */

.nx-kb__divider,
.nx-kb__section-divider,
.nx-kb__article-divider,
.nx-kb__article-separator {
    width: min(360px, 44%);
    max-width: 360px;
    min-height: 30px;
    margin: 26px auto 22px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 300px auto;
}

.nx-kb__divider img,
.nx-kb__section-divider img,
.nx-kb__article-divider img,
.nx-kb__article-separator img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

@media (max-width: 800px) {
    .nx-kb__divider,
    .nx-kb__section-divider,
    .nx-kb__article-divider,
    .nx-kb__article-separator {
        width: min(300px, 62%);
        max-width: 300px;
        min-height: 26px;
        margin: 22px auto 18px;
        background-size: 250px auto;
    }

    .nx-kb__divider img,
    .nx-kb__section-divider img,
    .nx-kb__article-divider img,
    .nx-kb__article-separator img {
        width: 250px;
    }
}


/* ==========================================================
   NOXARIS KB — REAL ARTICLE DIVIDER SCALE V1
   ========================================================== */

/*
 * Реальный орнамент между секциями ONE-PAGE.
 * Исходно был ~20px по высоте.
 */

.nx-kb__article-section
+ .nx-kb__article-section {
    padding-top: 66px;
}

.nx-kb__article-section
+ .nx-kb__article-section::before {
    top: 13px;
    width: min(620px, 78%);
    height: 38px;

    background:
        url("/styles/noxaris/theme/images/noxaris/decor/07_gold_divider_small.png")
        center center / auto 28px
        no-repeat;

    opacity: .90;
}

@media (max-width: 800px) {

    .nx-kb__article-section
    + .nx-kb__article-section {
        padding-top: 57px;
    }

    .nx-kb__article-section
    + .nx-kb__article-section::before {
        width: 82%;
        height: 32px;
        background-size: auto 23px;
    }
}


/* ==========================================================
   NOXARIS KB — ARTICLE CORNERS MATHEMATICAL V3
   TARGET VISIBLE ALPHA HEIGHT = 104px
   ========================================================== */

.nx-kb__article {
    position: relative;
    overflow: hidden;

    /*
     * 4 реальных угла + исходный фон article.
     * Размеры рассчитаны по alpha bbox, threshold >= 16.
     */
    background-image:
        url("/styles/noxaris/theme/images/noxaris/decor/02_corner_top_left.png"),
        url("/styles/noxaris/theme/images/noxaris/decor/03_corner_top_right.png"),
        url("/styles/noxaris/theme/images/noxaris/decor/04_corner_bottom_left.png"),
        url("/styles/noxaris/theme/images/noxaris/decor/05_corner_bottom_right.png"),
        linear-gradient(
            180deg,
            rgba(253,248,236,.96),
            rgba(247,237,215,.95)
        );

    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat,
        no-repeat,
        no-repeat;

    /*
     * Каждый PNG имеет СВОЙ размер.
     *
     * TL:
     * visible=991x1115 -> canvas=92.434x104.000
     *
     * TR:
     * visible=1163x1108 -> canvas=117.704x117.704
     * pad R=39 => 3.661px
     * pad T=72 => 6.758px
     *
     * BL:
     * visible=1152x1056 -> canvas=123.500x123.500
     * pad L=49  => 4.826px
     * pad B=121 => 11.917px
     *
     * BR:
     * visible=1032x853 -> canvas=125.824x104.122
     */
    background-size:
        92.434px 104.000px,
        117.704px 117.704px,
        123.500px 123.500px,
        125.824px 104.122px,
        auto;

    /*
     * Привязываем именно VISIBLE ALPHA EDGE к рамке article.
     */
    background-position:
        left 0px top 0px,
        right -3.661px top -6.758px,
        left -4.826px bottom -11.917px,
        right 0px bottom 0px,
        center center;

    background-origin:
        border-box,
        border-box,
        border-box,
        border-box,
        border-box;

    background-clip:
        border-box,
        border-box,
        border-box,
        border-box,
        border-box;
}

/*
 * На меньших экранах масштабируем ВСЕ четыре угла
 * одним коэффициентом 0.82.
 * Геометрические отношения сохраняются.
 */
@media (max-width: 1100px) {

    .nx-kb__article {
        background-size:
            75.796px 85.280px,
            96.517px 96.517px,
            101.270px 101.270px,
            103.176px 85.380px,
            auto;

        background-position:
            left 0px top 0px,
            right -3.002px top -5.542px,
            left -3.957px bottom -9.772px,
            right 0px bottom 0px,
            center center;
    }
}

@media (max-width: 768px) {

    .nx-kb__article {
        background-size:
            60.082px 67.600px,
            76.508px 76.508px,
            80.275px 80.275px,
            81.786px 67.679px,
            auto;

        background-position:
            left 0px top 0px,
            right -2.380px top -4.393px,
            left -3.137px bottom -7.746px,
            right 0px bottom 0px,
            center center;
    }
}


/* ==========================================================
   NOXARIS KB — TOP CORNERS OPTICAL NORMALIZATION V1
   TL source is visually softer/heavier than TR.
   ========================================================== */

.nx-kb__article {
    background-size:
        72.881px 82.000px,
        108.664px 108.664px,
        123.500px 123.500px,
        125.824px 104.122px,
        auto;

    background-position:
        left 0px top 0px,
        right -3.378px top -6.238px,
        left -4.826px bottom -11.917px,
        right 0px bottom 0px,
        center center;
}

@media (max-width: 1100px) {

    .nx-kb__article {
        background-size:
            65.593px 73.800px,
            97.798px 97.798px,
            101.270px 101.270px,
            103.176px 85.380px,
            auto;

        background-position:
            left 0px top 0px,
            right -3.040px top -5.614px,
            left -3.957px bottom -9.772px,
            right 0px bottom 0px,
            center center;
    }
}

@media (max-width: 768px) {

    .nx-kb__article {
        background-size:
            53.003px 59.600px,
            79.033px 79.033px,
            80.275px 80.275px,
            81.786px 67.679px,
            auto;

        background-position:
            left 0px top 0px,
            right -2.457px top -4.537px,
            left -3.137px bottom -7.746px,
            right 0px bottom 0px,
            center center;
    }
}


/* ==========================================================
   NOXARIS KB — COMMON SCALE RASTER CORNERS V1

   IMPORTANT:
   - source scale is identical for all 4 images
   - transparent source padding is pre-trimmed
   - Lanczos rasterization happens once on server
   - browser renders every image at its natural 1:1 size
   ========================================================== */

/*
 * Убираем старые article pseudo-corners, чтобы ни один
 * предыдущий эксперимент не накладывался поверх новых.
 */
.nx-kb__article::before,
.nx-kb__article::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

/*
 * Четыре РАЗНЫХ готовых PNG.
 * Никакого browser resize на desktop.
 */
.nx-kb__article {
    position: relative;
    overflow: hidden;

    background-image:
        url("/ext/noxaris/knowledgebase/styles/all/theme/generated_corners_common/kb_corner_tl.png"),
        url("/ext/noxaris/knowledgebase/styles/all/theme/generated_corners_common/kb_corner_tr.png"),
        url("/ext/noxaris/knowledgebase/styles/all/theme/generated_corners_common/kb_corner_bl.png"),
        url("/ext/noxaris/knowledgebase/styles/all/theme/generated_corners_common/kb_corner_br.png"),
        linear-gradient(
            180deg,
            rgba(253,248,236,.96),
            rgba(247,237,215,.95)
        ) !important;

    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat,
        no-repeat,
        no-repeat !important;

    background-position:
        left 0 top 0,
        right 0 top 0,
        left 0 bottom 0,
        right 0 bottom 0,
        center center !important;

    background-size:
        92px 104px,
        108px 103px,
        108px 98px,
        96px 80px,
        auto !important;
}

/*
 * Desktop/tablet оставляем 1:1.
 * Только на действительно узком экране допускаем
 * общий proportional scale.
 */
@media (max-width: 768px) {
    .nx-kb__article {
        background-size:
            calc(92px * .72) calc(104px * .72),
            calc(108px * .72) calc(103px * .72),
            calc(108px * .72) calc(98px * .72),
            calc(96px * .72) calc(80px * .72),
            auto !important;
    }
}


/* === NOXARIS KB — FINAL CORNER POSITION V3 START === */
/*
 * Позиции перенесены из уже визуально правильной
 * геометрии sidebar/section.
 *
 * Generated PNG уже pre-trimmed:
 * поэтому здесь позиционируется сразу VISIBLE EDGE.
 *
 * TOP:
 * outer X = 4px
 * outer Y = 4px
 *
 * BOTTOM:
 * outer X = 3px
 * outer Y = 3px
 */

.nx-kb__article {
    background-position:
        left -4px top -4px,
        right -4px top -4px,
        left -3px bottom -3px,
        right -3px bottom -3px,
        center center !important;
}

/* На мобильном сохраняем тот же принцип посадки. */
@media (max-width: 768px) {
    .nx-kb__article {
        background-position:
            left -3px top -3px,
            right -3px top -3px,
            left -2px bottom -2px,
            right -2px bottom -2px,
            center center !important;
    }
}
/* === NOXARIS KB — FINAL CORNER POSITION V3 END === */


/* ==========================================================
   NOXARIS KB — UNIVERSAL PW ITEM TOOLTIP V2
   ========================================================== */

.nx-kb-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    vertical-align: middle;
    cursor: default;
    outline: none;
}

.nx-kb-item__icon,
.nx-kb-item__tooltip-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    overflow: hidden;

    background: #171219;

    border: 1px solid rgba(216, 168, 72, .78);

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.08),
        0 1px 4px rgba(0,0,0,.40);
}

.nx-kb-item__icon img,
.nx-kb-item__tooltip-icon img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nx-kb-item__name {
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 1px 1px rgba(0,0,0,.20);
}

.nx-kb-item__tooltip {
    position: absolute;
    z-index: 1200;

    left: -8px;
    bottom: calc(100% + 12px);

    display: none;
    width: 340px;

    padding: 13px 14px 14px;

    color: #f1e8d5;

    font-size: 13px;
    line-height: 1.42;

    background:
        linear-gradient(
            180deg,
            rgba(106,60,27,.995) 0,
            rgba(106,60,27,.995) 49px,
            rgba(61,31,14,.995) 49px,
            rgba(61,31,14,.995) 100%
        );

    border: 1px solid rgba(187,126,53,.92);
    border-radius: 4px;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.035),
        0 8px 25px rgba(0,0,0,.50);

    pointer-events: none;
}

.nx-kb-item:hover .nx-kb-item__tooltip,
.nx-kb-item:focus .nx-kb-item__tooltip,
.nx-kb-item:focus-within .nx-kb-item__tooltip {
    display: block;
}

.nx-kb-item__tooltip::after {
    content: "";

    position: absolute;

    top: 100%;
    left: 19px;

    border-left: 7px solid transparent;
    border-right: 7px solid transparent;

    border-top: 7px solid rgba(187,126,53,.92);
}

.nx-kb-item__tooltip-head {
    display: flex;
    align-items: center;
    min-height: 34px;
    gap: 10px;
}

.nx-kb-item__tooltip-title {
    display: block;

    font-size: 15px;
    line-height: 1.25;

    font-weight: 700;

    text-shadow:
        0 1px 2px rgba(0,0,0,.40);
}

.nx-kb-item__tooltip-desc-line {
    display: block;

    margin-top: 16px;

    white-space: normal;

    font-weight: 500;
}

.nx-kb-item__tooltip-desc-line
+ .nx-kb-item__tooltip-desc-line {
    margin-top: 3px;
}

.nx-kb-item__tooltip-row {
    display: flex;

    justify-content: space-between;
    align-items: baseline;

    gap: 22px;

    margin-top: 11px;
    padding-top: 9px;

    color: #d6c8b0;

    border-top:
        1px solid rgba(244,206,132,.14);
}

.nx-kb-item__tooltip-row strong {
    color: #fff7e7;
    font-weight: 700;
}

.nx-kb-item-missing {
    display: inline-block;

    padding: 1px 4px;

    color: #9a3b30;

    background: rgba(154,59,48,.08);

    border-bottom:
        1px dotted rgba(154,59,48,.65);
}

@media (max-width: 768px) {

    .nx-kb-item__tooltip {
        left: 0;

        width:
            min(
                310px,
                calc(100vw - 54px)
            );
    }
}

/* === NOXARIS KB — UNIVERSAL PW ITEM TOOLTIP V2 END === */


/* ==========================================================
   NOXARIS KB — DUNGEON ARTICLE V5 COMPACT
   ========================================================== */

/*
 * В разделе "Подземелья" отдельный общий заголовок статьи
 * не нужен: слева уже есть пункт навигации, а контент сразу
 * начинается с конкретного данжа.
 */
#dungeons > .nx-kb__article-heading,
#dungeons .nx-kb__article-heading,
.nx-kb__article-section#dungeons > .nx-kb__article-heading,
.nx-kb__article-section[data-slug="dungeons"] > .nx-kb__article-heading {
    display: none !important;
}

#dungeons .nx-kb__article-body,
.nx-kb__article-section#dungeons .nx-kb__article-body,
.nx-kb__article-section[data-slug="dungeons"] .nx-kb__article-body {
    padding-top: 0 !important;
}

.nx-kb-item__name {
    color: inherit;
    font-weight: 600;
}

.nx-kb-dungeon {
    margin-top: 0;
}


/* ==========================================================
   INEY HEADER
   ========================================================== */

.nx-kb-dungeon__hero {
    position: relative;

    padding:
        18px
        21px
        17px;

    background:
        linear-gradient(
            120deg,
            rgba(255,255,255,.55),
            rgba(248,236,211,.23)
        );

    border:
        1px solid rgba(183,132,61,.18);

    border-left:
        3px solid #cf9239;

    border-radius: 3px;
}

.nx-kb-dungeon__overline {
    margin-bottom: 3px;

    color: #aa7530;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .13em;
}

.nx-kb-dungeon__hero h3 {
    margin:
        0
        0
        5px;

    color: #554230;

    font-size: 27px;
    line-height: 1.08;
}

.nx-kb-dungeon__hero > p {
    max-width: 720px;

    margin: 0;

    color: #786754;

    font-size: 13px;
    line-height: 1.45;
}


/* ==========================================================
   QUICK STATS
   ========================================================== */

.nx-kb-dungeon__stats {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 14px;
}

.nx-kb-dungeon__stat {
    min-width: 132px;

    padding:
        7px
        11px
        6px;

    background:
        rgba(255,255,255,.50);

    border:
        1px solid rgba(180,129,57,.16);

    border-radius: 3px;
}

.nx-kb-dungeon__stat strong,
.nx-kb-dungeon__stat span {
    display: block;
}

.nx-kb-dungeon__stat strong {
    color: #594531;

    font-size: 13px;
    line-height: 1.2;
}

.nx-kb-dungeon__stat span {
    margin-top: 1px;

    color: #9a866e;

    font-size: 9px;
    line-height: 1.2;
}


/* ==========================================================
   CHAPTER HEADERS 01–05
   ========================================================== */

.nx-kb-dungeon__chapter {
    margin-top: 24px;
}

.nx-kb-dungeon__chapter-title {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 10px;
}

.nx-kb-dungeon__chapter-title > span {
    position: relative;
    z-index: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    color: #a66e26;

    font-size: 9px;
    font-weight: 700;
}

.nx-kb-dungeon__chapter-title > span::before {
    content: "";

    position: absolute;
    z-index: -1;

    width: 19px;
    height: 19px;

    transform: rotate(45deg);

    background:
        linear-gradient(
            135deg,
            rgba(255,250,238,.96),
            rgba(235,210,164,.32)
        );

    border:
        1px solid rgba(181,122,42,.48);
}

.nx-kb-dungeon__chapter-title h4 {
    margin: 0;

    color: #57422e;

    font-size: 16px;
    line-height: 1.2;

    font-weight: 700;

    white-space: nowrap;
}

.nx-kb-dungeon__chapter-title::after {
    content: "";

    height: 1px;

    flex: 1;

    margin-left: 2px;

    background:
        linear-gradient(
            90deg,
            rgba(190,132,51,.43),
            rgba(190,132,51,0)
        );
}


/* ==========================================================
   01 — MECHANICS
   ========================================================== */

.nx-kb-dungeon__mechanics {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 10px;
}

.nx-kb-dungeon__mechanic {
    padding:
        11px
        13px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.40),
            rgba(198,151,80,.025)
        );

    border:
        1px solid rgba(181,128,54,.14);

    border-top:
        1px solid rgba(194,136,49,.55);

    border-radius: 2px;
}

.nx-kb-dungeon__mechanic strong {
    display: block;

    margin-bottom: 3px;

    color: #604a35;

    font-size: 12px;
}

.nx-kb-dungeon__mechanic p {
    margin: 0;

    color: #7b6956;

    font-size: 11px;
    line-height: 1.45;
}


/* ==========================================================
   02 — MAIN LOOT
   ========================================================== */

.nx-kb-dungeon__loot-grid {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 10px;
}

.nx-kb-dungeon__loot-card {
    padding:
        12px
        13px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.55),
            rgba(249,237,212,.25)
        );

    border:
        1px solid rgba(181,128,54,.16);

    border-radius: 3px;
}

.nx-kb-dungeon__loot-item {
    min-height: 32px;

    margin-bottom: 7px;
}

.nx-kb-dungeon__loot-card p {
    min-height: 0;

    margin:
        0
        0
        7px;

    color: #786754;

    font-size: 11px;
    line-height: 1.4;
}

.nx-kb-dungeon__loot-value {
    color: #a66d24;

    font-size: 15px;
    line-height: 1.2;

    font-weight: 700;
}

.nx-kb-dungeon__loot-value span {
    margin-left: 4px;

    color: #9b8972;

    font-size: 9px;
    font-weight: 500;

    text-transform: uppercase;
}


/* ==========================================================
   03 — HEAD QUEST
   ========================================================== */

.nx-kb-dungeon__heads {
    display: grid;

    grid-template-columns:
        minmax(0,1.45fr)
        minmax(230px,.55fr);

    align-items: center;

    gap: 14px;

    padding:
        11px
        13px;

    background:
        linear-gradient(
            90deg,
            rgba(193,143,70,.045),
            rgba(255,255,255,.23)
        );

    border-left:
        2px solid rgba(194,136,49,.58);
}

.nx-kb-dungeon__heads-text > strong {
    display: block;

    margin-bottom: 2px;

    color: #604a35;

    font-size: 12px;
}

.nx-kb-dungeon__heads-text p {
    margin: 0;

    color: #7b6956;

    font-size: 11px;
    line-height: 1.4;
}

.nx-kb-dungeon__heads-rewards {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 6px;
}

.nx-kb-dungeon__heads-rewards > div {
    padding:
        7px
        8px;

    text-align: center;

    background:
        rgba(255,255,255,.52);

    border:
        1px solid rgba(181,128,54,.14);

    border-radius: 2px;
}

.nx-kb-dungeon__heads-rewards strong,
.nx-kb-dungeon__heads-rewards span {
    display: block;
}

.nx-kb-dungeon__heads-rewards strong {
    color: #a66d24;

    font-size: 13px;
}

.nx-kb-dungeon__heads-rewards span {
    margin-top: 1px;

    color: #917c63;

    font-size: 8px;

    text-transform: uppercase;
}


/* ==========================================================
   04 — HONOR CHEST
   ========================================================== */

.nx-kb-dungeon__chest-intro {
    display: grid;

    grid-template-columns:
        minmax(190px,.55fr)
        minmax(0,1.45fr);

    align-items: center;

    gap: 16px;

    margin-bottom: 9px;

    padding:
        10px
        12px;

    background:
        linear-gradient(
            90deg,
            rgba(194,145,72,.055),
            rgba(194,145,72,.012)
        );

    border-left:
        2px solid rgba(194,137,49,.60);
}

.nx-kb-dungeon__chest-intro p {
    margin: 0;

    color: #786653;

    font-size: 11px;
    line-height: 1.4;
}

.nx-kb-dungeon__chest-grid {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 6px 9px;
}

.nx-kb-dungeon__chest-row {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        54px
        43px;

    align-items: center;

    gap: 7px;

    min-height: 42px;

    padding:
        4px
        7px;

    background:
        rgba(255,255,255,.36);

    border:
        1px solid rgba(181,128,54,.13);

    border-radius: 2px;
}

.nx-kb-dungeon__chest-row .nx-kb-item {
    min-height: 32px;
}

.nx-kb-dungeon__chest-row strong {
    color: #624d38;

    font-size: 9px;

    text-align: right;
}

.nx-kb-dungeon__chest-row > span {
    color: #a56f29;

    font-size: 9px;
    font-weight: 700;

    text-align: right;
}


/* ==========================================================
   05 — PROGRESSION
   ========================================================== */

.nx-kb-dungeon__route {
    display: flex;

    align-items: center;

    gap: 18px;

    padding:
        10px
        13px;

    background:
        linear-gradient(
            90deg,
            rgba(190,141,70,.05),
            rgba(190,141,70,.01)
        );

    border-left:
        2px solid rgba(190,132,45,.56);
}

.nx-kb-dungeon__route > strong {
    flex: 0 0 auto;

    margin: 0;

    color: #58432f;

    font-size: 14px;

    white-space: nowrap;
}

.nx-kb-dungeon__route > strong span {
    padding: 0 5px;

    color: #bb7e2c;
}

.nx-kb-dungeon__route p {
    margin: 0;

    color: #796753;

    font-size: 11px;
    line-height: 1.4;
}


/* ==========================================================
   NEXT DUNGEON
   ========================================================== */

.nx-kb-dungeon + .nx-kb-dungeon {
    position: relative;

    margin-top: 57px;
    padding-top: 43px;
}

.nx-kb-dungeon + .nx-kb-dungeon::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: min(560px,72%);
    height: 30px;

    transform: translateX(-50%);

    background:
        url("/styles/noxaris/theme/images/noxaris/decor/07_gold_divider_small.png")
        center center / auto 24px no-repeat;

    opacity: .88;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 700px) {

    .nx-kb-dungeon__hero {
        padding:
            16px
            14px;
    }

    .nx-kb-dungeon__hero h3 {
        font-size: 24px;
    }

    .nx-kb-dungeon__chapter {
        margin-top: 21px;
    }

    .nx-kb-dungeon__mechanics,
    .nx-kb-dungeon__loot-grid,
    .nx-kb-dungeon__chest-grid {
        grid-template-columns: 1fr;
    }

    .nx-kb-dungeon__heads,
    .nx-kb-dungeon__chest-intro {
        grid-template-columns: 1fr;
    }

    .nx-kb-dungeon__chapter-title h4 {
        white-space: normal;
    }

    .nx-kb-dungeon__route {
        display: block;
    }

    .nx-kb-dungeon__route p {
        margin-top: 5px;
    }
}

/* === NOXARIS KB — DUNGEON ARTICLE V5 COMPACT END === */





/* ==========================================================
   NOXARIS KB — GLOBAL COMPACT SYSTEM V1
   Общий визуальный язык всех разделов.
   ========================================================== */


/* ----------------------------------------------------------
   TOP-LEVEL SECTION HEADING
   ---------------------------------------------------------- */

body .nx-kb__article-section:not(#dungeons)
> .nx-kb__article-heading {
    display: flex !important;
    align-items: center !important;

    gap: 12px !important;

    margin:
        0
        0
        17px !important;

    padding:
        0
        0
        10px !important;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;
}

body .nx-kb__article-section:not(#dungeons)
> .nx-kb__article-heading::before {
    content: none !important;
}

body .nx-kb__article-section:not(#dungeons)
> .nx-kb__article-heading::after {
    content: "" !important;

    display: block !important;

    position: absolute !important;

    left: 58px !important;
    right: 0 !important;
    bottom: 0 !important;

    width: auto !important;
    height: 1px !important;

    background:
        linear-gradient(
            90deg,
            rgba(189,130,47,.46),
            rgba(189,130,47,0)
        ) !important;

    opacity: 1 !important;
}


/* Number diamond */

.nx-kb__article-number {
    position: relative;
    z-index: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    color: #a76f27;

    font-size: 10px;
    font-weight: 700;

    line-height: 1;
}

.nx-kb__article-number::before {
    content: "";

    position: absolute;
    z-index: -1;

    width: 29px;
    height: 29px;

    transform: rotate(45deg);

    background:
        linear-gradient(
            135deg,
            rgba(255,250,238,.97),
            rgba(235,210,164,.32)
        );

    border:
        1px solid rgba(181,122,42,.50);
}


/* Heading copy */

.nx-kb__article-heading-copy {
    min-width: 0;
}

body .nx-kb__article-section:not(#dungeons)
.nx-kb__article-kicker {
    margin:
        0
        0
        2px !important;

    padding: 0 !important;

    color: #a87534 !important;

    font-size: 9px !important;
    font-weight: 700 !important;

    line-height: 1.2 !important;

    letter-spacing: .12em !important;

    text-align: left !important;
}

body .nx-kb__article-section:not(#dungeons)
.nx-kb__article-heading h2 {
    margin: 0 !important;

    padding: 0 !important;

    color: #57422e !important;

    font-size: 20px !important;
    font-weight: 700 !important;

    line-height: 1.2 !important;

    text-align: left !important;

    background: none !important;

    border: 0 !important;

    box-shadow: none !important;
}

body .nx-kb__article-section:not(#dungeons)
.nx-kb__article-heading h2::after,
body .nx-kb__article-section:not(#dungeons)
.nx-kb__article-heading h2::before {
    content: none !important;
}


/* ----------------------------------------------------------
   GENERIC BODY
   ---------------------------------------------------------- */

body .nx-kb__article-section:not(#dungeons)
> .nx-kb__article-body {
    color: #756452;

    line-height: 1.5;
}

body .nx-kb__article-section:not(#dungeons)
> .nx-kb__article-body > p {
    margin:
        0
        0
        12px;
}


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

body .nx-kb__article-section:not(#dungeons)
.nx-kb__table {
    width: 100%;

    margin:
        4px
        0
        14px;

    border-collapse: separate;
    border-spacing: 0;

    overflow: hidden;

    background:
        rgba(255,255,255,.28);

    border:
        1px solid rgba(181,128,54,.15);

    border-radius: 3px;
}

body .nx-kb__article-section:not(#dungeons)
.nx-kb__table th {
    padding:
        9px
        12px;

    color: #694f33;

    font-size: 11px;
    font-weight: 700;

    text-align: left;

    background:
        rgba(193,143,70,.08);

    border-bottom:
        1px solid rgba(181,128,54,.18);
}

body .nx-kb__article-section:not(#dungeons)
.nx-kb__table td {
    padding:
        8px
        12px;

    color: #766552;

    background:
        rgba(255,255,255,.20);

    border-bottom:
        1px solid rgba(181,128,54,.10);
}

body .nx-kb__article-section:not(#dungeons)
.nx-kb__table tr:last-child td {
    border-bottom: 0;
}


/* ----------------------------------------------------------
   INFO BLOCK
   ---------------------------------------------------------- */

body .nx-kb__article-section:not(#dungeons)
.nx-kb__info {
    margin:
        13px
        0
        2px;

    padding:
        11px
        14px;

    color: #75624e;

    background:
        linear-gradient(
            90deg,
            rgba(193,143,70,.06),
            rgba(255,255,255,.20)
        );

    border:
        0;

    border-left:
        2px solid rgba(194,136,49,.62);

    border-radius: 0;
}

body .nx-kb__article-section:not(#dungeons)
.nx-kb__info strong {
    color: #604934;
}


/* ----------------------------------------------------------
   OLD MINI CARDS -> COMMON COMPACT CARDS
   ---------------------------------------------------------- */

body .nx-kb__article-section:not(#dungeons)
.nx-kb__cards {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 9px;

    margin-top: 12px;
}

body .nx-kb__article-section:not(#dungeons)
.nx-kb__mini-card {
    padding:
        11px
        13px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.54),
            rgba(248,236,211,.23)
        );

    border:
        1px solid rgba(181,128,54,.15);

    border-top:
        1px solid rgba(194,136,49,.46);

    border-radius: 3px;
}

body .nx-kb__article-section:not(#dungeons)
.nx-kb__mini-card strong,
body .nx-kb__article-section:not(#dungeons)
.nx-kb__mini-card span {
    display: block;
}

body .nx-kb__article-section:not(#dungeons)
.nx-kb__mini-card strong {
    margin-bottom: 3px;

    color: #604a35;

    font-size: 13px;
}

body .nx-kb__article-section:not(#dungeons)
.nx-kb__mini-card span {
    color: #8a7863;

    font-size: 11px;
}


/* ----------------------------------------------------------
   FAQ
   ---------------------------------------------------------- */

body .nx-kb__article-section:not(#dungeons)
.nx-kb__faq {
    margin-bottom: 8px;

    background:
        rgba(255,255,255,.28);

    border:
        1px solid rgba(181,128,54,.14);

    border-radius: 3px;
}

body .nx-kb__article-section:not(#dungeons)
.nx-kb__faq summary {
    padding:
        10px
        13px;

    color: #604a35;

    font-weight: 600;

    cursor: pointer;
}

body .nx-kb__article-section:not(#dungeons)
.nx-kb__faq p {
    margin: 0;

    padding:
        0
        13px
        11px;

    color: #7b6956;
}


/* ==========================================================
   NOXARIS_SAFE_TEXT_EDITOR_V1
   ========================================================== */

.nx-kb-text-editor__tools {
    display: flex;
    justify-content: flex-end;

    min-height: 23px;

    margin:
        -5px
        0
        7px;
}

.nx-kb-text-editor__open,
.nx-kb-text-editor__close {
    display: inline-flex;
    align-items: center;

    min-height: 25px;

    padding:
        4px
        9px;

    color: #9b6727 !important;

    font-size: 10px;
    font-weight: 600;

    text-decoration: none !important;

    background:
        rgba(193,143,70,.055);

    border:
        1px solid rgba(183,126,47,.20);

    border-radius: 3px;
}

.nx-kb-text-editor__open:hover,
.nx-kb-text-editor__close:hover {
    background:
        rgba(193,143,70,.11);

    border-color:
        rgba(183,126,47,.38);
}


/* Main editor */

.nx-kb-text-editor {
    margin:
        5px
        0
        18px;

    padding:
        16px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.58),
            rgba(248,236,211,.31)
        );

    border:
        1px solid rgba(181,128,54,.20);

    border-left:
        3px solid #cf9239;

    border-radius: 4px;
}

.nx-kb-text-editor__notice {
    margin-bottom: 14px;

    padding:
        9px
        11px;

    background:
        rgba(193,143,70,.055);

    border:
        1px solid rgba(181,128,54,.14);
}

.nx-kb-text-editor__notice strong,
.nx-kb-text-editor__notice span {
    display: block;
}

.nx-kb-text-editor__notice strong {
    margin-bottom: 2px;

    color: #604a35;

    font-size: 12px;
}

.nx-kb-text-editor__notice span {
    color: #897560;

    font-size: 10px;
}


/* Meta fields */

.nx-kb-text-editor__meta {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 10px;

    margin-bottom: 16px;
}

.nx-kb-text-editor__meta-title {
    grid-column:
        1 / -1;
}

.nx-kb-text-editor__meta label,
.nx-kb-text-editor__field {
    display: block;
}

.nx-kb-text-editor__meta label > span,
.nx-kb-text-editor__field-label {
    display: block;

    margin-bottom: 4px;

    color: #876d50;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .045em;

    text-transform: uppercase;
}


/* Inputs */

.nx-kb-text-editor input[type="text"],
.nx-kb-text-editor textarea {
    box-sizing: border-box;

    width: 100%;

    padding:
        8px
        10px;

    color: #574633;

    font: inherit;

    line-height: 1.4;

    background:
        rgba(255,255,255,.74);

    border:
        1px solid rgba(177,126,54,.22);

    border-radius: 3px;

    outline: none;
}

.nx-kb-text-editor textarea {
    min-height: 68px;

    resize: vertical;
}

.nx-kb-text-editor input[type="text"]:focus,
.nx-kb-text-editor textarea:focus {
    border-color:
        rgba(189,126,39,.62);

    box-shadow:
        0 0 0 2px
        rgba(201,146,65,.08);
}


/* Text slots */

.nx-kb-text-editor__body-title {
    margin:
        4px
        0
        8px;

    color: #5e4934;

    font-size: 13px;
    font-weight: 700;
}

.nx-kb-text-editor__fields {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 9px;
}

.nx-kb-text-editor__field {
    min-width: 0;
}

.nx-kb-text-editor__empty {
    padding: 10px;

    color: #8a7760;

    background:
        rgba(255,255,255,.35);

    border:
        1px solid rgba(181,128,54,.13);
}


/* Buttons */

.nx-kb-text-editor__actions {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-top: 15px;
}

.nx-kb-text-editor__save,
.nx-kb-text-editor__cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 31px;

    padding:
        6px
        13px;

    font-size: 11px;
    font-weight: 700;

    border-radius: 3px;
}

.nx-kb-text-editor__save {
    color: #fffaf1;

    cursor: pointer;

    background:
        linear-gradient(
            180deg,
            #bd8131,
            #a66c26
        );

    border:
        1px solid #99601f;
}

.nx-kb-text-editor__cancel {
    color: #765d43 !important;

    text-decoration: none !important;

    background:
        rgba(255,255,255,.48);

    border:
        1px solid rgba(177,126,54,.20);
}


/* Saved message */

.nx-kb-text-editor__saved {
    max-width: 980px;

    margin:
        0
        auto
        13px;

    padding:
        8px
        12px;

    color: #5f513c;

    font-size: 11px;

    text-align: center;

    background:
        rgba(182,146,71,.10);

    border:
        1px solid rgba(180,128,55,.20);

    border-radius: 3px;
}


/* Mobile */

@media (max-width: 700px) {

    body .nx-kb__article-section:not(#dungeons)
    > .nx-kb__article-heading {
        gap: 9px !important;

        margin-bottom: 14px !important;
    }

    .nx-kb__article-number {
        width: 27px;
        height: 27px;

        flex-basis: 27px;
    }

    .nx-kb__article-number::before {
        width: 18px;
        height: 18px;
    }

    body .nx-kb__article-section:not(#dungeons)
    .nx-kb__article-heading h2 {
        font-size: 18px !important;
    }

    body .nx-kb__article-section:not(#dungeons)
    .nx-kb__cards,

    .nx-kb-text-editor__meta,
    .nx-kb-text-editor__fields {
        grid-template-columns: 1fr;
    }

    .nx-kb-text-editor__meta-title {
        grid-column: auto;
    }

    .nx-kb-text-editor {
        padding: 13px;
    }
}

/* === NOXARIS KB — GLOBAL COMPACT SYSTEM V1 END === */


/* ==========================================================
   NOXARIS_EQUIPMENT_TOOLTIP_V1
   ========================================================== */

.nx-kb-item__tooltip-equipment {
    display: block;

    margin:
        7px
        0
        6px;

    padding:
        6px
        0;

    border-top:
        1px solid rgba(238,208,149,.14);

    border-bottom:
        1px solid rgba(238,208,149,.10);
}

.nx-kb-item__tooltip-stat {
    display: flex;

    align-items: baseline;
    justify-content: space-between;

    gap: 16px;

    margin:
        2px
        0;

    color: #ddd4c3;

    font-size: 11px;
    line-height: 1.35;
}

.nx-kb-item__tooltip-stat > span {
    color: #cfc3ad;
}

.nx-kb-item__tooltip-stat > strong {
    color: #f0e6d2;

    font-weight: 600;

    text-align: right;

    white-space: nowrap;
}

.nx-kb-item__tooltip-stat--addon > span,
.nx-kb-item__tooltip-stat--addon > strong {
    color: #8fc8ff;
}

/* === NOXARIS_EQUIPMENT_TOOLTIP_V1 END === */


/* === NOXARIS GBP LOOT V3 START === */

.nx-kb-gbp-open {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);
    gap: 10px;
}

.nx-kb-gbp-open__item,
.nx-kb-gbp-open__text {
    min-height: 58px;

    display: flex;
    align-items: center;

    padding: 12px 14px;

    border:
        1px solid
        rgba(180, 128, 55, .20);

    background:
        rgba(255, 255, 255, .18);
}

.nx-kb-gbp-open__item {
    justify-content: space-between;
    gap: 15px;
}

.nx-kb-gbp-open__item > strong {
    flex: 0 0 auto;

    color: #a65d12;

    font-size: 16px;
}

.nx-kb-gbp-open__text {
    color: #756550;

    line-height: 1.45;
}

.nx-kb-gbp-boss-table {
    border:
        1px solid
        rgba(180, 128, 55, .20);

    background:
        rgba(255, 255, 255, .13);
}

.nx-kb-gbp-boss-table__head,
.nx-kb-gbp-boss-row {
    display: grid;

    grid-template-columns:
        72px
        minmax(0, 1fr);

    align-items: stretch;
}

.nx-kb-gbp-boss-table__head {
    min-height: 32px;

    background:
        rgba(173, 116, 40, .07);

    border-bottom:
        1px solid
        rgba(180, 128, 55, .18);

    color: #9a8467;

    font-size: 10px;

    text-transform: uppercase;
    letter-spacing: .05em;
}

.nx-kb-gbp-boss-table__head > span {
    display: flex;
    align-items: center;

    padding: 7px 12px;
}

.nx-kb-gbp-boss-table__head > span:first-child {
    justify-content: center;

    border-right:
        1px solid
        rgba(180, 128, 55, .14);
}

.nx-kb-gbp-boss-row {
    min-height: 58px;

    border-bottom:
        1px solid
        rgba(180, 128, 55, .14);
}

.nx-kb-gbp-boss-row:last-child {
    border-bottom: 0;
}

.nx-kb-gbp-boss-row > strong {
    display: flex;
    align-items: center;
    justify-content: center;

    border-right:
        1px solid
        rgba(180, 128, 55, .14);

    color: #6b5035;

    font-size: 13px;
}

.nx-kb-gbp-boss-row__loot {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    align-items: stretch;
}

.nx-kb-gbp-boss-row__loot > span {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 6px;

    padding: 8px 12px;

    border-right:
        1px solid
        rgba(180, 128, 55, .11);
}

.nx-kb-gbp-boss-row__loot > span:last-child {
    border-right: 0;
}

.nx-kb-gbp-boss-row__loot .nx-kb-item {
    min-width: 0;
}

.nx-kb-gbp-boss-row__loot b {
    margin-left: auto;

    color: #a65d12;

    font-size: 12px;

    white-space: nowrap;
}

.nx-kb-gbp-total {
    margin-top: 8px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 9px 13px;

    border-left:
        2px solid
        rgba(204, 139, 47, .68);

    background:
        rgba(255, 255, 255, .10);
}

.nx-kb-gbp-total > span {
    color: #786852;
}

.nx-kb-gbp-total > strong {
    color: #a65d12;

    white-space: nowrap;
}

.nx-kb-gbp-lo-head {
    display: flex;
    align-items: center;

    gap: 20px;

    min-height: 45px;

    margin-bottom: 9px;

    padding: 9px 13px;

    border-left:
        2px solid
        rgba(204, 139, 47, .68);

    background:
        rgba(255, 255, 255, .10);
}

.nx-kb-gbp-lo-head > strong {
    flex: 0 0 auto;

    color: #60462f;

    font-size: 13px;
}

.nx-kb-gbp-lo-head > span {
    color: #7b6a56;

    line-height: 1.4;
}

.nx-kb-gbp-loot-list {
    display: grid;

    grid-template-columns:
        1fr;

    gap: 6px;
}

.nx-kb-gbp-loot-row {
    min-height: 50px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        72px;

    align-items: center;

    padding:
        6px
        13px;

    border:
        1px solid
        rgba(180, 128, 55, .20);

    background:
        rgba(255, 255, 255, .18);
}

.nx-kb-gbp-loot-row__item {
    min-width: 0;
}

.nx-kb-gbp-loot-row > strong {
    justify-self: end;

    color: #a65d12;

    font-size: 12px;

    text-align: right;

    white-space: nowrap;
}


@media (max-width: 760px) {

    .nx-kb-gbp-open {
        grid-template-columns: 1fr;
    }

    .nx-kb-gbp-boss-table__head {
        display: none;
    }

    .nx-kb-gbp-boss-row {
        grid-template-columns: 48px minmax(0,1fr);
    }

    .nx-kb-gbp-boss-row__loot {
        grid-template-columns: 1fr;
    }

    .nx-kb-gbp-boss-row__loot > span {
        border-right: 0;

        border-bottom:
            1px solid
            rgba(180, 128, 55, .10);
    }

    .nx-kb-gbp-boss-row__loot > span:last-child {
        border-bottom: 0;
    }

    .nx-kb-gbp-total,
    .nx-kb-gbp-lo-head {
        align-items: flex-start;

        flex-direction: column;

        gap: 4px;
    }

}

/* === NOXARIS GBP LOOT V3 END === */

/* === NOXARIS GBP LOOT V4 START === */

.nx-kb-gbp-pool {
    margin-bottom: 9px;

    border:
        1px solid
        rgba(180,128,55,.20);

    background:
        rgba(255,255,255,.16);
}

.nx-kb-gbp-pool__title {
    padding: 8px 12px;

    border-bottom:
        1px solid
        rgba(180,128,55,.14);

    color: #8c7559;

    font-size: 10px;

    text-transform: uppercase;
    letter-spacing: .05em;
}

.nx-kb-gbp-pool__items {
    display: grid;

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

.nx-kb-gbp-pool__items > span {
    min-width: 0;

    min-height: 52px;

    display: flex;
    align-items: center;

    padding: 7px 12px;

    border-right:
        1px solid
        rgba(180,128,55,.12);

    border-bottom:
        1px solid
        rgba(180,128,55,.08);
}

.nx-kb-gbp-pool__items > span:nth-child(3n) {
    border-right: 0;
}

.nx-kb-gbp-cycle-table {
    border:
        1px solid
        rgba(180,128,55,.20);

    background:
        rgba(255,255,255,.10);
}

.nx-kb-gbp-cycle-row {
    min-height: 46px;

    display: grid;

    grid-template-columns:
        110px
        minmax(0,1fr)
        110px;

    align-items: center;

    border-bottom:
        1px solid
        rgba(180,128,55,.13);
}

.nx-kb-gbp-cycle-row:last-child {
    border-bottom: 0;
}

.nx-kb-gbp-cycle-row > strong,
.nx-kb-gbp-cycle-row > span,
.nx-kb-gbp-cycle-row > b {
    padding: 8px 12px;
}

.nx-kb-gbp-cycle-row > strong {
    color: #654b32;
}

.nx-kb-gbp-cycle-row > span {
    color: #806e59;

    border-left:
        1px solid
        rgba(180,128,55,.10);

    border-right:
        1px solid
        rgba(180,128,55,.10);
}

.nx-kb-gbp-cycle-row > b {
    color: #a65d12;

    text-align: right;

    white-space: nowrap;
}

.nx-kb-gbp-lo-summary {
    margin-top: 8px;

    min-height: 46px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 9px 13px;

    border-left:
        2px solid
        rgba(204,139,47,.68);

    background:
        rgba(255,255,255,.10);
}

.nx-kb-gbp-lo-summary > span {
    color: #786852;
}

.nx-kb-gbp-lo-summary > strong {
    color: #a65d12;

    white-space: nowrap;
}

@media (max-width:760px) {

    .nx-kb-gbp-pool__items {
        grid-template-columns: 1fr;
    }

    .nx-kb-gbp-pool__items > span {
        border-right: 0;
    }

    .nx-kb-gbp-cycle-row {
        grid-template-columns:
            72px
            minmax(0,1fr);
    }

    .nx-kb-gbp-cycle-row > b {
        grid-column: 1 / -1;

        border-top:
            1px solid
            rgba(180,128,55,.10);

        text-align: left;
    }

}

/* === NOXARIS GBP LOOT V4 END === */


/* === NOXARIS BASIC INFO TABLE V2 START === */

/*
 * Только таблица раздела "Основная информация".
 * Без дополнительной карточки, без лишнего верхнего/нижнего поля.
 */

.nx-kb-basic-info {
    margin: 0;
    padding: 0;
}

.nx-kb-basic-table {
    width: 100%;
    margin: 0;

    border-collapse: collapse;
    border-spacing: 0;

    table-layout: fixed;

    border: 1px solid rgba(194, 143, 76, .34);

    background: #fffaf0;

    box-shadow:
        0 2px 8px rgba(95, 65, 30, .035);
}


/* -------------------- ШАПКА -------------------- */

.nx-kb-basic-table thead th {
    padding: 14px 18px;

    color: #65472f;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            rgba(247, 221, 184, .96) 0%,
            rgba(243, 211, 167, .90) 100%
        );

    border-bottom: 1px solid rgba(187, 130, 58, .34);
}

.nx-kb-basic-table thead th:first-child {
    width: 36%;
}


/* -------------------- ЯЧЕЙКИ -------------------- */

.nx-kb-basic-table tbody td {
    padding: 11px 18px;

    color: #6d5947;

    font-size: 12px;
    line-height: 1.4;

    text-align: center;
    vertical-align: middle;

    border-bottom: 1px solid rgba(202, 164, 112, .24);

    background: rgba(255, 252, 245, .96);
}

.nx-kb-basic-table th + th,
.nx-kb-basic-table td + td {
    border-left: 1px solid rgba(199, 157, 101, .27);
}

.nx-kb-basic-table tbody tr:nth-child(even) td {
    background: rgba(249, 237, 217, .66);
}

.nx-kb-basic-table tbody tr:last-child td {
    border-bottom: 0;
}


/* Левая колонка */

.nx-kb-basic-table tbody td:first-child {
    color: #725b46;
    font-weight: 600;
}


/* Правая колонка */

.nx-kb-basic-table tbody td:nth-child(2) {
    color: #5b4633;
    font-weight: 600;
}

.nx-kb-basic-table strong {
    color: #59412c;
    font-weight: 700;
}


/* ---------------- ЭКИПИРОВКА ---------------- */

.nx-kb-basic-table
.nx-kb-basic-table__gear td {
    background:
        linear-gradient(
            90deg,
            rgba(246, 224, 188, .82) 0%,
            rgba(251, 239, 217, .76) 100%
        );
}

.nx-kb-basic-table
.nx-kb-basic-table__gear td:first-child {
    color: #67472d;
    font-weight: 700;
}

.nx-kb-basic-table
.nx-kb-basic-table__gear td:nth-child(2) {
    color: #5c3f25;
}


/* -------------------- HOVER -------------------- */

@media (hover: hover) {

    .nx-kb-basic-table tbody tr:hover td {
        background: rgba(246, 229, 201, .72);
    }

}


/* -------------------- MOBILE ------------------- */

@media (max-width: 700px) {

    .nx-kb-basic-table thead th,
    .nx-kb-basic-table tbody td {
        padding: 10px 8px;
        font-size: 11px;
    }

    .nx-kb-basic-table thead th:first-child {
        width: 42%;
    }

    .nx-kb-basic-table tbody td:nth-child(2) {
        overflow-wrap: anywhere;
    }

}

/* === NOXARIS BASIC INFO TABLE V2 END === */


/* === NOXARIS ABOUT VISUAL V5 START === */


/* ==========================================================
   ABOUT
   ========================================================== */

.nx-kb-about-v5 {
    margin: 0;
}

.nx-kb-about-v5
> .nx-kb-dungeon__chapter:first-child {
    margin-top: 0;
}

.nx-kb-about-v5
> .nx-kb-dungeon__chapter
+ .nx-kb-dungeon__chapter {
    margin-top: 26px;
}


/* ==========================================================
   PARAMETERS
   Лёгкий справочник вместо таблицы/карточек.
   ========================================================== */

.nx-kb-about-v5__specs {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 30px;

    padding:
        3px
        16px;

    border-left:
        2px solid
        rgba(191, 129, 44, .62);

    background:
        linear-gradient(
            90deg,
            rgba(249, 240, 222, .48),
            rgba(255, 252, 245, .22)
        );
}

.nx-kb-about-v5__spec {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 18px;

    min-height: 42px;

    padding:
        8px
        0;

    border-bottom:
        1px solid
        rgba(195, 151, 91, .18);
}

.nx-kb-about-v5__spec:nth-last-child(-n+2) {
    border-bottom: 0;
}

.nx-kb-about-v5__spec span {
    color: #806b57;

    font-size: 10.5px;
    font-weight: 500;

    line-height: 1.3;
}

.nx-kb-about-v5__spec strong {
    color: #59432f;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.3;

    text-align: right;
}


/* ==========================================================
   EQUIPMENT PROGRESSION
   ========================================================== */

.nx-kb-about-v5__progress {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;

    padding:
        13px
        14px;

    border-left:
        2px solid
        rgba(191, 129, 44, .62);

    background:
        linear-gradient(
            90deg,
            rgba(249, 240, 222, .48),
            rgba(255, 252, 245, .22)
        );
}

.nx-kb-about-v5__progress strong {
    color: #5b4530;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.3;
}

.nx-kb-about-v5__progress b {
    color: #b7742b;

    font-size: 11px;
    font-weight: 700;
}

.nx-kb-about-v5__choice {
    color: #9c6126 !important;
}

.nx-kb-about-v5__hint {
    padding:
        6px
        0
        0
        16px;

    color: #8c7662;

    font-size: 9px;
    line-height: 1.35;
}


/* ==========================================================
   REMOVED CONTENT
   ========================================================== */

.nx-kb-about-v5__removed {
    padding:
        10px
        16px;

    border-left:
        2px solid
        rgba(191, 129, 44, .62);

    background:
        linear-gradient(
            90deg,
            rgba(249, 240, 222, .48),
            rgba(255, 252, 245, .22)
        );
}

.nx-kb-about-v5__removed ul {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        7px
        26px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.nx-kb-about-v5__removed li {
    position: relative;

    padding-left: 13px;

    color: #695542;

    font-size: 10.5px;
    line-height: 1.4;
}

.nx-kb-about-v5__removed li::before {
    content: "•";

    position: absolute;

    left: 0;

    color: #bb772e;
}


/* ==========================================================
   RATES
   Возвращаем компактный стиль утверждённых stat-блоков.
   ========================================================== */

.nx-kb-rates-v5__grid {
    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;

    gap: 8px !important;
}

.nx-kb-rates-v5__grid
.nx-kb-dungeon__stat {
    min-width: 0;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 760px) {

    .nx-kb-about-v5__specs {
        grid-template-columns: 1fr;
    }

    .nx-kb-about-v5__spec:nth-last-child(-n+2) {
        border-bottom:
            1px solid
            rgba(195, 151, 91, .18);
    }

    .nx-kb-about-v5__spec:last-child {
        border-bottom: 0;
    }

    .nx-kb-rates-v5__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

}


@media (max-width: 520px) {

    .nx-kb-about-v5__progress {
        justify-content: flex-start;
    }

    .nx-kb-about-v5__removed ul {
        grid-template-columns: 1fr;
    }

    .nx-kb-rates-v5__grid {
        grid-template-columns: 1fr !important;
    }

}


/* === NOXARIS ABOUT VISUAL V5 END === */

/* === NOXARIS_EQUIPMENT_SUITE_TOOLTIP_V1C START === */

.nx-kb-item__tooltip-suite {
    display: block;
    margin-top: 9px;
    padding-top: 8px;
    border-top: 1px solid rgba(218, 179, 91, .38);
}

.nx-kb-item__tooltip-suite-title {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    color: #f4cf76;
}

.nx-kb-item__tooltip-suite-bonus {
    display: block;
    line-height: 1.4;
    color: #8fdca3;
}

.nx-kb-item__tooltip-suite-items {
    display: block;
    margin-top: 6px;
}

.nx-kb-item__tooltip-suite-item {
    display: block;
    line-height: 1.35;
    color: #cfcfcf;
}

.nx-kb-item__tooltip-suite-item--current {
    color: #fff0ae;
    font-weight: 600;
}

/* === NOXARIS_EQUIPMENT_SUITE_TOOLTIP_V1C END === */

/* === NOXARIS_CC_FULL_V7B START === */

.nx-kb-equipment-ss-grid {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.nx-kb-equipment-ss-grid
.nx-kb-dungeon__loot-card {
    min-width: 0;
}

.nx-kb-equipment-ss-grid
.nx-kb-dungeon__loot-card > strong {
    display: block;
    min-height: 2.8em;
}

.nx-kb-item__tooltip-sockets {
    color: #f2cb55;
    font-weight: 700;
    white-space: nowrap;
}

.nx-kb-equipment-extra {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(185,139,57,.24);
    background: rgba(255,255,255,.20);
}

.nx-kb-equipment-extra__title {
    display: block;
    margin-bottom: 9px;
    color: #6d4e2f;
    font-size: 14px;
}

.nx-kb-equipment-weapons {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
}

.nx-kb-equipment-weapons p {
    margin: 0;
    min-width: 0;
}

.nx-kb-equipment-ammo {
    margin-top: 8px;
    padding-top: 8px;
    border-top:
        1px solid rgba(185,139,57,.18);
}

@media (max-width: 1100px) {
    .nx-kb-equipment-ss-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .nx-kb-equipment-ss-grid,
    .nx-kb-equipment-weapons {
        grid-template-columns: 1fr;
    }
}

/* === NOXARIS_CC_FULL_V7B END === */

/* === NOXARIS_CC_ALIGN_V8 START === */

/*
 * Keep label column identical in all three SS cards.
 * The item shortcode remains flexible and can wrap.
 */
.nx-kb-equipment-ss-grid
.nx-kb-dungeon__loot-card p {
    display: flex;
    align-items: center;
    min-height: 38px;
    margin: 0 0 4px;
}

.nx-kb-equipment-ss-grid
.nx-kb-dungeon__loot-card p > b {
    flex: 0 0 72px;
    width: 72px;
    margin: 0;
}

.nx-kb-equipment-ss-grid
.nx-kb-dungeon__loot-card {
    display: flex;
    flex-direction: column;
}

.nx-kb-equipment-ss-grid
.nx-kb-dungeon__loot-card > strong {
    min-height: 42px;
    display: flex;
    align-items: flex-start;
}

/* === NOXARIS_CC_ALIGN_V8 END === */

/* ==========================================================
   NOXARIS KB — GAME TOOLTIP PALETTE V3
   Same semantic palette as PWDB / Perfect World.
   ========================================================== */

.nx-kb-item--pwdb .nx-kb-item__tooltip {
    color: #f3f3f3 !important;

    background:
        #050505 !important;

    border:
        1px solid #66553b !important;

    border-radius:
        2px !important;

    box-shadow:
        0 9px 28px rgba(0, 0, 0, .78),
        inset 0 0 0 1px rgba(255, 255, 255, .05)
        !important;

    font:
        12px/1.38 Arial, sans-serif !important;

    text-shadow:
        0 1px 1px #000;
}

.nx-kb-item--pwdb
.nx-kb-item__tooltip-title--pwdb {
    display: block;

    margin:
        0 0 7px;

    color:
        #ffb42e !important;

    font-size:
        13px;

    font-weight:
        700;

    line-height:
        1.25;
}

.nx-kb-item--pwdb
.nx-kb-pwdb-lines {
    display: block;
}

/* One normal stat row. */
.nx-kb-item--pwdb
.nx-kb-pwdb-line {
    display: flex;

    align-items:
        baseline;

    justify-content:
        space-between;

    gap:
        14px;

    margin:
        1px 0;

    color:
        #f3f3f3 !important;

    line-height:
        1.38;
}

.nx-kb-item--pwdb
.nx-kb-pwdb-label {
    min-width: 0;

    color:
        inherit !important;
}

.nx-kb-item--pwdb
.nx-kb-pwdb-value {
    flex:
        0 0 auto;

    color:
        inherit !important;

    font-weight:
        700;

    text-align:
        right;
}

/* Additional equipment stats. */
.nx-kb-item--pwdb
.nx-kb-pwdb-line.is-blue {
    color:
        #45ddff !important;
}

/* Bind/trade/drop/account restrictions. */
.nx-kb-item--pwdb
.nx-kb-pwdb-line.is-cyan {
    color:
        #12e7ff !important;
}

/* Suite header. */
.nx-kb-item--pwdb
.nx-kb-pwdb-line.is-gold {
    color:
        #ffd34f !important;
}

/* Set threshold bonuses. */
.nx-kb-item--pwdb
.nx-kb-pwdb-line.is-suite-bonus {
    color:
        #8c96ff !important;
}

/* Items belonging to the set. */
.nx-kb-item--pwdb
.nx-kb-pwdb-line.is-suite-item {
    color:
        #4cff27 !important;
}

.nx-kb-item--pwdb
.nx-kb-pwdb-line.is-red {
    color:
        #ff5656 !important;
}

/* Suite header itself is one full-width row. */
.nx-kb-item--pwdb
.nx-kb-pwdb-line.is-section {
    display: block;

    font-weight:
        700;
}

/* ---------------- GROUP SPACING ---------------- */

/* base -> addons */
.nx-kb-item--pwdb
.nx-kb-pwdb-line:not(.is-blue)
+ .nx-kb-pwdb-line.is-blue {
    margin-top:
        8px;
}

/* addons -> bindings */
.nx-kb-item--pwdb
.nx-kb-pwdb-line:not(.is-cyan)
+ .nx-kb-pwdb-line.is-cyan {
    margin-top:
        9px;
}

/* bindings -> suite */
.nx-kb-item--pwdb
.nx-kb-pwdb-line:not(.is-section)
+ .nx-kb-pwdb-line.is-section {
    margin-top:
        10px;
}

/* suite title -> bonuses */
.nx-kb-item--pwdb
.nx-kb-pwdb-line.is-section
+ .nx-kb-pwdb-line.is-suite-bonus {
    margin-top:
        4px;
}

/* bonuses -> suite items */
.nx-kb-item--pwdb
.nx-kb-pwdb-line.is-suite-bonus
+ .nx-kb-pwdb-line.is-suite-item {
    margin-top:
        9px;
}

/* suite items -> price/common fields */
.nx-kb-item--pwdb
.nx-kb-pwdb-line.is-suite-item
+ .nx-kb-pwdb-line:not(.is-suite-item) {
    margin-top:
        9px;
}

/* Never allow older KB rules to repaint semantic rows. */
.nx-kb-item--pwdb
.nx-kb-pwdb-line > span,

.nx-kb-item--pwdb
.nx-kb-pwdb-line > strong,

.nx-kb-item--pwdb
.nx-kb-pwdb-line > b {
    color:
        inherit !important;
}




/* ==========================================================
   NOXARIS KB — EVENTS CHON PON COMPACT V1
   Только раздел «События».
   ========================================================== */


/* Верхний информационный блок */

#events .nx-kb-dungeon__heads,
.nx-kb__article-section[data-slug="events"]
.nx-kb-dungeon__heads {
    gap: 10px;

    padding:
        9px
        11px;
}


#events .nx-kb-dungeon__heads-rewards,
.nx-kb__article-section[data-slug="events"]
.nx-kb-dungeon__heads-rewards {
    gap: 5px;
}


#events .nx-kb-dungeon__heads-rewards > div,
.nx-kb__article-section[data-slug="events"]
.nx-kb-dungeon__heads-rewards > div {
    padding:
        6px
        7px;
}


/* Уровневые карточки */

#events .nx-kb-dungeon__mechanics,
.nx-kb__article-section[data-slug="events"]
.nx-kb-dungeon__mechanics {
    gap: 8px 10px;

    margin-top: 8px;
}


#events .nx-kb-dungeon__mechanic,
.nx-kb__article-section[data-slug="events"]
.nx-kb-dungeon__mechanic {
    min-height: 0;

    padding:
        8px
        10px;
}


#events .nx-kb-dungeon__mechanic > strong,
.nx-kb__article-section[data-slug="events"]
.nx-kb-dungeon__mechanic > strong {
    margin-bottom: 5px;
}


/*
 * В общих dungeon-стилях strong = block.
 * Для чисел внутри строк опыта / духа / репутации
 * возвращаем inline, чтобы убрать пустую высоту.
 */

#events .nx-kb-dungeon__mechanic p strong,
.nx-kb__article-section[data-slug="events"]
.nx-kb-dungeon__mechanic p strong {
    display: inline;

    margin: 0;

    font-size: inherit;
    line-height: inherit;
}


#events .nx-kb-dungeon__mechanic p,
.nx-kb__article-section[data-slug="events"]
.nx-kb-dungeon__mechanic p {
    line-height: 1.55;
}


/* Шкатулка */

#events .nx-kb-dungeon__chest-intro,
.nx-kb__article-section[data-slug="events"]
.nx-kb-dungeon__chest-intro {
    margin-top: 9px;
    margin-bottom: 7px;

    padding:
        8px
        10px;
}


/* Список содержимого шкатулки */

#events .nx-kb-dungeon__chest-grid,
.nx-kb__article-section[data-slug="events"]
.nx-kb-dungeon__chest-grid {
    gap:
        5px
        8px;
}


#events .nx-kb-dungeon__chest-row,
.nx-kb__article-section[data-slug="events"]
.nx-kb-dungeon__chest-row {
    min-height: 38px;

    padding:
        3px
        6px;
}


/* === NOXARIS KB — EVENTS CHON PON COMPACT V1 END === */

/* === NOXARIS_KB_REFINE_ORBS_FONT_V1 START === */
.nx-kb-refine-orbs .nx-kb-dungeon__chest-row strong {
    font-size: 17px;
    line-height: 1.15;
    font-weight: 700;
}

.nx-kb-refine-orbs .nx-kb-dungeon__chest-row span {
    font-size: 13px;
    line-height: 1.15;
    font-weight: 600;
}

.nx-kb-refine-orbs .nx-kb-dungeon__chest-row {
    align-items: center;
    gap: 10px;
}
/* === NOXARIS_KB_REFINE_ORBS_FONT_V1 END === */

/* === NOXARIS_KB_REFINE_PAGE_V3 START === */


/* Общая компактность страницы Заточки */

.nx-kb-refine-page
> .nx-kb-dungeon__chapter {
    margin-bottom: 18px;
}


/* ==========================================================
   ОБМЕН ШАРОВ
   ========================================================== */

.nx-kb-refine-exchange__list {
    display: grid;

    grid-template-columns: 1fr;

    gap: 7px;

    margin-top: 6px;
}


.nx-kb-refine-exchange__row {
    display: grid;

    grid-template-columns:
        minmax(205px, 0.82fr)
        30px
        minmax(0, 1.45fr);

    align-items: center;

    min-height: 50px;

    padding:
        7px
        10px;

    border:
        1px solid
        rgba(137, 94, 45, 0.17);

    background:
        rgba(255, 255, 255, 0.18);
}


.nx-kb-refine-exchange__result {
    min-width: 0;
}


.nx-kb-refine-exchange__equals {
    text-align: center;

    font-size: 18px;
    line-height: 1;
    font-weight: 700;

    opacity: 0.45;
}


.nx-kb-refine-exchange__ingredients {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    min-width: 0;

    gap:
        4px
        7px;
}


.nx-kb-refine-exchange__ingredients > strong {
    display: inline;

    margin: 0;

    font-size: 16px;
    line-height: 1.15;
    font-weight: 700;
}


.nx-kb-refine-exchange__plus {
    margin:
        0
        3px;

    font-size: 17px;
    line-height: 1;
    font-weight: 700;

    opacity: 0.55;
}


/* Никаких переносов вида:
   10 ×
   Камень мироздания
   если на строке хватает места */

.nx-kb-refine-exchange__ingredients
.nx-kb-item {
    margin-right: 2px;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 720px) {

    .nx-kb-refine-exchange__row {
        grid-template-columns: 1fr;

        gap: 6px;

        padding:
            8px
            9px;
    }


    .nx-kb-refine-exchange__equals {
        display: none;
    }


    .nx-kb-refine-exchange__ingredients {
        padding-top: 6px;

        border-top:
            1px solid
            rgba(137, 94, 45, 0.12);
    }

}


/* === NOXARIS_KB_REFINE_PAGE_V3 END === */

/* ==========================================================
   NOXARIS_KB_QUEST_REWARDS_COMPACT_V1 START
   Scope: quest-rewards V3 only
   ========================================================== */

body .nx-kb__article-section:not(#dungeons)
[data-nx-quest-rewards="v3"]
.nx-kb__table {
    table-layout: fixed;
}

/* Этап */
body .nx-kb__article-section:not(#dungeons)
[data-nx-quest-rewards="v3"]
.nx-kb__table th:nth-child(1),
body .nx-kb__article-section:not(#dungeons)
[data-nx-quest-rewards="v3"]
.nx-kb__table td:nth-child(1) {
    width: 15%;
}

/* Опыт и прогресс */
body .nx-kb__article-section:not(#dungeons)
[data-nx-quest-rewards="v3"]
.nx-kb__table th:nth-child(2),
body .nx-kb__article-section:not(#dungeons)
[data-nx-quest-rewards="v3"]
.nx-kb__table td:nth-child(2) {
    width: 18%;
}

/* Основные награды */
body .nx-kb__article-section:not(#dungeons)
[data-nx-quest-rewards="v3"]
.nx-kb__table th:nth-child(3),
body .nx-kb__article-section:not(#dungeons)
[data-nx-quest-rewards="v3"]
.nx-kb__table td:nth-child(3) {
    width: 30%;
}

/* Дополнительно */
body .nx-kb__article-section:not(#dungeons)
[data-nx-quest-rewards="v3"]
.nx-kb__table th:nth-child(4),
body .nx-kb__article-section:not(#dungeons)
[data-nx-quest-rewards="v3"]
.nx-kb__table td:nth-child(4) {
    width: 37%;
}

/* Компактные ячейки */
body .nx-kb__article-section:not(#dungeons)
[data-nx-quest-rewards="v3"]
.nx-kb__table th {
    padding: 7px 9px;
}

body .nx-kb__article-section:not(#dungeons)
[data-nx-quest-rewards="v3"]
.nx-kb__table td {
    padding: 6px 9px;
    vertical-align: top;
    line-height: 1.32;
}

/* Этап + ID */
body .nx-kb__article-section:not(#dungeons)
[data-nx-quest-rewards="v3"]
.nx-kb__table td:first-child strong {
    display: block;
    margin-bottom: 2px;
}

body .nx-kb__article-section:not(#dungeons)
[data-nx-quest-rewards="v3"]
.nx-kb__table td:first-child small {
    font-size: 9px;
    line-height: 1.15;
    opacity: .78;
}

/* Иконки наград */
body .nx-kb__article-section:not(#dungeons)
[data-nx-quest-rewards="v3"]
.nx-kb__table td img {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
}

/* На узком экране сохраняем таблицу, а не ломаем колонки */
@media (max-width: 760px) {

    body .nx-kb__article-section:not(#dungeons)
    [data-nx-quest-rewards="v3"] {
        overflow-x: auto;
    }

    body .nx-kb__article-section:not(#dungeons)
    [data-nx-quest-rewards="v3"]
    .nx-kb__table {
        min-width: 760px;
    }
}

/* ==========================================================
   NOXARIS_KB_QUEST_REWARDS_COMPACT_V1 END
   ========================================================== */

/* ============================================================
   NOXARIS_TT_TABLE_V1 START
   Twilight Temple resource matrix
   ============================================================ */

.nx-kb-tt-gallery {
    margin: 14px 0 6px;
    border: 1px solid rgba(143, 108, 58, .38);
    border-radius: 10px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 252, 244, .96),
            rgba(244, 236, 220, .92)
        );
    box-shadow:
        0 8px 22px rgba(80, 59, 31, .08);
    overflow: visible;
}

.nx-kb-tt-gallery__head {
    padding: 15px 18px 13px;
    border-bottom: 1px solid rgba(143, 108, 58, .28);
    text-align: center;
    background:
        linear-gradient(
            180deg,
            rgba(190, 152, 91, .14),
            rgba(190, 152, 91, .04)
        );
}

.nx-kb-tt-gallery__head strong {
    display: block;
    font-size: 18px;
    line-height: 1.25;
    color: #70512d;
    font-weight: 700;
}

.nx-kb-tt-gallery__head span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.35;
    color: #9b7a4d;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nx-kb-tt-scroll {
    width: 100%;
    overflow: visible;
}

.nx-kb-tt-table {
    display: grid;
    grid-template-columns:
        115px
        82px
        95px
        minmax(0, 1fr)
        minmax(0, 1fr)
        minmax(0, 1fr);
    width: 100%;
    min-width: 0;
}

.nx-kb-tt-cell {
    min-width: 0;
    padding: 10px 7px;
    border-right: 1px solid rgba(143, 108, 58, .19);
    border-bottom: 1px solid rgba(143, 108, 58, .19);
    background: rgba(255, 255, 255, .28);
    color: #514535;
    line-height: 1.4;
}

.nx-kb-tt-cell:nth-child(6n) {
    border-right: 0;
}

.nx-kb-tt-head {
    padding-top: 11px;
    padding-bottom: 11px;
    text-align: center;
    background: rgba(158, 119, 63, .10);
    color: #76582f;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .025em;
}

.nx-kb-tt-head strong {
    display: block;
    color: #684921;
    font-size: 13px;
}

.nx-kb-tt-head small {
    display: block;
    margin-top: 2px;
    color: #9c7a4a;
    font-size: 11px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.nx-kb-tt-boss {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: #785631;
}

.nx-kb-tt-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    color: #776a58;
}

.nx-kb-tt-drop {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 58px;
}

.nx-kb-tt-drop .nx-kb-item {
    margin: 0;
    max-width: 100%;
}

.nx-kb-tt-drop .nx-kb-item__name {
    white-space: normal;
    overflow-wrap: anywhere;
}

.nx-kb-tt-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b1a38e;
    font-size: 18px;
}

.nx-kb-tt-table
.nx-kb-tt-cell:nth-last-child(-n+6) {
    border-bottom: 0;
}

@media (max-width: 900px) {

    .nx-kb-tt-gallery__head {
        text-align: left;
    }

    .nx-kb-tt-scroll {
        padding-bottom: 0;
    }

}

/* NOXARIS_TT_TABLE_V1 END */

/* NOXARIS_TT_MOBILE_V2 START */

/*
 * Desktop/tablet:
 * существующий внешний вид остаётся без изменений.
 *
 * Mobile:
 * 3 технических столбца превращаются в вертикальную
 * информацию о боссе, а три режима остаются рядом.
 */

@media (max-width: 760px) {

    .nx-kb-tt-gallery {
        margin-left: 0;
        margin-right: 0;
        border-radius: 8px;
        overflow: hidden;
    }

    .nx-kb-tt-gallery__head {
        padding: 13px 12px 11px;
        text-align: center;
    }

    .nx-kb-tt-gallery__head strong {
        font-size: 16px;
        line-height: 1.25;
    }

    .nx-kb-tt-gallery__head span {
        margin-top: 3px;
        font-size: 10px;
    }


    /*
     * Никакого горизонтального скролла.
     */

    .nx-kb-tt-scroll {
        width: 100%;
        max-width: 100%;
        overflow: visible !important;
        padding: 0 !important;
    }


    /*
     * На мобильном оставляем три колонки:
     * 1-1 / 1-2 / 1-3
     * либо
     * 2-1 / 2-2 / 2-3
     * либо
     * 3-1 / 3-2 / 3-3.
     */

    .nx-kb-tt-table {
        display: grid;
        width: 100%;
        min-width: 0 !important;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        overflow: visible;
    }


    /*
     * Первые три заголовка:
     * Босс / Режим / Сложность
     *
     * На мобильном они не нужны как отдельная
     * верхняя строка.
     */

    .nx-kb-tt-table
    > .nx-kb-tt-head:nth-child(1),

    .nx-kb-tt-table
    > .nx-kb-tt-head:nth-child(2),

    .nx-kb-tt-table
    > .nx-kb-tt-head:nth-child(3) {
        display: none;
    }


    /*
     * Заголовки режимов.
     */

    .nx-kb-tt-table
    > .nx-kb-tt-head:nth-child(4),

    .nx-kb-tt-table
    > .nx-kb-tt-head:nth-child(5),

    .nx-kb-tt-table
    > .nx-kb-tt-head:nth-child(6) {
        display: block;
        grid-column: span 1;

        min-width: 0;

        padding: 8px 3px;

        border-top: 0;

        font-size: 9px;
        line-height: 1.15;
        text-align: center;
    }

    .nx-kb-tt-head strong {
        font-size: 10px;
        line-height: 1.15;
    }

    .nx-kb-tt-head small {
        margin-top: 3px;
        font-size: 9px;
        line-height: 1.1;
    }


    /*
     * Каждый новый босс начинается
     * отдельной полноширинной строкой.
     */

    .nx-kb-tt-boss {
        grid-column: 1 / -1;

        min-height: 0;

        padding: 10px 10px 7px;

        border-right: 0 !important;
        border-top:
            5px solid rgba(142, 104, 54, .07);

        background:
            linear-gradient(
                90deg,
                rgba(181, 139, 77, .12),
                rgba(181, 139, 77, .035)
            );

        font-size: 13px;
        line-height: 1.25;
    }


    /*
     * Режим и сложность выводим каждый
     * отдельной компактной строкой.
     */

    .nx-kb-tt-meta {
        grid-column: 1 / -1;

        min-height: 0;

        justify-content: flex-start;

        padding: 3px 10px;

        border-right: 0 !important;
        border-bottom: 0;

        background: rgba(255,255,255,.18);

        text-align: left;
        font-size: 10px;
        line-height: 1.25;
    }


    /*
     * Три ячейки дропа остаются рядом.
     */

    .nx-kb-tt-drop,
    .nx-kb-tt-empty {
        grid-column: span 1;

        min-width: 0;
        min-height: 76px;

        padding: 8px 4px;

        border-right:
            1px solid rgba(143,108,58,.16);

        border-bottom:
            1px solid rgba(143,108,58,.24);

        background: rgba(255,255,255,.34);
    }

    .nx-kb-tt-drop {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;

        gap: 5px;
    }

    .nx-kb-tt-empty {
        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 14px;
    }


    /*
     * Предмет в мобильной ячейке:
     * иконка сверху, название снизу.
     */

    .nx-kb-tt-drop .nx-kb-item {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;

        width: 100%;
        max-width: 100%;

        gap: 4px;
        margin: 0;

        text-align: center;
    }

    .nx-kb-tt-drop .nx-kb-item__icon {
        flex: 0 0 auto;
        margin: 0;
    }

    .nx-kb-tt-drop .nx-kb-item__icon img {
        width: 30px;
        height: 30px;
    }

    .nx-kb-tt-drop .nx-kb-item__name {
        display: block;

        width: 100%;
        max-width: 100%;

        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        overflow-wrap: anywhere;
        word-break: normal;

        font-size: 10px;
        line-height: 1.2;
        text-align: center;
    }


    /*
     * Tooltip не должен растягивать таблицу.
     */

    .nx-kb-tt-drop .nx-kb-item__tooltip {
        max-width:
            min(310px, calc(100vw - 28px));
    }

}


/*
 * Совсем узкие телефоны.
 */

@media (max-width: 430px) {

    .nx-kb-tt-gallery__head strong {
        font-size: 15px;
    }

    .nx-kb-tt-table
    > .nx-kb-tt-head:nth-child(4),

    .nx-kb-tt-table
    > .nx-kb-tt-head:nth-child(5),

    .nx-kb-tt-table
    > .nx-kb-tt-head:nth-child(6) {
        padding-left: 2px;
        padding-right: 2px;
    }

    .nx-kb-tt-head strong {
        font-size: 9px;
    }

    .nx-kb-tt-head small {
        font-size: 8px;
    }

    .nx-kb-tt-drop,
    .nx-kb-tt-empty {
        min-height: 72px;
        padding: 7px 3px;
    }

    .nx-kb-tt-drop .nx-kb-item__icon img {
        width: 28px;
        height: 28px;
    }

    .nx-kb-tt-drop .nx-kb-item__name {
        font-size: 9px;
        line-height: 1.18;
    }

}

/* NOXARIS_TT_MOBILE_V2 END */


/* NOXARIS_KB_GLOBAL_RESPONSIVE_V1 START */

/* ==========================================================
   GLOBAL ITEM TOOLTIP
   JS owns visibility + viewport positioning.
   Old hover CSS remains as a no-JS fallback.
   ========================================================== */

html.nx-kb-tip-js
.nx-kb-item__tooltip {
    position: fixed;

    left: 0;
    top: 0;
    right: auto;
    bottom: auto;

    display: none;
    visibility: hidden;

    box-sizing: border-box;

    width:
        min(
            340px,
            calc(100vw - 20px)
        );

    max-width:
        calc(100vw - 20px);

    max-height:
        calc(100vh - 20px);

    margin: 0;

    translate: none;

    overflow-x: hidden;
    overflow-y: auto;

    overscroll-behavior: contain;

    pointer-events: auto;

    z-index: 2147483000;
}


html.nx-kb-tip-js
.nx-kb-item.nx-kb-tip-open
.nx-kb-item__tooltip {
    display: block;
    visibility: visible;
}


/*
 * Arrow follows the source item horizontally.
 */

html.nx-kb-tip-js
.nx-kb-item__tooltip::after {
    left:
        var(
            --nx-tip-arrow-x,
            24px
        );

    transform:
        translateX(-50%);
}


/*
 * Tooltip opened below the item.
 */

html.nx-kb-tip-js
.nx-kb-item__tooltip.nx-kb-tip--below::after {
    top: auto;
    bottom: 100%;

    border-top: 0;

    border-left:
        7px solid transparent;

    border-right:
        7px solid transparent;

    border-bottom:
        7px solid rgba(
            187,
            126,
            53,
            .92
        );
}


/*
 * If the tooltip has to occupy most of the viewport,
 * the pointer arrow is misleading — hide it.
 */

html.nx-kb-tip-js
.nx-kb-item__tooltip.nx-kb-tip--overlay::after {
    display: none;
}


/* ==========================================================
   GLOBAL MOBILE FOUNDATION
   Does not alter the dedicated TT mobile layout.
   ========================================================== */

@media (max-width: 760px) {

    .nx-kb__layout,
    .nx-kb__content,
    .nx-kb__section,
    .nx-kb__article,
    .nx-kb__article-section,
    .nx-kb__article-body {
        min-width: 0;
        max-width: 100%;
    }


    /*
     * Content must never force the article wider
     * than the phone viewport.
     */

    .nx-kb__article-body img,
    .nx-kb__article-body video,
    .nx-kb__article-body iframe {
        max-width: 100%;
        height: auto;
    }


    .nx-kb__article-body pre {
        max-width: 100%;
        overflow-x: auto;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
    }


    /*
     * Every ordinary item name may wrap.
     * Important for rewards, currencies, boxes,
     * dungeons and long PWDB names.
     */

    .nx-kb__article-body
    .nx-kb-item {
        min-width: 0;
        max-width: 100%;
    }


    .nx-kb__article-body
    .nx-kb-item__name {
        min-width: 0;

        white-space:
            normal !important;

        overflow-wrap:
            anywhere;

        word-break:
            normal;
    }


    /*
     * Old generic KB tables used min-width:760px
     * on mobile.
     *
     * Mobile uses the available article width instead.
     */

    .nx-kb__article-body
    table.nx-kb__table {
        display: table !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        table-layout:
            fixed !important;

        overflow:
            visible !important;
    }


    .nx-kb__article-body
    table.nx-kb__table th,

    .nx-kb__article-body
    table.nx-kb__table td {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;

        padding:
            8px 6px !important;

        white-space:
            normal !important;

        overflow-wrap:
            anywhere;

        word-break:
            normal;

        vertical-align:
            top;

        font-size:
            11px;

        line-height:
            1.3;
    }


    /*
     * Basic info tables use a separate class.
     */

    .nx-kb__article-body
    table.nx-kb-basic-table {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        table-layout:
            fixed !important;
    }


    .nx-kb__article-body
    table.nx-kb-basic-table th,

    .nx-kb__article-body
    table.nx-kb-basic-table td {
        min-width: 0 !important;

        white-space:
            normal !important;

        overflow-wrap:
            anywhere;
    }


    /*
     * Dungeon summary cards:
     * two columns are much easier to read
     * than four squeezed cards.
     */

    .nx-kb-dungeon__stats {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            ) !important;
    }


    .nx-kb-dungeon__stat {
        min-width: 0 !important;
    }


    /*
     * General content cards must be allowed to shrink.
     */

    .nx-kb-dungeon__loot-grid,
    .nx-kb-dungeon__mechanics,
    .nx-kb-dungeon__heads,
    .nx-kb-dungeon__heads-rewards,
    .nx-kb-dungeon__chest-grid,
    .nx-kb-gbp-open,
    .nx-kb-gbp-pool,
    .nx-kb-gbp-loot-list {
        min-width: 0;
        max-width: 100%;
    }


    /*
     * Global tooltip dimensions on phones.
     */

    html.nx-kb-tip-js
    .nx-kb-item__tooltip {
        width:
            min(
                340px,
                calc(100vw - 16px)
            );

        max-width:
            calc(100vw - 16px);

        max-height:
            calc(100vh - 16px);

        font-size:
            12px;

        line-height:
            1.35;
    }

}


@media (max-width: 520px) {

    .nx-kb__article-body
    table.nx-kb__table th,

    .nx-kb__article-body
    table.nx-kb__table td {
        padding:
            6px 4px !important;

        font-size:
            10px;
    }


    .nx-kb__article-body
    table.nx-kb__table
    .nx-kb-item__icon img {
        width: 28px;
        height: 28px;
    }


    .nx-kb__article-body
    table.nx-kb__table
    .nx-kb-item__name {
        font-size: 10px;
        line-height: 1.2;
    }

}

/* NOXARIS_KB_GLOBAL_RESPONSIVE_V1 END */


/* NOXARIS_QUEST_REWARDS_MOBILE_V2 START */

/*
 * QUEST REWARDS
 *
 * Desktop stays as the normal 4-column table.
 * On phones every TR becomes one reward milestone card.
 */

@media (max-width: 760px) {

    /* ======================================================
       SECTION
       ====================================================== */

    .nx-kb__article-section#quest-rewards,
    .nx-kb__article-section[data-slug="quest-rewards"] {
        overflow: visible;
    }


    .nx-kb__article-section#quest-rewards
    .nx-kb__article-body,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__article-body {
        min-width: 0;
        max-width: 100%;
    }


    /* ======================================================
       CHAPTER TITLES
       ====================================================== */

    .nx-kb__article-section#quest-rewards
    .nx-kb-dungeon__chapter-title,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb-dungeon__chapter-title {
        margin-top: 26px;
        margin-bottom: 12px;
    }


    /* ======================================================
       REMOVE TABLE BEHAVIOUR
       ====================================================== */

    .nx-kb__article-section#quest-rewards
    .nx-kb__table,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table {
        display: block !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        border: 0 !important;
        border-radius: 0 !important;

        background: transparent !important;

        overflow: visible !important;

        box-shadow: none !important;
    }


    .nx-kb__article-section#quest-rewards
    .nx-kb__table thead,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table thead {
        display: none !important;
    }


    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody {
        display: block !important;

        width: 100%;
    }


    /* ======================================================
       ONE QUEST MILESTONE = ONE CARD
       ====================================================== */

    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody tr,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody tr {
        display: block !important;

        width: 100%;
        min-width: 0;

        margin: 0 0 14px;

        border:
            1px solid rgba(
                151,
                112,
                58,
                .24
            );

        border-radius: 10px;

        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.82),
                rgba(250,246,237,.70)
            );

        box-shadow:
            0 3px 12px rgba(
                79,
                57,
                31,
                .055
            );

        overflow: visible;
    }


    /* ======================================================
       ALL CELLS
       ====================================================== */

    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody td,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody td {
        display: block !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        box-sizing: border-box;

        padding: 12px 13px !important;

        border: 0 !important;
        border-bottom:
            1px solid rgba(
                151,
                112,
                58,
                .13
            ) !important;

        background: transparent !important;

        white-space: normal !important;

        overflow-wrap: anywhere;

        font-size: 12px;
        line-height: 1.45;

        vertical-align: top;
    }


    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody td:last-child,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody td:last-child {
        border-bottom: 0 !important;
    }


    /* ======================================================
       CARD HEADER — MILESTONE
       ====================================================== */

    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody td:nth-child(1),

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody td:nth-child(1) {
        position: relative;

        padding:
            12px 14px 11px !important;

        border-bottom:
            1px solid rgba(
                151,
                112,
                58,
                .20
            ) !important;

        border-radius:
            9px 9px 0 0;

        background:
            linear-gradient(
                90deg,
                rgba(172,127,65,.16),
                rgba(172,127,65,.045)
            ) !important;

        color: #70502b;
    }


    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody td:nth-child(1) strong,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody td:nth-child(1) strong {
        display: block;

        margin: 0 0 3px;

        color: #694820;

        font-size: 16px;
        line-height: 1.2;
    }


    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody td:nth-child(1) small,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody td:nth-child(1) small {
        display: block;

        color: #9a7a52;

        font-size: 10px;
        line-height: 1.25;
    }


    /* ======================================================
       SECTION LABELS INSIDE CARD
       ====================================================== */

    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody td:nth-child(2)::before,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody td:nth-child(2)::before {
        content: "ОПЫТ И ПРОГРЕСС";
    }


    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody td:nth-child(3)::before,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody td:nth-child(3)::before {
        content: "ОСНОВНЫЕ НАГРАДЫ";
    }


    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody td:nth-child(4)::before,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody td:nth-child(4)::before {
        content: "ДОПОЛНИТЕЛЬНО";
    }


    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody td:nth-child(n+2)::before,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody td:nth-child(n+2)::before {
        display: block;

        margin-bottom: 8px;

        color: #a27b45;

        font-size: 9px;
        line-height: 1;

        font-weight: 800;

        letter-spacing: .075em;
    }


    /* ======================================================
       PROGRESS CELL
       ====================================================== */

    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody td:nth-child(2),

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody td:nth-child(2) {
        color: #5d5346;

        line-height: 1.6;
    }


    /* ======================================================
       ITEM CELLS
       ====================================================== */

    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody td:nth-child(3),

    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody td:nth-child(4),

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody td:nth-child(3),

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody td:nth-child(4) {
        line-height: 1.55;
    }


    /*
     * Every rendered PWDB item becomes a compact mobile chip.
     */

    .nx-kb__article-section#quest-rewards
    .nx-kb__table
    .nx-kb-item,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table
    .nx-kb-item {
        display: inline-flex !important;

        align-items: center;

        max-width: 100%;
        min-width: 0;

        margin:
            3px 3px 3px 0;

        padding:
            4px 7px 4px 4px;

        gap: 6px;

        border:
            1px solid rgba(
                145,
                105,
                52,
                .14
            );

        border-radius: 6px;

        background:
            rgba(
                255,
                251,
                243,
                .75
            );

        vertical-align: middle;
    }


    .nx-kb__article-section#quest-rewards
    .nx-kb__table
    .nx-kb-item__icon,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table
    .nx-kb-item__icon {
        flex: 0 0 auto;
    }


    .nx-kb__article-section#quest-rewards
    .nx-kb__table
    .nx-kb-item__icon img,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table
    .nx-kb-item__icon img {
        width: 28px;
        height: 28px;
    }


    .nx-kb__article-section#quest-rewards
    .nx-kb__table
    .nx-kb-item__name,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table
    .nx-kb-item__name {
        min-width: 0;

        white-space: normal !important;

        overflow-wrap: anywhere;

        font-size: 11px;
        line-height: 1.22;
    }


    /* ======================================================
       EMPTY "ADDITIONAL" CELL
       ====================================================== */

    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody td:nth-child(4),

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody td:nth-child(4) {
        background:
            rgba(
                153,
                114,
                57,
                .025
            ) !important;
    }


    /* ======================================================
       SUMMARY ABOVE TABLES
       ====================================================== */

    .nx-kb__article-section#quest-rewards
    .nx-kb__info,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__info,

    .nx-kb__article-section#quest-rewards
    .nx-kb-dungeon__route,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb-dungeon__route {
        max-width: 100%;

        padding:
            13px 14px;

        border-radius: 8px;

        line-height: 1.45;
    }

}


/* ==========================================================
   VERY SMALL PHONES
   ========================================================== */

@media (max-width: 430px) {

    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody tr,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody tr {
        margin-bottom: 12px;

        border-radius: 8px;
    }


    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody td,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody td {
        padding:
            10px 11px !important;

        font-size: 11px;
    }


    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody td:nth-child(1) strong,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody td:nth-child(1) strong {
        font-size: 15px;
    }


    .nx-kb__article-section#quest-rewards
    .nx-kb__table
    .nx-kb-item__icon img,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table
    .nx-kb-item__icon img {
        width: 26px;
        height: 26px;
    }


    .nx-kb__article-section#quest-rewards
    .nx-kb__table
    .nx-kb-item__name,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table
    .nx-kb-item__name {
        font-size: 10px;
    }

}

/* NOXARIS_QUEST_REWARDS_MOBILE_V2 END */


/* NOXARIS_QUEST_REWARDS_CENTER_FIX_V1 START */

@media (max-width: 760px) {

    /*
     * Все уровни контейнера считаем вместе
     * с border/padding, чтобы ничего не выступало вправо.
     */

    .nx-kb__article-section#quest-rewards
    .nx-kb__table,

    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody,

    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody tr,

    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody td,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody tr,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody td {
        box-sizing: border-box !important;
    }


    /*
     * Чуть утапливаем карточку внутрь:
     * одинаковый зазор слева и справа.
     */

    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody tr,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody tr {
        width:
            calc(100% - 4px) !important;

        max-width:
            calc(100% - 4px) !important;

        margin-left:
            auto !important;

        margin-right:
            auto !important;
    }


    /*
     * Сам контейнер тоже строго по центру.
     */

    .nx-kb__article-section#quest-rewards
    .nx-kb__table,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table {
        margin-left: 0 !important;
        margin-right: 0 !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
    }


    .nx-kb__article-section#quest-rewards
    .nx-kb__table tbody,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb__table tbody {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }

}

/* NOXARIS_QUEST_REWARDS_CENTER_FIX_V1 END */


/* NOXARIS_QUEST_MORAI_FINAL_V2 START */


/* ==========================================================
   QUEST REWARDS — MORAI
   ========================================================== */

.nx-kb__article-section#quest-rewards
.nx-kb-quest-morai-v2,

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-morai-v2 {
    display: block;
    width: 100%;
    box-sizing: border-box;

    margin-top: 12px;
    padding-top: 11px;

    border-top:
        1px solid rgba(145, 105, 53, .18);
}


.nx-kb__article-section#quest-rewards
.nx-kb-quest-morai-v2__title,

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-morai-v2__title {
    display: block;

    margin-bottom: 8px;

    color: #74522b;

    font-size: 12px;
    font-weight: 800;
}


.nx-kb__article-section#quest-rewards
.nx-kb-quest-morai-v2__grid,

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-morai-v2__grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 8px;

    width: 100%;
    box-sizing: border-box;
}


.nx-kb__article-section#quest-rewards
.nx-kb-quest-morai-v2__cell,

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-morai-v2__cell {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: center;
    gap: 7px;

    min-width: 0;

    padding: 8px 9px;

    box-sizing: border-box;

    border:
        1px solid rgba(145, 105, 53, .19);

    border-radius: 6px;

    background:
        rgba(255, 251, 243, .68);
}


.nx-kb__article-section#quest-rewards
.nx-kb-quest-morai-v2__cell
.nx-kb-item,

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-morai-v2__cell
.nx-kb-item {
    display: flex !important;
    align-items: center;

    min-width: 0;
    max-width: 100%;

    gap: 6px;
    margin: 0 !important;
}


.nx-kb__article-section#quest-rewards
.nx-kb-quest-morai-v2__cell
.nx-kb-item__name,

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-morai-v2__cell
.nx-kb-item__name {
    min-width: 0;

    white-space: normal !important;
    overflow-wrap: anywhere;
}


.nx-kb__article-section#quest-rewards
.nx-kb-quest-morai-v2__cell > b,

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-morai-v2__cell > b {
    white-space: nowrap;

    color: #795b35;

    font-size: 12px;
    font-weight: 700;
}


/* ==========================================================
   LEGACY SEAL NOTE
   ========================================================== */

.nx-kb__article-section#quest-rewards
.nx-kb-quest-exp-note-v2,

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-exp-note-v2 {
    margin-top: 14px;
    margin-bottom: 16px;
}


/* ==========================================================
   DESKTOP TOOLTIP — NO INTERNAL SCROLL
   ========================================================== */

@media (hover: hover) and (pointer: fine) {

    html.nx-kb-tip-js
    .nx-kb-item__tooltip {
        max-height: none !important;

        overflow-x: visible !important;
        overflow-y: visible !important;

        overscroll-behavior: auto !important;
    }

}


/* ==========================================================
   MOBILE MORAI
   ========================================================== */

@media (max-width: 760px) {

    .nx-kb__article-section#quest-rewards
    .nx-kb-quest-morai-v2__grid,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb-quest-morai-v2__grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }


    .nx-kb__article-section#quest-rewards
    .nx-kb-quest-morai-v2__cell,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb-quest-morai-v2__cell {
        width: 100%;
        max-width: 100%;
    }

}


/* NOXARIS_QUEST_MORAI_FINAL_V2 END */


/* NOXARIS_KB_MOBILE_ROUTE_FLOW_V1 START */

/*
 * Global mobile treatment for progression / route chains.
 *
 * Examples:
 * 19 уровень → Лен Фэйянь → Возвращение после учёбы
 * 19 → 29 → 39 → ... → 99
 *
 * Desktop is untouched.
 */

@media (max-width: 760px) {

    /*
     * Route itself must never be wider
     * than the article.
     */

    .nx-kb__article-body
    .nx-kb-dungeon__route {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;

        overflow: visible !important;

        white-space: normal !important;
    }


    /*
     * Main route / progression badge.
     *
     * Keep the visual badge, but allow it to become
     * two or more lines instead of leaving viewport.
     */

    .nx-kb__article-body
    .nx-kb-dungeon__route > strong {
        display: block !important;

        width: fit-content !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;

        white-space: normal !important;

        overflow: visible !important;
        text-overflow: clip !important;

        overflow-wrap: anywhere !important;
        word-break: normal !important;

        line-height: 1.55 !important;
    }


    /*
     * Arrow spans remain inline.
     * This allows the browser to choose a safe
     * line break between route stages.
     */

    .nx-kb__article-body
    .nx-kb-dungeon__route > strong span {
        display: inline !important;

        position: static !important;

        flex: none !important;

        width: auto !important;
        min-width: 0 !important;

        margin-left: 4px !important;
        margin-right: 4px !important;

        white-space: nowrap !important;
    }


    /*
     * Explanatory text below route.
     */

    .nx-kb__article-body
    .nx-kb-dungeon__route > p {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;

        white-space: normal !important;

        overflow: visible !important;
        text-overflow: clip !important;

        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }


    /*
     * Safety for links/items embedded into route text.
     */

    .nx-kb__article-body
    .nx-kb-dungeon__route a,

    .nx-kb__article-body
    .nx-kb-dungeon__route .nx-kb-item,

    .nx-kb__article-body
    .nx-kb-dungeon__route .nx-kb-item__name {
        max-width: 100% !important;
        min-width: 0 !important;

        white-space: normal !important;

        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

}


/*
 * Very narrow phones.
 */

@media (max-width: 430px) {

    .nx-kb__article-body
    .nx-kb-dungeon__route > strong {
        line-height: 1.6 !important;
    }


    .nx-kb__article-body
    .nx-kb-dungeon__route > strong span {
        margin-left: 3px !important;
        margin-right: 3px !important;
    }

}

/* NOXARIS_KB_MOBILE_ROUTE_FLOW_V1 END */


/* NOXARIS_EVENT_RICHMAN_V1 START */


/* ==========================================================
   EVENT — БОГАТЕЙ
   Scoped only to Events.
   ========================================================== */

#events .nx-kb-richman-v1,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1 {
    margin-top: 22px;

    padding: 17px;

    box-sizing: border-box;

    border:
        1px solid rgba(144, 105, 54, .22);

    border-radius: 8px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 252, 245, .90),
            rgba(249, 242, 229, .74)
        );

    box-shadow:
        0 7px 20px rgba(94, 68, 32, .07);
}


#events .nx-kb-richman-v1__head,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__head {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 16px;
}


#events .nx-kb-richman-v1__overline,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__overline {
    display: block;

    margin-bottom: 4px;

    color: #aa7b38;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .09em;
}


#events .nx-kb-richman-v1__title,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__title {
    display: block;

    color: #684820;

    font-size: 21px;
    font-weight: 800;

    line-height: 1.2;
}


#events .nx-kb-richman-v1__head p,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__head p {
    max-width: 700px;

    margin:
        8px 0 0;

    color: #675b4b;

    line-height: 1.55;
}


#events .nx-kb-richman-v1__stats,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__stats {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 8px;

    margin-top: 15px;
}


#events .nx-kb-richman-v1__stats > div,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__stats > div {
    min-width: 0;

    padding:
        10px 9px;

    box-sizing: border-box;

    border:
        1px solid rgba(145, 105, 52, .15);

    border-radius: 6px;

    background:
        rgba(255, 255, 255, .47);

    text-align: center;
}


#events .nx-kb-richman-v1__stats strong,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__stats strong {
    display: block;

    color: #725127;

    font-size: 12px;

    overflow-wrap: anywhere;
}


#events .nx-kb-richman-v1__stats span,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__stats span {
    display: block;

    margin-top: 3px;

    color: #96836a;

    font-size: 10px;

    line-height: 1.3;
}


#events .nx-kb-richman-v1__route,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__route {
    margin-top: 13px;

    padding:
        11px 12px;

    border-left:
        3px solid rgba(168, 120, 54, .55);

    background:
        rgba(180, 136, 72, .065);
}


#events .nx-kb-richman-v1__route > strong,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__route > strong {
    color: #735126;

    font-size: 12px;
}


#events .nx-kb-richman-v1__route p,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__route p {
    margin:
        5px 0 0;

    color: #6d6151;

    line-height: 1.5;
}


#events .nx-kb-richman-v1__loot-head,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__loot-head {
    display: flex;

    align-items: baseline;

    justify-content: space-between;

    gap: 12px;

    margin-top: 17px;
    margin-bottom: 8px;
}


#events .nx-kb-richman-v1__loot-head strong,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__loot-head strong {
    color: #6d4c23;

    font-size: 13px;
}


#events .nx-kb-richman-v1__loot-head span,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__loot-head span {
    color: #9a8871;

    font-size: 10px;

    text-align: right;
}


#events .nx-kb-richman-v1__loot-grid,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__loot-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(185px, 1fr)
        );

    gap: 7px;
}


#events .nx-kb-richman-v1__loot,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__loot {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 8px;

    min-width: 0;

    padding:
        8px 9px;

    box-sizing: border-box;

    border:
        1px solid rgba(146, 106, 51, .16);

    border-radius: 6px;

    background:
        rgba(255, 255, 255, .52);
}


#events .nx-kb-richman-v1__loot > div,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__loot > div {
    min-width: 0;
}


#events .nx-kb-richman-v1__loot .nx-kb-item,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__loot .nx-kb-item {
    max-width: 100%;

    margin: 0;
}


#events .nx-kb-richman-v1__loot .nx-kb-item__name,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__loot .nx-kb-item__name {
    white-space: normal !important;

    overflow-wrap: anywhere;
}


#events .nx-kb-richman-v1__loot > strong,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__loot > strong {
    color: #9a6d30;

    font-size: 12px;

    white-space: nowrap;
}


#events .nx-kb-richman-v1__drop-count,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__drop-count {
    margin-top: 13px;

    padding-top: 12px;

    border-top:
        1px solid rgba(143, 106, 58, .16);
}


#events .nx-kb-richman-v1__drop-count > strong,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__drop-count > strong {
    display: block;

    margin-bottom: 7px;

    color: #756044;

    font-size: 11px;
}


#events .nx-kb-richman-v1__drop-count > div,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__drop-count > div {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 6px;
}


#events .nx-kb-richman-v1__drop-count span,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__drop-count span {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

    padding:
        6px;

    border-radius: 5px;

    background:
        rgba(166, 125, 67, .07);

    color: #8b7659;

    font-size: 10px;
}


#events .nx-kb-richman-v1__drop-count b,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__drop-count b {
    color: #6f4f27;

    font-size: 12px;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 760px) {

    #events .nx-kb-richman-v1,
    .nx-kb__article-section[data-slug="events"]
    .nx-kb-richman-v1 {
        width: 100%;
        max-width: 100%;

        padding: 13px;

        box-sizing: border-box;
    }


    #events .nx-kb-richman-v1__stats,
    .nx-kb__article-section[data-slug="events"]
    .nx-kb-richman-v1__stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    #events .nx-kb-richman-v1__loot-head,
    .nx-kb__article-section[data-slug="events"]
    .nx-kb-richman-v1__loot-head {
        display: block;
    }


    #events .nx-kb-richman-v1__loot-head span,
    .nx-kb__article-section[data-slug="events"]
    .nx-kb-richman-v1__loot-head span {
        display: block;

        margin-top: 3px;

        text-align: left;
    }


    #events .nx-kb-richman-v1__loot-grid,
    .nx-kb__article-section[data-slug="events"]
    .nx-kb-richman-v1__loot-grid {
        grid-template-columns: 1fr;
    }


    #events .nx-kb-richman-v1__drop-count > div,
    .nx-kb__article-section[data-slug="events"]
    .nx-kb-richman-v1__drop-count > div {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 430px) {

    #events .nx-kb-richman-v1__title,
    .nx-kb__article-section[data-slug="events"]
    .nx-kb-richman-v1__title {
        font-size: 19px;
    }


    #events .nx-kb-richman-v1__stats,
    .nx-kb__article-section[data-slug="events"]
    .nx-kb-richman-v1__stats {
        grid-template-columns: 1fr;
    }

}


/* NOXARIS_EVENT_RICHMAN_V1 END */


/* NOXARIS_EVENT_RICHMAN_POLISH_V2 START */


/* ==========================================================
   БОГАТЕЙ — LOOT V2
   ========================================================== */

#events .nx-kb-richman-v1__loot-grid,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__loot-grid {

    display: grid !important;

    grid-template-columns:
        repeat(5, minmax(0, 1fr)) !important;

    gap: 8px !important;

    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;
}


#events .nx-kb-richman-v1__loot,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__loot {

    position: relative;

    display: flex !important;

    flex-direction: column;
    align-items: stretch;
    justify-content: center;

    min-width: 0 !important;
    min-height: 72px;

    padding:
        9px 9px 8px !important;

    box-sizing: border-box !important;

    border:
        1px solid rgba(142,103,49,.18) !important;

    border-radius: 7px !important;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.78),
            rgba(250,244,233,.72)
        ) !important;

    box-shadow:
        0 2px 7px rgba(90,61,24,.045);

    overflow: visible !important;
}


#events .nx-kb-richman-v1__loot > div,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__loot > div {

    display: flex;

    align-items: center;

    min-width: 0;

    padding-right: 34px;
}


#events .nx-kb-richman-v1__loot .nx-kb-item,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__loot .nx-kb-item {

    display: flex !important;

    align-items: center;

    gap: 6px;

    min-width: 0;
    max-width: 100%;

    margin: 0 !important;
}


#events .nx-kb-richman-v1__loot .nx-kb-item__icon,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__loot .nx-kb-item__icon {

    flex: 0 0 auto;
}


#events .nx-kb-richman-v1__loot .nx-kb-item__name,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__loot .nx-kb-item__name {

    min-width: 0;

    font-size: 11px;

    line-height: 1.25;

    white-space: normal !important;

    overflow-wrap: anywhere !important;
}


#events .nx-kb-richman-v1__loot > strong,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__loot > strong {

    position: absolute;

    top: 7px;
    right: 7px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 31px;

    padding: 3px 5px;

    box-sizing: border-box;

    border:
        1px solid rgba(164,116,48,.18);

    border-radius: 999px;

    background:
        rgba(177,128,60,.10);

    color: #986724 !important;

    font-size: 10px !important;
    font-weight: 800;

    line-height: 1;

    white-space: nowrap;
}


/* Header of loot section */

#events .nx-kb-richman-v1__loot-head,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__loot-head {

    padding-top: 2px;

    margin-bottom: 9px !important;
}


#events .nx-kb-richman-v1__loot-head > strong,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__loot-head > strong {

    font-size: 14px !important;
}


/* Slightly cleaner drop-count footer */

#events .nx-kb-richman-v1__drop-count,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__drop-count {

    margin-top: 14px !important;

    padding-top: 12px !important;
}


#events .nx-kb-richman-v1__drop-count span,
.nx-kb__article-section[data-slug="events"]
.nx-kb-richman-v1__drop-count span {

    min-height: 31px;

    box-sizing: border-box;
}


/* ==========================================================
   TABLET / PHONE
   ========================================================== */

@media (max-width: 760px) {

    #events .nx-kb-richman-v1__loot-grid,
    .nx-kb__article-section[data-slug="events"]
    .nx-kb-richman-v1__loot-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 7px !important;
    }


    #events .nx-kb-richman-v1__loot,
    .nx-kb__article-section[data-slug="events"]
    .nx-kb-richman-v1__loot {

        min-height: 68px;
    }

}


@media (max-width: 430px) {

    #events .nx-kb-richman-v1__loot-grid,
    .nx-kb__article-section[data-slug="events"]
    .nx-kb-richman-v1__loot-grid {

        grid-template-columns:
            1fr !important;
    }


    #events .nx-kb-richman-v1__loot,
    .nx-kb__article-section[data-slug="events"]
    .nx-kb-richman-v1__loot {

        min-height: 62px;
    }


    #events .nx-kb-richman-v1__loot .nx-kb-item__name,
    .nx-kb__article-section[data-slug="events"]
    .nx-kb-richman-v1__loot .nx-kb-item__name {

        font-size: 11px;
    }

}


/* NOXARIS_EVENT_RICHMAN_POLISH_V2 END */


/* NOXARIS_EVENT_RICHMAN_FONT_UNIFY_V1 START */

/* ==========================================================
   БОГАТЕЙ — ЕДИНЫЙ ШРИФТОВОЙ СТИЛЬ
   Приводим блок к тому же шрифтовому образу,
   что и остальная knowledge base.
   ========================================================== */

#events .nx-kb-richman-v1,
.nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1 {
    font-family: inherit !important;
    color: inherit;
}

#events .nx-kb-richman-v1 *,
.nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1 * {
    font-family: inherit !important;
    letter-spacing: normal !important;
    text-transform: none;
}

/* Верхняя пометка */
#events .nx-kb-richman-v1__overline,
.nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__overline {
    color: #b18341 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
}

/* Заголовок Богатей */
#events .nx-kb-richman-v1__title,
.nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__title {
    color: #6d4c23 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
}

/* Описание под заголовком */
#events .nx-kb-richman-v1__head p,
.nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__head p {
    color: #6e6355 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}

/* Карточки характеристик */
#events .nx-kb-richman-v1__stats strong,
.nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__stats strong {
    color: #7a592f !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

#events .nx-kb-richman-v1__stats span,
.nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__stats span {
    color: #9a8a75 !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
}

/* Блок с монстром */
#events .nx-kb-richman-v1__route > strong,
.nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__route > strong {
    color: #7b592f !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

#events .nx-kb-richman-v1__route p,
.nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__route p {
    color: #6e6355 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}

/* Заголовок лута */
#events .nx-kb-richman-v1__loot-head > strong,
.nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__loot-head > strong {
    color: #7b592f !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

#events .nx-kb-richman-v1__loot-head > span,
.nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__loot-head > span {
    color: #9b8b76 !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
}

/* Названия предметов */
#events .nx-kb-richman-v1__loot .nx-kb-item__name,
.nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__loot .nx-kb-item__name {
    color: #6c6255 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

/* Бейдж шанса */
#events .nx-kb-richman-v1__loot > strong,
.nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__loot > strong {
    color: #a36f27 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

/* Подвал с количеством выпавших предметов */
#events .nx-kb-richman-v1__drop-count > strong,
.nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__drop-count > strong {
    color: #7b592f !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

#events .nx-kb-richman-v1__drop-count span,
.nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__drop-count span {
    color: #8f7f6c !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

#events .nx-kb-richman-v1__drop-count b,
.nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__drop-count b {
    color: #6f4f27 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

/* Мобильная адаптация */
@media (max-width: 760px) {

    #events .nx-kb-richman-v1__title,
    .nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__title {
        font-size: 17px !important;
    }

    #events .nx-kb-richman-v1__head p,
    .nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__head p,
    #events .nx-kb-richman-v1__route p,
    .nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__route p {
        font-size: 12px !important;
    }
}

@media (max-width: 430px) {

    #events .nx-kb-richman-v1__title,
    .nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__title {
        font-size: 16px !important;
    }

    #events .nx-kb-richman-v1__loot .nx-kb-item__name,
    .nx-kb__article-section[data-slug="events"] .nx-kb-richman-v1__loot .nx-kb-item__name {
        font-size: 10.5px !important;
    }
}

/* NOXARIS_EVENT_RICHMAN_FONT_UNIFY_V1 END */


/* NOXARIS_TITLES_GUIDE_V1 START */

.nx-kb-titles-v2 {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-family: inherit !important;
    color: inherit;
}

.nx-kb-titles-v2 *,
.nx-kb-titles-v2 *::before,
.nx-kb-titles-v2 *::after {
    box-sizing: border-box;
    font-family: inherit;
}

.nx-kb-titles-hero {
    padding: 18px 20px;
    border: 1px solid rgba(151,108,54,.18);
    border-radius: 8px;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.62),
            rgba(248,240,225,.46)
        );
}

.nx-kb-titles-overline {
    margin-bottom: 5px;
    color: #ad7d3b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .065em;
}

.nx-kb-titles-hero h3 {
    margin: 0;
    color: #684821;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
}

.nx-kb-titles-hero p {
    max-width: 760px;
    margin: 8px 0 0;
    color: #746756;
    font-size: 13px;
    line-height: 1.55;
}

.nx-kb-titles-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 13px;
}

.nx-kb-titles-stats span {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 5px 9px;
    border: 1px solid rgba(158,115,58,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.48);
    color: #8c7a62;
    font-size: 10px;
}

.nx-kb-titles-stats strong {
    color: #745128;
    font-size: 12px;
}

.nx-kb-titles-tools {
    display: grid;
    grid-template-columns: minmax(0,1fr) 250px;
    gap: 9px;
    margin-top: 13px;
}

.nx-kb-titles-search > span,
.nx-kb-titles-select > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

.nx-kb-titles-search input,
.nx-kb-titles-select select {
    width: 100%;
    min-height: 40px;
    padding: 8px 11px;
    border: 1px solid rgba(147,105,49,.21);
    border-radius: 7px;
    outline: 0;
    background: rgba(255,255,255,.64);
    color: #675845;
    font-size: 12px;
}

.nx-kb-titles-search input:focus,
.nx-kb-titles-select select:focus {
    border-color: rgba(172,120,48,.55);
    box-shadow: 0 0 0 2px rgba(172,120,48,.08);
}

.nx-kb-titles-chainbar {
    display: flex;
    gap: 6px;
    max-width: 100%;
    margin-top: 9px;
    padding: 1px 0 6px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.nx-kb-titles-chip {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid rgba(151,108,51,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.45);
    color: #846d51;
    cursor: pointer;
    font-size: 10px;
    white-space: nowrap;
}

.nx-kb-titles-chip b {
    color: #9f6c2c;
}

.nx-kb-titles-chip.is-active {
    border-color: rgba(165,111,40,.48);
    background:
        linear-gradient(
            180deg,
            #bd8c48,
            #a56e2a
        );
    color: #fffaf1;
}

.nx-kb-titles-chip.is-active b {
    color: inherit;
}

.nx-kb-titles-resultbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 29px;
    margin: 3px 2px 9px;
    color: #96836b;
    font-size: 10px;
}

.nx-kb-titles-resultbar strong {
    color: #76542d;
}

.nx-kb-titles-reset {
    border: 0;
    background: transparent;
    color: #9a692b;
    cursor: pointer;
    font-size: 10px;
}

.nx-kb-title-chain {
    margin-top: 14px;
    border: 1px solid rgba(148,105,49,.17);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,.25);
}

.nx-kb-title-chain[hidden],
.nx-kb-title-entry[hidden] {
    display: none !important;
}

.nx-kb-title-chain-head {
    display: grid;
    grid-template-columns: 36px minmax(0,1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(150,107,51,.15);
    background:
        linear-gradient(
            90deg,
            rgba(176,125,55,.09),
            rgba(255,255,255,.18)
        );
}

.nx-kb-title-chain-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background:
        linear-gradient(
            180deg,
            #c79a59,
            #a87330
        );
    color: #fffaf0;
    font-size: 11px;
    font-weight: 700;
}

.nx-kb-title-chain-head h4 {
    min-width: 0;
    margin: 0;
    color: #694820;
    font-size: 16px;
    font-weight: 700;
}

.nx-kb-title-chain-count {
    color: #99856b;
    font-size: 10px;
    white-space: nowrap;
}

.nx-kb-title-table-head,
.nx-kb-title-row {
    display: grid;
    grid-template-columns:
        minmax(145px,1.35fr)
        minmax(76px,.65fr)
        minmax(115px,1fr)
        minmax(150px,1.35fr)
        minmax(105px,.95fr)
        38px;
    align-items: center;
}

.nx-kb-title-table-head {
    min-height: 31px;
    padding: 0 8px;
    border-bottom: 1px solid rgba(151,108,54,.14);
    color: #a89174;
    font-size: 9px;
    text-transform: uppercase;
}

.nx-kb-title-table-head > span,
.nx-kb-title-row > div {
    min-width: 0;
    padding: 7px 8px;
}

.nx-kb-title-entry {
    border-bottom: 1px solid rgba(151,108,54,.12);
}

.nx-kb-title-entry:last-child {
    border-bottom: 0;
}

.nx-kb-title-row {
    min-height: 53px;
    padding: 0 8px;
    background: rgba(255,255,255,.30);
}

@media (hover:hover) and (pointer:fine) {
    .nx-kb-title-row:hover {
        background: rgba(255,252,246,.75);
    }
}

.nx-kb-title-name strong {
    display: block;
    color: #62533f;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.nx-kb-title-name small {
    display: none;
}

.nx-kb-title-id {
    color: #8b7a65;
    font-size: 9px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.nx-kb-title-bonus span {
    display: inline-block;
    max-width: 100%;
    padding: 4px 7px;
    border: 1px solid rgba(190,137,62,.18);
    border-radius: 5px;
    background: rgba(214,167,94,.13);
    color: #996724;
    font-size: 9px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.nx-kb-title-bonus span.is-empty {
    border: 0;
    background: transparent;
    color: #b4a58f;
}

.nx-kb-title-quest {
    color: #736552;
    font-size: 10px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.nx-kb-title-coord-main {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.nx-kb-title-coord-main small {
    color: #a59175;
    font-size: 9px;
}

.nx-kb-title-coord {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 4px 6px;
    border: 1px solid rgba(177,122,48,.22);
    border-radius: 5px;
    background: rgba(197,146,74,.10);
    color: #996623;
    cursor: pointer;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.nx-kb-title-coord:hover {
    border-color: rgba(177,122,48,.44);
    background: rgba(197,146,74,.17);
}

.nx-kb-title-coord.is-copied {
    border-color: rgba(91,135,68,.30);
    background: rgba(91,135,68,.10);
    color: #66834f;
}

.nx-kb-title-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: auto;
    padding: 0;
    border: 1px solid rgba(151,108,54,.18);
    border-radius: 6px;
    background: rgba(255,255,255,.50);
    color: #986a2e;
    cursor: pointer;
    font-size: 16px;
}

.nx-kb-title-toggle span {
    transition: transform .18s ease;
}

.nx-kb-title-toggle[aria-expanded="true"] span {
    transform: rotate(180deg);
}

.nx-kb-title-details {
    display: grid;
    grid-template-columns: minmax(0,1.45fr) minmax(0,1fr);
    border-top: 1px solid rgba(151,108,54,.11);
    background:
        linear-gradient(
            180deg,
            rgba(252,247,238,.76),
            rgba(250,243,231,.47)
        );
}

.nx-kb-title-details[hidden] {
    display: none !important;
}

.nx-kb-title-detail-block {
    min-width: 0;
    padding: 12px 14px;
}

.nx-kb-title-detail-block
+ .nx-kb-title-detail-block {
    border-left: 1px solid rgba(151,108,54,.13);
}

.nx-kb-title-detail-block > strong {
    display: block;
    margin-bottom: 7px;
    color: #775229;
    font-size: 11px;
}

.nx-kb-title-detail-line {
    color: #746653;
    font-size: 10px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.nx-kb-title-detail-line
+ .nx-kb-title-detail-line {
    margin-top: 5px;
}

.nx-kb-title-detail-empty {
    color: #aa9b87;
    font-size: 10px;
    font-style: italic;
}

.nx-kb-titles-empty {
    margin-top: 15px;
    padding: 17px;
    border: 1px dashed rgba(150,107,51,.22);
    border-radius: 7px;
    text-align: center;
    color: #928069;
    font-size: 11px;
}

.nx-kb-titles-copy-status {
    min-height: 16px;
    margin-top: 7px;
    color: #76895e;
    font-size: 10px;
    text-align: right;
}

@media (max-width:760px) {

    .nx-kb-titles-hero {
        padding: 14px;
    }

    .nx-kb-titles-hero h3 {
        font-size: 19px;
    }

    .nx-kb-titles-tools {
        grid-template-columns: 1fr;
    }

    .nx-kb-titles-search input,
    .nx-kb-titles-select select {
        min-height: 44px;
        font-size: 16px;
    }

    .nx-kb-title-table-head {
        display: none;
    }

    .nx-kb-title-row {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0,1fr);
        gap: 6px;
        padding: 11px 52px 11px 11px;
    }

    .nx-kb-title-row > div {
        padding: 0;
    }

    .nx-kb-title-name strong {
        font-size: 12px;
    }

    .nx-kb-title-name small {
        display: block;
        margin-top: 2px;
        color: #a08d73;
        font-size: 9px;
    }

    .nx-kb-title-id {
        display: none;
    }

    .nx-kb-title-quest::before {
        content: "Квест · ";
        color: #a58d6d;
    }

    .nx-kb-title-toggle {
        position: absolute;
        top: 11px;
        right: 10px;
        width: 34px;
        height: 34px;
    }

    .nx-kb-title-details {
        grid-template-columns: 1fr;
    }

    .nx-kb-title-detail-block
    + .nx-kb-title-detail-block {
        border-top: 1px solid rgba(151,108,54,.13);
        border-left: 0;
    }

    .nx-kb-title-detail-line {
        font-size: 11px;
    }

    .nx-kb-title-coord {
        min-height: 32px;
        font-size: 10px;
    }
}

@media (max-width:430px) {

    .nx-kb-title-chain-head {
        grid-template-columns: 32px minmax(0,1fr);
    }

    .nx-kb-title-chain-number {
        width: 30px;
        height: 30px;
    }

    .nx-kb-title-chain-head h4 {
        font-size: 14px;
    }

    .nx-kb-title-chain-count {
        grid-column: 2;
    }
}

/* NOXARIS_TITLES_GUIDE_V1 END */


/* NOXARIS_TITLES_NATIVE_V3 START */


/* ==========================================================
   NOXARIS TITLES
   Native knowledge-base visual language
   ========================================================== */


/* ---------- Intro: больше никакой второй карточки ---------- */

.nx-kb-titles-hero {
    margin: 0 0 18px !important;
    padding: 0 0 15px !important;

    border: 0 !important;
    border-bottom:
        1px solid rgba(169,119,53,.22) !important;

    border-radius: 0 !important;

    background: transparent !important;
}

.nx-kb-titles-hero p {
    max-width: 850px !important;

    margin: 0 !important;

    color: #716452 !important;

    font-size: 13px !important;
    line-height: 1.65 !important;
}


/* ---------- Stats: текстовая строка, НЕ пилюли ---------- */

.nx-kb-titles-stats {
    display: flex !important;
    flex-wrap: wrap !important;

    gap: 0 !important;

    margin-top: 11px !important;
}

.nx-kb-titles-stats span {
    position: relative;

    display: inline-flex !important;

    gap: 5px !important;

    padding:
        0 15px 0 0 !important;

    margin:
        0 14px 0 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    color: #928069 !important;

    font-size: 11px !important;
}

.nx-kb-titles-stats span:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 3px;
    right: 0;

    width: 1px;
    height: 12px;

    background:
        rgba(169,119,53,.30);
}

.nx-kb-titles-stats strong {
    color: #8f6128 !important;

    font-size: 11px !important;
}


/* ---------- Search: без закруглённых карточек ---------- */

.nx-kb-titles-search input,
.nx-kb-titles-select select {
    border-radius: 2px !important;

    background:
        rgba(255,255,255,.34) !important;
}


/* ==========================================================
   CHAIN NAVIGATION
   Никаких pills и коричневой заливки
   ========================================================== */

.nx-kb-titles-chainbar {
    gap: 5px !important;

    padding-bottom: 7px !important;
}

.nx-kb-titles-chip {
    min-height: 32px !important;

    padding:
        6px 10px !important;

    border:
        1px solid rgba(166,116,51,.20) !important;

    border-radius: 2px !important;

    background:
        transparent !important;

    color: #806d55 !important;

    box-shadow: none !important;

    font-size: 10px !important;

    transition:
        border-color .15s ease,
        color .15s ease,
        background-color .15s ease;
}

.nx-kb-titles-chip b {
    color: #a27031 !important;
}

@media (hover:hover) and (pointer:fine) {

    .nx-kb-titles-chip:hover {
        border-color:
            rgba(174,118,45,.45) !important;

        background:
            rgba(177,122,50,.045) !important;

        color: #76532b !important;
    }

}

.nx-kb-titles-chip.is-active {
    border-color:
        rgba(174,118,45,.55) !important;

    border-bottom-color:
        #b77c32 !important;

    background:
        rgba(177,122,50,.06) !important;

    color:
        #754e20 !important;

    box-shadow:
        inset 0 -2px 0
        rgba(183,124,50,.80) !important;
}


/* ==========================================================
   CHAIN BLOCK
   Убираем "карточку в карточке"
   ========================================================== */

.nx-kb-title-chain {
    margin-top: 22px !important;

    border: 0 !important;

    border-radius: 0 !important;

    overflow: visible !important;

    background: transparent !important;
}


/* ---------- header в стиле остальных секций ---------- */

.nx-kb-title-chain-head {
    display: grid !important;

    grid-template-columns:
        38px
        minmax(0,1fr)
        auto !important;

    align-items: center !important;

    gap: 12px !important;

    min-height: 46px !important;

    padding:
        0 0 10px !important;

    border: 0 !important;

    background: transparent !important;
}


/*
 * Ромб как в остальных блоках NOXARIS.
 */

.nx-kb-title-chain-number {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 29px !important;
    height: 29px !important;

    margin-left: 4px !important;

    border:
        1px solid rgba(190,128,46,.70) !important;

    border-radius: 0 !important;

    background:
        transparent !important;

    color: #a66c25 !important;

    transform:
        rotate(45deg) !important;
}

.nx-kb-title-chain-number b {
    display: block !important;

    color: inherit !important;

    font-size: 9px !important;
    font-weight: 600 !important;

    transform:
        rotate(-45deg) !important;
}

.nx-kb-title-chain-head h4 {
    display: flex !important;

    align-items: center !important;

    gap: 12px !important;

    min-width: 0 !important;

    margin: 0 !important;

    color: #684a2a !important;

    font-size: 16px !important;
    font-weight: 700 !important;
}

.nx-kb-title-chain-head h4::after {
    content: "";

    flex: 1 1 auto;

    min-width: 25px;

    height: 1px;

    background:
        rgba(181,124,48,.40);
}

.nx-kb-title-chain-count {
    color: #a08e75 !important;

    font-size: 10px !important;

    white-space: nowrap !important;
}


/* ==========================================================
   TABLE
   Простые линии, без rounded-card вида
   ========================================================== */

.nx-kb-title-table-head {
    min-height: 36px !important;

    border:
        1px solid rgba(155,112,57,.16) !important;

    border-bottom: 0 !important;

    border-radius: 0 !important;

    background:
        rgba(158,115,58,.045) !important;
}

.nx-kb-title-entry {
    border:
        1px solid rgba(155,112,57,.16) !important;

    border-bottom: 0 !important;

    background:
        rgba(255,255,255,.16) !important;
}

.nx-kb-title-entry:last-child {
    border-bottom:
        1px solid rgba(155,112,57,.16) !important;
}

.nx-kb-title-row {
    min-height: 64px !important;

    background:
        transparent !important;
}

@media (hover:hover) and (pointer:fine) {

    .nx-kb-title-row:hover {
        background:
            rgba(178,124,52,.035) !important;
    }

}


/* ---------- bonus: НЕ pill ---------- */

.nx-kb-title-bonus span {
    padding:
        4px 6px !important;

    border-radius:
        2px !important;

    background:
        rgba(183,126,51,.055) !important;

    font-size:
        10px !important;
}


/* ---------- coordinate: НЕ pill ---------- */

.nx-kb-title-coord {
    border-radius:
        2px !important;

    background:
        rgba(183,126,51,.055) !important;

    font-size:
        10px !important;
}

.nx-kb-title-coord:hover {
    background:
        rgba(183,126,51,.10) !important;
}


/* ---------- toggle: прямоугольник ---------- */

.nx-kb-title-toggle {
    border-radius:
        2px !important;

    background:
        transparent !important;

    box-shadow:
        none !important;
}

.nx-kb-title-toggle:hover {
    background:
        rgba(183,126,51,.055) !important;
}


/* ---------- details ---------- */

.nx-kb-title-details {
    border-top:
        1px solid rgba(155,112,57,.15) !important;

    background:
        rgba(175,122,53,.025) !important;
}

.nx-kb-title-detail-block {
    padding:
        15px 17px !important;
}

.nx-kb-title-detail-block > strong {
    color:
        #6d4c28 !important;

    font-size:
        12px !important;
}

.nx-kb-title-detail-line {
    font-size:
        11px !important;

    line-height:
        1.65 !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width:760px) {

    .nx-kb-title-chain-head {
        grid-template-columns:
            36px
            minmax(0,1fr) !important;

        gap:
            10px !important;
    }

    .nx-kb-title-chain-count {
        grid-column:
            2 !important;
    }

    .nx-kb-title-chain-head h4::after {
        display: none !important;
    }

    .nx-kb-title-entry {
        margin: 0 !important;

        border-bottom:
            1px solid rgba(155,112,57,.16) !important;
    }

    .nx-kb-title-row {
        padding:
            13px 55px 13px 12px !important;
    }

}


/* NOXARIS_TITLES_NATIVE_V3 END */


/* NOXARIS_TITLES_CLEANUP_V4 START */


/* ==========================================================
   TITLES — simplified NOXARIS layout
   ========================================================== */


/* ---------- Intro ---------- */

.nx-kb-titles-hero {
    margin-bottom: 15px !important;
}

.nx-kb-titles-hero p {
    max-width: 880px !important;

    font-size: 14px !important;
    line-height: 1.65 !important;
}


/* ==========================================================
   ONLY ONE FILTER REMAINS
   ========================================================== */

.nx-kb-titles-tools {
    display: flex !important;

    justify-content: flex-end !important;
    align-items: center !important;

    margin:
        0 0 18px !important;

    padding: 0 !important;
}

.nx-kb-titles-select {
    width: 280px !important;
    max-width: 100% !important;
}

.nx-kb-titles-select select {
    width: 100% !important;

    min-height: 42px !important;

    padding:
        8px 11px !important;

    border:
        1px solid rgba(161,113,52,.25) !important;

    border-radius: 0 !important;

    background:
        rgba(255,255,255,.28) !important;

    color:
        #665744 !important;

    font-size:
        13px !important;
}


/*
 * Старые элементы физически уже удалены,
 * но дополнительно страхуем CSS.
 */

.nx-kb-titles-search,
.nx-kb-titles-chainbar,
.nx-kb-titles-resultbar,
.nx-kb-titles-stats,
.nx-kb-titles-empty {
    display: none !important;
}


/* ==========================================================
   CHAIN HEAD
   ========================================================== */

.nx-kb-title-chain {
    margin-top:
        24px !important;
}

.nx-kb-title-chain-head {
    margin-bottom:
        7px !important;
}

.nx-kb-title-chain-head h4 {
    font-size:
        17px !important;

    line-height:
        1.35 !important;
}

.nx-kb-title-chain-count {
    font-size:
        11px !important;
}


/* ==========================================================
   TABLE TYPOGRAPHY
   Размеры ближе к обычным блокам базы.
   ========================================================== */

.nx-kb-title-table-head {
    min-height:
        39px !important;

    font-size:
        10px !important;

    color:
        #9a8467 !important;
}

.nx-kb-title-table-head > span {
    padding:
        10px 13px !important;
}

.nx-kb-title-row {
    min-height:
        73px !important;

    padding:
        0 10px !important;
}

.nx-kb-title-row > div {
    padding:
        12px 13px !important;
}


/* Название титула */

.nx-kb-title-name strong {
    color:
        #5f503e !important;

    font-size:
        14px !important;

    font-weight:
        700 !important;

    line-height:
        1.45 !important;
}


/* Бонус */

.nx-kb-title-bonus span {
    padding:
        5px 7px !important;

    font-size:
        12px !important;

    line-height:
        1.4 !important;
}


/* Квест */

.nx-kb-title-quest {
    color:
        #685c4c !important;

    font-size:
        13px !important;

    line-height:
        1.5 !important;
}


/* Координаты */

.nx-kb-title-coord {
    min-height:
        32px !important;

    padding:
        6px 8px !important;

    font-size:
        12px !important;
}

.nx-kb-title-coord-main small {
    font-size:
        11px !important;
}


/* Стрелка */

.nx-kb-title-toggle {
    width:
        35px !important;

    height:
        35px !important;

    font-size:
        17px !important;
}


/* ==========================================================
   REAL SEPARATOR BETWEEN EVERY TITLE
   ========================================================== */

.nx-kb-title-entry {
    position: relative !important;

    border:
        1px solid rgba(157,112,55,.14) !important;

    border-bottom:
        0 !important;
}

.nx-kb-title-entry:last-child {
    border-bottom:
        1px solid rgba(157,112,55,.14) !important;
}


/*
 * Каждый следующий титул получает отдельную
 * горизонтальную линию + короткий золотой акцент.
 */

.nx-kb-title-entry
+ .nx-kb-title-entry::before {
    content: "";

    position: absolute;

    top: -1px;
    left: 0;
    right: 0;

    height: 1px;

    background:
        rgba(157,112,55,.22);

    pointer-events: none;
}

.nx-kb-title-entry
+ .nx-kb-title-entry::after {
    content: "";

    position: absolute;

    top: -1px;
    left: 0;

    width: 42px;
    height: 1px;

    background:
        rgba(185,124,45,.72);

    pointer-events: none;
}


/* ==========================================================
   EXPANDED INFORMATION
   ========================================================== */

.nx-kb-title-detail-block {
    padding:
        17px 19px !important;
}

.nx-kb-title-detail-block > strong {
    margin-bottom:
        9px !important;

    font-size:
        14px !important;

    line-height:
        1.4 !important;
}

.nx-kb-title-detail-line {
    color:
        #6e6150 !important;

    font-size:
        13px !important;

    line-height:
        1.65 !important;
}

.nx-kb-title-detail-line
+ .nx-kb-title-detail-line {
    margin-top:
        7px !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width:760px) {

    .nx-kb-titles-tools {
        justify-content:
            stretch !important;

        margin-bottom:
            15px !important;
    }

    .nx-kb-titles-select {
        width:
            100% !important;
    }

    .nx-kb-titles-select select {
        min-height:
            44px !important;

        font-size:
            16px !important;
    }

    .nx-kb-title-row {
        min-height:
            0 !important;

        padding:
            14px 56px 14px 13px !important;
    }

    .nx-kb-title-row > div {
        padding:
            0 !important;
    }

    .nx-kb-title-name strong {
        font-size:
            15px !important;
    }

    .nx-kb-title-bonus span {
        font-size:
            12px !important;
    }

    .nx-kb-title-quest {
        font-size:
            13px !important;
    }

    .nx-kb-title-coord {
        min-height:
            34px !important;

        font-size:
            12px !important;
    }

    .nx-kb-title-detail-block {
        padding:
            15px !important;
    }

    .nx-kb-title-detail-block > strong {
        font-size:
            14px !important;
    }

    .nx-kb-title-detail-line {
        font-size:
            13px !important;
    }

}


/* NOXARIS_TITLES_CLEANUP_V4 END */


/* NOXARIS_TITLES_INFO_V5 START */


/* ==========================================================
   TITLES — TOP INFORMATION
   ========================================================== */

.nx-kb-titles-info {
    margin: 18px 0 22px;
}

.nx-kb-title-info-section {
    margin-top: 22px;
}

.nx-kb-title-info-section:first-child {
    margin-top: 0;
}


/* Заголовок как у остальных разделов NOXARIS */

.nx-kb-title-info-head {
    display: grid;

    grid-template-columns:
        34px
        minmax(0,1fr);

    align-items: center;

    gap: 12px;

    padding-bottom: 10px;

    border-bottom:
        1px solid rgba(176,123,52,.34);
}

.nx-kb-title-info-diamond {
    width: 22px;
    height: 22px;

    margin-left: 4px;

    border:
        1px solid rgba(185,125,48,.68);

    transform:
        rotate(45deg);
}

.nx-kb-title-info-head small {
    display: block;

    margin-bottom: 2px;

    color: #a47a46;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: .045em;
}

.nx-kb-title-info-head h4 {
    margin: 0;

    color: #654a2e;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.35;
}

.nx-kb-title-info-text {
    max-width: 880px;

    margin:
        12px 0 14px;

    color: #6e6253;

    font-size: 13px;

    line-height: 1.65;
}


/* ==========================================================
   TOTAL BONUS
   ========================================================== */

.nx-kb-title-total-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    border-top:
        1px solid rgba(157,112,55,.16);

    border-left:
        1px solid rgba(157,112,55,.16);
}

.nx-kb-title-total-grid > div {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 14px;

    min-height: 48px;

    padding:
        10px 13px;

    border-right:
        1px solid rgba(157,112,55,.16);

    border-bottom:
        1px solid rgba(157,112,55,.16);

    background:
        rgba(255,255,255,.13);
}

.nx-kb-title-total-grid span {
    color: #6d604f;

    font-size: 13px;
}

.nx-kb-title-total-grid strong {
    color: #9b6828;

    font-size: 14px;
}


/* ==========================================================
   SHOP ITEMS
   ========================================================== */

.nx-kb-title-shop-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    border-top:
        1px solid rgba(157,112,55,.16);

    border-left:
        1px solid rgba(157,112,55,.16);
}

.nx-kb-title-shop-item {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        auto;

    align-items: center;

    gap: 15px;

    min-height: 58px;

    padding:
        10px 13px;

    border-right:
        1px solid rgba(157,112,55,.16);

    border-bottom:
        1px solid rgba(157,112,55,.16);
}

.nx-kb-title-shop-item > span {
    color: #99836a;

    font-size: 12px;

    white-space: nowrap;
}


/* ==========================================================
   REAL SEPARATOR BETWEEN EVERY TITLE
   ========================================================== */

.nx-kb-title-entry {
    position: relative;

    margin: 0 !important;
}

.nx-kb-title-entry
+ .nx-kb-title-entry {
    margin-top:
        15px !important;
}


/* основная линия */

.nx-kb-title-entry
+ .nx-kb-title-entry::before {
    content: "";

    position: absolute;

    top: -8px;
    left: 18px;
    right: 18px;

    height: 1px;

    background:
        rgba(173,117,44,.34);

    pointer-events: none;
}


/* маленький ромб в центре разделителя */

.nx-kb-title-entry
+ .nx-kb-title-entry::after {
    content: "";

    position: absolute;

    top: -11px;
    left: 50%;

    width: 6px;
    height: 6px;

    border:
        1px solid rgba(184,123,45,.66);

    background: #f5eee2;

    transform:
        translateX(-50%)
        rotate(45deg);

    pointer-events: none;
}


/* ==========================================================
   TYPOGRAPHY ALIGNMENT
   ========================================================== */

.nx-kb-title-name strong {
    font-size:
        14px !important;

    line-height:
        1.45 !important;
}

.nx-kb-title-bonus span {
    font-size:
        12px !important;

    line-height:
        1.45 !important;
}

.nx-kb-title-quest {
    font-size:
        13px !important;

    line-height:
        1.55 !important;
}

.nx-kb-title-detail-line {
    font-size:
        13px !important;

    line-height:
        1.65 !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width:760px) {

    .nx-kb-title-total-grid,
    .nx-kb-title-shop-grid {
        grid-template-columns:
            1fr;
    }

    .nx-kb-title-info-head h4 {
        font-size:
            16px;
    }

    .nx-kb-title-shop-item {
        grid-template-columns:
            minmax(0,1fr);
    }

    .nx-kb-title-shop-item > span {
        white-space: normal;
    }

    .nx-kb-title-entry
    + .nx-kb-title-entry {
        margin-top:
            13px !important;
    }

}


/* NOXARIS_TITLES_INFO_V5 END */


/* NOXARIS_TITLES_ARROW_V1 START */


/*
 * Ячейка со стрелкой:
 * всегда точное центрирование.
 */
.nx-kb-title-row > div:last-child {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding-left: 4px !important;
    padding-right: 4px !important;
}


/*
 * Кнопка раскрытия.
 */
.nx-kb-title-toggle {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    place-self: center !important;

    width: 32px !important;
    height: 32px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    border:
        1px solid rgba(166,112,45,.28) !important;

    border-radius:
        2px !important;

    background:
        transparent !important;

    box-shadow:
        none !important;

    color:
        transparent !important;

    font-size:
        0 !important;

    line-height:
        0 !important;
}


/*
 * Старый текстовый "v" больше не показываем.
 */
.nx-kb-title-toggle > span {
    display: none !important;
}


/*
 * Новый chevron.
 */
.nx-kb-title-toggle::before {
    content: "" !important;

    display: block !important;

    width: 7px !important;
    height: 7px !important;

    border-right:
        1.5px solid #9c6728 !important;

    border-bottom:
        1.5px solid #9c6728 !important;

    transform:
        translateY(-2px)
        rotate(45deg) !important;

    transform-origin:
        center !important;

    transition:
        transform .16s ease,
        border-color .16s ease !important;
}


/*
 * Раскрыто — стрелка вверх.
 */
.nx-kb-title-toggle[aria-expanded="true"]::before {
    transform:
        translateY(2px)
        rotate(225deg) !important;
}


/*
 * Hover без заливки.
 */
@media (hover:hover) and (pointer:fine) {

    .nx-kb-title-toggle:hover {
        background:
            transparent !important;

        border-color:
            rgba(166,112,45,.58) !important;
    }

    .nx-kb-title-toggle:hover::before {
        border-color:
            #80501e !important;
    }

}


/*
 * Focus тоже без синей системной рамки.
 */
.nx-kb-title-toggle:focus,
.nx-kb-title-toggle:focus-visible {
    outline:
        1px solid rgba(166,112,45,.45) !important;

    outline-offset:
        2px !important;
}


/* NOXARIS_TITLES_ARROW_V1 END */


/* NOXARIS_TITLES_CHAIN_DIVIDER_V1 START */


/*
 * Родной декоративный разделитель NOXARIS.
 * Показывается ПЕРЕД каждой цепочкой титулов:
 * 01, 02, 03 ... 34.
 */
.nx-kb-title-chain::before {
    content: "" !important;

    display: block !important;

    width: min(760px, 92%) !important;
    height: 42px !important;

    margin:
        16px auto
        20px !important;

    background:
        url("/styles/noxaris/theme/images/noxaris/decor/07_gold_divider_small.png")
        center center /
        auto 28px
        no-repeat !important;

    opacity: .96 !important;

    pointer-events: none !important;
}


/*
 * Убираем лишний большой отступ самой цепочки,
 * потому что теперь пространство задаёт divider.
 */
.nx-kb-title-chain {
    margin-top: 0 !important;
}


/*
 * На мобильном чуть компактнее.
 */
@media (max-width:760px) {

    .nx-kb-title-chain::before {
        width: 94% !important;
        height: 34px !important;

        margin:
            12px auto
            15px !important;

        background-size:
            auto 23px !important;
    }

}


/* NOXARIS_TITLES_CHAIN_DIVIDER_V1 END */

/* NOXARIS_GEO_TITLE_V1 START */

.nx-kb-title-shop-item--exclusive {
    grid-column: 1 / -1;
}

.nx-kb-title-shop-item--exclusive > span {
    color: #9b6828 !important;
    font-weight: 600;
}

/* NOXARIS_GEO_TITLE_V1 END */

/* NOXARIS_TITLES_INFO_DIAMOND_NUMBERS_V1 START */

.nx-kb-title-info-head {
    grid-template-columns:
        38px
        minmax(0,1fr) !important;
}

.nx-kb-title-info-diamond {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 27px !important;
    height: 27px !important;

    margin-left: 4px !important;
}

.nx-kb-title-info-diamond > b {
    display: block;

    color: #a66c25;

    font-size: 9px;
    font-weight: 600;

    line-height: 1;

    transform: rotate(-45deg);
}

/* NOXARIS_TITLES_INFO_DIAMOND_NUMBERS_V1 END */

/* NOXARIS_TITLES_HIDE_COORD_COUNTER_V1 START */

/*
 * Убираем технические +1 / +2 / +N
 * возле основной координаты.
 */
.nx-kb-title-coord-main > small {
    display: none !important;
}

/* NOXARIS_TITLES_HIDE_COORD_COUNTER_V1 END */

/* NOXARIS_TITLES_COMPACT_TOP_V1 START */

.nx-kb-titles-hero {
    margin-bottom: 13px !important;
    padding-bottom: 11px !important;
}

.nx-kb-titles-hero p {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

.nx-kb-titles-info {
    margin-top: 13px !important;
}

.nx-kb-title-info-section {
    margin-top: 15px !important;
}

.nx-kb-title-info-head {
    padding-bottom: 7px !important;
}

.nx-kb-title-total-grid,
.nx-kb-title-shop-grid {
    margin-top: 10px !important;
}

/* NOXARIS_TITLES_COMPACT_TOP_V1 END */


/* NOXARIS_TITLES_COMPACT_ROWS_V1 START */

.nx-kb-title-row {
    min-height: 58px !important;
}

.nx-kb-title-row > div {
    padding-top: 9px !important;
    padding-bottom: 9px !important;
}

.nx-kb-title-name strong {
    font-size: 14px !important;
    line-height: 1.35 !important;
}

.nx-kb-title-quest {
    font-size: 12px !important;
    line-height: 1.4 !important;
}

.nx-kb-title-bonus span {
    padding: 4px 6px !important;
    font-size: 11px !important;
}

.nx-kb-title-coord {
    min-height: 30px !important;
    padding: 5px 7px !important;
    font-size: 11px !important;
}

/* NOXARIS_TITLES_COMPACT_ROWS_V1 END */



/* NOXARIS_TITLES_MOBILE_V1 START */

@media (max-width:760px) {

    /* ======================================================
       ROOT
       ====================================================== */

    .nx-kb-titles-v2 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        overflow: visible !important;
    }

    .nx-kb-titles-v2,
    .nx-kb-titles-v2 * {
        box-sizing: border-box;
    }


    /* ======================================================
       TOP INFO
       ====================================================== */

    .nx-kb-titles-hero {
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
    }

    .nx-kb-titles-hero p {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .nx-kb-titles-info {
        margin:
            12px 0
            18px !important;
    }

    .nx-kb-title-info-section {
        margin-top:
            17px !important;
    }

    .nx-kb-title-info-head {
        grid-template-columns:
            36px
            minmax(0,1fr) !important;

        gap: 9px !important;

        padding-bottom:
            8px !important;
    }

    .nx-kb-title-info-head h4 {
        white-space: normal !important;

        font-size:
            15px !important;

        line-height:
            1.3 !important;
    }

    .nx-kb-title-info-head small {
        font-size:
            10px !important;

        line-height:
            1.25 !important;
    }


    /* ======================================================
       TOTAL BONUSES
       6 параметров = компактные 2 x 3
       ====================================================== */

    .nx-kb-title-total-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr))
            !important;

        width: 100% !important;
        min-width: 0 !important;

        margin-top:
            9px !important;
    }

    .nx-kb-title-total-grid > div {
        min-width: 0 !important;
        min-height: 58px !important;

        flex-direction:
            column !important;

        align-items:
            flex-start !important;

        justify-content:
            center !important;

        gap: 3px !important;

        padding:
            9px 10px !important;
    }

    .nx-kb-title-total-grid span {
        font-size:
            11px !important;

        line-height:
            1.25 !important;
    }

    .nx-kb-title-total-grid strong {
        font-size:
            15px !important;

        line-height:
            1.2 !important;
    }


    /* ======================================================
       SHOP ITEMS
       ====================================================== */

    .nx-kb-title-shop-grid {
        grid-template-columns:
            1fr !important;

        width: 100% !important;
        min-width: 0 !important;

        margin-top:
            9px !important;
    }

    .nx-kb-title-shop-item,
    .nx-kb-title-shop-item--exclusive {
        grid-column:
            auto !important;

        grid-template-columns:
            minmax(0,1fr) !important;

        min-width: 0 !important;
        min-height: 0 !important;

        gap: 4px !important;

        padding:
            9px 10px !important;
    }

    .nx-kb-title-shop-item > span {
        white-space:
            normal !important;

        font-size:
            11px !important;

        line-height:
            1.35 !important;
    }

    .nx-kb-title-shop-item .nx-kb-item {
        max-width:
            100% !important;
    }

    .nx-kb-title-shop-item
    .nx-kb-item__name {
        white-space:
            normal !important;

        overflow-wrap:
            anywhere;
    }


    /* ======================================================
       CHAIN SELECTOR
       ====================================================== */

    .nx-kb-title-tools,
    .nx-kb-titles-tools {
        display:
            grid !important;

        grid-template-columns:
            1fr !important;

        width:
            100% !important;

        min-width:
            0 !important;

        gap:
            8px !important;
    }

    .nx-kb-title-tools select,
    .nx-kb-titles-tools select,
    .nx-kb-title-chain-select {
        width:
            100% !important;

        max-width:
            100% !important;

        min-width:
            0 !important;

        min-height:
            42px !important;

        font-size:
            13px !important;
    }


    /* ======================================================
       DESKTOP COLUMN HEADERS
       На телефоне они больше не нужны.
       ====================================================== */

    .nx-kb-title-table-head,
    .nx-kb-title-list-head,
    .nx-kb-title-columns-head {
        display:
            none !important;
    }


    /* ======================================================
       CHAIN
       ====================================================== */

    .nx-kb-title-chain {
        width:
            100% !important;

        max-width:
            100% !important;

        min-width:
            0 !important;
    }

    .nx-kb-title-chain h3,
    .nx-kb-title-chain-title {
        white-space:
            normal !important;

        overflow-wrap:
            anywhere;

        font-size:
            16px !important;

        line-height:
            1.3 !important;
    }


    /* ======================================================
       ONE TITLE
       Было: desktop-таблица.
       Стало: мобильная карточка.
       ====================================================== */

    .nx-kb-title-entry {
        width:
            100% !important;

        max-width:
            100% !important;

        min-width:
            0 !important;
    }

    .nx-kb-title-row {
        display:
            grid !important;

        grid-template-columns:
            minmax(0,1fr)
            38px !important;

        grid-template-areas:
            "name  toggle"
            "bonus toggle"
            "quest toggle"
            "coord toggle"
            !important;

        align-items:
            start !important;

        column-gap:
            10px !important;

        row-gap:
            6px !important;

        width:
            100% !important;

        min-width:
            0 !important;

        min-height:
            0 !important;

        padding:
            11px 10px !important;
    }


    /* Название */

    .nx-kb-title-name {
        grid-area:
            name !important;

        min-width:
            0 !important;
    }

    .nx-kb-title-name strong {
        display:
            block !important;

        white-space:
            normal !important;

        overflow-wrap:
            anywhere;

        font-size:
            15px !important;

        line-height:
            1.35 !important;
    }


    /* Бонус */

    .nx-kb-title-bonus {
        grid-area:
            bonus !important;

        min-width:
            0 !important;

        justify-self:
            start !important;
    }

    .nx-kb-title-bonus span {
        display:
            inline-block !important;

        width:
            auto !important;

        max-width:
            100% !important;

        padding:
            4px 6px !important;

        white-space:
            normal !important;

        font-size:
            11px !important;

        line-height:
            1.3 !important;
    }


    /* Квест */

    .nx-kb-title-quest {
        grid-area:
            quest !important;

        min-width:
            0 !important;

        white-space:
            normal !important;

        overflow-wrap:
            anywhere;

        font-size:
            13px !important;

        line-height:
            1.45 !important;
    }


    /* Координата */

    .nx-kb-title-coord-main {
        grid-area:
            coord !important;

        min-width:
            0 !important;

        justify-self:
            start !important;
    }

    .nx-kb-title-coord-main
    [data-nx-title-coord] {
        max-width:
            100% !important;

        min-height:
            32px !important;

        padding:
            6px 8px !important;

        white-space:
            nowrap !important;

        font-size:
            12px !important;

        line-height:
            1.2 !important;
    }


    /* ======================================================
       TOGGLE
       ====================================================== */

    .nx-kb-title-row > div:last-child {
        grid-area:
            toggle !important;

        display:
            flex !important;

        align-self:
            stretch !important;

        align-items:
            center !important;

        justify-content:
            center !important;

        width:
            38px !important;

        min-width:
            38px !important;

        padding:
            0 !important;
    }

    .nx-kb-title-toggle {
        width:
            34px !important;

        height:
            34px !important;

        min-width:
            34px !important;

        margin:
            auto !important;
    }


    /* ======================================================
       EXPANDED DETAILS
       ====================================================== */

    .nx-kb-title-details,
    .nx-kb-title-detail {
        width:
            100% !important;

        max-width:
            100% !important;

        min-width:
            0 !important;

        margin:
            0 !important;

        padding:
            10px
            10px
            12px !important;
    }

    .nx-kb-title-detail-line {
        white-space:
            normal !important;

        overflow-wrap:
            anywhere;

        font-size:
            13px !important;

        line-height:
            1.55 !important;
    }

    .nx-kb-title-detail-line
    [data-nx-title-coord] {
        display:
            inline-flex !important;

        max-width:
            100% !important;

        margin:
            3px 2px !important;

        padding:
            5px 7px !important;

        white-space:
            nowrap !important;

        font-size:
            12px !important;
    }


    /* ======================================================
       SEPARATOR BETWEEN TITLES
       ====================================================== */

    .nx-kb-title-entry
    + .nx-kb-title-entry {
        margin-top:
            14px !important;
    }

    .nx-kb-title-entry
    + .nx-kb-title-entry::before {
        left:
            8px !important;

        right:
            8px !important;
    }


    /* ======================================================
       SAFETY: NO HORIZONTAL SCROLL
       ====================================================== */

    .nx-kb-title-row,
    .nx-kb-title-name,
    .nx-kb-title-bonus,
    .nx-kb-title-quest,
    .nx-kb-title-coord-main,
    .nx-kb-title-details,
    .nx-kb-title-detail {
        max-width:
            100% !important;

        min-width:
            0 !important;
    }

}


/* Очень узкие телефоны */

@media (max-width:430px) {

    .nx-kb-title-total-grid > div {
        padding:
            8px !important;
    }

    .nx-kb-title-total-grid span {
        font-size:
            10.5px !important;
    }

    .nx-kb-title-row {
        grid-template-columns:
            minmax(0,1fr)
            36px !important;

        column-gap:
            7px !important;

        padding:
            10px 8px !important;
    }

    .nx-kb-title-name strong {
        font-size:
            14px !important;
    }

    .nx-kb-title-quest,
    .nx-kb-title-detail-line {
        font-size:
            12.5px !important;
    }

    .nx-kb-title-row > div:last-child {
        width:
            36px !important;

        min-width:
            36px !important;
    }

    .nx-kb-title-toggle {
        width:
            32px !important;

        height:
            32px !important;

        min-width:
            32px !important;
    }

}

/* NOXARIS_TITLES_MOBILE_V1 END */


/* NOXARIS_REFINE_ORB_PRICE_NOWRAP START */

.nx-kb-refine-orbs
.nx-kb-dungeon__chest-row > strong {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}

/* NOXARIS_REFINE_ORB_PRICE_NOWRAP END */



/* NOXARIS_QUEST_REWARDS_ALIGN_V1 START */

/*
 * Все правила строго ограничены разделом quest-rewards.
 */

.nx-kb__article-section[data-slug="quest-rewards"] {
    --nx-qr-item-height: 36px;
}


/* ==========================================================
   ITEM BASELINE
   Иконка + название всегда сидят на одной оси.
   ========================================================== */

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-item {
    display: inline-flex !important;

    align-items: center !important;

    min-width: 0;

    min-height:
        var(--nx-qr-item-height);

    gap: 7px;

    margin:
        2px 2px;

    vertical-align: middle !important;

    line-height: 1.25;
}


.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-item__icon {
    flex:
        0 0 32px !important;

    width:
        32px !important;

    height:
        32px !important;

    margin:
        0 !important;
}


.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-item__icon img {
    display: block;

    width:
        32px !important;

    height:
        32px !important;
}


.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-item__name {
    display: block;

    min-width: 0;

    margin: 0;

    white-space: nowrap;

    line-height: 1.25 !important;
}


/* ==========================================================
   TOP SUMMARY
   Убираем ощущение "прыгающих" строк.
   ========================================================== */

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-dungeon__route {
    align-items: flex-start;
}


.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-dungeon__route p {
    line-height: 1.55;
}


.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-dungeon__route
.nx-kb-item {
    margin-top: 3px;
    margin-bottom: 3px;
}


/* ==========================================================
   MORAI REWARDS
   Все три карточки одинаковой высоты и центрирования.
   ========================================================== */

@media (min-width: 701px) {

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb-dungeon__loot-grid {
        align-items: stretch;
    }

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb-dungeon__loot-card {
        display: flex;

        flex-direction: column;

        justify-content: center;

        min-height: 54px;
    }

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb-dungeon__loot-card
    .nx-kb-item {
        width: 100%;

        margin: 0;
    }

}


/* ==========================================================
   QUEST TABLE
   Ячейки и награды идут строго от одного верхнего края.
   ========================================================== */

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb__table th,
.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb__table td {
    vertical-align: top !important;
}


.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb__table td
.nx-kb-item {
    margin:
        1px 0;

    min-height:
        34px;
}


.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb__table td
.nx-kb-item__name {
    line-height:
        1.2 !important;
}


/* ==========================================================
   MOBILE
   На узком экране разрешаем длинным названиям переноситься.
   ========================================================== */

@media (max-width: 700px) {

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb-item__name {
        white-space: normal;

        overflow-wrap: anywhere;
    }

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb-item {
        max-width: 100%;
    }

}

/* NOXARIS_QUEST_REWARDS_ALIGN_V1 END */



/* NOXARIS_QUEST_SUMMARY_GRID_V1 START */

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1 {
    padding-bottom: 13px;
}

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__title {
    display: block;

    margin-bottom: 9px;

    color: #604a35;

    font-size: 13px;
    line-height: 1.3;
}


/* ===== Общие показатели ===== */

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__stats {
    display: grid;

    grid-template-columns:
        repeat(4,minmax(0,1fr));

    gap: 6px;

    margin-bottom: 10px;
}

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__stats > div {
    min-width: 0;

    padding: 7px 9px;

    background:
        rgba(255,255,255,.36);

    border:
        1px solid rgba(181,128,54,.13);

    text-align: center;
}

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__stats strong,
.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__stats span {
    display: block;
}

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__stats strong {
    color: #604a35;

    font-size: 12px;

    white-space: nowrap;
}

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__stats span {
    margin-top: 1px;

    color: #8b755d;

    font-size: 10px;
}


/* ===== Предметы ===== */

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__items {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(190px,1fr)
        );

    gap: 6px;
}

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__items > div {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        auto;

    align-items: center;

    gap: 8px;

    min-width: 0;

    min-height: 48px;

    padding:
        6px
        9px;

    background:
        rgba(255,255,255,.46);

    border:
        1px solid rgba(181,128,54,.17);

    border-radius: 3px;
}

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__items
.nx-kb-item {
    width: auto !important;

    min-width: 0 !important;

    margin: 0 !important;
}

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__items
.nx-kb-item__name {
    white-space: normal !important;

    overflow-wrap: anywhere;
}

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__items > div > b {
    color: #73583c;

    font-size: 11px;
    font-weight: 700;

    white-space: nowrap;
}


/* ===== Морая отделяем ровной линией ===== */

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-morai-v2 {
    margin-top: 12px;

    padding-top: 12px;

    border-top:
        1px solid rgba(181,128,54,.18);
}


/* ===== Mobile ===== */

@media (max-width:700px) {

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb-quest-summary-v1__stats {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb-quest-summary-v1__items {
        grid-template-columns:
            1fr;
    }

}

/* NOXARIS_QUEST_SUMMARY_GRID_V1 END */



/* NOXARIS_QUEST_SUMMARY_2COL_V1 START */

/* ==========================================================
   QUEST REWARDS — DESKTOP 2 COLUMN LAYOUT
   ========================================================== */

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1 {
    width: 100% !important;
}


/* 4 общих показателя -> 2 x 2 */

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__stats {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0,1fr)) !important;

    gap: 6px 10px !important;

    width: 100% !important;

    margin:
        8px 0
        12px !important;
}

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__stats > div {
    display: flex !important;

    align-items: baseline !important;

    justify-content: flex-start !important;

    gap: 5px !important;

    min-width: 0 !important;

    padding:
        5px 8px !important;

    text-align: left !important;

    background:
        rgba(255,255,255,.30) !important;

    border:
        1px solid rgba(181,128,54,.11) !important;
}

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__stats strong,
.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__stats span {
    display: inline !important;
}

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__stats strong {
    white-space: nowrap !important;
}


/* 7 предметов -> 2 колонки */

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__items {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0,1fr)) !important;

    gap: 6px 10px !important;

    width: 100% !important;
}

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__items > div {
    display: grid !important;

    grid-template-columns:
        minmax(0,1fr)
        auto !important;

    align-items: center !important;

    gap: 8px !important;

    width: auto !important;
    min-width: 0 !important;
    min-height: 46px !important;

    margin: 0 !important;

    padding:
        5px 9px !important;

    background:
        rgba(255,255,255,.42) !important;

    border:
        1px solid rgba(181,128,54,.16) !important;

    border-radius:
        3px !important;
}

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__items
.nx-kb-item {
    display: flex !important;

    align-items: center !important;

    width: 100% !important;

    min-width: 0 !important;

    margin: 0 !important;
}

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__items > div > b {
    display: block !important;

    margin: 0 !important;

    white-space: nowrap !important;

    text-align: right !important;
}


/* Последняя нечётная награда занимает половину, а не всю строку */

.nx-kb__article-section[data-slug="quest-rewards"]
.nx-kb-quest-summary-v1__items > div:last-child {
    grid-column: auto !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width:700px) {

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb-quest-summary-v1__stats,

    .nx-kb__article-section[data-slug="quest-rewards"]
    .nx-kb-quest-summary-v1__items {
        grid-template-columns:
            1fr !important;
    }

}

/* NOXARIS_QUEST_SUMMARY_2COL_V1 END */



/* NOXARIS_QUEST_SUMMARY_2COL_V2 START */


/* ==========================================================
   TOTAL STATS — 2 COLUMNS
   ========================================================== */

.nx-kb-quest-summary-v1__stats {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: 8px 10px !important;

    width: 100% !important;

    margin:
        10px 0
        12px !important;
}

.nx-kb-quest-summary-v1__stats > div {
    display: flex !important;

    align-items: center !important;

    justify-content: flex-start !important;

    gap: 5px !important;

    min-width: 0 !important;

    padding:
        7px 9px !important;

    background:
        rgba(255,255,255,.38) !important;

    border:
        1px solid rgba(181,128,54,.14) !important;

    border-radius:
        2px !important;
}

.nx-kb-quest-summary-v1__stats strong,
.nx-kb-quest-summary-v1__stats span {
    display: inline !important;

    margin: 0 !important;
}

.nx-kb-quest-summary-v1__stats strong {
    white-space: nowrap !important;
}


/* ==========================================================
   ITEM REWARDS — 2 COLUMNS
   ========================================================== */

.nx-kb-quest-summary-v1__items {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: 8px 10px !important;

    width: 100% !important;

    margin:
        0 !important;
}

.nx-kb-quest-summary-v1__items > div {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        auto !important;

    align-items: center !important;

    gap: 8px !important;

    width: 100% !important;

    min-width: 0 !important;

    min-height: 50px !important;

    margin: 0 !important;

    padding:
        6px 10px !important;

    background:
        rgba(255,255,255,.48) !important;

    border:
        1px solid rgba(181,128,54,.17) !important;

    border-radius:
        3px !important;

    box-sizing: border-box !important;
}

.nx-kb-quest-summary-v1__items
.nx-kb-item {
    display: flex !important;

    align-items: center !important;

    width: 100% !important;

    min-width: 0 !important;

    margin: 0 !important;
}

.nx-kb-quest-summary-v1__items
.nx-kb-item__name {
    white-space: normal !important;
}

.nx-kb-quest-summary-v1__items > div > b {
    display: block !important;

    margin: 0 !important;

    white-space: nowrap !important;

    text-align: right !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width:700px) {

    .nx-kb-quest-summary-v1__stats,
    .nx-kb-quest-summary-v1__items {
        grid-template-columns:
            1fr !important;
    }

}

/* NOXARIS_QUEST_SUMMARY_2COL_V2 END */



