/**
 * Nachtlager — Spieler-Seiten Overrides (Glory → Nacht)
 * Token-Remap + Rahmen/Panels. Scope: body.nachtlager-site + Popup-Body.
 */

/* Shared panel look helper values */
body.nachtlager-site,
body.popup-nachtlager {
    --nl-bg: #0a1018;
    --nl-panel: linear-gradient(160deg, rgba(22, 32, 46, 0.97), rgba(10, 16, 24, 0.99));
    --nl-gold: #d4a574;
    --nl-gold-bright: #e8c9a0;
    --nl-moon: #c5d4e8;
    --nl-moon-bright: #e8f0fa;
    --nl-cyan: #7eb8c9;
    --nl-text: #d8e2ee;
    --nl-muted: #8a9aab;
    --nl-border: rgba(197, 212, 232, 0.22);
    --nl-border-strong: rgba(126, 184, 201, 0.38);
}

/* —— Markt —— */
body.nachtlager-site .markt-glory-theme {
    --m-bg: #0a1018 !important;
    --m-panel: linear-gradient(160deg, rgba(22, 32, 46, 0.97), rgba(10, 16, 24, 0.99)) !important;
    --m-gold: #d4a574 !important;
    --m-gold-bright: #e8c9a0 !important;
    --m-text: #d8e2ee !important;
    --m-muted: #8a9aab !important;
    --m-border: rgba(197, 212, 232, 0.22) !important;
    --m-border-strong: rgba(126, 184, 201, 0.38) !important;
    --m-surface: rgba(0, 0, 0, 0.4) !important;
    color: #d8e2ee !important;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(126, 184, 201, 0.1), transparent 55%),
        #0a1018 !important;
}
body.nachtlager-site .markt-glory-theme .market-wrapper,
body.nachtlager-site .market-wrapper.markt-glory-theme {
    border: 1px solid rgba(197, 212, 232, 0.24) !important;
    border-radius: 16px !important;
    box-shadow:
        0 0 0 1px rgba(126, 184, 201, 0.18),
        0 0 0 4px rgba(6, 12, 18, 0.9) !important;
}
body.nachtlager-site .markt-glory-theme h1,
body.nachtlager-site .markt-glory-theme h2,
body.nachtlager-site .markt-glory-theme h3,
body.nachtlager-site .markt-glory-theme .header-title {
    color: #e8f0fa !important;
    text-shadow: 0 0 12px rgba(197, 212, 232, 0.2);
}

/* —— Bank —— */
body.nachtlager-site .bank-glory-theme {
    --bank-bg: #0a1018 !important;
    --bank-panel: linear-gradient(160deg, rgba(22, 32, 46, 0.97), rgba(10, 16, 24, 0.99)) !important;
    --bank-gold: #d4a574 !important;
    --bank-gold-bright: #e8c9a0 !important;
    --bank-text: #d8e2ee !important;
    --bank-muted: #8a9aab !important;
    --bank-border: rgba(197, 212, 232, 0.22) !important;
    color: #d8e2ee !important;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(126, 184, 201, 0.1), transparent 55%),
        #0a1018 !important;
}
body.nachtlager-site .bank-wrap.bank-glory-theme {
    border: 1px solid rgba(197, 212, 232, 0.24) !important;
    border-radius: 16px !important;
    box-shadow:
        0 0 0 1px rgba(126, 184, 201, 0.18),
        0 0 0 4px rgba(6, 12, 18, 0.9) !important;
}

/* —— Liga —— */
body.nachtlager-site .liga-glory-theme {
    --l-bg: #0a1018 !important;
    --l-panel: linear-gradient(160deg, rgba(22, 32, 46, 0.97), rgba(10, 16, 24, 0.99)) !important;
    --l-gold: #d4a574 !important;
    --l-gold-bright: #e8c9a0 !important;
    --l-text: #d8e2ee !important;
    --l-muted: #8a9aab !important;
    --l-border: rgba(197, 212, 232, 0.22) !important;
    --l-border-strong: rgba(126, 184, 201, 0.38) !important;
    color: #d8e2ee !important;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(126, 184, 201, 0.1), transparent 55%),
        #0a1018 !important;
}
body.nachtlager-site .liga-glory-theme .a-tab.active {
    border-color: rgba(126, 184, 201, 0.45) !important;
    color: #e8c9a0 !important;
    box-shadow: 0 0 12px rgba(126, 184, 201, 0.2) !important;
}
body.nachtlager-site .liga-glory-theme .arena-content-box {
    border-color: rgba(197, 212, 232, 0.24) !important;
    background: rgba(10, 16, 24, 0.85) !important;
}

/* —— Rangliste —— */
body.nachtlager-site .rank-glory-theme {
    --r-bg: #0a1018 !important;
    --r-panel: linear-gradient(160deg, rgba(22, 32, 46, 0.97), rgba(10, 16, 24, 0.99)) !important;
    --r-gold: #d4a574 !important;
    --r-gold-bright: #e8c9a0 !important;
    --r-text: #d8e2ee !important;
    --r-muted: #8a9aab !important;
    --r-border: rgba(197, 212, 232, 0.22) !important;
    --r-border-strong: rgba(126, 184, 201, 0.38) !important;
    color: #d8e2ee !important;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(126, 184, 201, 0.1), transparent 55%),
        #0a1018 !important;
}
body.nachtlager-site .rank-glory-theme .rank-btn {
    background: linear-gradient(135deg, rgba(126, 184, 201, 0.25), rgba(22, 40, 56, 0.7)) !important;
    border-color: rgba(197, 212, 232, 0.3) !important;
    color: #e8f0fa !important;
}

/* —— Katakomben (vollständig) —— */
body.nachtlager-site .kata-glory-theme {
    --k-bg: #0a1018 !important;
    --k-panel: linear-gradient(160deg, rgba(22, 32, 46, 0.97), rgba(10, 16, 24, 0.99)) !important;
    --k-gold: #d4a574 !important;
    --k-gold-bright: #e8c9a0 !important;
    --k-text: #d8e2ee !important;
    --k-muted: #8a9aab !important;
    --k-border: rgba(197, 212, 232, 0.22) !important;
    --k-border-strong: rgba(126, 184, 201, 0.38) !important;
    color: #d8e2ee !important;
    background:
        linear-gradient(180deg, rgba(10, 16, 24, 0.55) 0%, rgba(10, 16, 24, 0.94) 42%, #0a1018 100%),
        radial-gradient(ellipse 70% 55% at 50% -8%, rgba(126, 184, 201, 0.16), transparent 62%),
        url("../img/katakomben/hero-bg.jpg") center top / cover no-repeat,
        #0a1018 !important;
    box-shadow:
        0 0 0 1px rgba(126, 184, 201, 0.18),
        0 0 0 4px rgba(6, 12, 18, 0.9),
        0 28px 60px rgba(0, 0, 0, 0.55) !important;
}
body.nachtlager-site .kata-glory-theme .section-bar {
    background: linear-gradient(90deg, rgba(18, 28, 40, 0.95), rgba(12, 20, 30, 0.9)) !important;
    border-color: rgba(197, 212, 232, 0.26) !important;
    color: #e8f0fa !important;
}
body.nachtlager-site .kata-glory-theme .profile-box,
body.nachtlager-site .kata-glory-theme .clan-nav-bar,
body.nachtlager-site .kata-glory-theme .profile-right,
body.nachtlager-site .kata-glory-theme .clan-inner-box,
body.nachtlager-site .kata-glory-theme .search-imitate,
body.nachtlager-site .kata-glory-theme .kata-guest-banner {
    border-color: rgba(197, 212, 232, 0.26) !important;
    background: rgba(8, 14, 22, 0.72) !important;
}
body.nachtlager-site .kata-glory-theme .clan-content-wrapper {
    border-color: rgba(197, 212, 232, 0.26) !important;
    background:
        linear-gradient(160deg, rgba(10, 16, 24, 0.88), rgba(8, 14, 22, 0.94)),
        url("../img/katakomben/clan-panel.jpg") center / cover no-repeat !important;
}
body.nachtlager-site .kata-glory-theme .profile-img-frame,
body.nachtlager-site .kata-glory-theme .text-area-box {
    border-color: rgba(197, 212, 232, 0.28) !important;
    background: rgba(8, 14, 22, 0.85) !important;
    color: #d8e2ee !important;
    box-shadow: none !important;
}
body.nachtlager-site .kata-glory-theme .text-area-box:focus {
    border-color: rgba(126, 184, 201, 0.55) !important;
    box-shadow: 0 0 0 2px rgba(126, 184, 201, 0.15) !important;
}
body.nachtlager-site .kata-glory-theme .btn-small,
body.nachtlager-site .kata-glory-theme .btn-gold,
body.nachtlager-site .kata-glory-theme .modal-close-btn,
body.nachtlager-site .modal-btn.confirm {
    background: linear-gradient(135deg, rgba(126, 184, 201, 0.28), rgba(18, 28, 40, 0.9)) !important;
    border-color: rgba(126, 184, 201, 0.42) !important;
    color: #e8f0fa !important;
}
body.nachtlager-site .kata-glory-theme .btn-gold:disabled,
body.nachtlager-site .kata-glory-theme .btn-gold.btn-gold--muted {
    background: rgba(0, 0, 0, 0.35) !important;
    border-color: rgba(197, 212, 232, 0.2) !important;
    color: #8a9aab !important;
}
body.nachtlager-site .kata-glory-theme .clan-select,
body.nachtlager-site .kata-glory-theme .form-input,
body.nachtlager-site .kata-glory-theme .form-textarea,
body.nachtlager-site .kata-glory-theme .search-imitate input[type="text"],
body.nachtlager-site .kata-glory-theme textarea[name="clan_description"],
body.nachtlager-site .kata-glory-theme input[name="clan_website"],
body.nachtlager-site .kata-glory-theme input[name="amount"] {
    background: rgba(8, 14, 22, 0.9) !important;
    border-color: rgba(197, 212, 232, 0.28) !important;
    color: #d8e2ee !important;
}
body.nachtlager-site .kata-glory-theme .clan-tab:hover {
    background: rgba(126, 184, 201, 0.1) !important;
    border-color: rgba(197, 212, 232, 0.28) !important;
    color: #d8e2ee !important;
}
body.nachtlager-site .kata-glory-theme .clan-tab--member,
body.nachtlager-site .kata-glory-theme .clan-tab.active,
body.nachtlager-site .kata-glory-theme .clan-tab.is-active {
    background: rgba(126, 184, 201, 0.16) !important;
    color: #e8f0fa !important;
    border-color: rgba(126, 184, 201, 0.42) !important;
    box-shadow: 0 0 14px rgba(126, 184, 201, 0.16) !important;
}
body.nachtlager-site .kata-glory-theme .clan-header-red,
body.nachtlager-site .kata-glory-theme .section-bar .kata-username-highlight,
body.nachtlager-site .kata-glory-theme .search-imitate a,
body.nachtlager-site .kata-glory-theme .kata-guest-banner strong,
body.nachtlager-site .kata-glory-theme .clan-member-history h4,
body.nachtlager-site .kata-glory-theme .clan-member-history-user,
body.nachtlager-site .member-table th {
    color: #e8c9a0 !important;
}
body.nachtlager-site .kata-glory-theme .clan-member-history {
    border-top-color: rgba(197, 212, 232, 0.2) !important;
}
body.nachtlager-site .kata-glory-theme .clan-member-history-list,
body.nachtlager-site .kata-glory-theme .profile-right,
body.nachtlager-site .member-table td,
body.nachtlager-site .modal-content,
body.nachtlager-site .modal-row {
    color: #8a9aab !important;
}
body.nachtlager-site .modal-box {
    background: linear-gradient(160deg, rgba(22, 32, 46, 0.98), rgba(10, 16, 24, 0.99)) !important;
    border-color: rgba(197, 212, 232, 0.3) !important;
    color: #d8e2ee !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(126, 184, 201, 0.12) !important;
}
body.nachtlager-site .modal-title {
    color: #e8f0fa !important;
    border-bottom-color: rgba(197, 212, 232, 0.22) !important;
}
body.nachtlager-site .modal-btn {
    background: rgba(8, 14, 22, 0.85) !important;
    border-color: rgba(197, 212, 232, 0.3) !important;
    color: #d8e2ee !important;
}
body.nachtlager-site .modal-box.intro-box {
    border-color: rgba(126, 184, 201, 0.4) !important;
}
body.nachtlager-site #modal-clan-desc,
body.nachtlager-site #clan-apply-modal textarea {
    background: rgba(8, 14, 22, 0.9) !important;
    border-color: rgba(197, 212, 232, 0.28) !important;
    color: #d8e2ee !important;
}
body.nachtlager-site #fight-detail-modal [id^="fight-detail-"] {
    color: #d8e2ee !important;
}
body.nachtlager-site .kata-glory-theme img[style*="border:1px solid #5e4b35"],
body.nachtlager-site .kata-glory-theme img[style*="border:1px solid #5e4b35"] {
    border-color: rgba(197, 212, 232, 0.35) !important;
}
body.nachtlager-site .kata-glory-theme button[style*="border:1px solid #5e4b35"] img,
body.nachtlager-site .kata-glory-theme [style*="border:1px solid #5e4b35"] {
    border-color: rgba(197, 212, 232, 0.35) !important;
}

/* —— Wiki —— */
body.nachtlager-site .wiki-glory-theme {
    color: #d8e2ee !important;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(126, 184, 201, 0.08), transparent 55%),
        #0a1018 !important;
}
body.nachtlager-site .wiki-glory-theme .wiki-header,
body.nachtlager-site .wiki-glory-theme .wiki-nav,
body.nachtlager-site .wiki-glory-theme .wiki-article,
body.nachtlager-site .wiki-glory-theme .wiki-btn {
    border-color: rgba(197, 212, 232, 0.26) !important;
    background: rgba(12, 20, 30, 0.9) !important;
}
body.nachtlager-site .wiki-glory-theme .wiki-title,
body.nachtlager-site .wiki-glory-theme .wiki-nav h4 {
    color: #e8f0fa !important;
}
body.nachtlager-site .wiki-glory-theme .wiki-sub,
body.nachtlager-site .wiki-glory-theme .wiki-nav a {
    color: #8a9aab !important;
}
body.nachtlager-site .wiki-glory-theme .wiki-btn:hover,
body.nachtlager-site .wiki-glory-theme .wiki-btn.is-active {
    border-color: rgba(126, 184, 201, 0.45) !important;
    color: #e8c9a0 !important;
}
body.nachtlager-site .wiki-glory-theme .wiki-nav a:hover {
    color: #c5d4e8 !important;
    background: rgba(126, 184, 201, 0.1) !important;
}

/* —— Söldner —— */
body.nachtlager-site .merc-page {
    --merc-bg: #0a1018 !important;
    --merc-glass: rgba(8, 14, 22, 0.82) !important;
    --merc-glass-border: rgba(197, 212, 232, 0.28) !important;
    --merc-glass-highlight: rgba(197, 212, 232, 0.06) !important;
    --merc-panel: linear-gradient(155deg, rgba(28, 40, 56, 0.94) 0%, rgba(10, 16, 24, 0.97) 100%) !important;
    --merc-gold: #d4a574 !important;
    --merc-gold-bright: #e8c9a0 !important;
    --merc-gold-dim: #8a9aab !important;
    --merc-text: #d8e2ee !important;
    --merc-muted: #8a9aab !important;
    color: #d8e2ee !important;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(126, 184, 201, 0.1), transparent 55%),
        #0a1018 !important;
}

/* —— Pets —— */
body.nachtlager-site .pets-wrap {
    color: #d8e2ee !important;
}
body.nachtlager-site .pets-wrap h1,
body.nachtlager-site .pets-wrap h2,
body.nachtlager-site .pets-wrap h3 {
    color: #e8f0fa !important;
}
body.nachtlager-site .pets-wrap [class*="card"],
body.nachtlager-site .pets-wrap [class*="panel"],
body.nachtlager-site .pets-wrap [class*="box"],
body.nachtlager-site .pets-wrap button,
body.nachtlager-site .pets-wrap .btn {
    border-color: rgba(197, 212, 232, 0.26) !important;
}

/* —— Profil —— */
body.nachtlager-site .profil-wrap {
    color: #d8e2ee !important;
}
body.nachtlager-site .profil-wrap h2 {
    color: #e8f0fa !important;
}
body.nachtlager-site .profil-wrap input,
body.nachtlager-site .profil-wrap select,
body.nachtlager-site .profil-wrap textarea,
body.nachtlager-site .profil-wrap button,
body.nachtlager-site .profil-wrap .btn,
body.nachtlager-site .profil-wrap [class*="box"],
body.nachtlager-site .profil-wrap [class*="card"] {
    border-color: rgba(197, 212, 232, 0.26) !important;
    background-color: rgba(12, 20, 30, 0.85) !important;
    color: #d8e2ee !important;
}

/* —— Heiliger Drache —— */
body.nachtlager-site .hd-page {
    color: #d8e2ee !important;
}
body.nachtlager-site .hd-page h1,
body.nachtlager-site .hd-page h2,
body.nachtlager-site .hd-page h3 {
    color: #e8f0fa !important;
}
body.nachtlager-site .hd-page [class*="panel"],
body.nachtlager-site .hd-page [class*="card"],
body.nachtlager-site .hd-page [class*="box"],
body.nachtlager-site .hd-page button {
    border-color: rgba(197, 212, 232, 0.28) !important;
}

/* —— Referral (andere Hex-Palette) —— */
body.nachtlager-site .ref-wrap {
    color: #d8e2ee !important;
    font-family: 'Outfit', system-ui, sans-serif !important;
}
body.nachtlager-site .ref-title,
body.nachtlager-site .ref-reward-block h4,
body.nachtlager-site .ref-rp-head strong {
    color: #e8c9a0 !important;
}
body.nachtlager-site .ref-box,
body.nachtlager-site .ref-reward-block,
body.nachtlager-site .ref-rp-card {
    background: rgba(12, 20, 30, 0.92) !important;
    border: 1px solid rgba(197, 212, 232, 0.26) !important;
    border-radius: 12px !important;
}
body.nachtlager-site .ref-btn {
    background: linear-gradient(135deg, #7eb8c9, #3a6a7a) !important;
    color: #0a1018 !important;
}
body.nachtlager-site .ref-rp-bar-fill {
    background: linear-gradient(90deg, #7eb8c9 0%, #5a90a8 40%, #d4a574 100%) !important;
    box-shadow: 0 0 12px rgba(126, 184, 201, 0.45) !important;
}

/* —— Generische Glory-Reste (Buttons / Borders) —— */
body.nachtlager-site .markt-glory-theme button,
body.nachtlager-site .bank-glory-theme button,
body.nachtlager-site .liga-glory-theme button,
body.nachtlager-site .rank-glory-theme button,
body.nachtlager-site .kata-glory-theme button {
    transition: filter 0.2s, border-color 0.2s, box-shadow 0.2s;
}
body.nachtlager-site input[type="text"],
body.nachtlager-site input[type="number"],
body.nachtlager-site input[type="password"],
body.nachtlager-site select,
body.nachtlager-site textarea {
    caret-color: #c5d4e8;
}

/* —— Standalone Popups —— */
body.popup-nachtlager {
    background-color: #070c12 !important;
    background-image:
        linear-gradient(180deg, rgba(7, 12, 18, 0.72), rgba(7, 12, 18, 0.88)),
        url("../img/lager/nachtlager/hero-atmosphere.png") !important;
    background-size: cover !important;
    background-position: center top !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    color: #d8e2ee !important;
}
body.popup-nachtlager .popup-glory-wrap,
body.popup-nachtlager .quests-wrap,
body.nachtlager-site .quests-wrap {
    --pg-bg: #0a1018;
    --pg-gold: #d4a574;
    --pg-gold-bright: #e8c9a0;
    --pg-text: #d8e2ee;
    --pg-muted: #8a9aab;
    --pg-border: rgba(197, 212, 232, 0.22);
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(126, 184, 201, 0.1), transparent 55%),
        #0a1018 !important;
    color: #d8e2ee !important;
    border: 1px solid rgba(197, 212, 232, 0.26) !important;
    border-radius: 14px !important;
    box-shadow:
        0 0 0 1px rgba(126, 184, 201, 0.18),
        0 16px 48px rgba(0, 0, 0, 0.55) !important;
}
body.popup-nachtlager h1,
body.popup-nachtlager h2,
body.popup-nachtlager h3,
body.popup-nachtlager .modal-title {
    color: #e8f0fa !important;
}
body.popup-nachtlager a {
    color: #7eb8c9 !important;
}
body.popup-nachtlager a:hover {
    color: #e8c9a0 !important;
}
body.popup-nachtlager button,
body.popup-nachtlager .btn,
body.popup-nachtlager .modal-btn {
    border-color: rgba(197, 212, 232, 0.3) !important;
    background: linear-gradient(135deg, rgba(126, 184, 201, 0.22), rgba(18, 28, 40, 0.9)) !important;
    color: #e8f0fa !important;
}
body.popup-nachtlager input,
body.popup-nachtlager select,
body.popup-nachtlager textarea {
    background: rgba(8, 14, 22, 0.9) !important;
    border: 1px solid rgba(197, 212, 232, 0.25) !important;
    color: #d8e2ee !important;
}

/* —— Hex-Nachzug: Pets —— */
body.nachtlager-site .pets-hero {
    border-color: rgba(197, 212, 232, 0.4) !important;
}
body.nachtlager-site .pets-hero::after {
    background: linear-gradient(90deg, rgba(6, 12, 18, 0.9) 0%, rgba(6, 12, 18, 0.55) 45%, rgba(6, 12, 18, 0.25) 100%) !important;
}
body.nachtlager-site .pets-hero h1,
body.nachtlager-site .pets-box h2 {
    color: #e8c9a0 !important;
}
body.nachtlager-site .pets-box {
    background: linear-gradient(160deg, rgba(22, 34, 50, 0.98), rgba(10, 16, 24, 0.99)) !important;
    border-color: rgba(197, 212, 232, 0.35) !important;
}
body.nachtlager-site .pets-grid div,
body.nachtlager-site .pets-item,
body.nachtlager-site .pets-slot,
body.nachtlager-site .pets-bag-item,
body.nachtlager-site .pets-pick,
body.nachtlager-site .pets-slot img,
body.nachtlager-site .pets-bag-item img {
    border-color: rgba(197, 212, 232, 0.28) !important;
    background: rgba(0, 0, 0, 0.4) !important;
}
body.nachtlager-site .pets-btn {
    border-color: rgba(126, 184, 201, 0.45) !important;
    background: linear-gradient(180deg, #2a4a5a, #142430) !important;
    color: #e8f0fa !important;
}
body.nachtlager-site .pets-btn.secondary {
    border-color: rgba(197, 212, 232, 0.3) !important;
    background: linear-gradient(180deg, #1a2838, #0c141c) !important;
    color: #c5d4e8 !important;
}
body.nachtlager-site .pets-item.is-active,
body.nachtlager-site .pets-slot.has-item {
    border-color: rgba(212, 165, 116, 0.55) !important;
    box-shadow: 0 0 12px rgba(126, 184, 201, 0.2) !important;
}
body.nachtlager-site .pets-grid strong,
body.nachtlager-site .pets-slot-label,
body.nachtlager-site .pets-picker-label,
body.nachtlager-site .pets-hint {
    color: #8a9aab !important;
}
body.nachtlager-site .pets-item input[type=number] {
    background: #0a1018 !important;
    border-color: rgba(197, 212, 232, 0.28) !important;
    color: #d8e2ee !important;
}

/* —— Hex-Nachzug: Profil —— */
body.nachtlager-site .profil-wrap h2,
body.nachtlager-site .profil-title-btn {
    color: #e8c9a0 !important;
}
body.nachtlager-site .profil-panel {
    background: linear-gradient(160deg, rgba(22, 32, 46, 0.95), rgba(10, 16, 24, 0.98)) !important;
    border-color: rgba(197, 212, 232, 0.28) !important;
}
body.nachtlager-site .profil-panel h3,
body.nachtlager-site .profil-title-box label {
    color: #d4a574 !important;
}
body.nachtlager-site .profil-equip-list li,
body.nachtlager-site .profil-title-btn,
body.nachtlager-site .profil-title-menu {
    border-color: rgba(197, 212, 232, 0.22) !important;
    background: rgba(8, 14, 22, 0.9) !important;
}

/* —— Hex-Nachzug: Heiliger Drache —— */
body.nachtlager-site .hd-hero,
body.nachtlager-site .hd-hero-art,
body.nachtlager-site .hd-box,
body.nachtlager-site .hd-bar,
body.nachtlager-site .hd-tier {
    border-color: rgba(197, 212, 232, 0.3) !important;
    background: linear-gradient(135deg, rgba(22, 34, 50, 0.94), rgba(10, 16, 24, 0.96)) !important;
}
body.nachtlager-site .hd-hero h1,
body.nachtlager-site .hd-stat,
body.nachtlager-site .hd-tier .title {
    color: #e8c9a0 !important;
}
body.nachtlager-site .hd-hero p,
body.nachtlager-site .hd-bar-label,
body.nachtlager-site .hd-bar-hint,
body.nachtlager-site .hd-box h2 {
    color: #8a9aab !important;
}
body.nachtlager-site .hd-bar-fill {
    background: linear-gradient(90deg, #5a90a8, #d4a574) !important;
}
body.nachtlager-site .hd-tier.ready {
    border-color: rgba(126, 184, 201, 0.5) !important;
    background: rgba(20, 40, 56, 0.5) !important;
}

/* —— Hex-Nachzug: Referral —— */
body.nachtlager-site .ref-box,
body.nachtlager-site .ref-rp-block,
body.nachtlager-site .ref-link-row input,
body.nachtlager-site .ref-icon-slot,
body.nachtlager-site .ref-hero-img img,
body.nachtlager-site .ref-rp-bar-track {
    border-color: rgba(197, 212, 232, 0.3) !important;
}
body.nachtlager-site .ref-box {
    background: rgba(8, 14, 22, 0.88) !important;
}
body.nachtlager-site .ref-table th,
body.nachtlager-site .ref-table td {
    border-bottom-color: rgba(197, 212, 232, 0.18) !important;
}
body.nachtlager-site .ref-stat-k,
body.nachtlager-site .ref-muted,
body.nachtlager-site .ref-icon-caption,
body.nachtlager-site .ref-rp-bar-label {
    color: #8a9aab !important;
}
body.nachtlager-site .ref-stat-v {
    color: #e8f0fa !important;
}
body.nachtlager-site .ref-reward-chip:hover .ref-icon-slot {
    border-color: rgba(126, 184, 201, 0.55) !important;
}

/* —— Hex-Nachzug: Katakomben Legacy-Braun —— */
body.nachtlager-site .kata-glory-theme .member-table th {
    border-bottom-color: rgba(197, 212, 232, 0.28) !important;
}
body.nachtlager-site .kata-glory-theme .member-table td {
    border-bottom-color: rgba(197, 212, 232, 0.12) !important;
}
body.nachtlager-site .kata-glory-theme .clan-col-left {
    border-right-color: rgba(197, 212, 232, 0.22) !important;
}
body.nachtlager-site .kata-glory-theme .clan-header-red {
    border-bottom-color: rgba(197, 212, 232, 0.22) !important;
}

/* —— Popups: Glory-Body Gold-Wash —— */
body.popup-nachtlager.popup-glory-body {
    background: #070c12 !important;
}
body.popup-nachtlager.popup-glory-body::before {
    background:
        radial-gradient(ellipse 90% 55% at 50% 0%, rgba(126, 184, 201, 0.1), transparent 55%),
        rgba(6, 12, 18, 0.85) !important;
}

/* —— Clan Verstärken (Popup) —— */
body.popup-nachtlager {
    --cr-bg: #0a1018 !important;
    --cr-gold: #d4a574 !important;
    --cr-gold-bright: #e8c9a0 !important;
    --cr-text: #d8e2ee !important;
    --cr-muted: #8a9aab !important;
    --cr-border: rgba(197, 212, 232, 0.26) !important;
    --cr-panel: linear-gradient(160deg, rgba(22, 32, 46, 0.97), rgba(10, 16, 24, 0.99)) !important;
}
body.popup-nachtlager.popup-glory-body {
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(126, 184, 201, 0.1), transparent 55%),
        #0a1018 !important;
}
body.popup-nachtlager.popup-glory-body::before {
    background:
        radial-gradient(ellipse 70% 40% at 50% 0%, rgba(126, 184, 201, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, rgba(6, 12, 18, 0.55) 0%, rgba(6, 12, 18, 0.88) 45%, #0a1018 100%) !important;
}
body.popup-nachtlager .cr-wrap {
    color: #d8e2ee !important;
}
body.popup-nachtlager .cr-banner {
    border-color: rgba(197, 212, 232, 0.32) !important;
    box-shadow:
        0 0 0 1px rgba(126, 184, 201, 0.16),
        0 16px 40px rgba(0, 0, 0, 0.55) !important;
}
body.popup-nachtlager .cr-header {
    border-bottom-color: rgba(197, 212, 232, 0.22) !important;
}
body.popup-nachtlager .cr-header h1 {
    color: #e8f0fa !important;
    text-shadow: 0 0 14px rgba(126, 184, 201, 0.22) !important;
}
body.popup-nachtlager .cr-clan {
    color: #7eb8c9 !important;
}
body.popup-nachtlager .cr-header p,
body.popup-nachtlager .cr-treasury p,
body.popup-nachtlager .cr-card .desc,
body.popup-nachtlager .cr-goal,
body.popup-nachtlager .cr-history-empty,
body.popup-nachtlager .cr-clan-level-top {
    color: #8a9aab !important;
}
body.popup-nachtlager .cr-stat,
body.popup-nachtlager .cr-treasury,
body.popup-nachtlager .cr-card,
body.popup-nachtlager .cr-history {
    background: var(--cr-panel) !important;
    border-color: rgba(197, 212, 232, 0.26) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4) !important;
}
body.popup-nachtlager .cr-stat span {
    color: #8a9aab !important;
}
body.popup-nachtlager .cr-stat strong,
body.popup-nachtlager .cr-treasury h2,
body.popup-nachtlager .cr-card h3,
body.popup-nachtlager .cr-history h2,
body.popup-nachtlager .cr-history-user {
    color: #e8c9a0 !important;
}
body.popup-nachtlager .cr-history h3,
body.popup-nachtlager .cr-level-row .lv {
    color: #7eb8c9 !important;
}
body.popup-nachtlager .cr-icon {
    border-color: rgba(126, 184, 201, 0.4) !important;
}
body.popup-nachtlager .cr-input {
    background: rgba(8, 14, 22, 0.9) !important;
    border-color: rgba(197, 212, 232, 0.28) !important;
    color: #d8e2ee !important;
}
body.popup-nachtlager .cr-btn {
    background: linear-gradient(180deg, rgba(126, 184, 201, 0.35), rgba(18, 36, 48, 0.95)) !important;
    border-color: rgba(126, 184, 201, 0.45) !important;
    color: #e8f0fa !important;
}
body.popup-nachtlager .cr-btn:hover:not(:disabled) {
    filter: brightness(1.12);
}
body.popup-nachtlager .cr-level-bar span {
    background: linear-gradient(90deg, #3a6a7a, #7eb8c9) !important;
}
body.popup-nachtlager .cr-mini-bar span {
    background: #5a90a8 !important;
}
body.popup-nachtlager .cr-level-row {
    background: rgba(0, 0, 0, 0.32) !important;
}
body.popup-nachtlager .cr-status {
    background: rgba(8, 14, 22, 0.96) !important;
    border-color: rgba(197, 212, 232, 0.3) !important;
    color: #d8e2ee !important;
}
body.popup-nachtlager .cr-history-table th {
    color: #8a9aab !important;
    border-bottom-color: rgba(197, 212, 232, 0.22) !important;
    background: #0e1824 !important;
}
body.popup-nachtlager .cr-history-table td {
    border-bottom-color: rgba(197, 212, 232, 0.1) !important;
    color: #d8e2ee !important;
}
body.popup-nachtlager .cr-history-mats {
    color: #8a9aab !important;
}
body.popup-nachtlager::-webkit-scrollbar-thumb {
    background: rgba(126, 184, 201, 0.35) !important;
}

/* —— Auktionshaus-Seite —— */
body.nachtlager-site .ah-page {
    /* Tokens liegen bereits im Seiten-CSS; hier nur Frame-Harmonie */
    box-shadow:
        0 0 0 1px rgba(126, 184, 201, 0.16),
        0 0 0 4px rgba(6, 12, 18, 0.88) !important;
}
body.nachtlager-site .ah-page .msg.success,
body.nachtlager-site .ah-page .msg.error {
    border-radius: 10px;
}

/* —— Admin Panel —— */
body.nachtlager-site.log-page-admin .main-container,
body.nachtlager-site .admin-wrap.admin-glory-theme {
    --p-bg: #0a1018 !important;
    --p-panel: linear-gradient(160deg, rgba(22, 32, 46, 0.97), rgba(10, 16, 24, 0.99)) !important;
    --p-gold: #d4a574 !important;
    --p-gold-bright: #e8c9a0 !important;
    --p-text: #d8e2ee !important;
    --p-muted: #8a9aab !important;
    --p-border: rgba(197, 212, 232, 0.22) !important;
    --p-border-strong: rgba(126, 184, 201, 0.38) !important;
    --accent: #d4a574 !important;
    --accent2: #3a6a7a !important;
    --text: #d8e2ee !important;
}
body.nachtlager-site .admin-wrap.admin-glory-theme {
    color: #d8e2ee !important;
    background: linear-gradient(160deg, rgba(22, 32, 46, 0.97), rgba(10, 16, 24, 0.99)) !important;
    border-color: rgba(126, 184, 201, 0.38) !important;
    box-shadow:
        0 0 0 1px rgba(126, 184, 201, 0.16),
        0 24px 64px rgba(0, 0, 0, 0.75) !important;
}
body.nachtlager-site .admin-glory-theme .admin-page-title {
    color: #e8f0fa !important;
    border-bottom-color: rgba(197, 212, 232, 0.22) !important;
    text-shadow: 0 0 14px rgba(126, 184, 201, 0.2);
}
body.nachtlager-site .admin-glory-theme .admin-nav {
    background: rgba(8, 14, 22, 0.82) !important;
    border-color: rgba(197, 212, 232, 0.26) !important;
}
body.nachtlager-site .admin-glory-theme .admin-nav-group-title {
    color: #7eb8c9 !important;
}
body.nachtlager-site .admin-glory-theme .admin-nav-links a {
    background: linear-gradient(180deg, rgba(22, 36, 48, 0.92), rgba(12, 20, 30, 0.95)) !important;
    border-color: rgba(197, 212, 232, 0.26) !important;
    color: #d8e2ee !important;
}
body.nachtlager-site .admin-glory-theme .admin-nav-links a:hover,
body.nachtlager-site .admin-glory-theme .admin-nav-links a.active {
    background: linear-gradient(135deg, rgba(126, 184, 201, 0.28), rgba(18, 28, 40, 0.9)) !important;
    border-color: rgba(126, 184, 201, 0.45) !important;
    color: #e8f0fa !important;
    box-shadow: 0 0 12px rgba(126, 184, 201, 0.18) !important;
}
body.nachtlager-site .admin-glory-theme .admin-btn {
    background: linear-gradient(135deg, rgba(126, 184, 201, 0.28), rgba(18, 28, 40, 0.9)) !important;
    border-color: rgba(126, 184, 201, 0.42) !important;
    color: #e8f0fa !important;
}
body.nachtlager-site .admin-glory-theme .admin-box,
body.nachtlager-site .admin-glory-theme .admin-form input,
body.nachtlager-site .admin-glory-theme .admin-form textarea,
body.nachtlager-site .admin-glory-theme .admin-form select {
    border-color: rgba(197, 212, 232, 0.26) !important;
    background-color: rgba(8, 14, 22, 0.85) !important;
    color: #d8e2ee !important;
}
body.nachtlager-site .admin-glory-theme .admin-table th {
    background: rgba(126, 184, 201, 0.1) !important;
    color: #e8c9a0 !important;
    border-color: rgba(197, 212, 232, 0.22) !important;
}
body.nachtlager-site .admin-glory-theme .admin-table td {
    border-color: rgba(197, 212, 232, 0.12) !important;
    color: #8a9aab !important;
}
body.nachtlager-site .admin-glory-theme .admin-box h3,
body.nachtlager-site .admin-glory-theme .admin-grant-item-heading,
body.nachtlager-site .admin-glory-theme .admin-box code {
    color: #e8c9a0 !important;
}
body.nachtlager-site .admin-glory-theme a[style*="color:#d4af37"],
body.nachtlager-site .admin-glory-theme a[style*="color:#c9a962"],
body.nachtlager-site .admin-glory-theme a[style*="color:#e8c9a0"] {
    color: #7eb8c9 !important;
}
/* Sub-Nav Buttons im Chrome (Admin / Support / Chatmod) */
body.nachtlager-site .quest-reward-hint-btn[href*="page=admin"],
body.nachtlager-site a.nav-extra-btn[href*="page=admin"],
body.nachtlager-site .header-extra a[href*="page=admin"] {
    border-color: rgba(126, 184, 201, 0.45) !important;
    color: #e8f0fa !important;
}

/* —— Support (Popup) —— */
body.popup-nachtlager .popup-glory-wrap {
    --p-bg: #0a1018;
    --p-panel: linear-gradient(160deg, rgba(22, 32, 46, 0.97), rgba(10, 16, 24, 0.99));
    --p-gold: #d4a574;
    --p-gold-bright: #e8c9a0;
    --p-text: #d8e2ee;
    --p-muted: #8a9aab;
    --p-border: rgba(197, 212, 232, 0.22);
    --p-border-strong: rgba(126, 184, 201, 0.38);
}
body.popup-nachtlager .support-security-hint {
    border-left-color: rgba(126, 184, 201, 0.55) !important;
    background: rgba(126, 184, 201, 0.08) !important;
    color: #8a9aab !important;
}
body.popup-nachtlager .btn-small,
body.popup-nachtlager .support-form button[type="submit"],
body.popup-nachtlager button[type="submit"] {
    background: linear-gradient(135deg, rgba(126, 184, 201, 0.28), rgba(18, 28, 40, 0.9)) !important;
    border-color: rgba(126, 184, 201, 0.42) !important;
    color: #e8f0fa !important;
}
body.popup-nachtlager .btn-small.btn-danger {
    background: linear-gradient(135deg, rgba(140, 40, 40, 0.55), rgba(90, 25, 25, 0.65)) !important;
    border-color: rgba(200, 80, 80, 0.5) !important;
    color: #ffb8b8 !important;
}
body.popup-nachtlager .msg-table th {
    background: rgba(126, 184, 201, 0.1) !important;
    color: #e8c9a0 !important;
}
body.popup-nachtlager .msg-row:hover,
body.popup-nachtlager .msg-row-unread {
    background: rgba(126, 184, 201, 0.08) !important;
}

/* —— ChatMod —— */
body.nachtlager-site .chatmod-root.chatmod-glory-body,
body.popup-nachtlager.chatmod-glory-body,
body.popup-nachtlager.chatmod-popout-body,
.chatmod-nachtlager.chatmod-root {
    --cm-bg: #0a1018 !important;
    --cm-panel: linear-gradient(160deg, rgba(22, 32, 46, 0.97), rgba(10, 16, 24, 0.99)) !important;
    --cm-gold: #d4a574 !important;
    --cm-gold-bright: #e8c9a0 !important;
    --cm-text: #d8e2ee !important;
    --cm-muted: #8a9aab !important;
    --cm-border: rgba(197, 212, 232, 0.22) !important;
    --cm-border-strong: rgba(126, 184, 201, 0.38) !important;
    color: #d8e2ee !important;
}
body.nachtlager-site .chatmod-glory-wrap,
body.popup-nachtlager .chatmod-glory-wrap {
    background: linear-gradient(160deg, rgba(22, 32, 46, 0.97), rgba(10, 16, 24, 0.99)) !important;
    border-color: rgba(126, 184, 201, 0.38) !important;
    box-shadow:
        0 0 0 1px rgba(126, 184, 201, 0.16),
        0 24px 64px rgba(0, 0, 0, 0.75) !important;
}
body.nachtlager-site .chatmod-section,
body.popup-nachtlager .chatmod-section {
    border-color: rgba(197, 212, 232, 0.26) !important;
    background: rgba(8, 14, 22, 0.55) !important;
}
body.nachtlager-site .chatmod-section-title,
body.popup-nachtlager .chatmod-section-title,
body.nachtlager-site .chatmod-target-name,
body.popup-nachtlager .chatmod-target-name,
body.nachtlager-site .chatmod-title-row h1,
body.popup-nachtlager .chatmod-title-row h1,
body.nachtlager-site .chatmod-log-title,
body.popup-nachtlager .chatmod-log-title,
body.nachtlager-site .chatmod-flyout-title,
body.popup-nachtlager .chatmod-flyout-title {
    color: #e8c9a0 !important;
}
body.nachtlager-site .chatmod-root .btn,
body.popup-nachtlager .btn,
body.nachtlager-site a.chatmod-filter-clear,
body.popup-nachtlager a.chatmod-filter-clear {
    background: linear-gradient(135deg, rgba(126, 184, 201, 0.28), rgba(18, 28, 40, 0.9)) !important;
    border-color: rgba(126, 184, 201, 0.42) !important;
    color: #e8f0fa !important;
}
body.nachtlager-site .chatmod-root .btn.btn-danger,
body.popup-nachtlager .btn.btn-danger,
body.nachtlager-site .chatmod-flyout-btn-danger,
body.popup-nachtlager .chatmod-flyout-btn-danger {
    background: linear-gradient(135deg, rgba(140, 40, 40, 0.55), rgba(90, 25, 25, 0.65)) !important;
    border-color: rgba(200, 80, 80, 0.5) !important;
    color: #ffb8b8 !important;
}
body.nachtlager-site .chatmod-root .input,
body.popup-nachtlager .input,
body.nachtlager-site .chatmod-root textarea.input,
body.popup-nachtlager textarea.input,
body.nachtlager-site .chatmod-root select.input,
body.popup-nachtlager select.input {
    background: rgba(8, 14, 22, 0.9) !important;
    border-color: rgba(197, 212, 232, 0.28) !important;
    color: #d8e2ee !important;
}
body.nachtlager-site .chatmod-currency-strip,
body.popup-nachtlager .chatmod-currency-strip {
    background: rgba(8, 14, 22, 0.72) !important;
    border-color: rgba(197, 212, 232, 0.26) !important;
}
body.nachtlager-site .chatmod-status-pill,
body.popup-nachtlager .chatmod-status-pill {
    background: rgba(8, 14, 22, 0.7) !important;
    border-color: rgba(197, 212, 232, 0.26) !important;
}
body.nachtlager-site .chatmod-live .livechat,
body.popup-nachtlager .chatmod-live .livechat,
body.nachtlager-site .chatmod-live .users,
body.popup-nachtlager .chatmod-live .users {
    background: rgba(8, 14, 22, 0.65) !important;
    border-color: rgba(197, 212, 232, 0.26) !important;
}
body.nachtlager-site .livechat-compose,
body.popup-nachtlager .livechat-compose {
    background: rgba(8, 14, 22, 0.75) !important;
    border-top-color: rgba(197, 212, 232, 0.22) !important;
}
body.nachtlager-site .chatmod-emoji-btn,
body.popup-nachtlager .chatmod-emoji-btn {
    background: rgba(18, 28, 40, 0.95) !important;
    border-color: rgba(126, 184, 201, 0.35) !important;
    color: #c5d4e8 !important;
}
body.nachtlager-site .chatmod-emoji-picker,
body.popup-nachtlager .chatmod-emoji-picker {
    background: rgba(10, 16, 24, 0.98) !important;
    border-color: rgba(126, 184, 201, 0.35) !important;
}
body.nachtlager-site .chatmod-log-panel,
body.popup-nachtlager .chatmod-log-panel,
body.nachtlager-site .chatmod-user-flyout-panel,
body.popup-nachtlager .chatmod-user-flyout-panel {
    background: linear-gradient(160deg, rgba(22, 32, 46, 0.98), rgba(10, 16, 24, 0.99)) !important;
    border-color: rgba(126, 184, 201, 0.38) !important;
}
body.nachtlager-site .chatmod-log-table th,
body.popup-nachtlager .chatmod-log-table th {
    background: rgba(126, 184, 201, 0.1) !important;
    color: #e8c9a0 !important;
    border-color: rgba(197, 212, 232, 0.22) !important;
}
body.nachtlager-site .chatmod-log-table td,
body.popup-nachtlager .chatmod-log-table td {
    color: #8a9aab !important;
    border-color: rgba(197, 212, 232, 0.14) !important;
}
body.nachtlager-site #chatmod-content .chat-msg-mod-online,
body.popup-nachtlager #chatmod-content .chat-msg-mod-online {
    border-left-color: #7eb8c9 !important;
    background: rgba(126, 184, 201, 0.12) !important;
}
body.nachtlager-site .chat-pinned-label,
body.popup-nachtlager .chat-pinned-label {
    color: #e8c9a0 !important;
}
body.nachtlager-site .quest-reward-hint-btn[href*="page=chatmod"],
body.nachtlager-site a.nav-extra-btn[href*="page=chatmod"],
body.nachtlager-site .header-extra a[href*="page=chatmod"] {
    border-color: rgba(126, 184, 201, 0.45) !important;
    color: #e8f0fa !important;
}

/* —— Crafting (Markt) — Nachtlager Gaming Look + Motion —— */
body.nachtlager-site .markt-glory-theme .craft-workspace.craft-nachtlager {
    position: relative;
    isolation: isolate;
    gap: 14px;
    padding: 4px 2px 8px;
}
body.nachtlager-site .markt-glory-theme .craft-ambient {
    position: absolute;
    inset: -6px -4px auto -4px;
    height: 180px;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    border-radius: 16px;
    background:
        radial-gradient(ellipse 60% 80% at 18% 20%, rgba(126, 184, 201, 0.16), transparent 60%),
        radial-gradient(ellipse 50% 70% at 85% 10%, rgba(197, 212, 232, 0.1), transparent 55%);
}
body.nachtlager-site .markt-glory-theme .craft-ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.55;
    animation: craftNightOrb 9s ease-in-out infinite;
}
body.nachtlager-site .markt-glory-theme .craft-ambient-orb--a {
    width: 120px; height: 120px; left: 8%; top: 10%;
    background: rgba(126, 184, 201, 0.35);
}
body.nachtlager-site .markt-glory-theme .craft-ambient-orb--b {
    width: 90px; height: 90px; right: 12%; top: 0;
    background: rgba(232, 201, 160, 0.18);
    animation-delay: -3s;
}
body.nachtlager-site .markt-glory-theme .craft-ambient-orb--c {
    width: 70px; height: 70px; left: 48%; top: 40%;
    background: rgba(197, 212, 232, 0.22);
    animation-delay: -5.5s;
}
body.nachtlager-site .markt-glory-theme .craft-ambient-spark {
    position: absolute;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: #e8f0fa;
    box-shadow: 0 0 8px rgba(126, 184, 201, 0.9);
    animation: craftNightSpark 4.8s linear infinite;
}
body.nachtlager-site .markt-glory-theme .craft-ambient-spark--1 { left: 22%; top: 70%; animation-delay: 0s; }
body.nachtlager-site .markt-glory-theme .craft-ambient-spark--2 { left: 58%; top: 35%; animation-delay: -1.2s; }
body.nachtlager-site .markt-glory-theme .craft-ambient-spark--3 { left: 78%; top: 62%; animation-delay: -2.4s; }
body.nachtlager-site .markt-glory-theme .craft-ambient-spark--4 { left: 40%; top: 18%; animation-delay: -3.1s; }
@keyframes craftNightOrb {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.45; }
    50% { transform: translate(12px, -10px) scale(1.12); opacity: 0.7; }
}
@keyframes craftNightSpark {
    0% { transform: translateY(8px) scale(0.4); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translateY(-56px) scale(1); opacity: 0; }
}
body.nachtlager-site .markt-glory-theme .craft-hero-band {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(126, 184, 201, 0.32);
    background:
        linear-gradient(120deg, rgba(22, 36, 50, 0.95), rgba(10, 16, 24, 0.92));
    box-shadow: 0 0 0 1px rgba(126, 184, 201, 0.1), 0 12px 28px rgba(0, 0, 0, 0.35);
}
body.nachtlager-site .markt-glory-theme .craft-hero-crest {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(212, 165, 116, 0.5);
    background: rgba(0, 0, 0, 0.45);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(0 0 10px rgba(126, 184, 201, 0.35));
    animation: craftCrestPulse 3.6s ease-in-out infinite;
}
body.nachtlager-site .markt-glory-theme .craft-hero-copy {
    min-width: 0;
    flex: 1;
}
body.nachtlager-site .markt-glory-theme .craft-hero-slots {
    margin-left: auto;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
@keyframes craftCrestPulse {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(126, 184, 201, 0.25)); transform: translateY(0); }
    50% { filter: drop-shadow(0 0 16px rgba(126, 184, 201, 0.55)); transform: translateY(-1px); }
}
body.nachtlager-site .markt-glory-theme .craft-hero-title {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    color: #e8f0fa;
    text-transform: uppercase;
}
body.nachtlager-site .markt-glory-theme .craft-hero-sub {
    margin-top: 2px;
    font-size: 12px;
    color: #8a9aab;
}
body.nachtlager-site .markt-glory-theme .craft-status-strip,
body.nachtlager-site .markt-glory-theme .craft-learned-section,
body.nachtlager-site .markt-glory-theme .craft-mat-exchange,
body.nachtlager-site .markt-glory-theme .craft-active-banner {
    position: relative;
    z-index: 1;
    border-color: rgba(197, 212, 232, 0.26) !important;
    background: linear-gradient(160deg, rgba(22, 32, 46, 0.96), rgba(10, 16, 24, 0.98)) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35) !important;
}
body.nachtlager-site .markt-glory-theme .craft-status-chip {
    border-color: rgba(126, 184, 201, 0.32) !important;
    background: rgba(8, 14, 22, 0.65) !important;
    color: #8a9aab !important;
}
body.nachtlager-site .markt-glory-theme .craft-status-chip strong {
    color: #e8f0fa !important;
}
body.nachtlager-site .markt-glory-theme .craft-status-chip--gold strong {
    color: #e8c9a0 !important;
}
body.nachtlager-site .markt-glory-theme .craft-status-chip--plus {
    border-color: rgba(126, 184, 201, 0.45) !important;
    color: #7eb8c9 !important;
}
body.nachtlager-site .markt-glory-theme .craft-slot-bar {
    border: 1px dashed rgba(126, 184, 201, 0.35) !important;
    background:
        radial-gradient(ellipse 70% 80% at 50% 100%, rgba(126, 184, 201, 0.1), transparent 60%),
        rgba(8, 14, 22, 0.55) !important;
    border-radius: 12px !important;
}
body.nachtlager-site .markt-glory-theme .craft-slot {
    border-color: rgba(197, 212, 232, 0.28) !important;
    background: linear-gradient(180deg, #162230, #0a1018) !important;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.35);
}
body.nachtlager-site .markt-glory-theme .craft-slot--filled {
    border-color: rgba(126, 184, 201, 0.65) !important;
    box-shadow: 0 0 0 1px rgba(126, 184, 201, 0.25), 0 0 18px rgba(126, 184, 201, 0.22) !important;
    animation: craftSlotGlow 2.4s ease-in-out infinite;
}
@keyframes craftSlotGlow {
    0%, 100% { box-shadow: 0 0 0 1px rgba(126, 184, 201, 0.2), 0 0 12px rgba(126, 184, 201, 0.15); }
    50% { box-shadow: 0 0 0 1px rgba(126, 184, 201, 0.4), 0 0 22px rgba(126, 184, 201, 0.35); }
}
body.nachtlager-site .markt-glory-theme .craft-slot--result {
    border-color: rgba(126, 207, 138, 0.4) !important;
    background: linear-gradient(180deg, rgba(20, 40, 36, 0.9), rgba(8, 16, 18, 0.95)) !important;
}
body.nachtlager-site .markt-glory-theme .craft-slot--result.craft-slot--filled {
    border-color: #7ecf8a !important;
    box-shadow: 0 0 0 1px rgba(126, 207, 138, 0.25), 0 0 20px rgba(126, 207, 138, 0.2) !important;
}
body.nachtlager-site .markt-glory-theme .craft-slot-label { color: #8a9aab !important; }
body.nachtlager-site .markt-glory-theme .craft-slot-placeholder { color: #5a7488 !important; }
body.nachtlager-site .markt-glory-theme .craft-slot-connector { color: #7eb8c9 !important; }
body.nachtlager-site .markt-glory-theme .craft-slot-connector--arrow {
    color: #7ecf8a !important;
    text-shadow: 0 0 10px rgba(126, 207, 138, 0.35);
}
body.nachtlager-site .markt-glory-theme .item-slot.selected {
    border-color: #7eb8c9 !important;
    box-shadow: 0 0 0 2px rgba(126, 184, 201, 0.35), 0 0 18px rgba(126, 184, 201, 0.28) !important;
}
body.nachtlager-site .markt-glory-theme .craft-info-panel {
    background: linear-gradient(180deg, #14202c, #0a1018) !important;
}
body.nachtlager-site .markt-glory-theme .craft-forge-stage {
    border-color: rgba(126, 184, 201, 0.35) !important;
    background: radial-gradient(circle at 50% 85%, rgba(126, 184, 201, 0.22), #080e14 58%) !important;
}
body.nachtlager-site .markt-glory-theme .craft-forge-glow {
    background: radial-gradient(circle at 50% 72%, rgba(126, 184, 201, 0.35), transparent 52%) !important;
}
body.nachtlager-site .markt-glory-theme .craft-forge-anvil {
    background: linear-gradient(180deg, #5a90a8, #2a4a5a) !important;
    border-color: #1a3040 !important;
}
body.nachtlager-site .markt-glory-theme .craft-forge-anvil::before {
    background: linear-gradient(180deg, #7eb8c9, #3a6a7a) !important;
}
body.nachtlager-site .markt-glory-theme .craft-forge-spark {
    background: #e8f0fa !important;
    box-shadow: 0 0 8px #7eb8c9 !important;
}
body.nachtlager-site .markt-glory-theme .craft-progress-fill {
    background: linear-gradient(90deg, #3a6a7a, #7eb8c9, #c5d4e8) !important;
    box-shadow: 0 0 12px rgba(126, 184, 201, 0.45) !important;
}
body.nachtlager-site .markt-glory-theme .craft-progress-track {
    border-color: rgba(197, 212, 232, 0.22) !important;
    background: rgba(0, 0, 0, 0.45) !important;
}
body.nachtlager-site .markt-glory-theme .craft-active-banner-head,
body.nachtlager-site .markt-glory-theme .craft-learned-head,
body.nachtlager-site .markt-glory-theme .craft-mat-exchange-title {
    color: #e8c9a0 !important;
}
body.nachtlager-site .markt-glory-theme .craft-active-banner-name,
body.nachtlager-site .markt-glory-theme .craft-item-info-name {
    color: #e8f0fa !important;
}
body.nachtlager-site .markt-glory-theme .craft-mat-exchange-hint,
body.nachtlager-site .markt-glory-theme .craft-mat-exchange-meta,
body.nachtlager-site .markt-glory-theme .craft-item-info-row {
    color: #8a9aab !important;
}
body.nachtlager-site .markt-glory-theme .craft-mat-exchange-icon {
    border-color: rgba(126, 184, 201, 0.4) !important;
    background: rgba(8, 14, 22, 0.9) !important;
    border-radius: 10px !important;
}
body.nachtlager-site .markt-glory-theme .craft-mat-exchange-form select,
body.nachtlager-site .markt-glory-theme .craft-mat-exchange-form input[type=number] {
    background: rgba(8, 14, 22, 0.9) !important;
    border: 1px solid rgba(197, 212, 232, 0.28) !important;
    color: #d8e2ee !important;
    border-radius: 8px !important;
}
body.nachtlager-site .markt-glory-theme .craft-mat-exchange-btn,
body.nachtlager-site .markt-glory-theme .craft-mat-exchange .buy-btn {
    background: linear-gradient(135deg, rgba(126, 184, 201, 0.32), rgba(18, 36, 48, 0.95)) !important;
    border-color: rgba(126, 184, 201, 0.45) !important;
    color: #e8f0fa !important;
    border-radius: 10px !important;
    letter-spacing: 0.06em;
}
body.nachtlager-site .markt-glory-theme .craft-learned-head {
    border-bottom-color: rgba(197, 212, 232, 0.2) !important;
}
body.nachtlager-site .markt-glory-theme .craft-learned-item {
    border-color: rgba(197, 212, 232, 0.24) !important;
    background: rgba(8, 14, 22, 0.55) !important;
}
body.nachtlager-site .markt-glory-theme .craft-learned-item:hover {
    border-color: rgba(126, 184, 201, 0.45) !important;
    background: rgba(126, 184, 201, 0.1) !important;
}
body.nachtlager-site .markt-glory-theme .craft-learned-item.is-active {
    border-color: rgba(126, 184, 201, 0.65) !important;
    background: linear-gradient(180deg, rgba(126, 184, 201, 0.18), rgba(8, 14, 22, 0.7)) !important;
    box-shadow: 0 0 16px rgba(126, 184, 201, 0.2);
}
body.nachtlager-site .markt-glory-theme .craft-learned-item span {
    color: #d8e2ee !important;
}
body.nachtlager-site .markt-glory-theme .craft-depot-container .depot-header,
body.nachtlager-site .markt-glory-theme .craft-depot-container .info-header {
    color: #e8f0fa !important;
}
body.nachtlager-site .markt-glory-theme .craft-job-slot-btn {
    border-color: rgba(197, 212, 232, 0.26) !important;
    background: rgba(8, 14, 22, 0.7) !important;
    color: #d8e2ee !important;
}
body.nachtlager-site .markt-glory-theme .craft-job-slot-btn.is-selected,
body.nachtlager-site .markt-glory-theme .craft-job-slot-btn.is-busy {
    border-color: rgba(126, 184, 201, 0.5) !important;
    box-shadow: 0 0 14px rgba(126, 184, 201, 0.18);
}
@media (prefers-reduced-motion: reduce) {
    body.nachtlager-site .markt-glory-theme .craft-ambient-orb,
    body.nachtlager-site .markt-glory-theme .craft-ambient-spark,
    body.nachtlager-site .markt-glory-theme .craft-hero-crest,
    body.nachtlager-site .markt-glory-theme .craft-slot--filled {
        animation: none !important;
    }
}

