body:where(.dark) { background-color: #0b0b2a; }

body:where(.dark) #wrapper { background: #16163d; box-shadow: 0 0 20px #0c0a23; border-top-color: transparent; }
body:where(.dark) #wrapper-inner { background: #212158 url(img/pattern-dark.png) repeat; }
body:where(.dark) #profile { background: #545169; box-shadow: 0 1px 0 rgb(0 0 0 / 4%), 0 3px 3px rgb(24 24 37 / 30%);}
body:where(.dark) a:hover { color: #9a97ff; }
body:where(.dark) #header,
body:where(.dark) .sticky-element-sticky #header,
body:where(.dark) .featured-item,
body:where(.dark) .post-wrapper,
body:where(.dark) .sidebar .widget,
body:where(.dark) #footer,
body:where(.dark) #footer .nav-menu:not(.mobile),
body:where(.dark) .pagination ul li a,
body:where(.dark) .entry-meta .entry-category a,
body:where(.dark) .sidebar .post-nav,
body:where(.dark) #footer-ads,
body:where(.dark) #footer-widgets { background: #2c2c54; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
/* 覆盖深色模式下的 header 背景 */
body:where(.dark) #header {
    background: none !important; /* 或 transparent */
}

body:where(.dark) .featured-item,
body:where(.dark) .post-wrapper,
body:where(.dark) .sidebar .widget,
body:where(.dark) .pagination ul li a,
body:where(.dark) .sidebar .post-nav { box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 1px 0 rgba(0,0,0,0.1), 0 3px 3px rgba(0,0,0,0.3); }

body:where(.dark) .entry-line-bullet-inner { background: #323281; }
body:where(.dark) .entry-line-bullet { background: #9a97eb;border: 5px solid #5551ac;}
body:where(.dark) .entry-meta .entry-comments {color: #545169;}

body:where(.dark) .entry-meta-inner { background: #30305c;box-shadow: 0px 3px 3px 0px rgb(0 0 0 / 27%);}

body:where(.dark) .entry-line { background: #292960; }
body:where(.dark) .entry-line-inner,
body:where(.dark) .slick-featured { border-color: #212226; }
body:where(.dark) .wrap-entry-line:last-child .entry-line:before { background: linear-gradient(0deg, #1a1a53 0%, #292960 100%);}
body:where(.dark) .wrap-entry-line:first-child .entry-line:before { background: linear-gradient(0deg, #292960 0%, #1a1a53 100%); }
body.dark .entry-line-inner {border-top: 2px solid #111d7a;border-left: 2px solid #292960;}
body:where(.dark) .slick-featured .slick-dots li button { background: #35366c;box-shadow: inset 0 1px 0 rgb(132 136 164 / 21%);}
body:where(.dark) .slick-featured .slick-dots .slick-active button { background: #181843; }

body:where(.dark) #profile-name { background: #a4a4c3; color: #212226; }
body:where(.dark) #profile-name:after { border-top-color: #a4a4c3; }
body:where(.dark) .featured-item:hover .featured-item-title {color: #8787da;}
body:where(.dark) .featured-item-content:before {background: #a4a4c3;}
body:where(.dark) a,
body:where(.dark) h1, 
body:where(.dark) h2, 
body:where(.dark) h3, 
body:where(.dark) h4, 
body:where(.dark) h5, 
body:where(.dark) h6,
body:where(.dark) .site-title a,
body:where(.dark) .entry-header .entry-title a { color: #9a97eb; }
body:where(.dark) .entry-header .entry-title a:hover { color: #6565ff; }

body:where(.dark) { color: #9e9cd5; }
body:where(.dark) #header .social-links .social-tooltip,
body:where(.dark) .page-title span { color: #9990f1; }
body:where(.dark) .site-description { color: #807ebf; }



body:where(.dark) .entry-meta,
body:where(.dark) .entry-meta .byline a,
body:where(.dark) .entry-meta .entry-category a { color: #807ebf; }
body:where(.dark) .entry-meta .byline a:hover { color: #9a97eb; }

/* 深色模式 */
body:where(.dark) .slick-featured-nav .slick-prev,body:where(.dark) .slick-featured-nav .slick-next {background: #342f6b !important;}
body:where(.dark) .slick-featured {border-bottom: 2px solid #2a2a5c; /* 深色模式替换成更合适的边框色 */}
/* 深色模式 */
body:where(.dark) .slick-featured .slick-dots .slick-active button {border: 4px solid #35366c;}
body:where(.dark) .entry-meta .entry-comments:hover { color: #8989b4; }
body:where(.dark) .entry-meta .entry-comments:hover span { color: #212226; }
body:where(.dark) .entry-list .entry-comments {color: #000;}
body:where(.dark) .toggle-search .svg-icon { fill: #9990f1; }

body:where(.dark) .nav-menu:not(.mobile) a  { color: #9a97eb; }
body:where(.dark) .nav-menu:not(.mobile) a:hover { color: #d8d8ec; }
body:where(.dark) .nav-menu:not(.mobile) button .svg-icon { fill: #807ebf; }
body:where(.dark) .nav-menu:not(.mobile) ul ul button .svg-icon { fill: #8f9af1; }
body:where(.dark) .nav-menu:not(.mobile) .menu > li > span { /*border: 1px solid rgb(93 92 148 / 39%);*/ box-shadow: 0 2px 2px rgb(0 0 0 / 16%); }
body:where(.dark) .nav-menu:not(.mobile) .menu > li > span:hover {background: #2a2a92; color: #cfcff7;}

body.dark .nav-menu:not(.mobile) .menu > li > span {border: 1px solid rgb(196 195 249 / 21%);}

where(.dark) .nav-menu:not(.mobile) .menu > li.current_page_item > span, .nav-menu:not(.mobile) .menu > li.current-menu-item > span, .nav-menu:not(.mobile) .menu > li.current-menu-ancestor > span, .nav-menu:not(.mobile) .menu > li.current-post-parent > span {background: #545169;border: 1px solid transparent;}
body:where(.dark) .nav-menu:not(.mobile) button.active { background: rgba(255,255,255,0.08); }
body:where(.dark) .nav-menu:not(.mobile) .menu > li:hover > span { border-color: rgb(94 97 145 / 31%);}

body:where(.dark) .nav-menu:not(.mobile) ul ul li.current_page_item > span > a, 
body:where(.dark) .nav-menu:not(.mobile) ul ul li.current-menu-item > span > a, 
body:where(.dark) .nav-menu:not(.mobile) ul ul li.current-menu-ancestor > span > a, 
body:where(.dark) .nav-menu:not(.mobile) ul ul li.current-post-parent > span > a { color: #f5f5ff; }


body:where(.dark) .nav-menu:not(.mobile) .menu ul { background: #2a2a92; }
body:where(.dark) .nav-menu:not(.mobile) .menu ul:after { border-bottom-color: #2a2a92; }
body:where(.dark) .nav-menu:not(.mobile) .menu ul ul:after { border-right-color: #2a2a92; }
body:where(.dark) .nav-menu-dropdown-left .nav-menu:not(.mobile) .menu ul ul:after { border-left-color: #fff; }
body:where(.dark) .nav-menu:not(.mobile) ul ul button.active { background: rgba(0,0,0,0.06); }
body:where(.dark) .nav-menu:not(.mobile) ul ul a { color: #d9d9fa; }
body:where(.dark) .nav-menu:not(.mobile) ul ul a:hover { color: #cbcbdf; }
body:where(.dark) .nav-menu:not(.mobile) ul ul > li { border-bottom: 1px solid rgba(0,0,0,0.06); }
body:where(.dark) #footer .nav-menu:not(.mobile) .menu ul:after { border-top-color: #fff; }
body:where(.dark) #footer .nav-menu:not(.mobile) .menu ul ul:after { border-right-color: #fff; }
body:where(.dark) .nav-menu:not(.mobile) .menu ul ul:after { border-bottom-color: transparent; bottom: auto; left: -16px; top: 20px; }

body:where(.dark) .menu-toggle-icon span { background: #9a97eb; }
body:where(.dark) .nav-menu .svg-icon { fill: #686bd7; }
body:where(.dark) .nav-menu.mobile button:focus,
body:where(.dark) .menu-toggle:focus { background: #2a2a92; }
body:where(.dark) .nav-menu.mobile ul ul button:focus { background: rgba(255,255,255,0.06); }

body:where(.dark) .nav-menu.mobile,
body:where(.dark) #footer .nav-menu.mobile { background: #151535; }
body:where(.dark) .nav-menu.mobile button.active .svg-icon { fill: #686bd7; }
body:where(.dark) .nav-menu.mobile ul ul { background: rgba(0,0,0,0.1); }
body:where(.dark) .nav-menu.mobile ul ul ul { background: rgba(0,0,0,0.1); }
body:where(.dark) .nav-menu.mobile ul li .menu-item-wrapper,
body:where(.dark) .nav-menu.mobile ul ul li .menu-item-wrapper { border-bottom: 1px solid rgba(255,255,255,0.07); }
body:where(.dark) .nav-menu.mobile ul li a { color: #9a97eb; }
body:where(.dark) .nav-menu.mobile ul button,
body:where(.dark) .nav-menu.mobile ul ul button { border-left: 1px solid rgba(255,255,255,0.07); }
body:where(.dark) .nav-menu.mobile > div > ul { border-top: 1px solid rgba(255,255,255,0.07); }

@media only screen and (max-width: 719px) {
	body:where(.dark) .site-title { border-bottom-color: rgba(255,255,255,0.06); }
}

body:where(.dark) .pagination ul li a:before { color: #fff; }
body:where(.dark) .entry-meta .entry-category a:hover { color: #d2d6ff; background: rgba(255,255,255,0.1); }

body:where(.dark) #footer-bottom { border-top-color: rgba(255,255,255,0.06); }
body:where(.dark) #footer-bottom #back-to-top { background: rgba(255,255,255,0.06); color: #6161bf; }
body:where(.dark) #footer-bottom #back-to-top:hover { color: #bbc5ff; }
body:where(.dark) #footer-bottom #copyright, 
body:where(.dark) #footer-bottom #credit { color: #9a97eb; }
body:where(.dark) #footer-bottom a { color: rgba(255,255,255,0.7); }
body:where(.dark) #footer-bottom a:hover { color: #9a97eb; }
body:where(.dark) #footer-bottom .social-links a { color: #9a97eb; }
body:where(.dark) #footer-bottom .social-links a:hover { color: rgba(255,255,255,0.9); }
body:where(.dark) #footer-bottom .social-links .social-tooltip:hover:after { background: #fff; color: #212226; }
body:where(.dark) #footer-bottom .social-links .social-tooltip:hover:before { border-color: #fff transparent; }

body:where(.dark) .card-header:before { box-shadow: 0 10px 10px rgba(0,0,0,0.03), 0 1px 0 rgba(0,0,0,0.05);  }
body:where(.dark) .card-header:after { background: #141416; }
body:where(.dark) .mini-card-grid { scrollbar-color: #363364 #212226; }
body:where(.dark) .mini-card { box-shadow: 0 1px 0 rgba(0,0,0,0.1), 0 3px 3px rgba(0,0,0,0.3); background: linear-gradient(85deg,#212226,#141416); color: #fff; }
body:where(.dark) .mini-card:not(:first-child) { box-shadow: 0 1px 0 rgba(0,0,0,0.1), 0 3px 3px rgba(0,0,0,0.3); }
body:where(.dark) .mini-card-category { color: rgba(255,255,255,0.3); }
body:where(.dark) .mini-card-category a:hover { color: #fff; }
body:where(.dark) .mini-card-date { color: rgba(255,255,255,0.3); }
body:where(.dark) .mini-card-thumb { background: #212226; box-shadow: 0 10px 10px rgba(0,0,0,0.03), 0 1px 0 rgba(0,0,0,0.05); }

@media only screen and (max-width: 719px) {
	body:where(.dark) .card-articles { scrollbar-color: #363364 #212226; }
}

body:where(.dark) .wp-pagenavi a,
body:where(.dark) .wp-pagenavi span { color: #605c9b; }
body:where(.dark) .wp-pagenavi a:hover,
body:where(.dark) .wp-pagenavi a:active,
body:where(.dark) .wp-pagenavi span.current { color: #8f96d0; }
body:where(.dark) .wp-pagenavi a { color: #605c9b; border-bottom: 3px solid #363364; border-top: 1px solid #363364; }
body:where(.dark) .wp-pagenavi a:hover,
body:where(.dark) .wp-pagenavi a:active,
body:where(.dark) .wp-pagenavi span.current { border-bottom: 3px solid #6161bf; border-top: 1px solid #6161bf; }

body:where(.dark) .widget { color: rgba(255,255,255,0.55); }
body:where(.dark) .widget a { color: #9e9cd5; }
body:where(.dark) .widget a:hover { color: #6565ff; }
body:where(.dark) .widget > h3 a,
body:where(.dark) .widget > h3 a:hover { color: rgba(255,255,255,0.95); }
body:where(.dark) .widget select { background: #141416; border: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.55); }

body:where(.dark) .widget > ul li:before,
body:where(.dark) .widget > ul li a:before,
body:where(.dark) .widget > div > ul li a:before,
body:where(.dark) .widget_calendar caption:before { color: rgba(255,255,255,0.35); }
body:where(.dark) .widget > ul li a:hover:before { color: rgba(255,255,255,0.35); }
body:where(.dark) .widget_archive ul li,
body:where(.dark) .widget_categories ul li,
body:where(.dark) .widget_links ul li { color: rgba(255,255,255,0.35); }
body:where(.dark) .widget_recent_comments ul li,
body:where(.dark) .widget_recent_entries ul li { color: rgba(255,255,255,0.55); }

body:where(.dark) .widget_rss ul li a { color: rgba(255,255,255,0.95); }
body:where(.dark) .widget_rss ul li span.rss-date { color: rgba(255,255,255,0.95); }
body:where(.dark) .widget_rss ul li cite { color: rgba(255,255,255,0.35); }
body:where(.dark) .widget_search input.search { color: rgba(255,255,255,0.35); }
body.dark .toggle-search:focus #svg-search, 
body.dark .toggle-search.active #svg-close {fill: #55527f;}
body.dark .themeform.searchform div:after {color: #55527f;}
body:where(.dark) .widget_calendar a { color: rgba(255,255,255,0.95); }
body:where(.dark) .widget_calendar a:hover { color: rgba(255,255,255,0.95)!important; }
body:where(.dark) .widget_calendar caption { background: #141416; color: #fff; }
body:where(.dark) .widget_calendar caption:before { color: rgba(255,255,255,0.4); }
body:where(.dark) .widget_calendar thead { background: rgba(255,255,255,0.15); -webkit-box-shadow: none; box-shadow: none; }
body:where(.dark) .widget_calendar th, 
body:where(.dark) .widget_calendar td { border: 1px solid rgba(255,255,255,0.15); }

body:where(.dark) .alx-tabs-nav li a { color: #6c6a96; border-bottom: 1px solid #6c6a96; }
body:where(.dark) .alx-tabs-nav li.active a { color: #909bff; border-bottom-color: #909bff; }

body:where(.dark) .alx-tab .tab-item-category,
body:where(.dark) .alx-posts .post-item-category { color: rgba(255,255,255,0.35); }
body:where(.dark) .alx-tab .tab-item-title a,
body:where(.dark) .alx-tab .tab-item-comment a,
body:where(.dark) .alx-posts .post-item-title a { color: #9e9cd5; }
body:where(.dark) .alx-tab .tab-item-category a:hover,
body:where(.dark) .alx-posts .post-item-category a:hover { color: rgba(255,255,255,0.95)!important; }
body:where(.dark) .alx-tab .tab-item-date,
body:where(.dark) .alx-tab .tab-item-name,
body:where(.dark) .alx-posts .post-item-date  { color: rgba(255,255,255,0.55); }
body:where(.dark) .alx-tab li:hover .thumb-icon,
body:where(.dark) .alx-posts li:hover .thumb-icon { background: #a3a3de; color: #212226; }
body:where(.dark) .alx-tab .tab-item-category a,
body:where(.dark) .alx-posts .post-item-category a { color: rgba(255,255,255,0.55); }
body:where(.dark) .alx-tab li:hover .tab-item-title a,
body:where(.dark) .alx-tab li:hover .tab-item-comment a,
body:where(.dark) .alx-posts li:hover .post-item-title a { color: #6565ff; }

body:where(.dark) .notebox { color: #8282b7; }

body:where(.dark) .sharrre-container { border: 1px solid rgba(255,255,255,0.06); }
body:where(.dark) .sharrre .box { border-bottom: 0 solid #1b2b47; border-left: 1px solid rgba(255,255,255,0.06); }
body:where(.dark) .sharrre .count { background: rgba(255,255,255,0.06); color: #a3a3de; }
body:where(.dark) .sharrre .count:after { border-left-color: rgba(255,255,255,0.06); }
body:where(.dark) .sharrre .box:hover { background: rgba(255,255,255,0.06)!important; }
body:where(.dark) .sharrre .box:hover .count { color: #a3a3de!important; }

body:where(.dark) .post-nav li a { background: #34345f; }
body:where(.dark) .post-nav li i { color: #6863e5;}
body:where(.dark) .post-nav li a strong { color: #6863e5; }
body:where(.dark) .post-nav li a span { color: #9a97eb; }
body:where(.dark) .post-nav li a:hover span { color: #bfc4ff; }
body:where(.dark) .post-nav li a:hover i { color: #bfc4ff; }
body:where(.dark) .post-nav li.previous a { border-left: 1px solid rgba(255,255,255,0.06); }
body:where(.dark) .post-nav li.next a { border-left: 1px solid rgba(255,255,255,0.06); }
body:where(.dark) .sidebar .post-nav {  }
body:where(.dark) .sidebar .post-nav li:first-child { border-bottom: 1px solid rgba(255,255,255,0.06); }

body:where(.dark) .post-tags span { color: #7f7fcc; }
body:where(.dark) .post-tags a { background: #39396c; box-shadow: none!important; color: rgba(255,255,255,0.5); }
body:where(.dark) .post-tags a:hover { background-color: #3a3a97; color: #c5c5e6; }

body:where(.dark) .author-bio { background: #141416; color: rgba(255,255,255,0.5); border: 1px solid transparent; }
body:where(.dark) .author-bio .bio-avatar:after { background: #7479b1; color: #141416; }
body:where(.dark) .author-bio .bio-name { color: #a3a3de; }
body:where(.dark) .author-bio .bio-desc { color: rgba(255,255,255,0.5); }

body:where(.dark) .related-title a { color: rgba(255,255,255,0.75); box-shadow: 0 1px 0 rgba(255,255,255,0.15); }
body:where(.dark) .related-title a:hover { color: rgba(255,255,255,0.95); box-shadow: 0 1px 0 rgba(255,255,255,0.3); }

body:where(.dark) .comment-tabs li a { background: #34345f; color: #969ac4; }
body:where(.dark) .comment-tabs li a:hover { color: #7479b1; }
body:where(.dark) .comment-tabs li span { background-color: rgba(255,255,255,0.06); }
body:where(.dark) .comment-tabs li.active a { color: #969ac4; }
body:where(.dark) .commentlist .fn, 
body:where(.dark) .pinglist .ping-link { color: #969ac4; }
body:where(.dark) .commentlist .comment-meta:before, 
body:where(.dark) .pinglist .ping-meta:before { color: #7f7fcc; } 
body:where(.dark) .commentlist .comment-meta a, 
body:where(.dark) .pinglist .ping-meta { color: #7f7fcc; }
body:where(.dark) .commentlist .reply a { color: #7f7fcc; }
body:where(.dark) .commentlist .reply a:hover { color: #7479b1; }
body:where(.dark) .comment-awaiting-moderation { color: #a3a3de; }
body:where(.dark) .commentlist .comment-body p { color: #9493bd; }
body:where(.dark) .commentlist li.bypostauthor > .comment-body:after,
body:where(.dark) .commentlist li.comment-author-admin > .comment-body:after { background: #7479b1; color: #141416; }
body:where(.dark) #cancel-comment-reply-link { color: #7273ae; }
body:where(.dark) #cancel-comment-reply-link:hover { color: #7479b1; }
body:where(.dark) #commentform { background: rgb(57 57 104 / 21%); border-color: rgba(255,255,255,0.06); border: 1px solid #222438;}

body:where(.dark) .themeform label { color: #a3a3de; }
body:where(.dark) .themeform input[type="search"],
body:where(.dark) .themeform input[type="text"], 
body:where(.dark) .themeform input[type="password"], 
body:where(.dark) .themeform input[type="email"], 
body:where(.dark) .themeform input[type="url"],
body:where(.dark) .themeform input[type="tel"],
body:where(.dark) .themeform input[type="number"],
body:where(.dark) .themeform select,
body:where(.dark) .themeform textarea { background: #34345f; border-color: rgba(255,255,255,0.06); color: #7273ae; }
body:where(.dark) .themeform input[type="search"]:focus,
body:where(.dark) .themeform input[type="text"]:focus, 
body:where(.dark) .themeform input[type="password"]:focus, 
body:where(.dark) .themeform input[type="email"]:focus, 
body:where(.dark) .themeform input[type="url"]:focus,
body:where(.dark) .themeform input[type="tel"]:focus,
body:where(.dark) .themeform input[type="number"]:focus, 
body:where(.dark) .themeform select:focus,
body:where(.dark) .themeform textarea:focus { border-color: rgba(255,255,255,0.1); color: #a3a3de; -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.1); box-shadow: 0 0 3px rgba(0,0,0,0.1); }
body:where(.dark) .themeform label .required { color: #a3a3de; }
body:where(.dark) .themeform input[type="button"],
body:where(.dark) .themeform input[type="reset"],
body:where(.dark) .themeform input[type="submit"],
body:where(.dark) .themeform button[type="button"],
body:where(.dark) .themeform button[type="reset"],
body:where(.dark) .themeform button[type="submit"] {background: #080829;color: #adadd7;}
body:where(.dark) .themeform input[type="button"]:hover,
body:where(.dark) .themeform input[type="reset"]:hover,
body:where(.dark) .themeform input[type="submit"]:hover,
body:where(.dark) .themeform button[type="button"]:hover,
body:where(.dark) .themeform button[type="reset"]:hover,
body:where(.dark) .themeform button[type="submit"]:hover { background: #b5b5e6; }

body:where(.dark) hr { background: rgba(255,255,255,0.1); }
body:where(.dark) .entry a { color: #9f9bff;/*box-shadow: 0 2px 0 #9f9bff; */}
@media (max-width: 768px) {body:where(.dark) .entry a {word-break: break-all;overflow-wrap: anywhere;white-space: normal;}}
body:where(.dark) .entry a:hover { color: #6565ff;box-shadow: 0 2px 0 #6565ff; }
body:where(.dark) .entry dt { color: #b5b5e6; }
body:where(.dark) .entry blockquote p { color: rgb(126 127 251 / 60%); }
body:where(.dark) .entry blockquote:before { color: rgb(126 127 251 / 60%); }
body:where(.dark) .entry pre { border: 1px solid rgb(126 127 251 / 60%); }
body:where(.dark) .entry code { background: rgba(255,255,255,0.1); }
body:where(.dark) .entry ins { background: #fff486; }
body:where(.dark) .entry .wp-caption { background: rgba(255,255,255,0.06); }
body:where(.dark) .entry .wp-caption-text { color: rgba(255,255,255,0.6); }
body:where(.dark) .entry table tr.alt { background: rgba(255,255,255,0.06); }
body:where(.dark) .entry table td { border: 1px solid rgba(255,255,255,0.06); }
body:where(.dark) .entry table th { border: 1px solid rgba(255,255,255,0.06); }

body:where(.dark) .entry .wp-block-calendar table th { background: rgba(255,255,255,0.06); }
body:where(.dark) .entry .wp-block-calendar table caption, 
body:where(.dark) .entry .wp-block-calendar table tbody { color: #7273ae; }
body:where(.dark) .entry .wp-block-table.is-style-stripes tbody tr:nth-child(2n+1) { background: rgba(255,255,255,0.06); }
body:where(.dark) .entry .wp-block-table.is-style-stripes { border-bottom-color: rgba(255,255,255,0.06); }

body:where(.dark) #footer-ads { border-bottom: 0; }
body:where(.dark.invert-dark-logo) .site-title a img,
body:where(.dark.invert-dark-logo) .site-title a svg { filter: invert(1); }

/* 增补去掉原色后色调 */
body:where(.dark) #theme-toggle i {color: #35366c;}
body:where(.dark) body.dark #theme-toggle-btn:before {border-color: #272243;}
body:where(.dark) #theme-toggle-btn:before {background: #35366c;}
body:where(.dark) #profile-description {color: #d3d7e7;}
body:where(.dark) .nav-menu:not(.mobile) li.current_page_item > span > a,
body:where(.dark) .nav-menu:not(.mobile) li.current-menu-item > span > a,
body:where(.dark) .nav-menu:not(.mobile) li.current-menu-ancestor > span > a,
body:where(.dark) .nav-menu:not(.mobile) li.current-post-parent > span > a {color: #d5d5ee; /* 暗色模式颜色 */}
where(.dark) .entry blockquote:before { content: "\f10d"; color: #c2c7ae; font-size: 32px; font-style: normal; font-family: "Font Awesome 6 Free"; font-weight: 900; text-align: center; position: absolute; left: 0; top: 0; }
body:where(.dark) ::selection { background: #36366f; color: #b5b5e6; }
body:where(.dark) ::-moz-selection { background: #36366f; color: #b5b5e6; }

body:where(.dark) :where(.entry--user-center, .site-main--user-center)
  .uc-list .meta .title a:is(:link, :visited, :hover, :active) {
  color: #9a97eb;
}

body:where(.dark) :where(.entry--user-center, .site-main--user-center)
  .uc-list .meta .title a:is(:link, :visited, :hover, :active):hover {
  color: #7f7fcc;
}

/* 暗色文件（只在 .dark 类下生效） */
body.dark .nav-menu:not(.mobile) .menu > li.current_page_item > span,
body.dark .nav-menu:not(.mobile) .menu > li.current-menu-item > span,
body.dark .nav-menu:not(.mobile) .menu > li.current-menu-ancestor > span,
body.dark .nav-menu:not(.mobile) .menu > li.current-post-parent > span {    background: #323281;border: 1px solid rgb(66 80 142 / 60%);}
body.dark .nav-menu .menu > li.current-menu-item > span.menu-item-wrapper:hover {background: #2a2a92; color: #cfcff7;}
body.dark .nav-menu:not(.mobile) .menu > li:hover > span {background: #323281; border-color: rgb(66 80 142 / 60%);; color: #cfcff7; }
/* 暗色下的“发表评论”按钮走蓝色系 */
body:where(.dark) #commentform input[type="submit"],
body:where(.dark) .themeform input[type="submit"],
body:where(.dark) .themeform button[type="submit"]{
  background: #3f3f7d;   /* 站点主蓝 */
  color: #9a97eb;
  border: none;          /* 如需边框可加：1px solid rgba(255,255,255,.08) */
}

/* 评论悬停色：稍微变亮 */
body:where(.dark) #commentform input[type="submit"]:hover,
body:where(.dark) .themeform input[type="submit"]:hover,
body:where(.dark) .themeform button[type="submit"]:hover{
  background: #2a2a92; /* 或 color-mix(in srgb, #3b61eb 85%, white) */
  color: #9a97eb;
}

/* 焦点可见性（可选） */
body:where(.dark) #commentform input[type="submit"]:focus-visible{
  outline: 2px solid rgba(90,120,255,.45);
  outline-offset: 2px;
}


/* 仅暗色模式：修改或去掉 header 底部分隔线 */
body:where(.dark) header{
  border-bottom: 1px solid #151535 !important;  /* 改色 */
  /* 或者直接去掉线条： */
border-bottom: none !important;
  /* box-shadow: none !important;  // 若主题用阴影当分隔线，顺手关掉 */
}


/* 播放器*/
/* 主背景 */
body.dark .ai-wrap {
    background-color: #31315d !important;
    color: #a5aae6 !important;
    margin: 0 !important;
    border-radius: 15px !important;
    padding: 28px !important;
    border: 1px solid #3d3d69;
    /* box-shadow: 0 0 5px 0px #262549;*/
    margin-bottom: 15px !important;
    margin-top: 15px !important;
}
body.dark .ai-wrap .ai-track:hover,
body.dark .ai-wrap .ai-track.ai-track-active {
    color: #818abf !important; /* 暗色主题的颜色 */
    border-bottom: 1px solid #3a3662 !important;
}
body:where(.dark) .ai-wrap .ai-audio-control svg {
    fill: #8f8db5!important;
	left: 1px!important;
    top: 1px!important;
}

/*右边歌词及重复按钮颜色 */
body:where(.dark) .ai-wrap .ai-track.ai-track-active .ai-track-btn svg, .ai-wrap .ai-track:hover .ai-track-btn svg {
    fill: #bec0e2;
}
/*右边歌词及重复按钮聚焦颜色 */
body:where(.dark) wrap .ai-track.ai-track-active .ai-track-btn svg {
    fill: #8d8d8d!important;
}
/*小控制按钮 */
body:where(.dark) .ai-wrap .ai-btn{
background:#464682!important;
color: #8f8db5!important;
fill: #9797d6 !important;
}
body:where(.dark) .ai-wrap .ai-btn:hover {
  color: #8785ab!important;
  background-color: #383371!important;
  fill: #9797d6 !important;
}
body:where(.dark) .ai-wrap .ai-btn svg {
    fill: #9ba5de!important;
}
body:where(.dark) .ai-wrap .ai-btn.ai-btn-active svg {
    fill: #9ba5de;
}
body:where(.dark) .ai-wrap .ai-btn-repeat svg {
    top: 0px;
}
/*音量间隙 */
body:where(.dark) .ai-wrap .ai-volume-bar {
    background-color: #31315d!important;
    border-right: 1px solid #31315d!important;
}
/*音量主颜色 */

body:where(.dark) .ai-wrap .ai-volume-bar.ai-volume-bar-active::before {
    background: #464682 !important;
}
/*音量高加减高度 */
body:where(.dark) .ai-wrap .ai-volume-bar {
    height: 98%!important;
}
body:where(.dark) .ai-wrap .ai-audio-volume-control-btns .ai-btn {
    height: 45%!important;
}
/*间隙颜色 */
body:where(.dark)  .ai-tracklist{
background: #8a83d6!important;
    border-bottom: 1px solid #444473;
    border-right: 1px solid #444473;
}
body:where(.dark) .ai-wrap .ai-track-btn svg {
    fill: #7b86c5 !important;
}
/*未播放列表无聚焦 */
body:where(.dark) .ai-tracklist li{
    background: #353564!important;
    color: #7979b2!important;
    border-bottom: 1px solid #444473;
    margin-bottom: 0px!important;
}
/*未播放列表鼠标悬停 */
body:where(.dark) .ai-tracklist li:hover{
background:#2c2b58!important;
}
/*播放圆圈 */
body:where(.dark) .ai-control-spinner {
    border-top: 5px solid #6767db;
}
body:where(.dark) .ai-wrap .ai-audio-control {
    color:#837fe9;
}
/* 正在播放列表 */
body:where(.dark) .ai-tracklist li.ai-track-active{
background:#2c2b58!important;
border-bottom: 1px solid #27225b;
}
/*未播放列表右侧竖线 */
body:where(.dark) .ai-wrap .ai-track-btn{
border-color:#444473!important;
}
/*播放列表前竖线 */
body:where(.dark) .ai-wrap .ai-track-control {
border-left: 1px solid #444473!important;
}
/*主播放按钮 */
body:where(.dark) .ai-audio-control {
    background: #3f3f7d!important;
}
/*播放按钮鼠标悬停 */
body:where(.dark) .ai-wrap .ai-audio-control:hover,
body:where(.dark) .ai-wrap .ai-audio-control:focus {
    background: #4a4a9f!important;
}
/* 进度条 */
body:where(.dark) .ai-wrap .ai-track-progress-bar {
background-color: #3c3c71!important;
}
body:where(.dark) .ai-wrap .ai-track-progress {
    background: #5f5f9e!important;
}
/* 无拉链背景 */
body:where(.dark) .ai-wrap .ai-scroll-wrap > div:last-child {
    background-color: rgb(55 54 135 / 36%) !important;
}
/* 拉链 */
body:where(.dark) .ai-wrap .ai-scroll-wrap > div:last-child div {
    background-color: #24254b!important;
}
/* 拉链有小白条解决办法 */
/* 版本 B：文章正文容器（示例：常见的内容区 class） */
.entry-content, .post-content, .site-content {
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}
.entry-content::-webkit-scrollbar,
.post-content::-webkit-scrollbar,
.site-content::-webkit-scrollbar { width: 6px; }
.entry-content::-webkit-scrollbar-track,
.post-content::-webkit-scrollbar-track,
.site-content::-webkit-scrollbar-track { background: rgba(255,255,255,0.08); }
.entry-content::-webkit-scrollbar-thumb,
.post-content::-webkit-scrollbar-thumb,
.site-content::-webkit-scrollbar-thumb { background-color: #9aa0a6; border-radius: 3px; border: 1px solid rgba(0,0,0,0.2); }

/* 封面背景 */
body:where(.dark) .ai-wrap .ai-track-no-thumb {background-color: #24254b!important;}
/* 歌词背景 */
body:where(.dark) .ai-modal {
    position: absolute;
    top: 40px;
    width: 460px;
    max-width: calc(100% - 30px);
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    color: #afa2d6 !important;
    background-color: color(srgb 0.08 0.08 0.16 / 0.55) !important;
    border: 1px solid #291e4b !important;
    border-radius: 4px;
    border: 1px solid rgb(60, 51, 86);
    outline: 0;
    max-height: calc(100vh - 50px);
    overflow-y: auto;
    box-sizing: border-box;
}
/* 歌词弹出整体透明背景 */
body:where(.dark) .ai-modal-overlay {
    background-color: rgba(0, 0, 0, 0.6)!important;
}
body:where(.dark) .ai-modal-dismiss:hover, .ai-modal-dismiss:active, .ai-modal-dismiss:focus {
        color: #ccc4e3 !important;
}
body:where(.dark) .ai-modal-dismiss {color: #918ca6 !important;}
/* 单独定义每个列表前面增加#audioigniter-7335 */

body:where(.dark) .ai-wrap .ai-tracklist {
    padding-left: 0px!important;
    margin-bottom: 0px!important;
}
/* 播放器*/

/* 灯箱简码*/
body:where(.dark) .su-image-carousel-slides-style-default .su-image-carousel-item-content img {
    border: 2px solid #21243a !important;
    border-radius: 10px !important;
    background: #3e3d75 !important;
}

/* TAB简码*/
/* 鼠标点击时去掉虚线框，但键盘导航保留 */
.su-tabs-nav span:focus:not(:focus-visible),
.su-tabs-nav span:active {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

/* 如果框架在内部元素上加了样式，也一并覆盖 */
.su-tabs-nav span *:focus:not(:focus-visible),
.su-tabs-nav span *:active {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

/* Firefox 特有的按钮虚线框 */
.su-tabs-nav span::-moz-focus-inner {
  border: 0;
}
body:where(.dark) .su-tabs-pane {
    background: #34345f!important;
    color: #9a97eb!important;
    font-size: 15px!important;
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}
body:where(.dark) .su-tabs {
    background: #22224e!important;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
    border-bottom-left-radius: 10px!important;
    border-bottom-right-radius: 10px!important;
    border: 1px solid #3a3a66;
}
body:where(.dark) .su-tabs-nav span {
    color: #9a97eb!important;
    font-size: 16px!important;
    border-top-left-radius: 10px!important;
    border-top-right-radius: 10px!important;
}
body:where(.dark) .su-tabs-nav span.su-tabs-current {
    background: #34345f!important;
}
body:where(.dark) .su-tabs-nav span:hover {
    background: #515186!important;
}
body:where(.dark) .su-spoiler-style-fancy>.su-spoiler-content {
    font-size: 16px !important;
}

/* 隐藏更多框 */
body:where(.dark) .su-spoiler-style-fancy > .su-spoiler-title {
    border-bottom: 3px solid #1b1931 !important;
    background: #31315d !important;
    color: #9a97eb !important;
    font-size: 17px !important;
}

/* 外层容器样式 */
body:where(.dark) .su-spoiler-style-fancy {
    border: 1px solid #544f73 !important;
    border-radius: 10px !important;
    background: #34345f !important;
    color: #9a97eb !important;
    font-size: 14px !important;
}

/* 鼠标点击时去掉焦点，但键盘导航时保留 */
body:where(.dark) .su-spoiler-style-fancy > .su-spoiler-title:focus:not(:focus-visible),
body:where(.dark) .su-spoiler-style-fancy > .su-spoiler-title *:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* 可选：自定义键盘导航的焦点样式（可见且美观） */
body:where(.dark) .su-spoiler-style-fancy > .su-spoiler-title:focus-visible {
    outline: 2px solid #9a97eb !important;
    outline-offset: 2px !important;
}
body:where(.dark) .su-spoiler-icon {
    left: 10px !important;
    top: 15px !important;
}
body:where(.dark) .su-spoiler-title {
    padding: 15px 7px 15px 34px !important;
}
/* 相册 */
body:where(.dark) .su-custom-gallery-slide img {
    border: 1px solid #66669b !important;
    background: #4c4b82 !important;
}
.su-custom-gallery-slide span {
    right: 2px !important;
    overflow-y: hidden !important;
}
/* 引述 */
/* 覆盖暗色模式下的 su-quote-style-default 引号背景 */
body:where(.dark) .su-quote-style-default:after,
body:where(.dark) .su-quote-style-default:before {
    background-image: url("img/quote.png") !important;
}

