/* Monche adaptation layer over the user-provided Elarion theme. */

.monche-site {
    min-width: 0;
}


.monche-content-surface {
    margin-bottom: 0;
    padding: 28px;
}

.monche-content-surface > h1,
.monche-content-surface > .d-flex h1 {
    color: #edf0f5 !important;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.04;
    margin-bottom: 8px;
}

.monche-content-surface .text-muted {
    color: #7f8999 !important;
}

.monche-content-surface .form-control {
    background: #111720;
    border: 1px solid #323c4d;
    color: #e2e6ec;
    max-width: none;
}

.monche-content-surface .form-control:focus {
    background: #141b25;
    border-color: #b89550;
    box-shadow: 0 0 0 3px rgba(184, 149, 80, .12);
    color: #fff;
}

.monche-content-surface .btn-primary {
    background: linear-gradient(145deg, #d4b36f, #987039);
    border-color: #c6a158;
    color: #11151b !important;
    font-weight: 700;
}

.monche-content-surface .btn-primary:hover,
.monche-content-surface .btn-primary:focus {
    background: linear-gradient(145deg, #e2c583, #a77d42);
    border-color: #dfbd76;
    color: #0c1015 !important;
}

.monche-content-surface .btn-outline-secondary,
.monche-content-surface .btn-outline-primary {
    border-color: #475267;
    color: #c4cad4 !important;
}

.monche-content-surface .btn-outline-secondary:hover,
.monche-content-surface .btn-outline-primary:hover {
    background: #252d3a;
    border-color: #657188;
    color: #fff !important;
}

.monche-content-surface .table-responsive {
    border: 1px solid #2c3544;
    border-radius: 10px;
    overflow: auto;
}

.monche-content-surface .table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(255, 255, 255, .025);
    --bs-table-hover-bg: rgba(207, 177, 112, .055);
    --bs-table-color: #aeb7c5;
    --bs-table-striped-color: #aeb7c5;
    --bs-table-hover-color: #edf0f5;
    border-color: #2c3544;
    color: #aeb7c5;
    margin-bottom: 0;
}

.monche-content-surface .table > :not(caption) > * > * {
    background-color: transparent;
    border-bottom-color: #2c3544;
    box-shadow: none;
    color: inherit;
    padding: 12px 14px;
}

.monche-content-surface .table thead th {
    background: #151b25;
    border-bottom-color: #354052;
    color: #d5d9e0;
    font-size: 13px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.monche-content-surface .table a {
    color: #ddc07d !important;
}

.monche-content-surface .table a:hover {
    color: #f2d797 !important;
}

.monche-content-surface dl {
    color: #aeb7c5;
}

.monche-content-surface dt {
    color: #7f8999;
    font-weight: 500;
}

.monche-content-surface dd {
    color: #d1d6df;
}

.monche-content-surface .card {
    background: #151b24;
    border-color: #2d3746;
    color: #aeb7c5;
}

.monche-content-surface .card-header {
    background: #111720;
    border-bottom-color: #2d3746;
    color: #e0e4ea;
}

.monche-content-surface .pagination {
    gap: 6px;
    margin-top: 20px;
}

.monche-content-surface .page-link {
    background: #151b24;
    border-color: #303a4b;
    color: #c7cdd7 !important;
}

.monche-content-surface .page-link:hover {
    background: #242c39;
    border-color: #4a566b;
    color: #f1d58f !important;
}

.monche-content-surface .page-item.disabled .page-link {
    background: #11161e;
    border-color: #282f3d;
    color: #687383 !important;
}

@media (max-width: 767.98px) {

    .monche-content-surface {
        border-radius: 10px;
        padding: 18px 14px;
    }
}


/* V7.24 shared database page stack: Home and GameData pages use the same l2-home/l2-panel/community building blocks. */
.monche-site .l2-home[data-home-mode="database-page"] {
    overflow: visible;
}

.monche-site .gx-sb-content > .gx-sb-list {
    padding-top: 14px !important;
}

.monche-site .gx-sb-content > .gx-sb-list > .gx-sb-item-separator {
    margin-top: 14px !important;
}

.monche-site .monche-home-no-hero {
    margin-top: 24px;
}

@media (max-width: 991.98px) {
    .monche-site .monche-home-no-hero {
        margin-top: 18px;
    }
}

@media (min-width: 992px) {
    .monche-site .gx-sidebar .gx-sb-wrapper {
        padding-top: 0 !important;
    }

    .monche-site .monche-home-no-hero {
        margin-top: 14px;
    }

    .monche-site .monche-home-no-hero .l2-quick-start {
        margin-top: 0;
    }
}



.monche-site .monche-db-home-search__field {
    align-items: center;
    background: rgba(6, 15, 28, .92);
    border: 1px solid rgba(199, 164, 93, .30);
    border-radius: 10px;
    display: flex;
    gap: 14px;
}

.monche-site .monche-db-home-search__field > i {
    color: #d6ad58;
    flex: 0 0 auto;
    font-size: 21px;
}

.monche-site .monche-db-home-search__field input {
    background: transparent;
    border: 0;
    color: #f0f3f8;
    flex: 1 1 auto;
    font: inherit;
    font-size: 16px;
    min-width: 0;
    outline: 0;
}

.monche-site .monche-db-home-search__field input::placeholder {
    color: #7f8999;
    opacity: 1;
}

.monche-site .monche-db-home-categories {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.monche-site .monche-db-home-categories .l2-step {
    height: 100%;
    min-width: 0;
}

@media (max-width: 1199.98px) {
    .monche-site .monche-db-home-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .monche-site .monche-db-home-search__field {
        align-items: stretch;
        flex-direction: column;
    }

    .monche-site .monche-db-home-search__field > i {
        display: none;
    }

    .monche-site .monche-db-home-categories {
        grid-template-columns: 1fr;
    }
}

.monche-site .monche-db-home-panel__header {
    align-items: center;
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.monche-site .monche-db-home-panel__copy {
    min-width: 0;
}

.monche-site .monche-db-home-search {
    margin: 0;
    max-width: none;
    width: 100%;
}

.monche-site .monche-db-home-search__label {
    color: #dbe3ef;
    display: block;
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 10px;
}

.monche-site .monche-db-home-search__field {
    padding: 0 16px;
}

.monche-site .monche-db-home-search__field input {
    min-height: 54px;
    padding: 0;
}

.monche-site .monche-db-home-search__field:focus-within,
.monche-site .monche-page-search-field:focus-within {
    border-color: #d99a21;
    box-shadow: 0 0 0 2px rgba(217, 154, 33, .20);
}

.monche-site .monche-page-search {
    margin: 18px 0 24px;
    max-width: 760px;
}

.monche-site .monche-page-search-field {
    align-items: center;
    background: #11161e;
    border: 1px solid #3a4352;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    padding: 0 14px;
}

.monche-site .monche-page-search-field > i {
    color: #d6ad58;
    font-size: 20px;
}

.monche-site .monche-page-search-field input {
    background: transparent;
    border: 0;
    color: #f0f3f8;
    flex: 1 1 auto;
    font: inherit;
    min-height: 52px;
    min-width: 0;
    outline: 0;
}

.monche-site .monche-live-search-host {
    position: relative;
}

.monche-site .monche-live-search-dropdown {
    background: #171717;
    border: 2px solid #3f3f3f;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .40);
    left: 0;
    margin-top: 6px;
    max-height: 420px;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1200;
}

.monche-site .monche-live-search-dropdown[hidden] {
    display: none !important;
}

.monche-site .monche-live-search-empty {
    color: #a8afba;
    font-size: 15px;
    padding: 10px 12px;
}

.monche-site .monche-live-search-result {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    color: #e8edf4;
    display: grid;
    gap: 12px;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    padding: 10px 12px;
    text-decoration: none;
}

.monche-site .monche-live-search-result:last-child {
    border-bottom: 0;
}

.monche-site .monche-live-search-result:hover,
.monche-site .monche-live-search-result.is-active {
    background: #242424;
    color: #fff;
}

.monche-site .monche-live-search-result__type {
    color: #d6ad58;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.monche-site .monche-live-search-result__copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.monche-site .monche-live-search-result__copy strong,
.monche-site .monche-live-search-result__copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.monche-site .monche-live-search-result__copy strong {
    color: #f4f6f9;
    font-size: 14px;
}

.monche-site .monche-live-search-result__copy small {
    color: #8f9aac;
    font-size: 12px;
    margin-top: 2px;
}

.monche-site .monche-live-search-result > i {
    color: #83a9d8;
}

@media (max-width: 1199.98px) {
    .monche-site .monche-db-home-panel__header {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

@media (max-width: 991.98px) {
    .monche-site .monche-db-home-panel__header {
        grid-template-columns: 1fr;
    }

    .monche-site .monche-db-home-search {
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .monche-site .monche-live-search-result {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .monche-site .monche-live-search-result > i {
        display: none;
    }
}

.monche-site .monche-db-home-search__field input::-webkit-search-cancel-button,
.monche-site .monche-page-search-field input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

@media (min-width: 992px) {
    .monche-site .monche-db-home-panel__header {
        align-items: center;
        display: flex;
        gap: 30px;
        grid-template-columns: none;
    }

    .monche-site .monche-db-home-panel__copy,
    .monche-site .monche-db-home-search {
        flex: 1 1 0;
        max-width: none;
        min-width: 0;
        width: 0;
    }
}




.monche-site .monche-npc-info-card .card-body{
    flex-direction: column;
}











.monche-site .monche-npc-map-empty {
    border: 1px solid rgba(207, 177, 112, .16);
    background: rgba(255, 255, 255, .015);
}

@media (max-width: 991.98px) {
    
}

@media (max-width: 575.98px) {
    
}


.monche-site .monche-npc-location-layout {
    display: grid !important;
    align-items: start !important;
    margin: 0 0 1.5rem !important;
    padding: 0 !important;
}
.monche-site .monche-npc-map-column,
.monche-site .monche-npc-info-column {
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.monche-site .monche-npc-info-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.monche-site .monche-npc-info-card{
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
}
.monche-site .monche-npc-info-card .card-body{
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
}
.monche-site .monche-npc-map-frame {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    border: 1px solid rgba(207, 177, 112, .28) !important;
    background: #121316 !important;
    isolation: isolate;
}
.monche-site .monche-npc-map-image {
    position: absolute !important;
    display: block !important;
    width: 1416px !important;
    min-width: 1416px !important;
    max-width: none !important;
    height: 2048px !important;
    min-height: 2048px !important;
    object-fit: none !important;
    margin: 0 !important;
    padding: 0 !important;
    user-select: none;
    pointer-events: none;
    z-index: 1;
}

.monche-site .monche-npc-map-empty {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}
@media (max-width: 991.98px) {
    
    .monche-site .monche-npc-map-frame {
        height: 320px !important;
        min-height: 320px !important;
    }
}
@media (max-width: 575.98px) {
    .monche-site .monche-npc-map-frame {
        height: 280px !important;
        min-height: 280px !important;
    }
}


.monche-site .monche-npc-location-layout {
    grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr) !important;
    gap: 1.25rem !important;
}
.monche-site .monche-npc-visual-grid {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
}
.monche-site .monche-npc-info-card{
    margin: 0 !important;
}

.monche-site .monche-npc-portrait-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 236px;
    overflow: hidden;
    border: 1px solid rgba(207, 177, 112, .22);
    background: #121316;
}
.monche-site .monche-npc-portrait-image {
    display: block;
}


.monche-site .monche-npc-map-frame {
    height: 236px !important;
    min-height: 236px !important;
}
.monche-site .monche-npc-map-empty {
    min-height: 236px !important;
}

.monche-site .monche-icon-cell {
    width: 44px;
    min-width: 44px;
    text-align: center;
    vertical-align: middle;
}
.monche-site .monche-entity-icon {
    width: 32px;
    height: 32px;
    vertical-align: middle;
}
.monche-site .monche-entity-table > :not(caption) > * > * {
    vertical-align: middle;
}
@media (max-width: 1199.98px) {
    .monche-site .monche-npc-location-layout {
        grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr) !important;
    }
    .monche-site .monche-npc-visual-grid {
        grid-template-columns: 160px minmax(0, 1fr);
    }
    .monche-site .monche-npc-portrait-frame,
    .monche-site .monche-npc-map-frame,
    .monche-site .monche-npc-map-empty {
        height: 220px !important;
        min-height: 220px !important;
    }
}
@media (max-width: 991.98px) {
    .monche-site .monche-npc-location-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .monche-site .monche-npc-visual-grid {
        grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    }
    .monche-site .monche-npc-portrait-frame,
    .monche-site .monche-npc-map-frame,
    .monche-site .monche-npc-map-empty {
        height: 236px !important;
        min-height: 236px !important;
    }
}
@media (max-width: 575.98px) {
    .monche-site .monche-npc-visual-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    
    .monche-site .monche-npc-portrait-frame {
        height: 220px !important;
        min-height: 220px !important;
    }
    .monche-site .monche-npc-map-frame,
    .monche-site .monche-npc-map-empty {
        height: 240px !important;
        min-height: 240px !important;
    }
}


.monche-site .monche-npc-visual-grid.monche-npc-visual-grid--quest {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
    gap: .8rem;
    align-items: start;
}
.monche-site .monche-npc-visual-unit,
.monche-site .monche-npc-quest-divider-column {
    min-width: 0;
}
.monche-site .monche-npc-visual-title {
    height: 29px;
    margin: 0 0 .65rem !important;
    display: flex;
    align-items: center;
}
.monche-site .monche-npc-visual-title--spacer {
    visibility: hidden;
}
.monche-site .monche-npc-quest-frame {
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    border: 1px solid rgba(207, 177, 112, .38) !important;
    border-radius: 2px;
    background: #121316;
    overflow: hidden;
}
.monche-site .monche-npc-portrait-frame.monche-npc-quest-frame {
    display: flex;
    align-items: center;
    justify-content: center;
}
.monche-site .monche-npc-portrait-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    user-select: none;
}
.monche-site .monche-npc-map-frame.monche-npc-quest-frame {
    position: relative !important;
    cursor: grab;
    touch-action: none;
    user-select: none;
}
.monche-site .monche-npc-map-frame.monche-npc-quest-frame.is-dragging {
    cursor: grabbing;
}
.monche-site .monche-npc-map-pan-layer {
    position: absolute;
    inset: 0;
    will-change: transform;
    z-index: 1;
}
.monche-site .monche-npc-map-pan-layer .monche-npc-map-image {
    z-index: 1;
}
.monche-site .monche-npc-quest-divider {
    width: 34px;
    height: 260px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    overflow: hidden;
    border: 1px solid rgba(207, 177, 112, .38);
    background: rgba(14, 15, 18, .96);
    color: #d8b45d;
}
.monche-site .monche-npc-quest-divider span {
    display: block;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    white-space: nowrap;
    font-size: .72rem !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    line-height: 1 !important;
}

@media (max-width: 1199.98px) {
    .monche-site .monche-npc-visual-grid.monche-npc-visual-grid--quest {
        grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
        gap: .65rem;
    }
    .monche-site .monche-npc-quest-divider {
        width: 30px;
    }
}
@media (max-width: 767.98px) {
    .monche-site .monche-npc-visual-grid.monche-npc-visual-grid--quest {
        grid-template-columns: minmax(0, 1fr);
        gap: .8rem;
    }
    .monche-site .monche-npc-quest-divider-column {
        order: 2;
    }
    .monche-site .monche-npc-portrait-unit {
        order: 3;
    }
    .monche-site .monche-npc-visual-title--spacer {
        display: none;
    }
    .monche-site .monche-npc-quest-divider {
        width: 100%;
        height: 30px;
        min-height: 30px;
        flex-direction: row;
    }
    .monche-site .monche-npc-quest-divider span {
        writing-mode: horizontal-tb;
        transform: none;
    }
    .monche-site .monche-npc-quest-frame {
        height: 240px !important;
        min-height: 240px !important;
    }
}


@media (min-width: 992px) {
    .monche-site .monche-npc-location-layout {
        grid-template-columns: 600px minmax(300px, 1fr) !important;
        gap: 1.25rem !important;
        align-items: start !important;
    }

    .monche-site .monche-npc-map-column.monche-npc-media-column {
        width: 600px !important;
        max-width: 600px !important;
        min-width: 600px !important;
    }

    .monche-site .monche-npc-visual-grid.monche-npc-visual-grid--quest {
        display: grid !important;
        grid-template-rows: 315px !important;
        width: 600px !important;
        max-width: 600px !important;
        min-width: 600px !important;
        height: 315px !important;
        min-height: 315px !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        align-items: stretch !important;
        overflow: hidden;
        box-sizing: border-box;
    }

    /* Keep accepted Razor DOM intact; place NPC left and map right purely via CSS grid. */
    .monche-site .monche-npc-portrait-unit {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    .monche-site .monche-npc-quest-divider-column {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
    .monche-site .monche-npc-map-unit {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }

    .monche-site .monche-npc-visual-unit,
    .monche-site .monche-npc-quest-divider-column {
        position: relative !important;
        width: 100% !important;
        height: 315px !important;
        min-height: 315px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Overlay labels so the complete reusable media surface stays exactly 600x315. */
    .monche-site .monche-npc-visual-title {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 6 !important;
        height: 30px !important;
        margin: 0 !important;
        padding: 8px 10px 6px !important;
        display: flex !important;
        align-items: center !important;
        background: linear-gradient(to bottom, rgba(0,0,0,.82), rgba(0,0,0,.18)) !important;
        color: #f4f1e9 !important;
        pointer-events: none;
        box-sizing: border-box;
    }
    .monche-site .monche-npc-visual-title--spacer {
        display: none !important;
    }

    /* Equal 285x315 NPC and map panels with pure black borders. */
    .monche-site .monche-npc-quest-frame,
    .monche-site .monche-npc-map-frame.monche-npc-quest-frame,
    .monche-site .monche-npc-portrait-frame.monche-npc-quest-frame {
        position: absolute !important;
        inset: 0 !important;
        height: 315px !important;
        min-height: 315px !important;
        max-height: 315px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid #000 !important;
        border-radius: 0 !important;
        background: #05070c !important;
        box-sizing: border-box;
        overflow: hidden !important;
    }

    .monche-site .monche-npc-portrait-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        border: 0 !important;
        background: #05070c !important;
    }

    /* Flush separator: no side borders and zero gap to both panels. */
    .monche-site .monche-npc-quest-divider {
        position: absolute !important;
        inset: 0 !important;
        height: 315px !important;
        min-height: 315px !important;
        margin: 0 !important;
        border-top: 1px solid #000 !important;
        border-bottom: 1px solid #000 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        border-radius: 0 !important;
        background: #0b0f16 !important;
        box-sizing: border-box;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        color: #d8b45d !important;
    }
    .monche-site .monche-npc-quest-divider span {
        writing-mode: vertical-rl !important;
        text-orientation: mixed !important;
        transform: rotate(180deg) !important;
        white-space: nowrap !important;
        font-weight: 700 !important;
    }

    /* Keep X/Y/Z inside the fixed map panel, not below the 315px SEO surface. */
    
}

@media (max-width: 991.98px) {
    .monche-site .monche-npc-map-column.monche-npc-media-column {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }
}


@media (min-width: 992px) {
    .monche-site .monche-npc-portrait-unit .monche-npc-visual-title {
        font-size: .82rem !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}


.monche-site .monche-npc-media-headline {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0 0 .7rem 0;
}



.monche-site .monche-npc-skill-icon-row {
    display: flex;
    gap: .45rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.monche-site .monche-npc-skill-icon-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border: 1px solid rgba(214, 180, 95, .35);
    border-radius: .45rem;
    background: rgba(7, 11, 18, .9);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35);
    text-decoration: none;
    transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.monche-site .monche-npc-skill-icon-link:hover,
.monche-site .monche-npc-skill-icon-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(214, 180, 95, .75);
    box-shadow: 0 0 0 .12rem rgba(214, 180, 95, .18);
}

.monche-site .monche-npc-skill-icon {
    width: 2rem;
    height: 2rem;
    display: block;
    border-radius: .25rem;
    object-fit: cover;
    image-rendering: auto;
}

.monche-site .monche-npc-portrait-unit .monche-npc-visual-title {
    display: none !important;
}



@media (max-width: 991.98px) {
    .monche-site .monche-npc-media-headline {
        width: 100%;
        margin-bottom: .6rem;
    }

    .monche-site .monche-npc-skill-icon-link {
        width: 2.15rem;
        height: 2.15rem;
    }

    .monche-site .monche-npc-skill-icon {
        width: 1.85rem;
        height: 1.85rem;
    }
}


.monche-site .monche-npc-media-headline {
    gap: .42rem !important;
}



.monche-site .monche-npc-media-name {
    font-size: 1.65rem !important;
    line-height: 1.08 !important;
    color: #f4f1e9 !important;
    font-weight: 700 !important;
}



.monche-site .monche-npc-raid-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.45rem;
    padding: .14rem .48rem;
    border: 1px solid var(--monche-npc-client-color, #fe8b3f);
    border-radius: 999px;
    color: var(--monche-npc-client-color, #fe8b3f);
    background: rgba(0, 0, 0, .26);
    font-size: .73rem;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}

/* Keep the SEO master surface exactly 600x315, but spend less width on the watermark. */
@media (min-width: 992px) {
    .monche-site .monche-npc-visual-grid.monche-npc-visual-grid--quest {
        grid-template-columns: 290px 20px 290px !important;
    }

    .monche-site .monche-npc-quest-frame,
    .monche-site .monche-npc-map-frame.monche-npc-quest-frame,
    .monche-site .monche-npc-portrait-frame.monche-npc-quest-frame {
        width: 290px !important;
    }

    .monche-site .monche-npc-quest-divider {
        width: 20px !important;
        padding: 0 !important;
        justify-content: space-evenly !important;
    }

    .monche-site .monche-npc-quest-divider span {
        font-size: .72rem !important;
        font-weight: 700 !important;
        letter-spacing: .08em !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 575.98px) {
    

    
}










.monche-site .monche-npc-raid-badge {
    align-self: center;
}

.monche-site .monche-npc-skill-icon-row {
    overflow: visible;
    padding-bottom: .55rem;
}

.monche-site .monche-npc-skill-icon-link--popover {
    overflow: visible !important;
}

.monche-site .monche-npc-skill-popover {
    position: absolute;
    display: flex;
    align-items: flex-start;
    gap: .72rem;
    padding: .8rem;
    border: 1px solid rgba(214, 180, 95, .48);
    border-radius: .8rem;
    background: rgba(6, 10, 16, .97);
    box-shadow: 0 .9rem 1.8rem rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(255, 255, 255, .02);
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
    text-align: left;
}

.monche-site .monche-npc-skill-icon-link--popover:hover .monche-npc-skill-popover,
.monche-site .monche-npc-skill-icon-link--popover:focus-visible .monche-npc-skill-popover,
.monche-site .monche-npc-skill-icon-link--popover:focus .monche-npc-skill-popover {
    opacity: 1;
    visibility: visible;
}

.monche-site .monche-npc-skill-popover-media {
    flex: 0 0 auto;
}

.monche-site .monche-npc-skill-popover-icon {
    width: 2.35rem;
    height: 2.35rem;
    display: block;
    border-radius: .32rem;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(214, 180, 95, .22);
}

.monche-site .monche-npc-skill-popover-body {
    display: flex;
    flex-direction: column;
    gap: .22rem;
    min-width: 0;
}

.monche-site .monche-npc-skill-popover-title {
    color: #f4f1e9;
    font-size: .95rem;
    line-height: 1.2;
    font-weight: 700;
}

.monche-site .monche-npc-skill-popover-level {
    color: #d6b45f;
    font-size: .76rem;
    line-height: 1.1;
    font-weight: 700;
}

.monche-site .monche-npc-skill-popover-description {
    color: #d7dbe3;
    font-size: .78rem;
    line-height: 1.36;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
    .monche-site .monche-npc-visual-grid.monche-npc-visual-grid--quest {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) clamp(10px, 3.333vw, 20px) minmax(0, 1fr) !important;
        width: min(600px, 100%) !important;
        max-width: 100% !important;
        aspect-ratio: 600 / 315 !important;
        height: auto !important;
        align-items: stretch !important;
        gap: 0 !important;
    }

    .monche-site .monche-npc-quest-frame,
    .monche-site .monche-npc-map-frame.monche-npc-quest-frame,
    .monche-site .monche-npc-portrait-frame.monche-npc-quest-frame {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: 100% !important;
        min-height: 0 !important;
    }

    .monche-site .monche-npc-quest-divider {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        justify-content: space-evenly !important;
    }

    .monche-site .monche-npc-quest-divider span {
        font-size: .72rem !important;
        font-weight: 700 !important;
        letter-spacing: .08em !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .monche-site .monche-npc-portrait-image,
    .monche-site .monche-npc-map-frame img {
        max-height: 100% !important;
    }

    .monche-site .monche-npc-skill-popover {
        min-width: min(18rem, calc(100vw - 1.5rem));
        max-width: calc(100vw - 1.5rem);
    }
}

@media (max-width: 575.98px) {
    .monche-site .monche-npc-media-name {
        font-size: 1.35rem !important;
    }

    

    .monche-site .monche-npc-skill-icon-link {
        width: 2.05rem;
        height: 2.05rem;
    }

    .monche-site .monche-npc-skill-icon {
        width: 1.78rem;
        height: 1.78rem;
    }

    .monche-site .monche-npc-visual-grid.monche-npc-visual-grid--quest {
        grid-template-columns: minmax(0, 1fr) clamp(10px, 3.333vw, 20px) minmax(0, 1fr) !important;
    }

    .monche-site .monche-npc-quest-divider {
        width: 100% !important;
        min-width: 0 !important;
    }

    .monche-site .monche-npc-quest-divider span {
        font-size: .72rem !important;
        font-weight: 700 !important;
        letter-spacing: .08em !important;
        line-height: 1 !important;
    }

    .monche-site .monche-npc-skill-popover {
        gap: .58rem;
        padding: .7rem;
    }

    .monche-site .monche-npc-skill-popover-icon {
        width: 2rem;
        height: 2rem;
    }

    .monche-site .monche-npc-skill-popover-title {
        font-size: .88rem;
    }

    .monche-site .monche-npc-skill-popover-description {
        font-size: .74rem;
    }
}


.monche-site .monche-npc-media-headline, .monche-site .monche-npc-name-cluster--b4g, .monche-site .monche-npc-skill-icon-row, .monche-site .monche-npc-skill-icon-link--popover, .monche-site .monche-npc-location-layout, .monche-site .monche-npc-media-column, .monche-site .monche-npc-visual-grid.monche-npc-visual-grid--quest{
    overflow: visible !important;
}

/* Full-width local NPC menu: no box of its own. The ONLY border is the bottom
   divider, inheriting exactly the outer .monche-content-surface border color. */











/* Current NPC title/skill placement only. */
.monche-site .monche-npc-media-headline {
    align-items: flex-start !important;
    width: min(760px, 100%) !important;
    margin-bottom: .2rem !important;
    position: relative !important;
    z-index: 120 !important;
}
.monche-site .monche-npc-name-cluster--b4g {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: .3rem !important;
    width: max-content !important;
    max-width: 100% !important;
    text-align: left !important;
}
.monche-site .monche-npc-name-line {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: .55rem !important;
}
.monche-site .monche-npc-media-name { margin: 0 !important; text-align: left !important; }

.monche-site .monche-npc-skill-icon-row {
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    width: auto !important;
    max-width: 760px !important;
    padding: .08rem 0 .34rem !important;
    position: relative !important;
    z-index: 320 !important;
}

/* Skill popover must float over portrait/map/cards and keep an empty description empty. */
.monche-site .monche-npc-skill-icon-link--popover { position: relative !important; z-index: 360 !important; }
.monche-site .monche-npc-skill-popover {
    top: calc(100% + .38rem) !important;
    bottom: auto !important;
    left: 0 !important;
    transform: translateY(-6px) !important;
    z-index: 900 !important;
    pointer-events: none !important;
    min-width: 19rem !important;
    max-width: min(25rem, calc(100vw - 1.25rem)) !important;
}
.monche-site .monche-npc-skill-icon-link--popover:hover,
.monche-site .monche-npc-skill-icon-link--popover:focus-visible,
.monche-site .monche-npc-skill-icon-link--popover:focus { z-index: 920 !important; }
.monche-site .monche-npc-skill-icon-link--popover:hover .monche-npc-skill-popover,
.monche-site .monche-npc-skill-icon-link--popover:focus-visible .monche-npc-skill-popover,
.monche-site .monche-npc-skill-icon-link--popover:focus .monche-npc-skill-popover { transform: translateY(0) !important; }
.monche-site .monche-npc-skill-popover-description:empty { display: none !important; }


@media (max-width: 767.98px) {
    
    
    
    
    
    .monche-site .monche-npc-skill-popover { min-width: min(18rem, calc(100vw - 1rem)) !important; max-width: calc(100vw - 1rem) !important; }
}





.monche-site .monche-npc-hybrid-search {
    flex: 0 1 26rem !important;
    width: min(26rem, 100%) !important;
    max-width: 100% !important;
    min-width: 18rem !important;
    margin-left: auto !important;
    overflow: visible !important;
    gap: .42rem !important;
}
.monche-site .monche-npc-hybrid-search > i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    color: #d6b45f !important;
    font-size: .88rem !important;
}
.monche-site .monche-npc-hybrid-search input {
    width: 100% !important;
    min-width: 0 !important;
}
.monche-site .monche-npc-hybrid-search__dropdown {
    position: absolute !important;
    top: calc(100% + .38rem) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    max-height: min(28rem, 60vh) !important;
    overflow-y: auto !important;
    z-index: 980 !important;
    padding: .3rem !important;
    border: 1px solid rgba(214,180,95,.38) !important;
    border-radius: .55rem !important;
    background: rgba(5,9,14,.985) !important;
    box-shadow: 0 1rem 2.2rem rgba(0,0,0,.5) !important;
}
.monche-site .monche-npc-hybrid-search__dropdown[hidden] { display: none !important; }
.monche-site .monche-npc-hybrid-search__result {
    border-radius: .38rem !important;
    color: #dce2ec !important;
    text-decoration: none !important;
}
.monche-site .monche-npc-hybrid-search__result:hover,
.monche-site .monche-npc-hybrid-search__result:focus-visible,
.monche-site .monche-npc-hybrid-search__result.is-active {
    background: rgba(214,180,95,.11) !important;
    color: #fff !important;
}
.monche-site .monche-npc-hybrid-search__icon {
    display: block !important;
    min-width: 18px !important;
    min-height: 18px !important;
    box-shadow: 0 0 0 1px rgba(214,180,95,.26) !important;
}

.monche-site .monche-npc-hybrid-search__name {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.monche-site .monche-npc-hybrid-search__empty {
    padding: .55rem .6rem !important;
    color: #7f8a9a !important;
    font-size: .76rem !important;
}
@media (max-width: 767.98px) {
    .monche-site .monche-npc-hybrid-search {
        min-width: 0 !important;
        width: 100% !important;
        flex: 1 1 100% !important;
    }
}





.monche-site .monche-entity-icon {
    display: inline-block;
    flex: 0 0 auto;
    object-fit: contain;
    background: rgba(10, 12, 15, .72);
    border: 1px solid rgba(207, 177, 112, .24);
    border-radius: 5px;
}









@media (max-width: 575.98px) {
    

    
}






.monche-site .monche-client-description {
    margin: .65rem 0 1rem;
    max-width: 76ch;
    line-height: 1.55;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.monche-site .monche-content-surface > .monche-db-menu {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
    width: calc(100% + 60px);
    margin: -30px -30px .72rem;
    padding: .42rem .72rem;
    border: 0 !important;
    border-bottom: 1px solid rgba(214,180,95,.28) !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    position: relative;
    z-index: 70;
    font-family: inherit !important;
}
.monche-site .monche-db-menu__nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .12rem;
    font-family: inherit !important;
    font-size: .875rem !important;
    font-weight: 500 !important;
    line-height: 1.3;
}
.monche-site .monche-db-menu__link,
.monche-site .monche-db-menu__submenu a {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: 500 !important;
    line-height: inherit !important;
    text-decoration: none !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: color .14s ease !important;
}
.monche-site .monche-db-menu__link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: .34rem .58rem;
    border: 0 !important;
    border-radius: 0 !important;
    color: #aeb7c4 !important;
}
.monche-site .monche-db-menu__link:hover,
.monche-site .monche-db-menu__link:focus-visible,
.monche-site .monche-db-menu__group:hover > .monche-db-menu__link,
.monche-site .monche-db-menu__group:focus-within > .monche-db-menu__link,
.monche-site .monche-db-menu__group.is-open > .monche-db-menu__link {
    color: #d6b45f !important;
    background: transparent !important;
}
.monche-site .monche-db-menu__group {
    position: relative;
}
.monche-site .monche-db-menu__submenu {
    display: none;
    position: absolute;
    top: calc(100% + .18rem);
    left: 0;
    min-width: 13rem;
    max-width: min(24rem, 86vw);
    padding: .38rem .42rem;
    border: 1px solid rgba(214,180,95,.28);
    border-radius: .5rem;
    overflow: visible;
}
.monche-site .monche-db-menu__submenu--wide { min-width: 14.5rem; }
.monche-site .monche-db-menu__submenu--scroll {
    max-height: min(31rem, 70vh);
    overflow-y: auto;
    overflow-x: hidden;
}
.monche-site .monche-db-menu__group:hover > .monche-db-menu__submenu,
.monche-site .monche-db-menu__group:focus-within > .monche-db-menu__submenu,
.monche-site .monche-db-menu__group.is-open > .monche-db-menu__submenu {
    display: block;
}
.monche-site .monche-db-menu__submenu a {
    display: block;
    padding: .39rem .5rem;
    border: 0 !important;
    border-radius: 0 !important;
    color: #aeb7c4 !important;
    white-space: nowrap;
}
.monche-site .monche-db-menu__submenu a:hover,
.monche-site .monche-db-menu__submenu a:focus-visible,
.monche-site .monche-db-menu__group--nested:hover > a,
.monche-site .monche-db-menu__group--nested:focus-within > a,
.monche-site .monche-db-menu__group--nested.is-open > a {
    color: #d6b45f !important;
    background: transparent !important;
}
.monche-site .monche-db-menu__group--nested > .monche-db-menu__submenu--nested {
    top: -.39rem;
    left: calc(100% + .2rem);
}
.monche-site .monche-db-menu__separator {
    display: block;
    height: 1px;
    margin: .28rem .35rem;
    background: rgba(214,180,95,.16);
}
.monche-site .monche-db-menu__search {
    display: flex !important;
    align-items: center !important;
    gap: .42rem !important;
    padding: .34rem .52rem !important;
    border: 1px solid rgba(214,180,95,.28) !important;
    border-radius: .5rem !important;
    background: rgba(5,9,14,.42) !important;
    margin-left: auto !important;
    flex: 0 1 26rem !important;
    width: min(26rem, 100%) !important;
    max-width: 100% !important;
    min-width: 18rem !important;
    position: relative !important;
    z-index: 1120;
}
.monche-site .monche-db-menu__search > i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    color: #d6b45f !important;
}
.monche-site .monche-db-menu__search input {
    width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: inherit !important;
    font: inherit !important;
}

@media (max-width: 991.98px) {
    .monche-site .monche-content-surface > .monche-db-menu {
        width: calc(100% + 28px);
        margin: -18px -14px .62rem;
        padding: .36rem .42rem .48rem;
        gap: .36rem;
    }
    .monche-site .monche-db-menu__nav {
        width: 100%;
    }
    .monche-site .monche-db-menu__link {
        padding: .34rem .48rem;
    }
    .monche-site .monche-db-menu__submenu {
        top: calc(100% + .12rem);
        left: 0;
        max-width: min(22rem, calc(100vw - 2rem));
    }
    .monche-site .monche-db-menu__group--nested > .monche-db-menu__submenu--nested {
        position: static;
        margin: .18rem 0 .25rem .55rem;
        max-width: calc(100% - .55rem);
        max-height: 18rem;
        box-shadow: none;
        border-color: rgba(214,180,95,.18);
    }
    .monche-site .monche-db-menu__group--nested:not(.is-open) > .monche-db-menu__submenu--nested {
        display: none;
    }
    .monche-site .monche-db-menu__search {
        margin-left: 0 !important;
        min-width: 0 !important;
        width: 100% !important;
        flex: 1 1 100% !important;
    }
}

.monche-site .monche-db-menu [data-monche-db-menu-toggle="true"] {
    display: flex;
    align-items: center;
    gap: .28rem;
}
.monche-site .monche-db-menu [data-monche-db-menu-toggle="true"]::after {
    display: inline-block;
    flex: 0 0 auto;
    margin-left: .08rem;
    color: currentColor;
    font-family: inherit;
    font-size: .72em;
    font-weight: 400;
    line-height: 1;
    opacity: .78;
    transform: translateY(-.02em);
    transition: transform .14s ease, opacity .14s ease;
}
.monche-site .monche-db-menu__nav > .monche-db-menu__group > [data-monche-db-menu-toggle="true"]::after { content: "⌄"; }
.monche-site .monche-db-menu__group--nested > [data-monche-db-menu-toggle="true"]::after {
    content: "›";
    margin-left: auto;
    padding-left: .5rem;
    font-size: .86em;
}
.monche-site .monche-db-menu__nav > .monche-db-menu__group.is-open > [data-monche-db-menu-toggle="true"]::after { transform: rotate(180deg); }
.monche-site .monche-db-menu__submenu--skills { min-width: 13.25rem; }
.monche-site .monche-db-menu__submenu--class { min-width: 13.5rem; }
.monche-site .monche-db-menu__class-node > a,
.monche-site .monche-db-menu__race-node > a { justify-content: space-between; }
@media (max-width: 991.98px) {
    .monche-site .monche-db-menu__group--nested > [data-monche-db-menu-toggle="true"]::after { content: "⌄"; font-size: .72em; }
    .monche-site .monche-db-menu__group--nested.is-open > [data-monche-db-menu-toggle="true"]::after { transform: rotate(180deg); }
    .monche-site .monche-db-menu__submenu--class { min-width: 0; max-height: min(22rem, 58vh); overflow-y: auto; overflow-x: hidden; }
}



.monche-site .monche-db-menu { position: relative !important; z-index: 5000 !important; overflow: visible !important; }
.monche-site .monche-db-menu__nav,
.monche-site .monche-db-menu__group { overflow: visible !important; }
.monche-site .monche-db-menu__submenu { z-index: 5100 !important; background: #05090e !important; opacity: 1 !important; box-shadow: 0 14px 36px rgba(0,0,0,.58) !important; }
.monche-site .monche-db-menu__submenu .monche-db-menu__submenu { z-index: 5110 !important; }


.monche-skill-page { min-width: 0; }

.monche-skill-panel { display: none; }
.monche-skill-panel.is-active { display: block; }
.monche-skill-route-note { max-width: 76ch; color: #cbd3dc; }
.monche-skill-enchant-label { color: #d7b35a; font-weight: 700; }
.monche-skill-chances { display: grid; grid-template-columns: repeat(5,minmax(44px,1fr)); gap: .3rem; min-width: 260px; }
.monche-skill-chances span { display: grid; place-items: center; border-radius: 5px; padding: .3rem; background: rgba(255,255,255,.05); }
.monche-skill-chances b { font-size: .72rem; color: #8ea0b3; }
.monche-skill-npc-references { margin-top: 1.25rem; }
.monche-skill-npc-references h2 { font-size: 1.15rem; }
.monche-skill-npc-references h2 span { color: #8ea0b3; font-weight: 500; }

@media (max-width: 991.98px) {
    .monche-site .monche-db-menu__nav { flex-direction: column !important; align-items: stretch !important; gap: 0 !important; }
    .monche-site .monche-db-menu__group { width: 100% !important; }
    .monche-site .monche-db-menu__group > .monche-db-menu__link{ width: 100% !important; justify-content: space-between !important; }
    .monche-site .monche-db-menu__submenu { position: static !important; inset: auto !important; width: 100% !important; min-width: 0 !important; margin: 0 !important; box-shadow: none !important; border-left: 1px solid rgba(207,177,112,.24) !important; border-top: 0 !important; border-radius: 0 0 6px 6px !important; }
    .monche-site .monche-db-menu__submenu .monche-db-menu__submenu { margin-left: .7rem !important; width: calc(100% - .7rem) !important; }
    
}
@media (max-width: 575.98px) {
    .monche-skill-chances { min-width: 220px; }
}

.monche-site .monche-db-menu[data-monche-b4r-menu="true"] [data-monche-db-menu-toggle="true"]::after {
    color: #d6b45f !important;
    font-size: .95rem !important;
    font-weight: 700 !important;
    margin-left: .4rem !important;
}
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__group--nested > [data-monche-db-menu-toggle="true"]::after {
    font-size: 1rem !important;
    padding-left: .45rem !important;
}
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__link,
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__submenu a,
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__link:hover,
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__link:focus-visible,
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__submenu a:hover,
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__submenu a:focus-visible {
    background: transparent !important;
}
@media (min-width: 992px) {
    .monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__nav > .monche-db-menu__group > .monche-db-menu__submenu::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -12px;
        height: 12px;
    }
    .monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__group--nested > .monche-db-menu__submenu--nested::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: -12px;
        width: 12px;
    }
}

.monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__search > i[data-monche-b4r-search-icon="true"] {
    position: absolute !important;
    left: .78rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2 !important;
    font-size: 1rem !important;
    color: #d6b45f !important;
    pointer-events: none !important;
}


.monche-skill-page.card {
    background: var(--bs-card-bg, #111820) !important;
    border-color: var(--bs-border-color, rgba(255,255,255,.12)) !important;
    border-radius: var(--bs-card-border-radius, .75rem) !important;
    overflow: visible !important;
}
.monche-skill-page > .card-body { padding: 1rem 1.05rem 1.15rem !important; }
/* MONCHE_DB_DETAIL_CARDS_V1_BEGIN: one responsive card system for database detail summaries. */
.monche-site .monche-db-detail-grid{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:14px !important;
    align-items:stretch !important;
    margin:0 !important;
    min-width:0 !important;
}
.monche-site .monche-db-detail-card.card{
    min-width:0 !important;
    width:100% !important;
    height:100% !important;
    background:linear-gradient(180deg,rgba(0,16,28,1),rgba(8,12,18,.99)),#0c1118 !important;
    border:1px solid rgba(208,173,107,.2) !important;
    border-radius:4px !important;
    box-shadow:inset 0 1px 0 hsla(0,0%,100%,.025),0 14px 34px rgba(0,0,0,.12) !important;
    color:#dbe3ec !important;
    overflow:hidden !important;
    position:relative !important;
    font-family:Elarion Text,Segoe UI,Arial,sans-serif !important;
}
.monche-site .monche-db-detail-card > .card-body{
    box-sizing:border-box !important;
    height:100% !important;
    padding:24px !important;
    background:transparent !important;
    color:inherit !important;
    min-width:0 !important;
}
.monche-site .monche-db-detail-card h1{
    margin:0 !important;
    color:#eef2f6 !important;
    font-family:Elarion Display,Arial,sans-serif !important;
    font-size:19px !important;
    font-weight:600 !important;
    line-height:1.35 !important;
}
.monche-site .monche-db-detail-card h2{
    margin:0 0 .72rem !important;
    color:#eef2f6 !important;
    font-family:Elarion Display,Arial,sans-serif !important;
    font-size:1rem !important;
    font-weight:600 !important;
    line-height:1.2 !important;
}
.monche-site .monche-db-detail-card .monche-skill-player-copy > span{
    color:#c89d50 !important;
    font-size:11px !important;
    font-weight:700 !important;
    letter-spacing:.14em !important;
    text-transform:uppercase !important;
}
.monche-site .monche-db-detail-card .monche-skill-player-copy p{
    color:#b5c0ce !important;
    font-size:15.5px !important;
    line-height:1.65 !important;
    margin:7px 0 0 !important;
}
@media (max-width:1199.98px){
    .monche-site .monche-db-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media (max-width:767.98px){
    .monche-site .monche-db-detail-grid{grid-template-columns:minmax(0,1fr) !important;}
    .monche-site .monche-db-detail-card > .card-body{padding:18px !important;}
}
/* MONCHE_DB_DETAIL_CARDS_V1_END */

.monche-skill-player-summary-head { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; align-items: center; gap: .55rem; margin-bottom: .8rem; }
.monche-skill-player-icon { width: 32px !important; height: 32px !important; object-fit: cover; border-radius: .25rem; border: 1px solid rgba(207,177,112,.3); }
.monche-skill-player-title { min-width: 0; display: grid; }
.monche-skill-player-title strong { font-size: 1rem; line-height: 1.2; }
.monche-skill-player-title small { color: #8ea0b3; }
.monche-skill-level-select-wrap { display: grid; gap: .18rem; font-size: .72rem; color: #8ea0b3; }
.monche-skill-level-select-wrap select { min-width: 8.3rem; padding: .35rem .48rem; border: 1px solid rgba(207,177,112,.28); border-radius: .35rem; background: #0b1118; color: #fff; }
.monche-skill-player-copy { margin-top: .7rem; }
.monche-skill-player-copy > span { display: block; margin-bottom: .22rem; color: #8ea0b3; font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; }
.monche-skill-player-copy p { margin: 0; line-height: 1.45; }
.monche-skill-player-list { display: grid; gap: 0; margin: 0; }
.monche-skill-player-list > div { display: grid; grid-template-columns: minmax(0,1fr) minmax(6rem,auto); gap: .7rem; padding: .43rem 0; border-bottom: 1px solid rgba(255,255,255,.07); align-items: start; }
.monche-skill-player-list > div:last-child { border-bottom: 0; }
.monche-skill-player-list dt { color: #8ea0b3; font-weight: 500; }
.monche-skill-player-list dd { margin: 0; text-align: right; overflow-wrap: anywhere; }

@media (max-width: 991.98px) {
    
    .monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__group--nested > [data-monche-db-menu-toggle="true"]::after {
        content: "⌄" !important;
        font-size: .95rem !important;
    }
}
@media (max-width: 767.98px) {
    .monche-skill-player-summary-head { grid-template-columns: 32px minmax(0,1fr); }
    .monche-skill-level-select-wrap { grid-column: 1 / -1; }
    .monche-skill-level-select-wrap select { width: 100%; min-width: 0; }
}
@media (max-width: 575.98px) {
    .monche-skill-page > .card-body { padding: .75rem !important; }
    .monche-skill-player-list > div { grid-template-columns: 1fr; gap: .15rem; }
    .monche-skill-player-list dd { text-align: left; }
}

/* Menu arrows: CSS chevrons align to the text baseline and do not depend on font glyph metrics. */
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] [data-monche-db-menu-toggle="true"] {
    display: inline-flex !important;
    align-items: center !important;
    gap: .28rem !important;
}
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] [data-monche-db-menu-toggle="true"]::after {
    content: "" !important;
    display: inline-block !important;
    box-sizing: border-box !important;
    width: .42rem !important;
    height: .42rem !important;
    flex: 0 0 .42rem !important;
    margin: 0 0 0 .18rem !important;
    padding: 0 !important;
    border: 0 !important;
    border-right: 2px solid #ddb956 !important;
    border-bottom: 2px solid #ddb956 !important;
    opacity: 1 !important;
    position: relative !important;
    top: -.06rem !important;
    line-height: 1 !important;
    transform: rotate(45deg) !important;
    transform-origin: 50% 50% !important;
}
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__nav > .monche-db-menu__group.is-open > [data-monche-db-menu-toggle="true"]::after {
    top: .04rem !important;
    transform: rotate(225deg) !important;
}
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__group--nested > [data-monche-db-menu-toggle="true"]::after {
    margin-left: auto !important;
    top: 0 !important;
    transform: rotate(-45deg) !important;
}

/* Search: restore the original horizontal length, reduce vertical thickness, and render an explicit SVG search icon. */
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__search {
    flex: 0 1 26rem !important;
    width: min(26rem, 100%) !important;
    max-width: 26rem !important;
    min-width: 20rem !important;
    min-height: 0 !important;
    gap: .45rem !important;
    padding: .22rem .52rem !important;
    overflow: visible !important;
}
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__search > .monche-db-menu__search-icon[data-monche-b4r-r2-search-icon="true"] {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 1.05rem !important;
    width: 1.05rem !important;
    height: 1.05rem !important;
    color: #ddb956 !important;
    opacity: 1 !important;
    pointer-events: none !important;
}
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__search > .monche-db-menu__search-icon svg {
    display: block !important;
    width: 1.05rem !important;
    height: 1.05rem !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
}
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__search input {
    height: 32px !important;
    min-height: 32px !important;
    padding: .2rem .05rem !important;
    line-height: 1.2 !important;
}

/* Skill page: explicitly use the site's dark surface instead of Bootstrap's light --bs-card-bg variable. */
.monche-site .monche-skill-page.card {
    background: #0c131b !important;
    border: 1px solid #27323e !important;
    color: #dbe3ec !important;
    box-shadow: none !important;
}
.monche-site .monche-skill-page > .card-body {
    background: transparent !important;
    color: inherit !important;
}
.monche-site .monche-skill-page h1,
.monche-site .monche-skill-page h2,
.monche-site .monche-skill-page strong,
.monche-site .monche-skill-page p,
.monche-site .monche-skill-page dt,
.monche-site .monche-skill-page dd {
    color: inherit;
}
.monche-site .monche-skill-player-title small,
.monche-site .monche-skill-player-copy > span,
.monche-site .monche-skill-player-list dt{
    color: #8f9baa !important;
}
.monche-site .monche-skill-level-select-wrap select {
    background: #080e14 !important;
    border-color: #34404c !important;
    color: #f0f3f7 !important;
}
.monche-site .monche-skill-player-list > div {
    border-bottom-color: #26313c !important;
}
.monche-site .monche-skill-page .table{
    --bs-table-bg: #101821 !important;
    --bs-table-color: #dbe3ec !important;
    --bs-table-border-color: #293440 !important;
    color: #dbe3ec !important;
}

@media (max-width: 991.98px) {
    .monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__search {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    .monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__group--nested > [data-monche-db-menu-toggle="true"]::after {
        top: -.06rem !important;
        transform: rotate(45deg) !important;
    }
    .monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__group--nested.is-open > [data-monche-db-menu-toggle="true"]::after {
        top: .04rem !important;
        transform: rotate(225deg) !important;
    }
}

/* Nested desktop arrows use the exact chevron construction as the accepted down arrow, rotated right and pushed to the row edge. */
@media (min-width: 992px) {
    .monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__group--nested > [data-monche-db-menu-toggle="true"] {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-width: 0 !important;
        gap: 1rem !important;
    }
    .monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__group--nested > [data-monche-db-menu-toggle="true"]::after {
        width: .42rem !important;
        height: .42rem !important;
        flex: 0 0 .42rem !important;
        margin: 0 .08rem 0 auto !important;
        top: 0 !important;
        border-right: 2px solid #ddb956 !important;
        border-bottom: 2px solid #ddb956 !important;
        transform: rotate(-45deg) !important;
    }
}

/* Skill hierarchy: three equal feature cards first, then one full-width explorer card. */
.monche-site .monche-skill-page--b4s {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #dbe3ec !important;
}
.monche-site .monche-skill-b4s-explorer.card {
    background: #0c131b !important;
    border: 1px solid rgba(207,177,112,.26) !important;
    border-radius: .42rem !important;
    color: #dbe3ec !important;
    box-shadow: none !important;
}
.monche-site .monche-skill-b4s-explorer {
    width: 100% !important;
    margin: 1rem 0 0 !important;
    overflow: visible !important;
}
.monche-site .monche-skill-b4s-explorer > .card-body {
    padding: 1rem !important;
    background: transparent !important;
}
.monche-site .monche-skill-b4s-tabs {
    margin: 0 0 .9rem !important;
    padding: 0 0 .75rem !important;
    border-bottom: 1px solid rgba(207,177,112,.22) !important;
}

.monche-site .monche-skill-b4s-explorer .monche-skill-panel {
    margin: 0 !important;
}
.monche-site .monche-skill-npc-references {
    margin-top: 1rem !important;
}

@media (max-width: 991.98px) {
    .monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__group--nested > [data-monche-db-menu-toggle="true"] {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 1rem !important;
    }
    .monche-site .monche-db-menu[data-monche-b4r-menu="true"] .monche-db-menu__group--nested > [data-monche-db-menu-toggle="true"]::after {
        margin-left: auto !important;
    }
}
@media (max-width: 767.98px) {
    .monche-site .monche-skill-b4s-explorer > .card-body {
        padding: .8rem !important;
    }
}

/* Visual source of truth: Elarion.club user-supplied home CSS. */

.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) {
    --monche-db-bg:#080b10;
    --monche-db-panel:#10151d;
    --monche-db-panel-2:#151b24;
    --monche-db-line:rgba(198,164,101,.18);
    --monche-db-line-soft:hsla(0,0%,100%,.07);
    --monche-db-gold:#d0ad6b;
    --monche-db-gold-bright:#efcf8c;
    --monche-db-ivory:#f4efe4;
    --monche-db-muted:#8d98a9;
    color:var(--monche-db-ivory) !important;
    overflow:visible !important;
}
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) .text-muted {color:#8d98a9 !important;}
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) h1,
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) h2,
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) h3 {color:#edf0f4 !important;font-family:Elarion Display,Arial,sans-serif !important;}

/* One canonical panel/card language across every database category. */
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) .card{
    background:linear-gradient(180deg,rgba(0,16,28,1),rgba(8,12,18,.99)),#0c1118 !important;
    border:1px solid rgba(197,157,86,.24) !important;
    border-radius:5px !important;
    box-shadow:0 24px 70px rgba(0,0,0,.20) !important;
    color:var(--monche-db-ivory,#f4efe4) !important;
}
.monche-site .monche-db-card-eyebrow {color:#c89d50 !important;display:block !important;font:700 12px/1.2 Elarion Text,Arial,sans-serif !important;letter-spacing:.16em !important;margin:0 0 9px !important;text-transform:uppercase !important;}
.monche-site .monche-db-detail-copy > span {color:#c89d50 !important;font-size:11px !important;font-weight:700 !important;letter-spacing:.14em !important;text-transform:uppercase !important;}
.monche-site .monche-db-detail-copy p,.monche-site .monche-client-description {color:#b5c0ce !important;font-size:15.5px !important;line-height:1.65 !important;}

.monche-site .monche-db-relation-card {margin-top:20px !important;padding:24px !important;}

/* Shared tables/forms for Skills, Items, NPC, Search and future database categories. */
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) .table,
.monche-site .monche-db-table {--bs-table-bg:transparent;--bs-table-color:#cbd1d9;--bs-table-border-color:#29313b;--bs-table-striped-bg:rgba(255,255,255,.018);--bs-table-striped-color:#cbd1d9;color:#cbd1d9 !important;margin-bottom:0 !important;}
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) .table > :not(caption) > * > * {background:transparent !important;border-color:#29313b !important;color:inherit !important;padding:.72rem .75rem;}
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) .table thead {background:rgba(4,8,13,.60) !important;}
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) .table thead th {color:#edf0f4 !important;font-size:12px !important;font-weight:700 !important;letter-spacing:.04em !important;}
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) .form-control,
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) .form-select,
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) select {background:#000a14 !important;border:1px solid #282f39 !important;border-radius:4px !important;color:#e8ebef !important;box-shadow:none !important;}
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) .form-control:focus,
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) .form-select:focus,
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) select:focus {background:rgba(7,11,16,.88) !important;border-color:rgba(213,172,94,.68) !important;box-shadow:0 0 0 3px rgba(205,161,79,.07) !important;outline:0 !important;}

/* Unified database search rows: icon / player-facing name / short meta. */
.monche-site .monche-db-search-sections {display:grid;gap:20px;margin-top:18px;}
.monche-site .monche-db-search-section {min-width:0;}
.monche-site .monche-db-search-section h2 {font-size:16px !important;margin:0 0 8px !important;}
.monche-site .monche-db-search-list {list-style:none;margin:0;padding:0;border:1px solid rgba(197,157,86,.22);border-radius:5px;overflow:hidden;background:rgba(4,8,13,.50);}
.monche-site .monche-db-search-row {align-items:center;border-bottom:1px solid #29313b;display:grid;gap:10px;grid-template-columns:28px minmax(0,1fr) auto;min-height:48px;padding:8px 12px;}
.monche-site .monche-db-search-row:last-child {border-bottom:0;}
.monche-site .monche-db-search-row__icon {border:1px solid rgba(208,173,107,.24);border-radius:3px;height:24px;object-fit:cover;width:24px;}
.monche-site .monche-db-search-row__name {color:#eef2f6 !important;font-family:Elarion Display,Arial,sans-serif;font-size:13px;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.monche-site .monche-db-search-row__meta {color:#cda45a;font-size:11px;font-weight:600;white-space:nowrap;}
.monche-site .monche-db-empty-state {padding:18px 0;margin:0;}

/* Menu/global hybrid dropdown uses exactly the same row geometry. */
.monche-site .monche-npc-hybrid-search {position:relative !important;}
.monche-site .monche-npc-hybrid-search input {padding-right:38px !important;}
.monche-site .monche-npc-hybrid-search input::-webkit-search-cancel-button {-webkit-appearance:none;appearance:none;display:none;}
.monche-site .monche-db-search-clear {align-items:center;background:transparent;border:0;color:#d8dee7;cursor:pointer;display:flex;font:700 20px/1 Arial,sans-serif;height:32px;justify-content:center;padding:0;position:absolute;right:6px;top:50%;transform:translateY(-50%);width:32px;z-index:4;}
.monche-site .monche-db-search-clear[hidden] {display:none !important;}
.monche-site .monche-db-search-clear:hover,.monche-site .monche-db-search-clear:focus-visible {color:#efcf8c;outline:0;}
.monche-site .monche-npc-hybrid-search__result {align-items:center !important;display:grid !important;gap:10px !important;grid-template-columns:24px minmax(0,1fr) auto !important;min-height:38px !important;padding:6px 10px !important;}
.monche-site .monche-npc-hybrid-search__icon {border-radius:3px !important;height:22px !important;object-fit:cover !important;width:22px !important;}
.monche-site .monche-npc-hybrid-search__name {color:#eef2f6 !important;font-family:Elarion Display,Arial,sans-serif !important;font-size:12px !important;font-weight:600 !important;}
.monche-site .monche-npc-hybrid-search__meta {color:#cda45a !important;font-size:10px !important;font-weight:600 !important;white-space:nowrap !important;}


/* Shared database tabs mirror the database-menu button language: neutral inactive, gold active. */
.monche-site .monche-db-tabs {align-items:center !important;border:0 !important;display:flex !important;flex-wrap:wrap !important;gap:8px !important;justify-content:flex-end !important;margin:0 !important;padding:0 !important;width:100% !important;}
.monche-site .monche-db-tab {align-items:center !important;background:#0d131b !important;border:1px solid #303844 !important;border-radius:4px !important;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.02) !important;color:#aeb7c5 !important;display:inline-flex !important;flex:0 0 227px !important;font-family:inherit !important;font-size:14px !important;font-weight:500 !important;gap:12px !important;height:42px !important;justify-content:flex-start !important;line-height:1.2 !important;margin:0 !important;padding:0 14px !important;text-align:left !important;transition:background .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease !important;width:227px !important;}
.monche-site .monche-db-tab strong {color:inherit !important;flex:1 1 auto !important;font:inherit !important;line-height:inherit !important;min-width:0 !important;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;}
.monche-site .monche-db-tab-count {align-items:center !important;background:rgba(255,255,255,.018) !important;border:1px solid #3a424d !important;border-radius:3px !important;color:#7e8997 !important;display:inline-flex !important;flex:0 0 24px !important;font:700 10px/1 Elarion Text,Arial,sans-serif !important;height:24px !important;justify-content:center !important;min-width:24px !important;padding:0 3px !important;}
.monche-site .monche-db-tab:hover,.monche-site .monche-db-tab:focus-visible {background:#101821 !important;border-color:rgba(208,173,107,.30) !important;color:#d6b45f !important;outline:0 !important;}
.monche-site .monche-db-tab.is-active {background:#11191f !important;border-color:rgba(198,164,101,.46) !important;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.025) !important;color:#d6b45f !important;outline:0 !important;}
.monche-site .monche-db-tab.is-active .monche-db-tab-count {background:rgba(208,173,107,.055) !important;border-color:rgba(208,173,107,.44) !important;color:#d6b45f !important;}
.monche-site .monche-skill-b4t-explorer-head {align-items:flex-end !important;display:grid !important;gap:16px !important;grid-template-columns:minmax(240px,.85fr) minmax(0,1.4fr) !important;padding-bottom:14px !important;}
.monche-site .monche-skill-b4t-explorer-copy h2 {font-size:20px !important;margin:0 0 6px !important;}
.monche-site .monche-skill-b4t-explorer-copy p {color:#b4bdca !important;font-size:14px !important;line-height:1.55 !important;margin:0 !important;}

/* Class learning progression: class heading first, then player-level columns with NPC-sized skill icons. */
.monche-site .monche-db-class-progression-list {display:grid !important;gap:14px !important;min-width:0 !important;}
.monche-site .monche-db-class-progression {min-width:0 !important;padding:14px !important;}
.monche-site .monche-db-class-progression__header {align-items:center !important;display:flex !important;margin:0 0 10px !important;min-height:24px !important;}
.monche-site .monche-db-class-progression__title {color:#eef2f6 !important;font-family:Elarion Display,Arial,sans-serif !important;font-size:16px !important;font-weight:600 !important;line-height:1.25 !important;margin:0 !important;}
.monche-site .monche-db-progression-rail {align-items:flex-start !important;display:flex !important;gap:5px !important;max-width:100% !important;min-width:0 !important;overflow-x:auto !important;overflow-y:hidden !important;padding:0 0 4px !important;scrollbar-width:thin;}
.monche-site .monche-db-progression-level-group {background:rgba(255,255,255,.018) !important;border:1px solid rgba(255,255,255,.035) !important;border-radius:3px !important;display:flex !important;flex:0 0 42px !important;flex-direction:column !important;gap:4px !important;padding:4px !important;}
.monche-site .monche-db-progression-level-label {color:#9aa4b1 !important;font:700 10px/1.2 Elarion Text,Arial,sans-serif !important;min-height:14px !important;text-align:center !important;white-space:nowrap !important;}
.monche-site .monche-db-progression-level-group.is-active .monche-db-progression-level-label {color:#efcf8c !important;}
.monche-site .monche-db-progression-skill-stack {display:grid !important;gap:4px !important;justify-items:center !important;}
.monche-site .monche-db-progression-tile {align-items:center !important;background:#05070c !important;border:1px solid rgba(214,180,95,.22) !important;border-radius:3px !important;box-sizing:border-box !important;color:#e5e8ed !important;display:flex !important;height:36px !important;justify-content:center !important;padding:1px !important;position:relative !important;text-decoration:none !important;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease !important;width:36px !important;}
.monche-site .monche-db-progression-icon-frame {height:32px !important;position:relative !important;width:32px !important;}
.monche-site .monche-db-progression-icon-frame img {border-radius:2px !important;display:block !important;filter:grayscale(.72) brightness(.40) saturate(.58) !important;height:32px !important;opacity:.62 !important;transition:filter .14s ease,opacity .14s ease !important;width:32px !important;}
.monche-site .monche-db-progression-icon-frame strong {background:rgba(0,0,0,.62) !important;border-radius:2px !important;color:#eef2f6 !important;font:700 11px/1 Elarion Text,Arial,sans-serif !important;left:50% !important;min-width:17px !important;padding:2px 4px !important;position:absolute !important;text-align:center !important;text-shadow:0 1px 2px #000 !important;top:50% !important;transform:translate(-50%,-50%) !important;}
.monche-site .monche-db-progression-tile:hover,.monche-site .monche-db-progression-tile:focus-visible {border-color:rgba(214,180,95,.75) !important;box-shadow:0 0 0 .12rem rgba(214,180,95,.18) !important;outline:0 !important;transform:translateY(-1px) !important;}
.monche-site .monche-db-progression-tile:hover img,.monche-site .monche-db-progression-tile:focus-visible img {filter:grayscale(.25) brightness(.72) saturate(.85) !important;opacity:.86 !important;}
.monche-site .monche-db-progression-tile.is-active {background:rgba(208,173,107,.08) !important;border-color:rgba(239,207,140,.72) !important;box-shadow:0 0 0 .12rem rgba(214,180,95,.18) !important;}
.monche-site .monche-db-progression-tile.is-active img {filter:none !important;opacity:1 !important;}
.monche-site .monche-db-progression-tile.is-active .monche-db-progression-icon-frame strong {background:rgba(8,11,16,.66) !important;color:#fff1cf !important;}

/* Existing Skill top cards are mapped into the shared Elarion card system. */
.monche-site .monche-skill-player-title h1 {color:#eef2f6 !important;font-family:Elarion Display,Arial,sans-serif !important;font-size:19px !important;font-weight:600 !important;line-height:1.35 !important;}
.monche-site .monche-skill-player-title small {color:#adb7c5 !important;font-size:14px !important;}
.monche-site .monche-skill-b4t-explorer,.monche-site .monche-skill-npc-references--b4t {background:linear-gradient(180deg,rgba(0,16,28,1),rgba(8,12,18,.99)),#0c1118 !important;border:1px solid rgba(197,157,86,.24) !important;border-radius:5px !important;box-shadow:0 24px 70px rgba(0,0,0,.20) !important;}
.monche-site .monche-skill-b4t-explorer {margin-top:20px !important;}
.monche-site .monche-skill-b4t-explorer > .card-body,.monche-site .monche-skill-npc-references--b4t > .card-body {padding:24px !important;}
.monche-site .monche-skill-b4t-explorer-content {padding-top:14px !important;}
.monche-site .monche-skill-b4t-explorer .monche-skill-panel {margin:0 !important;}

.monche-site .gx-page-title .gx-breadcrumb ul li,
.monche-site .gx-page-title .gx-breadcrumb ul li > *,
.monche-site .gx-page-title .gx-breadcrumb ul li a,
.monche-site .gx-page-title .gx-breadcrumb ul li a > * {
    color:#aeb8c5 !important;
    font-family:Elarion Text,Segoe UI,Arial,sans-serif !important;
    font-size:13px !important;
    font-style:normal !important;
    font-weight:600 !important;
    letter-spacing:0 !important;
    line-height:1.35 !important;
    text-transform:none !important;
}
.monche-site .gx-page-title .gx-breadcrumb ul li:last-child,
.monche-site .gx-page-title .gx-breadcrumb ul li:last-child > *,
.monche-site .gx-page-title .gx-breadcrumb ul li:last-child a,
.monche-site .gx-page-title .gx-breadcrumb ul li:last-child a > * {
    color:#c8d0db !important;
}
.monche-site .monche-skill-enchant-table {
    table-layout:auto !important;
    width:100% !important;
}
.monche-site .monche-skill-enchant-table th:nth-child(1),
.monche-site .monche-skill-enchant-table td:nth-child(1) {min-width:170px !important;width:170px !important;}
.monche-site .monche-skill-enchant-table th:nth-child(2),
.monche-site .monche-skill-enchant-table td:nth-child(2) {min-width:280px !important;width:auto !important;}
.monche-site .monche-skill-enchant-table th:nth-child(3),
.monche-site .monche-skill-enchant-table td:nth-child(3) {min-width:220px !important;width:220px !important;}
.monche-site .monche-skill-enchant-table th:nth-child(4),
.monche-site .monche-skill-enchant-table td:nth-child(4) {min-width:270px !important;width:270px !important;}
.monche-site .monche-skill-enchant-identity {
    align-items:flex-start !important;
    display:flex !important;
    gap:10px !important;
    min-width:0 !important;
}
.monche-site .monche-skill-enchant-identity__icon {
    border-radius:3px !important;
    flex:0 0 32px !important;
    height:32px !important;
    object-fit:contain !important;
    width:32px !important;
}
.monche-site .monche-skill-enchant-identity__copy {
    line-height:1.35 !important;
    min-width:0 !important;
}
.monche-site .monche-skill-enchant-identity__copy strong {
    color:#f4efe4 !important;
    display:block !important;
    font-size:16px !important;
    font-weight:600 !important;
    line-height:1.25 !important;
}
.monche-site .monche-skill-enchant-cost-values {
    display:grid !important;
    gap:2px !important;
}
.monche-site .monche-skill-enchant-source-item {
    align-items:center !important;
    color:#d0ad6b !important;
    display:flex !important;
    gap:8px !important;
    line-height:1.25 !important;
    margin-top:8px !important;
    max-width:100% !important;
    text-decoration:none !important;
    width:max-content !important;
}
.monche-site .monche-skill-enchant-source-item:hover,
.monche-site .monche-skill-enchant-source-item:focus-visible {
    color:#efcf8c !important;
    text-decoration:underline !important;
}
.monche-site .monche-skill-enchant-source-item img {
    border-radius:2px !important;
    flex:0 0 28px !important;
    height:28px !important;
    object-fit:contain !important;
    order:0 !important;
    width:28px !important;
}
.monche-site .monche-skill-enchant-source-item span {
    min-width:0 !important;
    order:1 !important;
    overflow-wrap:anywhere !important;
}
.monche-site .monche-skill-route-note {
    color:#b7c0cc !important;
    line-height:1.55 !important;
}
@media (max-width:767.98px) {
    .monche-site .monche-skill-enchant-table-wrap {
        overflow:visible !important;
        width:100% !important;
    }
    .monche-site .monche-skill-enchant-table,
    .monche-site .monche-skill-enchant-table tbody {
        display:block !important;
        width:100% !important;
    }
    .monche-site .monche-skill-enchant-table thead {
        display:none !important;
    }
    .monche-site .monche-skill-enchant-table tbody {
        display:grid !important;
        gap:10px !important;
    }
    .monche-site .monche-skill-enchant-table tr[data-monche-enchant-row="true"] {
        background:linear-gradient(180deg,rgba(0,16,28,.94),rgba(8,12,18,.98)),#0c1118 !important;
        border:1px solid rgba(208,173,107,.2) !important;
        border-radius:4px !important;
        box-shadow:inset 0 1px 0 hsla(0,0%,100%,.025),0 10px 26px rgba(0,0,0,.12) !important;
        display:block !important;
        overflow:hidden !important;
        width:100% !important;
    }
    .monche-site .monche-skill-enchant-table tr[data-monche-enchant-row="true"] > td {
        border:0 !important;
        box-sizing:border-box !important;
        display:block !important;
        min-width:0 !important;
        padding:10px 12px !important;
        width:100% !important;
    }
    .monche-site .monche-skill-enchant-table tr[data-monche-enchant-row="true"] > td + td {
        border-top:1px solid rgba(255,255,255,.07) !important;
    }
    .monche-site .monche-skill-enchant-table tr[data-monche-enchant-row="true"] > td[data-label]::before {
        color:#8d98a9 !important;
        content:attr(data-label) !important;
        display:block !important;
        font-size:11px !important;
        font-weight:600 !important;
        letter-spacing:.02em !important;
        margin-bottom:6px !important;
        text-transform:uppercase !important;
    }
    .monche-site .monche-skill-enchant-table tr[data-monche-enchant-row="true"] > td:first-child::before {
        display:none !important;
    }
    .monche-site .monche-skill-enchant-identity {
        align-items:center !important;
    }
    .monche-site .monche-skill-enchant-identity__icon {
        flex-basis:36px !important;
        height:36px !important;
        width:36px !important;
    }
    .monche-site .monche-skill-enchant-source-item {
        width:100% !important;
    }
    .monche-site .monche-skill-chances {
        display:grid !important;
        gap:5px !important;
        grid-template-columns:repeat(5,minmax(0,1fr)) !important;
        width:100% !important;
    }
    .monche-site .monche-skill-chances > span {
        min-width:0 !important;
        padding:6px 2px !important;
        text-align:center !important;
    }
}
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] {
    border-bottom:1px solid rgba(197,157,86,.22) !important;
    box-sizing:border-box !important;
}
.monche-site .monche-db-menu__mobile-toggle {display:none !important;}
.monche-site .monche-db-menu__search.monche-npc-hybrid-search {
    flex:0 1 340px !important;
    margin-block:10px !important;
    max-width:340px !important;
    min-width:240px !important;
    width:340px !important;
}
.monche-site .monche-db-menu__search.monche-npc-hybrid-search input {height:40px !important;min-height:40px !important;}
.monche-site .monche-db-menu__nav {min-width:0 !important;}
.monche-site .monche-db-class-progression {
    background:linear-gradient(180deg,rgba(0,16,28,1),rgba(8,12,18,.99)),#0c1118 !important;
    border:1px solid rgba(208,173,107,.2) !important;
    border-radius:4px !important;
    box-shadow:inset 0 1px 0 hsla(0,0%,100%,.025),0 14px 34px rgba(0,0,0,.12) !important;
}
@media (min-width:992px) {
  .elarion-site .gx-header .gx-header-items {min-width:0 !important;position:relative !important;}
  .elarion-site .gx-header .gx-header-items .left-header {flex:1 1 auto !important;min-width:0 !important;}
  .elarion-site .gx-header .right-header {background:#040c16 !important;flex:0 0 auto !important;isolation:isolate;position:relative !important;z-index:80 !important;}
  .elarion-site .gx-header .right-header > * {position:relative !important;z-index:81 !important;}
  .elarion-site .gx-header .monche-db-menu {max-width:100% !important;min-width:0 !important;}
  .elarion-site .gx-header .monche-db-menu__nav {flex:1 1 auto !important;min-width:0 !important;}
}
@media (max-width:1199.98px) and (min-width:992px) {
  .monche-site .monche-db-menu__search.monche-npc-hybrid-search {flex-basis:280px !important;max-width:280px !important;min-width:220px !important;width:280px !important;}
}
@media (max-width:1400px) {
  .monche-site .monche-db-menu[data-monche-b4r-menu="true"] {
    align-items:center !important;
    box-sizing:border-box !important;
    display:grid !important;
    gap:0 8px !important;
    grid-template-columns:40px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    justify-self:stretch !important;
    margin:0 !important;
    max-width:none !important;
    min-width:0 !important;
    overflow:visible !important;
    padding:8px 0 !important;
    width:100% !important;
  }
  .monche-site .monche-db-menu__mobile-toggle {
    align-items:center !important;
    appearance:none !important;
    background:#000a14 !important;
    border:1px solid rgba(198,164,101,.34) !important;
    border-radius:4px !important;
    box-shadow:none !important;
    color:#d6b45f !important;
    cursor:pointer !important;
    display:inline-flex !important;
    grid-column:1 !important;
    grid-row:1 !important;
    height:40px !important;
    justify-content:center !important;
    margin:0 !important;
    padding:0 !important;
    width:40px !important;
  }
  .monche-site .monche-db-menu__mobile-toggle:hover,
  .monche-site .monche-db-menu__mobile-toggle:focus-visible,
  .monche-site .monche-db-menu.is-mobile-open .monche-db-menu__mobile-toggle {background:rgba(208,173,107,.07) !important;border-color:rgba(208,173,107,.56) !important;outline:0 !important;}
  .monche-site .monche-db-menu__mobile-toggle-lines,
  .monche-site .monche-db-menu__mobile-toggle-lines::before,
  .monche-site .monche-db-menu__mobile-toggle-lines::after {background:currentColor !important;border-radius:999px !important;content:"";display:block !important;height:2px !important;position:relative !important;width:17px !important;}
  .monche-site .monche-db-menu__mobile-toggle-lines::before {position:absolute !important;top:-5px !important;}
  .monche-site .monche-db-menu__mobile-toggle-lines::after {position:absolute !important;top:5px !important;}
  .monche-site .monche-db-menu__search.monche-npc-hybrid-search {
    align-self:stretch !important;
    box-sizing:border-box !important;
    flex:0 0 auto !important;
    grid-column:2 !important;
    grid-row:1 !important;
    justify-self:stretch !important;
    margin:0 !important;
    max-width:none !important;
    min-width:0 !important;
    width:100% !important;
  }
  .monche-site .monche-db-menu__search.monche-npc-hybrid-search input {height:40px !important;min-height:40px !important;width:100% !important;}
  .monche-site .monche-db-menu__nav {align-items:stretch !important;box-sizing:border-box !important;display:none !important;flex-direction:column !important;gap:0 !important;grid-column:1 / -1 !important;grid-row:2 !important;margin-top:8px !important;min-width:0 !important;padding:0 10px !important;width:100% !important;}
  .monche-site .monche-db-menu.is-mobile-open .monche-db-menu__nav {display:flex !important;}
  .monche-site .monche-db-menu__group {display:block !important;min-width:0 !important;width:100% !important;}
  .monche-site .monche-db-menu__group > .monche-db-menu__link, .monche-site .monche-db-menu__nav > .monche-db-menu__link{align-items:center !important;box-sizing:border-box !important;display:flex !important;min-height:36px !important;padding:8px 6px !important;width:100% !important;}
  .monche-site .monche-db-menu[data-monche-b4r-menu="true"].monche-db-menu .monche-db-menu__nav .monche-db-menu__group > [data-monche-db-menu-toggle="true"]::before,
  .monche-site .monche-db-menu[data-monche-b4r-menu="true"].monche-db-menu .monche-db-menu__nav .monche-db-menu__group > [data-monche-db-menu-toggle="true"]::after {border:0 !important;content:none !important;display:none !important;height:0 !important;margin:0 !important;width:0 !important;}
  .monche-site .monche-db-menu__mobile-chevron {border-bottom:2px solid #d6b45f !important;border-right:2px solid #d6b45f !important;box-sizing:border-box !important;display:inline-block !important;flex:0 0 7px !important;height:7px !important;margin:0 2px 0 auto !important;pointer-events:none !important;transform:rotate(45deg) !important;transition:transform .14s ease !important;width:7px !important;}
  .monche-site .monche-db-menu__group.is-open > [data-monche-db-menu-toggle="true"] > .monche-db-menu__mobile-chevron {transform:rotate(225deg) !important;}
  .monche-site .monche-db-menu__submenu {background:rgba(0,0,0,.18) !important;border:0 !important;border-radius:4px !important;box-shadow:none !important;box-sizing:border-box !important;inset:auto !important;margin:2px 0 7px !important;max-height:none !important;max-width:none !important;min-width:0 !important;padding:4px 6px !important;position:static !important;transform:none !important;width:100% !important;}
  .monche-site .monche-db-menu__submenu--nested {background:transparent !important;border:0 !important;margin:1px 0 3px !important;padding:0 4px 0 12px !important;}
  .monche-site .monche-db-menu__submenu a,
  .monche-site .monche-db-menu__submenu [data-monche-db-menu-toggle="true"] {border:0 !important;box-sizing:border-box !important;min-height:32px !important;padding:7px 8px !important;width:100% !important;}
  .monche-site .monche-db-menu__separator {display:none !important;}
}
@media (max-width:767.98px) {
  .monche-site .monche-skill-player-list > div{align-items:baseline !important;display:grid !important;gap:8px !important;grid-template-columns:minmax(0,1fr) auto !important;}
  .monche-site .monche-skill-player-list dt{margin:0 !important;min-width:0 !important;}
  .monche-site .monche-skill-player-list dt::after{content:":";}
  .monche-site .monche-skill-player-list dd{margin:0 !important;text-align:right !important;white-space:nowrap !important;}
}

@media (max-width:1199.98px) {
  .monche-site .monche-skill-b4t-explorer-head {grid-template-columns:1fr !important;align-items:start !important;}
}
@media (max-width:767.98px) {
  .monche-site .monche-db-search-row {grid-template-columns:28px minmax(0,1fr);}
  .monche-site .monche-db-search-row__meta {grid-column:2;}
  .monche-site .monche-db-tabs {justify-content:stretch !important;}
  .monche-site .monche-db-tab {flex:1 1 100% !important;height:40px !important;padding:0 12px !important;width:100% !important;}
  .monche-site .monche-db-tab strong {font-size:12px !important;}
  .monche-site .monche-db-class-progression {padding:10px !important;}
  .monche-site .monche-db-progression-rail {margin-right:-4px !important;padding-right:4px !important;}
  .monche-site .monche-skill-b4t-explorer > .card-body,.monche-site .monche-skill-npc-references--b4t > .card-body {padding:18px !important;}
}

/* /skills index only: tabbed skillacquire catalogue. */
.monche-site .monche-skills-index {
    overflow: visible;
    padding-bottom: 1.25rem;
    position: relative;
}

.monche-site .monche-skills-index > h1 {
    margin-bottom: 1rem;
}

.monche-site .monche-skills-index-tabs {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: .42rem;
    margin: 0 0 .8rem;
    overflow: visible;
    position: relative;
    z-index: 10;
}

.monche-site .monche-db-nav-tab {
    align-items: center;
    background: #000a14;
    border: 1px solid rgba(208, 173, 107, .3);
    border-radius: 4px;
    color: #b9c1cc;
    display: inline-flex;
    font-size: .82rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1.15;
    min-height: 2.35rem;
    padding: .55rem .8rem;
    text-decoration: none;
    transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}

.monche-site .monche-db-nav-tab:hover,
.monche-site .monche-db-nav-tab:focus-visible {
    background: rgba(208, 173, 107, .07);
    border-color: rgba(208, 173, 107, .6);
    color: #f4f1e9;
    outline: 0;
}

.monche-site .monche-db-nav-tab.is-active {
    background: rgba(208, 173, 107, .12);
    border-color: #d6b45f;
    color: #f4f1e9;
}

.monche-site .monche-skills-index-panel {
    background: #00101a;
    border: 1px solid rgba(208, 173, 107, .28);
    border-radius: 5px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .018);
    overflow: visible;
    padding: 1rem 1.15rem 1.15rem;
    position: relative;
    z-index: 20;
}

.monche-site .monche-skills-index-panel__header {
    align-items: center;
    display: flex;
    margin: 0 0 .8rem;
    min-height: 1.5rem;
}

.monche-site .monche-skills-index-panel__header h2 {
    color: #e8a94b;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .075em;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
}

.monche-site .monche-skills-index .monche-skills-index-grid {
    align-items: start;
    display: grid;
    gap: .55rem;
    grid-template-columns: repeat(auto-fill, 2.3rem);
    overflow: visible;
    padding: 0;
    position: relative;
}

.monche-site .monche-skills-index .monche-skills-index-skill {
    margin: 0;
    position: relative !important;
    z-index: 30 !important;
}

.monche-site .monche-skills-index .monche-skills-index-skill:hover,
.monche-site .monche-skills-index .monche-skills-index-skill:focus,
.monche-site .monche-skills-index .monche-skills-index-skill:focus-visible {
    z-index: 6020 !important;
}

/* /skills popovers must always paint above the panel/tabs instead of below the next row/card. */
.monche-site .monche-skills-index .monche-npc-skill-popover {
    z-index: 6000 !important;
}

@media (max-width: 991.98px) {
    .monche-site .monche-db-nav-tab {
        flex: 1 1 auto;
    }

    .monche-site .monche-skills-index-panel {
        padding: .9rem;
    }

    .monche-site .monche-skills-index .monche-skills-index-grid {
        gap: .5rem;
        grid-template-columns: repeat(auto-fill, 2.15rem);
    }
}

@media (max-width: 575.98px) {
    .monche-site .monche-skills-index-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .monche-site .monche-db-nav-tab {
        width: 100%;
    }
}

/* /skills?race=... only: race overview, base stats and level-1 auto-get skills. */
.monche-site .monche-skills-race-overview .monche-skills-race-intro {
    background: #00101a;
    border: 1px solid rgba(208, 173, 107, .24);
    border-radius: 5px;
    margin: 0 0 .8rem;
    padding: 1rem 1.15rem;
}

.monche-site .monche-skills-race-overview .monche-skills-race-intro p {
    color: #b9c1cc;
    line-height: 1.65;
    margin: 0;
}

.monche-site .monche-skills-race-archetypes {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.monche-site .monche-skills-race-archetype {
    background: #00101a;
    border: 1px solid rgba(208, 173, 107, .28);
    border-radius: 5px;
    overflow: visible;
    padding: 1rem 1.15rem 1.15rem;
    position: relative;
}

.monche-site .monche-skills-race-archetype__header {
    border-bottom: 1px solid rgba(208, 173, 107, .14);
    margin: 0 0 .85rem;
    padding: 0 0 .7rem;
}

.monche-site .monche-skills-race-archetype__header h2 {
    color: #e8a94b;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.monche-site .monche-skills-race-section-title {
    color: #d6b45f;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .07em;
    margin: .15rem 0 .55rem;
    text-transform: uppercase;
}

.monche-site .monche-skills-race-stats {
    display: grid;
    gap: .45rem;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 0 0 1rem;
}

.monche-site .monche-skills-race-stats > div {
    background: rgba(255, 255, 255, .018);
    border: 1px solid rgba(208, 173, 107, .16);
    border-radius: 4px;
    min-width: 0;
    padding: .5rem .35rem;
    text-align: center;
}

.monche-site .monche-skills-race-stats dt {
    color: #7f8995;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .045em;
    margin: 0 0 .15rem;
}

.monche-site .monche-skills-race-stats dd {
    color: #f4f1e9;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.monche-site .monche-skills-race-auto-note {
    color: #7f8995;
    font-size: .76rem;
    line-height: 1.45;
    margin: -.1rem 0 .65rem;
}

.monche-site .monche-skills-race-starter-skills {
    min-height: 2.3rem;
}

.monche-site .monche-skills-race-overview .monche-skills-index-skill:hover,
.monche-site .monche-skills-race-overview .monche-skills-index-skill:focus,
.monche-site .monche-skills-race-overview .monche-skills-index-skill:focus-visible {
    z-index: 6020 !important;
}

.monche-site .monche-skills-race-overview .monche-npc-skill-popover {
    z-index: 6000 !important;
}

@media (max-width: 991.98px) {
    .monche-site .monche-skills-race-archetypes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .monche-site .monche-skills-race-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* /skills?class=... only: V7.3 profession cards, contained hover and level rows. */
.monche-site .monche-skills-profession {
    overflow: visible;
    position: relative;
}

.monche-site .monche-skills-profession-top {
    align-items: stretch;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 14px;
    overflow: visible;
    position: relative;
}

.monche-site .monche-skills-profession-card {
    min-width: 0;
    overflow: visible;
    padding: 24px;
    position: relative;
}

.monche-site .monche-skills-profession-hero {
    z-index: 15;
}

.monche-site .monche-skills-profession-types {
    z-index: 40;
}

.monche-site .monche-skills-profession-levels {
    z-index: 20;
}

.monche-site .monche-skills-profession-card__header {
    margin: 0 0 18px;
}

.monche-site .monche-skills-profession-kicker {
    color: #c89d50;
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.2;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.monche-site .monche-skills-profession-card__header h2 {
    color: #eef2f6;
    font-family: Elarion Display, Arial, sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}

.monche-site .monche-skills-profession-title {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .075);
    display: flex;
    gap: 13px;
    margin: 0 0 14px;
    padding: 0 0 14px;
}

.monche-site .monche-skills-profession-title h1 {
    color: #eef2f6;
    font-family: Elarion Display, Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}

.monche-site .monche-skills-profession-icon {
    align-items: center;
    background: #071019;
    border: 1px solid rgba(207, 177, 112, .34);
    border-radius: 4px;
    display: inline-flex;
    flex: 0 0 54px;
    height: 54px;
    justify-content: center;
    overflow: hidden;
    width: 54px;
}

.monche-site .monche-skills-profession-icon img {
    display: block;
    height: 100%;
    image-rendering: auto;
    object-fit: contain;
    width: 100%;
}

.monche-site .monche-skills-profession-meta {
    display: grid;
    gap: 0 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.monche-site .monche-skills-profession-meta > div {
    border-bottom: 1px solid rgba(255, 255, 255, .075);
    min-width: 0;
    padding: 10px 0;
}

.monche-site .monche-skills-profession-meta > div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.monche-site .monche-skills-profession-meta dt {
    color: #8ea0b3;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 4px;
}

.monche-site .monche-skills-profession-meta dd {
    color: #dce3eb;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    overflow-wrap: anywhere;
}

.monche-site .monche-skills-profession-type-groups,
.monche-site .monche-skills-profession-level-list {
    overflow: visible;
    position: relative;
}

.monche-site .monche-skills-profession-type-group {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: 9rem minmax(0, 1fr);
    min-width: 0;
    overflow: visible;
    position: relative;
}



.monche-site .monche-skills-profession-type-group h3,
.monche-site .monche-skills-profession-level-row h3 {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.monche-site .monche-skills-profession-type-group h3 {
    color: #aeb8c5;
}

.monche-site .monche-skills-profession-type-skills,
.monche-site .monche-skills-profession-level-skills {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
    overflow: visible;
    position: relative;
}

.monche-site .monche-skills-profession-level-row {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    min-width: 0;
    overflow: visible;
    position: relative;
}

.monche-site .monche-skills-profession-level-row h3 {
    color: #9ba9b8;
    white-space: nowrap;
}

.monche-site .monche-skills-profession-level-row h3 span {
    color: #d6b45f;
    font-size: 13px;
}

.monche-site .monche-skills-profession-level-skill {
    margin: 0;
    position: relative !important;
    z-index: 30 !important;
}

.monche-site .monche-skills-profession .monche-skills-index-skill:hover,
.monche-site .monche-skills-profession .monche-skills-index-skill:focus,
.monche-site .monche-skills-profession .monche-skills-index-skill:focus-visible {
    z-index: 7020 !important;
}

.monche-site .monche-skills-profession-skill-level-badge {
    align-items: center;
    background: rgba(0, 8, 14, .92);
    border: 1px solid rgba(214, 180, 95, .42);
    border-radius: 3px;
    bottom: -2px;
    color: #f4f1e9;
    display: inline-flex;
    font-size: .58rem;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    min-height: 1rem;
    min-width: 1rem;
    padding: 0 .16rem;
    pointer-events: none;
    position: absolute;
    right: -2px;
    z-index: 4;
}

/* V7.4: profession popovers stay attached to the icon and are clamped inside the active card. */
.monche-site .monche-skills-profession .monche-npc-skill-popover {
    bottom: auto !important;
    left: var(--monche-prof-popover-left, 0) !important;
    max-width: var(--monche-prof-popover-max-width, min(25rem, calc(100vw - 2rem))) !important;
    min-width: min(18rem, var(--monche-prof-popover-max-width, 18rem)) !important;
    position: absolute !important;
    top: var(--monche-prof-popover-top, calc(100% + .5rem)) !important;
    transform: none !important;
    width: max-content;
}

.monche-site .monche-skills-profession .monche-npc-skill-icon-link--popover:hover .monche-npc-skill-popover,
.monche-site .monche-skills-profession .monche-npc-skill-icon-link--popover:focus-visible .monche-npc-skill-popover,
.monche-site .monche-skills-profession .monche-npc-skill-icon-link--popover:focus .monche-npc-skill-popover {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

@media (max-width: 991.98px) {
    
}

@media (max-width: 767.98px) {
    .monche-site .monche-skills-profession-card {
        padding: 18px;
    }

    .monche-site .monche-skills-profession-meta {
        grid-template-columns: 1fr;
    }

    .monche-site .monche-skills-profession-meta > div:nth-last-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, .075);
    }

    .monche-site .monche-skills-profession-meta > div:last-child {
        border-bottom: 0;
    }

    .monche-site .monche-skills-profession-type-group {
        align-items: start;
        gap: 8px;
        grid-template-columns: 1fr;
    }

    .monche-site .monche-skills-profession-level-row {
        gap: 8px;
        grid-template-columns: 6rem minmax(0, 1fr);
    }
}

/* V7.4 database typography: align readable database text with the accepted skill detail page scale. */
.monche-site .monche-content-surface > :not(.monche-db-menu) {
    font-size: 1rem;
    line-height: 1.5;
}

.monche-site .monche-content-surface > :not(.monche-db-menu) :where(p, li, dt, dd, td, th, label, .text-muted) {
    font-size: 1rem;
    line-height: 1.5;
}

.monche-site .monche-content-surface > :not(.monche-db-menu) .table thead th {
    font-size: 1rem;
}

.monche-site .monche-skills-profession-meta dt,
.monche-site .monche-skills-profession-meta dd,
.monche-site .monche-skills-profession-type-group h3,
.monche-site .monche-skills-profession-level-row h3 {
    font-size: 1rem;
    line-height: 1.5;
}

.monche-site .monche-skills-profession .monche-npc-skill-popover-title {
    font-size: 1rem;
}

.monche-site .monche-skills-profession .monche-npc-skill-popover-level {
    font-size: .875rem;
}

.monche-site .monche-skills-profession .monche-npc-skill-popover-description {
    font-size: .9375rem;
    line-height: 1.5;
}



/* V7.5 profession polish: site header above overlays, skill-detail card rhythm, flat skill rows. */
/* Keep the original home.css header positioning so database pages retain the accepted top spacing. */
.elarion-site .gx-header {
    z-index: 10000 !important;
}

.monche-site .monche-skills-profession-card {
    background: linear-gradient(180deg, rgba(0, 16, 28, 1), rgba(8, 12, 18, .99)), #0c1118 !important;
    border: 1px solid rgba(208, 173, 107, .2) !important;
    border-radius: 4px !important;
    box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, .025), 0 14px 34px rgba(0, 0, 0, .12) !important;
}

.monche-site .monche-skills-profession-card__header--compact {
    margin-bottom: 14px;
}

.monche-site .monche-skills-profession-card__header--compact .monche-skills-profession-kicker {
    margin-bottom: 0;
}

.monche-site .monche-skills-profession-type-groups,
.monche-site .monche-skills-profession-level-list {
    border: 0;
    border-radius: 0;
}

.monche-site .monche-skills-profession-type-group {
    padding: 13px 0;
}

.monche-site .monche-skills-profession-level-row {
    min-height: 52px;
    padding: 10px 0;
}

.monche-site .monche-skills-profession-type-group:first-child,
.monche-site .monche-skills-profession-level-row:first-child {
    padding-top: 0;
}

.monche-site .monche-skills-profession-type-group:last-child,
.monche-site .monche-skills-profession-level-row:last-child {
    padding-bottom: 0;
}

.monche-site .monche-skills-profession-type-group + .monche-skills-profession-type-group,
.monche-site .monche-skills-profession-level-row + .monche-skills-profession-level-row {
    border-top: 1px solid rgba(255, 255, 255, .075);
}

.monche-site .monche-skills-profession-level-list {
    display: grid;
}

/* Header must remain above profession hover cards/popovers. */
.monche-site .monche-skills-profession .monche-npc-skill-popover {
    z-index: 7000 !important;
}

/* V7.7 final Skills polish: compact database page titles and level-learning card. */
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) > h1,
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) > .d-flex h1,
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) .monche-skills-index > h1 {
    font-size: clamp(20px, 2.2vw, 28px) !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
}

.monche-site .monche-skills-profession-card__copy {
    color: #9eabb9;
    font-size: 15.5px;
    line-height: 1.55;
    margin: 7px 0 0;
}

.monche-site .monche-skills-profession-levels .monche-skills-profession-level-list {
    background: rgba(0, 8, 14, .34);
    border: 1px solid rgba(208, 173, 107, .18);
    border-radius: 4px;
    padding: 0 14px;
}

.monche-site .monche-skills-profession-levels .monche-skills-profession-level-row:first-child {
    padding-top: 10px;
}

.monche-site .monche-skills-profession-levels .monche-skills-profession-level-row:last-child {
    padding-bottom: 10px;
}

@media (max-width: 767.98px) {
    .monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) > h1,
    .monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) > .d-flex h1,
    .monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) .monche-skills-index > h1 {
        font-size: 22px !important;
    }

    .monche-site .monche-skills-profession-levels .monche-skills-profession-level-list {
        padding: 0 10px;
    }
}


/* V7.10 database skill popovers: always float above-left of the hovered skill icon. */
/* Stored skill tooltips are not layout boxes. The shared JS detaches the active tooltip
   to <body>, where the floating rule below displays and positions it. */
.monche-site .monche-content-surface .monche-npc-skill-popover:not([data-monche-floating-popover="true"]) {
    display: none !important;
}

body > .monche-npc-skill-popover[data-monche-floating-popover="true"] {
    bottom: auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    left: var(--monche-db-popover-left, 10px) !important;
    max-width: var(--monche-db-popover-width, 360px) !important;
    min-width: 0 !important;
    opacity: 1 !important;
    pointer-events: none !important;
    position: fixed !important;
    right: auto !important;
    top: var(--monche-db-popover-top, 10px) !important;
    transform: none !important;
    visibility: visible !important;
    width: var(--monche-db-popover-width, 360px) !important;
    z-index: 20000 !important;
}

body > .monche-npc-skill-popover[data-monche-floating-popover="true"]::before,
body > .monche-npc-skill-popover[data-monche-floating-popover="true"]::after {
    background: transparent;
    height: 0;
    position: absolute;
    right: 0;
    transform: none;
    width: 0;
}

body > .monche-npc-skill-popover[data-monche-floating-popover="true"]::before {
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 9px solid rgba(214, 180, 95, .48);
    bottom: -9px;
}

body > .monche-npc-skill-popover[data-monche-floating-popover="true"]::after {
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 8px solid rgba(6, 10, 16, .97);
    bottom: -7px;
    right: 1px;
}

.monche-site .monche-skill-class-link {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 3px;
}

.monche-site .monche-skill-class-link:hover,
.monche-site .monche-skill-class-link:focus-visible {
    color: #d6b45f;
    text-decoration: underline;
}

.monche-site .monche-skill-consumed-item {
    align-items: center;
    color: inherit;
    display: inline-flex;
    gap: 7px;
    justify-content: flex-end;
    max-width: 100%;
    text-decoration: none;
}

.monche-site .monche-skill-consumed-item img {
    border: 1px solid rgba(214, 180, 95, .35);
    border-radius: 4px;
    flex: 0 0 24px;
    height: 24px;
    object-fit: cover;
    width: 24px;
}

.monche-site .monche-skill-consumed-item span {
    overflow-wrap: anywhere;
}

.monche-site .monche-skill-consumed-item strong {
    color: #d6b45f;
    flex: 0 0 auto;
    font-weight: 700;
}

.monche-site .monche-skill-consumed-item:hover,
.monche-site .monche-skill-consumed-item:focus-visible {
    color: #d6b45f;
}

/* V7.12: class names are intentionally more prominent than database body copy. */
.monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) .monche-skills-profession-title h1 {
    font-size: 24px !important;
    line-height: 1.2 !important;
}

.monche-site .monche-db-class-progression__title > .monche-skill-class-link {
    font-size: 22px !important;
    line-height: 1.2 !important;
}

/* V7.11 mobile database layout hardening: database pages own the full viewport width. */
@media (max-width: 991.98px) {
    .monche-site .gx-main-content {
        box-sizing: border-box !important;
        margin-left: 80px !important;
        max-width: calc(100vw - 80px) !important;
        min-width: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: calc(100% - 80px) !important;
    }

    .monche-site .gx-main-content > .container-fluid {
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: none !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        width: 100% !important;
    }

    .monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) {
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        width: 100% !important;
    }

    .monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) > .monche-db-menu {
        box-sizing: border-box !important;
        margin: 0 0 12px !important;
        max-width: 100% !important;
        padding: 0 0 10px !important;
        width: 100% !important;
    }

    .monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) .monche-db-menu__nav,
    .monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) .monche-db-menu__search {
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) > :not(.monche-db-menu),
    .monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) .monche-skills-index,
    .monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) .monche-skills-profession,
    .monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) .monche-skills-race-overview {
        box-sizing: border-box !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .monche-site .monche-skills-profession,
    .monche-site .monche-skills-profession-top,
    .monche-site .monche-skills-profession-card,
    .monche-site .monche-skills-index-panel,
    .monche-site .monche-skills-race-archetypes,
    .monche-site .monche-skills-race-archetype {
        box-sizing: border-box !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .monche-site .monche-skills-profession-top {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .monche-site .monche-skills-profession-card {
        padding: 14px !important;
    }

    .monche-site .monche-skills-profession-title {
        align-items: center !important;
        gap: 10px !important;
    }

    .monche-site .monche-skills-profession-icon {
        flex-basis: 46px !important;
        height: 46px !important;
        width: 46px !important;
    }

    .monche-site .monche-skills-profession-meta,
    .monche-site .monche-skills-profession-type-group,
    .monche-site .monche-skills-profession-level-row {
        min-width: 0 !important;
        width: 100% !important;
    }

    .monche-site .monche-skills-profession-level-row {
        align-items: start !important;
        grid-template-columns: 5.2rem minmax(0, 1fr) !important;
        padding: 9px 8px !important;
    }

    .monche-site .monche-skills-profession-type-group {
        padding: 10px 8px !important;
    }
}

@media (max-width: 575.98px) {
    .monche-site .gx-main-content > .container-fluid {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) {
        border-radius: 4px !important;
        padding-left: 9px !important;
        padding-right: 9px !important;
    }

    .monche-site .monche-skills-profession-meta {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .monche-site .monche-skills-profession-level-row {
        gap: 6px !important;
        grid-template-columns: 4.7rem minmax(0, 1fr) !important;
    }

    .monche-site .monche-skills-profession-level-row h3 {
        font-size: 11px !important;
    }
}

/* V7.13 final database viewport hardening: no floating-arrow gap, no phantom mobile/sidebar gap, no page-level horizontal overflow. */
body > .monche-npc-skill-popover[data-monche-floating-popover="true"]::before,
body > .monche-npc-skill-popover[data-monche-floating-popover="true"]::after {
    content: none !important;
    display: none !important;
}

html:has(body.monche-site .monche-db-menu[data-monche-b4r-menu="true"]),
body.monche-site:has(.monche-db-menu[data-monche-b4r-menu="true"]) {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

body.monche-site:has(.monche-db-menu[data-monche-b4r-menu="true"]) .wrapper,
body.monche-site:has(.monche-db-menu[data-monche-b4r-menu="true"]) .gx-main-content,
body.monche-site:has(.monche-db-menu[data-monche-b4r-menu="true"]) .gx-main-content > .container-fluid,
body.monche-site:has(.monche-db-menu[data-monche-b4r-menu="true"]) .monche-content-surface {
    box-sizing: border-box !important;
    min-width: 0 !important;
    overflow-wrap: anywhere;
}

body.monche-site:has(.monche-db-menu[data-monche-b4r-menu="true"]) .gx-main-content,
body.monche-site:has(.monche-db-menu[data-monche-b4r-menu="true"]) .gx-main-content > .container-fluid,
body.monche-site:has(.monche-db-menu[data-monche-b4r-menu="true"]) .monche-content-surface {
    max-width: 100% !important;
}

@media (max-width: 767.98px) {
    /* The theme hides the left sidebar at phone width, so database content must reclaim its 80px rail. */
    .monche-site .gx-main-content {
        margin-left: 0 !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    .monche-site .gx-main-content > .container-fluid {
        max-width: 100vw !important;
        width: 100% !important;
    }

    .monche-site .monche-content-surface:has(.monche-db-menu[data-monche-b4r-menu="true"]) {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* V7.19 database menu cleanup: reuse the existing compact menu component through 1399px; desktop menu resumes at 1400px. */

@media (min-width: 576px) and (max-width: 767.98px) {
    body.monche-site:has(.monche-db-menu[data-monche-b4r-menu="true"]) .gx-main-content {
        margin-left: 80px !important;
        max-width: calc(100vw - 80px) !important;
        width: calc(100% - 80px) !important;
    }

    body.monche-site:has(.monche-db-menu[data-monche-b4r-menu="true"]) .gx-main-content > .container-fluid {
        max-width: calc(100vw - 80px) !important;
        width: 100% !important;
    }
}

@media (max-width: 575.98px) {
    body.monche-site:has(.monche-db-menu[data-monche-b4r-menu="true"]) .gx-main-content {
        margin-left: 0 !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    body.monche-site:has(.monche-db-menu[data-monche-b4r-menu="true"]) .gx-main-content > .container-fluid {
        max-width: 100vw !important;
        width: 100% !important;
    }
}
/* MONCHE_ITEM_DETAIL_CRAFT_LINK_BEGIN */
.monche-site .monche-item-tool-links{
    align-items:flex-start;
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:8px;
}
.monche-site .monche-item-tool-links .monche-shot-article-link{margin-top:0;}
.monche-site .monche-item-craft-planner-inline{color:#d6aa61;font-weight:700;text-decoration:none;}
.monche-site .monche-item-craft-planner-inline:hover,
.monche-site .monche-item-craft-planner-inline:focus-visible{color:#efcf8c;text-decoration:underline;}
/* MONCHE_ITEM_DETAIL_CRAFT_LINK_END */

/* Items V1: domain-specific catalog rows/filters. Outer database surface/menu remains shared. */
.monche-site .monche-items-index { display:grid; gap:14px; min-width:0; }
.monche-site .monche-items-index > h1 { color:#f2f0ea; font-size:clamp(24px,2.4vw,32px)!important; line-height:1.18!important; margin:0!important; }


.monche-site .monche-items-filter-panel{ background:rgba(2,11,18,.52); border:1px solid rgba(208,173,107,.16); border-radius:4px; padding:11px 13px; }
.monche-site .monche-items-filter-panel { display:grid; gap:9px; }
.monche-site .monche-items-filter-row,.monche-site .monche-items-grade-filter { align-items:center; display:flex; flex-wrap:wrap; gap:7px; }
.monche-site .monche-items-filter-row strong,.monche-site .monche-items-grade-filter strong { color:#8ea0b3; font-size:.82rem; margin-right:4px; }
.monche-site .monche-items-filter-row a,.monche-site .monche-items-grade-filter a { border:1px solid rgba(255,255,255,.08); border-radius:3px; color:#bac5d1; font-size:.82rem; line-height:1.2; padding:6px 8px; text-decoration:none; }
.monche-site .monche-items-filter-row a:hover,.monche-site .monche-items-grade-filter a:hover,.monche-site .monche-items-filter-row a.is-active,.monche-site .monche-items-grade-filter a.is-active { border-color:rgba(214,180,95,.42); color:#d6b45f; }




.monche-site .monche-items-panel-header { align-items:center; display:flex; gap:12px; justify-content:space-between; }
.monche-site .monche-items-panel-header span { color:#8594a3; font-size:.82rem; white-space:nowrap; }














.monche-site .monche-items-empty { color:#9eabb9; padding:18px 2px 6px; }
.monche-site .monche-items-pagination { align-items:center; display:flex; gap:12px; }
.monche-site .monche-items-pagination a { color:#d6b45f; text-decoration:none; }
.monche-site .monche-items-pagination span { color:#8f9dac; font-size:.85rem; }
.monche-site .monche-item-summary-head { align-items:center; display:flex; gap:14px; margin-bottom:14px; }
.monche-site .monche-item-summary-head h1 { color:#f2f0ea; font-size:1.28rem!important; line-height:1.22!important; margin:0 0 3px!important; }
.monche-site .monche-item-summary-head small,.monche-site .monche-item-muted { color:#8f9dac; }
.monche-site .monche-item-detail-icon { background:rgba(0,0,0,.28); border:1px solid rgba(214,180,95,.28); border-radius:4px; height:64px; object-fit:contain; width:64px; }
.monche-site .monche-item-loot-card { margin-top:16px; }
.monche-site .monche-item-loot-card h2 span { color:#d6b45f; font-size:.8em; }
.monche-site .monche-item-loot-grid { display:grid; gap:16px; grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:14px; }
.monche-site .monche-item-loot-section { min-width:0; }
.monche-site .monche-item-loot-section h3 { color:#d6b45f; font-size:1rem; margin:0 0 8px; }
@media (max-width:991.98px) {
    .monche-site .monche-item-loot-grid{ grid-template-columns:minmax(0,1fr); }
    
    
}
@media (max-width:575.98px) {
    .monche-site .monche-items-filter-panel{ padding:9px; }
    .monche-site .monche-items-index > h1 { font-size:22px!important; }
    
    
    
}

/* One Items catalog override block only. Shared Skills shell remains authoritative. */
.monche-site .monche-items-index.monche-skills-index {
    display:block;
    min-width:0;
}
.monche-site .monche-items-index.monche-skills-index > h1 {
    color:#f2f0ea;
}
.monche-site .monche-items-index-tabs {
    margin-bottom:.8rem;
}
.monche-site .monche-items-filter-panel {
    margin:0 0 .8rem;
}
.monche-site .monche-items-grade-filter--standalone {
    align-items:center;
    background:rgba(2,11,18,.4);
    border:1px solid rgba(208,173,107,.14);
    border-radius:4px;
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin:0 0 .8rem;
    padding:9px 11px;
}
.monche-site .monche-items-index-panel {
    container-type:inline-size;
    margin-top:0;
}
.monche-site .monche-items-card-grid {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:12px;
    min-width:0;
}
@container (min-width:760px) {
    .monche-site .monche-items-index-panel .monche-items-card-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@container (min-width:1320px) {
    .monche-site .monche-items-index-panel .monche-items-card-grid {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}
.monche-site .monche-item-catalog-card {
    align-items:center;
    background:linear-gradient(180deg,rgba(0,16,28,.78),rgba(4,11,17,.9));
    border:1px solid rgba(208,173,107,.14);
    border-radius:4px;
    color:inherit;
    display:grid;
    gap:12px;
    grid-template-columns:minmax(0,1fr) auto;
    min-width:0;
    padding:9px 10px;
    text-decoration:none;
    transition:border-color .14s ease,background .14s ease;
}
.monche-site .monche-item-catalog-card:hover,
.monche-site .monche-item-catalog-card:focus-visible {
    background:linear-gradient(180deg,rgba(5,23,36,.9),rgba(5,13,20,.96));
    border-color:rgba(214,180,95,.36);
    outline:none;
}
.monche-site .monche-item-catalog-card__identity {
    align-items:center;
    display:flex;
    gap:9px;
    min-width:0;
}
.monche-site .monche-item-catalog-card__icon {
    background:rgba(0,0,0,.28);
    border:1px solid rgba(214,180,95,.24);
    border-radius:3px;
    flex:0 0 32px;
    height:32px;
    min-height:32px;
    min-width:32px;
    object-fit:contain;
    width:32px;
}
.monche-site .monche-item-catalog-card__copy {
    display:grid;
    gap:3px;
    min-width:0;
}
.monche-site .monche-item-catalog-card__title-line {
    align-items:center;
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    min-width:0;
}
.monche-site .monche-item-catalog-card__title-line > strong {
    color:#e2e8ef;
    font-size:.97rem;
    font-weight:700;
    line-height:1.28;
}
.monche-site .monche-item-catalog-card:hover .monche-item-catalog-card__title-line > strong {
    color:#f2f0ea;
}
.monche-site .monche-item-catalog-card__sa {
    color:#d6b45f;
    font-size:.9rem;
    font-weight:700;
    line-height:1.25;
}
.monche-site .monche-item-grade-icon {
    align-self:center;
    display:inline-block;
    flex:0 0 16px;
    height:16px;
    image-rendering:auto;
    object-fit:contain;
    position:relative;
    top:0;
    vertical-align:middle;
    width:16px;
}
.monche-site .monche-item-catalog-card__type {
    color:#8f9dac;
    font-size:.8rem;
    line-height:1.3;
}
.monche-site .monche-item-catalog-card__stats {
    align-items:stretch;
    align-self:center;
    display:flex;
    flex:0 0 auto;
    gap:6px;
    justify-self:end;
    margin:0;
    white-space:nowrap;
}
.monche-site .monche-item-catalog-card__stats > div {
    background:rgba(0,8,14,.46);
    border:1px solid rgba(208,173,107,.13);
    border-radius:3px;
    min-width:64px;
    padding:5px 6px;
    text-align:center;
}
.monche-site .monche-item-catalog-card__stats dt {
    color:#7f8f9f;
    font-size:.68rem!important;
    line-height:1.1!important;
    text-align:center!important;
}
.monche-site .monche-item-catalog-card__stats dd {
    color:#dce3eb;
    font-size:.84rem!important;
    font-weight:700;
    line-height:1.2!important;
    margin:2px 0 0;
    text-align:center!important;
}
.monche-site .monche-items-pagination {
    justify-content:center;
    margin:22px auto 4px;
    width:100%;
}
@media (max-width:767.98px) {
    .monche-site .monche-item-catalog-card {
        align-items:center;
        gap:10px;
        grid-template-columns:minmax(0,1fr) auto;
    }
    .monche-site .monche-item-catalog-card__stats {
        margin-left:0;
    }
}
@media (max-width:575.98px) {
    .monche-site .monche-items-grade-filter--standalone {
        padding:8px 9px;
    }
    .monche-site .monche-item-catalog-card {
        gap:8px;
        padding:9px;
    }
    .monche-site .monche-item-catalog-card__stats {
        gap:4px;
    }
    .monche-site .monche-item-catalog-card__stats > div {
        min-width:58px;
        padding:5px 5px;
    }
}



/* RETRY9_UI_BEGIN: active DB route trail + detail-only title/icon geometry */
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] a.is-current-route,
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] a.is-active-route,
.monche-site .monche-db-menu[data-monche-b4r-menu="true"] .has-active-route > [data-monche-db-menu-toggle="true"] {
    color:#d6b45f !important;
}
.monche-site .monche-item-detail-icon {
    width:32px !important;
    height:32px !important;
}
.monche-site .monche-item-summary-head {
    gap:10px !important;
}
/* RETRY9_UI_END */


/* RETRY10_UI_BEGIN: item detail identity row + shared inline item icon */
.monche-site [data-monche-item-page="true"] .monche-item-detail-title-wrap {
    min-width:0 !important;
}
.monche-site [data-monche-item-page="true"] .monche-item-detail-title-row {
    align-items:center !important;
    display:flex !important;
    flex-wrap:wrap !important;
    gap:5px 7px !important;
    min-width:0 !important;
}
.monche-site [data-monche-item-page="true"] .monche-item-detail-title-row .monche-item-catalog-card__sa {
    align-items:center !important;
    display:inline-flex !important;
    line-height:1.1 !important;
    margin:0 !important;
}
.monche-site [data-monche-item-page="true"] .monche-item-detail-title-row .monche-item-grade-icon {
    align-self:center !important;
    flex:0 0 16px !important;
    height:16px !important;
    margin:0 !important;
    width:16px !important;
}
.monche-site .monche-inline-item-icon,
.monche-site .monche-skill-consumed-item .monche-inline-item-icon {
    border:1px solid rgba(214,180,95,.35) !important;
    border-radius:2px !important;
    flex:0 0 16px !important;
    height:16px !important;
    object-fit:contain !important;
    width:16px !important;
}
.monche-site .monche-skill-consumed-item {
    gap:5px !important;
    line-height:1.2 !important;
}
.monche-site .monche-item-npc-price {
    align-items:center !important;
    display:inline-flex !important;
    gap:5px !important;
    justify-content:flex-end !important;
    white-space:nowrap !important;
}
/* RETRY10_UI_END */


/* RETRY10_FIX1_UI_BEGIN: only entity titles are doubled; passive SP rows restored */
.monche-site [data-monche-passive-sp-card="true"] dt,
.monche-site [data-monche-passive-sp-card="true"] dt a,
.monche-site [data-monche-passive-sp-card="true"] dd {
    font-size:15.5px !important;
    line-height:1.35 !important;
}
/* RETRY10_FIX1_UI_END */


/* RETRY10_FIX3_CLEAN_UI_BEGIN: compact level select + explicit SA presentation */
.monche-site .monche-db-detail-card--summary .monche-skill-level-select-wrap > span {
    font-size:13px !important;
    line-height:1.2 !important;
}
.monche-site .monche-db-detail-card--summary .monche-skill-level-select-wrap select {
    font-size:14px !important;
    height:34px !important;
    min-height:34px !important;
    padding:5px 30px 5px 10px !important;
}

.monche-site .monche-search-item-sa,
.monche-site .monche-live-search-result__sa {
    color:#e8a94b !important;
    font-size:12px !important;
    font-weight:700 !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
}
.monche-site .monche-search-item-sa {
    display:inline-block !important;
    margin-left:6px !important;
}
.monche-site .monche-live-search-result__name-row {
    align-items:baseline !important;
    display:flex !important;
    gap:6px !important;
    min-width:0 !important;
}
.monche-site .monche-live-search-result__name-row > strong {
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
}
.monche-site .monche-live-search-result__sa {
    display:inline-block !important;
    flex:0 0 auto !important;
}
/* RETRY10_FIX3_CLEAN_UI_END */


/* RETRY10_FIX3_SHARED_DETAIL_BEGIN: item and skill share one identity component */
.monche-site .monche-detail-entity-head {
    align-items:center !important;
}
.monche-site .monche-detail-entity-copy {
    min-width:0 !important;
}
.monche-site .monche-detail-entity-name-row {
    align-items:center !important;
    display:flex !important;
    flex-wrap:wrap !important;
    gap:5px 7px !important;
    min-width:0 !important;
}
.monche-site .monche-detail-entity-head h1.monche-detail-entity-title {
    font-size:1rem !important;
    font-weight:600 !important;
    line-height:1.2 !important;
    margin:0 !important;
}
.monche-site .monche-detail-entity-name-row .monche-item-catalog-card__sa,
.monche-site .monche-detail-entity-name-row .monche-item-grade-icon {
    align-self:center !important;
    margin:0 !important;
}
/* RETRY10_FIX3_SHARED_DETAIL_END */


/* MONCHE_FIX4A_LOOT_BEGIN: compact NPC identity inside item drop/spoil tables */
.monche-site .monche-item-loot-npc-link {
    align-items:center !important;
    display:inline-flex !important;
    gap:8px !important;
    min-width:0 !important;
    text-decoration:none !important;
}
.monche-site .monche-item-loot-npc-icon {
    border-radius:2px !important;
    flex:0 0 24px !important;
    height:24px !important;
    object-fit:cover !important;
    width:24px !important;
}
/* MONCHE_FIX4A_LOOT_END */



/* MONCHE_CRAFT_TREE_SHARED_BEGIN: shared material tree used by Crafting Planner and recipe links */
.monche-site .monche-recipe-item-link {
    align-items:center;
    display:inline-flex;
    gap:8px;
    min-width:0;
    text-decoration:none;
}
.monche-site .monche-recipe-item-icon {
    border-radius:2px;
    flex:0 0 24px;
    height:24px;
    object-fit:cover;
    width:24px;
}
.monche-site .monche-recipe-materials__list {
    display:grid;
    gap:6px;
}
.monche-site .monche-recipe-material-node {
    min-width:0;
}
.monche-site .monche-recipe-material-row {
    align-items:center;
    background:rgba(255,255,255,.025);
    border:1px solid rgba(255,255,255,.055);
    border-radius:4px;
    display:grid;
    gap:10px;
    grid-template-columns:minmax(0,1fr) auto;
    min-height:38px;
    padding:6px 9px;
}
.monche-site .monche-recipe-material-row__identity {
    align-items:center;
    display:flex;
    gap:7px;
    min-width:0;
}
.monche-site .monche-recipe-material-row__quantity {
    color:#d8dee7;
    font-size:13px;
    white-space:nowrap;
}
.monche-site .monche-recipe-tree-toggle {
    align-items:center;
    background:rgba(214,180,95,.08);
    border:1px solid rgba(214,180,95,.34);
    border-radius:3px;
    color:#e8a94b;
    cursor:pointer;
    display:inline-flex;
    flex:0 0 22px;
    font-size:15px;
    font-weight:700;
    height:22px;
    justify-content:center;
    line-height:1;
    margin-left:1px;
    padding:0;
    width:22px;
}
.monche-site .monche-recipe-tree-toggle:hover {
    background:rgba(214,180,95,.16);
    border-color:rgba(214,180,95,.58);
}
.monche-site .monche-recipe-material-children {
    border-left:1px solid rgba(214,180,95,.22);
    display:grid;
    gap:6px;
    margin:6px 0 0 11px;
    padding-left:12px;
}
.monche-site .monche-recipe-material-children[hidden] {
    display:none !important;
}
/* MONCHE_CRAFT_TREE_SHARED_END */


/* MONCHE_DB_SIDEBAR_COMPACT_BEGIN: database pages use the compact rail through 1400px */
body.monche-site:has(.monche-db-menu[data-monche-b4r-menu="true"]) .monche-content-surface > .monche-db-menu {
    overflow:visible;
    position:relative;
    z-index:4200;
}
body.monche-site:has(.monche-db-menu[data-monche-b4r-menu="true"]) .monche-db-menu__nav,
body.monche-site:has(.monche-db-menu[data-monche-b4r-menu="true"]) .monche-db-menu__group {
    overflow:visible;
}
body.monche-site:has(.monche-db-menu[data-monche-b4r-menu="true"]) .monche-db-menu__submenu {
    z-index:4300;
}
@media (min-width:992px) and (max-width:1400px) {
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar,
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar:hover,
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar:focus-within {
        width:80px;
    }
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar .condense,
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar:hover .condense,
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar:focus-within .condense,
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar .gx-sb-title {
        display:none;
    }
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar .gx-sb-logo {
        justify-content:center;
        padding-left:0;
        padding-right:0;
    }
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar .gx-sb-logo > .sb-full,
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar:hover .gx-sb-logo > .sb-full,
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar:focus-within .gx-sb-logo > .sb-full {
        display:none;
    }
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar .gx-sb-logo > .sb-collapse {
        display:flex;
    }
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar .gx-sb-wrapper {
        padding-left:15px;
        padding-right:15px;
    }
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar .gx-sb-item > a,
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar:hover .gx-sb-item > a,
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar:focus-within .gx-sb-item > a {
        justify-content:center;
    }
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar .gx-sb-item > a > i,
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar:hover .gx-sb-item > a > i,
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-sidebar:focus-within .gx-sb-item > a > i {
        font-size:19px;
        margin-right:0;
    }
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-main-content {
        box-sizing:border-box;
        margin-left:80px;
        max-width:calc(100vw - 80px);
        min-width:0;
        width:calc(100% - 80px);
    }
    body.monche-site .wrapper.monche-db-sidebar-compact.sb-collapse .gx-main-content > .container-fluid {
        box-sizing:border-box;
        max-width:100%;
        min-width:0;
        width:100%;
    }
}
/* MONCHE_DB_SIDEBAR_COMPACT_END */







/* MONCHE_SHOT_TOOLS_V2_BEGIN */
.monche-site .monche-shot-article-link{display:inline-flex;align-items:center;width:max-content;margin-top:7px;text-decoration:none}
.monche-site .monche-shot-tools-note{margin:18px 0;padding:11px 14px;border-left:3px solid rgba(216,171,91,.75);background:rgba(216,171,91,.06);color:rgba(238,235,226,.72);font-size:13px;line-height:1.5}
.monche-site .monche-shot-tools-family{margin-top:18px}
.monche-site .monche-shot-tools-family .l2-community__copy{min-width:0}
.monche-site .monche-shot-grade-links{margin-bottom:14px}
.monche-site .monche-shot-tools-list{display:grid;gap:12px;min-width:0}
.monche-site .monche-shot-tools-row{scroll-margin-top:110px;padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.025)}
.monche-site .monche-shot-tools-row__head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.monche-site .monche-shot-tools-product{display:inline-flex;align-items:center;gap:10px;min-width:0;color:inherit;text-decoration:none}
.monche-site .monche-shot-tools-product span{display:grid;gap:2px;min-width:0}.monche-site .monche-shot-tools-product strong{color:#f2d28e;font-size:16px}.monche-site .monche-shot-tools-product small{color:rgba(238,235,226,.58)}
.monche-site .monche-shot-tools-recipe{flex:0 0 auto;color:#dcb269;text-decoration:none;font-size:13px;font-weight:700}
.monche-site .monche-shot-tools-materials{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.monche-site .monche-shot-tools-materials a{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:9px;background:rgba(255,255,255,.035);color:rgba(238,235,226,.78);text-decoration:none;font-size:13px}.monche-site .monche-shot-tools-materials strong{color:#e8bd6d}
.monche-site .monche-shot-tools-inputs{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:9px;margin-top:13px}.monche-site .monche-shot-tools-inputs label{display:grid;gap:5px;min-width:0}.monche-site .monche-shot-tools-inputs label>span{color:rgba(238,235,226,.64);font-size:12px}.monche-site .monche-shot-tools-inputs input{width:100%;min-width:0;height:36px;padding:0 9px;border:1px solid rgba(255,255,255,.11);border-radius:8px;background:#171716;color:#f5f0e4;font:inherit}.monche-site .monche-shot-tools-inputs input:focus{outline:none;border-color:rgba(226,176,86,.65);box-shadow:0 0 0 3px rgba(226,176,86,.08)}.monche-site .monche-shot-tools-inputs small{min-height:14px;color:rgba(238,235,226,.42);font-size:10px}
.monche-site .monche-shot-tools-metrics{display:grid;grid-template-columns:repeat(3,minmax(145px,1fr));gap:1px;margin-top:13px;overflow:hidden;border:1px solid rgba(255,255,255,.065);border-radius:10px;background:rgba(255,255,255,.065)}.monche-site .monche-shot-tools-metrics>div{display:grid;gap:4px;padding:9px 11px;background:rgba(15,15,14,.78)}.monche-site .monche-shot-tools-metrics span{color:rgba(238,235,226,.52);font-size:11px}.monche-site .monche-shot-tools-metrics strong{color:#ede6d8;font-size:14px}.monche-site .monche-shot-tools-metrics .is-positive strong{color:#9fd48d}.monche-site .monche-shot-tools-metrics .is-negative strong{color:#ef9a8f}.monche-site .monche-shot-tools-metrics .is-neutral strong{color:#e8bd6d}
.monche-site .monche-shot-tools-row__footer,.monche-site .monche-shot-tools-reset-all{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px;color:rgba(238,235,226,.56);font-size:12px}.monche-site .monche-shot-tools-row__footer button,.monche-site .monche-shot-tools-reset-all button{border:0;padding:0;background:transparent;color:#d6aa61;font:inherit;cursor:pointer}.monche-site .monche-shot-tools-reset-all{margin:18px 0 4px;padding:12px 0 0;border-top:1px solid rgba(255,255,255,.07)}
@media(max-width:1050px){.monche-site .monche-shot-tools-inputs{grid-template-columns:repeat(3,minmax(120px,1fr))}}
@media(max-width:720px){.monche-site .monche-shot-tools-row__head{align-items:flex-start}.monche-site .monche-shot-tools-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.monche-site .monche-shot-tools-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:460px){.monche-site .monche-shot-tools-row__head,.monche-site .monche-shot-tools-reset-all{align-items:flex-start;flex-direction:column}.monche-site .monche-shot-tools-inputs,.monche-site .monche-shot-tools-metrics{grid-template-columns:1fr}}
/* MONCHE_SHOT_TOOLS_V2_END */

/* MONCHE_SHOT_TOOLS_V3_BEGIN */
.monche-site .monche-tools-surface.monche-db-surface{grid-template-columns:minmax(0,1fr)!important}
.monche-site .monche-tools-surface.monche-db-surface .l2-community__copy{grid-column:1!important;min-width:0!important;width:100%!important}
.monche-site .monche-shot-tools-switches{display:grid;gap:8px;margin-top:16px;min-width:0;width:100%}
.monche-site .monche-shot-tools-switches--tools{grid-template-columns:minmax(0,420px)}
.monche-site .monche-shot-tools-switches--families{grid-template-columns:repeat(3,minmax(0,1fr))}
.monche-site .monche-shot-tools-switches--grades{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:14px}
.monche-site .monche-shot-tools-switches .monche-db-nav-tab{box-sizing:border-box!important;justify-content:center!important;min-width:0!important;text-align:center!important;white-space:nowrap!important;width:100%!important}
.monche-site .monche-item-craftable-game-data{margin-top:20px}
@media(max-width:760px){.monche-site .monche-shot-tools-switches--families{grid-template-columns:1fr}.monche-site .monche-shot-tools-switches--grades{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){.monche-site .monche-shot-tools-switches--grades{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* MONCHE_SHOT_TOOLS_V3_END */

/* MONCHE_SHARED_MOBILE_OVERLAY_BEGIN */
@media (max-width:991.98px){
    .elarion-site [data-monche-mobile-overlay-root="true"]{
        z-index:2147483000!important;
    }
}
@media (max-width:767.98px){
    .elarion-site .monche-db-surface .l2-community__emblem{
        display:none!important;
    }
    .elarion-site .monche-db-surface{
        grid-template-columns:minmax(0,1fr)!important;
    }
    .elarion-site .monche-db-surface .l2-community__copy{
        grid-column:1!important;
        min-width:0!important;
        width:100%!important;
    }
}
/* MONCHE_SHARED_MOBILE_OVERLAY_END */




/* MONCHE_FIX13_CRAFT_PLANNER_V1_BEGIN */
.monche-site .monche-shot-tools-switches--tools{grid-template-columns:repeat(3,minmax(0,320px))}
.monche-site .monche-craft-planner-search{margin-top:18px}
.monche-site .monche-craft-planner-search__form{align-items:stretch;display:flex;gap:8px;margin-top:12px;max-width:100%;width:max-content}
.monche-site .monche-craft-planner-search__form input{flex:0 1 430px;min-width:260px;width:430px;height:42px;padding:0 12px;border:1px solid rgba(255,255,255,.11);border-radius:9px;background:#171716;color:#f5f0e4;font:inherit}
.monche-site .monche-craft-planner-search__form input:focus{outline:none;border-color:rgba(226,176,86,.65);box-shadow:0 0 0 3px rgba(226,176,86,.08)}
.monche-site .monche-craft-planner-search__form button{flex:0 0 auto;margin:0;padding:0 18px;border:1px solid rgba(226,176,86,.35);border-radius:9px;background:rgba(226,176,86,.10);color:#e8bd6d;font:inherit;font-weight:700;cursor:pointer}
.monche-site .monche-craft-planner-hint{margin:9px 0 0;color:rgba(238,235,226,.52);font-size:12px}
.monche-site .monche-craft-planner-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}
.monche-site .monche-craft-planner-result{display:flex;align-items:center;gap:9px;min-width:0;padding:9px 10px;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:rgba(255,255,255,.025);color:inherit;text-decoration:none}
.monche-site .monche-craft-planner-result:hover,.monche-site .monche-craft-planner-result.is-selected{border-color:rgba(226,176,86,.32);background:rgba(226,176,86,.06)}
.monche-site .monche-craft-planner-result span{display:grid;gap:2px;min-width:0}.monche-site .monche-craft-planner-result strong{overflow:hidden;color:#eed195;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.monche-site .monche-craft-planner-result small{overflow:hidden;color:rgba(238,235,226,.45);font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.monche-site .monche-craft-planner-workspace{margin-top:18px}.monche-site .monche-craft-planner-workspace .l2-community__copy{min-width:0}
.monche-site .monche-craft-planner-product-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.monche-site .monche-craft-planner-variants{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:14px}.monche-site .monche-craft-planner-variants>span{margin-right:2px;color:rgba(238,235,226,.55);font-size:12px}.monche-site .monche-craft-planner-variants .monche-db-nav-tab{width:auto!important}
.monche-site .monche-craft-planner-summary,.monche-site .monche-craft-planner-controls{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;margin-top:14px;overflow:hidden;border:1px solid rgba(255,255,255,.065);border-radius:10px;background:rgba(255,255,255,.065)}
.monche-site .monche-craft-planner-summary>div,.monche-site .monche-craft-planner-controls>div,.monche-site .monche-craft-planner-controls>label{display:grid;gap:4px;min-width:0;padding:10px 11px;background:rgba(15,15,14,.78)}
.monche-site .monche-craft-planner-summary span,.monche-site .monche-craft-planner-controls span{color:rgba(238,235,226,.52);font-size:11px}.monche-site .monche-craft-planner-summary strong,.monche-site .monche-craft-planner-controls strong{color:#ede6d8;font-size:14px}
.monche-site .monche-craft-planner-controls{grid-template-columns:repeat(5,minmax(0,1fr))}.monche-site .monche-craft-planner-controls input{width:100%;min-width:0;height:34px;padding:0 8px;border:1px solid rgba(255,255,255,.11);border-radius:7px;background:#171716;color:#f5f0e4;font:inherit}
.monche-site .monche-craft-planner-grid{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(560px,1.6fr);gap:12px;margin-top:14px;align-items:start}
.monche-site .monche-craft-planner-panel{min-width:0;padding:14px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:rgba(255,255,255,.018)}.monche-site .monche-craft-planner-panel h2{margin:4px 0 12px;color:#eee6d5;font-size:17px}
.monche-site .monche-craft-planner-table-wrap{max-width:100%;overflow-x:auto}.monche-site .monche-craft-planner-table{width:100%;border-collapse:collapse;min-width:760px}.monche-site .monche-craft-planner-table th,.monche-site .monche-craft-planner-table td{padding:8px;border-bottom:1px solid rgba(255,255,255,.055);text-align:right;font-size:12px}.monche-site .monche-craft-planner-table th{color:rgba(238,235,226,.47);font-size:10px;text-transform:uppercase}.monche-site .monche-craft-planner-table th:first-child,.monche-site .monche-craft-planner-table td:first-child{text-align:left}.monche-site .monche-craft-planner-table tbody tr:last-child td{border-bottom:0}
.monche-site .monche-craft-planner-material-name{display:inline-flex;align-items:center;gap:7px;min-width:0;color:inherit;text-decoration:none}.monche-site .monche-craft-planner-material-name span{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monche-site .monche-craft-planner-table input{width:88px;height:32px;padding:0 7px;border:1px solid rgba(255,255,255,.10);border-radius:7px;background:#171716;color:#f5f0e4;text-align:right;font:inherit}
.monche-site .monche-craft-planner-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.07);color:rgba(238,235,226,.52);font-size:12px}.monche-site .monche-craft-planner-footer button{border:0;background:transparent;color:#d6aa61;font:inherit;cursor:pointer}
@media(max-width:1180px){.monche-site .monche-craft-planner-results{grid-template-columns:repeat(3,minmax(0,1fr))}.monche-site .monche-craft-planner-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.monche-site .monche-craft-planner-grid{grid-template-columns:1fr}}
@media(max-width:820px){.monche-site .monche-craft-planner-results{grid-template-columns:repeat(2,minmax(0,1fr))}.monche-site .monche-craft-planner-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.monche-site .monche-shot-tools-switches--tools,.monche-site .monche-craft-planner-results,.monche-site .monche-craft-planner-summary,.monche-site .monche-craft-planner-controls{grid-template-columns:1fr}.monche-site .monche-craft-planner-search__form{align-items:stretch;display:grid;grid-template-columns:1fr;width:100%}.monche-site .monche-craft-planner-search__form input{min-width:0;width:100%}.monche-site .monche-craft-planner-search__form button{height:40px}.monche-site .monche-craft-planner-product-head,.monche-site .monche-craft-planner-footer{align-items:flex-start;flex-direction:column}}
/* MONCHE_FIX13_CRAFT_PLANNER_V1_END */

/* MONCHE_FARM_SPOIL_V1_BEGIN */
.monche-site .monche-farm-spoil-search{margin-top:18px}
.monche-site .monche-farm-spoil-hint{margin:10px 0 0;color:rgba(238,235,226,.52);font-size:12px}
.monche-site .monche-farm-spoil-workspace{margin-top:18px}.monche-site .monche-farm-spoil-workspace .l2-community__copy{min-width:0}
.monche-site .monche-farm-spoil-product-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.monche-site .monche-farm-spoil-kind-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:14px}.monche-site .monche-farm-spoil-kind-tabs>span{margin-right:2px;color:rgba(238,235,226,.55);font-size:12px}.monche-site .monche-farm-spoil-kind-tabs .monche-db-nav-tab{width:auto!important}
.monche-site .monche-farm-spoil-filters{display:grid;grid-template-columns:minmax(110px,150px) minmax(110px,150px) minmax(160px,220px) minmax(150px,1fr) auto;gap:9px;align-items:end;margin-top:14px;padding:12px;border:1px solid rgba(255,255,255,.065);border-radius:10px;background:rgba(255,255,255,.018)}
.monche-site .monche-farm-spoil-filters label{display:grid;gap:5px;min-width:0}.monche-site .monche-farm-spoil-filters label>span{color:rgba(238,235,226,.52);font-size:11px}.monche-site .monche-farm-spoil-filters input[type=number],.monche-site .monche-farm-spoil-filters select{box-sizing:border-box;width:100%;height:38px;min-width:0;padding:0 9px;border:1px solid rgba(255,255,255,.11);border-radius:8px;background:#171716;color:#f5f0e4;font:inherit}.monche-site .monche-farm-spoil-filters input:focus,.monche-site .monche-farm-spoil-filters select:focus{outline:none;border-color:rgba(226,176,86,.65);box-shadow:0 0 0 3px rgba(226,176,86,.08)}
.monche-site .monche-farm-spoil-filters .monche-farm-spoil-check{display:flex;align-items:center;gap:8px;min-height:38px;padding:0 4px}.monche-site .monche-farm-spoil-filters .monche-farm-spoil-check input{width:16px;height:16px;accent-color:#d6aa61}.monche-site .monche-farm-spoil-filters .monche-farm-spoil-check span{color:rgba(238,235,226,.68);font-size:12px}
.monche-site .monche-farm-spoil-filters button{height:38px;padding:0 16px;border:1px solid rgba(226,176,86,.35);border-radius:8px;background:rgba(226,176,86,.10);color:#e8bd6d;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap}
.monche-site .monche-farm-spoil-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.monche-site .monche-farm-spoil-result{display:grid;gap:10px;min-width:0;padding:12px;border:1px solid rgba(255,255,255,.07);border-radius:11px;background:rgba(255,255,255,.022)}
.monche-site .monche-farm-spoil-npc{display:flex;align-items:center;gap:9px;min-width:0;color:inherit;text-decoration:none}.monche-site .monche-farm-spoil-npc img{flex:0 0 auto}.monche-site .monche-farm-spoil-npc span{display:grid;gap:2px;min-width:0}.monche-site .monche-farm-spoil-npc strong{overflow:hidden;color:#eed195;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.monche-site .monche-farm-spoil-npc small{overflow:hidden;color:rgba(238,235,226,.46);font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.monche-site .monche-farm-spoil-result__metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid rgba(255,255,255,.055);border-radius:8px;background:rgba(255,255,255,.055)}.monche-site .monche-farm-spoil-result__metrics>div{display:grid;gap:3px;min-width:0;padding:7px 8px;background:rgba(15,15,14,.68)}.monche-site .monche-farm-spoil-result__metrics span{color:rgba(238,235,226,.45);font-size:10px}.monche-site .monche-farm-spoil-result__metrics strong{overflow:hidden;color:#ede6d8;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.monche-site .monche-farm-spoil-result__metrics strong.is-spoil{color:#9fd48d}.monche-site .monche-farm-spoil-result__metrics strong.is-drop{color:#e8bd6d}
@media(max-width:1180px){.monche-site .monche-shot-tools-switches--tools{grid-template-columns:repeat(2,minmax(0,320px))}.monche-site .monche-farm-spoil-results{grid-template-columns:repeat(2,minmax(0,1fr))}.monche-site .monche-farm-spoil-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.monche-site .monche-farm-spoil-filters button{width:max-content}}
@media(max-width:700px){.monche-site .monche-farm-spoil-results{grid-template-columns:1fr}.monche-site .monche-farm-spoil-product-head{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.monche-site .monche-shot-tools-switches--tools,.monche-site .monche-farm-spoil-filters{grid-template-columns:1fr}.monche-site .monche-farm-spoil-filters button{width:100%}.monche-site .monche-farm-spoil-result__metrics{grid-template-columns:1fr}.monche-site .monche-farm-spoil-kind-tabs{align-items:flex-start}.monche-site .monche-farm-spoil-kind-tabs>span{flex:0 0 100%}}
/* MONCHE_FARM_SPOIL_V1_END */


/* OWNER VISUAL ACCEPTANCE FIX — QUEST CONTENT TOP GAP — 2026-09-04 */
body.monche-site:has(.monche-quest-detail) .monche-home-no-hero { margin-top: 0 !important; }

/* R14K8E3B POLYGONS ONLY + TRUE HALF-SIZE INLINE RED MARKER */
.monche-npc-map-frame[data-monche-map-pan] {
  cursor: grab !important;
  touch-action: none !important;
}
.monche-npc-map-frame[data-monche-map-pan]:active {
  cursor: grabbing !important;
}
.monche-npc-map-pan-layer {
  position: absolute;
  inset: 0;
}
.monche-npc-map-image {
  position: absolute;
  z-index: 1;
}
.monche-npc-map-territory-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: block;
  width: 1416px;
  height: 2048px;
  overflow: visible;
  pointer-events: none;
}
.monche-npc-map-territory {
  stroke-width: 2px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
/* R14M3B SEMANTIC TERRITORY COLORS */
.monche-npc-map-territory--monster {
  fill: rgba(255,59,48,.28);
  stroke: rgba(180,0,0,.92);
}
.monche-npc-map-territory--guard {
  fill: rgba(73,158,255,.16);
  stroke: rgba(73,158,255,.94);
}
.monche-npc-map-territory--neutral {
  fill: rgba(229,196,84,.14);
  stroke: rgba(215,184,75,.92);
}
.monche-npc-map-spawn-dot {
  display: none !important;
}

/* MONCHE_R14N6N_CANONICAL_DB_SURFACE_OWNER: generic featured outer selector now owned by .monche-db-surface; legacy specialized selectors retained. */

/* MONCHE_R14N6P_SHARED_COMPACT_TOP_CLASS
   Canonical compact spacing after the breadcrumb/language row.
   This class is emitted by the shared layout on every page, including Location. */
.monche-site .gx-main-content > .container-fluid > .monche-page-content-row{
    margin-top:0 !important;
}

/* MONCHE_R14N6Q_DATABASE_PAGE_TOP_ALIGNMENT
   Location detail already lands at zero because .monche-location-shell forces margin:0.
   Apply the same top alignment to the shared database-page wrapper everywhere else. */
.monche-site .l2-home.monche-home-no-hero[data-home-mode="database-page"]{
    margin-top:0 !important;
}

/* MONCHE_R14N8B_CRAFTING_SHOTS_SITE_DESIGN
   Presentation-only alignment for Crafting Planner + Shot Tools.
   Keep calculator markup/data/JS untouched. */
.monche-site .monche-craft-planner-workspace .monche-craft-planner-summary,
.monche-site .monche-craft-planner-workspace .monche-craft-planner-controls,
.monche-site .monche-shot-tools-row .monche-shot-tools-metrics{
    border:1px solid rgba(198,158,85,.24)!important;
    border-radius:5px!important;
    background:rgba(0,16,28,.72)!important;
    box-shadow:none!important;
}
.monche-site .monche-craft-planner-workspace .monche-craft-planner-summary>div,
.monche-site .monche-craft-planner-workspace .monche-craft-planner-controls>div,
.monche-site .monche-craft-planner-workspace .monche-craft-planner-controls>label,
.monche-site .monche-shot-tools-row .monche-shot-tools-metrics>div{
    background:rgba(3,13,22,.96)!important;
}
.monche-site .monche-craft-planner-workspace .monche-craft-planner-panel,
.monche-site .monche-shot-tools-row{
    border:1px solid rgba(198,158,85,.24)!important;
    border-radius:5px!important;
    background:rgba(0,16,28,.58)!important;
    box-shadow:none!important;
}
.monche-site .monche-craft-planner-workspace .monche-craft-planner-panel{
    padding:16px!important;
}
.monche-site .monche-craft-planner-workspace .monche-craft-planner-table-wrap{
    overflow:auto;
    border:1px solid rgba(198,158,85,.18)!important;
    border-radius:5px!important;
    background:rgba(3,13,22,.76)!important;
}
.monche-site .monche-craft-planner-workspace .monche-craft-planner-table thead th{
    background:rgba(198,158,85,.08)!important;
    color:rgba(238,235,226,.62)!important;
}
.monche-site .monche-craft-planner-workspace .monche-craft-planner-table tbody td{
    border-color:rgba(198,158,85,.10)!important;
    background:transparent!important;
}
.monche-site .monche-craft-planner-workspace .monche-craft-planner-controls input,
.monche-site .monche-craft-planner-workspace .monche-craft-planner-table input,
.monche-site .monche-shot-tools-row .monche-shot-tools-inputs input{
    box-sizing:border-box!important;
    border:1px solid rgba(198,158,85,.30)!important;
    background:#07131d!important;
    color:#f0f3f8!important;
    box-shadow:none!important;
    color-scheme:dark;
}
.monche-site .monche-craft-planner-workspace .monche-craft-planner-controls input:focus,
.monche-site .monche-craft-planner-workspace .monche-craft-planner-controls input:active,
.monche-site .monche-craft-planner-workspace .monche-craft-planner-table input:focus,
.monche-site .monche-craft-planner-workspace .monche-craft-planner-table input:active,
.monche-site .monche-shot-tools-row .monche-shot-tools-inputs input:focus,
.monche-site .monche-shot-tools-row .monche-shot-tools-inputs input:active{
    outline:none!important;
    border-color:rgba(226,176,86,.72)!important;
    background:#07131d!important;
    color:#f0f3f8!important;
    box-shadow:0 0 0 2px rgba(226,176,86,.08)!important;
}
.monche-site .monche-shot-tools-row .monche-shot-tools-materials a{
    border:1px solid rgba(198,158,85,.16)!important;
    border-radius:5px!important;
    background:rgba(3,13,22,.88)!important;
}
.monche-site .monche-shot-tools-row .monche-shot-tools-product strong,
.monche-site .monche-craft-planner-workspace .monche-shot-tools-product strong{
    color:#e8bd6d!important;
}
.monche-site .monche-shot-tools-row .monche-shot-tools-recipe,
.monche-site .monche-craft-planner-workspace .monche-shot-tools-recipe,
.monche-site .monche-shot-tools-row__footer button,
.monche-site .monche-shot-tools-reset-all button,
.monche-site .monche-craft-planner-footer button{
    color:#d6aa61!important;
}
.monche-site .monche-shot-tools-row .monche-shot-tools-inputs label>span,
.monche-site .monche-craft-planner-workspace .monche-craft-planner-summary span,
.monche-site .monche-craft-planner-workspace .monche-craft-planner-controls span,
.monche-site .monche-shot-tools-row .monche-shot-tools-metrics span{
    color:rgba(238,235,226,.58)!important;
}
.monche-site .monche-shot-tools-row .monche-shot-tools-metrics strong,
.monche-site .monche-craft-planner-workspace .monche-craft-planner-summary strong,
.monche-site .monche-craft-planner-workspace .monche-craft-planner-controls strong{
    color:#f0eadf!important;
}
.monche-site .monche-shot-tools-row .monche-shot-tools-metrics .is-positive strong{color:#9fd48d!important}
.monche-site .monche-shot-tools-row .monche-shot-tools-metrics .is-negative strong{color:#ef9a8f!important}
.monche-site .monche-shot-tools-row .monche-shot-tools-metrics .is-neutral strong{color:#e8bd6d!important}

/* MONCHE_R14N8F_ITEM_LOOT_SUMMARY
   Item detail only: 3 columns when they genuinely fit, 2 + full-width third card
   at medium widths, then one card per row on phones. */
.monche-site [data-monche-item-page="true"] .monche-db-detail-grid{
    grid-template-columns:repeat(3,minmax(360px,1fr))!important;
    align-items:start!important;
}
.monche-site [data-monche-item-page="true"] .monche-db-detail-card.card{
    min-width:360px!important;
    height:auto!important;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary{
    margin-top:20px;
    padding-top:18px;
    border-top:1px solid rgba(198,158,85,.20);
    min-width:0;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:10px;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__head .monche-db-card-eyebrow{
    margin:0!important;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__tabs{
    display:flex;
    align-items:center;
    gap:6px;
    margin-left:auto;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__tabs .monche-db-nav-tab{
    min-width:66px;
    padding:.38rem .62rem!important;
    text-align:center;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table-wrap{
    border:1px solid rgba(198,158,85,.18);
    border-radius:4px;
    background:rgba(0,16,28,.44);
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table{
    width:100%!important;
    min-width:340px;
    margin:0!important;
    table-layout:fixed;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:first-child,
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:first-child{
    width:auto;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:nth-child(2),
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:nth-child(2){
    width:76px;
    white-space:nowrap;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:nth-child(3),
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:nth-child(3){
    width:66px;
    white-space:nowrap;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td{
    vertical-align:middle!important;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-npc-link{
    min-width:0;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-npc-link span{
    overflow-wrap:anywhere;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__pagination{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:10px;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__pagination > span{
    color:#8f9dac;
    font-size:.78rem;
    min-width:52px;
    text-align:center;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__pagination .monche-db-nav-tab{
    min-width:34px;
    padding:.32rem .5rem!important;
    text-align:center;
}
@media (max-width:1399.98px) and (min-width:768px){
    .monche-site [data-monche-item-page="true"] .monche-db-detail-grid{
        grid-template-columns:repeat(2,minmax(360px,1fr))!important;
    }
    .monche-site [data-monche-item-page="true"] [data-monche-item-card="game-data"]{
        grid-column:1 / -1!important;
        min-width:0!important;
    }
}
@media (max-width:767.98px){
    .monche-site [data-monche-item-page="true"] .monche-db-detail-grid{
        grid-template-columns:minmax(0,1fr)!important;
    }
    .monche-site [data-monche-item-page="true"] .monche-db-detail-card.card{
        min-width:0!important;
    }
    .monche-site [data-monche-item-page="true"] [data-monche-item-card="game-data"]{
        grid-column:auto!important;
    }
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__head{
        align-items:flex-start;
        flex-direction:column;
    }
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__tabs{
        margin-left:0;
        width:100%;
    }
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__tabs .monche-db-nav-tab{
        flex:1 1 0;
    }
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table{
        min-width:0;
        font-size:.78rem;
    }
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:nth-child(2),
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:nth-child(2){
        width:66px;
    }
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:nth-child(3),
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:nth-child(3){
        width:58px;
    }
}

/* MONCHE_R14N8G_ITEM_LAYOUT_LOOT_SORT
   Item detail: first card full width; second + third cards below as equal columns.
   Non-phone rows share the same 1fr height; phone returns to natural one-column flow. */
@media (min-width:768px){
    .monche-site [data-monche-item-page="true"] .monche-db-detail-grid{
        grid-template-columns:repeat(2,minmax(360px,1fr))!important;
        grid-auto-rows:1fr!important;
        align-items:stretch!important;
    }
    .monche-site [data-monche-item-page="true"] [data-monche-item-card="summary"]{
        grid-column:1 / -1!important;
    }
    .monche-site [data-monche-item-page="true"] [data-monche-item-card="parameters"],
    .monche-site [data-monche-item-page="true"] [data-monche-item-card="game-data"]{
        grid-column:auto!important;
    }
    .monche-site [data-monche-item-page="true"] .monche-db-detail-card.card{
        height:100%!important;
        align-self:stretch!important;
    }
}
@media (max-width:767.98px){
    .monche-site [data-monche-item-page="true"] .monche-db-detail-grid{
        grid-template-columns:minmax(0,1fr)!important;
        grid-auto-rows:auto!important;
    }
    .monche-site [data-monche-item-page="true"] [data-monche-item-card="summary"],
    .monche-site [data-monche-item-page="true"] [data-monche-item-card="parameters"],
    .monche-site [data-monche-item-page="true"] [data-monche-item-card="game-data"]{
        grid-column:auto!important;
    }
    .monche-site [data-monche-item-page="true"] .monche-db-detail-card.card{
        height:auto!important;
        min-width:0!important;
    }
}

/* MONCHE_R14N8H_ITEM_TWO_CARD_LAYOUT
   Item detail: two outer cards only on non-phone screens.
   Left = item/description/loot. Right = parameters, then game data.
   Both outer cards stretch to equal height. */
.monche-site [data-monche-item-page="true"] .monche-item-detail-stack{
    display:flex;
    flex-direction:column;
    height:100%;
}
.monche-site [data-monche-item-page="true"] .monche-item-detail-stack__section{
    min-width:0;
}
.monche-site [data-monche-item-page="true"] .monche-item-detail-stack__section + .monche-item-detail-stack__section{
    margin-top:20px;
    padding-top:20px;
    border-top:1px solid rgba(198,158,85,.20);
}
@media (min-width:768px){
    .monche-site [data-monche-item-page="true"] .monche-db-detail-grid{
        grid-template-columns:repeat(2,minmax(360px,1fr))!important;
        grid-auto-rows:1fr!important;
        align-items:stretch!important;
    }
    .monche-site [data-monche-item-page="true"] [data-monche-item-card="summary"],
    .monche-site [data-monche-item-page="true"] [data-monche-item-card="details"]{
        grid-column:auto!important;
        min-width:360px!important;
        height:100%!important;
        align-self:stretch!important;
    }
    .monche-site [data-monche-item-page="true"] [data-monche-item-card="parameters"],
    .monche-site [data-monche-item-page="true"] [data-monche-item-card="game-data"]{
        grid-column:auto!important;
        min-width:0!important;
        height:auto!important;
    }
}
@media (max-width:767.98px){
    .monche-site [data-monche-item-page="true"] .monche-db-detail-grid{
        grid-template-columns:minmax(0,1fr)!important;
        grid-auto-rows:auto!important;
    }
    .monche-site [data-monche-item-page="true"] [data-monche-item-card="summary"],
    .monche-site [data-monche-item-page="true"] [data-monche-item-card="details"]{
        grid-column:auto!important;
        min-width:0!important;
        height:auto!important;
    }
}

/* MONCHE_R14N8I_ITEM_TWO_CARD_LAYOUT
   Two columns only above 992px. At 992px and below the two outer cards stack.
   Keep spacing but remove divider lines above loot and game data. */
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary{
    border-top:0!important;
}
.monche-site [data-monche-item-page="true"] .monche-item-detail-stack__section + .monche-item-detail-stack__section{
    border-top:0!important;
}
@media (min-width:992.01px){
    .monche-site [data-monche-item-page="true"] .monche-db-detail-grid{
        grid-template-columns:repeat(2,minmax(360px,1fr))!important;
        grid-auto-rows:1fr!important;
        align-items:stretch!important;
    }
    .monche-site [data-monche-item-page="true"] [data-monche-item-card="summary"],
    .monche-site [data-monche-item-page="true"] [data-monche-item-card="details"]{
        grid-column:auto!important;
        min-width:360px!important;
        height:100%!important;
        align-self:stretch!important;
    }
}
@media (max-width:992px){
    .monche-site [data-monche-item-page="true"] .monche-db-detail-grid{
        grid-template-columns:minmax(0,1fr)!important;
        grid-auto-rows:auto!important;
    }
    .monche-site [data-monche-item-page="true"] [data-monche-item-card="summary"],
    .monche-site [data-monche-item-page="true"] [data-monche-item-card="details"]{
        grid-column:auto!important;
        min-width:0!important;
        height:auto!important;
    }
}

/* MONCHE_R14N8J_ITEM_SPACING_QUANTITY
   Match subsection spacing to the 24px card inset, close both right-card lists,
   and give Quantity exactly twice the width of Chance. */
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary{
    margin-top:24px!important;
    padding-top:0!important;
    border-top:0!important;
}
.monche-site [data-monche-item-page="true"] .monche-item-detail-stack__section + .monche-item-detail-stack__section{
    margin-top:24px!important;
    padding-top:0!important;
    border-top:0!important;
}
.monche-site [data-monche-item-page="true"] [data-monche-item-card="parameters"] .monche-skill-player-list > div:last-child,
.monche-site [data-monche-item-page="true"] [data-monche-item-card="game-data"] .monche-skill-player-list > div:last-child{
    border-bottom:1px solid rgba(255,255,255,.07)!important;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:nth-child(2),
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:nth-child(2){
    width:120px!important;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:nth-child(3),
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:nth-child(3){
    width:60px!important;
}
@media (max-width:575.98px){
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:nth-child(2),
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:nth-child(2){
        width:96px!important;
    }
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:nth-child(3),
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:nth-child(3){
        width:48px!important;
    }
}

/* MONCHE_R14N8K_ITEM_FINAL_UI_BEGIN
   Final item-detail polish from user visual review:
   - last right-card separators exactly match the standard #26313c row separator;
   - Quantity header + values centered inside their own column;
   - Drop/Spoil links use the Community Telegram/Discord link-card visual language. */
.monche-site [data-monche-item-page="true"] [data-monche-item-card="parameters"] .monche-skill-player-list > div:last-child,
.monche-site [data-monche-item-page="true"] [data-monche-item-card="game-data"] .monche-skill-player-list > div:last-child{
    border-bottom:1px solid #26313c!important;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:nth-child(2),
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:nth-child(2){
    text-align:center!important;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__tabs{
    align-items:center!important;
    display:flex!important;
    flex-wrap:wrap!important;
    gap:9px!important;
    justify-content:flex-end!important;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__tabs .monche-db-nav-tab{
    align-items:center!important;
    background:rgba(7,10,15,.4)!important;
    border:1px solid hsla(0,0%,100%,.09)!important;
    border-radius:3px!important;
    color:#aeb7c4!important;
    display:inline-flex!important;
    font-size:13px!important;
    gap:9px!important;
    justify-content:center!important;
    min-height:45px!important;
    min-width:0!important;
    padding:0 16px!important;
    text-decoration:none!important;
    transition:.2s ease!important;
    width:auto!important;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__tabs .monche-db-nav-tab:hover{
    border-color:rgba(208,173,107,.34)!important;
    color:var(--l2-gold-bright)!important;
    transform:translateY(-2px)!important;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__tabs .monche-db-nav-tab.is-active{
    background:rgba(202,158,78,.08)!important;
    border-color:rgba(213,170,87,.62)!important;
    color:#efc677!important;
    transform:none!important;
}
/* MONCHE_R14N8K_ITEM_FINAL_UI_END */



/* MONCHE_R14N8M_ITEM_TABLE_INSET_SCROLLBAR_FIX_BEGIN */
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table-wrap{
    padding-left:12px!important;
    padding-right:12px!important;
    overflow-x:hidden!important;
    overflow-y:hidden!important;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table{
    min-width:0!important;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:first-child,
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:first-child{
    padding-left:0!important;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:last-child,
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:last-child{
    padding-right:0!important;
}
@media (max-width:767.98px){
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table-wrap{
        overflow-x:auto!important;
        overflow-y:hidden!important;
        padding-left:10px!important;
        padding-right:10px!important;
    }
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table{
        min-width:340px!important;
    }
}
/* MONCHE_R14N8M_ITEM_TABLE_INSET_SCROLLBAR_FIX_END */

/* MONCHE_R14N8N_ITEM_HEADER_EDGE_RESTORE_BEGIN */
/* Keep the table itself full-width so the thead paint reaches both borders.
   Preserve the visual inset on cell content instead of padding the wrapper. */
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table-wrap{
    padding-left:0!important;
    padding-right:0!important;
    overflow-x:hidden!important;
    overflow-y:hidden!important;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:first-child,
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:first-child{
    padding-left:12px!important;
}
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:last-child,
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:last-child{
    padding-right:12px!important;
}
@media (max-width:767.98px){
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table-wrap{
        padding-left:0!important;
        padding-right:0!important;
        overflow-x:auto!important;
        overflow-y:hidden!important;
    }
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:first-child,
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:first-child{
        padding-left:10px!important;
    }
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:last-child,
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:last-child{
        padding-right:10px!important;
    }
}
/* MONCHE_R14N8N_ITEM_HEADER_EDGE_RESTORE_END */

/* MONCHE_R14N8O_ITEM_CHANCE_INSET_BEGIN */
/* Mirror the visible NPC-name inset on the opposite side:
   desktop = 12px cell inset + 24px icon + 8px icon/name gap = 44px.
   mobile  = 10px cell inset + 24px icon + 8px icon/name gap = 42px. */
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:last-child,
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:last-child{
    padding-right:44px!important;
}
@media (max-width:767.98px){
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:last-child,
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:last-child{
        padding-right:42px!important;
    }
}
/* MONCHE_R14N8O_ITEM_CHANCE_INSET_END */

/* MONCHE_R14N8P_ITEM_VISIBLE_CHANCE_GAP_BEGIN */
/* R14N8O added right padding, but the 66px fixed chance-column width keeps the gap visually collapsed.
   Increase the last-column width and keep the mirrored right inset so the % value visibly pulls away from the border. */
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:last-child,
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:last-child{
    width:110px!important;
    min-width:110px!important;
    text-align:right!important;
    padding-right:44px!important;
}
@media (max-width:767.98px){
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:last-child,
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:last-child{
        width:104px!important;
        min-width:104px!important;
        padding-right:42px!important;
    }
}
/* MONCHE_R14N8P_ITEM_VISIBLE_CHANCE_GAP_END */

/* MONCHE_R14N8Q_ITEM_CHANCE_CENTER_BEGIN */
/* Rebalance the chance column after R14N8P:
   - reduce the apparent offset by ~2x;
   - center both header and values inside the chance column block. */
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:last-child,
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:last-child{
    width:88px!important;
    min-width:88px!important;
    text-align:center!important;
    padding-left:10px!important;
    padding-right:10px!important;
}
@media (max-width:767.98px){
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:last-child,
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:last-child{
        width:84px!important;
        min-width:84px!important;
        padding-left:8px!important;
        padding-right:8px!important;
    }
}
/* MONCHE_R14N8Q_ITEM_CHANCE_CENTER_END */

/* MONCHE_R14N8R_ITEM_CHANCE_VALUES_LEFT_BEGIN */
/* Keep the "ШАНС" header as-is; only align the chance values to the left side of their own column block. */
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table tbody td:last-child{
    text-align:left!important;
    padding-left:10px!important;
    padding-right:10px!important;
}
@media (max-width:767.98px){
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table tbody td:last-child{
        padding-left:8px!important;
        padding-right:8px!important;
    }
}
/* MONCHE_R14N8R_ITEM_CHANCE_VALUES_LEFT_END */

/* MONCHE_R14N8S_ITEM_CHANCE_CENTER_PLUS15_BEGIN */
/* Final chance-column rebalance:
   - header remains centered;
   - values are centered too;
   - width grows ~15% from the previous 88px baseline to 102px. */
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:last-child,
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:last-child{
    width:102px!important;
    min-width:102px!important;
    text-align:center!important;
    padding-left:10px!important;
    padding-right:10px!important;
}
@media (max-width:767.98px){
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:last-child,
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:last-child{
        width:96px!important;
        min-width:96px!important;
        padding-left:8px!important;
        padding-right:8px!important;
    }
}
/* MONCHE_R14N8S_ITEM_CHANCE_CENTER_PLUS15_END */

/* MONCHE_R14N8T_ITEM_CHANCE_CENTER_10NPC_BEGIN */
/* Final item-table tuning:
   - keep the chance column centered in its own block;
   - slightly roomy chance column;
   - works together with the existing R14N8M/R14N8N fixes. */
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:last-child,
.monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:last-child{
    width:102px!important;
    min-width:102px!important;
    text-align:center!important;
    padding-left:10px!important;
    padding-right:10px!important;
}
@media (max-width:767.98px){
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table th:last-child,
    .monche-site [data-monche-item-page="true"] .monche-item-loot-summary__table td:last-child{
        width:96px!important;
        min-width:96px!important;
        text-align:center!important;
        padding-left:8px!important;
        padding-right:8px!important;
    }
}
/* MONCHE_R14N8T_ITEM_CHANCE_CENTER_10NPC_END */


/* MONCHE_R14P2B_NPC_VARIANT_SWITCH_BEGIN */
.monche-site .monche-npc-variant-switch{
    display:inline-flex;
    align-items:center;
    gap:.42rem;
    min-height:1.4rem;
    margin:0 0 .08rem 0;
    font-size:.72rem;
    line-height:1;
    letter-spacing:.02em;
}
.monche-site .monche-npc-variant-option{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:1.4rem;
    padding:.16rem .38rem;
    border:1px solid transparent;
    border-radius:.28rem;
    color:#9ea6b2;
    text-decoration:none;
    transition:border-color .15s ease,color .15s ease,background .15s ease;
}
.monche-site .monche-npc-variant-option:hover{
    color:#e8ddd0;
    border-color:rgba(202,158,78,.35);
    text-decoration:none;
}
.monche-site .monche-npc-variant-option.is-active{
    color:#efc677;
    border-color:rgba(213,170,87,.62);
    background:rgba(202,158,78,.08);
}
.monche-site .monche-npc-variant-separator{
    color:rgba(255,255,255,.24);
    user-select:none;
}
/* MONCHE_R14P2B_NPC_VARIANT_SWITCH_END */

/* MONCHE_R14P3B_NPC_ITEM_CLONE_LAYOUT_BEGIN */
.monche-site [data-monche-npc-page="true"] .monche-npc-media-headline{
    display:flex;
    flex-direction:column;
    gap:.58rem;
    margin:0 0 .9rem 0 !important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-name-cluster--b4g{
    display:flex;
    flex-direction:column;
    gap:.38rem;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-name-line{
    display:flex;
    align-items:center;
    gap:.6rem;
    flex-wrap:wrap;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-media-name{
    margin:0 !important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-page-panel-title{
    margin:0 0 .9rem 0;
    font-size:1.15rem;
    line-height:1.2;
    color:#f4f1e9;
    font-weight:700;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-panel-empty{
    margin:0;
    color:rgba(233,236,241,.68);
}
.monche-site [data-monche-npc-page="true"] .monche-npc-panel-table td:nth-child(2),
.monche-site [data-monche-npc-page="true"] .monche-npc-panel-table th:nth-child(2){
    width:120px;
    min-width:120px;
    text-align:center;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-panel-table td:last-child,
.monche-site [data-monche-npc-page="true"] .monche-npc-panel-table th:last-child{
    width:110px;
    min-width:110px;
    text-align:center;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-panel-table td:first-child,
.monche-site [data-monche-npc-page="true"] .monche-npc-panel-table th:first-child{
    text-align:left;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-panel-table .monche-icon-cell{
    width:42px;
    min-width:42px;
    text-align:center;
}
.monche-site [data-monche-npc-page="true"] [data-monche-npc-section="visual"] .monche-npc-visual-grid{
    margin-top:.2rem;
}
.monche-site [data-monche-npc-page="true"] [data-monche-npc-section="panels"] .monche-db-card-eyebrow{
    margin-bottom:0;
}
@media (max-width: 991.98px){
    .monche-site [data-monche-npc-page="true"] .monche-npc-panel-table td:nth-child(2),
    .monche-site [data-monche-npc-page="true"] .monche-npc-panel-table th:nth-child(2){
        width:96px;
        min-width:96px;
    }
    .monche-site [data-monche-npc-page="true"] .monche-npc-panel-table td:last-child,
    .monche-site [data-monche-npc-page="true"] .monche-npc-panel-table th:last-child{
        width:92px;
        min-width:92px;
    }
}
@media (max-width: 575.98px){
    .monche-site [data-monche-npc-page="true"] .monche-npc-page-panel-title{
        font-size:1.02rem;
    }
    .monche-site [data-monche-npc-page="true"] .monche-npc-panel-table td:nth-child(2),
    .monche-site [data-monche-npc-page="true"] .monche-npc-panel-table th:nth-child(2){
        width:88px;
        min-width:88px;
    }
    .monche-site [data-monche-npc-page="true"] .monche-npc-panel-table td:last-child,
    .monche-site [data-monche-npc-page="true"] .monche-npc-panel-table th:last-child{
        width:84px;
        min-width:84px;
    }
}
/* MONCHE_R14P3B_NPC_ITEM_CLONE_LAYOUT_END */

/* MONCHE_R14P3E_NPC_SWAP_COMPACT_PARAMS_BEGIN */
.monche-site [data-monche-npc-page="true"] .monche-npc-detail-grid--p3e{display:grid!important;grid-template-columns:minmax(680px,1fr) 330px!important;gap:16px!important;align-items:start!important}
.monche-site [data-monche-npc-page="true"] .monche-npc-primary-card{grid-column:1!important;grid-row:1!important;min-width:0!important;width:100%!important}
.monche-site [data-monche-npc-page="true"] .monche-npc-parameter-card{grid-column:2!important;grid-row:1!important;width:330px!important;min-width:330px!important;max-width:330px!important}
.monche-site [data-monche-npc-page="true"] .monche-npc-parameter-card .card-body{min-width:0!important}
.monche-site [data-monche-npc-page="true"] .monche-npc-parameter-card .monche-db-card-eyebrow{margin-bottom:.62rem!important}
.monche-site [data-monche-npc-page="true"] .monche-npc-parameter-card .monche-skill-player-list>div{grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important}
.monche-site [data-monche-npc-page="true"] .monche-npc-parameter-card .monche-skill-player-list dd{text-align:right!important;white-space:nowrap!important}
.monche-site [data-monche-npc-page="true"] [data-monche-npc-section="panels"] .monche-item-loot-summary__head{margin-bottom:10px!important}
.monche-site [data-monche-npc-page="true"] .monche-npc-panel-empty{margin:0!important;padding:.35rem 0!important;color:rgba(233,236,241,.62)!important}
.monche-site [data-monche-npc-page="true"] .monche-npc-panel-table td:nth-child(2),.monche-site [data-monche-npc-page="true"] .monche-npc-panel-table th:nth-child(2){width:120px!important;min-width:120px!important;text-align:center!important}
.monche-site [data-monche-npc-page="true"] .monche-npc-panel-table td:last-child,.monche-site [data-monche-npc-page="true"] .monche-npc-panel-table th:last-child{width:102px!important;min-width:102px!important;text-align:center!important}
.monche-site [data-monche-npc-page="true"] .monche-npc-quest-table td:first-child,.monche-site [data-monche-npc-page="true"] .monche-npc-quest-table th:first-child{width:auto!important;text-align:left!important}
.monche-site [data-monche-npc-page="true"] .monche-npc-quest-table td:nth-child(2),.monche-site [data-monche-npc-page="true"] .monche-npc-quest-table th:nth-child(2){width:96px!important;min-width:96px!important;text-align:center!important}
.monche-site [data-monche-npc-page="true"] .monche-npc-quest-link{color:#9fc9ee!important;text-decoration:none!important}
.monche-site [data-monche-npc-page="true"] .monche-npc-quest-link:hover,.monche-site [data-monche-npc-page="true"] .monche-npc-quest-link:focus-visible{color:#c6def5!important}
@media (max-width:1279.98px){.monche-site [data-monche-npc-page="true"] .monche-npc-detail-grid--p3e{grid-template-columns:minmax(0,1fr)!important}.monche-site [data-monche-npc-page="true"] .monche-npc-primary-card{grid-column:1!important;grid-row:1!important}.monche-site [data-monche-npc-page="true"] .monche-npc-parameter-card{grid-column:1!important;grid-row:2!important;width:100%!important;min-width:0!important;max-width:none!important}}
@media (max-width:575.98px){.monche-site [data-monche-npc-page="true"] .monche-npc-detail-grid--p3e{gap:12px!important}.monche-site [data-monche-npc-page="true"] .monche-npc-panel-table td:nth-child(2),.monche-site [data-monche-npc-page="true"] .monche-npc-panel-table th:nth-child(2){width:88px!important;min-width:88px!important}.monche-site [data-monche-npc-page="true"] .monche-npc-panel-table td:last-child,.monche-site [data-monche-npc-page="true"] .monche-npc-panel-table th:last-child{width:84px!important;min-width:84px!important}}
/* MONCHE_R14P3E_NPC_SWAP_COMPACT_PARAMS_END */

/* MONCHE_R14P3I_NPC_RESPONSIVE_LOCATION_HERBS_BEGIN */
.monche-site [data-monche-npc-page="true"] .monche-npc-location-link,
.monche-site [data-monche-npc-page="true"] .monche-npc-location-link:visited{
    color:#73b4f3!important;
    text-decoration:none!important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-location-link:hover,
.monche-site [data-monche-npc-page="true"] .monche-npc-location-link:focus-visible{
    color:#8fc8ff!important;
    text-decoration:none!important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-panel-table th:last-child,
.monche-site [data-monche-npc-page="true"] .monche-npc-panel-table td:last-child{
    text-align:center!important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-map-empty[hidden]{
    display:none!important;
}
@media (max-width:991.98px){
    .monche-site [data-monche-npc-page="true"] .monche-npc-map-column.monche-npc-media-column{
        width:100%!important;
        max-width:600px!important;
        min-width:0!important;
    }
    .monche-site [data-monche-npc-page="true"] .monche-npc-visual-grid.monche-npc-visual-grid--quest{
        display:grid!important;
        grid-template-columns:minmax(0,1fr) clamp(10px,3.333vw,20px) minmax(0,1fr)!important;
        grid-template-rows:minmax(0,1fr)!important;
        width:min(600px,100%)!important;
        max-width:600px!important;
        min-width:0!important;
        aspect-ratio:600 / 315!important;
        height:auto!important;
        min-height:0!important;
        gap:0!important;
        align-items:stretch!important;
        overflow:hidden!important;
    }
    .monche-site [data-monche-npc-page="true"] .monche-npc-portrait-unit{
        grid-column:1!important;
        grid-row:1!important;
        order:0!important;
    }
    .monche-site [data-monche-npc-page="true"] .monche-npc-quest-divider-column{
        grid-column:2!important;
        grid-row:1!important;
        order:0!important;
    }
    .monche-site [data-monche-npc-page="true"] .monche-npc-map-unit{
        grid-column:3!important;
        grid-row:1!important;
        order:0!important;
    }
    .monche-site [data-monche-npc-page="true"] .monche-npc-visual-unit,
    .monche-site [data-monche-npc-page="true"] .monche-npc-quest-divider-column{
        position:relative!important;
        width:100%!important;
        height:100%!important;
        min-height:0!important;
        margin:0!important;
        padding:0!important;
        overflow:hidden!important;
    }
    .monche-site [data-monche-npc-page="true"] .monche-npc-quest-frame,
    .monche-site [data-monche-npc-page="true"] .monche-npc-map-frame.monche-npc-quest-frame,
    .monche-site [data-monche-npc-page="true"] .monche-npc-portrait-frame.monche-npc-quest-frame{
        width:100%!important;
        height:100%!important;
        min-height:0!important;
        max-width:none!important;
    }
    .monche-site [data-monche-npc-page="true"] .monche-npc-quest-divider{
        width:100%!important;
        height:100%!important;
        min-height:0!important;
        flex-direction:column!important;
        padding:0!important;
        justify-content:space-evenly!important;
    }
    .monche-site [data-monche-npc-page="true"] .monche-npc-quest-divider span{
        writing-mode:vertical-rl!important;
        text-orientation:mixed!important;
        transform:rotate(180deg)!important;
        white-space:nowrap!important;
        font-size:.72rem!important;
        font-weight:700!important;
        letter-spacing:.08em!important;
        line-height:1!important;
    }
    .monche-site [data-monche-npc-page="true"] .monche-npc-visual-title--spacer{
        display:block!important;
        visibility:hidden!important;
        position:absolute!important;
    }
}
/* MONCHE_R14P3I_NPC_RESPONSIVE_LOCATION_HERBS_END */


/* MONCHE_R14P3L_NPC_GRID_LOCATION_TITLE_BEGIN */
.monche-site [data-monche-npc-page="true"] .monche-npc-detail-grid--p3e{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 330px!important;
    gap:16px!important;
    align-items:start!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-primary-card{
    grid-column:1!important;
    grid-row:1!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    justify-self:stretch!important;
    box-sizing:border-box!important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-parameter-card{
    grid-column:2!important;
    grid-row:1!important;
    width:330px!important;
    min-width:330px!important;
    max-width:330px!important;
    justify-self:end!important;
    box-sizing:border-box!important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-media-name{
    font-size:24px!important;
    line-height:1.15!important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-location-link,
.monche-site [data-monche-npc-page="true"] .monche-npc-location-link:visited{
    color:#73b4f3!important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-location-link:hover,
.monche-site [data-monche-npc-page="true"] .monche-npc-location-link:focus-visible{
    color:#8fc8ff!important;
}
@media (max-width:1279.98px){
    .monche-site [data-monche-npc-page="true"] .monche-npc-detail-grid--p3e{
        grid-template-columns:minmax(0,1fr)!important;
    }
    .monche-site [data-monche-npc-page="true"] .monche-npc-primary-card{
        grid-column:1!important;
        grid-row:1!important;
    }
    .monche-site [data-monche-npc-page="true"] .monche-npc-parameter-card{
        grid-column:1!important;
        grid-row:2!important;
        width:100%!important;
        min-width:0!important;
        max-width:100%!important;
        justify-self:stretch!important;
    }
}
/* MONCHE_R14P3L_NPC_GRID_LOCATION_TITLE_END */


/* MONCHE_R14P3M_NPC_STATS_ITEMS_VARIANTS_BEGIN */
.monche-site [data-monche-npc-page="true"] .monche-npc-variant-switch{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-variant-separator{
    display:none!important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-variant-option{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:28px!important;
    padding:4px 10px!important;
    border:1px solid rgba(176,188,202,.28)!important;
    border-radius:4px!important;
    background:rgba(5,18,28,.34)!important;
    color:#b9c5d4!important;
    text-decoration:none!important;
    line-height:1!important;
    box-sizing:border-box!important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-variant-option:hover,
.monche-site [data-monche-npc-page="true"] .monche-npc-variant-option:focus-visible{
    border-color:rgba(203,160,71,.55)!important;
    color:#f0e7d1!important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-variant-option.is-active{
    border-color:#9f7b2f!important;
    color:#e6e0d5!important;
    background:rgba(159,123,47,.10)!important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-aggressive-yes{
    color:#c87979!important;
    font-weight:600!important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-aggressive-no{
    color:#79b88b!important;
    font-weight:600!important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-hp{
    color:#c98585!important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-mp{
    color:#7fa9d9!important;
}
.monche-site [data-monche-npc-page="true"] .monche-npc-panel-table .monche-npc-loot-number{
    width:132px!important;
    min-width:132px!important;
    max-width:132px!important;
    text-align:center!important;
    font-size:inherit!important;
    font-weight:inherit!important;
    font-variant-numeric:tabular-nums!important;
}
@media (min-width:1280px){
    .monche-site [data-monche-npc-page="true"] .monche-npc-detail-grid--p3e{
        align-items:stretch!important;
    }
    .monche-site [data-monche-npc-page="true"] .monche-npc-primary-card,
    .monche-site [data-monche-npc-page="true"] .monche-npc-parameter-card{
        height:100%!important;
        align-self:stretch!important;
    }
    .monche-site [data-monche-npc-page="true"] .monche-npc-parameter-card > .card-body{
        min-height:100%!important;
        box-sizing:border-box!important;
    }
}
@media (max-width:1279.98px){
    .monche-site [data-monche-npc-page="true"] .monche-npc-primary-card,
    .monche-site [data-monche-npc-page="true"] .monche-npc-parameter-card{
        height:auto!important;
        align-self:auto!important;
    }
    .monche-site [data-monche-npc-page="true"] .monche-npc-parameter-card > .card-body{
        min-height:0!important;
    }
}
@media (max-width:575.98px){
    .monche-site [data-monche-npc-page="true"] .monche-npc-panel-table .monche-npc-loot-number{
        width:92px!important;
        min-width:92px!important;
        max-width:92px!important;
    }
}
/* MONCHE_R14P3M_NPC_STATS_ITEMS_VARIANTS_END */

/* MONCHE_R14P4F_EMPTY_TABS_BORDERS_BEGIN */
.monche-site [data-monche-npc-page="true"] [data-monche-npc-parameters="true"] > div:last-child,
.monche-site [data-monche-npc-page="true"] [data-monche-npc-combat="true"] > div:last-child,
.monche-site [data-monche-npc-page="true"] [data-monche-npc-row="location"],
.monche-site [data-monche-npc-page="true"] [data-monche-npc-row="con-men"]{
    border-bottom:1px solid rgba(148,163,184,.16)!important;
}
.monche-site [data-monche-npc-page="true"] .monche-item-loot-summary__tabs:empty{
    display:none!important;
}
@media (min-width:1280px){
    .monche-site [data-monche-npc-page="true"] .monche-npc-parameter-card > .card-body{
        border-radius:0!important;
        overflow:hidden!important;
    }
    .monche-site [data-monche-npc-page="true"] .monche-npc-parameter-card .monche-item-detail-stack__section{
        border-radius:0!important;
    }
}
/* MONCHE_R14P4F_EMPTY_TABS_BORDERS_END */


/* MONCHE_R14P4Q_NPC_MAIN_INDEX_V2_BEGIN
   /npcs only: Items-derived surface language, rebuilt for NPC identity.
   Category pages intentionally remain on their existing table in this pass. */
.monche-site [data-monche-npc-index-v2="true"]{
    display:block;
    min-width:0;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__hero{
    align-items:flex-end;
    display:flex;
    gap:18px;
    justify-content:space-between;
    margin:0 0 13px;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__hero h1{
    color:#f2f0ea;
    font-size:clamp(24px,2.4vw,32px)!important;
    line-height:1.18!important;
    margin:0!important;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__hero p{
    color:#8695a4;
    font-size:.84rem;
    line-height:1.45;
    margin:5px 0 0;
    max-width:760px;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__total{
    align-items:flex-end;
    display:flex;
    flex-direction:column;
    line-height:1;
    padding-bottom:2px;
    white-space:nowrap;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__total strong{
    color:#d8b55f;
    font-size:1.05rem;
    font-weight:700;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__total span{
    color:#778797;
    font-size:.68rem;
    margin-top:4px;
    text-transform:uppercase;
    letter-spacing:.055em;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__categories{
    align-items:center;
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin:0 0 12px;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__categories .monche-db-nav-tab{
    flex:0 0 auto;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__search{
    background:linear-gradient(180deg,rgba(1,14,23,.62),rgba(3,10,16,.66));
    border:1px solid rgba(208,173,107,.15);
    border-radius:4px;
    margin:0 0 12px;
    padding:10px;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__search-form{
    align-items:center;
    display:grid;
    gap:8px;
    grid-template-columns:auto minmax(0,1fr) auto auto;
    margin:0;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__search-icon{
    align-items:center;
    color:#718396;
    display:flex;
    font-size:1.15rem;
    height:34px;
    justify-content:center;
    width:28px;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__search input{
    background:rgba(1,7,12,.72);
    border:1px solid rgba(255,255,255,.09);
    border-radius:3px;
    color:#edf1f5;
    font:inherit;
    height:36px;
    min-width:0;
    outline:none;
    padding:0 11px;
    width:100%;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__search input:focus{
    border-color:rgba(214,180,95,.42);
    box-shadow:0 0 0 2px rgba(214,180,95,.055);
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__search input::placeholder{
    color:#637384;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__search button{
    background:rgba(202,158,78,.09);
    border:1px solid rgba(213,170,87,.45);
    border-radius:3px;
    color:#e0bd6d;
    cursor:pointer;
    font:inherit;
    font-size:.82rem;
    font-weight:700;
    height:36px;
    padding:0 15px;
    transition:border-color .14s ease,background .14s ease,color .14s ease;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__search button:hover{
    background:rgba(202,158,78,.16);
    border-color:rgba(226,190,112,.62);
    color:#f0cf86;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__clear{
    color:#8796a6;
    font-size:.78rem;
    text-decoration:none;
    white-space:nowrap;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__clear:hover{
    color:#d6b45f;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__panel{
    container-type:inline-size;
    margin-top:0;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__panel-head{
    align-items:flex-end;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__panel-head > div{
    min-width:0;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__panel-head h2{
    margin-bottom:0!important;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__panel-head small{
    color:#7f8d9d;
    display:block;
    font-size:.72rem;
    margin-top:3px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__grid{
    display:grid;
    gap:10px;
    grid-template-columns:minmax(0,1fr);
    min-width:0;
}
@container (min-width:760px){
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@container (min-width:1320px){
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card{
    align-items:center;
    background:
        radial-gradient(circle at 0 50%,rgba(207,166,82,.055),transparent 38%),
        linear-gradient(180deg,rgba(0,16,28,.78),rgba(4,11,17,.91));
    border:1px solid rgba(208,173,107,.14);
    border-radius:4px;
    color:inherit;
    display:grid;
    gap:12px;
    grid-template-columns:minmax(0,1fr) auto;
    min-height:64px;
    min-width:0;
    padding:9px 10px;
    position:relative;
    text-decoration:none;
    transition:border-color .14s ease,background .14s ease,transform .14s ease;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card::before{
    background:rgba(214,180,95,.36);
    bottom:10px;
    content:"";
    left:0;
    opacity:.45;
    position:absolute;
    top:10px;
    width:1px;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card:hover,
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card:focus-visible{
    background:
        radial-gradient(circle at 0 50%,rgba(207,166,82,.09),transparent 42%),
        linear-gradient(180deg,rgba(5,23,36,.91),rgba(5,13,20,.97));
    border-color:rgba(214,180,95,.37);
    outline:none;
    transform:translateY(-1px);
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__identity{
    align-items:center;
    display:flex;
    gap:10px;
    min-width:0;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__icon-wrap{
    align-items:center;
    background:rgba(0,0,0,.28);
    border:1px solid rgba(214,180,95,.24);
    border-radius:3px;
    display:flex;
    flex:0 0 46px;
    height:46px;
    justify-content:center;
    overflow:hidden;
    width:46px;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__icon{
    display:block;
    height:44px!important;
    max-height:44px!important;
    max-width:44px!important;
    object-fit:contain;
    width:44px!important;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__portrait{
    object-fit:cover;
    transform:translateY(-2.5%) scale(1.05);
    transform-origin:center top;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__copy{
    display:grid;
    gap:4px;
    min-width:0;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__title{
    color:#e3e9ef;
    display:block;
    font-size:.94rem;
    font-weight:700;
    line-height:1.22;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card:hover .monche-npc-catalog-card__title{
    color:#f4f1ea;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__meta{
    align-items:center;
    color:#8190a0;
    display:flex;
    flex-wrap:wrap;
    font-size:.74rem;
    gap:5px;
    line-height:1.2;
    min-width:0;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__role{
    color:#b7c2cd;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__role--raid{
    color:#d6b45f;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__role--monster{
    color:#c6a7a2;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__role--teleporter,
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__role--guild{
    color:#9db6ce;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__role--merchant,
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__role--blacksmith,
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__role--warehouse{
    color:#c3b28c;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__role--guard{
    color:#a9b7c4;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__role--treasure{
    color:#cfb875;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__dot{
    color:#4f5c68;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__stats{
    align-items:stretch;
    align-self:center;
    display:flex;
    flex:0 0 auto;
    gap:5px;
    justify-self:end;
    margin:0;
    white-space:nowrap;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__stats > div{
    background:rgba(0,8,14,.46);
    border:1px solid rgba(208,173,107,.13);
    border-radius:3px;
    min-width:58px;
    padding:5px 6px;
    text-align:center;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__stats dt{
    color:#748596;
    font-size:.64rem!important;
    font-weight:500!important;
    line-height:1.05!important;
    text-align:center!important;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__stats dd{
    color:#dce3eb;
    font-size:.82rem!important;
    font-weight:700;
    line-height:1.15!important;
    margin:3px 0 0;
    text-align:center!important;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__pagination{
    justify-content:center;
    margin:22px auto 4px;
    width:100%;
}
@media(max-width:767.98px){
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__categories{
        gap:6px;
    }
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__categories .monche-db-nav-tab{
        font-size:.78rem!important;
        padding-left:9px!important;
        padding-right:9px!important;
    }
}
@media(max-width:575.98px){
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__hero{
        align-items:flex-start;
        flex-direction:column;
        gap:7px;
    }
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__total{
        align-items:flex-start;
        flex-direction:row;
        gap:6px;
        padding:0;
    }
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__total span{
        margin-top:2px;
    }
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__search{
        padding:8px;
    }
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__search-form{
        grid-template-columns:auto minmax(0,1fr) auto;
    }
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__clear{
        display:none;
    }
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card{
        gap:7px;
        padding:8px;
    }
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__icon-wrap{
        flex-basis:42px;
        height:42px;
        width:42px;
    }
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__icon{
        height:40px!important;
        max-height:40px!important;
        max-width:40px!important;
        width:40px!important;
    }
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__stats{
        gap:4px;
    }
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__stats > div{
        min-width:52px;
        padding:4px;
    }
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__title{
        font-size:.88rem;
    }
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__meta{
        font-size:.7rem;
    }
}
@media(max-width:420px){
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card{
        align-items:start;
        grid-template-columns:minmax(0,1fr);
    }
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__stats{
        justify-self:stretch;
        padding-left:52px;
        width:auto;
    }
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-catalog-card__stats > div{
        flex:1 1 0;
    }
}
/* MONCHE_R14P4Q_NPC_MAIN_INDEX_V2_END */

/* MONCHE_R14P4U_NPC_LOCATIONSTYLE_SEARCH_BEGIN
   Search composition follows Location/Index: divider + eyebrow + compact form.
   Visuals are scoped to the NPC index and adapted to the current site skin. */
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__hero{
    align-items:flex-start!important;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__divider{
    background:rgba(227,177,83,.16);
    height:1px;
    margin:18px 0;
    width:100%;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__location-search{
    margin:0 0 14px;
    max-width:560px;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__location-search .monche-db-card-eyebrow{
    margin:0 0 8px!important;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__location-search-form{
    align-items:stretch;
    display:flex;
    gap:8px;
    margin:0!important;
    max-width:560px!important;
    width:100%!important;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__location-search-form input{
    background:rgba(1,8,14,.74)!important;
    border:1px solid rgba(255,255,255,.10)!important;
    border-radius:3px!important;
    color:#edf1f5!important;
    flex:1 1 auto!important;
    font:inherit!important;
    height:38px!important;
    min-width:0!important;
    padding:0 11px!important;
    width:auto!important;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__location-search-form input::placeholder{
    color:#647587!important;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__location-search-form input:focus{
    border-color:rgba(214,180,95,.45)!important;
    box-shadow:0 0 0 2px rgba(214,180,95,.055)!important;
    outline:none!important;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__location-search-form button{
    background:rgba(202,158,78,.09)!important;
    border:1px solid rgba(213,170,87,.44)!important;
    border-radius:3px!important;
    color:#e0bd6d!important;
    cursor:pointer!important;
    flex:0 0 auto!important;
    font:inherit!important;
    font-size:.82rem!important;
    font-weight:700!important;
    height:38px!important;
    margin:0!important;
    padding:0 16px!important;
}
.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__location-search-form button:hover{
    background:rgba(202,158,78,.15)!important;
    border-color:rgba(226,190,112,.60)!important;
    color:#f0cf86!important;
}
@media(max-width:575.98px){
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__divider{
        margin:14px 0;
    }
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__location-search,
    .monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__location-search-form{
        max-width:none!important;
    }
}
/* MONCHE_R14P4U_NPC_LOCATIONSTYLE_SEARCH_END */

/* MONCHE_R14P5A_LOCATION_INDEX_V2_BEGIN */
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__content{display:block;min-width:0;padding:28px 28px 12px}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__hero{margin:0 0 13px}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__hero h1{color:#f2f0ea;font-size:clamp(24px,2.4vw,32px)!important;line-height:1.18!important;margin:0!important}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__hero p{color:#8695a4;font-size:.84rem;line-height:1.45;margin:5px 0 0;max-width:760px}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__categories{align-items:center;display:flex;flex-wrap:wrap;gap:7px;margin:0}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__categories .monche-db-nav-tab{flex:0 0 auto}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__divider{background:rgba(227,177,83,.16);height:1px;margin:18px 0;width:100%}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__search{margin:0 0 14px;max-width:560px}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__search .monche-db-card-eyebrow{margin:0 0 8px!important}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__search-form{align-items:stretch;display:flex;gap:8px;margin:0!important;max-width:560px!important;width:100%!important}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__search-form input[type="search"]{background:rgba(1,8,14,.74)!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:3px!important;color:#edf1f5!important;flex:1 1 auto!important;font:inherit!important;height:38px!important;min-width:0!important;padding:0 11px!important;width:auto!important}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__search-form input[type="search"]::placeholder{color:#647587!important}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__search-form input[type="search"]:focus{border-color:rgba(214,180,95,.45)!important;box-shadow:0 0 0 2px rgba(214,180,95,.055)!important;outline:none!important}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__search-form button{background:rgba(202,158,78,.09)!important;border:1px solid rgba(213,170,87,.44)!important;border-radius:3px!important;color:#e0bd6d!important;cursor:pointer!important;flex:0 0 auto!important;font:inherit!important;font-size:.82rem!important;font-weight:700!important;height:38px!important;margin:0!important;padding:0 16px!important}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__panel{container-type:inline-size;margin-top:0}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__panel-head{align-items:flex-end}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__panel-head>div{min-width:0}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__panel-head h2{margin-bottom:0!important}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__panel-head small{color:#7f8d9d;display:block;font-size:.72rem;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__grid{display:grid;gap:10px;grid-template-columns:minmax(0,1fr);min-width:0}
@container (min-width:720px){.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (min-width:1180px){.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.monche-site [data-monche-location-index-v2="true"] .monche-location-catalog-card{align-items:center;background:radial-gradient(circle at 0 50%,rgba(207,166,82,.05),transparent 38%),linear-gradient(180deg,rgba(0,16,28,.78),rgba(4,11,17,.91));border:1px solid rgba(208,173,107,.14);border-radius:4px;color:inherit;display:grid;gap:12px;grid-template-columns:minmax(0,1fr) auto;min-height:64px;min-width:0;padding:9px 10px;position:relative;text-decoration:none;transition:border-color .14s ease,background .14s ease,transform .14s ease}
.monche-site [data-monche-location-index-v2="true"] .monche-location-catalog-card::before{background:rgba(214,180,95,.36);bottom:10px;content:"";left:0;opacity:.45;position:absolute;top:10px;width:1px}
.monche-site [data-monche-location-index-v2="true"] .monche-location-catalog-card:hover,.monche-site [data-monche-location-index-v2="true"] .monche-location-catalog-card:focus-visible{background:radial-gradient(circle at 0 50%,rgba(207,166,82,.09),transparent 42%),linear-gradient(180deg,rgba(5,23,36,.91),rgba(5,13,20,.97));border-color:rgba(214,180,95,.37);outline:none;transform:translateY(-1px)}
.monche-site [data-monche-location-index-v2="true"] .monche-location-catalog-card__identity{align-items:center;display:flex;gap:10px;min-width:0}
.monche-site [data-monche-location-index-v2="true"] .monche-location-catalog-card__pin{align-items:center;background:rgba(0,0,0,.28);border:1px solid rgba(214,180,95,.24);border-radius:3px;display:flex;flex:0 0 42px;height:42px;justify-content:center;width:42px}
.monche-site [data-monche-location-index-v2="true"] .monche-location-catalog-card__pin svg{fill:none;height:23px;stroke:#c6a85c;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5;width:23px}
.monche-site [data-monche-location-index-v2="true"] .monche-location-catalog-card__copy{display:grid;gap:4px;min-width:0}
.monche-site [data-monche-location-index-v2="true"] .monche-location-catalog-card__copy>strong{color:#e3e9ef;display:block;font-size:.94rem;font-weight:700;line-height:1.22;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.monche-site [data-monche-location-index-v2="true"] .monche-location-catalog-card__meta{align-items:center;color:#8190a0;display:flex;flex-wrap:wrap;font-size:.74rem;gap:5px;line-height:1.2}
.monche-site [data-monche-location-index-v2="true"] .monche-location-catalog-card__map{color:#9db6ce}
.monche-site [data-monche-location-index-v2="true"] .monche-location-catalog-card__dot{color:#4f5c68}
.monche-site [data-monche-location-index-v2="true"] .monche-location-catalog-card__quest{background:rgba(0,8,14,.46);border:1px solid rgba(208,173,107,.13);border-radius:3px;display:grid;min-width:58px;padding:5px 7px;text-align:center}
.monche-site [data-monche-location-index-v2="true"] .monche-location-catalog-card__quest small{color:#748596;font-size:.64rem;line-height:1.05}
.monche-site [data-monche-location-index-v2="true"] .monche-location-catalog-card__quest strong{color:#dce3eb;font-size:.82rem;line-height:1.15;margin-top:3px}
@media(max-width:767.98px){.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__content{padding:22px 18px 10px}.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__categories{gap:6px}}
@media(max-width:575.98px){.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__content{padding:18px 12px 8px}.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__divider{margin:14px 0}.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__search,.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__search-form{max-width:none!important}}
/* MONCHE_R14P5A_LOCATION_INDEX_V2_END */

/* Locations category navigation — Elarion */
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__categories{gap:8px;padding:4px 0 6px}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__categories .monche-db-nav-tab{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 14px;border:1px solid rgba(205,170,103,.22);border-radius:6px;background:rgba(8,21,31,.75);color:#aebbc8;font-size:.8rem;font-weight:600;line-height:1.2;text-decoration:none;transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__categories .monche-db-nav-tab:hover{background:rgba(201,158,77,.12);border-color:rgba(221,181,101,.55);color:#f0d59a}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__categories .monche-db-nav-tab.is-active{background:linear-gradient(180deg,rgba(199,157,76,.25),rgba(145,101,35,.17));border-color:#d4ac65;color:#ffe1a0;box-shadow:inset 0 1px 0 rgba(255,226,163,.12),0 0 0 1px rgba(212,172,101,.08)}
.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__categories .monche-db-nav-tab:focus-visible{outline:2px solid #e3bb73;outline-offset:3px}
@media(max-width:575.98px){.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__categories{gap:6px}.monche-site [data-monche-location-index-v2="true"] .monche-location-index-v2__categories .monche-db-nav-tab{min-height:34px;padding:7px 11px;font-size:.76rem}}

/* Unified database controls — match active sidebar menu */
body.monche-site .monche-db-nav-tab,
body.monche-site .monche-db-nav-tab.is-active,
body.monche-site .monche-db-search-form button,
body.monche-site .monche-craft-planner-search__form button,
body.monche-site .monche-farm-spoil-filters button,
body.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__search button {
  background: linear-gradient(90deg,rgba(201,164,95,.11),rgba(201,164,95,.025)) !important;
  border: 1px solid rgba(201,164,95,.42) !important;
  border-radius: 4px !important;
  color: #f0f2f5 !important;
  box-shadow: none !important;
}
body.monche-site .monche-db-nav-tab:hover,
body.monche-site .monche-db-nav-tab:focus-visible,
body.monche-site .monche-db-search-form button:hover,
body.monche-site .monche-craft-planner-search__form button:hover,
body.monche-site .monche-farm-spoil-filters button:hover,
body.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__search button:hover {
  background: linear-gradient(90deg,rgba(201,164,95,.18),rgba(201,164,95,.045)) !important;
  border-color: rgba(201,164,95,.65) !important;
  color: #fff !important;
}

/* Database explorer tabs — sidebar active style */
body.monche-site .monche-db-tab,
body.monche-site .monche-db-tab.is-active {
  background: linear-gradient(90deg,rgba(201,164,95,.11),rgba(201,164,95,.025)) !important;
  border-color: rgba(201,164,95,.42) !important;
  border-radius: 4px !important;
  color: #f0f2f5 !important;
  box-shadow: none !important;
}
body.monche-site .monche-db-tab:hover,
body.monche-site .monche-db-tab:focus-visible {
  background: linear-gradient(90deg,rgba(201,164,95,.18),rgba(201,164,95,.045)) !important;
  border-color: rgba(201,164,95,.65) !important;
  color: #fff !important;
}

/* Database controls: sidebar typography and selected-only gold border */
body.monche-site .monche-db-nav-tab,
body.monche-site .monche-db-tab,
body.monche-site .monche-db-search-form button,
body.monche-site .monche-craft-planner-search__form button,
body.monche-site .monche-farm-spoil-filters button,
body.monche-site [data-monche-npc-index-v2="true"] .monche-npc-index-v2__search button {
  font-family: "Elarion Text", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  border: 1px solid rgb(47 51 54) !important;
  color: #aeb7c5 !important;
}
body.monche-site .monche-db-nav-tab.is-active,
body.monche-site .monche-db-tab.is-active {
  border: 1px solid rgba(201,164,95,.42) !important;
  color: #f0f2f5 !important;
}
body.monche-site .monche-db-nav-tab:hover:not(.is-active),
body.monche-site .monche-db-tab:hover:not(.is-active) {
  border-color: rgb(47 51 54) !important;
  color: #eef1f5 !important;
}

/* Remove decorative left stripe from location cards */
.monche-site [data-monche-location-index-v2="true"] .monche-location-catalog-card::before {
  content: none !important;
  display: none !important;
}
