/**
 * Child-theme dark mode enhancements
 * Loaded late to normalize all custom widgets/components in dark mode.
 */

body.dark-theme,
body.theme-dark {
  color-scheme: dark;
  --cxzzt-gallery-bg: #161c24;
  --cxzzt-gallery-border: #313a47;
  --cxzzt-gallery-border-strong: #3d4958;
  --cxzzt-gallery-title: #f3f4f6;
  --cxzzt-gallery-text: #c7d0db;
  --cxzzt-gallery-muted: #98a4b5;
  --cxzzt-gallery-surface: #202834;
  --cxzzt-gallery-accent: #ff9c55;
  --cxzzt-gallery-dark: #0b1220;
  --cxzzt-card-bg: #161c24;
  --cxzzt-card-border: #313a47;
  --cxzzt-card-border-strong: #3d4958;
  --cxzzt-card-title: #f3f4f6;
  --cxzzt-card-text: #c7d0db;
  --cxzzt-card-muted: #98a4b5;
  --cxzzt-card-surface: #202834;
  --cxzzt-card-accent: #ff9c55;
  --cxzzt-photo-bg: #161c24;
  --cxzzt-photo-surface: #202834;
  --cxzzt-photo-border: #313a47;
  --cxzzt-photo-border-strong: #3d4958;
  --cxzzt-photo-title: #f3f4f6;
  --cxzzt-photo-text: #c7d0db;
  --cxzzt-photo-muted: #98a4b5;
  --cxzzt-photo-accent: #ff9c55;
  --cxzzt-photo-dark: #0b1220;
  --cxzzt-primary-color: #60a5fa;
  --cxzzt-secondary-color: #1f2329;
  --cxzzt-text-color: #e5e7eb;
  --cxzzt-text-muted: #9aa4b2;
  --cxzzt-text-light: #7b8794;
  --cxzzt-border-color: #313a47;
  --cxzzt-shadow: 0 12px 26px rgba(0, 0, 0, 0.26);
  --cxzzt-shadow-hover: 0 18px 36px rgba(0, 0, 0, 0.34);
  --cxzzt-bg-light: #202834;
  --cxzzt-neumo-surface: linear-gradient(180deg, rgba(34, 42, 54, 0.96) 0%, rgba(20, 27, 37, 0.98) 100%);
  --cxzzt-neumo-surface-strong: linear-gradient(180deg, rgba(38, 47, 60, 0.98) 0%, rgba(24, 31, 42, 0.98) 100%);
  --cxzzt-neumo-border: rgba(66, 79, 97, 0.92);
  --cxzzt-neumo-border-hover: rgba(90, 106, 128, 0.98);
  --cxzzt-neumo-shadow: 0 14px 30px rgba(0, 0, 0, 0.24), 0 4px 10px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04), inset 0 -1px 0 rgba(7, 12, 20, 0.42);
  --cxzzt-neumo-shadow-hover: 0 18px 36px rgba(0, 0, 0, 0.3), 0 6px 14px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 -1px 0 rgba(7, 12, 20, 0.46);
  --cxzzt-neumo-control-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 -1px 0 rgba(7, 12, 20, 0.44), 0 8px 18px rgba(0, 0, 0, 0.18);
}

body.dark-theme .cxzzt-article-nav-widget,
body.theme-dark .cxzzt-article-nav-widget {
  background: rgba(18, 24, 32, 0.92);
  border-color: rgba(61, 73, 88, 0.94);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.dark-theme .cxzzt-article-nav-widget .nav-item + .nav-item::before,
body.theme-dark .cxzzt-article-nav-widget .nav-item + .nav-item::before {
  background: rgba(91, 107, 130, 0.45);
}

body.dark-theme .cxzzt-article-nav-widget .nav-action,
body.theme-dark .cxzzt-article-nav-widget .nav-action {
  color: #cbd5e1 !important;
}

body.dark-theme .cxzzt-article-nav-widget .nav-action:hover,
body.dark-theme .cxzzt-article-nav-widget .nav-action:focus-visible,
body.theme-dark .cxzzt-article-nav-widget .nav-action:hover,
body.theme-dark .cxzzt-article-nav-widget .nav-action:focus-visible {
  color: #ff9c55 !important;
  background: rgba(255, 255, 255, 0.06);
}

body.dark-theme .cxzzt-article-nav-widget .nav-action::after,
body.theme-dark .cxzzt-article-nav-widget .nav-action::after {
  border-color: rgba(61, 73, 88, 0.94);
  background: rgba(12, 18, 27, 0.96);
  color: #e2e8f0;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

body.dark-theme .card-gallery .gallery-item .item-secondary-info,
body.theme-dark .card-gallery .gallery-item .item-secondary-info {
  scrollbar-color: #475569 transparent;
}

body.dark-theme .card-gallery .gallery-item .item-secondary-info::-webkit-scrollbar-thumb,
body.dark-theme .card-gallery .gallery-item .color-tags::-webkit-scrollbar-thumb,
body.theme-dark .card-gallery .gallery-item .item-secondary-info::-webkit-scrollbar-thumb,
body.theme-dark .card-gallery .gallery-item .color-tags::-webkit-scrollbar-thumb {
  background-color: #475569;
}

body.dark-theme .card-gallery .gallery-item .item-author,
body.dark-theme .card-gallery .gallery-item .tag-separator,
body.dark-theme .card-gallery .gallery-item .separator,
body.dark-theme .card-gallery .gallery-item .item-meta,
body.dark-theme .card-gallery .gallery-item .item-meta .meta-left,
body.dark-theme .card-gallery .gallery-item .meta-right .meta-item,
body.dark-theme .card-gallery .gallery-item .meta-date,
body.theme-dark .card-gallery .gallery-item .item-author,
body.theme-dark .card-gallery .gallery-item .tag-separator,
body.theme-dark .card-gallery .gallery-item .separator,
body.theme-dark .card-gallery .gallery-item .item-meta,
body.theme-dark .card-gallery .gallery-item .item-meta .meta-left,
body.theme-dark .card-gallery .gallery-item .meta-right .meta-item,
body.theme-dark .card-gallery .gallery-item .meta-date {
  color: var(--cxzzt-gallery-muted) !important;
}

body.dark-theme .card-gallery .gallery-item .item-excerpt,
body.theme-dark .card-gallery .gallery-item .item-excerpt {
  background: var(--cxzzt-gallery-surface);
  border-color: var(--cxzzt-gallery-border);
  color: var(--cxzzt-gallery-text);
  box-shadow: none;
}

body.dark-theme .card-gallery .gallery-item:hover .item-excerpt,
body.theme-dark .card-gallery .gallery-item:hover .item-excerpt {
  background: #27303b;
  border-color: var(--cxzzt-gallery-border-strong);
  color: #f8fafc;
  box-shadow: none;
}

body.dark-theme .card-gallery .gallery-item .item-meta,
body.theme-dark .card-gallery .gallery-item .item-meta {
  border-top-color: var(--cxzzt-gallery-border);
}

body.dark-theme .card-gallery .gallery-item .hover-badge,
body.theme-dark .card-gallery .gallery-item .hover-badge {
  background-color: rgba(11, 18, 32, 0.86);
  color: #f8fafc;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

body.dark-theme .card-gallery .gallery-item .independent_div_tag,
body.dark-theme .card-gallery .gallery-item .independent_div_tag:not([style*="background-image"]),
body.theme-dark .card-gallery .gallery-item .independent_div_tag,
body.theme-dark .card-gallery .gallery-item .independent_div_tag:not([style*="background-image"]) {
  background: rgba(11, 18, 32, 0.88);
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

body.dark-theme.single,
body.theme-dark.single {
  background:
    radial-gradient(circle at top, rgba(59, 89, 152, 0.18), transparent 34%),
    linear-gradient(180deg, #0f141b 0%, #111821 34%, #0f141b 100%);
}

body.dark-theme .single .modal-content,
body.theme-dark .single .modal-content {
  background: #1b222d !important;
  color: #e2e8f0;
}

body.dark-theme .single .article-header-fullwidth,
body.theme-dark .single .article-header-fullwidth {
  background:
    radial-gradient(circle at left top, rgba(255, 255, 255, 0.06), transparent 42%),
    radial-gradient(circle at right 18%, rgba(59, 130, 246, 0.14), transparent 26%),
    linear-gradient(135deg, rgba(19, 25, 34, 0.98) 0%, rgba(18, 24, 33, 0.96) 38%, rgba(15, 20, 27, 0.94) 100%);
  border-bottom-color: rgba(61, 73, 88, 0.94);
}

body.dark-theme .single .article-header-fullwidth::before,
body.theme-dark .single .article-header-fullwidth::before {
  background: linear-gradient(90deg, transparent, rgba(96, 112, 133, 0.72), transparent);
}

body.dark-theme .single .article-header-fullwidth::after,
body.theme-dark .single .article-header-fullwidth::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 34%);
}

body.dark-theme .single .breadcrumb-list,
body.theme-dark .single .breadcrumb-list {
  border-color: rgba(61, 73, 88, 0.94);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

body.dark-theme .single .breadcrumb-item,
body.dark-theme .single .breadcrumb-item a,
body.dark-theme .single .article-eyebrow-text,
body.theme-dark .single .breadcrumb-item,
body.theme-dark .single .breadcrumb-item a,
body.theme-dark .single .article-eyebrow-text {
  color: #9aa4b2;
}

body.dark-theme .single .breadcrumb-item a:hover,
body.theme-dark .single .breadcrumb-item a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}

body.dark-theme .single .main-title,
body.theme-dark .single .main-title {
  color: #f8fafc;
}

body.dark-theme .single .article-summary,
body.theme-dark .single .article-summary {
  color: #bcc8d6;
}

body.dark-theme .single .meta-item,
body.dark-theme .single .action-button,
body.dark-theme .single .action-buttons .btn,
body.theme-dark .single .meta-item,
body.theme-dark .single .action-button,
body.theme-dark .single .action-buttons .btn {
  border-color: rgba(61, 73, 88, 0.94);
  background: rgba(17, 24, 39, 0.82);
  color: #d6deea;
  box-shadow: none;
}

body.dark-theme .single .action-button:hover,
body.dark-theme .single .action-buttons .btn:hover,
body.theme-dark .single .action-button:hover,
body.theme-dark .single .action-buttons .btn:hover {
  border-color: rgba(255, 156, 85, 0.42);
  background: rgba(255, 156, 85, 0.1);
  color: #ffd1b0;
}

body.dark-theme .single .content-layout > .csf-group-standalone-wrapper,
body.dark-theme .single .content-layout > .user-card.zib-widget.author,
body.dark-theme .single .content-layout > .theme-box,
body.dark-theme .single .content-layout > #comments.theme-box,
body.theme-dark .single .content-layout > .csf-group-standalone-wrapper,
body.theme-dark .single .content-layout > .user-card.zib-widget.author,
body.theme-dark .single .content-layout > .theme-box,
body.theme-dark .single .content-layout > #comments.theme-box {
  border-color: rgba(61, 73, 88, 0.94);
  background: rgba(22, 28, 36, 0.96);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

body.dark-theme .single .content-layout > #comments.theme-box .commentlist > li.comment,
body.dark-theme .single .content-layout > #comments.theme-box .commentlist > div.comment,
body.theme-dark .single .content-layout > #comments.theme-box .commentlist > li.comment,
body.theme-dark .single .content-layout > #comments.theme-box .commentlist > div.comment {
  border-color: rgba(61, 73, 88, 0.94) !important;
  background: linear-gradient(180deg, rgba(24, 31, 40, 0.96), rgba(19, 25, 33, 0.96)) !important;
}

body.dark-theme .single .content-layout > #comments.theme-box .comment-content,
body.theme-dark .single .content-layout > #comments.theme-box .comment-content {
  color: #d5deea;
}

body.dark-theme .single .content-layout > #comments.theme-box .comt-meta,
body.dark-theme .single .content-layout > #comments.theme-box .comt-author,
body.dark-theme .single .content-layout > #comments.theme-box .reply-link a,
body.theme-dark .single .content-layout > #comments.theme-box .comt-meta,
body.theme-dark .single .content-layout > #comments.theme-box .comt-author,
body.theme-dark .single .content-layout > #comments.theme-box .reply-link a {
  color: #98a4b5;
}

body.dark-theme .single .content-layout > #comments.theme-box .dropdown-menu,
body.theme-dark .single .content-layout > #comments.theme-box .dropdown-menu {
  border-color: rgba(61, 73, 88, 0.94);
  background: rgba(12, 18, 27, 0.98);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.32);
}

body.dark-theme .single .content-layout > #comments.theme-box .dropdown-menu a,
body.theme-dark .single .content-layout > #comments.theme-box .dropdown-menu a {
  color: #d5deea;
}

body.dark-theme .single .content-layout > #comments.theme-box .dropdown-menu a:hover,
body.theme-dark .single .content-layout > #comments.theme-box .dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
}

body.dark-theme:not(.nav-transparent-enabled) .cscj-header,
body.theme-dark:not(.nav-transparent-enabled) .cscj-header {
  background: rgba(24, 31, 40, 0.72) !important;
  backdrop-filter: saturate(180%) blur(14px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(14px) !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16) !important;
}

body.dark-theme:not(.nav-transparent-enabled) .cscj-header.sticky,
body.theme-dark:not(.nav-transparent-enabled) .cscj-header.sticky,
body.dark-theme.nav-transparent-enabled .cscj-header.scrolled,
body.theme-dark.nav-transparent-enabled .cscj-header.scrolled {
  background: rgba(21, 28, 36, 0.9) !important;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22) !important;
}

body.dark-theme.nav-transparent-enabled .cscj-header,
body.theme-dark.nav-transparent-enabled .cscj-header {
  background: transparent !important;
  box-shadow: none !important;
}

@media (min-width: 768px) {
  body.dark-theme.nav-transparent-enabled .cscj-header:hover,
  body.theme-dark.nav-transparent-enabled .cscj-header:hover {
    background: rgba(21, 28, 36, 0.9) !important;
    backdrop-filter: saturate(180%) blur(14px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(14px) !important;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22) !important;
  }
}

body.dark-theme .menu-mode-switch,
body.theme-dark .menu-mode-switch {
  background: rgba(24, 31, 40, 0.94);
  border-bottom-color: rgba(61, 73, 88, 0.72);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
}

body.dark-theme .menu-mode-switch .switch-btn,
body.theme-dark .menu-mode-switch .switch-btn {
  background: rgba(32, 40, 52, 0.92);
  color: #d8e0ea;
  border-color: rgba(70, 84, 102, 0.88);
}

body.dark-theme .menu-mode-switch .switch-btn:hover,
body.theme-dark .menu-mode-switch .switch-btn:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

body.dark-theme .menu-mode-switch .switch-btn:after,
body.theme-dark .menu-mode-switch .switch-btn:after {
  color: #8fa0b2;
}

body.dark-theme .menu-mode-switch .switch-btn.active,
body.theme-dark .menu-mode-switch .switch-btn.active {
  background: linear-gradient(135deg, #ff7a2f, #ff6000);
  border-color: #ff7a2f;
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 96, 0, 0.28);
}

body.dark-theme .cscj-header-message badge,
body.theme-dark .cscj-header-message badge {
  border-color: #1f252d;
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.28);
}

@media (min-width: 992px) {
  body.dark-theme,
  body.theme-dark {
    --cscj-nav-text-color: #dbe4ef;
    --cscj-nav-text-hover-color: #f8fafc;
    --cscj-nav-text-active-color: #ff9c55;
    --cscj-nav-underline-color: #ff9c55;
    --cscj-nav-transparent-text-color: rgba(255, 255, 255, 0.94);
    --cscj-nav-transparent-text-hover-color: #ffffff;
    --cscj-nav-transparent-text-active-color: #ffffff;
    --cscj-nav-transparent-underline-color: rgba(255, 255, 255, 0.96);
  }

  body.dark-theme .cscj-menu-primary > li > a,
  body.dark-theme .cscj-menu-primary > li > a span,
  body.theme-dark .cscj-menu-primary > li > a,
  body.theme-dark .cscj-menu-primary > li > a span {
    color: inherit;
  }
}

body.dark-theme.single,
body.theme-dark.single {
  --cxzzt-single-surface: rgba(21, 28, 36, 0.96);
  --cxzzt-single-surface-soft: rgba(24, 31, 40, 0.94);
  --cxzzt-single-surface-strong: rgba(15, 20, 27, 0.98);
  --cxzzt-single-border: rgba(61, 73, 88, 0.94);
  --cxzzt-single-border-soft: rgba(91, 107, 130, 0.38);
  --cxzzt-single-heading: #f8fafc;
  --cxzzt-single-text: #d5deea;
  --cxzzt-single-muted: #9aa8b9;
  --cxzzt-single-card-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

body.dark-theme.single .modal-content,
body.theme-dark.single .modal-content {
  background: var(--cxzzt-single-surface) !important;
  color: var(--cxzzt-single-text);
}

body.dark-theme.single .article-header-fullwidth,
body.theme-dark.single .article-header-fullwidth {
  background:
    radial-gradient(circle at left top, rgba(255, 255, 255, 0.05), transparent 42%),
    radial-gradient(circle at right 18%, rgba(96, 165, 250, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(19, 25, 34, 0.99) 0%, rgba(18, 24, 33, 0.97) 38%, rgba(13, 18, 25, 0.96) 100%) !important;
  border-bottom-color: var(--cxzzt-single-border);
}

body.dark-theme.single .article-header-fullwidth::before,
body.theme-dark.single .article-header-fullwidth::before {
  background: linear-gradient(90deg, transparent, rgba(96, 112, 133, 0.72), transparent);
}

body.dark-theme.single .article-header-fullwidth::after,
body.theme-dark.single .article-header-fullwidth::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 34%);
}

body.dark-theme.single .breadcrumb-list,
body.theme-dark.single .breadcrumb-list {
  border-color: var(--cxzzt-single-border);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

body.dark-theme.single .breadcrumb-item,
body.dark-theme.single .breadcrumb-item a,
body.dark-theme.single .article-eyebrow-text,
body.theme-dark.single .breadcrumb-item,
body.theme-dark.single .breadcrumb-item a,
body.theme-dark.single .article-eyebrow-text {
  color: var(--cxzzt-single-muted);
}

body.dark-theme.single .breadcrumb-item a:hover,
body.theme-dark.single .breadcrumb-item a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--cxzzt-single-heading);
}

body.dark-theme.single .article-channel,
body.theme-dark.single .article-channel {
  background: linear-gradient(135deg, rgba(255, 156, 85, 0.18), rgba(255, 120, 32, 0.1));
  color: #ffbb84;
  box-shadow: inset 0 0 0 1px rgba(255, 156, 85, 0.22);
}

body.dark-theme.single .article-channel:hover,
body.theme-dark.single .article-channel:hover {
  color: #ffd1b0;
}

body.dark-theme.single .main-title,
body.dark-theme.single .content-layout > article.article .article-content h1,
body.dark-theme.single .content-layout > article.article .article-content h2,
body.dark-theme.single .content-layout > article.article .article-content h3,
body.dark-theme.single .content-layout > article.article .article-content h4,
body.dark-theme.single .content-layout > article.article .article-content h5,
body.dark-theme.single .content-layout > article.article .article-content h6,
body.theme-dark.single .main-title,
body.theme-dark.single .content-layout > article.article .article-content h1,
body.theme-dark.single .content-layout > article.article .article-content h2,
body.theme-dark.single .content-layout > article.article .article-content h3,
body.theme-dark.single .content-layout > article.article .article-content h4,
body.theme-dark.single .content-layout > article.article .article-content h5,
body.theme-dark.single .content-layout > article.article .article-content h6 {
  color: var(--cxzzt-single-heading);
}

body.dark-theme.single .article-summary,
body.dark-theme.single .content-layout > article.article .article-content,
body.dark-theme.single .content-layout > article.article .article-content p,
body.dark-theme.single .content-layout > article.article .article-content li,
body.dark-theme.single .content-layout > article.article .article-content ul,
body.dark-theme.single .content-layout > article.article .article-content ol,
body.dark-theme.single .content-layout > article.article .article-content blockquote,
body.theme-dark.single .article-summary,
body.theme-dark.single .content-layout > article.article .article-content,
body.theme-dark.single .content-layout > article.article .article-content p,
body.theme-dark.single .content-layout > article.article .article-content li,
body.theme-dark.single .content-layout > article.article .article-content ul,
body.theme-dark.single .content-layout > article.article .article-content ol,
body.theme-dark.single .content-layout > article.article .article-content blockquote {
  color: var(--cxzzt-single-text);
}

body.dark-theme.single .meta-item,
body.dark-theme.single .action-button,
body.dark-theme.single .action-buttons .btn,
body.dark-theme.single .tag,
body.theme-dark.single .meta-item,
body.theme-dark.single .action-button,
body.theme-dark.single .action-buttons .btn,
body.theme-dark.single .tag {
  border-color: var(--cxzzt-single-border);
  background: rgba(17, 24, 39, 0.82);
  color: var(--cxzzt-single-text);
  box-shadow: none;
}

body.dark-theme.single .meta-icon,
body.dark-theme.single .action-button i,
body.dark-theme.single .action-buttons .btn i,
body.theme-dark.single .meta-icon,
body.theme-dark.single .action-button i,
body.theme-dark.single .action-buttons .btn i {
  color: #8bc3ff;
}

body.dark-theme.single .action-button:hover,
body.dark-theme.single .action-buttons .btn:hover,
body.dark-theme.single .tag:hover,
body.theme-dark.single .action-button:hover,
body.theme-dark.single .action-buttons .btn:hover,
body.theme-dark.single .tag:hover {
  border-color: rgba(255, 156, 85, 0.42);
  background: rgba(255, 156, 85, 0.1);
  color: #ffd1b0;
}

body.dark-theme.single .content-layout > article.article,
body.dark-theme.single .content-layout > .csf-group-standalone-wrapper,
body.dark-theme.single .content-layout > .user-card.zib-widget.author,
body.dark-theme.single .content-layout > .theme-box,
body.dark-theme.single .content-layout > #comments.theme-box,
body.dark-theme.single main.container > .sidebar .zib-widget,
body.theme-dark.single .content-layout > article.article,
body.theme-dark.single .content-layout > .csf-group-standalone-wrapper,
body.theme-dark.single .content-layout > .user-card.zib-widget.author,
body.theme-dark.single .content-layout > .theme-box,
body.theme-dark.single .content-layout > #comments.theme-box,
body.theme-dark.single main.container > .sidebar .zib-widget {
  border-color: var(--cxzzt-single-border);
  background: linear-gradient(180deg, rgba(22, 29, 38, 0.98), rgba(16, 22, 31, 0.96));
  box-shadow: var(--cxzzt-single-card-shadow);
}

body.dark-theme.single .content-layout > article.article .article-content a,
body.theme-dark.single .content-layout > article.article .article-content a {
  color: #8bc3ff;
}

body.dark-theme.single .content-layout > article.article .article-content code,
body.dark-theme.single .content-layout > article.article .article-content pre,
body.dark-theme.single .content-layout > article.article .article-content blockquote,
body.theme-dark.single .content-layout > article.article .article-content code,
body.theme-dark.single .content-layout > article.article .article-content pre,
body.theme-dark.single .content-layout > article.article .article-content blockquote {
  background: rgba(17, 24, 39, 0.78);
  border-color: var(--cxzzt-single-border-soft);
}

body.dark-theme.single .content-layout > article.article .article-content table th,
body.dark-theme.single .content-layout > article.article .article-content table td,
body.theme-dark.single .content-layout > article.article .article-content table th,
body.theme-dark.single .content-layout > article.article .article-content table td {
  border-color: var(--cxzzt-single-border-soft);
}

body.dark-theme.single .content-layout > #comments.theme-box .commentlist > li.comment,
body.dark-theme.single .content-layout > #comments.theme-box .commentlist > div.comment,
body.theme-dark.single .content-layout > #comments.theme-box .commentlist > li.comment,
body.theme-dark.single .content-layout > #comments.theme-box .commentlist > div.comment {
  border-color: var(--cxzzt-single-border) !important;
  background: linear-gradient(180deg, rgba(24, 31, 40, 0.96), rgba(19, 25, 33, 0.96)) !important;
}

body.dark-theme.single .content-layout > #comments.theme-box .comment-content,
body.dark-theme.single .content-layout > #comments.theme-box .comt-meta,
body.dark-theme.single .content-layout > #comments.theme-box .comt-author,
body.dark-theme.single .content-layout > #comments.theme-box .reply-link a,
body.theme-dark.single .content-layout > #comments.theme-box .comment-content,
body.theme-dark.single .content-layout > #comments.theme-box .comt-meta,
body.theme-dark.single .content-layout > #comments.theme-box .comt-author,
body.theme-dark.single .content-layout > #comments.theme-box .reply-link a {
  color: var(--cxzzt-single-text);
}

body.dark-theme.single .content-layout > #comments.theme-box .dropdown-menu,
body.theme-dark.single .content-layout > #comments.theme-box .dropdown-menu {
  border-color: var(--cxzzt-single-border);
  background: rgba(12, 18, 27, 0.98);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.32);
}

body.dark-theme.single .content-layout > #comments.theme-box .dropdown-menu a,
body.theme-dark.single .content-layout > #comments.theme-box .dropdown-menu a {
  color: var(--cxzzt-single-text);
}

body.dark-theme.single .content-layout > .theme-box.cxzzt-clean-article-nav,
body.dark-theme.single .content-layout > .theme-box[style*="height:99px"],
body.theme-dark.single .content-layout > .theme-box.cxzzt-clean-article-nav,
body.theme-dark.single .content-layout > .theme-box[style*="height:99px"] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.dark-theme.single .content-layout > .theme-box.cxzzt-clean-article-nav > .article-nav > .main-bg.box-body.radius8.main-shadow,
body.dark-theme.single .content-layout > .theme-box[style*="height:99px"] > .article-nav > .main-bg.box-body.radius8.main-shadow,
body.theme-dark.single .content-layout > .theme-box.cxzzt-clean-article-nav > .article-nav > .main-bg.box-body.radius8.main-shadow,
body.theme-dark.single .content-layout > .theme-box[style*="height:99px"] > .article-nav > .main-bg.box-body.radius8.main-shadow {
  border-color: var(--cxzzt-single-border);
  background: linear-gradient(180deg, rgba(26, 34, 45, 0.98), rgba(17, 24, 39, 0.98));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

body.dark-theme.single .content-layout > .theme-box.cxzzt-clean-article-nav > .article-nav > .main-bg.box-body.radius8.main-shadow > a > p,
body.dark-theme.single .content-layout > .theme-box[style*="height:99px"] > .article-nav > .main-bg.box-body.radius8.main-shadow > a > p,
body.theme-dark.single .content-layout > .theme-box.cxzzt-clean-article-nav > .article-nav > .main-bg.box-body.radius8.main-shadow > a > p,
body.theme-dark.single .content-layout > .theme-box[style*="height:99px"] > .article-nav > .main-bg.box-body.radius8.main-shadow > a > p {
  color: var(--cxzzt-single-muted);
}

body.dark-theme.single .content-layout > .theme-box.cxzzt-clean-article-nav > .article-nav > .main-bg.box-body.radius8.main-shadow > a > .text-ellipsis-2,
body.dark-theme.single .content-layout > .theme-box[style*="height:99px"] > .article-nav > .main-bg.box-body.radius8.main-shadow > a > .text-ellipsis-2,
body.theme-dark.single .content-layout > .theme-box.cxzzt-clean-article-nav > .article-nav > .main-bg.box-body.radius8.main-shadow > a > .text-ellipsis-2,
body.theme-dark.single .content-layout > .theme-box[style*="height:99px"] > .article-nav > .main-bg.box-body.radius8.main-shadow > a > .text-ellipsis-2 {
  color: var(--cxzzt-single-heading);
}

body.dark-theme.single .content-layout > .theme-box.relates.relates-thumb,
body.theme-dark.single .content-layout > .theme-box.relates.relates-thumb {
  border-color: var(--cxzzt-single-border);
  background: linear-gradient(180deg, rgba(22, 29, 38, 0.98), rgba(16, 22, 31, 0.96));
}

body.dark-theme.single .content-layout > .theme-box.relates.relates-thumb .title-theme,
body.theme-dark.single .content-layout > .theme-box.relates.relates-thumb .title-theme {
  color: var(--cxzzt-single-heading);
}

body.dark-theme.single .content-layout > .theme-box.relates.relates-thumb .swiper-slide > a,
body.theme-dark.single .content-layout > .theme-box.relates.relates-thumb .swiper-slide > a {
  border-color: var(--cxzzt-single-border);
  background: linear-gradient(180deg, rgba(26, 34, 45, 0.98), rgba(17, 24, 39, 0.98));
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

body.dark-theme.single .content-layout > .theme-box.relates.relates-thumb .swiper-slide > a:hover,
body.theme-dark.single .content-layout > .theme-box.relates.relates-thumb .swiper-slide > a:hover {
  border-color: rgba(255, 156, 85, 0.42);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.24);
}

body.dark-theme.single .content-layout > .theme-box.relates.relates-thumb .graphic,
body.theme-dark.single .content-layout > .theme-box.relates.relates-thumb .graphic {
  background: linear-gradient(180deg, rgba(38, 47, 60, 0.98), rgba(23, 29, 38, 0.98));
}

body.dark-theme.single .content-layout > .theme-box.relates.relates-thumb .graphic [data-placeholder="svg-image"],
body.dark-theme.single .content-layout > .user-card.zib-widget.author .graphic [data-placeholder="svg-image"],
body.dark-theme.single main.container > .sidebar .zib-widget .graphic [data-placeholder="svg-image"],
body.theme-dark.single .content-layout > .theme-box.relates.relates-thumb .graphic [data-placeholder="svg-image"],
body.theme-dark.single .content-layout > .user-card.zib-widget.author .graphic [data-placeholder="svg-image"],
body.theme-dark.single main.container > .sidebar .zib-widget .graphic [data-placeholder="svg-image"] {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: transparent;
  background:
    radial-gradient(circle at top, rgba(52, 64, 82, 0.98), rgba(26, 34, 45, 0.98)),
    linear-gradient(180deg, rgba(35, 43, 56, 0.98), rgba(22, 29, 38, 0.98));
}

body.dark-theme.single .content-layout > .theme-box.relates.relates-thumb .graphic [data-placeholder="svg-image"]::before,
body.dark-theme.single .content-layout > .user-card.zib-widget.author .graphic [data-placeholder="svg-image"]::before,
body.dark-theme.single main.container > .sidebar .zib-widget .graphic [data-placeholder="svg-image"]::before,
body.theme-dark.single .content-layout > .theme-box.relates.relates-thumb .graphic [data-placeholder="svg-image"]::before,
body.theme-dark.single .content-layout > .user-card.zib-widget.author .graphic [data-placeholder="svg-image"]::before,
body.theme-dark.single main.container > .sidebar .zib-widget .graphic [data-placeholder="svg-image"]::before {
  content: "";
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(47, 58, 74, 0.96), rgba(28, 35, 45, 0.96)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='4.5' width='17' height='15' rx='3'/%3E%3Ccircle cx='9' cy='10' r='1.5'/%3E%3Cpath d='M5.5 16l4.5-4.5 3.5 3.5 2-2 3 3'/%3E%3C/svg%3E") center/22px 22px no-repeat;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

body.dark-theme.single .content-layout > .user-card.zib-widget.author .display-name,
body.dark-theme.single .content-layout > .user-card.zib-widget.author .graphic-text,
body.dark-theme.single main.container > .sidebar .zib-widget .term-title a,
body.dark-theme.single main.container > .sidebar .zib-widget .text-ellipsis-2 a,
body.theme-dark.single .content-layout > .user-card.zib-widget.author .display-name,
body.theme-dark.single .content-layout > .user-card.zib-widget.author .graphic-text,
body.theme-dark.single main.container > .sidebar .zib-widget .term-title a,
body.theme-dark.single main.container > .sidebar .zib-widget .text-ellipsis-2 a {
  color: var(--cxzzt-single-heading);
}

body.dark-theme.single .content-layout > .user-card.zib-widget.author .user-desc,
body.dark-theme.single .content-layout > .user-card.zib-widget.author .px12,
body.dark-theme.single .content-layout > .user-card.zib-widget.author .muted-2-color,
body.dark-theme.single main.container > .sidebar .zib-widget .px12,
body.dark-theme.single main.container > .sidebar .zib-widget .muted-3-color,
body.theme-dark.single .content-layout > .user-card.zib-widget.author .user-desc,
body.theme-dark.single .content-layout > .user-card.zib-widget.author .px12,
body.theme-dark.single .content-layout > .user-card.zib-widget.author .muted-2-color,
body.theme-dark.single main.container > .sidebar .zib-widget .px12,
body.theme-dark.single main.container > .sidebar .zib-widget .muted-3-color {
  color: var(--cxzzt-single-muted);
}

body.dark-theme.single main.container > .sidebar .hot-posts .abs-center.left-bottom.box-body,
body.theme-dark.single main.container > .sidebar .hot-posts .abs-center.left-bottom.box-body,
body.theme-dark.single main.container > .sidebar .hot-posts .abs-center.left-bottom.box-body {
  background: linear-gradient(180deg, rgba(15, 20, 27, 0), rgba(15, 20, 27, 0.88)) !important;
  color: var(--cxzzt-single-heading);
}

body.dark-theme.single .cxzzt-user-info-container .cxzzt-main-title,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-main-title {
  color: var(--cxzzt-single-heading);
}

body.dark-theme.single .cxzzt-user-info-container .cxzzt-subtitle,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-subtitle {
  color: var(--cxzzt-single-muted);
}

body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-module .cxzzt-module-btn,
body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-module .cxzzt-module-btn:hover,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-module .cxzzt-module-btn,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-module .cxzzt-module-btn:hover {
  border-color: var(--cxzzt-single-border) !important;
  background: rgba(32, 40, 52, 0.92) !important;
  color: #edf2f7 !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22) !important;
}

body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-module .cxzzt-module-btn::after,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-module .cxzzt-module-btn::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23cbd5e1' d='M13.172 12 8.222 7.05l1.414-1.414L16 12l-6.364 6.364-1.414-1.414z'/%3E%3C/svg%3E") center/contain no-repeat;
}

body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card,
body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover,
body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted,
body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within {
  border-color: var(--cxzzt-single-border) !important;
  background: linear-gradient(180deg, rgba(28, 36, 47, 0.98), rgba(17, 24, 39, 0.98)) !important;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22) !important;
}

body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover,
body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted,
body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within {
  border-color: rgba(255, 156, 85, 0.3) !important;
}

body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-online-indicator,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-online-indicator {
  border-color: #18202a;
}

body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-card-name,
body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover .cxzzt-user-card-name,
body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted .cxzzt-user-card-name,
body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within .cxzzt-user-card-name,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-card-name,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover .cxzzt-user-card-name,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted .cxzzt-user-card-name,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within .cxzzt-user-card-name {
  color: var(--cxzzt-single-heading) !important;
}

body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-badge,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-badge {
  background: rgba(255, 156, 85, 0.12);
  border-color: rgba(255, 156, 85, 0.28);
  color: #ffbb84;
}

body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-role-tag,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-role-tag {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.28);
  color: #9fcbff;
}

body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-stat-item:not(:last-child)::after,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-stat-item:not(:last-child)::after {
  background-color: rgba(91, 107, 130, 0.42);
}

body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-stat-label,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-stat-label {
  color: var(--cxzzt-single-muted);
}

body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-stat-value,
body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover .cxzzt-stat-value,
body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted .cxzzt-stat-value,
body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within .cxzzt-stat-value,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-stat-value,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover .cxzzt-stat-value,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted .cxzzt-stat-value,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within .cxzzt-stat-value {
  color: #dbe4ef;
}

body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-card-description,
body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover .cxzzt-user-card-description,
body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted .cxzzt-user-card-description,
body.dark-theme.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within .cxzzt-user-card-description,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-card-description,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover .cxzzt-user-card-description,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted .cxzzt-user-card-description,
body.theme-dark.single .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within .cxzzt-user-card-description {
  border-top-color: rgba(91, 107, 130, 0.32) !important;
  background: rgba(19, 25, 33, 0.92) !important;
  color: var(--cxzzt-single-muted) !important;
}

body.dark-theme,
body.theme-dark {
  --cxzzt-widget-dark-border: rgba(61, 73, 88, 0.94);
  --cxzzt-widget-dark-border-soft: rgba(91, 107, 130, 0.42);
  --cxzzt-widget-dark-surface: rgba(32, 40, 52, 0.92);
  --cxzzt-widget-dark-card: linear-gradient(180deg, rgba(28, 36, 47, 0.98), rgba(17, 24, 39, 0.98));
  --cxzzt-widget-dark-description: rgba(19, 25, 33, 0.92);
}

body.dark-theme .cxzzt-user-info-container .cxzzt-main-title,
body.theme-dark .cxzzt-user-info-container .cxzzt-main-title {
  color: #f8fafc;
}

body.dark-theme .cxzzt-user-info-container .cxzzt-subtitle,
body.theme-dark .cxzzt-user-info-container .cxzzt-subtitle {
  color: #9aa8b9;
}

body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-module .cxzzt-module-btn,
body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-module .cxzzt-module-btn:hover,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-module .cxzzt-module-btn,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-module .cxzzt-module-btn:hover {
  border-color: var(--cxzzt-widget-dark-border) !important;
  background: var(--cxzzt-widget-dark-surface) !important;
  color: #edf2f7 !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22) !important;
}

body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-module .cxzzt-module-btn::after,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-module .cxzzt-module-btn::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23cbd5e1' d='M13.172 12 8.222 7.05l1.414-1.414L16 12l-6.364 6.364-1.414-1.414z'/%3E%3C/svg%3E") center/contain no-repeat;
}

body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card,
body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover,
body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted,
body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within {
  border-color: var(--cxzzt-widget-dark-border) !important;
  background: var(--cxzzt-widget-dark-card) !important;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22) !important;
}

body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover,
body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted,
body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within {
  border-color: rgba(255, 156, 85, 0.3) !important;
}

body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-online-indicator,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-online-indicator {
  border-color: #18202a;
}

body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-card-name,
body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover .cxzzt-user-card-name,
body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted .cxzzt-user-card-name,
body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within .cxzzt-user-card-name,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-card-name,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover .cxzzt-user-card-name,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted .cxzzt-user-card-name,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within .cxzzt-user-card-name {
  color: #f8fafc !important;
}

body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-badge,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-badge {
  background: rgba(255, 156, 85, 0.12);
  border-color: rgba(255, 156, 85, 0.28);
  color: #ffbb84;
}

body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-role-tag,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-role-tag {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.28);
  color: #9fcbff;
}

body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-stat-item:not(:last-child)::after,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-stat-item:not(:last-child)::after {
  background-color: var(--cxzzt-widget-dark-border-soft);
}

body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-stat-label,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-stat-label {
  color: #9aa8b9;
}

body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-stat-value,
body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover .cxzzt-stat-value,
body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted .cxzzt-stat-value,
body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within .cxzzt-stat-value,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-stat-value,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover .cxzzt-stat-value,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted .cxzzt-stat-value,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within .cxzzt-stat-value {
  color: #dbe4ef;
}

body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-card-description,
body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover .cxzzt-user-card-description,
body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted .cxzzt-user-card-description,
body.dark-theme .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within .cxzzt-user-card-description,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card .cxzzt-user-card-description,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:hover .cxzzt-user-card-description,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card.is-highlighted .cxzzt-user-card-description,
body.theme-dark .cxzzt-user-info-container .cxzzt-active-users-grid > .cxzzt-user-card:focus-within .cxzzt-user-card-description {
  border-top-color: rgba(91, 107, 130, 0.32) !important;
  background: var(--cxzzt-widget-dark-description) !important;
  color: #9aa8b9 !important;
}

/* 频道头部栏暗色适配 */
body.dark-theme .cxzztclean-gallery-header,
body.theme-dark .cxzztclean-gallery-header {
  border-bottom-color: var(--cxzzt-card-border);
}

body.dark-theme .cxzztclean-gallery-header__bar,
body.theme-dark .cxzztclean-gallery-header__bar {
  background: linear-gradient(180deg, #ff9c55 0%, #ff7a2f 100%);
}

body.dark-theme .cxzztclean-gallery-header__more,
body.theme-dark .cxzztclean-gallery-header__more {
  background: rgba(255, 255, 255, 0.06);
  color: var(--cxzzt-card-muted);
}

body.dark-theme .cxzztclean-gallery-header__more:hover,
body.theme-dark .cxzztclean-gallery-header__more:hover {
  background: var(--cxzzt-card-accent);
  color: #fff;
}

/* 画廊 Tab 胶囊暗色适配 */
body.dark-theme .cxzztclean-tab-capsule .tab-nav-theme > li > a,
body.theme-dark .cxzztclean-tab-capsule .tab-nav-theme > li > a {
  background: rgba(255, 255, 255, 0.06);
  color: var(--cxzzt-card-muted);
}

body.dark-theme .cxzztclean-tab-capsule .tab-nav-theme > li > a:hover,
body.theme-dark .cxzztclean-tab-capsule .tab-nav-theme > li > a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

body.dark-theme .cxzztclean-tab-capsule .tab-nav-theme > li.active > a,
body.theme-dark .cxzztclean-tab-capsule .tab-nav-theme > li.active > a {
  background: var(--cxzzt-card-accent);
  color: #fff;
}
