        /* 基础重置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        a {
            text-decoration: none;
        }  
        body {
            font-family: "Microsoft YaHei", sans-serif;
            padding-top: 60px;
            color: #333;
            line-height: 1.6;
        }
        
        /* 顶部导航容器 */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: white;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            z-index: 50;
        }
        
        .container {
            max-width: 1170px;
            height: 100%;
            margin: 0 auto;
            padding: 0 15px;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
        }
        
        /* Logo样式 */
        .logo {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
                -ms-flex-direction: column;
                    flex-direction: column;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
        }
        
        .logo-main {
            color: #007bff;
            font-weight: bold;
        }
        
        .logo-sub {
            color: #ff7f00;
            font-size: 12px;
        }
        
        /* 导航链接 */
        .nav {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
        }
        
        .nav a {
            color: #333;
            padding: 5px 0;
            transition: color 0.3s;
            /* IE菜单间距修复 */
            margin: 0 12px;
        }
        
        .nav a.active {
            color: #007bff;
        }
        
        /* 搜索框 */
        .search {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
        }
        
        .search input {
            padding: 6px 12px;
            border: 1px solid #ddd;
            outline: none;
        }
        
        .search button {
            padding: 6px 12px;
            background: #007bff;
            color: white;
            border: none;
            cursor: pointer;
        }
        
        /* 移动端按钮 */
        .mobile-btn {
            background: none;
            border: none;
            cursor: pointer;
            width: 44px;
            height: 44px;
            position: relative;
            padding: 10px;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            -webkit-box-pack: center;
                -ms-flex-pack: center;
                    justify-content: center;
        }
        
        /* 三横线菜单按钮 */
        .menu-btn::before,
        .menu-btn::after,
        .menu-btn span {
            content: '';
            position: absolute;
            width: 24px;
            height: 2px;
            background: #444;
            border-radius: 1px;
            transition: all 0.2s ease;
        }
        
        .menu-btn::before { transform: translateY(-8px); }
        .menu-btn::after { transform: translateY(8px); }
        .menu-btn.active::before { transform: translateY(0) rotate(45deg); }
        .menu-btn.active::after { transform: translateY(0) rotate(-45deg); }
        .menu-btn.active span { opacity: 0; }
        .menu-btn:hover::before,
        .menu-btn:hover::after,
        .menu-btn:hover span { background: #007bff; }
        
        /* 搜索按钮样式 */
        .search-btn::before {
            content: '';
            position: absolute;
            width: 16px;
            height: 16px;
            border: 2px solid #444;
            border-radius: 50%;
            transition: all 0.2s ease;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        
        .search-btn::after {
            content: '';
            position: absolute;
            width: 8px;
            height: 2px;
            background: #444;
            border-radius: 1px;
            transition: all 0.2s ease;
            top: 50%;
            left: 50%;
            transform: translate(3px, 3px) rotate(45deg);
        }
        
        .search-btn:hover::before {
            border-color: #007bff;
            transform: translate(-50%, -50%) scale(1.1);
        }
        
        .search-btn:hover::after {
            background-color: #007bff;
            width: 9px;
        }
        
        /* 移动端面板 */
        .panel {
            position: fixed;
            background: white;
            z-index: 100;
            box-shadow: 2px 0 15px rgba(0,0,0,0.15);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .panel-header {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: justify;
                -ms-flex-pack: justify;
                    justify-content: space-between;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            padding: 15px 20px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .panel-title {
            font-size: 18px;
            font-weight: 600;
            color: #333;
        }
        
        /* 关闭按钮 */
        .close-btn {
            background: none;
            border: none;
            cursor: pointer;
            width: 36px;
            height: 36px;
            position: relative;
        }
        
        .close-btn::before,
        .close-btn::after {
            content: '';
            position: absolute;
            left: 50%;
            top: 50%;
            width: 18px;
            height: 2px;
            background: #666;
        }
        
        .close-btn::before { transform: translate(-50%, -50%) rotate(45deg); }
        .close-btn::after { transform: translate(-50%, -50%) rotate(-45deg); }
        
        .panel-content { padding: 15px 20px; }
        
        /* 遮罩层 */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 90;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
        }
        
        .overlay.show {
            opacity: 1;
            visibility: visible;
        }
        
        /* 横幅区域 */
        .banner {
            background: #007bff;
            color: white;
            padding: 40px 20px;
            text-align: center;
            margin-bottom: 30px;
        }
        
        .banner h1 {
            font-size: 28px;
            margin-bottom: 10px;
        }
        
        .banner p {
            font-size: 16px;
            max-width: 700px;
            margin: 0 auto;
            opacity: 0.9;
        }
        
        /* 主内容区和侧边栏容器（关键：为粘性侧边栏设置父容器） */
        .main-wrapper {
            max-width: 1170px;
            margin: 0 auto;
            padding: 0 15px;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            margin-bottom: 5px;
        }
        
        /* 主内容区 */
        .main-content {
            -webkit-box-flex: 1;
                -ms-flex: 1;
                    flex: 1;
        }
        
        .section-title {
            font-size: 22px;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #007bff;
            color: #333;
        }
        
        /* 内容项样式 */
        .content-list {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
                -ms-flex-direction: column;
                    flex-direction: column;
            gap: 20px;
            margin-bottom: 40px;
        }
        
        .content-item {
            padding: 20px;
            border: 1px solid #f0f0f0;
            border-radius: 6px;
            transition: box-shadow 0.3s ease;
        }
        
        .content-item:hover {
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
        }
        
        .item-header {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            margin-bottom: 10px;
        }
        
        .item-number {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            -webkit-box-pack: center;
                -ms-flex-pack: center;
                    justify-content: center;
            width: 30px;
            height: 30px;
            color: white;
            border-radius: 50%;
            margin-right: 10px;
            font-weight: bold;
            -ms-flex-negative: 0;
                flex-shrink: 0;
        }
        
        /* 不同序列号的颜色 */
        .num-1 { background: #007bff; }
        .num-2 { background: #28a745; }
        .num-3 { background: #ffc107; }
        .num-4 { background: #dc3545; }
        .num-5 { background: #17a2b8; }
        .num-6 { background: #6610f2; }
        .num-7 { background: #fd7e14; }
        .num-8 { background: #20c997; }
        .num-9 { background: #e83e8c; }
        .num-10 { background: #343a40; }
        .num-11 { background: #6c757d; }
        .num-12 { background: #adb5bd; }
        .num-13 { background: #16a085; }
        .num-14 { background: #2980b9; }
        .num-15 { background: #8e44ad; }
        .num-16 { background: #f39c12; }
        .num-17 { background: #d35400; }
        .num-18 { background: #c0392b; }
        .num-19 { background: #7f8c8d; }
        .num-20 { background: #2c3e50; }
        
        .item-title {
            font-size: 18px;
            color: #333;
            -webkit-box-flex: 1;
                -ms-flex: 1;
                    flex: 1;
        }
        
        .item-title:hover {
            color: #007bff;
        }
        
        .item-desc {
            color: #666;
            font-size: 14px;
            margin-bottom: 15px;
            line-height: 1.7;
        }
        
        .item-meta {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: justify;
                -ms-flex-pack: justify;
                    justify-content: space-between;
            font-size: 13px;
            color: #999;
        }
        
        /* 网格内容列表（更多推荐区：桌面2列，移动端1列） */
        .grid-content {
            margin-bottom:5px;
        }
        
        .grid-list {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-wrap: wrap;
                flex-wrap: wrap;
            margin: 0 -10px;
        }
        
        .grid-item {
            width: 50%;
            padding: 0 10px 20px;
        }
        
        .grid-inner {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            padding: 10px 15px;
            border: 1px solid #f0f0f0;
            border-radius: 4px;
            white-space: nowrap;
            overflow: hidden;
            transition: all 0.2s ease;
        }
        
        .grid-inner:hover {
            background-color: #f8f9fa;
            border-color: #e9ecef;
        }
        
        .grid-number {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            -webkit-box-pack: center;
                -ms-flex-pack: center;
                    justify-content: center;
            width: 24px;
            height: 24px;
            color: white;
            border-radius: 50%;
            margin-right: 10px;
            font-size: 12px;
            font-weight: bold;
            -ms-flex-negative: 0;
                flex-shrink: 0;
        }
        
        .grid-title {
            color: #333;
            -webkit-box-flex: 1;
                -ms-flex: 1;
                    flex: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-right: 10px;
        }
        
        .grid-title:hover {
            color: #007bff;
        }
        
        .grid-popularity {
            color: #999;
            font-size: 12px;
            -ms-flex-negative: 0;
                flex-shrink: 0;
        }
        
        /* 2. 侧边栏样式（适配Theia Sticky Sidebar插件：需有明确宽度和父容器） */
        .sidebar {
            width: 300px;
            -ms-flex-negative: 0;
                flex-shrink: 0;
            /* 插件要求：侧边栏需有定位基础 */
            position: relative;
        }
        
        /* 侧边栏内容包裹层（插件会自动处理，也可提前定义） */
        .theiaStickySidebar {
            padding: 0;
            margin: 0;
        }
        
        .sidebar-card {
            background: white;
            border-radius: 6px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            overflow: hidden;
            margin-bottom: 20px;
        }
        
        .sidebar-title {
            background: #f8f9fa;
            padding: 15px 20px;
            font-size: 16px;
            font-weight: 600;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .sidebar-content {
            padding: 10px;
        }
        
        /* 热门推荐样式 */
        .hot-list {
            list-style: none;
        }
        
        .hot-item {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            padding: 10px 0;
            border-bottom: 1px dashed #f0f0f0;
            white-space: nowrap;
        }
        
        .hot-item:last-child {
            border-bottom: none;
        }
        
        .hot-item a {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            color: #333;
            -webkit-box-flex: 1;
                -ms-flex: 1;
                    flex: 1;
            overflow: hidden;
        }
        
        .hot-item a:hover {
            color: #007bff;
        }
        
        .hot-number {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            -webkit-box-pack: center;
                -ms-flex-pack: center;
                    justify-content: center;
            width: 24px;
            height: 24px;
            color: white;
            border-radius: 50%;
            margin-right: 10px;
            font-size: 12px;
            font-weight: bold;
            -ms-flex-negative: 0;
                flex-shrink: 0;
        }
        
        .hot-text {
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .hot-count {
            color: #999;
            font-size: 13px;
            white-space: nowrap;
            margin-left: 10px;
            -ms-flex-negative: 0;
                flex-shrink: 0;
        }
        
        /* 友情链接 */
        .friend-links {
            max-width: 1170px;           border: 1px solid #f0f0f0;
            margin: 0 auto 30px;
            padding: 0 15px;border-radius: 8px; 

        }
        .friend-links h3{font-size:18px;padding-left:15px;border-left:4px solid #3690cf;font-weight:400; 
    margin-bottom: 10px;
    padding-bottom: 10px;padding-top: 8px;
    color: #333;border-bottom: 1px solid rgba(221, 221, 221, .8);}

        .links-container {
            padding: 10px;
        }
        .links-container a {
            color: #666;
            padding-left: 5px ;
        }
        
        .links-container a:hover {
            color: #007bff;
        }
        
        /* 底部区域 */
        .footer {
            background: #f8f9fa;
            padding: 10px 0 10px;
            border-top: 1px solid #e9ecef;
        }
        
        .footer-container {
            max-width: 1170px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        .footer-info {
            text-align: center;
            color: #666;
            font-size: 13px;
        }
        
        .footer-info div {
            margin-bottom: 10px;
        }
        .footer-info a {
            color: #007bff;    
        }

        
        /* 桌面端样式 */
        @media (min-width: 769px) {
            .container { 
                -webkit-box-pack: center;
                    -ms-flex-pack: center;
                        justify-content: center;
                gap: 40px;
            }
            .sidebar {
            margin-left: 10px;
            } 
            .logo {
                margin-right: 30px;
            }
            
            .search {
                margin-left: 30px;
            }
            
            .logo .logo-main { font-size: 20px; }
            .nav a {
                font-size: 16px;
                position: relative;
            }
            .nav a.active::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 2px;
                background: #007bff;
            }
            .search input {
                border-radius: 4px 0 0 4px;
                width: 200px;
            }
            .search button { border-radius: 0 4px 4px 0; }
            .mobile-controls, .panel, .mobile-btn { display: none; }
        }
        
        /* 移动端样式（侧边栏取消粘性，恢复默认布局） */
        @media (max-width: 768px) {
            .container { -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; }
            .logo .logo-main { font-size: 18px; }
            .mobile-controls {
                position: absolute;
                left: 15px;
                right: 15px;
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                -webkit-box-pack: justify;
                    -ms-flex-pack: justify;
                        justify-content: space-between;
            }
            
            /* 菜单面板 */
            .menu-panel {
                top: 0;
                left: 0;
                width: 70%;
                height: 100%;
                transform: translateX(-100%);
            }
            .menu-panel.show { transform: translateX(0); }
            .menu-panel .nav {
                -webkit-box-orient: vertical;
                -webkit-box-direction: normal;
                    -ms-flex-direction: column;
                        flex-direction: column;
                gap: 5px;
            }
            .menu-panel .nav a {
                display: block;
                padding: 12px 15px;
                border-radius: 6px;
                font-size: 15px;
                margin: 0;
            }
            .menu-panel .nav a.active { background: #e6f0ff; }
            
            /* 搜索面板 */
            .search-panel {
                top: 60px;
                left: 0;
                right: 0;
                transform: translateY(-100%);
                max-height: 0;
                overflow: hidden;
            }
            .search-panel.show {
                transform: translateY(0);
                max-height: 120px;
            }
            .search-panel .search { width: 100%; }
            .search-panel .search input {
                -webkit-box-flex: 1;
                    -ms-flex: 1;
                        flex: 1;
                padding: 11px 15px;
                border-radius: 4px 0 0 4px;
                font-size: 15px;
            }
            .search-panel .search button {
                border-radius: 0 4px 4px 0;
                padding: 11px 15px;
            }
            
            /* 隐藏桌面端元素 */
            .nav:not(.panel .nav),
            .search:not(.panel .search) { display: none; }
            
            /* 移动端布局：主内容区和侧边栏垂直排列 */
            .main-wrapper {
                -webkit-box-orient: vertical;
                -webkit-box-direction: normal;
                    -ms-flex-direction: column;
                        flex-direction: column;
                gap: 20px;
            }
            
            .sidebar {
                width: 100%;
            }
            
            .banner h1 {
                font-size: 24px;
            }
            
            .content-item {
                padding: 15px;
            }
            
            /* 网格列表移动端1列 */
            .grid-item {
                width: 100%;
            }
            
            .grid-title {
                font-size: 14px;
            }
        }
		/* 分页控件样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    gap: 10px;
}

.pagination-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    color: #333;
    transition: all 0.2s;
}

.pagination-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.pagination-btn.disabled {
    border-color: #2c7be5;
    background: #2c7be5;
    color: white;
}

/* 基础样式 */
.current-position {
    font-size: 14px;
    color: #666;
    padding: 0 15px;
    max-width: 1170px;
    margin: 15px auto 15px;
}
.current-position a {
    color: #007bff;
}
/* 移动端适配 */
@media (max-width: 768px) {
    .current-position {
        font-size: 13px;
        margin-bottom: 12px;
    }
}
        .article-title {
            font-size: 18px;
            color: #333;
            margin-bottom: 20px;
        }
        
        .article-meta {
            font-size: 13px;
            color: #999;
            margin-bottom: 25px;
            display: flex;
            gap: 20px; padding-bottom: 15px;   border-bottom: 1px solid #eee;
        }
@media (min-width: 769px) {
.article-title {text-align: center;}
.article-meta{justify-content: center; /* 配合flex让内部元素也水平居中 */}
}

/* 样式 */
.article-content p {
    font-size: 16px;
    margin: 0 0 10px;
    color: #333;
}
.article-content ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}
.article-content h2 {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

/* 2. 标题层级样式 */
.article-content h3 {
    font-size: 17px;
    color: #2c3e50;
    margin: 5px 0 5px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2c7be5;
}

.article-content h4 {
    font-size: 17px;
    color: #2c3e50;
    margin: 15px 0 12px;
    padding-left: 10px;
    border-left: 3px solid #2c7be5;
}

.article-content :is(dir, menu, ol, ul) ul {
    list-style-type: circle;
}
.article-content :is(dir, dl, menu, ol, ul) ul {
    margin-block-start: 0px;
    margin-block-end: 0px;
}

/* 3. 列表样式 */
.article-content ul,
.article-content ol {
    margin: 0 0 10px 5px;
}

.article-content ul li {
    margin: 0 0 10px 15px;
    font-size: 15px;
}

.article-content ul ul li {
    margin-left: 30px;
    font-size: 14px;
}

.article-content ol li {
    margin: 0 0 10px 15px;
    font-size: 15px;
}

/* 4. 加粗文本样式 */
.article-content b {
    color: #2c7be5;
    font-weight: 600;
}

.article-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
  padding: 0 16px;
}

/* 上一篇/下一篇 项容器 */
.prev-item, .next-item {
  display: flex;
  align-items: center;
}

/* 上一篇/下一篇文字标签 */
.nav-label {
  color: #666;
  font-size: 14px;
  white-space: nowrap; /* 防止文字换行 */
}

/* 链接样式 */
.article-nav a {
  padding: 8px 12px;
  border-radius: 4px;
  color: #333;
  transition: all 0.3s ease;
  flex: 1; /* 链接占剩余空间 */
}

/* 悬停效果 */
.article-nav a:hover {
  background-color: #2d7dff; /* 示例：蓝色背景（可替换为任意色） */
  color: #ffffff; /* 白色文字，与背景形成对比 */
}

/* PC端布局 */
@media (min-width: 768px) {
  .article-nav {
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
  }
  
  .prev-item {
    justify-content: flex-start;
  }
  
  .next-item {
    justify-content: flex-end;
  }
  
  .article-nav a {
    min-width: 200px;
  }
}
.url-box {
  display: flex;
  align-items: center;
  padding: 10px;
  margin: 15px auto;
  background: #f8fafc;
  border-radius: 6px;
  font-size: 13px;
  transition: .3s;
  justify-content: center;
}
.url-box span:first-child {
  color: #64748b;
  padding-right: 10px;
}
.url-box span:last-child {
  color: #3b82f6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.url-box:hover {
  background: #eff6ff;
  box-shadow: 0 3px 10px rgba(59,130,246,.1);
}
.url-box:hover span {
  color: #1d4ed8;
  border-right-color: #bfdbfe;
}
/* 基础图标容器样式（i标签使用了.fa类） */
.fa{display:inline-block;font-size:inherit;text-rendering:auto;}
i{font-style:normal;}
i.fa{padding-right:5px;}

/* 角度图标（up/down）绘制样式（核心图标形状） */
.fa-angle-up:before{
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2px solid white;
    border-left: 2px solid white;
    transform: rotate(45deg);
    display: block;
}
.fa-angle-down:before{
    content: '';
    width: 12px;
    height: 12px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    display: block;
}

/* 回到顶部/底部按钮容器核心样式 */
.backtop{z-index:999;bottom:65px;position:fixed;right:15px;cursor:pointer;}
.backtop i{color:#fff;}
/* 按钮盒子样式 */
.backtop .bt-box{
    padding:11px 12px;margin-bottom:5px;width:41px;line-height:18px;
    vertical-align:middle;background:#58a5c3;border-radius:2px;
    box-shadow:0 1px 1px rgba(0,0,0,0.04);text-align:center;
}
/* 按钮 hover 交互样式 */
.backtop .bt-box:hover{background:#3690cf;}
.backtop .bt-box:hover i{color:#fff;}
/* 顶部按钮默认隐藏 */
.backtop .top{display:none;}
/* 按钮内图标特殊样式（覆盖通用.fa的padding） */
#backtop i.fa{font-size:1.2em;font-weight:bold;padding-right:0;}