@charset "utf-8";
/* ================================================================
   DARK THEME - GigaFun WoW Armory
   ================================================================
   All rules scoped to .dark-theme (applied to <html>)
   Activate: ?theme=dark or toggleTheme()

   Design reference: Warmane armory
   - Background:  #0F0F0F (main), #0e0e0e, #0a0a0a
   - Borders:      1px solid #1e1e1e
   - Text:         #606060 (body), #c1b575 (gold), #505050 (secondary)
   - Links:        #c1b575, hover #fff
   - Inputs:       bg #060606, border #1e1e1e
   - Buttons:      dark olive gradient
   - Dividers:     border-top 1px solid #1e1e1e, 8px height
   ================================================================ */


/* ================================================================
   1. BASE / GLOBALS
   ================================================================ */

.dark-theme,
.dark-theme html {
    background-color: #0a0a0a !important;
    color: #606060 !important;
}

.dark-theme body {
    background-color: #0a0a0a !important;
    color: #606060 !important;
}

.dark-theme a,
.dark-theme a:active,
.dark-theme a:visited {
    color: #c1b575 !important;
    text-decoration: none !important;
}

.dark-theme a:hover {
    color: #fff !important;
}

.dark-theme input {
    background-color: #060606 !important;
    border: 1px solid #1e1e1e !important;
    color: #c1b575 !important;
}

.dark-theme select {
    background-color: #060606 !important;
    border: 1px solid #1e1e1e !important;
    color: #c1b575 !important;
}

.dark-theme input.search-filter {
    color: #505050 !important;
}

.dark-theme blockquote h2 {
    color: #c1b575 !important;
}

.dark-theme blockquote h3,
.dark-theme blockquote h3 b {
    color: #a0a0a0 !important;
}

.dark-theme blockquote h4 {
    color: #c1b575 !important;
}

.dark-theme i {
    color: inherit !important;
}


/* ================================================================
   2. OUTER CONTAINER / MAIN BACKGROUND
   ================================================================ */

/* Keep Project Nemesis banner visible in outer-container — bust browser cache */
.dark-theme .outer-container {
    background-color: #0a0a0a !important;
    background-image: url('../images/own/bg_armory.jpg?v=20260416j') !important;
    background-repeat: no-repeat !important;
    background-position: 50% 0 !important;
}

.dark-theme body {
    background-color: #0a0a0a !important;
}

.dark-theme .inner-container {
    background: transparent !important;
    width: 1200px !important;
}

.dark-theme .outer-container {
    min-width: 1200px !important;
}

.dark-theme .data-container {
    background: transparent !important;
    width: 1200px !important;
    margin: 0 auto !important;
}

/* Rozšíření vnitřních kontejnerů na 1200px */
.dark-theme .data-shadow-top,
.dark-theme .data-shadow-sides,
.dark-theme .data-shadow-bot {
    width: 1200px !important;
}

.dark-theme .parch-int,
.dark-theme .parch-bot,
.dark-theme .parchment-top,
.dark-theme #replaceMain {
    width: 1200px !important;
    max-width: 1200px !important;
}

/* Profile wrapper širší */
.dark-theme .profile,
.dark-theme .profile-wrapper {
    width: 1140px !important;
    max-width: 1140px !important;
}

/* Pravý info panel — Warmane-style layout (45% z 1200 ≈ 520px) */
.dark-theme .profile-right {
    width: 540px !important;
}

/* Character stats panel pod header — natáhnout aby seděl hned za character modelem */
.dark-theme .char-profile_stats {
    width: 600px !important;
}

/* Character model area — nechat 519px, celkem 519 + 10 + 600 = 1129 v 1140 kontejneru */
.dark-theme .detail_active {
    margin-right: 10px !important;
}

/* Talent spec + Professions container — plní pravý panel */
.dark-theme .spec,
.dark-theme .prof,
.dark-theme .item_lvl {
    width: 500px !important;
    margin: 0 !important;
}

.dark-theme .prof_bg {
    width: 500px !important;
    box-sizing: border-box !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

/* Spec karta (Fury / N/A) — Warmane stub 240x50, ikona doleva jako profese */
.dark-theme .spec a {
    width: 240px !important;
    height: 50px !important;
    margin: 0 10px 0 0 !important;
    background: none !important;
    border: 1px solid #1e1e1e !important;
    border-radius: 3px !important;
    padding: 8px 12px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
}

/* Icon v rámci .spec a — zrušit float aby flex fungoval */
.dark-theme .spec .talent_icon {
    float: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
}
.dark-theme .spec .talent_icon img {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* Text v rámci .spec a — zrušit float */
.dark-theme .spec .talent_name {
    float: none !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    display: block !important;
}

.dark-theme .spec a.right_spec,
.dark-theme .spec a.na_right_empty {
    margin-right: 0 !important;
}

/* Profession karta — Warmane stub pattern, 2 per row */
.dark-theme .char_profession {
    flex: 0 0 calc(50% - 5px) !important;
    height: 40px !important;
    margin: 0 10px 0 0 !important;
    padding: 4px 8px !important;
    box-sizing: border-box !important;
}

.dark-theme .char_profession:nth-child(2n) {
    margin-right: 0 !important;
}

/* Keep original WotLK header layout — only neutralize parchment/light backgrounds */
.dark-theme .data-shadow-top,
.dark-theme .data-shadow-bot,
.dark-theme .data-shadow-sides {
    background: none !important;
    background-image: none !important;
}

/* Profile wrapper — consistent dark border */
.dark-theme .profile-wrapper {
    border: 1px solid #1e1e1e !important;
    border-radius: 4px !important;
    background: #0f0f0f !important;
}

/* ================================================================
   4. SEARCH BAR
   ================================================================ */

.dark-theme .search-bar {
    background: #111111 !important;
    border-bottom: 1px solid #1e1e1e !important;
    padding: 0 !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.dark-theme .int .search-bar .module {
    background: none !important;
    border: none !important;
}

.dark-theme .int .search-bar .module a {
    color: #c1b575 !important;
}

.dark-theme .int .search-module input {
    background: #060606 !important;
    border: 1px solid #1e1e1e !important;
    color: #c1b575 !important;
}

.dark-theme .int a.submit {
    color: #c1b575 !important;
    background-image: none !important;
}

.dark-theme .int a.submit span {
    background-image: none !important;
}

.dark-theme .int a.submit:hover {
    color: #fff !important;
}


/* ================================================================
   5. NAVIGATION
   ================================================================ */

.dark-theme .navigation a,
.dark-theme .navigation a:visited {
    color: #c1b575 !important;
}

.dark-theme .navigation a:hover {
    color: #fff !important;
}

.dark-theme .navigation .toplevel,
.dark-theme .navigation .toplevel:visited {
    color: #f0c419 !important;
    font-weight: bold !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important;
}

.dark-theme .navigation .toplevel:hover {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

.dark-theme #nav ul {
    background: #0f0f0f !important;
    border: 1px solid #1e1e1e !important;
}

.dark-theme #nav ul li {
    background: #0f0f0f !important;
}

.dark-theme #nav li ul a,
.dark-theme #nav li ul a:visited,
.dark-theme #nav li ul span {
    background-color: #0f0f0f !important;
    color: #c1b575 !important;
}

.dark-theme #nav li ul a:hover,
.dark-theme #nav li ul span:hover {
    background-color: #1a1a1a !important;
    color: #fff !important;
}


/* ================================================================
   6. LOGIN / USER AREA
   ================================================================ */

.dark-theme .login-container {
    background: none !important;
}

.dark-theme .login-container .module {
    background: none !important;
    border: none !important;
}

.dark-theme .login-container a {
    color: #c1b575 !important;
}

.dark-theme .loginbg {
    background: #0f0f0f !important;
    border: 1px solid #1e1e1e !important;
}

.dark-theme .loginLink {
    color: #c1b575 !important;
    background-image: none !important;
}

.dark-theme .loginBox {
    color: #606060 !important;
}

.dark-theme .loginBox a {
    color: #c1b575 !important;
}

.dark-theme .user {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .user h1,
.dark-theme .user h2 {
    color: #c1b575 !important;
}

.dark-theme .user-data {
    color: #606060 !important;
}

.dark-theme #menuHolder {
    background: #0f0f0f !important;
    border-color: #1e1e1e !important;
}

.dark-theme #myCharacters {
    background-color: #1a1a1a !important;
}

.dark-theme #myBookmarks {
    background-color: #141414 !important;
}

.dark-theme .menuItem {
    background: #0f0f0f !important;
}

.dark-theme .charlist {
    background-color: #1a1a1a !important;
}

.dark-theme .charlist:hover {
    background-color: #141414 !important;
}

.dark-theme .bmlist {
    background-color: #141414 !important;
}

.dark-theme .bmlist:hover {
    background-color: #1a1a1a !important;
}


/* ================================================================
   7. PARCHMENT → DARK FLAT
   ================================================================ */

.dark-theme .backplate {
    background: #0f0f0f !important;
    background-image: none !important;
    margin-top: 10px !important;
}

.dark-theme .bp2 {
    background: #0f0f0f !important;
    background-image: none !important;
    height: 10px !important;
}

.dark-theme .footerplate {
    background: #0f0f0f !important;
    background-image: none !important;
    height: 10px !important;
}

.dark-theme .backplate h3.banner {
    display: none !important;
}

.dark-theme .parch-int {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .parch-bot {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .parch-int .parchment-top {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .parchment-top {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .parchment-content {
    background: #0f0f0f !important;
    background-image: none !important;
    color: #606060 !important;
}

.dark-theme .profile-wrapper,
.dark-theme .profile-wrapper .profile,
.dark-theme .profile {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .list,
.dark-theme .full-list {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .player-side,
.dark-theme .team-side {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .info-pane {
    background: #0f0f0f !important;
    background-image: none !important;
    border-color: #1e1e1e !important;
}

.dark-theme .profile-content {
    background: #0f0f0f !important;
}

.dark-theme .sub-head {
    background: #141414 !important;
    background-image: none !important;
    color: #c1b575 !important;
}


/* ================================================================
   8. DECORATIVE ELEMENTS — hide/neutralize
   ================================================================ */

/* Decorative elements (chains, dragon, naga, stars) — keep visible per user request */

.dark-theme .armory-left {
    display: none !important;
}

.dark-theme .ab-container,
.dark-theme .pin-container {
    display: none !important;
}


/* ================================================================
   9. PROFILE HEADER — dark blue/purple gradient
   ================================================================ */

.dark-theme .profile_header,
.dark-theme .header_Horde,
.dark-theme .type_Horde .profile_header,
.dark-theme .header_Alliance,
.dark-theme .type_Alliance .profile_header,
.dark-theme .header_Propass,
.dark-theme .type_Propass .profile_header {
    background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 40%, #15152a 70%, #0f0f1f 100%) !important;
    background-image: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 40%, #15152a 70%, #0f0f1f 100%) !important;
    border-bottom: 1px solid #1e1e1e !important;
}

.dark-theme .header_Horde .profile-right,
.dark-theme .header_Propass .profile-right {
    background: none !important;
    background-image: none !important;
}

.dark-theme .charNameHeader {
    color: #c1b575 !important;
    font-size: 28px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
}

.dark-theme .charGuildName a,
.dark-theme .charGuildName a:visited {
    color: #c1b575 !important;
}

.dark-theme .charGuildName a:hover {
    color: #fff !important;
}

.dark-theme .charLvl {
    color: #808080 !important;
}

.dark-theme .prefix,
.dark-theme .suffix {
    color: #909090 !important;
}

.dark-theme #charHeaderTxt_Dark span,
.dark-theme #charHeaderTxt_Dark div,
.dark-theme #charHeaderTxt_Dark a {
    color: #c1b575 !important;
}

.dark-theme #forumLinks,
.dark-theme #forumLinks a {
    color: #c1b575 !important;
}

.dark-theme .points a,
.dark-theme .points a:visited {
    color: #fff !important;
}

.dark-theme #leveltext {
    color: #fff !important;
}

.dark-theme .header_break {
    background: #1e1e1e !important;
    background-image: none !important;
    height: 1px !important;
}


/* ================================================================
   10. TABS
   ================================================================ */

.dark-theme .tabs {
    background: #0e0e0e !important;
    background-image: none !important;
    border-bottom: 1px solid #1e1e1e !important;
}

.dark-theme .tabs .tab {
    background: none !important;
    background-image: none !important;
}

.dark-theme .tabs .tab a {
    color: #505050 !important;
    background: none !important;
    background-image: none !important;
}

.dark-theme .tabs .tab:hover a {
    color: #c1b575 !important;
    background: none !important;
}

.dark-theme .tabs .tab:hover {
    background: none !important;
}

.dark-theme .tabs .selected-tab {
    background: none !important;
    background-image: none !important;
    border-bottom: 2px solid #c1b575 !important;
}

.dark-theme .tabs .selected-tab a {
    color: #c1b575 !important;
    background: none !important;
    background-image: none !important;
}

.dark-theme .tabs .selected-tab span.tab-count {
    color: #808080 !important;
}

.dark-theme .tabs .tab span.tab-count {
    color: #505050 !important;
}

/* Sub tabs */
.dark-theme .subTabs {
    background-color: #0f0f0f !important;
    background-image: none !important;
    border-bottom: 1px solid #1e1e1e !important;
}

.dark-theme .subTabs .upperLeftCorner,
.dark-theme .subTabs .upperRightCorner {
    background: none !important;
    background-image: none !important;
}

.dark-theme .subTabs a,
.dark-theme .subTabs a:visited {
    color: #505050 !important;
    background: none !important;
    background-image: none !important;
}

.dark-theme .subTabs a span {
    background: none !important;
    background-image: none !important;
    color: #505050 !important;
}

.dark-theme .subTabs a:hover {
    color: #c1b575 !important;
    background: none !important;
}

.dark-theme .subTabs a:hover span {
    color: #c1b575 !important;
    background: none !important;
}

.dark-theme .subTabs a.selected-subTab,
.dark-theme .subTabs a.selected-subTab:visited {
    background: #1a1a1a !important;
    border-bottom: 2px solid #c1b575 !important;
}

.dark-theme .subTabs a.selected-subTab span {
    color: #c1b575 !important;
    background: none !important;
    background-image: none !important;
}


/* ================================================================
   11. CHARACTER SHEET — LEFT PANEL (Gear)
   ================================================================ */

.dark-theme .profile-master2 {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme #gear-profile {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .gear_bg {
    background: #0e0e0e !important;
    background-image: none !important;
    border: 1px solid #1e1e1e !important;
    border-radius: 4px !important;
}

.dark-theme .gear_list {
    background: #0e0e0e !important;
    background-image: none !important;
}

.dark-theme .gear_list_table td {
    color: #606060 !important;
}

.dark-theme .gear_list_table th {
    color: #c1b575 !important;
}

.dark-theme .gear_list_table td img {
    border-color: #1e1e1e !important;
}

.dark-theme .leftItems .gearItem a.gearFrame,
.dark-theme .rightItems .gearItem a.gearFrame,
.dark-theme .bottomItems .gearItem a.gearFrame {
    background-image: none !important;
}

.dark-theme .leftItems .gearItem a.gearFrame:hover,
.dark-theme .rightItems .gearItem a.gearFrame:hover,
.dark-theme .bottomItems .gearItem a.gearFrame:hover {
    background-color: rgba(193, 181, 117, 0.1) !important;
    border-radius: 3px !important;
}

/* Health/mana bars under character model */
.dark-theme .health_stat,
.dark-theme .secondary_stat {
    color: #606060 !important;
}

.dark-theme .health_stat em {
    color: #c44040 !important;
}

.dark-theme .secondary_stat em {
    color: #4488cc !important;
}

.dark-theme .secondary_stat .rage em {
    color: #c44040 !important;
}

.dark-theme .secondary_stat .energy em {
    color: #cccc00 !important;
}

.dark-theme .secondary_stat .runic em {
    color: #3096a9 !important;
}

/* Center profile area */
.dark-theme .profileCenter {
    color: #606060 !important;
}


/* ================================================================
   12. CHARACTER SHEET — RIGHT PANEL (Stats)
   ================================================================ */

.dark-theme .char-profile_stats {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .char-profile_stats_int {
    color: #606060 !important;
}

/* Character name in right panel */
.dark-theme .char-profile_name {
    color: #c1b575 !important;
    border-bottom-color: #1e1e1e !important;
    text-shadow: none !important;
}

.dark-theme .char-profile_name b {
    color: #c1b575 !important;
    text-shadow: none !important;
}

.dark-theme .char-profile_name .desc {
    color: #505050 !important;
}

.dark-theme .type_Horde .char-profile_name,
.dark-theme .type_Horde .char_feed_title {
    color: #c1b575 !important;
}

.dark-theme .type_Horde .char-profile_name .desc {
    color: #505050 !important;
}

.dark-theme .type_Propass .char-profile_name,
.dark-theme .type_Propass .char_feed_title {
    color: #c1b575 !important;
}

.dark-theme .type_Propass .char-profile_name .desc {
    color: #505050 !important;
}

/* iLvl display */
.dark-theme .ilvl-display .ilvl-number {
    color: #c1b575 !important;
}

.dark-theme .ilvl-display .ilvl-label {
    color: #505050 !important;
}

/* 27.10.2026 síla ze statů */
.dark-theme .power-display .power-main,
.dark-theme .power-display .power-sub b {
    color: #c1b575 !important;
}

.dark-theme .power-display .power-main em,
.dark-theme .power-display .power-sub,
.dark-theme .power-display .power-ilvl {
    color: #707070 !important;
}

/* Section headers — gold */
.dark-theme .char-profile_stats h4 {
    color: #c1b575 !important;
    border-bottom-color: #1e1e1e !important;
}

.dark-theme .char_feed_title {
    color: #c1b575 !important;
    border-bottom-color: #1e1e1e !important;
}

.dark-theme .prof h4 {
    color: #c1b575 !important;
    border-bottom-color: #1e1e1e !important;
}

/* Stats dropdown header bar */
.dark-theme .stat_drop_titles {
    background: #1a1a1a !important;
    background-image: none !important;
    border: 1px solid #1e1e1e !important;
}

.dark-theme .stat_drop_titles_int {
    background: transparent !important;
}

.dark-theme #displayLeft,
.dark-theme #displayRight {
    color: #c1b575 !important;
}

.dark-theme .stats_page_right,
.dark-theme .stats_page_left {
    filter: invert(0.8) !important;
}

/* Stat values */
.dark-theme .character-stats li {
    color: #606060 !important;
    border-bottom-color: #1e1e1e !important;
}

.dark-theme .character-stats li:hover {
    background: rgba(30, 30, 30, 0.8) !important;
}

.dark-theme .character-stats span {
    color: #606060 !important;
}

.dark-theme .character-stats i {
    color: #c1b575 !important;
}

.dark-theme .character-stats .mod {
    color: #4caf50 !important;
}

.dark-theme .character-stats .moddown {
    color: #ff4444 !important;
}

.dark-theme .stats_drop {
    color: #606060 !important;
}

.dark-theme .last_modified {
    color: #505050 !important;
}

/* Stats dropdown menu */
.dark-theme .drop-stats {
    background: #0f0f0f !important;
    border: 1px solid #1e1e1e !important;
}

.dark-theme .drop-stats li {
    color: #606060 !important;
}

.dark-theme .drop-stats a {
    color: #c1b575 !important;
}

.dark-theme .drop-stats a:hover {
    background: #1a1a1a !important;
    color: #fff !important;
}


/* ================================================================
   13. TALENT SPECIALIZATIONS
   ================================================================ */

.dark-theme .spec a,
.dark-theme .ilvl_entry {
    background-color: #141414 !important;
    background-image: none !important;
    border: 1px solid #1e1e1e !important;
    color: #606060 !important;
    border-radius: 3px !important;
    box-sizing: border-box !important;
}

.dark-theme .spec a:hover {
    background-color: #1a1a1a !important;
    background-image: none !important;
    border-color: #2a2a2a !important;
}

.dark-theme .spec a.active_spec {
    border-color: #c1b575 !important;
    background-color: rgba(193, 181, 117, 0.08) !important;
    background-image: none !important;
}

.dark-theme .spec a.active_spec:hover {
    background-color: rgba(193, 181, 117, 0.12) !important;
    background-image: none !important;
}

.dark-theme .spec a.right_spec {
    background-image: none !important;
}

.dark-theme .spec a.na_right_empty {
    background-image: none !important;
}

.dark-theme .spec a.na_right_empty .talent_name,
.dark-theme .no_skills {
    color: #505050 !important;
}

.dark-theme .spec .talent_name {
    color: #c1b575 !important;
}

.dark-theme .spec .talent_value {
    color: #505050 !important;
}

.dark-theme .spec .talent_icon img {
    border: 1px solid #1e1e1e !important;
}


/* ================================================================
   14. PROFESSIONS
   ================================================================ */

.dark-theme .prof_bg {
    background: #141414 !important;
    background-image: none !important;
    border: 1px solid #1e1e1e !important;
    border-radius: 3px !important;
    padding: 6px !important;
}

.dark-theme .itemlvl_bg {
    background: #141414 !important;
    background-image: none !important;
}

.dark-theme .char_profession {
    color: #606060 !important;
    background: none !important;
    padding: 4px 10px !important;
}

.dark-theme .prof_icon {
    margin-right: 10px !important;
}

.dark-theme .prof_name {
    color: #c1b575 !important;
    padding-left: 4px !important;
}

.dark-theme .prof_value {
    color: #505050 !important;
    padding-left: 8px !important;
}

.dark-theme .prof_icon img {
    border-color: #1e1e1e !important;
    background: #0a0a0a !important;
}


/* ================================================================
   15. PVP TEAMS (right panel)
   ================================================================ */

.dark-theme .pvp-team-entry {
    color: #606060 !important;
    border-bottom-color: #1e1e1e !important;
}

.dark-theme .pvp-team-entry .team-size {
    color: #c1b575 !important;
}

.dark-theme .pvp-team-entry .team-name a {
    color: #c1b575 !important;
}

.dark-theme .pvp-team-entry .team-name a:hover {
    color: #fff !important;
}

.dark-theme .pvp-team-entry .team-rating {
    color: #505050 !important;
}

.dark-theme .pvp-team-entry .team-icon {
    border-color: #1e1e1e !important;
    background: #0a0a0a !important;
}


/* ================================================================
   16. ACTIVITY FEED
   ================================================================ */

.dark-theme .feed_entry {
    color: #606060 !important;
    background-image: none !important;
    border-bottom: 1px solid #1e1e1e !important;
}

.dark-theme .feed_entry:hover {
    background-color: #1a1a1a !important;
}

.dark-theme .feed_entry .timestamp {
    color: #505050 !important;
}

.dark-theme .feed_entry a {
    color: #c1b575 !important;
}

.dark-theme a.more_char_act {
    background: #141414 !important;
    border-color: #1e1e1e !important;
    color: #505050 !important;
}

.dark-theme a.more_char_act:hover {
    background: #1a1a1a !important;
    border-color: #2a2a2a !important;
    color: #c1b575 !important;
}


/* ================================================================
   17. ARENA / PVP PAGE
   ================================================================ */

.dark-theme .arena-ranking {
    background: #0f0f0f !important;
    border: 1px solid #1e1e1e !important;
    border-radius: 4px !important;
}

.dark-theme .arena-ranking h2 {
    background: linear-gradient(to bottom, #1a1a1a, #141414) !important;
    background-image: linear-gradient(to bottom, #1a1a1a, #141414) !important;
    color: #c1b575 !important;
    border: none !important;
}

.dark-theme .arena-ranking h3 {
    background: #141414 !important;
    background-image: none !important;
    color: #c1b575 !important;
}

.dark-theme .arena-ranking h3 strong {
    color: #c1b575 !important;
}

.dark-theme ul.badges-pvp li {
    background: #0e0e0e !important;
    background-image: none !important;
    border-color: #1e1e1e !important;
    color: #606060 !important;
}

.dark-theme ul.badges-pvp li:hover {
    border-color: #c1b575 !important;
}

.dark-theme ul.badges-pvp li h4 {
    color: #c1b575 !important;
}

.dark-theme ul.badges-pvp li em {
    color: #505050 !important;
}

.dark-theme ul.badges-pvp li .arenacontainer {
    background-image: none !important;
}

.dark-theme .arena-team-faded h4 {
    color: #505050 !important;
}

.dark-theme .arena-team-faded em {
    color: #404040 !important;
}

.dark-theme .arena-team-faded {
    background-image: none !important;
}

.dark-theme .personalrating span {
    color: #505050 !important;
}

/* Arena team page */
.dark-theme .stats-container {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .arena-badge-container {
    background: transparent !important;
}

.dark-theme .arenaTeam-badge {
    background-image: none !important;
}

.dark-theme .teamRank {
    color: #c1b575 !important;
}

/* Deco-frame (arena/stats boxes) */
.dark-theme .deco-frame td {
    background: none !important;
    background-image: none !important;
}

.dark-theme .deco-frame .ct {
    border: 1px solid #1e1e1e !important;
    background: #141414 !important;
}

.dark-theme .deco-frame em {
    display: none !important;
}

.dark-theme .bonus-stats {
    background: transparent !important;
}


/* ================================================================
   18. ACHIEVEMENTS / STATISTICS
   ================================================================ */

.dark-theme .achievements {
    background: #0f0f0f !important;
    background-image: none !important;
    color: #606060 !important;
}

/* Left navigation */
.dark-theme .achv_lnav {
    background: #0e0e0e !important;
    background-image: none !important;
    border: 1px solid #1e1e1e !important;
}

.dark-theme .achv_lnav a {
    color: #606060 !important;
}

.dark-theme .achv_lnav a:hover {
    background: #1a1a1a !important;
    background-image: none !important;
    color: #c1b575 !important;
}

.dark-theme .achv_lnav .selected a {
    background: #1a1a1a !important;
    background-image: none !important;
    color: #c1b575 !important;
}

.dark-theme .achv_lnav .selected {
    background: #141414 !important;
    background-image: none !important;
}

.dark-theme .achv_lnav .selected .cat_list {
    background: #141414 !important;
    background-image: none !important;
}

.dark-theme .achv_lnav .selected div a {
    background: none !important;
    color: #808080 !important;
}

.dark-theme .achv_lnav .selected div a:hover {
    color: #c1b575 !important;
}

.dark-theme .achv_lnav .selected .selected {
    background: #1a1a1a !important;
    background-image: none !important;
}

.dark-theme .achv_lnav .selected .selected a {
    background: #1a1a1a !important;
    background-image: none !important;
    color: #c1b575 !important;
}

.dark-theme .achv_bdr {
    background: none !important;
}

/* Right column */
.dark-theme .achieve_rcol {
    background: transparent !important;
}

.dark-theme .achievements-container {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme #achievements-content {
    background: transparent !important;
}

/* Individual achievements */
.dark-theme .achievement {
    background: #0e0e0e !important;
    background-image: none !important;
    border-top: 1px solid #1e1e1e !important;
    color: #606060 !important;
}

.dark-theme .achievement.selected {
    background: #1a1a1a !important;
    background-image: none !important;
}

.dark-theme .achievement.locked {
    background: #0a0a0a !important;
    background-image: none !important;
    border-color: #1a1a1a !important;
}

.dark-theme .locked.selected {
    background: #141414 !important;
    background-image: none !important;
}

.dark-theme .achv_title {
    color: #c1b575 !important;
}

.dark-theme .locked .achv_title {
    color: #505050 !important;
}

.dark-theme .locked.selected .achv_title {
    color: #808080 !important;
}

.dark-theme .achv_desc {
    color: #606060 !important;
}

.dark-theme .locked .achv_desc {
    color: #404040 !important;
}

.dark-theme .locked.selected .achv_desc {
    color: #606060 !important;
}

.dark-theme .achv_date {
    color: #505050 !important;
}

.dark-theme .achv_reward_bg {
    background: rgba(193, 181, 117, 0.1) !important;
    background-image: none !important;
}

.dark-theme .pointshield {
    background-image: none !important;
    background: rgba(30, 30, 30, 0.8) !important;
    border: 1px solid #1e1e1e !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    line-height: 50px !important;
}

.dark-theme .pointshield div {
    padding-top: 10px !important;
    color: #c1b575 !important;
}

.dark-theme .locked .pointshield {
    color: #505050 !important;
}

/* Criteria */
.dark-theme .c_list li {
    background-image: none !important;
    color: #606060 !important;
}

.dark-theme .c_list li.criteriamet {
    color: #4caf50 !important;
}

.dark-theme .locked .c_list li.criteriamet {
    color: #66bb6a !important;
}

/* Progress bars */
.dark-theme .prog_bar,
.dark-theme .null_progress {
    background: #1a1a1a !important;
    background-image: none !important;
    border: 1px solid #1e1e1e !important;
}

.dark-theme .locked .prog_bar {
    background: #141414 !important;
    background-image: none !important;
}

.dark-theme .progress_cap,
.dark-theme .progress_cap_r {
    background: none !important;
    background-image: none !important;
    display: none !important;
}

.dark-theme .progress_fill {
    background: linear-gradient(to bottom, #4caf50, #388e3c) !important;
    background-image: linear-gradient(to bottom, #4caf50, #388e3c) !important;
}

.dark-theme .blue .progress_fill {
    background: linear-gradient(to bottom, #2196f3, #1976d2) !important;
    background-image: linear-gradient(to bottom, #2196f3, #1976d2) !important;
}

.dark-theme .prog_bar.blue,
.dark-theme .null_progress {
    background: #1a1a1a !important;
    border: 1px solid #1e1e1e !important;
}

/* Statistics rows */
.dark-theme .cat_header {
    background: #1a1a1a !important;
    background-image: none !important;
    color: #c1b575 !important;
    border-bottom: 1px solid #1e1e1e !important;
}

.dark-theme .stat_row {
    background: #0e0e0e !important;
    background-image: none !important;
    color: #606060 !important;
    border-bottom: 1px solid #1a1a1a !important;
}

.dark-theme .stat_row.zebra {
    background: #111111 !important;
    background-image: none !important;
}

.dark-theme .stat_row:hover {
    background: #1a1a1a !important;
    background-image: none !important;
}

.dark-theme .row_b {
    border-color: #1e1e1e !important;
}

.dark-theme .chr_stats {
    background: transparent !important;
}

/* Comparison */
.dark-theme .compare_container {
    background: transparent !important;
}

.dark-theme .comp_row {
    background: #0e0e0e !important;
    background-image: none !important;
    border-bottom: 1px solid #1e1e1e !important;
}

.dark-theme .comp_row td {
    border-bottom-color: #1e1e1e !important;
}

.dark-theme .comp_row .completed {
    background: rgba(76, 175, 80, 0.1) !important;
    background-image: none !important;
}

.dark-theme .comp_points {
    color: #c1b575 !important;
}

.dark-theme .summary_row1 td,
.dark-theme .summary_row1 th {
    color: #606060 !important;
}

.dark-theme .comp_progress td {
    border-bottom-color: #1e1e1e !important;
}

/* Compare box */
.dark-theme .compare_box {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .comp_int {
    background: #141414 !important;
    border-color: #1e1e1e !important;
}

.dark-theme .comp_int input {
    background: #060606 !important;
    border-color: #1e1e1e !important;
    color: #c1b575 !important;
}

/* Achievement firsts */
.dark-theme .firsts_top {
    background: #0e0e0e !important;
    background-image: none !important;
    color: #606060 !important;
}

.dark-theme .firsts_btm,
.dark-theme .firsts_l,
.dark-theme .firsts_r {
    background: none !important;
    background-image: none !important;
}

.dark-theme .firsts_top h3 {
    background: #1a1a1a !important;
    background-image: none !important;
    color: #c1b575 !important;
}

.dark-theme .firsts_achievement {
    background: #0e0e0e !important;
    background-image: none !important;
    color: #606060 !important;
}

.dark-theme .firsts_desc {
    color: #606060 !important;
}


/* ================================================================
   19. REPUTATION
   ================================================================ */

.dark-theme .reputation-cont {
    color: #606060 !important;
}

/* Tier 1 */
.dark-theme .reputation-cont .tier_1_a {
    background: #0e0e0e !important;
    background-image: none !important;
    border-color: #1e1e1e !important;
}

.dark-theme .reputation-cont .tier_1_b {
    background: #0e0e0e !important;
    background-image: none !important;
    border-color: #1e1e1e !important;
}

.dark-theme .reputation-cont .tier_1_c {
    background: none !important;
    background-image: none !important;
}

.dark-theme .reputation-cont .tier_1_d {
    background: none !important;
    background-image: none !important;
}

.dark-theme .reputation-cont a.tier_1_title {
    color: #c1b575 !important;
}

.dark-theme .reputation-cont a.tier_1_title:hover {
    color: #fff !important;
}

.dark-theme .reputation-cont .tier_1_shadow,
.dark-theme .tier_1_shadow_end {
    background: none !important;
    background-image: none !important;
    height: 4px !important;
}

/* Tier 2 */
.dark-theme .reputation-cont .tier_2_a {
    background: #111111 !important;
    background-image: none !important;
    border-color: #1e1e1e !important;
}

.dark-theme .reputation-cont .tier_2_b {
    background: #111111 !important;
    background-image: none !important;
    border-color: #1e1e1e !important;
}

.dark-theme .reputation-cont .tier_2-5_a {
    background: #111111 !important;
    background-image: none !important;
    border-color: #1e1e1e !important;
}

.dark-theme .reputation-cont a.tier_2_title {
    color: #6ab0d6 !important;
}

.dark-theme .reputation-cont a.tier_2_title:hover {
    color: #fff !important;
}

.dark-theme .reputation-cont .tier_2_shadow,
.dark-theme .reputation-cont .tier_2-5_shadow {
    background: none !important;
    background-image: none !important;
    height: 2px !important;
}

/* Rep table */
.dark-theme .reputation-cont .rep-table tbody td {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .reputation-cont .rep-table .faction-name span {
    background: none !important;
    background-image: none !important;
    color: #606060 !important;
}

.dark-theme .reputation-cont .rep-table .faction-level span {
    background: none !important;
    background-image: none !important;
    color: #c1b575 !important;
}

.dark-theme .reputation-cont .rep-table .faction-level div {
    background: none !important;
    background-image: none !important;
}

.dark-theme .reputation-cont .rep-table .faction-bar {
    background: #1a1a1a !important;
    background-image: none !important;
    border: 1px solid #1e1e1e !important;
}

.dark-theme .reputation-cont .rep-table.repHeader .faction-name span {
    background: none !important;
    background-image: none !important;
}

.dark-theme .reputation-cont .rep-table.repGroup td {
    background: none !important;
}

.dark-theme .reputation-cont .rep-table thead th a {
    color: #c1b575 !important;
}

/* Reputation note */
.dark-theme .reputationNote {
    background: #141414 !important;
    background-image: none !important;
    border-color: #1e1e1e !important;
}

.dark-theme .reputationNote h1 {
    background: #1a1a1a !important;
    background-image: none !important;
    border-color: #1e1e1e !important;
    color: #c1b575 !important;
}

/* Group switches */
.dark-theme .groupSwitches a {
    background-image: none !important;
    background: #141414 !important;
    border: 1px solid #1e1e1e !important;
    border-radius: 3px !important;
}

.dark-theme .groupSwitches a span {
    background-image: none !important;
    color: #c1b575 !important;
}

.dark-theme .groupSwitches a:hover,
.dark-theme .groupSwitches a.selectedGroup {
    background: #1a1a1a !important;
    border-color: #c1b575 !important;
}

.dark-theme .groupSwitches a:hover span,
.dark-theme .groupSwitches a.selectedGroup span {
    background-image: none !important;
}

/* Collapsed states */
.dark-theme .repCollapse .tier_1_d {
    background: none !important;
}

.dark-theme .repCollapse .tier_2_b {
    background: none !important;
}


/* ================================================================
   20. DATA TABLES (search results, lists)
   ================================================================ */

.dark-theme table.data-table {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .data-table q {
    color: #606060 !important;
}

.dark-theme tr.masthead td,
.dark-theme tr.masthead th {
    background: #1a1a1a !important;
    background-image: none !important;
    color: #c1b575 !important;
    border-bottom: 1px solid #1e1e1e !important;
}

.dark-theme tr.masthead a,
.dark-theme tr.masthead a:active,
.dark-theme tr.masthead a:visited {
    background: #1a1a1a !important;
    background-image: none !important;
    border: 1px solid #1e1e1e !important;
    color: #c1b575 !important;
}

.dark-theme tr.masthead a:hover {
    background: #222222 !important;
    background-image: none !important;
    border-top-color: #c1b575 !important;
    color: #fff !important;
}

.dark-theme tr.data2 td {
    background: #111111 !important;
    background-image: none !important;
}

.dark-theme tr.data3 td {
    background: #0e0e0e !important;
    background-image: none !important;
}

.dark-theme table.data-table tr:hover,
.dark-theme table.data-table tr:hover q.rating {
    background: #1a1a1a !important;
    background-image: none !important;
}

.dark-theme table.data-table a,
.dark-theme table.data-table a:active,
.dark-theme table.data-table a:visited {
    color: #c1b575 !important;
}

.dark-theme table.data-table a:hover {
    color: #fff !important;
}

.dark-theme .rating {
    background: #0f0f0f !important;
    background-image: none !important;
}

/* Paging */
.dark-theme .page-body {
    background: #141414 !important;
    background-image: none !important;
    border-bottom-color: #1e1e1e !important;
}

.dark-theme .returned {
    color: #606060 !important;
}


/* ================================================================
   21. MODULES (sidebar boxes)
   ================================================================ */

.dark-theme .module {
    background: #0e0e0e !important;
    background-image: none !important;
    border: 1px solid #1e1e1e !important;
    color: #606060 !important;
}

.dark-theme .module h1 {
    color: #c1b575 !important;
}

.dark-theme .module h2 {
    color: #c1b575 !important;
}

.dark-theme .module a {
    color: #c1b575 !important;
}

.dark-theme .module a:hover {
    color: #fff !important;
}

.dark-theme .module p {
    color: #606060 !important;
}

.dark-theme .module-lite {
    background: #0e0e0e !important;
    background-image: none !important;
}


/* ================================================================
   22. TOOLTIPS
   ================================================================ */

.dark-theme .tooltip td.tl,
.dark-theme .tooltip td.tr,
.dark-theme .tooltip td.t,
.dark-theme .tooltip td.l,
.dark-theme .tooltip td.r,
.dark-theme .tooltip td.bl,
.dark-theme .tooltip td.br,
.dark-theme .tooltip td.b,
.dark-theme .tooltip td.bg {
    background-color: #0a0a0a !important;
    border-color: #1e1e1e !important;
}

.dark-theme .tooltip div {
    color: #d0d0d0 !important;
}


/* ================================================================
   23. RARITY COLORS (preserve in dark theme)
   ================================================================ */

.dark-theme a.rarity0 { color: #9d9d9d !important; }
.dark-theme a.rarity1 { color: #ffffff !important; }
.dark-theme a.rarity2 { color: #1eff00 !important; }
.dark-theme a.rarity3 { color: #0070dd !important; }
.dark-theme a.rarity4 { color: #a335ee !important; }
.dark-theme a.rarity5 { color: #ff8000 !important; }
.dark-theme a.rarity6 { color: #e5cc80 !important; }
.dark-theme a.rarity7 { color: #e5cc80 !important; }

.dark-theme a.rarity0:hover { color: #c0c0c0 !important; }
.dark-theme a.rarity1:hover { color: #ffffff !important; }
.dark-theme a.rarity2:hover { color: #55ff55 !important; }
.dark-theme a.rarity3:hover { color: #3399ff !important; }
.dark-theme a.rarity4:hover { color: #c87eff !important; }
.dark-theme a.rarity5:hover { color: #ffaa44 !important; }
.dark-theme a.rarity6:hover { color: #fff4cc !important; }
.dark-theme a.rarity7:hover { color: #fff4cc !important; }

/* Stats rarity colors */
.dark-theme .statsOrange, .dark-theme .stats_rarity5 { color: #ff8000 !important; }
.dark-theme .statsPurple, .dark-theme .stats_rarity4 { color: #a335ee !important; }
.dark-theme .statsBlue, .dark-theme .stats_rarity3 { color: #0070dd !important; }
.dark-theme .statsGreen, .dark-theme .stats_rarity2 { color: #1eff00 !important; }
.dark-theme .statsWhite, .dark-theme .stats_rarity1 { color: #ffffff !important; }
.dark-theme .statsGrey, .dark-theme .stats_rarity0 { color: #9d9d9d !important; }


/* ================================================================
   24. FOOTER
   ================================================================ */

.dark-theme .language {
    background: #0a0a0a !important;
    background-image: none !important;
    color: #505050 !important;
}

.dark-theme .language span {
    color: #404040 !important;
}

.dark-theme .language a {
    color: #606060 !important;
}

.dark-theme .language a.select {
    color: #c1b575 !important;
}

.dark-theme .language .module {
    background: none !important;
    border: none !important;
}

.dark-theme .footer {
    background: #0a0a0a !important;
    background-image: none !important;
    color: #505050 !important;
}

.dark-theme .footer p a {
    color: #c1b575 !important;
}

.dark-theme .footer p a:hover {
    color: #fff !important;
}

.dark-theme .copyright {
    color: #404040 !important;
}


/* ================================================================
   25. FILTER / SEARCH OPTIONS
   ================================================================ */

.dark-theme .specify-search {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .specify-search-container {
    background: #141414 !important;
}

.dark-theme .specify-search-container a {
    background: #1a1a1a !important;
    color: #c1b575 !important;
}

.dark-theme .specify-search-container a:hover {
    background: #222222 !important;
    color: #fff !important;
}

.dark-theme .filterTitle {
    color: #c1b575 !important;
    background-image: none !important;
}

.dark-theme .filterBox {
    background: #141414 !important;
    background-image: none !important;
    border-color: #1e1e1e !important;
}

.dark-theme .filterInput {
    background: #060606 !important;
    background-image: none !important;
    border-color: #1e1e1e !important;
    color: #c1b575 !important;
}

.dark-theme .dropDowner {
    color: #606060 !important;
}

.dark-theme .dropDowner a {
    color: #c1b575 !important;
}

.dark-theme .sm-content {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .searchMenu del,
.dark-theme .searchMenu q {
    background: none !important;
    background-image: none !important;
}


/* ================================================================
   26. GENERIC CONTENT PAGES
   ================================================================ */

.dark-theme .generic-wrapper,
.dark-theme .generic-right {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .generic-name h3,
.dark-theme .generic-name h4 {
    color: #c1b575 !important;
}

.dark-theme .generic-name em {
    background: #1e1e1e !important;
    border-bottom-color: #2a2a2a !important;
}

.dark-theme .generic-content h5 {
    color: #c1b575 !important;
}

.dark-theme .noresults {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .noresult-header {
    background: #141414 !important;
    background-image: none !important;
    color: #c1b575 !important;
}

.dark-theme .noresults .default-list {
    background: #141414 !important;
    background-image: none !important;
    border-color: #1e1e1e !important;
}

.dark-theme .noresults .default-list ul {
    color: #606060 !important;
}

.dark-theme .noresult-footer {
    background: #141414 !important;
    border-top-color: #1e1e1e !important;
}


/* ================================================================
   27. RELATED LINKS / NEWS
   ================================================================ */

.dark-theme .related-links li {
    border-bottom-color: #1e1e1e !important;
}

.dark-theme .related-links li:hover {
    background: #1a1a1a !important;
}

.dark-theme .related-links a {
    color: #c1b575 !important;
}

.dark-theme .armory-news h2 span {
    color: #505050 !important;
}

.dark-theme .armory-news .module .module-lite em {
    color: #505050 !important;
}


/* ================================================================
   28. BUTTONS (Warmane olive gradient)
   ================================================================ */

.dark-theme a.awesomeButton {
    background: linear-gradient(to bottom, #304d00, #1b4500) !important;
    background-image: linear-gradient(to bottom, #304d00, #1b4500) !important;
    border: 1px solid #1e1e1e !important;
    border-radius: 4px !important;
    padding: 0 12px !important;
    color: #fff !important;
}

.dark-theme a.awesomeButton span {
    background: none !important;
    background-image: none !important;
    color: #fff !important;
}

.dark-theme a.awesomeButton:hover {
    background: linear-gradient(to bottom, #3a5c00, #2a5500) !important;
    background-image: linear-gradient(to bottom, #3a5c00, #2a5500) !important;
}

.dark-theme a.smFrame,
.dark-theme a.smFrame:visited {
    background-image: none !important;
    background: #141414 !important;
    border: 1px solid #1e1e1e !important;
    border-radius: 3px !important;
}

.dark-theme .smFrame div {
    background: none !important;
    background-image: none !important;
    color: #c1b575 !important;
}

.dark-theme #runFilterButton {
    background: linear-gradient(to bottom, #304d00, #1b4500) !important;
    background-image: linear-gradient(to bottom, #304d00, #1b4500) !important;
    border-radius: 3px !important;
    color: #c1b575 !important;
}

.dark-theme #runFilterButton span {
    background: none !important;
    background-image: none !important;
}


/* ================================================================
   29. THEME TOGGLE BUTTON
   ================================================================ */

.dark-theme .theme-toggle-btn {
    color: #c1b575 !important;
    background: rgba(15, 15, 15, 0.8) !important;
    border: 1px solid #1e1e1e !important;
}

.dark-theme .theme-toggle-btn:hover {
    background: #1a1a1a !important;
    border-color: #c1b575 !important;
    color: #fff !important;
}


/* ================================================================
   30. SCROLLBAR (WebKit)
   ================================================================ */

.dark-theme::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: #0a0a0a;
}

.dark-theme::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.dark-theme::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 4px;
}

.dark-theme::-webkit-scrollbar-thumb:hover {
    background: #444444;
}

.dark-theme *::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: #0a0a0a;
}

.dark-theme *::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.dark-theme *::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 4px;
}

.dark-theme *::-webkit-scrollbar-thumb:hover {
    background: #444444;
}


/* ================================================================
   31. MISC CATCH-ALL OVERRIDES
   ================================================================ */

/* Kill all remaining parchment/texture backgrounds */
.dark-theme .adbox {
    background: #0f0f0f !important;
    background-image: none !important;
}

.dark-theme .ad-container {
    background: #000 !important;
}

.dark-theme .sublisting {
    background: #141414 !important;
    background-image: none !important;
    border-bottom-color: #1e1e1e !important;
    color: #606060 !important;
}

.dark-theme .tabsNone {
    background: #0f0f0f !important;
}

.dark-theme .notabs {
    background: #0f0f0f !important;
}

.dark-theme .hr {
    border-bottom-color: #1e1e1e !important;
}

/* Achieve bar in character sheet */
.dark-theme .achieve-bar {
    background: #1a1a1a !important;
    background-image: none !important;
    border-color: #1e1e1e !important;
}

.dark-theme .achieve-bar b {
    background: linear-gradient(to right, #4caf50, #388e3c) !important;
    background-image: linear-gradient(to right, #4caf50, #388e3c) !important;
}

/* Spec wrapper in old layout */
.dark-theme .spec-wrapper h4 {
    border-bottom-color: #1e1e1e !important;
    color: #c1b575 !important;
}

.dark-theme .spec-wrapper span {
    color: #808080 !important;
}

.dark-theme .disabledSpec h4 a {
    color: #505050 !important;
}

.dark-theme .disabledSpec span {
    color: #505050 !important;
}

/* Error messages */
.dark-theme .error-message {
    color: #c44040 !important;
}

.dark-theme .bigbaderror {
    background: #0f0f0f !important;
}

/* Achievement points in right panel */
.dark-theme .char-profile_stats .achRight .achList {
    color: #c1b575 !important;
    border-bottom-color: #1e1e1e !important;
}

.dark-theme .char-profile_stats .achRight .achList span {
    color: #808080 !important;
}

.dark-theme .char-profile_stats .achRight .achPointsLink {
    color: #c1b575 !important;
}

/* Kill all old background-images on tip/bubble tables */
.dark-theme td.tip-top-left,
.dark-theme td.tip-top-right,
.dark-theme td.tip-top,
.dark-theme td.tip-left,
.dark-theme td.tip-right,
.dark-theme td.tip-bg,
.dark-theme td.tip-bot-left,
.dark-theme td.tip-bot-right,
.dark-theme td.tip-bot {
    background: #0f0f0f !important;
    background-image: none !important;
}

/* Embeded character / embed links */
.dark-theme .embed_bg {
    background-color: #0f0f0f !important;
}

.dark-theme .embed_links {
    background: #141414 !important;
    background-image: none !important;
}

.dark-theme .embed_links a {
    color: #c1b575 !important;
}

/* Browse realm nav (achievement firsts) */
.dark-theme #realmnav {
    color: #606060 !important;
}

.dark-theme .f_nav_top {
    background: #141414 !important;
    background-image: none !important;
}

.dark-theme .f_nav_title {
    color: #c1b575 !important;
}

.dark-theme .f_nav_bgrpt,
.dark-theme .f_nav_bgtop,
.dark-theme .f_nav_bgbtm {
    background: #0f0f0f !important;
    background-image: none !important;
    color: #606060 !important;
}

.dark-theme .f_nav_bgbtm a {
    color: #c1b575 !important;
}

.dark-theme .f_nav_bgbtm a:hover {
    background: #1a1a1a !important;
    color: #fff !important;
}

/* Share icons — keep visible but mute */
.dark-theme .share_rss_icon,
.dark-theme .share_fb_icon {
    opacity: 0.6 !important;
}

.dark-theme .share_rss_icon:hover,
.dark-theme .share_fb_icon:hover {
    opacity: 1 !important;
}

/* Selection highlight */
.dark-theme .repSelect1,
.dark-theme .repSelect2,
.dark-theme .repSelect1 .tier_1_b,
.dark-theme .repSelect2 .tier_2_b {
    border-color: #c1b575 !important;
}

/* Warning bubbles */
.dark-theme .warning-bubble {
    background: #1a1a1a !important;
    background-image: none !important;
    border: 1px solid #1e1e1e !important;
}

.dark-theme .warning-bubble p {
    color: #c1b575 !important;
}

/* Error in achievements add */
.dark-theme .add_error a {
    background-color: #660000 !important;
    color: #fff !important;
}

.dark-theme .add_error a:hover {
    background-color: #990000 !important;
}

/* Loading indicator */
.dark-theme .loading {
    color: #505050 !important;
}
