/* Dark theme — extracted from unified_header.php inline <style>. */
body.theme-dark { color: #e8e8e8; }
        body.theme-dark a { color: #93c5fd; }
        body.theme-dark a:hover { color: #fca5a5; }

        body.theme-dark:not(.layout-bodybg) main { background: rgba(17, 24, 39, 0.92); color: #e8e8e8; }
        body.theme-dark.page-login:not(.layout-bodybg) main,
        body.theme-dark.page-index:not(.layout-bodybg) main { background: #111827; }

        body.theme-dark input,
        body.theme-dark select,
        body.theme-dark textarea {
            background-color: #202020;
            color: #e8e8e8;
            border: 1px solid #444;
        }

        body.theme-dark .topBarWithItemsThing { background-color: rgba(17, 24, 39, 0.85); border-color: #374151; color: #d1d5db; }
        body.theme-dark .nav-info { background: #1f2937; color: #f3f4f6; }
        body.theme-dark .nav-info.light { background: #111827; color: #f3f4f6; }
        body.theme-dark .setting-section { border-color: #2563eb; }
        body.theme-dark .setting-section .heading { background: #1d4ed8; color: #f9fafb; }
        body.theme-dark .setting-section .inner { background: rgba(17, 24, 39, 0.75); }

        body.theme-dark .home-actions,
        body.theme-dark .profile .contact,
        body.theme-dark .profile .url-info,
        body.theme-dark .profile .table-section { background: rgba(17, 24, 39, 0.75); border-color: #374151; }
        body.theme-dark .home-actions .heading,
        body.theme-dark .profile .contact .heading,
        body.theme-dark .profile .table-section .heading { background: #1d4ed8; color: #f9fafb; }

        body.theme-dark .new-people .top,
        body.theme-dark .music .heading,
        body.theme-dark .specials .heading,
        body.theme-dark .spa .heading,
        body.theme-dark .bulletin-preview .heading,
        body.theme-dark .blog-sub-preview .heading { background: #1d4ed8 !important; color: #f9fafb !important; }
        body.theme-dark .new-people .top h4,
        body.theme-dark .music .heading h4,
        body.theme-dark .specials .heading h4,
        body.theme-dark .spa .heading h4,
        body.theme-dark .bulletin-preview .heading h4,
        body.theme-dark .blog-sub-preview .heading h4 { color: #f9fafb !important; }
        body.theme-dark .new-people .top a.more,
        body.theme-dark .music .heading a.more,
        body.theme-dark .specials .heading a.more,
        body.theme-dark .friends .heading a.more,
        body.theme-dark .bulletin-preview .heading a.more,
        body.theme-dark .blog-sub-preview .heading a.more,
        body.theme-dark .spa .heading .spa-info { color: #e0f2fe !important; }

        body.theme-dark .details-table td:first-child { background: rgba(31, 41, 55, 0.9); color: #e5e7eb; }
        body.theme-dark .details-table td { background: rgba(17, 24, 39, 0.7); }

        body.theme-dark .statistics { border-color: #374151; }
        body.theme-dark .statistics .heading { background: #1d4ed8; color: #f9fafb; }

        body.theme-dark .blog-entries .entry { background: rgba(17, 24, 39, 0.75); border: 1px solid #374151; }
        body.theme-dark .blog-entries .entry .publish-date { color: #d1d5db; }

        body.theme-dark .edit-info { background: rgba(17, 24, 39, 0.75); border-color: #374151; color: #e5e7eb; }
        body.theme-dark .edit-info .publish-date { color: #d1d5db; }

        body.theme-dark .blog-entry .content { color: #e5e7eb; }

        body.theme-dark .kudos-container { background: rgba(17, 24, 39, 0.75); border: 1px solid #374151; color: #e5e7eb; padding: 10px; }
        body.theme-dark .kudos-container .kudos-label { color: #d1d5db; }
        body.theme-dark .kudos-container .kudos-count { color: #f9fafb; }
        body.theme-dark .kudos-container .user-kudos-info { color: #9ca3af; }
        body.theme-dark .kudos-container .kudos-btn { background: #1f2937 !important; color: #f9fafb !important; border: 1px solid #374151 !important; padding: 6px 10px !important; }
        body.theme-dark .kudos-container .kudos-btn:hover { background: #111827 !important; }
        body.theme-dark .kudos-container .kudos-btn.remove-btn { background: #7f1d1d !important; border-color: #991b1b !important; }
        body.theme-dark .kudos-container .kudos-btn.remove-btn:hover { background: #991b1b !important; }
        body.theme-dark .kudos-container .login-prompt { color: #d1d5db; }

        body.theme-dark .category-list:not(.discover-groups) { background: rgba(17, 24, 39, 0.75); border: 1px solid #374151; }
        body.theme-dark .category-list a { color: #93c5fd; }

        body.theme-dark table.comments-table { border-color: #374151; }
        body.theme-dark .comments-table td:first-child { background: rgba(31, 41, 55, 0.9); }
        body.theme-dark .comments-table td { background: rgba(17, 24, 39, 0.7); }
        body.theme-dark .comments-table .report a { color: #93c5fd; }

        body.theme-dark .group-card { background: rgba(17, 24, 39, 0.75) !important; border-color: #374151 !important; }
        body.theme-dark .group-card * { color: #e5e7eb; }
        body.theme-dark .group-card a { color: #93c5fd !important; }
        body.theme-dark .group-card .button { background: #1f2937 !important; color: #f9fafb !important; border: 1px solid #374151 !important; }
        body.theme-dark .group-card .group-meta { color: #9ca3af !important; }
        body.theme-dark .group-card .group-desc { color: #e5e7eb !important; }

        body.theme-dark .blog-entry .comments .heading,
        body.theme-dark .bulletin .comments .heading { background: #1d4ed8; color: #f9fafb; border-top-color: rgba(255,255,255,0.12); }
        body.theme-dark .blog-entry .comments .inner,
        body.theme-dark .bulletin .comments .inner { background: rgba(17, 24, 39, 0.75); }

        body.theme-dark footer { background: rgba(17, 24, 39, 0.92) !important; color: #e5e7eb; border-top: 1px solid #374151; }
        body.theme-dark footer a { color: #93c5fd; }
        body.theme-dark footer a:hover { color: #fca5a5; }
        body.theme-dark footer .links li:not(:last-child)::after { color: #9ca3af; }

        body.theme-dark table,
        body.theme-dark th,
        body.theme-dark td { color: inherit; }
