/**
 * Handsome Theme Modern Aesthetics & Unified Color System
 * 架构规范：
 * 1. CSS 变量定义核心色彩系统与组件样式 Token（完美适配深浅色模式与 WCAG AA 对比度）
 * 2. @media (prefers-color-scheme: dark) 原生自适应操作系统偏好（零延迟、零闪烁）
 * 3. JS 类名/属性控制（.night / [data-theme="dark"] 与 [data-theme="light"]）支持用户手动切换并记忆 2 小时
 * 4. 彻底消除死黑、硬边框、暗红代码与低对比度文字覆盖，全面升维现代极简质感
 * 5. 全局丝滑滚动条、卡片悬浮微动效、图片防刺眼防眩光保护
 */

/* ========================================================
   1. CSS 变量系统定义 (Light Mode 浅色温润质感)
   ======================================================== */
:root {
    /* 基础背景色 (浅色模式：通透柔润的高级质感) */
    --theme-bg-body: #f6f8fa;
    --theme-bg-content: #ffffff;
    --theme-bg-header: rgba(255, 255, 255, 0.95);
    --theme-bg-aside: #ffffff;
    --theme-bg-panel: #ffffff;
    --theme-bg-panel-footer: #fafbfc;
    --theme-bg-subtle: #f8fafc;
    --theme-bg-input: #ffffff;
    --theme-bg-modal: #ffffff;
    --theme-bg-dropdown: #ffffff;
    --theme-bg-tag: #f1f5f9;
    --theme-bg-table-row: transparent;
    --theme-bg-table-stripe: rgba(15, 23, 42, 0.02);
    --theme-bg-code: rgba(15, 23, 42, 0.06);
    --theme-bg-blockquote: #f8fafc;
    --theme-bg-timemachine: #ffffff;
    --theme-bg-skplayer: #ffffff;
    --theme-bg-search-drop: rgba(255, 255, 255, 0.98);
    --theme-bg-scrollbar-track: transparent;
    --theme-bg-scrollbar-thumb: rgba(148, 163, 184, 0.35);

    /* 文本与前景色 (Slate 高级排版体系) */
    --theme-text-color: #334155;
    --theme-text-title: #0f172a;
    --theme-text-muted: #64748b;
    --theme-text-link: #0284c7;
    --theme-text-link-hover: #0369a1;
    --theme-text-code: #db2777;
    --theme-text-icon: #64748b;

    /* 边框与分割线 */
    --theme-border-color: #e2e8f0;
    --theme-border-subtle: #f1f5f9;
    --theme-border-input: #cbd5e1;
    --theme-border-focus: #0ea5e9;
    --theme-border-table: #e2e8f0;
    --theme-border-blockquote: #0ea5e9;

    /* 现代微阴影 */
    --theme-shadow-panel: 0 1px 3px rgba(15, 23, 42, 0.04), 0 6px 18px rgba(15, 23, 42, 0.03);
    --theme-img-opacity: 1;

    /* 导航栏切换按钮图标显隐状态 */
    --theme-icon-light-display: inline-flex;
    --theme-icon-dark-display: none;

    color-scheme: light;
}

/* ========================================================
   2. 跟随系统原生自适应：@media (prefers-color-scheme: dark)
   未显式锁定浅色时生效
   ======================================================== */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        /* 基础背景色 (深色模式：深邃利落的黑曜科技质感，符合 GitHub / Linear 级标准) */
        --theme-bg-body: #0d1117;
        --theme-bg-content: #161b22;
        --theme-bg-header: rgba(22, 27, 34, 0.92);
        --theme-bg-aside: #161b22;
        --theme-bg-panel: #161b22;
        --theme-bg-panel-footer: #161b22;
        --theme-bg-subtle: #1c2128;
        --theme-bg-input: #0d1117;
        --theme-bg-modal: #161b22;
        --theme-bg-dropdown: #161b22;
        --theme-bg-tag: #21262d;
        --theme-bg-table-row: transparent;
        --theme-bg-table-stripe: rgba(255, 255, 255, 0.02);
        --theme-bg-code: rgba(255, 255, 255, 0.08);
        --theme-bg-blockquote: rgba(56, 189, 248, 0.06);
        --theme-bg-timemachine: #161b22;
        --theme-bg-skplayer: #161b22;
        --theme-bg-search-drop: rgba(22, 27, 34, 0.98);
        --theme-bg-scrollbar-track: transparent;
        --theme-bg-scrollbar-thumb: rgba(148, 163, 184, 0.28);

        /* 文本与前景色 (完美满足 WCAG 4.5:1 无障碍高对比度，长时间阅读无疲劳) */
        --theme-text-color: #c9d1d9;
        --theme-text-title: #f0f6fc;
        --theme-text-muted: #8b949e;
        --theme-text-link: #38bdf8;
        --theme-text-link-hover: #7dd3fc;
        --theme-text-code: #f472b6;
        --theme-text-icon: #8b949e;

        /* 边框与分割线 */
        --theme-border-color: #30363d;
        --theme-border-subtle: #21262d;
        --theme-border-input: #30363d;
        --theme-border-focus: #38bdf8;
        --theme-border-table: #30363d;
        --theme-border-blockquote: #38bdf8;

        /* 阴影与特效 */
        --theme-shadow-panel: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
        --theme-img-opacity: 0.92;

        --theme-icon-light-display: none;
        --theme-icon-dark-display: inline-flex;

        color-scheme: dark;
    }
}

/* ========================================================
   3. 手动切换或锁定深色模式支持
   (:root.night, :root[data-theme="dark"], html.night, body.night)
   ======================================================== */
:root.night,
:root[data-theme="dark"],
html.night,
body.night {
    --theme-bg-body: #0d1117;
    --theme-bg-content: #161b22;
    --theme-bg-header: rgba(22, 27, 34, 0.92);
    --theme-bg-aside: #161b22;
    --theme-bg-panel: #161b22;
    --theme-bg-panel-footer: #161b22;
    --theme-bg-subtle: #1c2128;
    --theme-bg-input: #0d1117;
    --theme-bg-modal: #161b22;
    --theme-bg-dropdown: #161b22;
    --theme-bg-tag: #21262d;
    --theme-bg-table-row: transparent;
    --theme-bg-table-stripe: rgba(255, 255, 255, 0.02);
    --theme-bg-code: rgba(255, 255, 255, 0.08);
    --theme-bg-blockquote: rgba(56, 189, 248, 0.06);
    --theme-bg-timemachine: #161b22;
    --theme-bg-skplayer: #161b22;
    --theme-bg-search-drop: rgba(22, 27, 34, 0.98);
    --theme-bg-scrollbar-track: transparent;
    --theme-bg-scrollbar-thumb: rgba(148, 163, 184, 0.28);

    --theme-text-color: #c9d1d9;
    --theme-text-title: #f0f6fc;
    --theme-text-muted: #8b949e;
    --theme-text-link: #38bdf8;
    --theme-text-link-hover: #7dd3fc;
    --theme-text-code: #f472b6;
    --theme-text-icon: #8b949e;

    --theme-border-color: #30363d;
    --theme-border-subtle: #21262d;
    --theme-border-input: #30363d;
    --theme-border-focus: #38bdf8;
    --theme-border-table: #30363d;
    --theme-border-blockquote: #38bdf8;

    --theme-shadow-panel: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
    --theme-img-opacity: 0.92;

    --theme-icon-light-display: none;
    --theme-icon-dark-display: inline-flex;

    color-scheme: dark;
}

/* ========================================================
   4. 手动切换或锁定浅色模式支持
   (:root[data-theme="light"], html[data-theme="light"])
   ======================================================== */
:root[data-theme="light"],
html[data-theme="light"] {
    --theme-bg-body: #f6f8fa;
    --theme-bg-content: #ffffff;
    --theme-bg-header: rgba(255, 255, 255, 0.95);
    --theme-bg-aside: #ffffff;
    --theme-bg-panel: #ffffff;
    --theme-bg-panel-footer: #fafbfc;
    --theme-bg-subtle: #f8fafc;
    --theme-bg-input: #ffffff;
    --theme-bg-modal: #ffffff;
    --theme-bg-dropdown: #ffffff;
    --theme-bg-tag: #f1f5f9;
    --theme-bg-table-row: transparent;
    --theme-bg-table-stripe: rgba(15, 23, 42, 0.02);
    --theme-bg-code: rgba(15, 23, 42, 0.06);
    --theme-bg-blockquote: #f8fafc;
    --theme-bg-timemachine: #ffffff;
    --theme-bg-skplayer: #ffffff;
    --theme-bg-search-drop: rgba(255, 255, 255, 0.98);
    --theme-bg-scrollbar-track: transparent;
    --theme-bg-scrollbar-thumb: rgba(148, 163, 184, 0.35);

    --theme-text-color: #334155;
    --theme-text-title: #0f172a;
    --theme-text-muted: #64748b;
    --theme-text-link: #0284c7;
    --theme-text-link-hover: #0369a1;
    --theme-text-code: #db2777;
    --theme-text-icon: #64748b;

    --theme-border-color: #e2e8f0;
    --theme-border-subtle: #f1f5f9;
    --theme-border-input: #cbd5e1;
    --theme-border-focus: #0ea5e9;
    --theme-border-table: #e2e8f0;
    --theme-border-blockquote: #0ea5e9;

    --theme-shadow-panel: 0 1px 3px rgba(15, 23, 42, 0.04), 0 6px 18px rgba(15, 23, 42, 0.03);
    --theme-img-opacity: 1;

    --theme-icon-light-display: inline-flex;
    --theme-icon-dark-display: none;

    color-scheme: light;
}

/* ========================================================
   5. 全局排版平滑化、选区与丝滑滚动条
   ======================================================== */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 现代化精致细滚动条 */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--theme-bg-scrollbar-thumb) transparent;
}
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--theme-bg-scrollbar-thumb);
    border-radius: 99px;
    transition: background 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--theme-text-muted);
}

/* 高雅柔和的文字选中效果 */
::selection {
    background: rgba(14, 165, 233, 0.28) !important;
    color: inherit !important;
}
::-moz-selection {
    background: rgba(14, 165, 233, 0.28) !important;
    color: inherit !important;
}

/* ========================================================
   6. 切换按钮与悬浮控件交互动画
   ======================================================== */
.nav-switch-dark-mode {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    padding: 10px 12px;
}
.icon-light-mode {
    display: var(--theme-icon-light-display) !important;
    align-items: center;
    color: var(--theme-text-icon, #777);
    transition: color 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.icon-dark-mode {
    display: var(--theme-icon-dark-display) !important;
    align-items: center;
    color: #f1b70e;
    transition: color 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-switch-dark-mode:hover .icon-light-mode {
    color: var(--theme-text-title);
    transform: rotate(20deg) scale(1.15);
}
.nav-switch-dark-mode:hover .icon-dark-mode {
    color: #ffd043;
    transform: rotate(-20deg) scale(1.15);
}

/* 右下角小太阳月亮悬浮图标 (#switchlogo) 现代化微动效与发光阴影 */
#switchlogo {
    border-radius: 50% !important;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18)) !important;
}
#switchlogo:hover {
    transform: rotate(30deg) scale(1.12) !important;
    filter: drop-shadow(0 6px 18px rgba(255, 115, 36, 0.45)) !important;
}
#switchlogo:active {
    transform: scale(0.92) !important;
}

/* 兼容原有直接针对 .night 选择器的显隐规则 */
html.night .icon-light-mode,
body.night .icon-light-mode {
    display: none !important;
}
html.night .icon-dark-mode,
body.night .icon-dark-mode {
    display: inline-flex !important;
}

/* ========================================================
   7. 核心组件基于 CSS 变量全面驱动 (自适应与手动切换通用)
   ======================================================== */

/* 页面根级与全局背景 (重置 boxed container 外部两侧边缘底色，清除割裂感与暗夜刺眼渐变) */
html,
html.bg,
body,
body.bg {
    background-color: var(--theme-bg-body) !important;
    background-image: none !important;
    color: var(--theme-text-color) !important;
    transition: background-color 0.25s ease, color 0.25s ease;
}
.cool-transparent .off-screen+* .app-content-body {
    background-image: none !important;
}

/* 头部导航与侧边栏 */
#header,
.app-header,
.navbar-header,
.navbar-collapse {
    background-color: var(--theme-bg-header) !important;
    color: var(--theme-text-color) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--theme-border-color) !important;
}
/* 解决浅色模式下顶部 Logo / 站点标题看不清 (消除 .text-lt #fff 强制覆盖) */
.navbar-brand,
.navbar-brand.text-lt,
.navbar-brand span,
.navbar-brand i {
    color: var(--theme-text-title) !important;
    transition: color 0.2s ease;
}
.navbar-header .btn,
.navbar-header button,
.navbar-header i {
    color: var(--theme-text-title) !important;
}
.dedediy-icon {
    fill: var(--theme-text-icon) !important;
}
#aside,
#left_footer,
.app-aside {
    background-color: var(--theme-bg-aside) !important;
    color: var(--theme-text-color) !important;
    border-right: 1px solid var(--theme-border-color) !important;
}
.bg-white-only {
    background-color: var(--theme-bg-panel) !important;
}

/* 顶部搜索框防刺眼与高质感适配 */
#searchform .input-group,
#search_input {
    background-color: var(--theme-bg-input) !important;
    border-color: var(--theme-border-color) !important;
    color: var(--theme-text-title) !important;
}
#search_input:hover,
#search_input:hover + #search_submit {
    background-color: var(--theme-bg-subtle) !important;
    border-color: var(--theme-border-color) !important;
}
#search_input:focus,
#search_input:focus + #search_submit {
    background-color: var(--theme-bg-input) !important;
    border-color: var(--theme-border-focus) !important;
}
#search_submit button {
    color: var(--theme-text-muted) !important;
}
#search_submit button:hover {
    color: var(--theme-text-title) !important;
}

/* 卡片、面板、独立文章区：升级现代圆角与悬浮微升动效 */
.panel,
.single-post,
.single-post.panel,
.tab-container .tab-content,
.tab-content .wrapper-md.tab-pane,
.wrapper-md.widget,
#post-panel,
.wrapper,
.about.panel,
.about.panel .list-group-item,
.post_tab .nav,
#small_widgets,
header.bg-light,
.bg-light.lter,
.bg-light.lt,
.bg-light.dk,
.bg-light.dker {
    background-color: var(--theme-bg-panel) !important;
    color: var(--theme-text-color) !important;
    border-color: var(--theme-border-color) !important;
}
.panel {
    border-radius: 12px !important;
    box-shadow: var(--theme-shadow-panel) !important;
    border: 1px solid var(--theme-border-color) !important;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.panel-heading {
    background-color: var(--theme-bg-panel) !important;
    border-color: var(--theme-border-color) !important;
    color: var(--theme-text-title) !important;
}
.list-group-item {
    background-color: var(--theme-bg-panel) !important;
    border-color: var(--theme-border-color) !important;
    color: var(--theme-text-color) !important;
}
.list-group-item:hover,
.list-group-item:focus {
    background-color: var(--theme-bg-subtle) !important;
}
.blog-post.panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
}
.night .blog-post.panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

.panel.time-machine {
    background-color: var(--theme-bg-timemachine) !important;
}
.bg-light.panel-footer,
.panel-footer {
    background-color: var(--theme-bg-panel-footer) !important;
    border-top: 1px solid var(--theme-border-color) !important;
    border-radius: 0 0 12px 12px !important;
}
.normal-shadow {
    box-shadow: var(--theme-shadow-panel) !important;
}

/* 弹窗与下拉菜单 */
.modal-content {
    background-color: var(--theme-bg-modal) !important;
    border: 1px solid var(--theme-border-color) !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
}
.modal-header {
    background-color: var(--theme-bg-panel) !important;
    border-bottom: 1px solid var(--theme-border-color) !important;
    border-radius: 14px 14px 0 0 !important;
}
#easyLogin .wrapper,
#easyLogin .dropdown-menu,
.dropdown-menu {
    background-color: var(--theme-bg-dropdown) !important;
    border: 1px solid var(--theme-border-color) !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    padding: 6px !important;
}
.dropdown-menu > li > a,
#easyLogin .dropdown-menu > li > a {
    color: var(--theme-text-color) !important;
    border-radius: 6px !important;
    padding: 7px 14px !important;
    transition: all 0.18s ease;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
    background-color: var(--theme-bg-subtle) !important;
    color: var(--theme-text-link) !important;
}

/* 表单与输入控件：现代圆角与焦点发光边框 */
.form-control,
textarea#comment {
    background-color: var(--theme-bg-input) !important;
    border: 1px solid var(--theme-border-input) !important;
    color: var(--theme-text-title) !important;
    border-radius: 8px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus,
textarea#comment:focus {
    border-color: var(--theme-border-focus) !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18) !important;
    color: var(--theme-text-title) !important;
}

/* 表格优雅样式 */
table tr,
table thead th {
    background-color: var(--theme-bg-table-row) !important;
    border-color: var(--theme-border-table) !important;
}
table tr:nth-child(2n) {
    background-color: var(--theme-bg-table-stripe) !important;
}

/* 文本、标题与排版层级（彻底解决暗黑模式下文章内各级标题看不清的问题） */
.text-black,
.text-title,
.c-message__title,
.entry-title,
#post-content h1,
#post-content h2,
#post-content h3,
#post-content h4,
#post-content h5,
#post-content h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--theme-text-title) !important;
}
#post-content h1,
#post-content h2,
#post-content h3,
#post-content h4,
#post-content h5,
#post-content h6 {
    font-weight: 700;
}
.text-muted,
.tag-list .breadcrumb .button,
.post-meta,
.post-meta span,
.comment-meta {
    color: var(--theme-text-muted) !important;
}

/* 文章内引用块：高质感竖线加柔和底色 */
#post-content blockquote {
    border-left: 4px solid var(--theme-border-blockquote) !important;
    background-color: var(--theme-bg-blockquote) !important;
    border-radius: 0 10px 10px 0 !important;
    padding: 12px 18px !important;
    margin: 16px 0 !important;
    color: var(--theme-text-color) !important;
}

/* 文章与评论内行内代码：清爽高亮，杜绝暗红黑斑 */
#post-content code,
.comment-content code,
code {
    background-color: var(--theme-bg-code) !important;
    color: var(--theme-text-code) !important;
    border-radius: 5px !important;
    padding: 2px 6px !important;
    font-size: 88% !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
    border: 1px solid rgba(125, 125, 125, 0.12) !important;
}

/* 标签与徽章：现代精致药丸胶囊 */
.post-tags a,
.badge,
.tag-list .button {
    display: inline-flex;
    align-items: center;
    border-radius: 6px !important;
    padding: 3px 8px !important;
    font-size: 12px !important;
    background-color: var(--theme-bg-tag) !important;
    color: var(--theme-text-color) !important;
    border: 1px solid var(--theme-border-color) !important;
    transition: all 0.2s ease;
}
.post-tags a:hover,
.tag-list .button:hover {
    background-color: var(--theme-text-link) !important;
    color: #ffffff !important;
    border-color: var(--theme-text-link) !important;
    transform: translateY(-1px);
}

/* 链接色彩与平滑过渡 */
.comment-content-true a,
.wrapper-lg .entry-content a,
alink {
    color: var(--theme-text-link);
    transition: color 0.18s ease;
}
a:hover {
    color: var(--theme-text-link-hover) !important;
}

/* 图片柔和度：保护夜间视力同时保留高质感细节 */
.entry-content img,
.item-thumb img,
.albums .album-thumb img,
.light-link img,
.item-thumb-small {
    opacity: var(--theme-img-opacity) !important;
    transition: opacity 0.25s ease, filter 0.25s ease;
}
.entry-content img:hover,
.item-thumb img:hover,
.albums .album-thumb img:hover,
.light-link img:hover,
.item-thumb-small:hover {
    opacity: 1 !important;
}

/* 分页器胶囊化 */
.page-navigator > li > a,
.page-navigator > li > span,
.pager li > a,
.pager li > span {
    border-radius: 8px !important;
    border: 1px solid var(--theme-border-color) !important;
    background-color: var(--theme-bg-subtle) !important;
    color: var(--theme-text-color) !important;
    padding: 6px 14px !important;
    transition: all 0.2s ease;
}
.page-navigator > li > a:hover,
.pager li > a:hover {
    border-color: var(--theme-text-link) !important;
    color: var(--theme-text-link) !important;
    background-color: var(--theme-bg-panel) !important;
}
.page-navigator > .current > a,
.page-navigator > .current > span {
    background-color: var(--theme-text-link) !important;
    color: #ffffff !important;
    border-color: var(--theme-text-link) !important;
    font-weight: 700;
}

/* 音乐播放器 & 搜索建议下拉 */
#skPlayer.skPlayer-list-on .skPlayer-list {
    background: var(--theme-bg-panel) !important;
    border: 1px solid var(--theme-border-color) !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}
#skPlayer .skPlayer-list li:hover {
    background-color: var(--theme-bg-subtle) !important;
}
#skPlayer .skPlayer-list li.skPlayer-curMusic {
    background-color: rgba(56, 189, 248, 0.15) !important;
    color: var(--theme-text-link) !important;
}
.skPlayer-list-index,
.skPlayer-list-name,
.skPlayer-list-author {
    color: var(--theme-text-color) !important;
}
#search_tips_drop {
    background-color: var(--theme-bg-search-drop) !important;
    border: 1px solid var(--theme-border-color) !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18) !important;
}

/* 目录树 (TOC) 现代化 */
#toc {
    background-color: var(--theme-bg-panel) !important;
    border: 1px solid var(--theme-border-color) !important;
    border-radius: 10px !important;
}
.tocify li {
    border-color: var(--theme-border-color) !important;
}
.tocify a,
.tocify-item a {
    color: var(--theme-text-color) !important;
}
.tocify a:hover,
.tocify-item a:hover {
    color: var(--theme-text-link) !important;
}
.tocify .active,
.tocify .active a {
    background-color: var(--theme-bg-subtle) !important;
    color: var(--theme-text-link) !important;
    font-weight: 600;
    border-left: 3px solid var(--theme-text-link);
}

/* 辅助边框与面板分割 */
.b-l {
    border-left: 1px solid var(--theme-border-color) !important;
}
.b-b {
    border-bottom: 1px solid var(--theme-border-color) !important;
}
.about.panel .list-group-item {
    border-color: var(--theme-border-color) !important;
}
.tag-list .breadcrumb .button.on {
    border-bottom: 2px solid var(--theme-text-link) !important;
    color: var(--theme-text-link) !important;
}
.tags .item .tag,
.soft-list .item .content {
    background-color: var(--theme-bg-panel) !important;
    border: 1px solid var(--theme-border-color) !important;
    border-radius: 10px !important;
}
.tags .item .tag .title,
.soft-list .item .content .title {
    color: var(--theme-text-title) !important;
}
.soft-list .item .content .desc {
    color: var(--theme-text-muted) !important;
}
.albums .album-thumb .img-wrap,
.albums .image-thumb .img-wrap {
    background-color: var(--theme-bg-panel) !important;
    border-radius: 10px !important;
    overflow: hidden;
}
.hideContent {
    background-color: rgba(56, 189, 248, 0.08) !important;
    border-radius: 8px !important;
    border: 1px dashed var(--theme-border-color) !important;
    color: var(--theme-text-color) !important;
}
.click-parent {
    background: linear-gradient(to bottom, rgba(22, 27, 34, 0) 0%, var(--theme-bg-panel) 100%) !important;
}
