/* custom.css */

/* Юридические ссылки внизу первого экрана должны читаться одной строкой. */
.footer__links {
    flex-wrap: nowrap;
    gap: .25rem .45rem;
    white-space: nowrap;
}

@media (max-width: 1439.99px) {
    .footer__links {
        flex-wrap: wrap;
        white-space: normal;
    }
}

/* Guide: offline battle rune. HTML is stored in the guides table and sanitized,
   so presentation lives here rather than in an inline style tag. */
.rune-guide {
    color: #ddd4c5;
    font-family: var(--font-3);
    font-size: 1rem;
    line-height: 1.6;
}

.rune-guide__lead {
    margin: 0 0 1.25rem;
    color: #f4e5c8;
    font-size: 1.12rem;
}

.rune-guide__notice {
    margin: 1.25rem 0;
    padding: 1rem 1.125rem;
    border: 1px solid rgba(218, 170, 86, .55);
    border-left: 4px solid #daaa56;
    background: rgba(78, 53, 26, .28);
    color: #f5e6c9;
}

.rune-guide h2,
.rune-guide h3 {
    margin: 1.75rem 0 .7rem;
    color: #f4d39a;
    font-family: var(--font-1);
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

.rune-guide h2 { font-size: 1.55rem; }
.rune-guide h3 { font-size: 1.1rem; }

.rune-guide__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin: 1rem 0 1.5rem;
    padding: 0;
    list-style: none;
    counter-reset: rune-step;
}

.rune-guide__step {
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(222, 185, 117, .25);
    background: rgba(16, 13, 10, .65);
    counter-increment: rune-step;
}

.rune-guide__step::before {
    display: block;
    margin-bottom: .5rem;
    color: #daaa56;
    content: "0" counter(rune-step);
    font-family: var(--font-1);
    font-size: 1.35rem;
}

.rune-guide__step strong { color: #f2ddb6; }

.rune-guide__image {
    display: block;
    width: 100%;
    min-height: 16rem;
    margin: 1rem 0;
    border: 1px solid rgba(218, 170, 86, .45);
    background-color: #17120d;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: zoom-in;
    transition: opacity .2s ease;
}

.rune-guide__image_one {
    background-image: url("../images/guide/rune/1.jpg");
}

.rune-guide__image_two {
    background-image: url("../images/guide/rune/2.jpg");
}

.rune-guide__image.is-zoomed {
    position: fixed;
    inset: 4vh 4vw;
    width: auto;
    min-height: 0;
    margin: 0;
    z-index: 1100;
    cursor: zoom-out;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .86);
}

.rosk-guide {
    color: #ddd4c5;
    font-family: var(--font-3);
    font-size: 1rem;
    line-height: 1.6;
}

.rosk-guide__lead {
    margin: 0 0 1.25rem;
    color: #f4e5c8;
    font-size: 1.12rem;
}

.rosk-guide__tier {
    margin: 1.25rem 0;
    padding: 1.25rem;
    border: 1px solid rgba(218, 170, 86, .45);
    background: rgba(31, 21, 12, .58);
}

.rosk-guide__tier_violet {
    border-color: rgba(165, 111, 222, .55);
    background: rgba(35, 19, 52, .6);
}

.rosk-guide__tier h2 {
    margin: 0 0 .35rem;
    color: #f2b35b;
    font-family: var(--font-1);
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

.rosk-guide__tier_violet h2 { color: #d1a3f6; }

.rosk-guide__tier-note {
    margin: 0 0 1rem;
    color: #bfb2a2;
}

.rosk-guide__bags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin: 1rem 0;
}

.rosk-guide__bag {
    position: relative;
    min-height: 9rem;
    padding: .75rem;
    border: 1px solid rgba(237, 188, 102, .35);
    background-color: rgba(15, 12, 10, .5);
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: auto 6rem;
    cursor: help;
}

.rosk-guide__tier_violet .rosk-guide__bag { border-color: rgba(183, 132, 238, .4); }
.rosk-guide__bag_small { background-image: url("../images/guide/rosk/1.png"); }
.rosk-guide__bag_large { background-image: url("../images/guide/rosk/2.png"); }
.rosk-guide__bag_heavenly { background-image: url("../images/guide/rosk/3.png"); }

.rosk-guide__bag strong {
    display: block;
    max-width: calc(100% - 6rem);
    color: #f4dfb9;
    font-family: var(--font-1);
    font-weight: 400;
    line-height: 1.25;
}

.rosk-guide__chance {
    display: block;
    max-width: calc(100% - 6rem);
    margin-top: .5rem;
    color: #e1b460;
    font-size: .88rem;
}

.rosk-guide__tier_violet .rosk-guide__chance { color: #cf9ef2; }

.rosk-guide__loot-tooltip {
    position: absolute;
    z-index: 30;
    top: calc(100% + .5rem);
    left: -.1rem;
    width: min(23rem, calc(100vw - 4rem));
    padding: .8rem 1rem;
    border: 1px solid #8e6a33;
    background: rgba(12, 10, 8, .98);
    box-shadow: 0 .75rem 1.8rem rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 221, 152, .08);
    color: #fff;
    font-size: .86rem;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-.3rem);
    visibility: hidden;
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
}

.rosk-guide__loot-tooltip::before {
    position: absolute;
    top: -.38rem;
    left: 1.35rem;
    width: .65rem;
    height: .65rem;
    border-top: 1px solid #8e6a33;
    border-left: 1px solid #8e6a33;
    background: #0c0a08;
    content: "";
    transform: rotate(45deg);
}

.rosk-guide__loot-tooltip h3 {
    margin: 0 0 .45rem;
    padding-bottom: .35rem;
    border-bottom: 1px solid rgba(255, 188, 0, .35);
    color: #ffbc00;
    font-family: var(--font-1);
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
}

.rosk-guide__loot-tooltip ul { margin: 0; padding-left: 1.1rem; }
.rosk-guide__loot-tooltip li { margin: .18rem 0; }
.rosk-guide__loot-tooltip li::marker { color: #05ff00; }
.rosk-guide__tier_violet .rosk-guide__loot-tooltip { border-color: #75449b; }
.rosk-guide__tier_violet .rosk-guide__loot-tooltip::before { border-color: #75449b; }
.rosk-guide__tier_violet .rosk-guide__loot-tooltip h3 { border-color: rgba(191, 118, 255, .42); color: #d39bff; }
.rosk-guide__bag:hover .rosk-guide__loot-tooltip,
.rosk-guide__bag.is-tooltip-open .rosk-guide__loot-tooltip { opacity: 1; transform: translateY(0); visibility: visible; }

@media (max-width: 640px) {
    .rosk-guide__tier { padding: 1rem; }
    .rosk-guide__bags { grid-template-columns: 1fr; }
    .rosk-guide__loot-tooltip { width: calc(100vw - 4rem); }
}

.rune-guide__caption {
    display: block;
    margin: -.35rem 0 1.35rem;
    color: #a99d8c;
    font-size: .88rem;
    text-align: center;
}

.rune-guide__list {
    margin: .75rem 0 1.25rem;
}

.rune-guide__list li { margin: .35rem 0; }

.rune-guide__list strong { color: #f2ddb6; }

/* Guide: boss cards. The model is a local GLB exported from the game data. */
.boss-guide {
    color: #ddd4c5;
    font-family: var(--font-3);
    line-height: 1.55;
}

.boss-guide--list { display: grid; gap: 1rem; }
.boss-guide--list.is-paged .boss-guide__card { display: none; }
.boss-guide--list.is-paged .boss-guide__card.is-active { display: grid; }
.boss-guide__intro { padding: 1rem; border-left: 3px solid #b77935; background: rgba(107, 67, 31, .22); }
.boss-guide__intro strong { display: block; color: #f3d49b; font-family: var(--font-1); font-size: 1.35rem; font-weight: 400; }
.boss-guide__intro span { display: block; margin-top: .35rem; color: #d8cdbd; }
.boss-guide__locations { display: flex; flex-wrap: wrap; gap: .5rem; }
.boss-guide__location-tab { padding: .4rem .65rem; border: 1px solid rgba(218, 170, 86, .3); color: #d8cdbd; text-decoration: none; }
.boss-guide__location-tab:hover, .boss-guide__location-tab:focus, .boss-guide__location-tab.is-active { border-color: #d7a751; background: rgba(183, 119, 53, .22); color: #fff0cc; }
.boss-guide__board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .55rem; }
.boss-guide__tile { display: block; min-width: 0; border: 1px solid rgba(218, 170, 86, .32); background: rgba(18, 14, 11, .72); color: #f3d49b; text-align: center; text-decoration: none; }
.boss-guide__tile:hover, .boss-guide__tile:focus { border-color: #f3d49b; background: rgba(107, 67, 31, .3); color: #fff0cc; }
.boss-guide__tile.is-hidden { display: none; }
.boss-guide__tile-model { display: block; width: 100%; height: 7.5rem; background: #100e0d; pointer-events: none; }
.boss-guide__tile span { display: block; min-height: 2.7rem; padding: .35rem; font-size: .8rem; line-height: 1.2; }
.boss-guide__pager { display: flex; align-items: center; justify-content: center; gap: .75rem; }
.boss-guide__nav { min-width: 8.5rem; padding: .55rem .8rem; border: 1px solid rgba(218, 170, 86, .48); color: #f3d49b; text-align: center; text-decoration: none; }
.boss-guide__nav:hover, .boss-guide__nav:focus { border-color: #f3d49b; background: rgba(183, 119, 53, .22); color: #fff0cc; }
.boss-guide__count { min-width: 3.5rem; color: #d7a751; text-align: center; }

.boss-guide__card {
    display: grid;
    grid-template-columns: minmax(16rem, 1.15fr) minmax(14rem, 1fr);
    gap: 1.25rem;
    padding: 1rem;
    border: 1px solid rgba(218, 170, 86, .48);
    background: rgba(18, 14, 11, .72);
}

.boss-guide__model {
    display: block;
    width: 100%;
    min-height: 25rem;
    border: 1px solid rgba(246, 207, 133, .28);
    background: radial-gradient(circle at 50% 42%, rgba(116, 76, 40, .32), transparent 60%), #100e0d;
}

.boss-guide__type,
.boss-guide__facts dt {
    color: #d7a751;
    font-size: .78rem;
    text-transform: uppercase;
}

.boss-guide h2 {
    margin: .2rem 0 .75rem;
    color: #f3d49b;
    font-family: var(--font-1);
    font-size: 1.65rem;
    font-weight: 400;
}

.boss-guide__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin: 1rem 0;
}

.boss-guide__facts div { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: .45rem; }
.boss-guide__facts dt { margin: 0; }
.boss-guide__facts dd { margin: .15rem 0 0; color: #f2e5cc; }
.boss-guide__facts--icons { grid-template-columns: 1fr; gap: .35rem; margin: .8rem 0; }
.boss-guide__facts--icons div { display: flex; align-items: center; gap: .6rem; min-height: 3.6rem; padding: .45rem .2rem; }
.boss-guide__facts--icons p { margin: 0; line-height: 1.25; }
.boss-guide__facts--icons p strong, .boss-guide__facts--icons p span { display: block; }
.boss-guide__facts--icons p strong { color: #d7a751; font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.boss-guide__facts--icons p span { margin-top: .12rem; color: #f2e5cc; }
.boss-guide__fact-icon { display: grid; flex: 0 0 2.35rem; width: 2.35rem; height: 2.35rem; place-items: center; border: 1px solid rgba(218, 170, 86, .42); background: rgba(127, 76, 27, .18); color: #efc368; font-size: 1.15rem; }

.boss-guide__drop {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 4.25rem;
    padding: .6rem .8rem .6rem 4.6rem;
    border: 1px solid rgba(237, 188, 102, .4);
    background: rgba(12, 10, 8, .75) url("/theme/default/images/guide/rosk/1.png") .7rem center / auto 3.1rem no-repeat;
    color: #f4dfb9;
    cursor: help;
}

.boss-guide__drop:focus { outline: 2px solid #e0ad55; outline-offset: 2px; }

.boss-guide__loot-tooltip {
    position: absolute;
    z-index: 40;
    top: calc(100% + .5rem);
    left: 0;
    width: min(25rem, calc(100vw - 3rem));
    padding: .8rem 1rem;
    border: 1px solid #8e6a33;
    background: #0c0a08;
    box-shadow: 0 .75rem 1.8rem rgba(0, 0, 0, .6);
    color: #d9d9d9;
    font-size: .88rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-.25rem);
    visibility: hidden;
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
}

.boss-guide__drop:hover .boss-guide__loot-tooltip,
.boss-guide__drop.is-tooltip-open .boss-guide__loot-tooltip { opacity: 1; transform: translateY(0); visibility: visible; }
.boss-guide__loot-tooltip strong { display: block; margin-bottom: .4rem; color: #ffbc00; font-family: var(--font-1); font-weight: 400; }
.boss-guide__loot-tooltip ul { margin: 0; padding-left: 1.1rem; }
.boss-guide__loot-tooltip li { margin: .15rem 0; }
.boss-guide__loot-tooltip li::marker { color: #05ff00; }
.boss-guide__location { margin: 1rem 0 0; padding: .75rem; border-left: 3px solid #b77935; background: rgba(107, 67, 31, .22); }
.boss-guide__respawn { margin: .5rem 0 1rem; color: #e9d4ac; }

.daily-tasks-guide { display: grid; gap: 1rem; }
.daily-tasks-guide__hero { align-items: stretch; }
.daily-tasks-guide__model { min-height: 28rem; }
.daily-tasks-guide__summary { display: flex; flex-direction: column; justify-content: center; }
.daily-tasks-guide__summary h2 { margin: .25rem 0 .5rem; color: #f3d49b; font-family: var(--font-1); font-size: 2rem; font-weight: 400; }
.daily-tasks-guide__lead { margin: 0; color: #e6d7c0; font-size: 1.05rem; }
.daily-tasks-guide__hint { margin: .3rem 0 0; color: #a99b89; font-size: .85rem; }
.daily-tasks-guide__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem .75rem; margin: 1rem 0; }
.daily-tasks-guide__facts div { min-height: 3.65rem; padding: .5rem .65rem; border-left: 2px solid rgba(215, 167, 81, .75); background: rgba(107, 67, 31, .18); }
.daily-tasks-guide__facts dt { color: #d7a751; font-size: .73rem; line-height: 1.2; text-transform: uppercase; }
.daily-tasks-guide__facts dd { margin: .26rem 0 0; color: #f2e5cc; font-size: .91rem; line-height: 1.3; }
.daily-tasks-guide__section { padding: 1rem 1.15rem; border: 1px solid rgba(183, 119, 53, .45); background: rgba(18, 14, 11, .72); }
.daily-tasks-guide__section h3 { margin: 0 0 .75rem; color: #f3d49b; font-family: var(--font-1); font-size: 1.35rem; font-weight: 400; }
.daily-tasks-guide__section > p { margin: 0 0 .8rem; color: #d8cdbd; }
.daily-tasks-guide__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin: 0; padding: 0; list-style: none; counter-reset: daily-step; }
.daily-tasks-guide__steps li { position: relative; min-height: 7.25rem; padding: .8rem .75rem .75rem 2.6rem; border-top: 1px solid rgba(255, 255, 255, .13); background: rgba(107, 67, 31, .16); counter-increment: daily-step; }
.daily-tasks-guide__steps li::before { position: absolute; top: .8rem; left: .75rem; color: #d7a751; content: counter(daily-step, decimal-leading-zero); font-family: var(--font-1); }
.daily-tasks-guide__steps strong, .daily-tasks-guide__steps span { display: block; }
.daily-tasks-guide__steps strong { color: #f4dfb9; font-size: .95rem; }
.daily-tasks-guide__steps span { margin-top: .3rem; color: #c3b7a7; font-size: .86rem; line-height: 1.35; }
.daily-tasks-guide__bags { grid-template-columns: minmax(0, 22rem); margin: 0; }
.daily-tasks-guide__piggy { background-image: url("../images/guide/daily-tasks/piggy-bank.png"); }

@media (max-width: 640px) {
    .boss-guide__card { grid-template-columns: 1fr; }
    .boss-guide__model { min-height: 19rem; }
    .daily-tasks-guide__model { min-height: 22rem; }
    .daily-tasks-guide__facts { grid-template-columns: 1fr; }
    .daily-tasks-guide__steps { grid-template-columns: 1fr; }
    .boss-guide__board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.rune-guide__result {
    margin: 1.5rem 0 0;
    padding: 1rem 1.125rem;
    border: 1px solid rgba(102, 166, 107, .5);
    background: rgba(36, 73, 40, .24);
    color: #d9eed9;
}

@media (max-width: 640px) {
    .rune-guide__steps { grid-template-columns: 1fr; }
    .rune-guide h2 { font-size: 1.3rem; }
    .rune-guide__image { min-height: 11rem; }
}

/* Equipment guide fragments stored in the administration panel. */
.equipment-guide { color: #ddd4c5; font-family: var(--font-3); line-height: 1.55; }
.equipment-guide__lead { margin: 0 0 1rem; color: #f4e5c8; font-size: 1.08rem; }
.equipment-guide__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1rem 0; border: 1px solid rgba(218, 170, 86, .38); }
.equipment-guide__facts div { min-width: 0; padding: .75rem .85rem; border-right: 1px solid rgba(218, 170, 86, .22); }
.equipment-guide__facts div:last-child { border-right: 0; }
.equipment-guide__facts strong { display: block; margin-bottom: .15rem; color: #d7a751; font-size: .75rem; text-transform: uppercase; }
.equipment-guide h2 { margin: 1.55rem 0 .7rem; color: #f3d49b; font-family: var(--font-1); font-size: 1.45rem; font-weight: 400; text-transform: uppercase; }
.equipment-guide__notice { margin: 1rem 0; padding: .85rem 1rem; border-left: 3px solid #b77935; background: rgba(107, 67, 31, .22); color: #f0dfc1; }
.equipment-guide__table-wrap { overflow-x: auto; border: 1px solid rgba(218, 170, 86, .4); }
.equipment-guide table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; background: rgba(18, 14, 11, .64); font-size: .9rem; }
.equipment-guide th { padding: .62rem .7rem; background: rgba(118, 75, 34, .34); color: #e9c87d; font-size: .72rem; line-height: 1.25; text-align: left; text-transform: uppercase; overflow-wrap: anywhere; }
.equipment-guide td { padding: .6rem .7rem; border-top: 1px solid rgba(255, 255, 255, .09); vertical-align: top; line-height: 1.4; overflow-wrap: anywhere; word-break: normal; }
.equipment-guide tbody tr:hover { background: rgba(178, 121, 49, .12); }
.equipment-guide td:first-child { color: #f3d49b; font-family: var(--font-1); }
.equipment-guide__list { margin: .75rem 0 0; padding-left: 1.2rem; }
.equipment-guide__list li { margin: .35rem 0; }
.equipment-guide__list li::marker { color: #d7a751; }

.stone-guide__icon { width: 2.2rem; height: 2.2rem; margin-right: .55rem; vertical-align: middle; image-rendering: auto; }
.stone-guide__name { display: inline-block; vertical-align: middle; }
.stone-guide__variants { color: #cdbb9d; font-size: .9rem; }
.stone-guide__families { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .45rem; margin: 1rem 0; }
.stone-guide__family { display: grid; min-width: 0; min-height: 5.4rem; place-items: center; gap: .2rem; padding: .4rem; border: 1px solid rgba(218, 170, 86, .28); background: rgba(18, 14, 11, .64); color: #d8cdbd; text-align: center; text-decoration: none; }
.stone-guide__family img { width: 2.2rem; height: 2.2rem; }
.stone-guide__family span { font-size: .7rem; line-height: 1.15; overflow-wrap: anywhere; }
.stone-guide__family:hover, .stone-guide__family:focus, .stone-guide__family.is-active { border-color: #e9c87d; background: rgba(128, 79, 31, .32); color: #fff0cc; }
.stone-guide__slider { display: flex; align-items: center; gap: 1rem; margin: 1rem 0; padding: .75rem 1rem; border: 1px solid rgba(218, 170, 86, .38); background: rgba(18, 14, 11, .64); color: #e9c87d; }
.stone-guide__slider-host { flex: 1; min-width: 0; }
.stone-guide__slider-host input { display: block; width: 100%; accent-color: #d7a751; }
.stone-guide__stat { display: none; }
.stone-guide--level-1 .stone-guide__stat-1, .stone-guide--level-2 .stone-guide__stat-2, .stone-guide--level-3 .stone-guide__stat-3, .stone-guide--level-4 .stone-guide__stat-4, .stone-guide--level-5 .stone-guide__stat-5, .stone-guide--level-6 .stone-guide__stat-6, .stone-guide--level-7 .stone-guide__stat-7, .stone-guide--level-8 .stone-guide__stat-8, .stone-guide--level-9 .stone-guide__stat-9, .stone-guide--level-10 .stone-guide__stat-10, .stone-guide--level-11 .stone-guide__stat-11, .stone-guide--level-12 .stone-guide__stat-12, .stone-guide--level-13 .stone-guide__stat-13 { display: block; }
.stone-guide__row { display: none; }
.stone-guide--family-1 .stone-guide__row-1, .stone-guide--family-2 .stone-guide__row-2, .stone-guide--family-3 .stone-guide__row-3, .stone-guide--family-4 .stone-guide__row-4, .stone-guide--family-5 .stone-guide__row-5, .stone-guide--family-6 .stone-guide__row-6, .stone-guide--family-7 .stone-guide__row-7, .stone-guide--family-8 .stone-guide__row-8, .stone-guide--family-9 .stone-guide__row-9, .stone-guide--family-10 .stone-guide__row-10, .stone-guide--family-11 .stone-guide__row-11, .stone-guide--family-12 .stone-guide__row-12, .stone-guide--family-13 .stone-guide__row-13, .stone-guide--family-14 .stone-guide__row-14, .stone-guide--family-15 .stone-guide__row-15, .stone-guide--family-16 .stone-guide__row-16 { display: table-row; }
.equipment-guide__class-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin: 1.25rem 0; }
.equipment-guide__class-button { display: block; padding: .65rem .5rem; border: 1px solid rgba(218, 170, 86, .3); background: rgba(18, 14, 11, .64); color: #d8cdbd; text-align: center; text-decoration: none; }
.equipment-guide__class-button:hover, .equipment-guide__class-button:focus, .equipment-guide__class-button.is-active { border-color: #e9c87d; background: rgba(128, 79, 31, .32); color: #fff0cc; }
.equipment-guide_egida .equipment-guide__class { display: none; margin-top: 1.75rem; }
.equipment-guide_egida.equipment-guide--class-shooter .equipment-guide__class-shooter, .equipment-guide_egida.equipment-guide--class-bard .equipment-guide__class-bard, .equipment-guide_egida.equipment-guide--class-mage .equipment-guide__class-mage, .equipment-guide_egida.equipment-guide--class-warrior .equipment-guide__class-warrior { display: block; }
.equipment-guide__class-title { display: flex; justify-content: center; align-items: center; gap: .75rem; margin-bottom: .8rem; }
.equipment-guide__class-title img { display: block; width: min(100%, 30rem); height: auto; border: 1px solid rgba(218, 170, 86, .32); }
.equipment-guide_weapons .equipment-guide__class-title img { width: 3rem; height: 3rem; }
.equipment-guide_weapons .equipment-guide__weapon-effect { display: block; margin-top: .5rem; color: #e8c98e; }
.equipment-guide__class-title h2 { margin: 0; }
.equipment-guide__item-icon { width: 2rem; height: 2rem; margin-right: .5rem; vertical-align: middle; }
.equipment-guide_egida td:first-child { width: 46%; }
.equipment-guide_egida td:nth-child(2) { color: #e7ddcf; }

@media (max-width: 640px) {
    .equipment-guide__facts { grid-template-columns: 1fr; }
    .equipment-guide__facts div { border-right: 0; border-bottom: 1px solid rgba(218, 170, 86, .22); }
    .equipment-guide__facts div:last-child { border-bottom: 0; }
    .equipment-guide table { font-size: .82rem; }
    .equipment-guide th, .equipment-guide td { padding: .48rem; }
    .equipment-guide_egida td:first-child { width: 44%; }
    .equipment-guide__class-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .equipment-guide__class-title { align-items: center; flex-direction: column; gap: .45rem; }
    .equipment-guide__class-title img { width: min(100%, 25rem); }
    .equipment-guide__item-icon { width: 1.75rem; height: 1.75rem; margin-right: .3rem; }
    .stone-guide__icon { width: 1.75rem; height: 1.75rem; margin-right: .25rem; }
    .stone-guide__families { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; }
    .stone-guide__family { min-height: 4.7rem; padding: .3rem; }
    .stone-guide__family img { width: 1.8rem; height: 1.8rem; }
    .stone-guide__family span { font-size: .65rem; }
    .stone-guide__slider { gap: .65rem; padding: .65rem; }
}

.stat-guide { color: #ddd4c5; font-family: var(--font-3); line-height: 1.58; }
.stat-guide__masthead { margin: 0 0 1.55rem; padding: 1.45rem; border: 1px solid rgba(218, 170, 86, .46); border-left: 4px solid #c28a41; background: rgba(36, 24, 14, .66); box-shadow: inset 0 1px 0 rgba(255, 236, 186, .06); }
.stat-guide__eyebrow { margin-bottom: .38rem; color: #d7a751; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.stat-guide__title { color: #f6dca6; font-family: var(--font-1); font-size: 1.72rem; font-weight: 400; line-height: 1.15; text-transform: uppercase; }
.stat-guide__lead { max-width: 50rem; margin-top: .78rem; color: #f0dfc1; font-size: 1rem; }
.stat-guide__nav { display: flex; flex-wrap: wrap; gap: .42rem; margin-top: 1.05rem; }
.stat-guide__nav-item { padding: .35rem .6rem; border: 1px solid rgba(218, 170, 86, .25); background: rgba(18, 14, 11, .5); color: #e6cca0; font-size: .74rem; line-height: 1.25; }
.stat-guide__intro { margin: 0 0 1.9rem; padding: 0 0 1.55rem; border-bottom: 1px solid rgba(218, 170, 86, .28); }
.stat-guide__intro-title { color: #f3d49b; font-family: var(--font-1); font-size: 1.28rem; font-weight: 400; }
.stat-guide__formulae { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin-top: .78rem; }
.stat-guide__formula { min-width: 0; padding: .82rem .9rem; border: 1px solid rgba(218, 170, 86, .23); background: rgba(18, 14, 11, .5); }
.stat-guide__formula-name { margin-bottom: .36rem; color: #e9c87d; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.stat-guide__formula-code { color: #dfe8ce; font-family: var(--font-2); font-size: .82rem; overflow-wrap: anywhere; }
.stat-guide__formula-text { color: #cfc4b3; font-size: .87rem; }
.stat-guide__hint { margin-top: .82rem; padding: .15rem 0 .15rem .95rem; border-left: 2px solid rgba(194, 138, 65, .85); color: #cdbb9d; font-size: .9rem; }
.stat-guide__section { margin-top: 2rem; }
.stat-guide__section-heading { display: flex; align-items: flex-start; gap: .78rem; margin-bottom: .85rem; }
.stat-guide__section-number { display: grid; flex: 0 0 2rem; width: 2rem; height: 2rem; place-items: center; border: 1px solid rgba(218, 170, 86, .36); color: #d7a751; font-family: var(--font-1); font-size: .96rem; line-height: 1; }
.stat-guide__section-title { color: #f3d49b; font-family: var(--font-1); font-size: 1.28rem; font-weight: 400; line-height: 1.2; }
.stat-guide__section-subtitle { margin-top: .18rem; color: #bfae92; font-size: .9rem; }
.stat-guide__grid { border: 1px solid rgba(218, 170, 86, .38); background: rgba(18, 14, 11, .64); }
.stat-guide__row { display: grid; grid-template-columns: minmax(10.5rem, .8fr) minmax(18rem, 1.7fr) minmax(12rem, 1.05fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.stat-guide__row:first-child { border-top: 0; }
.stat-guide__row:hover { background: rgba(178, 121, 49, .1); }
.stat-guide__row--head { background: rgba(118, 75, 34, .32); color: #e9c87d; font-size: .72rem; line-height: 1.3; text-transform: uppercase; }
.stat-guide__row--head:hover { background: rgba(118, 75, 34, .32); }
.stat-guide__cell { min-width: 0; padding: .7rem .76rem; overflow-wrap: anywhere; }
.stat-guide__cell + .stat-guide__cell { border-left: 1px solid rgba(255, 255, 255, .06); }
.stat-guide__cell--name { color: #f3d49b; font-family: var(--font-1); }
.stat-guide__tag { display: inline-block; padding: .16rem .42rem; border: 1px solid rgba(183, 121, 53, .42); color: #dec18a; font-size: .72rem; line-height: 1.2; }
.stat-guide__tag--legacy { border-color: rgba(161, 125, 97, .5); color: #c6b6a0; }
.stat-guide__callout { display: grid; grid-template-columns: minmax(9rem, .45fr) minmax(0, 1.55fr); gap: .8rem; margin: 0 0 .9rem; padding: .88rem 1rem; border-left: 3px solid #c28a41; background: rgba(107, 67, 31, .24); }
.stat-guide__callout-title { color: #efd49a; font-family: var(--font-1); }
.stat-guide__callout-text { color: #e3d4bd; }
.stat-guide__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-bottom: .9rem; }
.stat-guide__step { display: flex; align-items: center; gap: .55rem; min-width: 0; padding: .72rem; border: 1px solid rgba(218, 170, 86, .22); background: rgba(18, 14, 11, .5); color: #d9cebd; font-size: .82rem; }
.stat-guide__step-number { display: grid; flex: 0 0 1.5rem; width: 1.5rem; height: 1.5rem; place-items: center; border: 1px solid rgba(218, 170, 86, .55); color: #f3d49b; font-family: var(--font-1); font-size: .82rem; line-height: 1; }
.stat-guide__footer { margin-top: 2rem; padding: 1rem 0 0; border-top: 1px solid rgba(218, 170, 86, .36); color: #cdbb9d; font-size: .9rem; }

@media (max-width: 720px) {
    .stat-guide__masthead { padding: 1.08rem; }
    .stat-guide__title { font-size: 1.42rem; }
    .stat-guide__formulae, .stat-guide__steps { grid-template-columns: 1fr; }
    .stat-guide__callout { grid-template-columns: 1fr; gap: .35rem; }
    .stat-guide__row { grid-template-columns: 1fr; gap: 0; padding: .62rem .7rem; }
    .stat-guide__row--head { display: none; }
    .stat-guide__cell { padding: .16rem 0; }
    .stat-guide__cell + .stat-guide__cell { border-left: 0; }
    .stat-guide__cell--name { padding-bottom: .34rem; }
    .stat-guide__section-heading { gap: .55rem; }
    .stat-guide__section-number { flex-basis: 1.7rem; width: 1.7rem; height: 1.7rem; font-size: .86rem; }
}

/* Standalone guide articles pasted into the guide editor. */
.bs-guide,
.bs-guide * { box-sizing: border-box; }
.bs-guide {
    max-width: 720px;
    margin: auto;
    padding: 18px;
    border: 1px solid var(--guide-frame, #795a35);
    background: linear-gradient(180deg, #201913 0, #19140f 120px);
    box-shadow: inset 0 1px rgba(164, 122, 68, .25);
    color: #dfd6c9;
    font: 14px/1.55 Arial, sans-serif;
    overflow-wrap: anywhere;
}
.bs-guide--past { --guide-frame: #926037; --guide-icon-border: #c78442; }
.bs-guide--upgrade { --guide-frame: #667a56; --guide-icon-border: #a5bb77; }
.bs-guide--goddess { --guide-frame: #627b72; --guide-icon-border: #9cc4a7; }
.bs-guide--drops { --guide-frame: #80632d; --guide-icon-border: #c4a15c; }
.bs-guide--classes { --guide-frame: #876147; --guide-icon-border: #c7946b; }
.bs-guide--binding { --guide-frame: #796485; --guide-icon-border: #b495cb; }
.bs-guide--offline { --guide-frame: #8c7651; --guide-icon-border: #c7a75e; max-width: 760px; }
.bs-guide--masks { --guide-frame: #816a48; --guide-icon-border: #d4af71; }
.bs-guide--pets { --guide-frame: #537b70; --guide-icon-border: #8eb9a6; }
.bs-guide--blood { --guide-frame: #8c5557; --guide-icon-border: #d28a79; }
.bs-guide--hammer { --guide-frame: #876c46; --guide-icon-border: #d3ac69; }
.bs-guide--dragon { --guide-frame: #6d7950; --guide-icon-border: #aebf76; }
.bs-guide--fishing { --guide-frame: #527d82; --guide-icon-border: #8fc4c2; }
.bs-guide--estate { --guide-frame: #6b8058; --guide-icon-border: #a9c285; }
.bs-guide--adventures { max-width: 760px; }
.expedition-guide__portrait { max-width: 420px; }
.expedition-guide__window { max-width: 420px; }
.expedition-guide__small-screen { max-width: 350px; margin-top: 16px; }
.expedition-guide__first-section { margin-top: 0; border-top: 0; padding-top: 0; }
.expedition-guide__last-note { margin: 18px 0 0 !important; }
.expedition-guide__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 18px; border: 1px solid #65513b; background: #65513b; gap: 1px; }
.expedition-guide__facts div { display: grid; align-content: center; gap: 2px; min-height: 70px; padding: 9px; background: #241d17; text-align: center; }
.expedition-guide__facts strong { color: #f1d09a; font-size: 18px; line-height: 1.2; }
.expedition-guide__facts span { color: #c5b8a4; font-size: 12px; line-height: 1.3; }
.expedition-guide__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 8px; margin: 16px 0; }
.expedition-guide__items > div { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px; border: 1px solid #5a4937; background: #231b15; }
.expedition-guide__items img { flex: 0 0 40px; width: 40px; height: 40px; object-fit: contain; image-rendering: auto; }
.expedition-guide__items span { min-width: 0; }
.expedition-guide__items strong, .expedition-guide__items small { display: block; line-height: 1.35; }
.expedition-guide__items strong { color: #efd4a6; font-size: 13px; }
.expedition-guide__items small { margin-top: 2px; color: #b9aa96; font-size: 11px; }
.expedition-guide__bullets { margin: 0; padding-left: 21px; }
.expedition-guide__bullets li { padding: 3px 0; }
.expedition-guide__bullets li::marker { color: var(--guide-icon-border); }
.expedition-guide__locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.expedition-guide__locations > div { padding: 12px; border-left: 3px solid var(--guide-icon-border); background: #211b16; }
.expedition-guide__locations strong, .expedition-guide__locations span { display: block; }
.expedition-guide__locations strong { color: #efd3a2; font-size: 15px; }
.expedition-guide__locations span { margin: 3px 0 7px; color: #a9c5b5; font-size: 12px; }
.expedition-guide__locations p { margin: 0; }
.expedition-guide__details { margin-top: 16px; border: 1px solid #65513b; background: #201913; }
.expedition-guide__details summary { padding: 11px 14px; color: #f0d2a0; font-weight: 700; cursor: pointer; }
.expedition-guide__details[open] summary { border-bottom: 1px solid #65513b; }
.expedition-guide__details > p, .expedition-guide__details > div { margin: 0; padding: 12px 14px; }
.expedition-guide__table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.4; }
.expedition-guide__table th, .expedition-guide__table td { padding: 8px 10px; border-bottom: 1px solid #514333; text-align: left; vertical-align: top; }
.expedition-guide__table th { color: #f0d2a0; background: #392b1d; font-size: 12px; }
.expedition-guide__table tr:nth-child(even) td { background: #241d16; }
.expedition-guide__table td:last-child { color: #e6d4b7; }
.expedition-guide__table-wrap { max-width: 100%; overflow-x: auto; }
.expedition-guide__table-wrap .expedition-guide__table { min-width: 420px; }
.estate-guide__guild-table { min-width: 680px !important; table-layout: fixed; }
.estate-guide__guild-table th:nth-child(1) { width: 14%; }
.estate-guide__guild-table th:nth-child(2) { width: 42%; }
.estate-guide__guild-table th:nth-child(3) { width: 31%; }
.estate-guide__guild-table th:nth-child(4) { width: 13%; }
.expedition-guide__elixir { display: grid; grid-template-columns: 36px minmax(130px, .75fr) minmax(0, 1.6fr); gap: 10px; align-items: start; padding: 10px 12px; border-bottom: 1px solid #514333; }
.expedition-guide__elixir:nth-child(even) { background: #261f18; }
.expedition-guide__elixir:last-child { border-bottom: 0; }
.expedition-guide__elixir img { width: 36px; height: 36px; object-fit: contain; }
.expedition-guide__elixir strong { color: #f0d2a0; font-size: 13px; }
.expedition-guide__elixir span { color: #ddd1bd; font-size: 12px; }
.expedition-guide__elixirs { padding: 0 !important; }
.dragon-guide__slider { display: flex; align-items: center; gap: 12px; margin: 17px 0 12px; padding: 12px 14px; border: 1px solid #66734e; background: #242519; }
.dragon-guide__slider > span:first-child { flex: 0 0 auto; color: #d8dfb1; font-weight: 700; }
.dragon-guide__level-output { color: #f0d6a0; }
.dragon-guide__slider-host { flex: 1; min-width: 60px; }
.dragon-guide__slider-host input { display: block; width: 100%; accent-color: #aebf76; }
.dragon-guide__slider > span { color: #adad96; font-size: 12px; }
.bs-guide--dragon .stone-guide__families { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bs-guide--dragon .stone-guide__family { min-height: 76px; border-color: #596047; background: #202016; }
.bs-guide--dragon .stone-guide__family.is-active, .bs-guide--dragon .stone-guide__family:hover, .bs-guide--dragon .stone-guide__family:focus { border-color: #b4c17b; background: #313520; }
.bs-guide--dragon .stone-guide__row td:first-child { width: 45%; }
.bs-guide--dragon .stone-guide__row .stone-guide__stat { color: #bfd292; }
@media (max-width: 560px) {
    .expedition-guide__locations { grid-template-columns: 1fr; }
    .expedition-guide__facts strong { font-size: 16px; }
    .expedition-guide__elixir { grid-template-columns: 32px minmax(0, 1fr); gap: 2px 9px; }
    .expedition-guide__elixir img { grid-row: span 2; width: 32px; height: 32px; }
    .expedition-guide__elixir span { grid-column: 2; }
    .bs-guide--dragon .stone-guide__families { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dragon-guide__slider { flex-wrap: wrap; }
    .dragon-guide__slider-host { order: 2; flex-basis: calc(100% - 25px); }
    .dragon-guide__slider > span { order: 3; }
}
.collection-guide__place { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-bottom: 16px; padding: 10px 13px; border-left: 3px solid var(--guide-icon-border); background: #211c16; }
.collection-guide__place strong { color: #f2d4a0; }
.collection-guide__place span { color: #c5b9a7; }
.mercenary-guide__locations {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    align-items: start;
    gap: 14px;
    margin: 14px 0 22px;
}
.mercenary-guide__locations details, .mercenary-guide__daily {
    border: 1px solid #68553e;
    background: #211c16;
}
.mercenary-guide__locations details + details { margin-top: 6px; }
.mercenary-guide__locations details[open] { border-color: #aa8752; }
.mercenary-guide summary { padding: 10px 12px; color: #eee0c5; cursor: pointer; }
.mercenary-guide summary::marker { color: #e2bb79; }
.mercenary-guide__locations summary small {
    display: inline-block;
    margin-left: 8px;
    color: #dec8a2;
    font-variant-numeric: tabular-nums;
}
.mercenary-guide summary:focus-visible, .mercenary-guide__shot a:focus-visible {
    outline: 2px solid #ffe4a0;
    outline-offset: -2px;
}
.mercenary-guide__locations details p { margin: 0; padding: 0 12px 12px; }
.mercenary-guide .mercenary-guide__hours {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
    gap: 6px;
    padding: 0;
    list-style: none;
}
.mercenary-guide__hours li {
    margin: 0;
    padding: 8px 4px;
    border: 1px solid #68553e;
    background: #211c16;
    color: #ffe3a6;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.mercenary-guide__map, .mercenary-guide__shot {
    margin: 0;
    border: 1px solid #68553e;
    background: #15120e;
}
.mercenary-guide__grid {
    position: relative;
    aspect-ratio: 1.55;
    margin: 12px;
    border: 1px solid #5f4f3a;
    background-color: #211c16;
    background-image: linear-gradient(to right, #584937 1px, transparent 1px), linear-gradient(to bottom, #584937 1px, transparent 1px);
    background-size: 20% 20%;
}
.mercenary-guide__point {
    position: absolute;
    top: var(--point-top);
    left: var(--point-left);
    display: none;
    align-items: center;
    gap: 6px;
    transform: translate(-5px, -50%);
    color: #ffe3a6;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-shadow: 0 1px 3px #000, 0 0 4px #000;
}
.mercenary-guide__point::before {
    width: 10px;
    height: 10px;
    border: 1px solid #211c16;
    border-radius: 50%;
    background: #ffd568;
    box-shadow: 0 0 0 2px #ffd56860;
    content: "";
}
.mercenary-guide__point--roland { --point-left: 12.37%; --point-top: 15.42%; }
.mercenary-guide__point--eliana { --point-left: 88.16%; --point-top: 76.67%; }
.mercenary-guide__point--portal { --point-left: 88.16%; --point-top: 79.17%; }
.mercenary-guide__point--arrival { --point-left: 28.33%; --point-top: 11.2%; }
.mercenary-guide__point--boss { --point-left: 67.5%; --point-top: 88.8%; }
.mercenary-guide__point--eliana, .mercenary-guide__point--portal, .mercenary-guide__point--boss {
    flex-direction: row-reverse;
    transform: translate(calc(-100% + 5px), -50%);
}
.mercenary-guide__locations:has(.mercenary-guide__roland[open]) .mercenary-guide__point--roland,
.mercenary-guide__locations:has(.mercenary-guide__eliana[open]) .mercenary-guide__point--eliana,
.mercenary-guide__locations:has(.mercenary-guide__portal[open]) .mercenary-guide__point--portal,
.mercenary-guide__locations:has(.mercenary-guide__arrival[open]) .mercenary-guide__point--arrival,
.mercenary-guide__locations:has(.mercenary-guide__boss[open]) .mercenary-guide__point--boss { display: flex; }
.mercenary-guide__map figcaption, .mercenary-guide__shot figcaption {
    padding: 7px 12px;
    border-top: 1px solid #68553e;
    color: #d4c3a9;
    font-size: 12px;
    text-align: center;
}
.mercenary-guide__shot { max-width: 650px; margin: 0 auto 20px; }
.mercenary-guide__shot a { position: relative; display: block; }
.mercenary-guide__shot img { display: block; width: 100%; height: auto; }
.mercenary-guide__pointer {
    position: absolute;
    top: var(--pointer-top);
    left: var(--pointer-left);
    width: clamp(24px, 8%, 44px);
    height: clamp(12px, 4%, 22px);
    transform: translateY(-50%);
    filter: drop-shadow(0 1px 2px #000);
    pointer-events: none;
}
.mercenary-guide__pointer::before {
    display: block;
    width: 100%;
    height: 100%;
    background: #ffd568;
    clip-path: polygon(0 50%, 34% 0, 34% 33%, 100% 33%, 100% 67%, 34% 67%, 34% 100%);
    content: "";
}
.mercenary-guide__pointer--enter { --pointer-left: 50%; --pointer-top: 48%; }
.mercenary-guide__pointer--hire { --pointer-left: 32.5%; --pointer-top: 54%; }
@media (max-width: 600px) {
    .mercenary-guide__locations { grid-template-columns: minmax(0, 1fr); }
}
.collection-guide__screen { max-width: 600px; margin: 0 auto 20px; border: 1px solid #68553e; background: #100e0c; }
.collection-guide__screen a, .collection-guide__screen img { display: block; width: 100%; }
.collection-guide__screen img { height: auto; }
.collection-guide__screen figcaption { padding: 7px 12px; border-top: 1px solid #68553e; color: #c5b9a7; font-size: 12px; text-align: center; }
.collection-guide__steps { margin: 0; padding-left: 22px; }
.collection-guide__steps li { padding: 3px 0 6px 4px; }
.collection-guide__steps li::marker { color: #e2bb79; font-weight: 700; }
.collection-guide__hint, .collection-guide__note { padding: 11px 13px; border-left: 3px solid var(--guide-icon-border); background: #211c16; }
.collection-guide__table-wrap { width: 100%; }
.collection-guide__table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; }
.collection-guide__table th, .collection-guide__table td { padding: 9px 7px; border: 1px solid #5e4c39; overflow-wrap: anywhere; }
.collection-guide__table thead th { background: #392b1d; color: #eac58b; font-size: 12px; line-height: 1.3; }
.collection-guide__table tbody tr:nth-child(even) { background: #241c15; }
.collection-guide__table tbody th { color: #f1d39c; }
.collection-guide__table tbody td { color: #e1d7c7; font-variant-numeric: tabular-nums; }
.bs-guide--pets .collection-guide__table thead th { background: #20342e; color: #b9d9ca; }
.bs-guide--pets .collection-guide__table tbody th { color: #b9d9ca; }
.collection-guide__note { display: flex; align-items: center; gap: 12px; margin: 20px 0 0 !important; }
.collection-guide__note img { flex: 0 0 32px; width: 32px; height: 32px; }
@media (max-width: 560px) {
    .collection-guide__table, .collection-guide__table tbody { display: block; }
    .collection-guide__table thead { display: none; }
    .collection-guide__table tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #5e4c39; border-bottom: 0; }
    .collection-guide__table tbody tr:last-child { border-bottom: 1px solid #5e4c39; }
    .collection-guide__table tbody th, .collection-guide__table tbody td { border: 0; }
    .collection-guide__table tbody th { grid-column: 1 / -1; padding: 5px 8px; border-bottom: 1px solid #5e4c39; text-align: left; }
    .collection-guide__table tbody td { padding: 7px 5px; font-size: 12px; }
    .collection-guide__table tbody td::before { display: block; margin-bottom: 2px; color: #ab9d8b; font-size: 10px; line-height: 1.2; }
    .bs-guide--masks .collection-guide__table tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bs-guide--masks .collection-guide__table tbody td:nth-child(2)::before { content: 'ОЗ'; }
    .bs-guide--masks .collection-guide__table tbody td:nth-child(3)::before { content: 'Урон классов'; }
    .bs-guide--pets .collection-guide__table tbody td:nth-child(2)::before { content: 'Питомцев'; }
    .bs-guide--pets .collection-guide__table tbody td:nth-child(3)::before { content: 'Игнор защиты'; }
    .bs-guide--pets .collection-guide__table tbody td:nth-child(4)::before { content: 'Физ. и маг. защита'; }
}
.offline-guide__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: 20px; background: #594632; border: 1px solid #594632; }
.offline-guide__facts div { display: flex; flex-direction: column; align-items: center; padding: 9px 5px; background: #211a14; text-align: center; }
.offline-guide__facts strong { color: #f1d39c; font-size: 16px; }
.offline-guide__facts span { color: #bfb5a6; font-size: 12px; }
.offline-guide__figure { margin: 0 0 14px; border: 1px solid #8c7651; background: #110f0d; }
.offline-guide__figure a, .offline-guide__figure img { display: block; width: 100%; }
.offline-guide__figure img { height: auto; }
.offline-guide__figure figcaption { padding: 8px 12px; border-top: 1px solid #665239; color: #c8b79d; font-size: 12px; text-align: center; }
.offline-guide__steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 0 0 20px; }
.offline-guide__steps div { display: flex; align-items: flex-start; gap: 9px; min-width: 0; color: #dfd0bb; font-size: 13px; }
.offline-guide__steps b { display: grid; flex: 0 0 25px; place-items: center; width: 25px; height: 25px; border: 1px solid #d3a748; border-radius: 50%; color: #f2d996; }
.offline-guide__money { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.offline-guide__money span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid #6a5438; background: #211a14; color: #f1d39c; }
.offline-guide__money img { display: block; flex: 0 0 16px; width: 16px; height: 16px; image-rendering: auto; }
.offline-guide__section { padding-top: 18px; border-top: 1px solid #574535; }
.offline-guide__section h3 { margin: 0 0 8px; color: #f1d39c; font: 700 17px/1.3 Arial, sans-serif; }
.offline-guide__section ol { margin: 0 0 16px; padding-left: 22px; }
.offline-guide__section li { padding: 3px 0; }
.offline-guide__section p { margin-bottom: 12px; }
.offline-guide__note { margin: 8px 0 0 !important; padding: 12px; border-left: 3px solid #9a7846; background: #211b15; }
.offline-guide__note strong { display: block; color: #f1d39c; }
@media (max-width: 560px) {
    .offline-guide__steps { grid-template-columns: 1fr; }
    .offline-guide__facts strong { font-size: 14px; }
}
.bs-guide__binding-warning { display: block; width: min(100%, 494px); height: auto; margin-top: 16px; }
.bs-guide p { margin: 0 0 14px; }
.bs-guide__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #6b563d;
}
.bs-guide__icon {
    display: block;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border: 1px solid var(--guide-icon-border, #ad7a46);
    box-shadow: 0 0 0 3px #2b2118;
}
.bs-guide__head-copy { min-width: 0; }
.bs-guide__eyebrow {
    display: block;
    color: #b9cdb8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.bs-guide h2.bs-guide__title {
    margin: 4px 0 0;
    color: #f4d7a2;
    font: 700 25px/1.2 Arial, sans-serif;
    letter-spacing: 0;
    text-transform: none;
}
.bs-guide__subhead { margin: 6px 0 0 !important; color: #bfb2a2; }
.bs-guide__split { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: 20px; align-items: start; }
.bs-guide__split--portrait { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); }
.bs-guide__art { display: block; width: 100%; height: auto; border: 1px solid #705338; }
.bs-guide__body { min-width: 0; }
.bs-guide__kicker { display: block; color: #b9cdb8; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.bs-guide h3.bs-guide__subtitle { margin: 3px 0 10px; color: #f2d4a0; font: 700 19px/1.25 Arial, sans-serif; text-transform: none; }
.bs-guide__emphasis { color: #f1c888; }
.bs-guide__facts { margin: 0; border-bottom: 1px solid #574535; }
.bs-guide__fact { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px; padding: 10px 0; border-top: 1px solid #574535; }
.bs-guide__fact dt { color: #ab9d8b; }
.bs-guide__fact dd { margin: 0; color: #f5dbb2; font-weight: 700; }
.bs-guide__callout { margin: 0; padding: 12px 13px; border-left: 3px solid #93ac91; background: #1c211c; }
.bs-guide__callout strong { display: block; color: #b9d5b0; }
.bs-guide__callout--violet { border-color: #9b86ae; background: #211d22; color: #d9c9e2; }
.bs-guide__callout--gold { border-color: #d4a35f; background: #211b16; }
.bs-guide__callout--gold strong { color: #f4d7a2; font-size: 16px; }
.bs-guide__section { margin-top: 20px; padding-top: 16px; border-top: 1px solid #574535; }
.bs-guide h3.bs-guide__section-title { margin: 0 0 10px; color: #f2d4a0; font: 700 17px/1.3 Arial, sans-serif; text-transform: none; }
.bs-guide__materials { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 8px; }
.bs-guide__material { padding: 10px 12px; border: 1px solid #574535; background: #201914; }
.bs-guide__muted { margin: 14px 0 0 !important; color: #bfb2a2; }
.bs-guide__note { margin: 20px 0 0 !important; }
.bs-guide__step { padding: 18px 0; border-top: 1px solid #574535; }
.bs-guide__step--image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 16px; align-items: start; }
.bs-guide__step--last { padding-bottom: 0; }
.bs-guide__step-number { color: #b9cdb8; font-size: 11px; font-weight: 700; }
.bs-guide h3.bs-guide__step-title { margin: 4px 0 6px; color: #f2d4a0; font: 700 18px/1.3 Arial, sans-serif; text-transform: none; }
.bs-guide__step p { margin-bottom: 0; }
.bs-guide__step-art { display: block; width: 100%; height: auto; border: 1px solid #705338; }
.bs-guide__step-art--narrow { max-width: 230px; }
.bs-guide__class { margin: 0 0 8px; border: 1px solid #66593f; border-left: 3px solid var(--class-accent); background: #201914; }
.bs-guide__class:last-child { margin-bottom: 0; }
.bs-guide__class--warrior { --class-accent: #c47753; --skill-accent: #f0c382; }
.bs-guide__class--archer { --class-accent: #87a987; --skill-accent: #b9d5b0; }
.bs-guide__class--mage { --class-accent: #789dc1; --skill-accent: #b4d1ea; }
.bs-guide__class--bard { --class-accent: #ac87b8; --skill-accent: #d8b6e2; }
.bs-guide__class[open] { border-color: #9d6b3c; border-left-color: var(--class-accent); }
.bs-guide__class-summary { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; list-style: none; }
.bs-guide__class-summary::-webkit-details-marker { display: none; }
.bs-guide__class-summary::marker { content: ''; }
.bs-guide__class-icon { display: block; flex: 0 0 38px; width: 38px; height: 38px; }
.bs-guide__class-name { flex: 1; min-width: 0; }
.bs-guide__class-name strong { display: block; color: #f6dfb8; font-size: 17px; line-height: 1.2; }
.bs-guide__class-name small { color: #bcae9d; font-size: 12px; }
.bs-guide__class-arrow { color: #d9a758; font-size: 22px; line-height: 1; transition: transform .2s; }
.bs-guide__class[open] .bs-guide__class-arrow { transform: rotate(180deg); }
.bs-guide__class-content { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 16px; align-items: center; padding: 15px; border-top: 1px solid #574535; }
.bs-guide__skill { margin-bottom: 14px !important; padding-left: 12px; border-left: 2px solid var(--class-accent); }
.bs-guide__skill strong { display: block; color: var(--skill-accent); }
.bs-guide__branches { margin-bottom: 0 !important; color: #bfb2a2; }
.bs-guide__branches strong { color: #e7dac6; }
.bs-guide__chart { display: block; width: 100%; height: auto; filter: brightness(1.4); }
.bs-guide__group { margin-top: 24px; }
.bs-guide__group:first-of-type { margin-top: 0; }
.bs-guide h3.bs-guide__group-title { margin: 0 0 10px; color: #f2d4a0; font: 700 17px/1.3 Arial, sans-serif; text-transform: none; }
.bs-guide__group--events .bs-guide__group-title { color: #c5dabf; }
.bs-guide__count { margin-left: 6px; color: #a99c89; font-size: 12px; font-weight: 400; }
.bs-guide__row { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 16px; padding: 11px 12px; border-top: 1px solid #574535; }
.bs-guide__row:last-child { border-bottom: 1px solid #574535; }
.bs-guide__row:nth-child(even) { background: #211b16; }
.bs-guide__group--events .bs-guide__row:nth-child(even) { background: #1c211c; }
.bs-guide__row-name { color: #f0c382; }
.bs-guide__group--events .bs-guide__row-name { color: #b8d5ae; }
.bs-guide__row-mode { display: block; color: #b5a6c7; font-size: 11px; }
.elf-guide { --guide-icon-border: #9b8156; }
.elf-guide__list, .elf-guide__cards { display: grid; gap: 8px; }
.elf-guide__elf { min-width: 0; border: 1px solid #62513d; background: #201a15; }
.elf-guide__elf[open] { border-color: #b3834c; }
.elf-guide__elf summary { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 7px 12px; color: #f1d6a9; font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
.elf-guide__elf summary::-webkit-details-marker { display: none; }
.elf-guide__elf summary::marker { content: ''; }
.elf-guide__elf summary::after { content: '+'; margin-left: auto; color: #c69a5b; font-size: 20px; font-weight: 400; }
.elf-guide__elf[open] summary::after { content: '−'; }
.elf-guide__elf summary img { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #99754d; object-fit: contain; image-rendering: auto; }
.elf-guide__elf summary span { min-width: 0; }
.elf-guide__traits { padding: 8px 14px 14px; border-top: 1px solid #62513d; }
.elf-guide__traits p { margin: 0 !important; padding: 5px 0; color: #dfd2c0; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.elf-guide__traits p:first-child { margin-bottom: 8px !important; color: #b8d2b1; font-weight: 700; }
.elf-guide h4.elf-guide__quality { margin: 12px 0 2px; padding: 5px 8px; border-left: 3px solid currentColor; background: #2b241e; font: 700 12px/1.3 Arial, sans-serif; text-transform: none; }
.elf-guide__quality--blue { color: #8eb9d5; }
.elf-guide__quality--orange { color: #e5ad72; }
.elf-guide__quality--purple { color: #c4a8d6; }
.elf-guide__quality--pink { color: #e4a8c2; }
.elf-guide__note { margin: 14px 0 !important; padding: 11px 13px; border-left: 3px solid #88a890; background: #1e261f; color: #d7e1d3; font-size: 13px; line-height: 1.5; }
.elf-guide__note strong { color: #c6dcbf; }
.elf-guide__card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px; border: 1px solid #62513d; border-left: 3px solid #b3834c; background: #211b16; }
.elf-guide__card:nth-child(4n+2) { border-left-color: #8fae91; }
.elf-guide__card:nth-child(4n+3) { border-left-color: #8daac5; }
.elf-guide__card:nth-child(4n+4) { border-left-color: #b39bc0; }
.elf-guide__card img { width: 48px; height: 48px; border: 1px solid #98744e; object-fit: contain; }
.elf-guide__card > div { min-width: 0; }
.elf-guide__tag { display: block; color: #acc4a9; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.elf-guide h4:not(.elf-guide__quality) { margin: 3px 0 6px; color: #f0d5a7; font: 700 16px/1.25 Arial, sans-serif; text-transform: none; }
.elf-guide__card p { margin: 0 0 5px !important; color: #dfd1be; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.elf-guide__card p:last-child { margin-bottom: 0 !important; }
.elf-guide__card strong { color: #b8d4b6; }
.elf-guide__material-symbol { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid #98744e; color: #f0cf93; background: #35291e; font-size: 13px; font-weight: 700; }
.elf-guide__screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.elf-guide__screens figure, .elf-guide__reforge-screen { min-width: 0; margin: 0; }
.elf-guide__screens img, .elf-guide__reforge-screen img { display: block; max-width: 100%; height: auto; margin: 0 auto; border: 1px solid #6c573d; }
.elf-guide__screens figcaption, .elf-guide__reforge-screen figcaption { margin-top: 5px; color: #bda992; font-size: 11px; text-align: center; }
.elf-guide__reforge-screen { margin-top: 18px; }
.elf-guide__reforge-screen a { display: block; width: fit-content; max-width: 100%; margin: 0 auto; }
.elf-guide__table { min-width: 440px !important; }
.elf-guide__table td:not(:first-child), .elf-guide__table th:not(:first-child) { white-space: nowrap; }
.elf-guide__table--text { min-width: 600px !important; }
.elf-guide__table--text td, .elf-guide__table--text th { width: 35%; white-space: normal !important; overflow-wrap: anywhere; }
.elf-guide__table--text td:first-child, .elf-guide__table--text th:first-child { width: 30%; }
.elf-guide h4.elf-guide__subsection { margin: 17px 0 8px; color: #f0d5a7; font: 700 14px/1.3 Arial, sans-serif; text-transform: none; }
.elf-guide__fineprint { margin: 8px 0 0 !important; color: #aa9c89; font-size: 12px; }
@media (max-width: 480px) {
    .elf-guide__screens { grid-template-columns: minmax(0, 1fr); }
    .elf-guide__card { gap: 10px; padding: 11px; }
}
@media (max-width: 650px) {
    .bs-guide { padding: 16px; }
    .bs-guide h2.bs-guide__title { font-size: 22px; }
    .bs-guide__split, .bs-guide__split--portrait, .bs-guide__step--image, .bs-guide__class-content { grid-template-columns: 1fr; }
    .bs-guide__art { max-width: 290px; }
    .bs-guide__split--portrait .bs-guide__art { max-width: 240px; }
    .bs-guide__chart { max-width: 240px; }
    .bs-guide__row { grid-template-columns: 1fr; gap: 3px; }
}

/* Event guides */
.event-guide { --event-accent: #d7a75d; --event-soft: #f0d3a5; --guide-frame: #775834; --guide-icon-border: var(--event-accent); background: linear-gradient(180deg, #292015 0, #191510 190px); }
.event-guide--gold, .event-guide--auction { --event-accent: #d6ad60; --event-soft: #f5dcaa; }
.event-guide--harvest { --event-accent: #a8bd71; --event-soft: #d8e3ae; --guide-frame: #65704a; }
.event-guide--fishing { --event-accent: #85b8bb; --event-soft: #c3e1de; --guide-frame: #527476; }
.event-guide--battle { --event-accent: #c78666; --event-soft: #efd0ad; --guide-frame: #83574c; }
.event-guide--liel { --event-accent: #b8a4cc; --event-soft: #e6d5ef; --guide-frame: #75647e; }
.event-guide .bs-guide__head { padding-bottom: 14px; border-bottom: 1px solid #66513a; }
.event-guide .bs-guide__icon { border-color: var(--event-accent); background: #382919; object-fit: contain; }
.event-guide .bs-guide__eyebrow { color: var(--event-accent); }
.event-guide h2.bs-guide__title { color: var(--event-soft); }
.event-guide .expedition-guide__facts { margin-top: 17px; border-color: #6b553a; background: #6b553a; }
.event-guide .expedition-guide__facts div { min-width: 0; background: #251e17; }
.event-guide .expedition-guide__facts strong { color: var(--event-soft); font-size: 17px; overflow-wrap: anywhere; }
.event-guide .collection-guide__place { border-left-color: var(--event-accent); background: #292117; }
.event-guide .collection-guide__place strong { color: var(--event-soft); }
.event-guide .bs-guide__section { margin-top: 22px; }
.event-guide h3.bs-guide__section-title { color: var(--event-soft); }
.event-guide .collection-guide__steps li::marker { color: var(--event-accent); }
.event-guide__subheading { margin: 0 0 8px !important; color: var(--event-soft); font-size: 13px; font-weight: 700; }
.event-guide__locations { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 17px; }
.event-guide__locations span { padding: 6px 10px; border: 1px solid #65533b; background: #2b231a; color: #e6d8c1; font-size: 12px; line-height: 1.3; }
.event-guide__notice { margin: 15px 0; padding: 13px 16px; border-left: 3px solid var(--event-accent); background: #2a241b; }
.event-guide__notice strong { display: block; margin-bottom: 4px; color: var(--event-soft); font-size: 13px; }
.event-guide__notice p { margin: 0 !important; color: #dfd1bd; }
.event-guide__notice--caution { border-left-color: #c9896f; background: #30231d; }
.event-guide__reward-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 1px; list-style: none; background: #5e4c37; }
.event-guide__reward-list li { min-width: 0; padding: 10px 12px 10px 27px; background: #241e17; color: #e9ddc9; position: relative; }
.event-guide__reward-list li::before { content: '◆'; position: absolute; top: 12px; left: 11px; color: var(--event-accent); font-size: 8px; }
.event-guide__screen { margin-top: 16px; max-width: 560px; border-color: #70593d; }
.event-guide__screen--portrait { max-width: 420px; }
.event-guide__screen--small { max-width: 337px; }
.event-guide__screen img { max-width: 100%; object-fit: contain; }
.event-guide__screen a:hover img, .event-guide__screens a:hover img, .event-guide__merchant a:hover img { filter: brightness(1.08); }
.event-guide__screen figcaption { color: #cbb698; }
.event-guide__table { border: 1px solid #635039; }
.event-guide__table th { color: var(--event-soft); background: #392c20; }
.event-guide__table td { color: #e5d8c6; }
.event-guide__table td:first-child { color: var(--event-soft); font-weight: 700; }
.event-guide__fineprint { margin: 10px 0 0 !important; color: #bba990; font-size: 12px; line-height: 1.5; }
.event-guide__merchant-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.event-guide__merchant { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #6c5235; background: #251d16; }
.event-guide__merchant-copy { padding: 14px; }
.event-guide__kicker { color: var(--event-accent); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.event-guide__merchant h3 { margin: 5px 0 7px; color: var(--event-soft); font: 700 17px/1.25 Arial, sans-serif; text-transform: none; }
.event-guide__merchant p { margin: 0 0 7px !important; color: #cfbea8; font-size: 13px; }
.event-guide__merchant strong { color: #e8d1a5; font-size: 12px; }
.event-guide__merchant a { display: block; margin-top: auto; border-top: 1px solid #6c5235; }
.event-guide__merchant img { display: block; width: 100%; height: 210px; object-fit: cover; object-position: center 25%; }
.event-guide__details { margin-top: 9px; border: 1px solid #675038; background: #241c16; }
.event-guide__details summary { display: flex; gap: 8px; align-items: center; padding: 11px 14px; color: var(--event-soft); cursor: pointer; font-size: 14px; font-weight: 700; list-style: none; }
.event-guide__details summary::-webkit-details-marker { display: none; }
.event-guide__details summary::marker { content: ''; }
.event-guide__details summary::after { content: '+'; margin-left: auto; color: var(--event-accent); font-size: 20px; font-weight: 400; line-height: 1; }
.event-guide__details[open] summary::after { content: '−'; }
.event-guide__details[open] summary { border-bottom: 1px solid #675038; }
.event-guide__compact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin: 0; padding: 12px 17px 14px 31px; }
.event-guide__compact-list li { padding: 4px 0; color: #e0d3c0; }
.event-guide__compact-list li::marker { color: var(--event-accent); }
.event-guide__currency { margin-top: 15px; }
.event-guide__currency > span { display: block; margin-bottom: 7px; color: var(--event-soft); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.event-guide__currency--coins > span { color: #bcd6cb; }
.event-guide__skill-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 1px; background: #5c4933; }
.event-guide__skill-grid p { margin: 0 !important; padding: 9px 11px; background: #241e18; }
.event-guide__skill-grid strong, .event-guide__skill-grid small { display: block; line-height: 1.4; }
.event-guide__skill-grid strong { color: #ebd9b9; font-size: 13px; }
.event-guide__skill-grid small { color: #bdb09f; font-size: 12px; }
.event-guide__screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.event-guide__screens figure { min-width: 0; margin: 0; }
.event-guide__screens a { display: block; border: 1px solid #70573c; background: #12100d; }
.event-guide__screens img { display: block; width: 100%; height: auto; }
.event-guide__screens figcaption { margin-top: 5px; color: #bead97; font-size: 11px; text-align: center; }
.event-guide__screens--map img { height: 250px; object-fit: contain; }
.event-guide__reward-tiers .event-guide__details summary { flex-wrap: wrap; }
.event-guide__reward-tiers .event-guide__details summary span { color: var(--event-accent); font-size: 11px; text-transform: uppercase; }
.event-guide__reward-tiers .event-guide__details summary strong { color: var(--event-soft); font-size: 14px; }
.dungeon-guide { --dungeon-accent: #d5ba78; --dungeon-border: #706344; --guide-icon-border: var(--dungeon-accent); max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none; color: #e0d6c5; background: transparent; }
.dungeon-guide .bs-guide__head { border-bottom-color: var(--dungeon-border); }
.dungeon-guide .bs-guide__icon { object-fit: cover; object-position: center; }
.dungeon-guide .bs-guide__eyebrow, .dungeon-guide h3.bs-guide__section-title { color: var(--dungeon-accent); }
.dungeon-guide h2.bs-guide__title { color: #f1e5ce; font-size: 23px; }
.dungeon-guide .bs-guide__subhead { color: #c4b6a1; }
.dungeon-guide .bs-guide__section { border-top-color: var(--dungeon-border); }
.dungeon-guide__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; padding: 1px; margin-bottom: 18px; background: var(--dungeon-border); }
.dungeon-guide__facts div { min-width: 0; padding: 10px 12px; background: #261f18; }
.dungeon-guide__facts span, .dungeon-guide__facts strong { display: block; overflow-wrap: anywhere; line-height: 1.4; }
.dungeon-guide__facts span { margin-bottom: 4px; color: #b8aa94; font-size: 11px; }
.dungeon-guide__facts strong { color: #f1e8d6; font-size: 13px; }
.dungeon-guide__scene { margin: 0 0 18px; border: 1px solid var(--dungeon-border); background: #110f0d; }
.dungeon-guide__scene a { display: flex; justify-content: center; max-height: 290px; overflow: hidden; }
.dungeon-guide__scene img { display: block; max-width: 100%; width: auto; height: auto; max-height: 290px; object-fit: contain; }
.dungeon-guide__scene--map a, .dungeon-guide__scene--map img { max-height: 340px; }
.dungeon-guide__scene figcaption, .dungeon-guide__gallery figcaption { padding: 7px 10px; color: #bdad96; font-size: 11px; line-height: 1.4; }
.dungeon-guide__notice { margin: 13px 0 !important; padding: 11px 14px; border-left: 3px solid var(--dungeon-accent); background: #2c2318; color: #e8dcc9; font-size: 13px; line-height: 1.55; }
.dungeon-guide__notice strong { color: #f5deb0; }
.dungeon-guide__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 13px 0 0; }
.dungeon-guide__gallery--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dungeon-guide__gallery figure { min-width: 0; margin: 0; border: 1px solid var(--dungeon-border); background: #120f0c; }
.dungeon-guide__gallery a { display: flex; align-items: center; justify-content: center; height: 175px; overflow: hidden; }
.dungeon-guide__gallery img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.dungeon-guide__gallery--three a { height: 190px; }
.dungeon-guide__gallery a:hover img, .dungeon-guide__scene a:hover img { filter: brightness(1.13); }
.dungeon-guide__route { margin: 0; padding: 0; list-style: none; counter-reset: route; }
.dungeon-guide__route li { display: grid; grid-template-columns: minmax(130px, 32%) minmax(0, 1fr); gap: 12px; padding: 11px 0 11px 38px; border-top: 1px solid #544633; position: relative; counter-increment: route; font-size: 13px; line-height: 1.5; }
.dungeon-guide__route li::before { content: counter(route, decimal-leading-zero); position: absolute; top: 11px; left: 0; color: var(--dungeon-accent); font-size: 12px; font-weight: 700; }
.dungeon-guide__route strong { color: #ead9b9; overflow-wrap: anywhere; }
.dungeon-guide__route span { min-width: 0; overflow-wrap: anywhere; }
.dungeon-guide__chips, .dungeon-guide__floors { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0; }
.dungeon-guide__chips span, .dungeon-guide__floors span { padding: 6px 9px; border: 1px solid var(--dungeon-border); background: #2a2118; color: #e7d9c3; font-size: 12px; }
.dungeon-guide__floors span { display: flex; justify-content: space-between; gap: 12px; min-width: 49px; color: #b9aa94; }
.dungeon-guide__floors b { color: var(--dungeon-accent); }
.dungeon-guide__caption { margin: 8px 0 !important; color: #b8a994; font-size: 12px; }
.dungeon-guide__loot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.dungeon-guide__loot { min-width: 0; border: 1px solid var(--dungeon-border); background: #231c15; }
.dungeon-guide__loot summary, .dungeon-guide__loot-heading { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 9px 12px; color: #f0e2c6; list-style: none; }
.dungeon-guide__loot summary { cursor: pointer; }
.dungeon-guide__loot summary::-webkit-details-marker { display: none; }
.dungeon-guide__loot summary::after { content: '+'; margin-left: auto; color: var(--dungeon-accent); font-size: 21px; }
.dungeon-guide__loot[open] summary::after { content: '−'; }
.dungeon-guide__loot summary > span:nth-child(2), .dungeon-guide__loot-heading > span:nth-child(2) { min-width: 0; }
.dungeon-guide__loot summary strong, .dungeon-guide__loot summary small, .dungeon-guide__loot-heading strong, .dungeon-guide__loot-heading small { display: block; overflow-wrap: anywhere; line-height: 1.35; }
.dungeon-guide__loot summary strong, .dungeon-guide__loot-heading strong { font-size: 13px; }
.dungeon-guide__loot summary small, .dungeon-guide__loot-heading small { margin-top: 2px; color: #b8a994; font-size: 11px; }
.dungeon-guide__loot-mark { display: grid; flex: 0 0 35px; place-items: center; width: 35px; height: 35px; border: 1px solid var(--dungeon-border); color: var(--dungeon-accent); font: 700 12px/1 Arial, sans-serif; }
.dungeon-guide__loot ul { margin: 0; padding: 10px 13px 10px 29px; border-top: 1px solid var(--dungeon-border); font-size: 12px; line-height: 1.5; }
.dungeon-guide__loot li { padding: 3px 0; overflow-wrap: anywhere; }
.dungeon-guide__loot li::marker { color: var(--dungeon-accent); }
.dungeon-guide__loot-extra { margin: 0 !important; padding: 9px 12px; border-top: 1px solid var(--dungeon-border); color: #dbddce; font-size: 12px; line-height: 1.5; }
.dungeon-guide__loot-extra strong { color: var(--dungeon-accent); }
.dungeon-guide__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 245px); gap: 18px; align-items: stretch; margin: 0 0 20px; border-top: 1px solid var(--dungeon-border); border-bottom: 1px solid var(--dungeon-border); background: #211a14; }
.dungeon-guide__intro-copy { min-width: 0; padding: 16px 0 16px 16px; }
.dungeon-guide__kicker, .dungeon-guide__section-head > span { display: block; margin-bottom: 5px; color: var(--dungeon-accent); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.dungeon-guide__intro h3 { margin: 0 0 10px; color: #f2dfba; font: 700 18px/1.25 Arial, sans-serif; }
.dungeon-guide__intro p { margin: 0 0 9px; color: #ded2c1; font-size: 13px; line-height: 1.5; }
.dungeon-guide__intro .dungeon-guide__aside { margin: 12px 0 0; padding-left: 10px; border-left: 2px solid var(--dungeon-accent); color: #cbb99f; font-size: 12px; }
.dungeon-guide__intro-art { display: flex; flex-direction: column; min-width: 0; margin: 0; border-left: 1px solid var(--dungeon-border); background: #110f0d; }
.dungeon-guide__intro-art a { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 175px; max-height: 210px; overflow: hidden; }
.dungeon-guide__intro-art img { display: block; max-width: 100%; max-height: 210px; object-fit: contain; }
.dungeon-guide__intro-art figcaption { padding: 7px 10px; border-top: 1px solid var(--dungeon-border); color: #b8a994; font-size: 11px; }
.dungeon-guide__intro-art a:hover img, .dungeon-guide__boss-gallery a:hover img { filter: brightness(1.12); }
.dungeon-guide__section-head { margin-bottom: 11px; }
.dungeon-guide__section-head h3.bs-guide__section-title { margin: 0; font-size: 18px; }
.dungeon-guide__encounters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 1px; background: var(--dungeon-border); }
.dungeon-guide__encounter { min-width: 0; padding: 13px 15px 14px; background: #211b16; }
.dungeon-guide__encounter-number { display: block; margin-bottom: 4px; color: var(--dungeon-accent); font-size: 11px; font-weight: 700; }
.dungeon-guide__encounter h4, .dungeon-guide__boss-gallery h4 { margin: 0 0 7px; color: #f0d9ae; font: 700 16px/1.3 Arial, sans-serif; }
.dungeon-guide__encounter p, .dungeon-guide__boss-gallery p { margin: 0; color: #d9cdbb; font-size: 12px; line-height: 1.5; }
.dungeon-guide__encounter-alert { margin-top: 10px; padding-top: 8px; border-top: 1px solid #5b4832; color: #e3bd7e; font-size: 12px; line-height: 1.45; }
.dungeon-guide__level-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; padding: 1px; background: var(--dungeon-border); }
.dungeon-guide__level-grid div { min-width: 0; padding: 11px; background: #211b16; }
.dungeon-guide__level-grid strong, .dungeon-guide__level-grid span { display: block; overflow-wrap: anywhere; line-height: 1.35; }
.dungeon-guide__level-grid strong { margin-bottom: 4px; color: var(--dungeon-accent); font-size: 13px; }
.dungeon-guide__level-grid span { color: #e2d6c4; font-size: 12px; }
.dungeon-guide__floor-track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; margin: 13px 0 7px; }
.dungeon-guide__floor-track span { display: flex; justify-content: space-between; gap: 6px; min-width: 0; padding: 8px 9px; border: 1px solid var(--dungeon-border); background: #231c15; color: #eee0c7; font-size: 13px; }
.dungeon-guide__floor-track b { color: var(--dungeon-accent); font-size: 11px; }
.dungeon-guide__floor-track .dungeon-guide__floor-track-last { border-color: #caa867; background: #342717; }
.dungeon-guide__stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; padding: 1px; background: var(--dungeon-border); }
.dungeon-guide__stages > div { min-width: 0; padding: 12px 13px; background: #211b16; }
.dungeon-guide__stages span, .dungeon-guide__stages strong { display: block; }
.dungeon-guide__stages span { margin-bottom: 5px; color: var(--dungeon-accent); font-size: 11px; font-weight: 700; }
.dungeon-guide__stages strong { margin-bottom: 5px; color: #f0d9ae; font-size: 14px; }
.dungeon-guide__stages p { margin: 0; color: #d9cdbb; font-size: 12px; line-height: 1.5; }
.dungeon-guide__boss-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; padding: 1px; background: var(--dungeon-border); }
.dungeon-guide__boss-gallery > div { min-width: 0; padding: 0 12px 13px; background: #211b16; }
.dungeon-guide__boss-gallery a { display: flex; align-items: center; justify-content: center; height: 154px; margin: 0 -12px 11px; border-bottom: 1px solid var(--dungeon-border); background: #110f0d; overflow: hidden; }
.dungeon-guide__boss-gallery img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.dungeon-guide__boss-gallery span { display: block; margin-bottom: 4px; color: var(--dungeon-accent); font-size: 11px; font-weight: 700; }
.dungeon-guide__loot--wide { grid-column: 1 / -1; }
.dungeon-guide__loot--wide ul { columns: 2; column-gap: 27px; }
.dungeon-guide__loot--wide li { break-inside: avoid; }
@media (max-width: 600px) {
    .dungeon-guide__intro { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .dungeon-guide__intro-copy { padding: 15px; }
    .dungeon-guide__intro-art { border-top: 1px solid var(--dungeon-border); border-left: 0; }
    .dungeon-guide__intro-art a { min-height: 150px; max-height: 180px; }
    .dungeon-guide__intro-art img { max-height: 180px; }
    .dungeon-guide__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dungeon-guide__facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .dungeon-guide__loot-grid { grid-template-columns: minmax(0, 1fr); }
    .dungeon-guide__loot--wide { grid-column: auto; }
    .dungeon-guide__loot--wide ul { columns: 1; }
    .dungeon-guide__level-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dungeon-guide__floor-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .dungeon-guide__stages { grid-template-columns: minmax(0, 1fr); }
    .dungeon-guide__boss-gallery { grid-template-columns: minmax(0, 1fr); }
    .dungeon-guide__boss-gallery a { height: 170px; }
    .dungeon-guide__route li { grid-template-columns: minmax(0, 1fr); gap: 3px; }
    .dungeon-guide__gallery--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dungeon-guide__gallery--three figure:last-child { grid-column: 1 / -1; }
    .dungeon-guide__gallery a, .dungeon-guide__gallery--three a { height: 145px; }
}
@media (max-width: 560px) {
    .event-guide .expedition-guide__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .event-guide .expedition-guide__facts div:nth-child(3):last-child { grid-column: 1 / -1; min-height: 55px; }
    .event-guide__merchant-grid, .event-guide__reward-list, .event-guide__skill-grid, .event-guide__compact-list { grid-template-columns: minmax(0, 1fr); }
    .event-guide__merchant img { height: 190px; object-position: center 18%; }
    .event-guide__screens--map img { height: 180px; }
}
