/* ============================================================
   SkyKings Wiki Stylesheet
   ============================================================ */

/* ---------- Layout ---------- */

.wiki-page {
    display: flex;
    flex-direction: row;
    gap: 24px;
    min-width: min(1000px, 100%);
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    align-items: flex-start;
}

.wiki-main {
    flex: 1;
    min-width: 0;
    /* Readable card background */
    background-color: #161616;
    border: 1px solid #2e2e2e;
    border-radius: 12px;
    padding: 28px 32px;
}

/* ---------- Article Header ---------- */

.wiki-article-title {
    font-size: 2.2rem;
    font-weight: bold;
    font-family: "Lexend Deca", sans-serif;
    border-bottom: 2px solid #2e2e2e;
    padding-bottom: 10px;
    margin-bottom: 18px;
    color: #f2f2f2;
}

.wiki-article-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.wiki-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    color: #f2f2f2;
    font-size: 0.9rem;
    font-family: "Lexend Deca", sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.wiki-btn:hover {
    background-color: #3a3a3a;
}

.wiki-btn-primary {
    background-color: #1a6b3e;
    border-color: #25a05e;
}

.wiki-btn-primary:hover {
    background-color: #1e8049;
}

/* ---------- Infobox (Item Page template) ---------- */

/* The infobox floats to the top-right inside the article card.
   float:right + clear:right means all article text wraps around it. */
.wiki-infobox {
    float: right;
    clear: right;
    margin: 0 0 20px 28px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    min-width: 240px;
    max-width: 280px;
    overflow: hidden;
    font-size: 0.92rem;
    font-family: "Lexend Deca", sans-serif;
}

.wiki-infobox-title {
    background-color: #1f1f1f;
    text-align: center;
    font-weight: bold;
    font-size: 1.05rem;
    padding: 12px;
    border-bottom: 1px solid #333;
    color: #f2f2f2;
}

.wiki-infobox-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    background-color: #141414;
    border-bottom: 1px solid #2a2a2a;
}

.wiki-infobox-image img {
    max-width: 80px;
    max-height: 80px;
    image-rendering: pixelated;
}

.wiki-infobox table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.wiki-infobox table tr td {
    padding: 7px 12px;
    border-top: 1px solid #222;
    vertical-align: top;
    color: #ccc;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.wiki-infobox table tr td:first-child {
    font-weight: bold;
    color: #aaa;
    white-space: nowrap;
    width: 90px;
}

.wiki-infobox table tr td[colspan] {
    white-space: normal;
    width: auto;
}

/* ---------- Rarity Badges ---------- */

.wiki-rarity {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.82rem;
    font-family: "Lexend Deca", sans-serif;
    letter-spacing: 0.04em;
}

.wiki-rarity-common      { background: #555; color: #fff; }
.wiki-rarity-uncommon    { background: #1a6b2a; color: #55ff55; }
.wiki-rarity-rare        { background: #1a2f6b; color: #5555ff; }
.wiki-rarity-epic        { background: #4a1a6b; color: #aa00aa; }
.wiki-rarity-legendary   { background: #6b4400; color: #ffaa00; border: 1px solid #ffaa00; }
.wiki-rarity-mythic      { background: #5a006b; color: #ff55ff; border: 1px solid #ff55ff; }
.wiki-rarity-divine      { background: #005555; color: #55ffff; }
.wiki-rarity-special     { background: #3a3a3a; color: #ff5555; }

/* ---------- Article Content Body ---------- */

.wiki-content {
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.97rem;
    line-height: 1.75;
    color: #ddd;
}

.wiki-content h2 {
    font-size: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 6px;
    margin: 28px 0 12px 0;
    color: #f2f2f2;
}

.wiki-content h3 {
    font-size: 1.15rem;
    margin: 20px 0 8px 0;
    color: #e0e0e0;
}

.wiki-content p {
    margin: 10px 0;
}

.wiki-content a {
    color: #5ba3f5;
    text-decoration: none;
}

.wiki-content a:hover {
    text-decoration: underline;
}

.wiki-content ul, .wiki-content ol {
    padding-left: 24px;
    margin: 8px 0;
}

.wiki-content li {
    margin: 4px 0;
}

.wiki-content strong {
    color: #f2f2f2;
}

.wiki-content img.wiki-inline-img {
    vertical-align: middle;
    image-rendering: pixelated;
    margin: 0 3px;
}

/* <nowiki> blocks */
pre.wiki-nowiki-block {
    background: #1a1a1a;
    border: 1px solid #333;
    border-left: 3px solid #444;
    border-radius: 4px;
    padding: 10px 14px;
    margin: 8px 0;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.85em;
    color: #ccc;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
}
code.wiki-nowiki-inline {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 3px;
    padding: 1px 5px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.85em;
    color: #e2c97e;
}

/* ---------- Recipe Box template ---------- */

.wiki-recipe {
    display: inline-grid;
    grid-template-columns: repeat(3, 42px);
    grid-template-rows: repeat(3, 42px);
    gap: 3px;
    background: #1a1a1a;
    border: 2px solid #444;
    border-radius: 6px;
    padding: 8px;
    margin: 10px 4px;
    vertical-align: middle;
}

.wiki-recipe-slot {
    width: 42px;
    height: 42px;
    background: #2a2a2a;
    border: 1px solid #555;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wiki-recipe-slot img {
    width: 34px;
    height: 34px;
    image-rendering: pixelated;
}

.wiki-recipe-wrapper {
    display: inline-block;
    margin: 10px 4px;
    vertical-align: middle;
}

.wiki-recipe-loading {
    color: #888;
    font-style: italic;
    font-size: 0.88rem;
    padding: 8px 12px;
}

.wiki-recipe-label {
    font-size: 0.82rem;
    color: #aaa;
    margin-top: 4px;
    text-align: center;
}

.wiki-recipe-empty {
    color: #888;
    font-style: italic;
    font-size: 0.88rem;
    padding: 8px 12px;
    border: 1px dashed #444;
    border-radius: 6px;
    display: inline-block;
}

/* Recipe display: grid + arrow + result */
.wiki-recipe-display {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 4px;
}

.wiki-recipe-display .wiki-recipe {
    margin: 0; /* override the standalone margin */
}

.wiki-recipe-arrow {
    font-size: 1.8rem;
    color: #888;
    line-height: 1;
    flex-shrink: 0;
}

.wiki-recipe-result {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Amount badge on article-view recipe slots */
.wiki-recipe-slot {
    position: relative;
}

.wiki-recipe-amount {
    position: absolute;
    bottom: 2px;
    right: 3px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #e0c97f;
    line-height: 1;
    text-shadow: 0 0 3px #000;
    pointer-events: none;
}

/* Amount badge on recipe manager slots */
.rm-slot {
    position: relative;
}

.rm-slot-amount {
    position: absolute;
    bottom: 2px;
    right: 3px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #e0c97f;
    line-height: 1;
    text-shadow: 0 0 3px #000;
    pointer-events: none;
}

/* Arrow between grid and result in recipe manager */
.rm-arrow {
    font-size: 2rem;
    color: #888;
    align-self: center;
    padding: 0 6px;
    flex-shrink: 0;
    line-height: 1;
}

/* Amount badge in mini-preview cards */
.rm-mini-slot {
    position: relative;
}

.rm-mini-amount {
    position: absolute;
    bottom: 1px;
    right: 2px;
    font-size: 0.6rem;
    font-weight: 700;
    color: #e0c97f;
    line-height: 1;
    text-shadow: 0 0 2px #000;
    pointer-events: none;
}

.rm-mini-arrow {
    font-size: 1.4rem;
    color: #888;
    align-self: center;
    padding: 0 4px;
    flex-shrink: 0;
    line-height: 1;
}

.rm-mini-result {
    display: flex;
    align-items: center;
}

/* ---------- Table of Contents ---------- */

.wiki-toc {
    background: #1d1d1d;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 14px 20px;
    margin-bottom: 24px;
    display: inline-block;
    min-width: 200px;
    max-width: 350px;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.9rem;
}

.wiki-toc-title {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 8px;
    color: #f2f2f2;
}

.wiki-toc ol {
    margin: 0;
    padding-left: 20px;
}

.wiki-toc ol ol {
    padding-left: 16px;
    list-style-type: lower-alpha;
}

.wiki-toc li {
    margin: 4px 0;
}

.wiki-toc li > ol {
    margin-top: 3px;
}

.wiki-toc a {
    color: #5ba3f5;
    text-decoration: none;
}

.wiki-toc a:hover {
    text-decoration: underline;
}

/* ---------- Wiki homepage banner header ---------- */

/* These mirror the layout used by tools/premium pages but scoped to the wiki */
.wiki-page-header.premium-image-header {
    height: 280px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.wiki-page-header #premium-header-info {
    background: rgba(0, 0, 0, 0.55);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.wiki-page-header .premium-header-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: blur(3px);
    transform: scale(1.03); /* prevent blur edge fringing */
}

.wiki-page-header .guild-header-title {
    font-size: 72px;
    font-family: "Poetsen One", sans-serif;
    font-weight: 500;
    color: #fff;
    text-shadow: 4px 4px 0 #000, 0 0 20px rgba(0,0,0,0.8);
    margin: 0 0 8px;
    line-height: 1;
    z-index: 1;
}

.wiki-page-header p {
    font-size: 1.2em;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 0 6px #000, 0 0 6px #000;
    margin: 0;
    font-family: "Lexend Deca", sans-serif;
}

@media (max-width: 768px) {
    .wiki-page-header.premium-image-header {
        height: auto;
        padding-bottom: 24px;
    }
    .wiki-page-header .guild-header-title {
        font-size: 44px;
    }
}

/* ---------- Index / Browse page ---------- */

.wiki-index-wrap {
    max-width: 1200px;
    margin: 36px auto 0;
    padding: 0 20px;
}

/* Search row: input left, buttons right */
.wiki-search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.wiki-search-bar {
    flex: 1;
    min-width: 220px;
    position: relative;
    display: flex;
    align-items: center;
}

.wiki-search-icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: #666;
    pointer-events: none;
    flex-shrink: 0;
}

.wiki-search-bar input {
    width: 100%;
    padding: 10px 16px 10px 38px;
    background: #1d1d1d;
    border: 1px solid #444;
    border-radius: 8px;
    color: #f2f2f2;
    font-size: 1rem;
    font-family: "Lexend Deca", sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.wiki-search-bar input:focus {
    border-color: #5ba3f5;
}

.wiki-action-btns {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* Category filter chips */
.wiki-category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #2a2a2a;
}

.wiki-cat-chip {
    padding: 5px 14px;
    background: #1d1d1d;
    border: 1px solid #3a3a3a;
    border-radius: 20px;
    color: #aaa;
    font-size: 0.82rem;
    font-family: "Lexend Deca", sans-serif;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.wiki-cat-chip:hover {
    background: #2a2a2a;
    border-color: #555;
    color: #e0e0e0;
}

.wiki-cat-chip.active {
    background: #1a3a1a;
    border-color: #25a05e;
    color: #4cda7f;
    font-weight: 600;
}

/* Results info bar */
.wiki-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.wiki-count-text {
    font-size: 0.82rem;
    color: #666;
    font-family: "Lexend Deca", sans-serif;
}

/* Article grid */
.wiki-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.wiki-article-card {
    background: #1a1a1a;
    border: 1px solid #2e2e2e;
    border-radius: 10px;
    padding: 16px 18px;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wiki-article-card:hover {
    background: #242424;
    border-color: #4a4a4a;
    transform: translateY(-2px);
}

.wiki-article-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    font-family: "Lexend Deca", sans-serif;
    color: #f2f2f2;
    line-height: 1.3;
}

.wiki-article-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wiki-article-card-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    image-rendering: pixelated;
    object-fit: contain;
}

/* Invisible sentinel used by the infinite-scroll observer */
.wiki-scroll-sentinel {
    width: 100%;
    height: 1px;
    grid-column: 1 / -1;
    pointer-events: none;
}

.wiki-article-card-category {
    font-size: 0.72rem;
    font-family: "Lexend Deca", sans-serif;
    color: #4cda7f;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.wiki-article-card-meta {
    font-size: 0.78rem;
    color: #666;
    font-family: "Lexend Deca", sans-serif;
}

/* ── Rarity badge on wiki cards ── */
.wiki-article-card-rarity {
    font-size: 0.70rem;
    font-family: "Lexend Deca", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
}
.wiki-article-card-rarity.wiki-rarity-common        { color: #aaaaaa; }
.wiki-article-card-rarity.wiki-rarity-uncommon      { color: #55ff55; }
.wiki-article-card-rarity.wiki-rarity-rare          { color: #5555ff; }
.wiki-article-card-rarity.wiki-rarity-epic          { color: #aa00aa; }
.wiki-article-card-rarity.wiki-rarity-legendary     { color: #ffaa00; }
.wiki-article-card-rarity.wiki-rarity-mythic        { color: #ff55ff; }
.wiki-article-card-rarity.wiki-rarity-divine        { color: #55ffff; }
.wiki-article-card-rarity.wiki-rarity-special       { color: #ff5555; }
.wiki-article-card-rarity.wiki-rarity-very-special  { color: #ff5555; }

/* ── Pet level badge inside card title ── */
.wiki-pet-lvl {
    display: inline-block;
    font-size: 0.70rem;
    font-family: "Lexend Deca", sans-serif;
    font-weight: 700;
    color: #fff;
    background: #2a5c2a;
    border: 1px solid #3c9c3c;
    border-radius: 4px;
    padding: 1px 5px;
    margin-right: 3px;
    vertical-align: middle;
    white-space: nowrap;
}

/* ── Contextual filter row ── */
.wiki-filter-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0 6px;
    margin-bottom: 4px;
}

.wiki-filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wiki-filter-label {
    font-size: 0.82rem;
    font-family: "Lexend Deca", sans-serif;
    color: #aaa;
    white-space: nowrap;
}

.wiki-filter-select,
.wiki-filter-input {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 7px;
    color: #f2f2f2;
    font-size: 0.85rem;
    font-family: "Lexend Deca", sans-serif;
    padding: 5px 10px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
}
.wiki-filter-select:hover,
.wiki-filter-input:hover  { border-color: #555; }
.wiki-filter-select:focus,
.wiki-filter-input:focus  { border-color: #25a05e; }

.wiki-filter-input[type="number"] {
    width: 72px;
    text-align: center;
    padding: 5px 6px;
}

.wiki-filter-clear {
    background: none;
    border: 1px solid #555;
    border-radius: 7px;
    color: #aaa;
    font-size: 0.80rem;
    font-family: "Lexend Deca", sans-serif;
    padding: 5px 12px;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}
.wiki-filter-clear:hover {
    border-color: #e05555;
    color: #e05555;
}

.wiki-new-article-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: #1a6b3e;
    border: 1px solid #25a05e;
    border-radius: 8px;
    color: #f2f2f2;
    font-size: 0.9rem;
    font-family: "Lexend Deca", sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}

.wiki-new-article-btn:hover {
    background: #1e8049;
}

/* ---------- Editor ---------- */

.wiki-editor-wrap {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.wiki-editor-titlebar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.wiki-editor-titlebar input {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px;
    background: #1d1d1d;
    border: 1px solid #444;
    border-radius: 8px;
    color: #f2f2f2;
    font-size: 1.1rem;
    font-family: "Lexend Deca", sans-serif;
    outline: none;
}

.wiki-editor-titlebar input:focus {
    border-color: #5ba3f5;
}

.wiki-editor-toolbar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 8px 10px;
}

.toolbar-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.toolbar-group + .toolbar-group {
    border-top: 1px solid #1e1e1e;
    padding-top: 7px;
    margin-top: 3px;
}

.toolbar-group-label {
    font-size: 0.68rem;
    font-family: "Lexend Deca", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #444;
    width: 70px;
    flex-shrink: 0;
}

.toolbar-group-templates .toolbar-group-label {
    color: #3a6a9a;
}

.wiki-editor-toolbar button {
    padding: 5px 12px;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 5px;
    color: #e0e0e0;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.15s;
}

.wiki-editor-toolbar button:hover {
    background: #2e2e2e;
}

.toolbar-group-templates button {
    background: #101a22;
    border-color: #1e3040;
    color: #8bbfe0;
}

.toolbar-group-templates button:hover {
    background: #162433;
    border-color: #2a4a66;
    color: #aad4f5;
}

.wiki-editor-toolbar .toolbar-sep {
    width: 1px;
    background: #333;
    margin: 0 2px;
}

/* ── Colour Picker ─────────────────────────────────────────── */
.toolbar-color-wrap {
    position: relative;
    display: inline-flex;
}

.toolbar-color-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px !important;
    cursor: pointer;
}

.toolbar-color-icon {
    font-weight: 700;
    font-size: 0.95rem;
    font-family: Georgia, serif;
    line-height: 1;
}

.toolbar-color-swatch {
    display: inline-block;
    width: 14px;
    height: 5px;
    background: #ffaa00;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.15);
}

.toolbar-color-popup {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #1e1e1e;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 10px;
    z-index: 200;
    box-shadow: 0 6px 24px rgba(0,0,0,0.6);
    min-width: 200px;
}

.toolbar-color-popup.tcp-open {
    display: block;
}

.tcp-presets {
    display: grid;
    grid-template-columns: repeat(8, 22px);
    gap: 4px;
    margin-bottom: 9px;
}

.tcp-preset {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: transform 0.1s, border-color 0.1s;
}

.tcp-preset:hover {
    transform: scale(1.2);
    border-color: rgba(255,255,255,0.5);
}

.tcp-custom-row {
    display: flex;
    align-items: center;
    gap: 7px;
    border-top: 1px solid #333;
    padding-top: 9px;
    margin-bottom: 8px;
}

.tcp-custom-row input[type="color"] {
    width: 36px;
    height: 28px;
    border: 1px solid #555;
    border-radius: 5px;
    cursor: pointer;
    background: none;
    padding: 2px;
}

.tcp-apply-btn {
    flex: 1;
    padding: 5px 0;
    background: #2c6fba;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.78rem;
    cursor: pointer;
    transition: background 0.15s;
}

.tcp-apply-btn:hover {
    background: #3a85d8;
}

.tcp-preview-row {
    text-align: center;
    font-size: 0.85rem;
    font-family: "Lexend Deca", sans-serif;
    border-top: 1px solid #333;
    padding-top: 7px;
    color: #aaa;
}

.wiki-editor-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.wiki-editor-panels label {
    font-size: 0.85rem;
    color: #888;
    font-family: "Lexend Deca", sans-serif;
    display: block;
    margin-bottom: 5px;
}

.wiki-editor-textarea {
    width: 100%;
    min-height: 520px;
    background: #111;
    border: 1px solid #444;
    border-radius: 8px;
    color: #e8e8e8;
    font-family: "Courier New", monospace;
    font-size: 0.88rem;
    padding: 14px;
    resize: vertical;
    outline: none;
    box-sizing: border-box;
    line-height: 1.6;
    tab-size: 2;
}

.wiki-editor-textarea:focus {
    border-color: #5ba3f5;
}

.wiki-preview-box {
    background: #111;
    border: 1px solid #444;
    border-radius: 8px;
    min-height: 520px;
    padding: 14px;
    overflow: auto;
}

.wiki-editor-save-bar {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.wiki-editor-save-bar input {
    flex: 1;
    min-width: 200px;
    padding: 8px 14px;
    background: #1d1d1d;
    border: 1px solid #444;
    border-radius: 6px;
    color: #f2f2f2;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.9rem;
    outline: none;
}

.wiki-editor-save-bar input::placeholder { color: #666; }

/* ---------- Clear float ---------- */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .wiki-infobox,
    .wiki-item-info {
        float: none;
        margin: 0 0 20px 0;
        max-width: 100%;
        min-width: unset;
        width: 100%;
    }

    .wiki-editor-panels {
        grid-template-columns: 1fr;
    }

    .wiki-page {
        flex-direction: column;
        padding: 0 12px;
    }

    .wiki-main {
        padding: 18px 16px;
    }

    .wiki-index-wrap {
        padding: 0 12px;
        margin-top: 24px;
    }

    .wiki-search-row {
        flex-direction: column;
        align-items: stretch;
    }

    .wiki-action-btns {
        justify-content: center;
    }

    .wiki-articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        padding: 0 12px;
        gap: 10px;
    }
}

/* ═══════════════════════════════════════════════
   Recipe Manager (/wiki/recipes)
   ═══════════════════════════════════════════════ */

.rm-editor-panel {
    background: #161616;
    border: 1px solid #2e2e2e;
    border-radius: 10px;
    padding: 24px 28px;
}

.rm-section-title {
    font-family: "Lexend Deca", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #e0c97f;
    margin: 0 0 18px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rm-field-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.rm-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 180px;
}

.rm-field label {
    font-size: 0.82rem;
    color: #aaa;
    font-family: "Lexend Deca", sans-serif;
}

.rm-field input {
    padding: 8px 12px;
    background: #1d1d1d;
    border: 1px solid #444;
    border-radius: 6px;
    color: #f2f2f2;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s;
}

.rm-field input:focus { border-color: #e0c97f; }
.rm-field input[readonly] { opacity: 0.6; cursor: not-allowed; }

/* 3×3 grid builder */
.rm-grid-wrap {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.rm-craft-grid {
    display: grid;
    grid-template-columns: repeat(3, 64px);
    grid-template-rows: repeat(3, 64px);
    gap: 4px;
    background: #1a1a1a;
    border: 2px solid #3a3a3a;
    border-radius: 8px;
    padding: 10px;
    flex-shrink: 0;
}

.rm-slot {
    width: 64px;
    height: 64px;
    background: #242424;
    border: 2px solid #444;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.15s, background 0.15s;
    position: relative;
}

.rm-slot:hover { border-color: #888; background: #2e2e2e; }
.rm-slot-active { border-color: #e0c97f !important; background: #2a2816 !important; }
.rm-slot-filled { border-color: #666; }

.rm-slot img {
    width: 38px;
    height: 38px;
    image-rendering: pixelated;
    pointer-events: none;
}

.rm-slot-label {
    font-size: 0.45rem;
    color: #aaa;
    text-align: center;
    line-height: 1.1;
    padding: 0 2px;
    word-break: break-all;
    max-height: 22px;
    overflow: hidden;
    pointer-events: none;
}

/* Slot editor popup */
.rm-slot-editor {
    background: #1d1d1d;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 14px 16px;
    min-width: 220px;
    flex-shrink: 0;
}

.rm-slot-editor label {
    font-size: 0.82rem;
    color: #aaa;
    display: block;
    margin-bottom: 6px;
    font-family: "Lexend Deca", sans-serif;
}

.rm-slot-editor input {
    width: 100%;
    padding: 8px 12px;
    background: #111;
    border: 1px solid #555;
    border-radius: 6px;
    color: #f2f2f2;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.9rem;
    outline: none;
    box-sizing: border-box;
}

.rm-slot-editor input:focus { border-color: #e0c97f; }

/* Saved recipe cards */
.rm-recipe-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #161616;
    border: 1px solid #2e2e2e;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.rm-card-info {
    flex: 1;
    min-width: 140px;
}

.rm-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #f2f2f2;
    font-family: "Lexend Deca", sans-serif;
}

.rm-card-id {
    font-size: 0.78rem;
    color: #888;
    font-family: monospace;
    margin-top: 2px;
}

.rm-card-date {
    font-size: 0.75rem;
    color: #555;
    margin-top: 4px;
}

.rm-card-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* Mini 3×3 preview in cards */
.rm-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 28px);
    grid-template-rows: repeat(3, 28px);
    gap: 2px;
    flex-shrink: 0;
}

.rm-mini-slot {
    width: 28px;
    height: 28px;
    background: #242424;
    border: 1px solid #3a3a3a;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rm-mini-slot-empty { background: #1a1a1a; }

.rm-mini-slot img {
    width: 22px;
    height: 22px;
    image-rendering: pixelated;
}

/* Button variants */
.wiki-btn-save {
    background: #2d4a2d !important;
    border-color: #4a7c4a !important;
    color: #98c379 !important;
}
.wiki-btn-save:hover { background: #3a6b3a !important; }

.wiki-btn-danger {
    background: #4a1d1d !important;
    border-color: #7c3a3a !important;
    color: #e06c75 !important;
}
.wiki-btn-danger:hover { background: #6b2a2a !important; }

@media (max-width: 600px) {
    .rm-craft-grid {
        grid-template-columns: repeat(3, 52px);
        grid-template-rows: repeat(3, 52px);
    }
    .rm-slot { width: 52px; height: 52px; }
    .rm-recipe-card { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════
   Minecraft-style item tooltip
   ═══════════════════════════════════════════════ */

.mc-tooltip {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    padding: 8px 12px;
    background: #100010;
    border: 2px solid #2a002a;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px #5a005a, 2px 2px 8px rgba(0,0,0,0.85);
    font-family: "Minecraft", "Courier New", monospace;
    max-width: 260px;
    min-width: 80px;
}

.mc-tt-name {
    font-size: 0.88rem;
    font-weight: bold;
    color: #ffffa0;   /* item name — golden-white */
    white-space: nowrap;
    line-height: 1.5;
}

.mc-tt-count {
    font-size: 0.78rem;
    color: #aaaaaa;
    margin-top: 2px;
}

.mc-tt-id {
    font-size: 0.68rem;
    color: #555577;
    font-family: monospace;
    margin-top: 4px;
    border-top: 1px solid #2a002a;
    padding-top: 4px;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   Item Page infobox — expanded
   ═══════════════════════════════════════════════ */

/* Rarity-tinted title bars */
.wiki-infobox-title--common      { background: #2a2a2a !important; color: #aaaaaa !important; }
.wiki-infobox-title--uncommon    { background: #0d2e14 !important; color: #55ff55 !important; }
.wiki-infobox-title--rare        { background: #0c1845 !important; color: #5555ff !important; }
.wiki-infobox-title--epic        { background: #280d45 !important; color: #aa00aa !important; }
.wiki-infobox-title--legendary   { background: #3a2000 !important; color: #ffaa00 !important; border-bottom: 1px solid #6a4000 !important; }
.wiki-infobox-title--mythic      { background: #2d0040 !important; color: #ff55ff !important; }
.wiki-infobox-title--divine      { background: #002a2a !important; color: #55ffff !important; }
.wiki-infobox-title--special     { background: #1a1a1a !important; color: #ff5555 !important; }

/* Infobox label column */
.wiki-infobox .ib-label {
    font-weight: bold;
    color: #aaa;
    white-space: nowrap;
    width: 90px;
    vertical-align: top;
    padding: 7px 12px;
    border-top: 1px solid #222;
}

.wiki-infobox .ib-coins {
    color: #ffaa00;
    font-weight: 600;
}

.wiki-infobox .ib-stat {
    display: inline-block;
    font-size: 0.88rem;
}
.wiki-infobox .ib-stat-pos { color: #55ff55; }
.wiki-infobox .ib-stat-neg { color: #ff5555; }

.wiki-infobox .ib-internal-id {
    font-family: monospace;
    font-size: 0.8rem;
    color: #777;
    word-break: break-all;
}

/* Bazaar live price cells */
.ib-bz-price {
    font-weight: 600;
    font-size: 0.9rem;
}
.ib-bz-loading {
    color: #666;
    font-style: italic;
    font-weight: 400;
}
.ib-bz-sell {
    color: #55ff55;   /* green — sell order price */
}
.ib-bz-buy {
    color: #ffaa00;   /* gold — buy order price */
}

/* Gemstone slot badges */
.wiki-gem-slot {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: bold;
    margin: 1px;
    border: 1px solid currentColor;
    font-family: "Courier New", monospace;
}
.wiki-gem-combat    { color: #ff5555; border-color: #aa2222; background: #2a0a0a; }
.wiki-gem-defensive { color: #55aaff; border-color: #2266aa; background: #0a1a2a; }
.wiki-gem-mining    { color: #aaaaaa; border-color: #666; background: #1a1a1a; }
.wiki-gem-speed     { color: #ffff55; border-color: #aaaa22; background: #2a2a0a; }
.wiki-gem-magic     { color: #ff55ff; border-color: #aa22aa; background: #2a0a2a; }
.wiki-gem-universal { color: #55ffff; border-color: #22aaaa; background: #0a2a2a; }

/* ═══════════════════════════════════════════════
   Item Info block
   ═══════════════════════════════════════════════ */

.wiki-item-info {
    float: right;
    clear: right;
    margin: 0 0 20px 28px;
    min-width: 240px;
    max-width: 280px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.9rem;
    display: block;
}

.ii-section {
    padding: 14px 16px;
    border-bottom: 1px solid #2a2a2a;
}

.ii-section:last-child {
    border-bottom: none;
}

.ii-section-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #e0c97f;
    margin-bottom: 10px;
}

/* Upgrades row */
.ii-upgrades-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.ii-upgrade-dir {
    color: #555;
    font-size: 0.78rem;
}

.ii-upgrade-link {
    color: #5ba3f5;
    text-decoration: none;
    font-weight: 600;
}
.ii-upgrade-link:hover { text-decoration: underline; }

.ii-upgrade-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ii-upgrade-icon {
    width: 24px;
    height: 24px;
    image-rendering: pixelated;
    flex-shrink: 0;
}

.ii-upgrade-none { color: #555; font-style: italic; }

.ii-upgrade-sep {
    color: #333;
    font-size: 0.9rem;
}

/* Attributes table */
.ii-attr-table {
    width: 100%;
    border-collapse: collapse;
}

.ii-attr-table tr + tr td {
    border-top: 1px solid #1e1e1e;
}

.ii-attr-label {
    padding: 5px 8px 5px 12px;
    color: #888;
    white-space: nowrap;
    width: 140px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ii-attr-icon {
    width: 16px;
    height: 16px;
    image-rendering: pixelated;
    opacity: 0.85;
    flex-shrink: 0;
}

.ii-attr-label-noicon::before {
    content: "◆ ";
    color: #444;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.ii-attr-value {
    padding: 5px 0;
    color: #ccc;
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: break-word;
}

.ii-attr-yes { color: #55ff55; }
.ii-attr-no  { color: #ff5555; }

/* Merchant / NPC Buy */
.ii-merchant-link {
    color: #7ecfff;
    text-decoration: none;
    font-weight: 600;
}
.ii-merchant-link:hover {
    text-decoration: underline;
    color: #aadeff;
}
.ii-coins {
    color: #e0c97f;
    font-weight: 600;
}

/* Raw Materials */
.ii-rawmat-loading {
    color: #666;
    font-style: italic;
    font-size: 0.85rem;
}

.ii-rawmat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ii-rawmat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ii-rawmat-img {
    width: 24px;
    height: 24px;
    image-rendering: pixelated;
    flex-shrink: 0;
    cursor: default;
}

.ii-rawmat-count {
    color: #e0c97f;
    font-weight: 700;
    min-width: 50px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.ii-rawmat-name {
    color: #ccc;
}

/* ═══════════════════════════════════════════════
   Lore box template
   ═══════════════════════════════════════════════ */

.wiki-lore-box {
    display: inline-block;
    background: #0d000d;
    border: 2px solid #1e001e;
    box-shadow: inset 0 0 0 1px #3a003a;
    border-radius: 4px;
    padding: 10px 14px;
    font-family: "Minecraft", "Courier New", monospace;
    font-size: 0.85rem;
    line-height: 1.55;
    max-width: 420px;
    margin: 10px 0;
}

.lore-blank {
    height: 0.5em;
}

.lore-line {
    display: block;
}

/* Ability header: "Ability: NAME   TRIGGER" */
.lore-ability-header {
    color: #ffffa0;
    margin-bottom: 2px;
}

.lore-ability-label {
    color: #ffffa0;
    font-weight: bold;
}

.lore-ability-name {
    color: #ffffff;
    font-weight: bold;
}

.lore-ability-trigger {
    color: #aaaaaa;
    font-size: 0.78rem;
    margin-left: 6px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 3px;
    padding: 0 5px;
    font-family: "Lexend Deca", sans-serif;
}

/* Description / flavour text */
.lore-desc {
    color: #aaaaaa;
    font-style: italic;
}

/* Cost lines */
.lore-cost {
    color: #55ffff;
    margin-top: 2px;
}

.lore-cost-label {
    color: #aaaaaa;
}

.lore-cost-value {
    color: #55ffff;
    font-weight: bold;
}

/* ═══════════════════════════════════════════════
   Table template  ({{Table|headers=...|r1c1=...}})
   ═══════════════════════════════════════════════ */

.wiki-table-wrap {
    overflow-x: auto;
    margin: 16px 0;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
}

.wiki-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Lexend Deca", sans-serif;
    font-size: 0.88rem;
    color: #ddd;
    background: #111;
}

/* Header row */
.wiki-table-header-row {
    background: #1a1a1a;
    border-bottom: 2px solid #333;
}

.wiki-table-th {
    padding: 10px 14px;
    text-align: left;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #e0c97f;
    white-space: nowrap;
    border-right: 1px solid #222;
}

.wiki-table-th:last-child { border-right: none; }

/* Body rows */
.wiki-table-row {
    border-bottom: 1px solid #1e1e1e;
    transition: background 0.1s;
}

.wiki-table-row:hover {
    background: #181818;
}

.wiki-table-row:last-child {
    border-bottom: none;
}

.wiki-table-td {
    padding: 9px 14px;
    vertical-align: top;
    border-right: 1px solid #1a1a1a;
    line-height: 1.65;
}

.wiki-table-td:last-child { border-right: none; }

/* First column (level stars etc.) — slightly highlighted */
.wiki-table-td:first-child {
    font-weight: 700;
    color: #f2f2f2;
    white-space: nowrap;
    background: #141414;
}

/* Star symbols */
.wiki-table-star {
    color: #ffaa00;
    text-shadow: 0 0 6px rgba(255, 170, 0, 0.5);
}

/* Stat colouring */
.wiki-table-stat {
    display: inline-block;
}

.wiki-table-stat-pos { color: #55ff55; }
.wiki-table-stat-neg { color: #ff5555; }

/* ============================================================
   Wiki Contributor Leaderboard  (/wiki/leaderboard)
   ============================================================ */

.wl-wrap {
    max-width: 900px;
    margin: 32px auto 60px;
    padding: 0 16px;
    font-family: 'Lexend Deca', 'Inter', sans-serif;
}

.wl-back-row {
    margin-bottom: 24px;
}

/* ── Podium ── */
.wl-podium {
    margin-bottom: 36px;
}

.wl-podium-inner {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
}

.wl-pod-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px 16px;
    border-radius: 12px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    min-width: 160px;
    transition: transform .15s;
}

.wl-pod-slot:hover { transform: translateY(-3px); }

.wl-pod-1st {
    order: 2;
    border-color: #ffaa00;
    background: linear-gradient(160deg, #1e1800 0%, #1a1a1a 60%);
    padding-top: 28px;
}

.wl-pod-2nd {
    order: 1;
    border-color: #aaa;
    background: linear-gradient(160deg, #1a1a1a 0%, #181818 60%);
}

.wl-pod-3rd {
    order: 3;
    border-color: #b87333;
    background: linear-gradient(160deg, #1a1200 0%, #181818 60%);
}

.wl-pod-place {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.wl-pod-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 8px;
}

.wl-pod-link:hover .wl-pod-name { color: #5ba3f5; }

.wl-pod-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e8e8e8;
    text-align: center;
    word-break: break-word;
    max-width: 130px;
    transition: color .15s;
}

.wl-pod-rep {
    font-size: 0.82rem;
    color: #ffaa00;
    font-weight: 600;
    margin-top: 4px;
}

.wl-pod-edits {
    font-size: 0.75rem;
    color: #666;
    margin-top: 2px;
}

/* ── Avatar ── */
.wl-avatar {
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #333;
    flex-shrink: 0;
}

/* ── Table ── */
.wl-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #222;
}

.wl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.wl-th {
    background: #151515;
    color: #888;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #222;
    white-space: nowrap;
}

.wl-th-rank   { width: 52px; text-align: center; }
.wl-th-rep    { width: 110px; }
.wl-th-edits  { width: 90px; }
.wl-th-badge  { width: 150px; }

.wl-row {
    border-bottom: 1px solid #1c1c1c;
    transition: background .12s;
}

.wl-row:hover { background: #1a1a1a; }
.wl-row-top   { background: #171717; }

.wl-td {
    padding: 10px 14px;
    color: #ccc;
    vertical-align: middle;
}

.wl-td-rank { text-align: center; }

.wl-rank-num {
    display: inline-block;
    font-weight: 700;
    font-size: 0.88rem;
    color: #666;
    min-width: 24px;
    text-align: center;
}

.wl-rank-1 { color: #ffaa00; font-size: 1rem; }
.wl-rank-2 { color: #c0c0c0; font-size: 0.95rem; }
.wl-rank-3 { color: #b87333; font-size: 0.92rem; }

.wl-user-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: color .15s;
}

.wl-user-link:hover { color: #5ba3f5; }

.wl-td-rep {
    font-weight: 700;
    color: #ffaa00;
}

.wl-td-edits {
    color: #888;
}

.wl-loading {
    text-align: center;
    padding: 32px;
    color: #666;
    font-style: italic;
}

/* ── Reputation badges ── */
.wl-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.wl-badge-legend  { background: #2a1f00; color: #ffcc44; border: 1px solid #664d00; }
.wl-badge-expert  { background: #001f2a; color: #44ccff; border: 1px solid #006680; }
.wl-badge-trusted { background: #1a0028; color: #cc66ff; border: 1px solid #550080; }
.wl-badge-contrib { background: #002210; color: #44ff88; border: 1px solid #006633; }
.wl-badge-new     { background: #1a1a1a; color: #888;    border: 1px solid #333; }

/* ── Leaderboard Tabs ─────────────────────────────────────────────────────── */
.wl-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}
.wl-tab {
    padding: 8px 22px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #1a1a2e;
    color: #aaa;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    font-family: inherit;
}
.wl-tab:hover {
    background: #23234a;
    color: #ddd;
    border-color: #555;
}
.wl-tab.wl-tab-active {
    background: #2a2a5a;
    color: #fff;
    border-color: #6666cc;
}

@media (max-width: 600px) {
    .wl-podium-inner { flex-wrap: wrap; }
    .wl-pod-slot     { min-width: 120px; padding: 14px 10px; }
    .wl-th-badge, .wl-td-badge { display: none; }
}
