/* ============================================
   版权所有 © 2026 墨迹语CMS 
   https://www.mojiyucms.com/
   ============================================ 
*/
:root {
    --primary: #947119;
    /* 更深的土黄色/古铜色 */
    --primary-dark: #705412;
    --primary-light: #B88E2F;
    --bg: #EFE6D5;
    /* 更深沉的宣纸底色 */
    --white: #FFFFFF;
    --text-dark: #2C2416;
    /* 偏褐色的文字 */
    --text-muted: #7A6F5A;
    --border: #D1C4A8;
    --shadow: rgba(148, 113, 25, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background-color: var(--bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.yixue3-header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary);
    font-weight: bold;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav ul li a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.main-nav ul li a:hover,
.main-nav ul li.active a {
    color: var(--primary);
}

.header-search form {
    display: flex;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 5px 15px;
}

.header-search input {
    border: none;
    background: transparent;
    padding: 5px;
    outline: none;
    width: 150px;
}

.header-search button {
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
}

.menu-toggle,
.nav-close {
    display: none;
    cursor: pointer;
    font-size: 20px;
}

/* Home Layout */
.yixue3-home {
    padding: 30px 0;
}

/* Common Layout with Sidebar */
.yixue3-layout {
    display: flex;
    gap: 30px;
    padding: 30px 0;
}

.content-wrapper {
    display: flex;
    gap: 30px;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.yixue3-sidebar {
    width: 350px;
    flex-shrink: 0;
}

/* Sidebar Components */
.sidebar-block {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px var(--shadow);
}

.sidebar-title {
    font-size: 18px;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    margin-bottom: 15px;
    position: relative;
}

.top-item {
    margin-bottom: 15px;
}

.top-item a {
    display: flex;
    gap: 12px;
}

.top-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.top-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.top-info span {
    font-size: 12px;
    color: var(--text-muted);
}

.hot-list li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
}

.rank-num {
    width: 20px;
    height: 20px;
    background: #eee;
    color: #999;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    margin-right: 10px;
}

.hot-list li:nth-child(1) .rank-num {
    background: #ff4d4f;
    color: #fff;
}

.hot-list li:nth-child(2) .rank-num {
    background: #ff7a45;
    color: #fff;
}

.hot-list li:nth-child(3) .rank-num {
    background: #ffc53d;
    color: #fff;
}

.hot-list a {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recommend-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.recommend-list li a {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recommend-list li span {
    color: var(--text-muted);
    font-size: 12px;
}

/* 六大功能导航 */
.guoxue-functions-card {
    background: linear-gradient(135deg, #FFF8DC 0%, #F5EBD7 100%);
}

.guoxue-functions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.guoxue-functions-grid .function-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: var(--white);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.guoxue-functions-grid .function-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--shadow);
    background: var(--bg);
}

.guoxue-functions-grid .function-item i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 8px;
}

.guoxue-functions-grid .function-item span {
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 500;
}

/* Index Page Styles */
/* 金刚区 */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
}

.tool-item {
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.tool-item:hover {
    transform: translateY(-5px);
    background: var(--bg);
    color: var(--primary);
}

.tool-icon {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.tool-item span {
    font-size: 14px;
    font-weight: 500;
}

/* 焦点图/轮播 */
.hero-section {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    height: 420px;
}

.hero-main {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.carousel-item.active {
    opacity: 1;
    display: block;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 25px 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: var(--white);
}

.carousel-info h2 {
    font-size: 26px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.carousel-info p {
    font-size: 15px;
    opacity: 0.95;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    width: 25px;
    border-radius: 5px;
}

.hero-side {
    width: 460px;
    flex: none;
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    display: flex;
    flex-direction: column;
}

.hero-side-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-side-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: hidden;
}

.hero-small-link {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

.hero-small {
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.hero-small:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hero-small img {
    width: 110px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.hero-small-info {
    flex: 1;
    min-width: 0;
}

.hero-small h4 {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-small p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 置顶特选全宽样式 */
.featured-top-grid {
    margin-bottom: 30px;
}

.featured-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.featured-item {
    background: var(--white);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
}

.featured-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.featured-item h4 {
    font-size: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 文章列表 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.article-card {
    display: flex;
    gap: 15px;
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px var(--shadow);
}

.article-thumb img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
}

.article-info {
    flex: 1;
}

.article-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.article-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 15px;
}

/* Floor Styles */
.floor-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-left: 5px solid var(--primary);
    padding-left: 15px;
}

.floor-head h2 {
    font-size: 22px;
    color: var(--text-dark);
}

.floor-head .more {
    font-size: 14px;
    color: var(--primary);
}

/* Footer Styles */
.yixue3-footer {
    background: #fffdf5;
    border-top: 1px solid var(--border);
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-title {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: bold;
}

.branch-links,
.link-items {
    display: flex;
    flex-wrap: wrap;
}

/* SEO Branches */
.seo-branches {
    background: rgba(218, 165, 32, 0.08);
    /* var(--primary) with opacity */
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.branch-links a {
    font-size: 14px;
    margin-right: 15px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* Friend Links */
.friend-links {
    background: rgba(218, 165, 32, 0.06);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.link-items a {
    font-size: 13px;
    margin-right: 10px;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-muted);
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }

    .yixue3-layout {
        flex-direction: column;
    }

    .yixue3-sidebar {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        right: -100%;
        top: 0;
        width: 280px;
        height: 100%;
        background: var(--white);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding: 60px 20px;
        z-index: 1001;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .header-search {
        display: none;
    }

    .logo h1 {
        font-size: 20px;
    }

    /* 手机端响应式 */
    .tool-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-section {
        flex-direction: column;
        height: auto;
    }

    .hero-main {
        height: 250px;
        flex: none;
        width: 100%;
    }

    .hero-side {
        width: 100%;
        height: auto;
        margin-top: 10px;
        flex: none;
    }

    .hero-side-list {
        overflow: visible;
    }

    .hero-small img {
        width: 100px;
        height: 75px;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .featured-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   列表页样式 (list.html)
======================================== */

/* 面包屑导航 */
.breadcrumb {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .separator {
    margin: 0 8px;
}

.breadcrumb .current {
    color: var(--primary);
    font-weight: 500;
}

/* 栏目标题 */
.category-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
}

.category-title {
    font-size: 28px;
    margin-bottom: 10px;
}

.category-description {
    font-size: 15px;
    opacity: 0.9;
}

/* 文章列表 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-list .article-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s ease;
}

.article-list .article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px var(--shadow);
}

.article-list .article-thumb {
    flex-shrink: 0;
    width: 280px;
    height: 180px;
    overflow: hidden;
}

.article-list .article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-list .article-card:hover .article-thumb img {
    transform: scale(1.05);
}

.article-list .article-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-list .article-title {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-list .article-title a {
    color: var(--text-dark);
}

.article-list .article-title a:hover {
    color: var(--primary);
}

.article-list .article-description {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-list .article-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.article-list .meta-item i {
    margin-right: 5px;
    color: var(--primary);
}

/* 分页 */
.pagination-wrapper {
    margin-top: 30px;
    text-align: center;
}

/* 分页样式覆盖（使用高权重选择器覆盖后端默认样式） */
.main-content .pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.main-content .pagination li {
    display: inline-block !important;
    margin: 0 !important;
}

.main-content .pagination a,
.main-content .pagination span {
    display: inline-block !important;
    min-width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 12px !important;
    text-align: center !important;
    border-radius: 8px !important;
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-dark) !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.main-content .pagination a:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3) !important;
}

.main-content .pagination .current,
.main-content .pagination .active,
.main-content .pagination span.current,
.main-content .pagination li.active,
.main-content .pagination li.active a,
.main-content .pagination li.active span,
.main-content .pagination li.current,
.main-content .pagination li.current a,
.main-content .pagination li.current span {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    cursor: default !important;
    border-radius: 8px !important;
}

.main-content .pagination .disabled,
.main-content .pagination span.disabled {
    background: #f5f5f5 !important;
    border-color: var(--border) !important;
    color: var(--text-muted) !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
}

.main-content .pagination .prev,
.main-content .pagination .next {
    font-weight: 600 !important;
}

.main-content .pagination .ellipsis {
    border: none !important;
    background: transparent !important;
    cursor: default !important;
}

/* 空状态 */
.empty-state {
    background: var(--white);
    padding: 80px 20px;
    text-align: center;
    border-radius: 10px;
}

.empty-state i {
    font-size: 64px;
    color: var(--border);
    margin-bottom: 20px;
}

.empty-state p {
    font-size: 16px;
    color: var(--text-muted);
}

/* ========================================
   详情页样式 (detail.html)
======================================== */

.article-detail {
    background: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 10px var(--shadow);
}

.article-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.article-header .article-title {
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.article-header .article-meta {
    display: flex;
    gap: 25px;
    font-size: 14px;
    color: var(--text-muted);
}

.article-header .article-meta a {
    color: var(--text-muted);
}

.article-header .article-meta a:hover {
    color: var(--primary);
}

/* 文章内容 */
.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-dark);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.article-content h2 {
    font-size: 24px;
    padding-left: 0;
    font-weight: 600;
}

.article-content h3 {
    font-size: 20px;
}

.article-content h4 {
    font-size: 18px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-content ul li,
.article-content ol li {
    margin-bottom: 10px;
    list-style-position: outside;
}

.article-content ul li {
    list-style: disc;
}

.article-content ol li {
    list-style: decimal;
}

.article-content blockquote {
    background: #f8f6f0;
    padding: 15px 20px;
    margin: 20px 0;
    color: var(--text-muted);
    font-style: italic;
    border-radius: 8px;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    overflow-x: auto;
    display: block;
}

.article-content table th,
.article-content table td {
    border: 1px solid var(--border);
    padding: 12px 15px;
    text-align: left;
}

.article-content table th {
    background: var(--bg);
    font-weight: 600;
}

.article-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.article-content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.article-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* 上下篇导航 */
.article-nav {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.nav-prev,
.nav-next {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #FFF8DC 0%, #F5EBD7 100%);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-prev:hover,
.nav-next:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--white);
    transform: translateY(-2px);
}

.nav-prev.disabled,
.nav-next.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-prev.disabled:hover,
.nav-next.disabled:hover {
    transform: none;
    background: linear-gradient(135deg, #FFF8DC 0%, #F5EBD7 100%);
    color: inherit;
}

.nav-prev i {
    font-size: 20px;
}

.nav-next {
    justify-content: flex-end;
}

.nav-next i {
    font-size: 20px;
}

.nav-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-label {
    font-size: 12px;
    opacity: 0.8;
}

.nav-title {
    font-size: 14px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 相关推荐 */
.related-articles {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.related-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.related-title i {
    color: var(--primary);
    margin-right: 8px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.related-item {
    display: block;
    background: #f8f6f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px var(--shadow);
}

.related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-no-thumb {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-no-thumb i {
    font-size: 48px;
    color: var(--white);
    opacity: 0.8;
}

.related-info {
    padding: 15px;
}

.related-info h4 {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-date {
    font-size: 12px;
    color: var(--text-muted);
}

.related-date i {
    margin-right: 5px;
}

/* ========================================
   搜索页样式 (search.html)
======================================== */

.search-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
}

.search-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.search-info {
    font-size: 15px;
    opacity: 0.9;
}

.search-keyword {
    font-weight: 600;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* 搜索结果列表 */
.search-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-item {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s ease;
}

.search-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--shadow);
}

.search-item-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.search-item-title a {
    color: var(--text-dark);
}

.search-item-title a:hover {
    color: var(--primary);
}

.search-item-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.search-item-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

/* 无搜索结果 */
.search-empty {
    background: var(--white);
    padding: 60px 40px;
    text-align: center;
    border-radius: 10px;
}

.search-empty i {
    font-size: 64px;
    color: var(--border);
    margin-bottom: 20px;
}

.search-empty h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.search-empty p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* 内联搜索表单 */
.search-form-inline {
    display: flex;
    max-width: 500px;
    margin: 0 auto 40px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 25px;
    overflow: hidden;
}

.search-form-inline input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    outline: none;
}

.search-form-inline button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.search-form-inline button:hover {
    background: var(--primary-dark);
}

/* 热门推荐 */
.hot-recommendations {
    margin-top: 40px;
}

.hot-recommendations h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hot-recommendations h4 i {
    color: #ff6b6b;
    margin-right: 8px;
}

.hot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.hot-link {
    display: block;
    padding: 12px 15px;
    background: #f8f6f0;
    border-radius: 6px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.hot-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(5px);
}

.hot-link i {
    margin-right: 8px;
    color: var(--primary);
}

.hot-link:hover i {
    color: var(--white);
}

/* ========================================
   404页面样式 (404.html)
======================================== */

.error-404 {
    background: var(--white);
    padding: 60px 40px;
    text-align: center;
    border-radius: 10px;
}

.error-icon {
    margin-bottom: 20px;
}

.error-icon i {
    font-size: 80px;
    color: #ff6b6b;
}

.error-title {
    font-size: 80px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
}

.error-subtitle {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.error-message {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* 操作按钮 */
.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

.btn-home,
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-home {
    background: var(--primary);
    color: var(--white);
}

.btn-home:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-back {
    background: var(--bg);
    color: var(--text-dark);
    border: 2px solid var(--border);
}

.btn-back:hover {
    background: var(--white);
    border-color: var(--primary);
    color: var(--primary);
}

/* 搜索区域 */
.error-search {
    margin-bottom: 50px;
}

.search-prompt {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.search-form-404 {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 25px;
    overflow: hidden;
}

.search-form-404 input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    outline: none;
}

.search-form-404 button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.search-form-404 button:hover {
    background: var(--primary-dark);
}

/* 推荐内容 */
.error-recommendations {
    margin-top: 50px;
}

.rec-title {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.rec-title i {
    color: #ff6b6b;
    margin-right: 8px;
}

.rec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rec-item {
    display: block;
    background: #f8f6f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.rec-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px var(--shadow);
}

.rec-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.rec-no-thumb {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rec-no-thumb i {
    font-size: 48px;
    color: var(--white);
    opacity: 0.8;
}

.rec-item h4 {
    padding: 15px;
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rec-date {
    padding: 0 15px 15px;
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.rec-date i {
    margin-right: 5px;
}

/* ========================================
   新页面响应式适配
======================================== */

@media (max-width: 992px) {
    .article-list .article-card {
        flex-direction: column;
    }

    .article-list .article-thumb {
        width: 100%;
        height: 200px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rec-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .category-header,
    .search-header {
        padding: 25px 20px;
    }

    .category-title,
    .search-title {
        font-size: 22px;
    }

    .article-detail {
        padding: 25px 20px;
    }

    .article-header .article-title {
        font-size: 24px;
    }

    .article-content {
        font-size: 15px;
    }

    .article-nav {
        flex-direction: column;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .hot-grid {
        grid-template-columns: 1fr;
    }

    .rec-grid {
        grid-template-columns: 1fr;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-title {
        font-size: 60px;
    }

    .error-subtitle {
        font-size: 24px;
    }
}

/* ==========================================================================
   首页合婚表单 + 黄历功能
   ========================================================================== */
.index-hero-section {
    margin-bottom: 30px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.95fr 1fr;
    gap: 30px;
}

.hero-form-card,
.hero-huangli-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
}

.hero-form-card:hover,
.hero-huangli-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow);
}

/* 卡片头部 */
.hero-card-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.hero-card-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.hero-card-header h3 i {
    margin-right: 8px;
    color: var(--primary-light);
}

.hero-card-header p {
    font-size: 13px;
    color: var(--text-muted);
}

/* 合婚表单样式 */
.hero-persons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.hero-person-box {
    background: #FAFAF5;
    border-radius: 10px;
    padding: 20px;
    border: 2px solid var(--border);
}

.hero-person-box.male-box {
    border-color: #3498db;
}

.hero-person-box.female-box {
    border-color: #e74c3c;
}

.hero-person-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.hero-person-box.male-box h4 {
    color: #3498db;
    border-bottom-color: #3498db;
}

.hero-person-box.female-box h4 {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
}

.hero-person-box h4 i {
    margin-right: 6px;
}

/* 表单元素 */
.hero-form-group {
    margin-bottom: 15px;
}

.hero-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.hero-form-group .required {
    color: #e74c3c;
    margin-left: 2px;
}

.hero-form-group input[type="text"],
.hero-form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    background: var(--white);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.hero-form-group input[type="text"]:focus,
.hero-form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(148, 113, 25, 0.1);
}

.hero-date-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 8px;
}

/* 提交按钮和查看更多按钮统一样式 */
.hero-submit-btn,
.huangli-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(148, 113, 25, 0.3);
    text-decoration: none;
}

.hero-submit-btn:hover,
.huangli-more-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #594010 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(148, 113, 25, 0.4);
}

.hero-submit-btn i,
.huangli-more-btn i {
    margin-right: 8px;
}

/* 黄历样式 */
.huangli-content {
    padding: 10px 0;
}

.huangli-loading,
.huangli-error {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.huangli-loading i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 10px;
}

.huangli-error i {
    font-size: 32px;
    color: #e74c3c;
    margin-bottom: 10px;
}

/* 黄历日期信息 */
.huangli-date-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #FAFAF5 0%, #F5F5EB 100%);
    border-radius: 10px;
    margin-bottom: 20px;
}

.huangli-solar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.solar-day {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.solar-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.solar-ym,
.solar-week {
    font-size: 14px;
    color: var(--text-dark);
}

.huangli-lunar {
    text-align: right;
}

.lunar-month {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.lunar-day {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 4px;
}

/* 干支信息 */
.huangli-ganzhi {
    display: flex;
    justify-content: space-around;
    padding: 12px;
    background: #FAFAF5;
    border-radius: 8px;
    margin-bottom: 15px;
}

.ganzhi-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-dark);
}

.ganzhi-item i {
    color: var(--primary);
}

/* 五行纳音 */
.huangli-wuxing {
    display: flex;
    justify-content: space-around;
    padding: 12px;
    background: #FAFAF5;
    border-radius: 8px;
    margin-bottom: 15px;
}

.wuxing-item {
    font-size: 13px;
    color: var(--text-dark);
}

.wuxing-label {
    color: var(--text-muted);
    margin-right: 5px;
}

.wuxing-value {
    font-weight: 600;
    color: var(--primary);
}

/* 宜忌区域 */
.huangli-yiji {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.yi-section,
.ji-section {
    background: #FAFAF5;
    border-radius: 8px;
    padding: 15px;
}

.yiji-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.yi-section .yiji-title {
    color: #27AE60;
}

.yi-section .yiji-title i {
    color: #27AE60;
}

.ji-section .yiji-title {
    color: #E74C3C;
}

.ji-section .yiji-title i {
    color: #E74C3C;
}

.yiji-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.yiji-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--white);
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-dark);
}

/* 响应式 */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-persons-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {

    .hero-form-card,
    .hero-huangli-card {
        padding: 20px;
    }

    .hero-card-header h3 {
        font-size: 18px;
    }

    .hero-date-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .solar-day {
        font-size: 36px;
    }

    .huangli-yiji {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ==========================================================================
   侧边栏黄历功能样式
   ========================================================================== */
.huangli-sidebar-container {
    padding: 0;
}

/* 日历头部 */
.sidebar-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    margin-bottom: 12px;
}

.sidebar-calendar-current {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.sidebar-calendar-nav-btn {
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-calendar-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* 星期头 */
.sidebar-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 8px;
}

.sidebar-calendar-weekdays span {
    padding: 8px 4px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

/* 日期网格 */
.sidebar-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 16px;
}

.sidebar-calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #FAFAF5;
}

.sidebar-calendar-day:hover {
    background: rgba(148, 113, 25, 0.08);
}

.sidebar-calendar-day.other-month {
    color: #BDBDBD;
    background: transparent;
}

.sidebar-calendar-day.today {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.sidebar-calendar-day.selected {
    background: var(--primary-light);
    color: white;
    font-weight: 600;
}

.sidebar-day-solar {
    font-size: 14px;
    font-weight: 500;
}

.sidebar-day-lunar {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

.sidebar-calendar-day.today .sidebar-day-lunar,
.sidebar-calendar-day.selected .sidebar-day-lunar {
    color: rgba(255, 255, 255, 0.8);
}

/* 当日详情 */
.sidebar-today-info {
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.sidebar-today-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: linear-gradient(135deg, #FAFAF5 0%, #F5F5EB 100%);
    border-radius: 8px;
    margin-bottom: 12px;
}

.sidebar-solar-date {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-date-large {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.sidebar-date-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-date-detail span {
    font-size: 13px;
    color: var(--text-dark);
}

.sidebar-lunar-date {
    text-align: right;
}

.sidebar-lunar-month {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.sidebar-lunar-day {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 4px;
}

/* 干支信息 */
.sidebar-ganzhi-info {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background: #FAFAF5;
    border-radius: 6px;
    margin-bottom: 12px;
}

.sidebar-ganzhi-info span {
    font-size: 13px;
    color: var(--text-dark);
}

.sidebar-ganzhi-info i {
    color: var(--primary);
    margin-right: 4px;
}

/* 宜忌区域 */
.sidebar-yiji-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.sidebar-yi-box,
.sidebar-ji-box {
    background: #FAFAF5;
    border-radius: 6px;
    padding: 10px;
}

.sidebar-yiji-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-yi-box .sidebar-yiji-title {
    color: #27AE60;
}

.sidebar-yi-box .sidebar-yiji-title i {
    color: #27AE60;
}

.sidebar-ji-box .sidebar-yiji-title {
    color: #E74C3C;
}

.sidebar-ji-box .sidebar-yiji-title i {
    color: #E74C3C;
}

.sidebar-yiji-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sidebar-yiji-item {
    display: inline-block;
    padding: 4px 8px;
    background: white;
    border-radius: 4px;
    font-size: 11px;
    color: var(--text-dark);
}

/* 查看详情按钮 */
.sidebar-view-detail-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sidebar-view-detail-btn:hover {
    background: var(--primary-dark);
}

/* ==========================================================================
   侧边栏节气功能样式
   ========================================================================== */
.jieqi-sidebar-container {
    padding: 0;
}

.sidebar-jieqi-current,
.sidebar-jieqi-next {
    background: #FAFAF5;
    border-radius: 8px;
    padding: 14px;
    border: 1px solid rgba(148, 113, 25, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.sidebar-jieqi-current:hover,
.sidebar-jieqi-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.sidebar-jieqi-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
}

.sidebar-jieqi-badge.current {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.15));
    color: #4CAF50;
}

.sidebar-jieqi-badge.next {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(255, 152, 0, 0.15));
    color: #FF9800;
}

.sidebar-jieqi-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.sidebar-jieqi-date {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.sidebar-jieqi-days,
.sidebar-jieqi-countdown {
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
}

/* 本月节气列表 */
.sidebar-jieqi-month {
    margin-bottom: 12px;
}

.sidebar-jieqi-month-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}

.sidebar-jieqi-month-title i {
    color: var(--primary);
}

.sidebar-jieqi-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-jieqi-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #FAFAF5;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.sidebar-jieqi-item:hover {
    background: rgba(148, 113, 25, 0.05);
    transform: translateX(4px);
}

.sidebar-jieqi-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.sidebar-jieqi-item-date {
    font-size: 11px;
    color: var(--text-muted);
}

.sidebar-jieqi-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sidebar-jieqi-more-btn:hover {
    background: var(--primary-dark);
}

.sidebar-jieqi-empty {
    text-align: center;
    padding: 12px;
    color: var(--text-muted);
    font-size: 12px;
}