/* darkmode.css
   Dark theme with subtle silver accents
   -------------------------------------------------------------- */

/* ==========================================================================
   1. General Page
   ========================================================================== */
html.darkmode {
    color: #FFFFFF !important;
}

html.darkmode .site-logo,
.dark-mode .site-logo {
    content: url(images/raiderstation-dark.svg);
}

html.darkmode body {
    color: #FFFFFF !important;
    background: url(images/rshelmetd.jpg) no-repeat center center fixed !important;
    background-color: #000000 !important;
    background-size: cover !important;
}

@media only screen and (max-width: 768px) {
    html.darkmode body {
        background: url(images/rshelmetdmobile.jpg) no-repeat center center fixed !important;
        background-size: cover !important;
    }
    html.darkmode body:after {
        background: url(images/rshelmetdmobile.jpg) center center !important;
        background-size: cover !important;
    }
}

/* ==========================================================================
   2. Links
   ========================================================================== */
html.darkmode a:link,
html.darkmode a:visited {
    color: #FFFFFF !important;
    text-decoration: none !important;
}
html.darkmode a:hover {
    color: #a5acaf !important;
    text-decoration: underline !important;
}
html.darkmode a:active {
    color: #FFFFFF !important;
}

/* ==========================================================================
   3. Headings
   ========================================================================== */
html.darkmode h1,
html.darkmode h2,
html.darkmode h4,
html.darkmode h5,
html.darkmode h6 {
    color: #FFFFFF !important;
}
html.darkmode h3 {
    border-bottom-color: #a5acaf !important;
    color: #FFFFFF !important;
}

/* ==========================================================================
   4. Horizontal Rule
   ========================================================================== */
html.darkmode hr {
    border-color: #000000 !important;
    border-top-color: #a5acaf !important;
}
html.darkmode hr.dashed {
    border-top-style: dashed !important;
}

/* ==========================================================================
   5. Layout Containers
   ========================================================================== */
html.darkmode .wrap {
    background-color: #000000 !important;
    border: none !important;
}

html.darkmode .headerbar {
    border-top: 2px solid #a5acaf !important;
    border-bottom: 2px solid #a5acaf !important;
}

html.darkmode .navbar {
    background: linear-gradient(180deg, rgba(31,31,31,0.95) 0%, rgba(43,47,50,0.8) 100%) !important;
}
html.darkmode .navbar a:link,
html.darkmode .navbar a:visited {
    color: #FFFFFF !important;
}
html.darkmode .navbar a:hover {
    color: #a5acaf !important;
}

html.darkmode .panel,
html.darkmode .panel-container .panel,
html.darkmode .cp-mini,
html.darkmode .phpbb_alert,
html.darkmode .dropdown .dropdown-contents,
html.darkmode .dropdown-extended .header,
html.darkmode blockquote,
html.darkmode .codebox,
html.darkmode .attachbox,
html.darkmode .first-post-highlight,
html.darkmode body.section-viewforum .forum-header,
html.darkmode body.section-viewtopic .topic-header,
html.darkmode body.section-search .search-header,
html.darkmode .sidebar .rt-block,
html.darkmode .popup-box,
html.darkmode .cp-main .panel,
html.darkmode .pm-message,
html.darkmode .message-box {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    color: #FFFFFF !important;
    border-color: #2b2f32 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(165, 172, 175, 0.08) !important;
    border-radius: 12px;
}

/* ==========================================================================
   6. Site Logo & Description
   ========================================================================== */
html.darkmode .site_logo {
    background-image: url("./images/site_logo.svg") !important;
}
html.darkmode .site-description .site_logo {
    background: none !important;
    background-image: none !important;
}
html.darkmode .site-description h1 {
    color: #FFFFFF !important;
}
html.darkmode .site-description p {
    color: #a5acaf !important;
}

/* ==========================================================================
   7. Navigation Lists
   ========================================================================== */
html.darkmode ul.linklist > li a {
    color: #FFFFFF !important;
}
html.darkmode ul.linklist > li a:hover {
    background: #1f1f1f !important;
    background-image: none !important;
    color: #a5acaf !important;
}
html.darkmode .rightside a:link,
html.darkmode .rightside a:visited {
    color: #FFFFFF !important;
}
html.darkmode .rightside a:hover {
    color: #a5acaf !important;
}
html.darkmode ul.navlinks {
    border-top-color: #a5acaf !important;
}

/* ==========================================================================
   8. Rules, Copyright, Errors
   ========================================================================== */
html.darkmode .rules a:link,
html.darkmode .rules a:visited {
    color: #FFFFFF !important;
}
html.darkmode .rules a:hover {
    color: #a5acaf !important;
}

html.darkmode .copyright {
    color: #a5acaf !important;
}
html.darkmode .copyright a:link,
html.darkmode .copyright a:visited {
    color: #FFFFFF !important;
}
html.darkmode .copyright a:hover {
    color: #a5acaf !important;
}

html.darkmode .error {
    color: #a5acaf !important;
}

/* ==========================================================================
   9. Reported / Background Variations
   ========================================================================== */
html.darkmode .reported {
    background-color: #1f1f1f !important;
}
html.darkmode li.reported:hover {
    background-color: #2a2a2a !important;
}

html.darkmode table.zebra-list tr:nth-child(even) td,
html.darkmode ul.zebra-list li:nth-child(even) {
    background-color: #1a1a1a !important;
}
html.darkmode .bg3 {
    background-color: #161616 !important;
}
html.darkmode .ucprowbg,
html.darkmode .fieldsbg {
    background-color: #1a1a1a !important;
}

/* ==========================================================================
   10. Tables
   ========================================================================== */
html.darkmode table.table1 thead th {
    color: #FFFFFF !important;
}
html.darkmode table.table1 tbody tr {
    border-color: #2b2f32 !important;
}
html.darkmode table.table1 tbody tr:hover,
html.darkmode table.table1 tbody tr.hover {
    background: linear-gradient(180deg, #2a2e31 0%, #25292c 100%) !important;
    color: #FFFFFF !important;
}
html.darkmode table.table1 td {
    color: #FFFFFF !important;
}
html.darkmode table.table1 tbody td {
    border-top-color: #111 !important;
}
html.darkmode table.table1 tbody th {
    border-bottom-color: #a5acaf !important;
    color: #FFFFFF !important;
    background-color: #000000 !important;
}
html.darkmode table.info tbody th {
    color: #FFFFFF !important;
}

/* ==========================================================================
   11. Details / Misc Layout
   ========================================================================== */
html.darkmode dl.details dt,
html.darkmode dl.details dd {
    color: #FFFFFF !important;
}
html.darkmode .sep {
    color: #a5acaf !important;
}
html.darkmode .clear {
    background: transparent !important;
}
html.darkmode .alert_close .icon:before {
    background-color: #000000 !important;
}

/* ==========================================================================
   12. Dropdowns & Jumpbox
   ========================================================================== */
html.darkmode .dropdown {
    border: 1px solid transparent !important;
}
html.darkmode .dropdown .dropdown-contents,
html.darkmode .dropdown-contents.dropdown-nonscroll {
    background: #111 !important;
    background-image: none !important;
    border-color: #2b2f32 !important;
    box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.5) !important;
    color: #FFFFFF !important;
    border-radius: 12px;
}
html.darkmode .dropdown-up .dropdown-contents {
    box-shadow: 1px 0 5px rgba(0, 0, 0, 0.5) !important;
}
html.darkmode .dropdown .pointer {
    border-color: #2b2f32 transparent !important;
}
html.darkmode .dropdown .pointer-inner {
    border-color: #111 transparent !important;
}
html.darkmode .dropdown li,
html.darkmode .dropdown li li {
    border-top: 1px dotted transparent !important;
}
html.darkmode .dropdown li.separator {
    border-top: 1px solid transparent !important;
}
html.darkmode .jumpbox .dropdown li {
    border-top-color: #2b2f32 !important;
}

html.darkmode .jumpbox-cat-link {
    background: linear-gradient(180deg, #e8e8e8 0%, #A5ACAF 100%) !important;
    border-top-color: #A5ACAF !important;
    color: #111 !important;
}
html.darkmode .jumpbox-cat-link:hover {
    background: linear-gradient(180deg, #d0d0d0 0%, #959c9f 100%) !important;
    border-top-color: #959c9f !important;
    color: #111 !important;
}
html.darkmode .jumpbox-forum-link,
html.darkmode .dropdown .jumpbox-forum-link,
html.darkmode .dropdown-contents .jumpbox-forum-link {
    background: linear-gradient(180deg, #2a2e31 0%, #1e2224 100%) !important;
    background-image: none !important;
    color: #FFFFFF !important;
}
html.darkmode .jumpbox-forum-link:hover,
html.darkmode .dropdown .jumpbox-forum-link:hover,
html.darkmode .dropdown-contents .jumpbox-forum-link:hover {
    background: linear-gradient(180deg, #3a3e41 0%, #2a2e31 100%) !important;
    color: #fff !important;
}
html.darkmode .jumpbox .dropdown .pointer-inner {
    border-color: #1a1a1a transparent !important;
}
html.darkmode .jumpbox-sub-link {
    background: linear-gradient(180deg, #2a2e31 0%, #1e2224 100%) !important;
    color: #FFFFFF !important;
}
html.darkmode .jumpbox-sub-link:hover {
    background: linear-gradient(180deg, #3a3e41 0%, #2a2e31 100%) !important;
    color: #fff !important;
}

/* ==========================================================================
   13. Notifications
   ========================================================================== */
html.darkmode #notifications a.dropdown-trigger {
    color: #FFFFFF !important;
}
html.darkmode #notifications a.dropdown-trigger:hover {
    color: #a5acaf !important;
}
html.darkmode #notifications .badge {
    background: linear-gradient(180deg, #e8e8e8 0%, #A5ACAF 100%) !important;
    color: #111 !important;
}
html.darkmode #notifications .dropdown-contents {
    background-color: #111 !important;
    border: 1px solid #2b2f32 !important;
    box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.5) !important;
}
html.darkmode #notifications .dropdown-contents li {
    border-bottom: 1px solid #222 !important;
}
html.darkmode #notifications .dropdown-contents li:hover {
    background-color: #1f1f1f !important;
}
html.darkmode #notifications .notification-time {
    color: #a5acaf !important;
}
html.darkmode .notification_list p.notification-time {
    color: #FFFFFF !important;
}
html.darkmode li.notification-reported strong,
html.darkmode li.notification-disapproved strong {
    color: #a5acaf !important;
}

/* ==========================================================================
   14. Alerts / Extended Dropdowns
   ========================================================================== */
html.darkmode .phpbb_alert {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border-color: #2b2f32 !important;
    box-shadow: inset 0 1px 0 rgba(165, 172, 175, 0.12) !important;
    border-radius: 16px;
}
html.darkmode .darken {
    background-color: #000 !important;
    opacity: 0.7 !important;
}
html.darkmode .loading_indicator {
    background-color: #111 !important;
    background-image: url("./images/loading.gif") !important;
    opacity: 0.8 !important;
}
html.darkmode .dropdown-extended ul li {
    border-top-color: #2b2f32 !important;
}
html.darkmode .dropdown-extended ul li:hover {
    background-color: #1f1f1f !important;
    color: #FFFFFF !important;
}
html.darkmode .dropdown-extended .header {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    background-image: none !important;
    border-color: #2b2f32 !important;
    color: #FFFFFF !important;
    text-shadow: none !important;
    box-shadow: inset 0 1px 0 rgba(165, 172, 175, 0.12) !important;
}
html.darkmode .dropdown-extended .footer {
    border-color: #2b2f32 !important;
    border-top-style: solid !important;
    border-top-width: 1px !important;
    color: #FFFFFF !important;
}
html.darkmode .dropdown-extended .pointer-inner {
    border-color: #1a1a1a transparent !important;
}
html.darkmode .dropdown-extended a.mark_read {
    background-color: #111 !important;
}

/* ==========================================================================
   15. Content / Posts / Profiles
   ========================================================================== */
html.darkmode .forumbg .header,
html.darkmode .forabg .header,
html.darkmode th,
html.darkmode .header dt {
    color: #FFFFFF !important;
}
html.darkmode .forumbg .header a,
html.darkmode .forabg .header a,
html.darkmode th a,
html.darkmode .header dt a {
    color: #FFFFFF !important;
}
html.darkmode .forumbg .header a:hover,
html.darkmode .forabg .header a:hover,
html.darkmode th a:hover {
    color: #a5acaf !important;
}
html.darkmode .top i {
    color: #a5acaf !important;
}
html.darkmode .arrow-left:hover,
html.darkmode .arrow-right:hover {
    color: #a5acaf !important;
}

html.darkmode ul.topiclist li {
    color: #FFFFFF !important;
}
html.darkmode .rtl ul.topiclist dd {
    border-right-color: #000000 !important;
    border-left-color: transparent !important;
}
html.darkmode li.row {
    border-top-color: #000000 !important;
    border-bottom-color: rgba(165, 172, 175, 0.15) !important;
}
html.darkmode li.row strong {
    color: #FFFFFF !important;
}
html.darkmode li.row:hover {
    background: linear-gradient(180deg, #2a2e31 0%, #25292c 100%) !important;
    box-shadow: inset 0 1px 0 rgba(165, 172, 175, 0.15) !important;
}
html.darkmode .rtl li.row:hover dd {
    border-right-color: #2b2f32 !important;
    border-left-color: transparent !important;
}
html.darkmode li.row:hover dd,
html.darkmode li.row:hover strong,
html.darkmode li.row:hover a,
html.darkmode li.row:hover span {
    color: #e8e8e8 !important;
}

html.darkmode .post {
    border-bottom: 1px solid rgba(165, 172, 175, 0.15) !important;
}
html.darkmode .postbody {
    color: #FFFFFF !important;
}
html.darkmode .postlink {
    border-bottom-color: #a5acaf !important;
    color: #FFFFFF !important;
}
html.darkmode .postlink:visited {
    border-bottom-color: #a5acaf !important;
    color: #FFFFFF !important;
}
html.darkmode .postlink:hover {
    background-color: #1f1f1f !important;
    color: #a5acaf !important;
}
html.darkmode .signature a,
html.darkmode .signature a:hover {
    background-color: transparent !important;
}
html.darkmode .postprofile {
    color: #FFFFFF !important;
}
html.darkmode .pm .postprofile {
    border-color: #2b2f32 !important;
}
html.darkmode .postprofile strong {
    color: #FFFFFF !important;
}
html.darkmode dd.profile-warnings {
    color: #a5acaf !important;
}
html.darkmode .content {
    color: #FFFFFF !important;
}
html.darkmode .content h2,
html.darkmode .panel h2 {
    color: #FFFFFF !important;
    border-bottom-color: #a5acaf !important;
}
html.darkmode dl.faq dt {
    color: #FFFFFF !important;
}
html.darkmode .posthilit {
    background-color: #a5acaf !important;
    color: #000 !important;
}
html.darkmode .signature,
html.darkmode .notice {
    border-top-color: #2b2f32 !important;
}

/* ==========================================================================
   16. BBCode / Attachments / Polls
   ========================================================================== */
html.darkmode blockquote {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border-color: #2b2f32 !important;
    box-shadow: inset 0 1px 0 rgba(165, 172, 175, 0.12) !important;
    border-radius: 12px;
}
html.darkmode blockquote blockquote {
    background-color: #222 !important;
}
html.darkmode blockquote blockquote blockquote {
    background-color: #1a1a1a !important;
}
html.darkmode .codebox {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border-color: #2b2f32 !important;
    box-shadow: inset 0 1px 0 rgba(165, 172, 175, 0.12) !important;
    border-radius: 12px;
}
html.darkmode .codebox p {
    border-bottom-color: #2b2f32 !important;
    background: #1a1a1a !important;
}
html.darkmode .codebox code {
    color: #FFFFFF !important;
}

html.darkmode .attachbox {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border-color: #2b2f32 !important;
    box-shadow: inset 0 1px 0 rgba(165, 172, 175, 0.12) !important;
    border-radius: 12px;
}
html.darkmode .pm-message .attachbox {
    background-color: #1a1a1a !important;
}
html.darkmode .attachbox dd {
    border-top-color: #2b2f32 !important;
}
html.darkmode .attachbox p,
html.darkmode .attachbox p.stats {
    color: #FFFFFF !important;
}
html.darkmode .attach-image img {
    border-color: #2b2f32 !important;
}
html.darkmode dl.file dd {
    color: #FFFFFF !important;
}
html.darkmode dl.thumbnail img {
    border-color: #2b2f32 !important;
    background-color: #000000 !important;
}
html.darkmode dl.thumbnail dd {
    color: #FFFFFF !important;
}
html.darkmode dl.thumbnail dt a:hover {
    background-color: #1f1f1f !important;
}
html.darkmode dl.thumbnail dt a:hover img {
    border-color: #a5acaf !important;
}

html.darkmode fieldset.polls dl {
    border-top-color: #2b2f32 !important;
    color: #FFFFFF !important;
}
html.darkmode fieldset.polls dl.voted,
html.darkmode fieldset.polls dd div {
    color: #FFFFFF !important;
}
html.darkmode .rtl .pollbar1,
html.darkmode .rtl .pollbar2,
html.darkmode .rtl .pollbar3,
html.darkmode .rtl .pollbar4,
html.darkmode .rtl .pollbar5 {
    border-right-color: transparent !important;
    border-left-color: #000 !important;
}
html.darkmode .pollbar1,
html.darkmode .pollbar2,
html.darkmode .pollbar3,
html.darkmode .pollbar4,
html.darkmode .pollbar5 {
    background-color: #a5acaf !important;
    border-bottom-color: #000 !important;
    border-right-color: #000 !important;
}

/* ==========================================================================
   17. Buttons
   ========================================================================== */

/* Emphasis buttons (New Topic, Reply, Advanced Search, social, etc.) */
html.darkmode .action-bar a.button[title="Post a new topic"],
html.darkmode .action-bar a.button[title="Post a reply"],
html.darkmode .action-bar a.button[href*="mode=post"],
html.darkmode .action-bar a.button[href*="mode=reply"],
html.darkmode body.section-search .search-header-advanced .button,
html.darkmode .xbutton,
html.darkmode .xbutton:link,
html.darkmode .xbutton:visited,
html.darkmode .avatar-popup .popup-actions a[data-action="mention"],
html.darkmode .avatar-popup .popup-actions a[data-action="poster-mention"],
html.darkmode .avatar-popup .popup-actions a[data-action="follow"],
html.darkmode .avatar-popup .popup-actions a.cbb-btn[href*="/app.php/member/"],
html.darkmode .avatar-popup .popup-actions a.cbb-btn.fwbutton.follow {
    background: linear-gradient(180deg, #e8e8e8 0%, #A5ACAF 100%) !important;
    border-color: #A5ACAF !important;
    color: #111 !important;
    border-radius: 20px !important;
    box-shadow: none !important;
}

html.darkmode .action-bar a.button[title="Post a new topic"]:hover,
html.darkmode .action-bar a.button[title="Post a reply"]:hover,
html.darkmode .action-bar a.button[href*="mode=post"]:hover,
html.darkmode .action-bar a.button[href*="mode=reply"]:hover,
html.darkmode body.section-search .search-header-advanced .button:hover,
html.darkmode .xbutton:hover,
html.darkmode .xbutton:hover i,
html.darkmode .xbutton:hover .fa-x-twitter,
html.darkmode .xbutton:hover .social-icon {
    background: linear-gradient(180deg, #d0d0d0 0%, #959c9f 100%) !important;
    border-color: #959c9f !important;
    color: #111 !important;
}

/* Standard dark-silver buttons */
html.darkmode .button,
html.darkmode .button1,
html.darkmode .button2,
html.darkmode .icon-button,
html.darkmode input.button1,
html.darkmode input.button2,
html.darkmode input.button3,
html.darkmode .button-secondary,
html.darkmode a.button,
html.darkmode a.button1,
html.darkmode a.button2 {
    background: linear-gradient(180deg, #2a2e31 0%, #1e2224 100%) !important;
    border: 1px solid #2b2f32 !important;
    color: #FFFFFF !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
    border-radius: 20px !important;
    transition: all 0.15s ease !important;
}

html.darkmode .button:hover,
html.darkmode .button:focus,
html.darkmode .button1:hover,
html.darkmode .button2:hover,
html.darkmode .icon-button:hover,
html.darkmode input.button1:hover,
html.darkmode input.button2:hover,
html.darkmode input.button3:hover,
html.darkmode .button-secondary:hover,
html.darkmode a.button:hover,
html.darkmode a.button1:hover,
html.darkmode a.button2:hover,
html.darkmode a:link.button:hover,
html.darkmode a:visited.button:hover {
    background: linear-gradient(180deg, #3a3e41 0%, #2a2e31 100%) !important;
    color: #fff !important;
    border-color: #3a3e41 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.35) !important;
}

html.darkmode input[type="submit"],
html.darkmode input[type="button"],
html.darkmode .post-buttons .button,
html.darkmode .post-buttons a.button,
html.darkmode .post-buttons li a.button {
    background: linear-gradient(180deg, #2a2e31 0%, #1e2224 100%) !important;
    color: #FFFFFF !important;
    border-radius: 20px !important;
    border: 1px solid #2b2f32 !important;
}

html.darkmode input[type="submit"]:hover,
html.darkmode input[type="button"]:hover,
html.darkmode .post-buttons .button:hover,
html.darkmode .post-buttons a.button:hover,
html.darkmode .post-buttons li a.button:hover {
    background: linear-gradient(180deg, #3a3e41 0%, #2a2e31 100%) !important;
    color: #fff !important;
    border-color: #3a3e41 !important;
}

/* ==========================================================================
   18. Pagination
   ========================================================================== */
html.darkmode .pagination li a {
    background: #1f1f1f !important;
    filter: none !important;
    border-color: #2b2f32 !important;
    box-shadow: none !important;
    color: #FFFFFF !important;
    border-radius: 20px !important;
}
html.darkmode .pagination li.ellipsis span {
    background: transparent !important;
    color: #FFFFFF !important;
}
html.darkmode .pagination li.active span {
    background: #1f1f1f !important;
    border-color: #2b2f32 !important;
    color: #fff !important;
    border-radius: 20px !important;
}
html.darkmode .pagination li a:hover,
html.darkmode .pagination li a:hover .icon,
html.darkmode .pagination .dropdown-visible a.dropdown-trigger,
html.darkmode .nojs .pagination .dropdown-container:hover a.dropdown-trigger {
    background: linear-gradient(180deg, #3a3e41 0%, #2a2e31 100%) !important;
    border-color: #3a3e41 !important;
    color: #fff !important;
    filter: none !important;
    text-shadow: none !important;
}

html.darkmode .pagination li.page-jump > a,
html.darkmode .pagination li.page-jump > a:hover,
html.darkmode .pagination li.page-jump > a:focus {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
}

html.darkmode .row .pagination,
html.darkmode li.row .pagination,
html.darkmode .action-bar .pagination > ul > li.active span,
html.darkmode .pagination:not(:has(ul)) {
    background: #1f1f1f !important;
    color: #fff !important;
    border-color: #2b2f32 !important;
}
html.darkmode .row .pagination::before,
html.darkmode .row .pagination::after {
    color: #FFFFFF !important;
}

html.darkmode .pagination-popup,
html.darkmode .row .pagination > ul {
    background: #111 !important;
    border-color: #2b2f32 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
    border-radius: 8px;
}

html.darkmode .pagination-popup li a,
html.darkmode .pagination-popup li span,
html.darkmode .row .pagination li a,
html.darkmode .row .pagination li span {
    background: #1f1f1f !important;
    color: #FFFFFF !important;
    border-color: #2b2f32 !important;
}

html.darkmode .pagination-popup li a:hover,
html.darkmode .row .pagination li a:hover {
    background: linear-gradient(180deg, #3a3e41 0%, #2a2e31 100%) !important;
    color: #fff !important;
    border-color: #3a3e41 !important;
}

html.darkmode .pagination-popup li.active span,
html.darkmode .row .pagination li.active span {
    background: linear-gradient(180deg, #3a3e41 0%, #2a2e31 100%) !important;
    color: #fff !important;
    border-color: #3a3e41 !important;
}

/* ==========================================================================
   19. Search Box
   ========================================================================== */
html.darkmode .search-box .inputbox,
html.darkmode .search-box .inputbox:hover,
html.darkmode .search-box .inputbox:focus,
html.darkmode .responsive-search .inputbox,
html.darkmode input[name="keywords"] {
    background: #111 !important;
    color: #fff !important;
    border-color: #2b2f32 !important;
    border-radius: 0 8px 8px 0 !important;
    border-left: none !important;
}
html.darkmode .button-search,
html.darkmode button.button-search,
html.darkmode .search-box .button-search {
    border-radius: 8px 0 0 8px !important;
    border-right: none !important;
    background: #1f1f1f !important;
    color: #fff !important;
}
html.darkmode .search-results li:hover,
html.darkmode .search-results li.active {
    background: linear-gradient(180deg, #2a2e31 0%, #25292c 100%) !important;
}

/* ==========================================================================
   20. Contact / Forum / Topic Icons
   ========================================================================== */
html.darkmode .pm-icon { background-position: 0 0 !important; }
html.darkmode .email-icon { background-position: -21px 0 !important; }
html.darkmode .jabber-icon { background-position: -80px 0 !important; }
html.darkmode .phpbb_icq-icon { background-position: -61px 0 !important; }
html.darkmode .phpbb_wlm-icon { background-position: -182px 0 !important; }
html.darkmode .phpbb_aol-icon { background-position: -244px 0 !important; }
html.darkmode .phpbb_website-icon { background-position: -40px 0 !important; }
html.darkmode .phpbb_youtube-icon { background-position: -98px 0 !important; }
html.darkmode .phpbb_facebook-icon { background-position: -119px 0 !important; }
html.darkmode .phpbb_skype-icon { background-position: -161px 0 !important; }
html.darkmode .phpbb_twitter-icon { background-position: -203px 0 !important; }
html.darkmode .phpbb_yahoo-icon { background-position: -224px 0 !important; }

html.darkmode .global_read,
html.darkmode .announce_read { background-image: url("./images/announce_read.svg") !important; }
html.darkmode .global_read_mine,
html.darkmode .announce_read_mine { background-image: url("./images/announce_read_mine.svg") !important; }
html.darkmode .global_read_locked,
html.darkmode .announce_read_locked { background-image: url("./images/announce_read_locked.svg") !important; }
html.darkmode .global_read_locked_mine,
html.darkmode .announce_read_locked_mine { background-image: url("./images/announce_read_locked_mine.svg") !important; }
html.darkmode .global_unread,
html.darkmode .announce_unread { background-image: url("./images/announce_unread.svg") !important; }
html.darkmode .global_unread_mine,
html.darkmode .announce_unread_mine { background-image: url("./images/announce_unread_mine.svg") !important; }
html.darkmode .global_unread_locked,
html.darkmode .announce_unread_locked { background-image: url("./images/announce_unread_locked.svg") !important; }
html.darkmode .global_unread_locked_mine,
html.darkmode .announce_unread_locked_mine { background-image: url("./images/announce_unread_locked_mine.svg") !important; }

html.darkmode .forum_link,
html.darkmode .forum_read,
html.darkmode .forum_read_locked,
html.darkmode .forum_read_subforum,
html.darkmode .forum_unread,
html.darkmode .forum_unread_locked,
html.darkmode .forum_unread_subforum {
    background-image: none !important;
    background-position: 0 0 !important;
    padding-left: 0px !important;
}

html.darkmode .sticky_read { background-image: url("./images/sticky_read.svg") !important; }
html.darkmode .sticky_read_mine { background-image: url("./images/sticky_read_mine.svg") !important; }
html.darkmode .sticky_read_locked { background-image: url("./images/sticky_read_locked.svg") !important; }
html.darkmode .sticky_read_locked_mine { background-image: url("./images/sticky_read_locked_mine.svg") !important; }
html.darkmode .sticky_unread { background-image: url("./images/sticky_unread.svg") !important; }
html.darkmode .sticky_unread_mine { background-image: url("./images/sticky_unread_mine.svg") !important; }
html.darkmode .sticky_unread_locked { background-image: url("./images/sticky_unread_locked.svg") !important; }
html.darkmode .sticky_unread_locked_mine { background-image: url("./images/sticky_unread_locked_mine.svg") !important; }

html.darkmode .topic_moved { background-image: url("./images/topic_moved.svg") !important; }
html.darkmode .pm_read,
html.darkmode .topic_read { background-image: url("./images/topic_read.svg") !important; }
html.darkmode .topic_read_mine { background-image: url("./images/topic_read_mine.svg") !important; }
html.darkmode .topic_read_hot { background-image: url("./images/topic_read_hot.svg") !important; }
html.darkmode .topic_read_hot_mine { background-image: url("./images/topic_read_hot_mine.svg") !important; }
html.darkmode .topic_read_locked { background-image: url("./images/topic_read_locked.svg") !important; }
html.darkmode .topic_read_locked_mine { background-image: url("./images/topic_read_locked_mine.svg") !important; }
html.darkmode .pm_unread,
html.darkmode .topic_unread { background-image: url("./images/topic_unread.svg") !important; }
html.darkmode .topic_unread_mine { background-image: url("./images/topic_unread_mine.svg") !important; }
html.darkmode .topic_unread_hot { background-image: url("./images/topic_unread_hot.svg") !important; }
html.darkmode .topic_unread_hot_mine { background-image: url("./images/topic_unread_hot_mine.svg") !important; }
html.darkmode .topic_unread_locked { background-image: url("./images/topic_unread_locked.svg") !important; }
html.darkmode .topic_unread_locked_mine { background-image: url("./images/topic_unread_locked_mine.svg") !important; }

/* ==========================================================================
   21. Control Panel (UCP / MCP)
   ========================================================================== */
html.darkmode .panel-container h3,
html.darkmode .panel-container hr,
html.darkmode .cp-menu hr {
    border-color: #2b2f32 !important;
}
html.darkmode ul.cplist {
    border-top-color: #2b2f32 !important;
}
html.darkmode .panel-container .panel li.header dd,
html.darkmode .panel-container .panel li.header dt {
    color: #FFFFFF !important;
}
html.darkmode .panel-container table.table1 thead th {
    color: #FFFFFF !important;
    border-bottom-color: #a5acaf !important;
}
html.darkmode .cp-main .pm-message {
    border-color: #2b2f32 !important;
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(165, 172, 175, 0.08) !important;
}
html.darkmode .panel-container h2 {
    color: #FFFFFF !important;
}
html.darkmode .panel-container .panel {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border-radius: 12px;
}
html.darkmode .cp-main .pm {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border-radius: 12px;
    border: 1px solid #2b2f32 !important;
}

/* Tabs */
html.darkmode .tabs .tab > a {
    background: linear-gradient(180deg, #2a2e31 0%, #1e2224 100%) !important;
    color: #FFFFFF !important;
    border-radius: 12px 12px 0 0 !important;
    border: 1px solid #2b2f32 !important;
    border-bottom: none !important;
}
html.darkmode .tabs .tab > a:hover {
    color: #fff !important;
    background: linear-gradient(180deg, #3a3e41 0%, #2a2e31 100%) !important;
}
html.darkmode .tabs .activetab > a,
html.darkmode .tabs .activetab > a:hover {
    background: linear-gradient(180deg, #e8e8e8 0%, #A5ACAF 100%) !important;
    border-color: #A5ACAF !important;
    box-shadow: none !important;
    color: #111 !important;
}

html.darkmode .minitabs .tab > a {
    background: linear-gradient(180deg, #2a2e31 0%, #1e2224 100%) !important;
    border-radius: 20px !important;
    color: #fff !important;
}
html.darkmode .minitabs .tab > a:hover {
    background: linear-gradient(180deg, #3a3e41 0%, #2a2e31 100%) !important;
}
html.darkmode .minitabs .activetab > a,
html.darkmode .minitabs .activetab > a:hover {
    background: linear-gradient(180deg, #e8e8e8 0%, #A5ACAF 100%) !important;
    color: #111 !important;
    border-color: #A5ACAF !important;
}

html.darkmode .responsive-tab .responsive-tab-link:before {
    border-color: #a5acaf !important;
}
html.darkmode .responsive-tab .responsive-tab-link:hover:before {
    border-color: #FFFFFF !important;
}

/* UCP Navigation */
html.darkmode .navigation a {
    color: #FFFFFF !important;
    background: none !important;
    border-radius: 8px !important;
}
html.darkmode .rtl .navigation a {
    background: none !important;
}
html.darkmode .navigation a:hover {
    background: linear-gradient(180deg, #2a2e31 0%, #1e2224 100%) !important;
    color: #FFFFFF !important;
    filter: none !important;
}
html.darkmode .navigation .active-subsection a {
    background: linear-gradient(180deg, #e8e8e8 0%, #A5ACAF 100%) !important;
    filter: none !important;
    color: #111 !important;
}
html.darkmode .navigation .active-subsection a:hover {
    color: #111 !important;
}

html.darkmode .cp-mini {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border-radius: 12px;
}
html.darkmode dl.mini dt {
    color: #FFFFFF !important;
}

html.darkmode .gallery label {
    background: #111 !important;
    border-color: #2b2f32 !important;
    border-radius: 8px;
}
html.darkmode .gallery label:hover {
    background-color: #1f1f1f !important;
}

/* UCP rows */
html.darkmode .panel-container .panel li.row:not(.pmlist li.row),
html.darkmode .cp-main .panel li.row:not(.pmlist li.row) {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border-color: #2b2f32 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(165, 172, 175, 0.08) !important;
}
html.darkmode .panel-container .panel li.row:hover,
html.darkmode .cp-main .panel li.row:hover {
    background: linear-gradient(180deg, #2a2e31 0%, #25292c 100%) !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(165, 172, 175, 0.15) !important;
}

@media (max-width: 900px) {
    html.darkmode body.section-ucp:has(.pm-folder-header) .navigation .active-subsection a,
    html.darkmode .navigation .active-subsection a {
        color: #A5ACAF !important;
    }
}

/* ==========================================================================
   22. Forms
   ========================================================================== */
html.darkmode select,
html.darkmode select#category,
html.darkmode select[name="category"] {
    background: #111 !important;
    background-color: #111 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border-color: #2b2f32 !important;
    border-radius: 8px;
}
html.darkmode select option {
    background: #111 !important;
    color: #FFFFFF !important;
}
html.darkmode label {
    color: #FFFFFF !important;
}
html.darkmode option.disabled-option {
    color: #757A7C !important;
}
html.darkmode dd label {
    color: #FFFFFF !important;
}
html.darkmode fieldset.fields1 {
    background-color: transparent !important;
}
html.darkmode fieldset dl:hover dt label {
    color: #FFFFFF !important;
}
html.darkmode fieldset.fields2 dl:hover dt label {
    color: inherit !important;
}
html.darkmode fieldset.quick-login input.inputbox {
    background-color: #1a1a1a !important;
}

html.darkmode .message-box textarea,
html.darkmode .message-box .inputbox,
html.darkmode textarea.inputbox,
html.darkmode input.inputbox,
html.darkmode .inputbox,
html.darkmode input[type="text"],
html.darkmode input[type="password"],
html.darkmode input[type="email"],
html.darkmode input[type="search"],
html.darkmode textarea {
    background: #111 !important;
    background-color: #111 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border-color: #2b2f32 !important;
    border-radius: 8px;
}
html.darkmode .message-box textarea:hover,
html.darkmode .message-box textarea:focus,
html.darkmode .inputbox:hover,
html.darkmode .inputbox:focus,
html.darkmode input.inputbox:hover,
html.darkmode input.inputbox:focus,
html.darkmode textarea:hover,
html.darkmode textarea:focus {
    background: #111 !important;
    background-color: #111 !important;
    background-image: none !important;
    border-color: #a5acaf !important;
    color: #FFFFFF !important;
}
html.darkmode .message-box textarea.drag-n-drop,
html.darkmode .message-box textarea.drag-n-drop-highlight {
    outline-color: rgba(165, 172, 175, 0.5) !important;
}
html.darkmode .inputbox:-moz-placeholder,
html.darkmode .inputbox::-webkit-input-placeholder {
    color: #757A7C !important;
}
html.darkmode .inputbox:focus:-moz-placeholder,
html.darkmode .inputbox:focus::-webkit-input-placeholder {
    color: transparent !important;
}

/* ==========================================================================
   23. Post Buttons / Topic Titles
   ========================================================================== */
html.darkmode ul.post-buttons {
    background: none !important;
}
html.darkmode ul.post-buttons li a::before {
    color: #FFFFFF !important;
}
html.darkmode ul.post-buttons li a img {
    filter: grayscale(100%) brightness(0) invert(1) !important;
}
html.darkmode ul.post-buttons li a.button {
    background: linear-gradient(180deg, #2a2e31 0%, #1e2224 100%) !important;
    color: #FFFFFF !important;
}
html.darkmode ul.post-buttons .button .icon::before {
    background: none !important;
}
html.darkmode ul.post-buttons .button:hover .icon::before {
    color: #fff !important;
}
html.darkmode .post-buttons > li {
    background: transparent !important;
}

html.darkmode dl.row-item.topic_read a.topictitle { color: #757A7C !important; }
html.darkmode dl.row-item.topic_unread a.topictitle { color: #FFFFFF !important; }
html.darkmode dl.row-item.pm_read a.topictitle { color: #757A7C !important; }
html.darkmode dl.row-item.pm_unread a.topictitle { color: #FFFFFF !important; }

html.darkmode body.section-viewtopic .action-bar.bar-top {
    border-bottom: 3px solid #a5acaf;
    padding-bottom: 4px;
}

/* ==========================================================================
   24. Banner / Menu
   ========================================================================== */
html.darkmode .banner {
    background: linear-gradient(180deg, rgba(31,31,31,0.9) 0%, rgba(43,47,50,0.9) 100%);
}
html.darkmode .menu-item a {
    color: #FFFFFF !important;
}
html.darkmode .menu-item a:hover {
    color: #a5acaf !important;
}
html.darkmode .menu-item.active a {
    color: #FFFFFF !important;
}

@media only screen and (max-width: 768px) {
    html.darkmode .menu-toggle {
        background: linear-gradient(180deg, #e8e8e8 0%, #A5ACAF 100%) !important;
    }
    html.darkmode .toggle-line {
        background: #111 !important;
    }
}

/* ==========================================================================
   25. Avatar Popup / Profile
   ========================================================================== */
html.darkmode .avatar-popup .popup-box {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border: 1px solid #2b2f32 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(165, 172, 175, 0.12) !important;
    border-radius: 16px;
}
html.darkmode .avatar-popup .close-popup {
    color: #FFFFFF !important;
}
html.darkmode .avatar-plus-icon {
    background: #1D2123 !important;
}
html.darkmode .avatar-plus-icon.offline {
    color: #FFFFFF !important;
}
html.darkmode .post.has-profile .postprofile dt a.username,
html.darkmode .post.has-profile .postprofile dt a.username-coloured,
html.darkmode .post.has-profile .postprofile dt strong,
html.darkmode .post.has-profile .postprofile dt span.username {
    color: inherit !important;
}

/* ==========================================================================
   26. Reported / Unapproved Topics
   ========================================================================== */
html.darkmode li.row.reported-topic {
    background-color: #FF9999 !important;
    color: #000000 !important;
}
html.darkmode li.row.reported-topic a,
html.darkmode li.row.reported-topic span,
html.darkmode li.row.reported-topic time {
    color: #000000 !important;
}
html.darkmode li.row.unapproved-topic {
    background-color: #99FF99 !important;
    color: #000000 !important;
}
html.darkmode li.row.unapproved-topic a,
html.darkmode li.row.unapproved-topic span,
html.darkmode li.row.unapproved-topic time {
    color: #000000 !important;
}

/* ==========================================================================
   27. Footer
   ========================================================================== */
html.darkmode #rt-footer-surround.footer-container {
    border-top: 6px solid #a5acaf !important;
    background: linear-gradient(180deg, rgba(31,31,31,0.95) 0%, rgba(43,47,50,0.8) 100%) !important;
}

/* ==========================================================================
   28. Sidebar
   ========================================================================== */
html.darkmode .sidebar {
    background: #000000 !important;
}
html.darkmode .sidebar .rt-block {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    box-shadow: inset 0 1px 0 rgba(165, 172, 175, 0.12) !important;
    border-radius: 12px;
}
html.darkmode .sidebar .module-title {
    background: none !important;
    border-bottom: 3px solid #a5acaf !important;
}
html.darkmode .sidebar .module-title .title {
    color: #FFFFFF !important;
}
html.darkmode .sidebar .module-title .title-icon::before {
    color: #a5acaf !important;
}
html.darkmode .sidebar .module-content {
    color: #FFFFFF !important;
}
html.darkmode .sidebar #search-box .inputbox {
    border: 1px solid #2b2f32 !important;
    border-right: none !important;
    background: #111 !important;
    color: #FFFFFF !important;
}
html.darkmode .sidebar #search-box .inputbox:focus {
    border-color: #a5acaf !important;
}
html.darkmode .sidebar #search-box .button-search {
    background: linear-gradient(180deg, #e8e8e8 0%, #A5ACAF 100%) !important;
    border: 1px solid #A5ACAF !important;
    border-left: none !important;
    color: #111 !important;
}
html.darkmode .sidebar #search-box .button-search:hover {
    background: linear-gradient(180deg, #d0d0d0 0%, #959c9f 100%) !important;
    color: #111 !important;
}
html.darkmode .sidebar .menu.l1 li a {
    color: #FFFFFF !important;
}
html.darkmode .sidebar .menu.l1 li a:hover,
html.darkmode .sidebar .menu.l1 li.active a {
    background: linear-gradient(180deg, #e8e8e8 0%, #A5ACAF 100%) !important;
    color: #111 !important;
}
html.darkmode .sidebar .menu.l1 li a::before {
    color: #a5acaf !important;
}
html.darkmode .sidebar #twitterlight .twitter-timeline,
html.darkmode .sidebar #discord-widget iframe {
    border: 1px solid #2b2f32 !important;
    background: #000000 !important;
}

@media (max-width: 768px) {
    html.darkmode .sidebar {
        border-left: none !important;
        border-top: 2px solid #2b2f32 !important;
    }
    html.darkmode .sidebar #search-box .inputbox {
        border: 1px solid #2b2f32 !important;
        border-right: none !important;
        background: #111 !important;
        color: #FFFFFF !important;
    }
    html.darkmode .sidebar #search-box .button-search {
        border: 1px solid #A5ACAF !important;
        border-left: none !important;
        background: linear-gradient(180deg, #e8e8e8 0%, #A5ACAF 100%) !important;
        color: #111 !important;
    }
}

/* ==========================================================================
   29. Popup / Social
   ========================================================================== */
html.darkmode .popup-box {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border: 1px solid #2b2f32 !important;
    padding: 15px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(165, 172, 175, 0.12) !important;
    overflow: auto !important;
    max-height: 90vh !important;
    box-sizing: border-box !important;
    width: 100% !important;
    border-radius: 16px;
}

html.darkmode .social-button {
    color: #FFFFFF !important;
}
html.darkmode .social-button i,
html.darkmode .social-button .social-icon {
    color: #FFFFFF !important;
}
html.darkmode .discord-button {
    background-color: #5865F2 !important;
}
html.darkmode .discord-button:hover {
    background-color: #7289DA !important;
}
html.darkmode .xbutton i,
html.darkmode .xbutton .social-icon,
html.darkmode .xbutton svg {
    color: #111 !important;
    fill: #111 !important;
}

/* ==========================================================================
   30. First Post Highlight
   ========================================================================== */
html.darkmode .first-post-highlight {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border-left-color: #A5ACAF !important;
    color: #DDD !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(165, 172, 175, 0.12) !important;
}
html.darkmode .first-post-highlight .content {
    color: #FFFFFF !important;
}
html.darkmode .first-post-highlight::before {
    background: linear-gradient(180deg, #e8e8e8 0%, #A5ACAF 100%);
    color: #000;
}
html.darkmode #topic_first_post_show {
    accent-color: #A5ACAF !important;
}
html.darkmode .first-post-highlight .postprofile .avatar-container .avatar-plus-icon {
    background: #161514 !important;
}
html.darkmode label[for="topic_first_post_show"] {
    color: #a5acaf !important;
}
html.darkmode a.forumtitle.read {
    color: #757A7C !important;
}

@media only screen and (max-width: 985px) {
    html.darkmode .forabg .row-item {
        display: flex;
        align-items: center;
        width: 100%;
        padding-left: 60px !important;
        box-sizing: border-box;
    }
    html.darkmode .forabg.mchat-wrapper .row-item {
        padding-left: 0 !important;
    }
}

/* ==========================================================================
   31. Forum / Topic Headers (refined)
   ========================================================================== */
html.darkmode body.section-viewforum .forum-header,
html.darkmode body.section-viewtopic .topic-header {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border-color: #2b2f32 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(165, 172, 175, 0.08) !important;
    border-radius: 12px;
}

html.darkmode body.section-viewforum .forum-header-title h1,
html.darkmode body.section-viewtopic .topic-header-title h1 {
    color: #fff !important;
}

html.darkmode body.section-viewforum .forum-header-stats,
html.darkmode body.section-viewtopic .topic-header-stats {
    background: linear-gradient(180deg, #2a2e31 0%, #1e2224 100%) !important;
    color: #fff !important;
    border-color: #2b2f32 !important;
    border-radius: 20px;
}

html.darkmode body.section-viewforum .forum-header-bar,
html.darkmode body.section-viewtopic .topic-header-bar {
    border-top-color: #2b2f32 !important;
}

html.darkmode body.section-viewforum .forum-header .search-box,
html.darkmode body.section-viewtopic .topic-header .search-box {
    background: #1f1f1f !important;
    border-color: #2b2f32 !important;
    border-radius: 20px;
}

html.darkmode body.section-viewforum .forum-header .search-box .inputbox,
html.darkmode body.section-viewtopic .topic-header .search-box .inputbox {
    background: #111 !important;
    color: #fff !important;
}

html.darkmode body.section-viewforum .forum-header .search-box .button-search,
html.darkmode body.section-viewtopic .topic-header .search-box .button-search {
    color: #fff !important;
}

/* ==========================================================================
   32. Search Header (refined)
   ========================================================================== */
html.darkmode body.section-search .search-header {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border-color: #2b2f32 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(165, 172, 175, 0.08) !important;
    border-radius: 12px;
}

html.darkmode body.section-search .search-header-title h1 {
    color: #fff !important;
}

html.darkmode body.section-search .search-header-stats {
    background: linear-gradient(180deg, #2a2e31 0%, #1e2224 100%) !important;
    color: #fff !important;
    border-color: #2b2f32 !important;
    border-radius: 20px;
}

html.darkmode body.section-search .search-header-bar {
    border-top-color: #2b2f32 !important;
}

html.darkmode body.section-search .search-header .search-box {
    background: #1f1f1f !important;
    border-color: #2b2f32 !important;
    border-radius: 20px;
}

html.darkmode body.section-search .search-header .search-box .inputbox,
html.darkmode body.section-search .search-header .search-box .button-search {
    background: #111 !important;
    color: #fff !important;
}

html.darkmode body.section-search .search-header-advanced .button {
    background: linear-gradient(180deg, #e8e8e8 0%, #A5ACAF 100%) !important;
    color: #111 !important;
    border-color: #A5ACAF !important;
}

html.darkmode body.section-search .search-header-advanced .button:hover {
    background: linear-gradient(180deg, #d0d0d0 0%, #959c9f 100%) !important;
    border-color: #959c9f !important;
}

html.darkmode body.section-search .search-meta-pill {
    background: linear-gradient(180deg, #2a2e31 0%, #1e2224 100%) !important;
    color: #fff !important;
    border-color: #2b2f32 !important;
    border-radius: 20px;
}

html.darkmode body.section-search .search-box .inputbox {
    border-radius: 8px 0 0 8px !important;
    border-right: none !important;
}
html.darkmode body.section-search .search-box .button-search,
html.darkmode body.section-search .search-box .button-search-end {
    background: #111 !important;
    border-color: #2b2f32 !important;
    color: #fff !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
}
html.darkmode body.section-search .search-box .button-search-end {
    border-radius: 0 8px 8px 0 !important;
    border-right: 1px solid #2b2f32 !important;
}

/* ==========================================================================
   33. Banner Menu / Navbar Pills / Badges
   ========================================================================== */
html.darkmode .banner-menu .menu-list .menu-item > a {
    background: linear-gradient(180deg, #32373b 0%, #191d20 100%) !important;
    color: #fff !important;
    border-color: #52595f !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 1px 2px rgba(0, 0, 0, 0.45) !important;
}
html.darkmode .banner-menu .menu-list .menu-item > a:hover {
    background: linear-gradient(180deg, #3b4146 0%, #202529 100%) !important;
    border-color: #768088 !important;
    color: #fff !important;
}
html.darkmode .banner-menu .menu-list .menu-item.active > a {
    background: linear-gradient(180deg, #e8e8e8 0%, #A5ACAF 100%) !important;
    color: #111 !important;
    border-color: #A5ACAF !important;
}

html.darkmode #nav-main.nav-main > li > a,
html.darkmode #nav-main .header-avatar {
    background: linear-gradient(180deg, #32373b 0%, #191d20 100%) !important;
    color: #fff !important;
    border-color: #52595f !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 1px 2px rgba(0, 0, 0, 0.45) !important;
}
html.darkmode #nav-main.nav-main > li > a:hover,
html.darkmode #nav-main.nav-main > li > a:focus {
    background: linear-gradient(180deg, #3b4146 0%, #202529 100%) !important;
    border-color: #768088 !important;
    color: #fff !important;
}

html.darkmode #nav-main .badge,
html.darkmode #nav-main strong.badge {
    background: linear-gradient(180deg, #e8e8e8 0%, #A5ACAF 100%) !important;
    color: #111 !important;
    border-color: #2b2f32;
}

html.darkmode #nav-main #callDark > a,
html.darkmode #callDark > a {
    background: linear-gradient(180deg, #e8e8e8 0%, #A5ACAF 100%) !important;
    color: #111 !important;
    border-color: #A5ACAF !important;
}
html.darkmode #nav-main #callDark > a i,
html.darkmode #callDark > a i,
html.darkmode #nav-main #callDark > a span,
html.darkmode #callDark > a span {
    color: #111 !important;
}

/* ==========================================================================
   34. Topic Rows / Viewtopic Posts / Preview
   ========================================================================== */
html.darkmode ul.topiclist.topics li.row,
html.darkmode ul.topiclist li.row {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border-color: #2b2f32 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(165, 172, 175, 0.08) !important;
}
html.darkmode ul.topiclist.topics li.row:hover,
html.darkmode ul.topiclist li.row:hover {
    background: linear-gradient(180deg, #2a2e31 0%, #25292c 100%) !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(165, 172, 175, 0.15) !important;
}

html.darkmode body.section-viewtopic .post {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border-color: #2b2f32 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(165, 172, 175, 0.08) !important;
}
html.darkmode body.section-viewtopic .post:hover {
    background: linear-gradient(180deg, #2a2e31 0%, #25292c 100%) !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(165, 172, 175, 0.15) !important;
}
html.darkmode body.section-viewtopic .post.first-post-highlight {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border-left: 4px solid #A5ACAF !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(165, 172, 175, 0.12) !important;
}
html.darkmode body.section-viewtopic .post.first-post-highlight:hover {
    background: linear-gradient(180deg, #2a2e31 0%, #25292c 100%) !important;
}

html.darkmode #preview.post {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border-color: #2b2f32 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(165, 172, 175, 0.08) !important;
    color: #e8e8e8 !important;
}
html.darkmode #preview .postbody h3,
html.darkmode #preview .content {
    color: #ffffff !important;
}

/* ==========================================================================
   35. PM Folder Header
   ========================================================================== */
html.darkmode body.section-ucp .pm-folder-header {
    border-color: #2b2f32 !important;
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(165, 172, 175, 0.08) !important;
}
html.darkmode body.section-ucp .pm-folder-header-title h1 {
    color: #fff !important;
}
html.darkmode body.section-ucp .pm-folder-header-stats {
    border: 1px solid #2b2f32 !important;
    background: linear-gradient(180deg, #2a2e31 0%, #1e2224 100%) !important;
    color: #fff !important;
}
html.darkmode body.section-ucp .pm-folder-header .button {
    border-color: #A5ACAF !important;
    background: linear-gradient(180deg, #e8e8e8 0%, #A5ACAF 100%) !important;
    color: #111 !important;
}
html.darkmode body.section-ucp .pm-folder-header .button:hover {
    background: linear-gradient(180deg, #d0d0d0 0%, #959c9f 100%) !important;
    border-color: #959c9f !important;
}
html.darkmode body.section-ucp .pm-folder-header .pagination > ul > li.page-jump > a::after {
    border-right-color: #fff !important;
    border-bottom-color: #fff !important;
}
html.darkmode body.section-ucp .pm-folder-header .pagination > ul > li.active span {
    background: linear-gradient(180deg, #2a2e31 0%, #1e2224 100%) !important;
    color: #fff !important;
    border-color: #2b2f32 !important;
}

/* ==========================================================================
   36. Search Results
   ========================================================================== */
html.darkmode body.section-search ul.topiclist.topics > li.row {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border-color: #2b2f32 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(165, 172, 175, 0.08) !important;
}
html.darkmode body.section-search ul.topiclist.topics > li.row:hover {
    background: linear-gradient(180deg, #2a2e31 0%, #25292c 100%) !important;
}

html.darkmode body.section-search .post.has-profile {
    background: linear-gradient(180deg, #1e2224 0%, #16191a 100%) !important;
    border-color: #2b2f32 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(165, 172, 175, 0.08) !important;
    color: #e8e8e8 !important;
}
html.darkmode body.section-search .post.has-profile:hover {
    background: linear-gradient(180deg, #2a2e31 0%, #25292c 100%) !important;
}

html.darkmode body.section-search .search-post-date {
    color: #aaa;
}