
        :root {
            --bg:#fff;
            
            
            --primary-color: #0d6efd; /* 主色调 - 深蓝色，用于强调和交互元素 */
            --secondary-color: #6c757d; /* 次要文本颜色 - 中灰色 */
            --bg-color: #f8f9fa; /* 页面背景 - 极浅灰色 */
            --text-color: #212529; /* 默认文本颜色 - 深灰色 */
            --card-bg: #ffffff; /* 卡片背景 - 白色 */
            --nav-bg: #ffffff; /* 导航栏背景 - 白色 */
            --border-color: #dee2e6; /* 边框颜色 - 浅灰色 */
            --scrollbar-color: #c5c5c5; /* 滚动条颜色 - 浅灰色 */
            --scrollbar-bg: #f1f1f1; /* 滚动条背景 - 极浅灰色 */
            --card-title-color: #212529; /* 卡片标题颜色 */
            --nav-brand-color: #212529; /* 导航栏品牌颜色 */
            --card-description: #6b7280; /* 卡片描述文本 - 浅灰色 */
            --tabs-bg: #f3f4f6; /* 标签页背景 - 浅灰色 */
            --top-toolbar-shadow: #fff; /* 顶部工具栏阴影色 - 白色 */
            --category-content: #fff; /* 分类内容背景 - 白色 */

            --border-radius: 0.375rem;
            --box-shadow: 0 1px 2px rgba(0,0,0,0.08);

            --input-bg: #fff; /* 输入框背景 - 白色 */
            --search-type-btn: #fff; /* 搜索类型按钮背景 - 白色 */
            --search-type-btn-font: #64748B; /* 搜索类型按钮文本 - 中灰色 */
            
        /* 搜索 */
            --primary-color: #0d6efd;
            --border-radius: 0.375rem;
            --box-shadow: 0 1px 2px rgba(0,0,0,0.08);
            --transition-duration: 0.2s;
        }


            
        [data-theme="dark"] {
            --bg:#1e293b;
            
            --bg-color: #121826; /* 暗黑模式背景 - 更深的蓝色，提高对比度 */
            --text-color: #f5f5f5; /* 暗黑模式文本 - 近白色，提高可读性 */
            --card-bg: #1e293b; /* 暗黑模式卡片背景 - 深灰色 */
            --nav-bg: #1e293b; /* 暗黑模式导航背景 - 深灰色 */
            --border-color: #2d3748; /* 暗黑模式边框 - 更深的灰色 */
            --scrollbar-color: #4a5568; /* 暗黑模式滚动条 - 深灰色 */
            --scrollbar-bg: #1a202c; /* 暗黑模式滚动条背景 - 极深灰色 */
            --card-title-color: #ffffff; /* 暗黑模式卡片标题 - 纯白色 */
            --nav-brand-color: #ffffff; /* 暗黑模式导航品牌 - 纯白色 */
            --card-description: #cbd5e0; /* 暗黑模式卡片描述 - 浅灰色，提高可读性 */
            --tabs-bg: #2d3748; /* 暗黑模式标签页背景 - 深灰色 */
            --top-toolbar-shadow: #1a202c; /* 暗黑模式顶部工具栏阴影 - 深灰色 */
            --category-content: #1e293b; /* 暗黑模式分类内容背景 - 深灰色 */

            --bs-secondary-color: #363e4a;
            --input-bg: #2d3748; /* 暗黑模式输入框背景 - 深灰色 */
            --search-type-btn: #2d3748; /* 暗黑模式搜索类型按钮背景 - 深灰色 */
            --search-type-btn-font: #e2e8f0; /* 暗黑模式搜索类型按钮文本 - 浅灰色 */
        }

        .old-driver .wcard {
            border: 0 !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            background-color: transparent !important;
            display: flex;

        }


        .old-driver .wcard-description {
            display: none; /* 老司机模式隐藏描述 */
        }
        .wcard-body{padding:1rem;border-radius:var(--border-radius)}
.old-driver .wcard-body{display: flex;align-items: center}
        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            transition: background-color 0.3s, color 0.3s;
            overflow-x: hidden;
        }

        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            height: 100vh;
            width: 240px;
            background-color: var(--nav-bg);
            border-right: 1px solid var(--border-color);
            overflow-y: auto;
            z-index: 100;
            transition: background-color 0.3s, transform 0.3s ease;
            transform: translateX(0);
        }

        .sidebar.hidden {
            transform: translateX(-100%);
        }

        .content {
            margin-left: 240px;
            padding: 20px;
            position: relative;
            transition: margin-left 0.3s ease;
        }

        .content.full-width {
            margin-left: 0;
        }
.category-section{margin-bottom: 3rem;}
        .category-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: .8rem;
        }

        .category-tabs {
            position: relative;
            display: flex;
            background-color:var(--tabs-bg);
            font-size:14px;
            font-weight: bold;
            border-radius: 6px;
        }

        .category-tabs .nav-link {
            color: #64748B;
            position: relative;
            padding: 0.4rem 0.9rem;
            transition: color 0.3s ease;
            cursor: pointer;
            white-space: nowrap;
            /* 添加以下样式来修复选项卡按钮显示问题 */
            border: 1px solid transparent;
            border-radius: 0.25rem 0.25rem 0 0;
        }

        .category-tabs .nav-link:hover,
        .category-tabs .nav-link.active {
            color: var(--primary-color);
        }

        .category-tabs .slider {
            position: absolute;
            bottom: -1px;
            left: 0;
            height: 2px;
            background-color: var(--primary-color);
            transition: all 0.3s ease;
            width: 0;
            transform: translateX(0);
        }
        .old-driver .category-content{
        border: 0;background-color:var(--category-content);
            transition: background-color 0.3s, border-color 0.3s, transform 0.2s, box-shadow 0.2s;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        border-radius:6px}
        .wcard {
            background-color: var(--bg);
            transition: background-color 0.3s, border-color 0.3s, transform 0.2s, box-shadow 0.2s;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            position: relative;
            overflow: hidden;
            cursor: pointer;
            margin-bottom:1rem;
            border-radius:var(--border-radius);

        }

        .wcard:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.1);
        }
        .old-driver .wcard{margin-bottom:0}
.old-driver .wcard:hover{transform: translateY(0);}
        .wcard-title {
            color: var(--card-title-color); /* 应用卡片标题颜色 */
            margin-bottom: .5rem;
            font-size:16px;
        }
        .wcard:hover .wcard-title{color:var(--primary-color)}
.old-driver .wcard-title{margin-bottom: 0rem!important;}
        .wcard-description {
            /* 假设 --text-color 是一个 hex 颜色值（如 #333） */
            color: var(--card-description); /* 70% 不透明度 */
            font-size: 0.9rem;
            margin-bottom: 0;
            line-height: 1.4;
            opacity: 0.8;
        }

        .card-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .site-link {
            display: block;
            color: var(--text-color);
            text-decoration: none;
            position: relative;
            overflow: hidden;
        }
        /* 确保卡片整个区域可点击 */
        .site-link {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 10; /* 确保链接区域在中间层，不覆盖右上角的链接按钮 */
        }
        .theme-toggle, .mode-toggle {
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 0.25rem;
            transition: background-color 0.2s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
        }

        .theme-toggle:hover, .mode-toggle:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }

        .theme-toggle.active, .mode-toggle.active {
            background-color: rgba(13, 110, 253, 0.1);
            color: var(--primary-color);
        }

        .navbar {
            background-color: var(--nav-bg);
            border-bottom: 1px solid var(--border-color);
            transition: background-color 0.3s;
            padding: 0.5rem 1rem;
        }

        .navbar-brand {
            color: var(--nav-brand-color) !important; /* 应用导航栏品牌颜色，并添加!important确保优先级 */
        }

        .sidebar-item {
            padding: 0.75rem 1rem;
            display: block;
            color: var(--text-color);
            text-decoration: none;
            transition: background-color 0.2s;
            position: relative;
            overflow: hidden;
            border-radius: 6px;
        }

        .sidebar-item:hover {
            background-color: rgba(13, 110, 253, 0.1);
            color: var(--primary-color);
        }

        /* 自定义滚动条 */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--scrollbar-bg);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--scrollbar-color);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-color);
        }

        /* 移动端适配 */
        @media (max-width: 991px) {
            .sidebar {
                transform: translateX(-100%);
                width: 240px;
                z-index: 1000;
            }

            .sidebar.active {
                transform: translateX(0);
            }

            .content {
                margin-left: 0;
            }

            .category-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .category-tabs {
                margin-top: 1rem;
                width: 100%;
                overflow-x: auto;
                white-space: nowrap;
                background-color: #333;
            }

            .sidebar-toggle {
                display: flex !important;
            }

            /* 移动端下顶部工具栏 */
            .top-toolbar {
                display: flex;
                padding: 0.5rem 1rem;
                flex-wrap: nowrap;
                justify-content: space-between;
                left: 0 !important; /* 确保在移动端下工具栏宽度为100% */

            }

            .mobile-title {
                display: block !important;
                font-size: 1.25rem;
                font-weight: bold;
                margin: 0 auto;
                text-align: center;
            }

            .auth-buttons {
                margin-left: auto !important; /* 将登录注册按钮推到最右侧 */
            }

            .theme-mode-buttons {
                margin-right: 0.5rem;
            }
        }

        /* 侧边栏顶部样式 */
        .sidebar-header {
            padding: 1.5rem 1rem;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .sidebar-title {
            font-size: 1.25rem;
            font-weight: bold;
            color: var(--text-color);
        }

        /* 顶部工具栏 */
        .top-toolbar {
            position: fixed;
            top: 0;
            right: 0;
            left: 240px;
            padding: 0.75rem 1rem;
            z-index: 40;
            transition: left 0.3s ease, background-color 0.3s;
            display: flex;
            align-items: center;
        }
        .top-toolbar-shadow{background-color:var(--top-toolbar-shadow);box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);}
        .content.full-width .top-toolbar {
            left: 0;
        }

        .mobile-title {
            display: none;
        }

        .theme-mode-buttons {
            display: flex;
            gap: 0.5rem;
        }

        /* 登录注册按钮样式 */
        .auth-buttons {
            display: flex;
            gap: 0.5rem;
            margin-left: auto; /* 将登录注册按钮推到最右侧 */
        }

        .auth-button {
            padding: 0.4rem 1rem;
            border-radius: 0.25rem;
            text-decoration: none;
            transition: background-color 0.2s;
            font-size: 0.9rem;
        }

        .login-button {
            color: var(--text-color);
            border: 1px solid var(--border-color);
        }

        .login-button:hover {
            background-color: rgba(13, 110, 253, 0.1);
            color: var(--primary-color);
        }

        .register-button {
            background-color: var(--primary-color);
            color: white;
        }

        .register-button:hover {
            background-color: #0b5ed7;
            color: white;
        }

        /* 侧边栏切换按钮 */
        .sidebar-toggle {
            position: fixed;
            top: 0.75rem;
            left: 1rem;
            z-index: 150;
            cursor: pointer;
            display: none;
            background-color: var(--nav-bg);
            padding: 0.5rem;
            border-radius: 0.25rem;
            border: 1px solid var(--border-color);
            transition: background-color 0.3s;
        }

        /* 内容区域调整 */
        .content {
            padding-top: 100px; /* 为顶部工具栏留出空间 */
        }

        /* 卡片右上角的链接按钮 */
        .wcard-link {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            color: var(--text-color);
            width: 24px;
            height: 24px;
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 1.2rem;
            opacity: 0.2;
            transition: opacity 0.2s, background-color 0.2s;
            z-index: 20; /* 确保链接按钮在最上层 */
            display: none;
        }
        .wcard:hover .wcard-link{display: flex}

        .wcard-link:hover {
            opacity:1;
            color: var(--primary-color);
        }
.old-driver .wcard-link{position: static;margin-left: .5rem;height: auto}


        /* 主题切换图标样式 */
        .theme-toggle .fa-sun {
            display: var(--fa-display, inline-block);
        }

        .theme-toggle .fa-moon {
            display: none;
        }

        [data-theme="dark"] .theme-toggle .fa-sun {
            display: none;
        }

        [data-theme="dark"] .theme-toggle .fa-moon {
            display: var(--fa-display, inline-block);
        }

        /* 模式切换图标样式 */
        .mode-toggle .fa-eye {
            display: var(--fa-display, inline-block);
        }

        .mode-toggle .fa-eye-slash {
            display: none;
        }

        .old-driver .mode-toggle .fa-eye {
            display: none;
        }

        .old-driver .mode-toggle .fa-eye-slash {
            display: var(--fa-display, inline-block);
        }
/* 搜索 */


        .search-input:focus,
        .search-button:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.3);
            position: relative;
            z-index: 1;
        }

        .search-container {
            max-width: 700px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }

        /* 搜索类型切换按钮 */
        .search-types {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.5rem;
            margin-bottom: 10px;
            font-size:0.875rem
        }

        .search-type-btn {
            flex: 1;
            min-width: 100px;
            max-width: 150px;
            padding: 0.5rem 0.75rem;
            border: none;
            border-radius: var(--border-radius);
            background-color: var(--search-type-btn);
            color: var(--search-type-btn-font);
            font-weight: 600;
            cursor: pointer;
            transition: all var(--transition-duration);
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: var(--box-shadow);
        }

        .search-type-btn:hover {
            background-color: #f5f5f5;
        }

        .search-type-btn.active {
            background-color: var(--primary-color);
            color: white;
        }

        .search-type-btn i {
            margin-right: 0.4rem;
        }

        /* 搜索框 */
        .search-box {
            margin-bottom: 10px;
        }

        .search-input-group {
            display: flex;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--box-shadow);
        }

        .search-input {
            flex: 1;
            padding: 0.75rem 1rem;
            border: none;
            font-size: 1rem;
            color: #495057;
            background-color: var(--input-bg);
        }

        .search-button {
            padding: 0.75rem 1.5rem;
            background-color: var(--primary-color);
            color: white;
            border: none;
            cursor: pointer;
            font-size: 1rem;
            transition: background-color var(--transition-duration);
        }

        .search-button:hover {
            background-color: #0a58ca;
        }

        /* 节点列表 */
        .node-list {
            display: none;
            justify-content: center;
            align-items: center;
            flex-wrap: nowrap;
            overflow-x: auto;
            gap: 0.5rem;
            padding-bottom: 0.5rem;
            text-align: center;
            -webkit-overflow-scrolling: touch;
            font-size: 0.75rem;
        }

        .node-list.active {
            display: flex;
        }

        .node-item {
            flex: 0 0 auto;
            min-width: 120px;
            padding: 0.6rem 0.8rem;
            border-radius: var(--border-radius);
            background-color: white;
            text-decoration: none;
            color: #212529;
            display: inline-flex;
            align-items: center;
            box-shadow: var(--box-shadow);
        }

        .node-item:hover {
            background-color: #f5f5f5;
            transform: translateY(-0.5px);
            box-shadow: 0 1px 3px rgba(0,0,0,0.12);
        }

        .node-item.active {
            background-color: #c3c3c3;
        }
        
/* 内容 */

    
    /* 统一栏目和标签的基础样式 */
    .tag, .category {
      display: inline-block;
      padding: 0.3em 0.75em;
      margin: 0.15em;
      border-radius: 1em;
      font-size: 0.85em;
      text-decoration: none;
      transition: all 0.2s ease;
      border: none;
      line-height: 1.5;
    }
    
    .tag:hover, .category:hover {
      transform: translateY(-1px);
      box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    }
    
    .btn-copy {
      padding: 0.2em 0.5em;
      font-size: 0.8em;
      transition: all 0.2s ease;
    }
    
    .btn-copy:hover {
      transform: scale(1.05);
    }
    
    .website-link {
      word-break: break-all;
    }
    
    .action-buttons {
      position: absolute;
      top: 1rem;
      right: 1rem;
    }
    
    /* 网址容器样式 */
    .link-container {
      background-color: var(--bg-color);
      border-radius: 0.5rem;
      padding: 1rem;
      margin-bottom: 1rem;
      box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      position: relative;
      transition: all 0.2s ease;
      border-left: 3px solid transparent; /* 添加透明左边框 */
    }
    
    /* 鼠标悬停时整个容器左侧显示蓝色竖条 */
    .link-container:hover {
      transform: translateY(-1px);
      border-left-color: #3b82f6; /* 悬停时显示蓝色边框 */
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    
    /* 网址项样式 */
    .link-item {
      padding: 0.5rem 0.75rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
      transition: all 0.2s ease;
      border-radius: 0.25rem;
    }
    
    .link-item:hover {
      background-color: #e0f2fe;
    }
    
    /* 移除网址项左侧的竖线指示器 */
    .url-indicator {
      display: none;
    }
    
    /* 分割线 - 移除虚线分割线样式 */
    .section-divider {
      display: none;
    }
    
    /* 卡片和按钮效果 */
    .card {
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
      transition: box-shadow 0.2s ease;
      border: none;
    }
    
    .card:hover {
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    
    @media (max-width: 576px) {
      .action-buttons {
        position: static;
        margin-top: 1rem;
        display: flex;
        justify-content: flex-end;
      }
      
      .breadcrumb {
        font-size: 0.85rem;
      }
    }
    
    /* 通知样式 */
    .notification {
      position: fixed;
      top: 2rem;
      left: 50%;
      transform: translateX(-50%);
      padding: 0.75rem 1.5rem;
      border-radius: 0.5rem;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      z-index: 50;
      opacity: 0;
      transition: opacity 0.3s ease;
      pointer-events: none;
      font-size: 0.9rem;
    }
    
    .notification.show {
      opacity: 1;
    }
    
    .notification.success {
      background-color: #22c55e;
      color: white;
    }
    
    .notification.error {
      background-color: #ef4444;
      color: white;
    }
    
    /* 统一的颜色系统 */
    .tag-primary, .category-primary {
      background-color: #e0f2fe;
      color: #0369a1;
    }
    
    .tag-secondary, .category-secondary {
      background-color: #f3f4f6;
      color: #4b5563;
    }
    
    .tag-success, .category-success {
      background-color: #dcfce7;
      color: #166534;
    }
    
    .tag-danger, .category-danger {
      background-color: #fee2e2;
      color: #991b1b;
    }
    
    .tag-warning, .category-warning {
      background-color: #fff3e0;
      color: #e65100;
    }
    
    .tag-info, .category-info {
      background-color: #e0f7fa;
      color: #006064;
    }
    
    .tag-light, .category-light {
      background-color: #f9fafb;
      color: #1f2937;
    }
    
    .tag-dark, .category-dark {
      background-color: #1f2937;
      color: #f9fafb;
    }
    
    /* 分类颜色 - 统一使用tag的颜色系统 */
    .category.tools {
      background-color: #e0f2fe;
      color: #0369a1;
    }
    
    .category.development {
      background-color: #e0f2fe;
      color: #0369a1;
    }
    
    /* 淡化按钮样式 */
    .btn-faded {
      background-color: rgba(226, 232, 240, 0.5);
      border-color: rgba(160, 174, 192, 0.3);
      color: #64748b;
      border-radius: 1em;
      transition: all 0.2s ease;
    }
    
    .btn-faded:hover {
      background-color: rgba(203, 213, 225, 0.7);
      border-color: rgba(148, 163, 184, 0.5);
      color: #475569;
      transform: translateY(-1px);
    }
    
    .btn-faded i {
      opacity: 0.7;
    }
    
    .btn-faded:hover i {
      opacity: 1;
    }
    
    /* 统一按钮尺寸 */
    .btn-sm {
      padding: 0.25em 0.6em;
      font-size: 0.85em;
    }
    
    /* 网址标题样式 */
    .link-title {
      font-size: 0.95em;
      font-weight: 500;
      margin-bottom: 0.75rem;
      color: #333;
      display: flex;
      align-items: center;
    }
    
    .link-title i {
      display: none;
    }
    
    /* 评分和阅读量样式 */
    .stats-container {
      display: flex;
      align-items: center;
      margin-top: 0.5rem;
      margin-bottom: 1rem;
      color: #64748b;
      font-size: 0.9em;
    }
    
    .stats-item {
      display: flex;
      align-items: center;
      margin-right: 1.5rem;
    }
    
    .stats-item i {
      margin-right: 0.3rem;
      color: #3b82f6;
    }
    
    /* 标签和栏目的容器 */
    .tags-categories-container {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
    }
    
    /* 面包屑导航样式 */
    .breadcrumb {
      background-color: transparent;
      padding: 0;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
      content: "›";
      color: #64748b;
    }
    
    /* 页面标题样式 */
    .page-title {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: #1f2937;
    }
    [data-theme="dark"] .page-title{color:#fff}
    /* 元描述样式 */
    .meta-description {
      color: #64748b;
      margin-bottom: 1.5rem;
    }
    
    /* 卡片标题样式 */
    .card-title {
      font-size: 1.25rem;
      font-weight: 500;
    }
    
    /* 响应式图片 */
    img {
      max-width: 100%;
      height: auto;
    }