/* Leader2 Wiki active8: complete warm gold palette and readable conversion ladders. */
.leader2-wiki{--wk-bg:#100d08;--wk-panel:#19140b;--wk-raised:#211a0c;--wk-border:#55421c;--wk-muted:#b4a47d;--wk-text:#f2ead7;--wk-accent:#e0b84f;--wk-gold:#f0ca68;background-color:var(--wk-bg);background-image:radial-gradient(#c9a54810 1px,transparent 1px)}
.leader2-wiki a,.leader2-wiki .wk-item-inline,.leader2-wiki .wk-table-wrap td a,.leader2-wiki .wk-link-list>a,.leader2-wiki .wk-toc>a{color:#e5bd59}
.wk-topbar,.wk-sidebar{background:#100e09!important;border-color:#403318!important}
.wk-topbar .wk-search,.wk-search,.wk-filters,.wk-filter-search input,.wk-filter-level input,.wk-filters select{background:#171309!important;border-color:#705922!important;color:#f2ead7!important}
.wk-topbar .wk-search:focus-within,.wk-search:focus-within{border-color:#e0b84f!important;box-shadow:0 0 0 2px #e0b84f22}
.wk-brand,.wk-brand span,.wk-toplinks>a:not(.wk-discord),.wk-sidebar nav>a,.wk-sidebar nav>h2{color:#d3c59f!important}
.wk-sidebar nav>h2{border-color:#b89032!important}
.wk-sidebar a:hover,.wk-sidebar a[aria-current],.wk-sidebar .active{background:#30240f!important;color:#f3d77e!important;border-color:#b89032!important}
.wk-sidebar small{color:#ae9860!important}
.wk-topbar .wk-discord,.wk-filters>button,.wk-pills>a:first-child,.wk-pills>a[aria-current],.wk-menu-button{background:#8f6715!important;border-color:#e0b84f!important;color:#fff4d5!important}
.wk-topbar .wk-discord:hover,.wk-filters>button:hover{background:#aa7b1a!important}
.wk-section-title,.wk-eyebrow,.wk-copy:hover,.wk-item-inline:hover,.wk-link-list b,.wk-pills>a:hover,.wk-conversion-route{color:#edc85e!important}
.wk-section-title:before{background:repeating-linear-gradient(115deg,transparent 0 4px,#ddb549 4px 7px,transparent 7px 10px)}
.wk-table-wrap,.wk-search,.wk-filters,.wk-list-head,.wk-article-section,.wk-source-card,.wk-conversion-card,.wk-grade-card,.wk-refine-panel,.wk-link-list,.wk-family-grid>a,.wk-world-grid>a,.wk-equipment-shelf>a,.wk-class-card{border-color:#56431f!important}
.wk-table-wrap,.wk-article-section,.wk-link-list,.wk-equipment-shelf,.wk-class-grid,.wk-class-card,.wk-world-grid>a,.wk-world-grid>a:hover{background-color:#171309!important}
.wk-table-wrap thead,.wk-grade-card>header,.wk-refine-panel>header{background:#30240f!important}
.wk-table-wrap thead th,.wk-table-wrap th{color:#f1dfae!important}
.wk-table-wrap tbody tr:nth-child(even),.wk-grade-card,.wk-conversion-card,.wk-refine-panel,.wk-source-card,.wk-link-list>a,.wk-world-grid>a{background:linear-gradient(145deg,#211a0d,#171208)!important}
.wk-table-wrap tbody tr:hover,.wk-link-list>a:hover,.wk-world-grid>a:hover,.wk-family-grid>a:hover,.wk-equipment-shelf>a:hover{background:#30240f!important}
.wk-table-wrap td,.wk-table-wrap tbody th,.wk-link-list>a,.wk-conversion-materials,.wk-grade-card p{border-color:#3c3018!important}
.wk-table-wrap td:last-child a,.wk-catalog-table td:last-child a{color:#e5bd59!important}
.wk-class-badges abbr{border-color:#9a7728!important;background:#30240f!important;color:#f1dfae!important}
.wk-class-badges .wk-unavailable{opacity:.28;filter:grayscale(1)}
.wk-slot,.wk-item-appearance,.wk-model-viewer{background:linear-gradient(145deg,#171208,#30240f)!important;border-color:#806224!important}
.wk-model-viewer{background:radial-gradient(ellipse at center,#483717,#100d08 70%)!important}
.wk-model-controls button{background:#30240e!important;border-color:#9b7624!important;color:#f1d47c!important}
.wk-yang,.wk-refine-panel>footer b,.wk-conversion-card>footer,.wk-conversion-card>footer span+span{color:#f0cb68!important}
.wk-world-grid img{width:88px;height:88px;object-fit:contain;image-rendering:pixelated;border:1px solid #705922;border-radius:8px;background:#100e09;padding:7px}
.wk-world-grid>a{min-height:158px}
.wk-conversion-card{padding:18px!important;border-radius:10px!important}
.wk-conversion-route{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.wk-conversion-ladder{margin:13px 0 11px;padding:11px 0;border-top:1px solid #493a1d;border-bottom:1px solid #493a1d}
.wk-conversion-ladder>span{display:block;margin-bottom:8px;color:#bca765;font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.wk-conversion-ladder>div{display:flex;flex-wrap:wrap;gap:6px}
.wk-conversion-ladder a{display:grid;min-width:32px;height:29px;place-items:center;padding:0 8px;border:1px solid #705922;border-radius:999px;background:#211a0d;color:#edc85e!important;font-size:12px;font-weight:700;text-decoration:none}
.wk-conversion-ladder a:hover,.wk-conversion-ladder a[aria-current]{background:#8f6715;border-color:#e0b84f;color:#fff4d5!important}
.wk-conversion-materials{color:#d5c8a6}
.wk-conversion-card>footer{border-color:#493a1d!important}
.wk-conversion-card>footer span+span{font-weight:700}
.wk-home-section,.wk-article-section{scroll-margin-top:90px}
.wk-filters label>span,.wk-filters label{color:#d3c59f}
.wk-filters input,.wk-filters select{color:#f2ead7}
.wk-list-head p,.wk-section-description,.wk-article-head p{color:#b4a47d!important}
.wk-hero em,.wk-facts dd{color:#f0ca68!important}
.wk-footer{border-color:#403318!important}
.wk-empty,.leader2-wiki .leader2-maintenance-notice{background:#21190b!important;border-color:#655020!important;color:#e2d2a7!important}
.leader2-wiki::-webkit-scrollbar-track,.leader2-wiki *::-webkit-scrollbar-track{background:#110d07}
.leader2-wiki::-webkit-scrollbar-thumb,.leader2-wiki *::-webkit-scrollbar-thumb{background:#89651b;border-radius:4px}
@media(max-width:650px){.wk-conversion-ladder a{min-width:29px;height:27px;padding:0 6px}.wk-conversion-card{padding:13px!important}.wk-world-grid img{width:76px;height:76px}}
@media(prefers-reduced-motion:reduce){.wk-sidebar{transition:none}}

.wk-nav-details{margin:2px 0 5px;border:1px solid #493a1d;border-radius:7px;background:#171309}
.wk-nav-details>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 11px;color:#d3c59f;cursor:pointer;list-style:none;font-size:12px}
.wk-nav-details>summary::-webkit-details-marker{display:none}
.wk-nav-details>summary:after{content:'+';color:#e0b84f;font-size:17px}
.wk-nav-details[open]>summary:after{content:'?'}
.wk-nav-details>summary:hover,.wk-nav-details[open]>summary{color:#f3d77e;background:#30240f}
.wk-sidebar .wk-nav-details>a{display:flex;margin:0;padding:8px 12px 8px 20px;border-top:1px solid #302615;font-size:11px}
.wk-sidebar .wk-nav-details>a small{margin-left:auto}

/* Keep the left navigation compact, like the reference wiki, without boxed menu cards. */
.wk-sidebar nav>h2{margin:13px 0 5px;padding:4px 22px 4px 25px;border-left:3px solid #b89032;font-size:11px;letter-spacing:1.5px;color:#d0b96f!important}
.wk-nav-details{margin:0;border:0;border-radius:0;background:transparent}
.wk-nav-details>summary{position:relative;min-height:34px;padding:7px 22px 7px 25px;border-left:3px solid transparent;color:#d3c59f;font-size:13px;line-height:1.5}
.wk-nav-details>summary:after{content:'';width:6px;height:6px;margin-left:4px;border-right:1.5px solid #a98e4b;border-bottom:1.5px solid #a98e4b;transform:rotate(45deg);transition:transform .15s ease}
.wk-nav-details[open]>summary:after{transform:rotate(225deg)}
.wk-nav-details>summary:hover,.wk-nav-details[open]>summary{background:#211a0d;color:#f3d77e}
.wk-sidebar .wk-nav-details>a{min-height:31px;padding:6px 22px 6px 39px;border:0;border-left:3px solid transparent;font-size:12px;color:#b9ad8c}
.wk-sidebar .wk-nav-details>a[aria-current]{border-left-color:#b89032;background:#2b210e;color:#f3d77e}
.wk-sidebar .wk-nav-details>a small{font-size:10px;color:#9f8c5b}

.wk-equipment-shelf{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:650px){.wk-equipment-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Production catalog: category filter and compact, readable recipe accordions. */
.wk-recipe-browser{display:grid;gap:12px}.wk-recipe-filter{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #403318;border-radius:12px;background:#151108}.wk-recipe-filter>span{color:#bca765;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.wk-recipe-filter select{min-width:220px;padding:10px 34px 10px 12px;border:1px solid #59471e;border-radius:8px;background:#110e08;color:#eee4cd;font:inherit}.wk-recipe-group,.wk-recipe-subgroup{overflow:hidden;border:1px solid #403318;border-radius:12px;background:#100e08}.wk-recipe-group+ .wk-recipe-group{margin-top:8px}.wk-recipe-group>summary,.wk-recipe-subgroup>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;color:#eee4cd;cursor:pointer;list-style:none}.wk-recipe-group>summary::-webkit-details-marker,.wk-recipe-subgroup>summary::-webkit-details-marker{display:none}.wk-recipe-group>summary:before,.wk-recipe-subgroup>summary:before{content:'+';display:grid;width:22px;height:22px;place-items:center;border:1px solid #51421f;border-radius:5px;color:#e0b84f}.wk-recipe-group[open]>summary:before,.wk-recipe-subgroup[open]>summary:before{content:'?'}.wk-recipe-group>summary strong{margin-right:auto}.wk-recipe-group>summary span,.wk-recipe-subgroup>summary span{color:#bca765;font-size:12px}.wk-recipe-list{padding:0 12px 12px}.wk-recipe-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(280px,2.5fr) minmax(120px,.8fr) 55px;align-items:center;gap:14px;padding:12px;border-top:1px solid #302817}.wk-recipe-result{display:flex;align-items:center;gap:8px}.wk-recipe-result>b,.wk-recipe-material>b{flex:none;color:#d6b651;font-size:11px}.wk-recipe-materials{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.wk-recipe-material{display:inline-flex;align-items:center;gap:5px}.wk-recipe-cost{color:#e0b84f;font-size:12px}.wk-recipe-rate{color:#8fd3b2;font-size:12px}.wk-recipe-subgroup{margin:8px 0;background:#151108}.wk-recipe-subgroup>summary{padding:10px 12px;font-size:13px}.wk-recipe-empty{color:#a99b7c;font-size:12px}.wk-recipe-row .wk-item-inline img{width:28px;height:28px;object-fit:contain}.wk-recipe-row .wk-item-inline{gap:6px}.wk-recipe-row .wk-item-inline span{font-size:12px}@media(max-width:800px){.wk-recipe-row{grid-template-columns:1fr auto;gap:8px}.wk-recipe-result{grid-column:1/-1}.wk-recipe-materials{grid-column:1/-1}.wk-recipe-cost{grid-column:1}.wk-recipe-rate{grid-column:2;grid-row:3;text-align:right}.wk-recipe-filter{align-items:flex-start;flex-direction:column}.wk-recipe-filter select{width:100%}}

.wk-weapon-table .wk-slot{width:44px;height:64px}.wk-weapon-table .wk-catalog-name{min-height:80px}.wk-weapon-table .wk-catalog-name>span{font-size:14px}.wk-weapon-table .wk-catalog-name small{font-size:10px}
.wk-class-badges abbr{width:23px;height:23px;padding:0;overflow:hidden;border-radius:50%;vertical-align:middle}.wk-class-badges abbr img{display:block;width:100%;height:100%;object-fit:cover}
.wk-pills>a small{margin-left:3px;color:inherit;opacity:.72;font-size:10px}

.wk-class-badges{display:flex!important;align-items:center;gap:4px;white-space:nowrap}.wk-class-badges abbr{display:block!important;box-sizing:border-box;width:22px!important;height:22px!important;min-width:22px;flex:0 0 22px;padding:0!important;overflow:hidden;border-radius:50%}.wk-class-badges abbr img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:cover}

.wk-weapon-table .wk-class-badges{display:flex!important;align-items:center!important;gap:4px!important;white-space:nowrap!important}.wk-weapon-table .wk-class-badges abbr{display:block!important;box-sizing:border-box!important;width:22px!important;height:22px!important;min-width:22px!important;flex:0 0 22px!important;padding:0!important;overflow:hidden!important;border-radius:50%!important}.wk-weapon-table .wk-class-badges abbr img{display:block!important;width:22px!important;height:22px!important;max-width:22px!important;max-height:22px!important;object-fit:cover!important}
.wk-weapon-table .wk-catalog-name>.wk-slot{display:grid!important;width:44px!important;height:64px!important;flex:0 0 44px!important;place-items:center!important}.wk-weapon-table .wk-catalog-name>.wk-slot img{max-width:40px!important;max-height:60px!important;object-fit:contain!important}

/* Chest catalog rows show the opened pool size and verified sources. */
.wk-chest-sources{display:flex;flex-wrap:wrap;gap:5px;margin:2px 0 7px}.wk-chest-sources a,.wk-chest-sources span,.wk-chest-sources small{padding:3px 7px;border:1px solid #51421f;border-radius:999px;background:#211a0d;color:#e6ca72;font-size:10px;line-height:1.3}.wk-chest-sources a:hover{border-color:#b89032;color:#fff0b1}.wk-chest-count{color:#c9b986;font-size:12px}.wk-chest-detail{font-size:11px}.wk-chest-table .wk-catalog-name{min-height:66px}.wk-chest-table .wk-catalog-name small{font-size:10px}
@media(max-width:700px){.wk-chest-table table,.wk-chest-table tbody,.wk-chest-table tr,.wk-chest-table th,.wk-chest-table td{display:block;width:100%;box-sizing:border-box}.wk-chest-table thead{display:none}.wk-chest-table tr{padding:10px 12px;border-bottom:1px solid #403318}.wk-chest-table td{padding:4px 12px 6px 60px;border:0}.wk-chest-table td:last-child{padding-bottom:10px}}
