* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f6f0e6;
    font-family: "PingFang SC", "Microsoft YaHei", "WenQuanYi Micro Hei", "STHeiti", sans-serif;
    color: #2b241c;
    max-width: 1400px;
    margin: 0 auto;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 24px;
}

/* ========= 顶部栏 ========= */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: #ffffffdb;
    backdrop-filter: blur(4px);
    border-radius: 60px;
    padding: 6px 20px;
    margin-bottom: 24px;
    border: 1px solid #e6dbc9;
}
.logo img {
    height: 48px;
}
.search-area {
    display: flex;
    gap: 8px;
    background: #f3ede2;
    border-radius: 48px;
}
.search-area input {
    border: none;
    background: transparent;
    padding: 8px 14px;
    width: 210px;
    font-size: 0.9rem;
    outline: none;
}
.search-area button {
    background: #2c5a3a;
    border: none;
    color: white;
    padding: 5px 22px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}
.search-area button:hover {
    background: #1f4029;
}

/* ========= 导航菜单 ========= */
.nav-menu {
    background: #2c241c;
    border-radius: 60px;
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    padding: 6px 16px;
}
.nav-menu a {
    color: #ffefcf;
    text-decoration: none;
    padding: 8px 22px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 1.5rem;
    transition: 0.2s;
}
.nav-menu a:hover {
    background: #dba339;
    color: #1f2c18;
}

/* ========= 首页网格布局 ========= */
.compact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}
.three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

/* 通用卡片面板 */
.card-panel {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #e6dbca;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.1s ease;
}
.card-panel:hover {
    transform: translateY(-2px);
}
.panel-header {
    background: #2b5a3a;
    color: #fff3e0;
    padding: 12px 18px;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 2px solid #e7bc4a;
}
.panel-header a {
    color: #ffecbf;
    text-decoration: none;
}
.panel-content {
    padding: 18px;
}

/* 朝代横排卡片（首页） */
.dynasty-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.dynasty-item {
    background: #fef7ed;
    border-radius: 40px;
    padding: 8px 18px;
    text-align: center;
    flex: 1 0 auto;
    min-width: 70px;
    border: 1px solid #ecdcc8;
}
.dynasty-item a {
    font-weight: 700;
    text-decoration: none;
    color: #3a6e3c;
    font-size: 1rem;
}
.dynasty-item span {
    font-size: 0.65rem;
    color: #a77d48;
    display: block;
}

/* 热门阅读竖列 */
.hot-list {
    list-style: none;
}
.hot-list li {
    margin-bottom: 14px;
    border-bottom: 1px dashed #ecddca;
    padding-bottom: 8px;
}
.hot-list li a {
    text-decoration: none;
    color: #3b7a4a;
    font-weight: 500;
    font-size: 1.3rem;
}
.hot-list li a:hover {
    color: #c27824;
}

/* 热门诗人网格（首页/列表页） */
.poet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}
.poet-grid a {

    padding: 7px 5px;
    text-align: center;
    border-radius: 36px;
    text-decoration: none;
    color: #385f2b;
    font-size: 1rem;
    transition: 0.1s;
}
.poet-grid a:hover {
    background: #e4d2bb;
    color: #9b591e;
}

/* 诗词鉴赏卡片（首页） */
.sc-inner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.sc-card {
    background: #fefcf8;
    border-radius: 20px;
    text-align: center;
    overflow: hidden;
    transition: 0.1s;
    border: 1px solid #efe1cf;
}
.sc-card img {
    width: 100%;
    height: 95px;
    object-fit: cover;
}
.sc-card .title {
    padding: 8px 4px;
    font-weight: 600;
    font-size: 1.2rem;
}
.sc-card a {
    text-decoration: none;
    color: #2a6a3f;
}

/* 社区banner */
.community-banner {
    margin-bottom: 32px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.community-banner img {
    width: 100%;
    display: block;
}

/* 课本古诗区域 */
.kb-wrapper {
    background: #ffffff;
    border-radius: 32px;
    padding: 20px;
    border: 1px solid #e8dfcf;
    margin-bottom: 28px;
}
.kb-grade-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.kb-grade {
    flex: 1;
    min-width: 170px;
    background: #fef9f0;
    border-radius: 24px;
    padding: 12px 16px;
}
.grade-name {
    font-weight: bold;
    background: #e7d9c6;
    display: inline-block;
    padding: 4px 16px;
    border-radius: 40px;
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.kb-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.kb-links a {
    background: #f1e9dc;
    border-radius: 30px;
    font-size: 1rem;
    text-decoration: none;
    color: #2f6742;
    padding: 4px 12px;
}

/* 两列布局（首页合称、古籍） */
.two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 28px;
}
.card-item {
    flex: 1;
    background: #ffffff;
    border-radius: 32px;
    border: 1px solid #e8dfcf;
    overflow: hidden;
    padding: 18px;
}
.hc-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 24px;
}
.hc-row img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 24px;
}
.hc-content {
    flex: 1;
}
.hc-content .r_title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #b35f1a;
    margin-bottom: 6px;
}
.hc-desc-short {
    font-size: 1.2rem;
    color: #6b4f2c;
    margin-bottom: 8px;
}
.include-links a {
    background: #efe3d2;
    padding: 3px 12px;
    border-radius: 30px;
    font-size: 1rem;
    text-decoration: none;
    color: #43682e;
    display: inline-block;
    margin: 2px 4px 2px 0;
}

/* 千古名句区域 */
.mingju-wrapper {
    background: #ffffff;
    border-radius: 32px;
    padding: 20px;
    border: 1px solid #e8dfcf;
    margin-bottom: 28px;
}
.mingju-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 28px;
}
.mingju-grid li {
    list-style: none;
    border-bottom: 1px dashed #eedfcb;
    padding-bottom: 8px;
}
.mingju-grid li a {
    text-decoration: none;
    color: #357a4e;
    font-weight: 500;
}

/* 友链与底部 */
.friendlinks {
    background: #e7ddce;
    border-radius: 48px;
    padding: 14px 20px;
    text-align: left;
    margin: 20px 0 20px;
    font-size: 0.85rem;
}
.friendlinks a {
    color: #383838;
    text-decoration: none;
    margin-right: 12px;
}
.friendlinks a:hover {
    color: #9b591e;
}
.footer {
    background: #2f281f;
    border-radius: 48px;
    padding: 20px;
    text-align: center;
    color: #dbc8ac;
    font-size: 0.9rem;
}
.footer a {
    color: #f5cf97;
    text-decoration: none;
    margin: 0 3px;
}

/* 响应式调整（基础） */
@media (max-width: 1000px) {
    .compact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .three-col-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .two-column {
        flex-direction: column;
    }
    .mingju-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .sc-inner-grid {
        grid-template-columns: 1fr;
    }
    .poet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}
.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}
.banner-card-panel {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* ========= 列表页（诗词分类）专属样式 ========= */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 20px;
}
.category-card {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #e6dbca;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}
.category-img {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #f2ebdf;
}
.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.category-card:hover .category-img img {
    transform: scale(1.02);
}
.category-title {
    padding: 14px 18px 6px 18px;
    border-bottom: 1px solid #f0e6da;
}
.category-title h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}
.category-title a {
    text-decoration: none;
    color: #2b5a3a;
    transition: color 0.2s;
}
.category-title a:hover {
    color: #d6962b;
}
.category-works {
    padding: 12px 18px 18px 18px;
    flex: 1;
}
.category-works .work-item {
    margin-bottom: 10px;
    font-size: 0.95rem;
    border-bottom: 1px dashed #f1e7db;
    padding-bottom: 6px;
}
.category-works .work-item:last-child {
    border-bottom: none;
}
.category-works .work-item a {
    text-decoration: none;
    color: #4f6b3c;
    font-weight: 500;
    transition: color 0.2s;
    display: inline-block;
}
.category-works .work-item a:hover {
    color: #c27728;
}

/* 两列布局（列表页和作者页共用，也用于热榜页） */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    margin: 28px 0 32px;
}
@media (max-width: 1000px) {
    .two-col-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* 右侧边栏卡片（列表页/作者页/热榜页通用） */
.sidebar-card {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #e6dbca;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.sidebar-header {
    background: #2b5a3a;
    color: #fff3e0;
    padding: 14px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 2px solid #e7bc4a;
}
.sidebar-header a {
    color: #ffecbf;
    text-decoration: none;
}
.sidebar-content {
    padding: 18px;
}
.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-list li {
    margin-bottom: 10px;
    border-bottom: 1px dashed #f1e7db;
    padding-bottom: 6px;
}
.sidebar-list li a {
    text-decoration: none;
    color: #4f6b3c;
    font-size: 0.95rem;
    display: block;
    transition: color 0.2s;
}
.sidebar-list li a:hover {
    color: #c27728;
    padding-left: 4px;
}

/* 面包屑导航（列表页/作者页/热榜页） */
.breadcrumb {
    background: transparent;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #8b765a;
}
.breadcrumb a {
    color: #5e7a48;
    text-decoration: none;
}
.breadcrumb a:hover {
    color: #c67a2a;
}
.breadcrumb .separator {
    margin: 0 6px;
    color: #c4aa82;
}

/* ========= 作者页专属样式 ========= */
.dynasty-filter {
    margin-bottom: 28px;
}
.filter-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: #2b5a3a;
    padding-left: 6px;
    border-left: 4px solid #e7bc4a;
}
.dynasty-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff9f0;
    padding: 16px 20px;
    border-radius: 48px;
    border: 1px solid #e6dbc9;
}
.dynasty-tabs a {
    background: #fef3e4;
    padding: 6px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    color: #4a6a3b;
    transition: all 0.2s;
    font-size: 0.9rem;
    border: 1px solid #e7dbc9;
}
.dynasty-tabs a:hover,
.dynasty-tabs a.active {
    background: #dba339;
    color: white;
    border-color: #dba339;
}

.author-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 10px;
}
.author-card {
    background: #ffffff;
    border-radius: 32px;
    border: 1px solid #e8dfcf;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px;
}
.author-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}
.author-avatar {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 28px;
    overflow: hidden;
    background: #f2ebdf;
    border: 1px solid #e0d2bf;
}
.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-info {
    flex: 1;
}
.author-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.author-name a {
    text-decoration: none;
    color: #2b5a3a;
    transition: color 0.2s;
}
.author-name a:hover {
    color: #d6962b;
}
.author-dynasty {
    display: inline-block;
    background: #f3e5d5;
    padding: 2px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #8b6b3c;
    margin-bottom: 12px;
}
.author-desc {
    color: #5e4b33;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 14px;
}
.author-works {
    font-size: 0.9rem;
}
.author-works strong {
    color: #b35f1a;
    font-weight: 600;
}
.author-works a {
    background: #f1e9dc;
    padding: 3px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    text-decoration: none;
    color: #43682e;
    display: inline-block;
    margin: 4px 6px 4px 0;
    transition: 0.1s;
}
.author-works a:hover {
    background: #e4d2bb;
    color: #9b591e;
}
@media (max-width: 1000px) {
    .author-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .author-avatar {
        width: 100px;
        height: 100px;
    }
    .author-works a {
        margin: 4px 3px;
    }
}

/* 分页组件（作者页/热榜页） */
.pagination {
    margin: 32px 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.pagination a, .pagination span {
    background: #ffffff;
    border: 1px solid #e0d5c6;
    padding: 8px 16px;
    border-radius: 40px;
    text-decoration: none;
    color: #5b7a46;
    font-weight: 500;
    transition: 0.2s;
}
.pagination a:hover {
    background: #e7bc4a;
    color: #2b2a1f;
    border-color: #e7bc4a;
}
.pagination .current {
    background: #2b5a3a;
    color: white;
    border-color: #2b5a3a;
}
.pagination b {
        border: 1px solid #e0d5c6;
    padding: 8px 16px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    background: #e7bc4a;
    color: #2b2a1f;
    border-color: #e7bc4a;
}

/* ========= 诗词热榜页专属卡片样式（新增） ========= */
.poem-list-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.poem-card {
    border-bottom: 1px solid #f0e6da;
    background: #ffffff;
    transition: background 0.2s;
}
.poem-card:hover {
    background: #fefaf5;
}
.poem-card-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px 20px;
    align-items: flex-start;
}
.poem-info {
    flex: 1;
    min-width: 180px;
}
.poem-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.poem-title a {
    text-decoration: none;
    color: #2b5a3a;
    transition: color 0.2s;
}
.poem-title a:hover {
    color: #d6962b;
}
.poem-excerpt {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #4d3e2c;
    max-height: 190px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.poem-card:hover .poem-excerpt {
    max-height: 800px;
}
.poem-thumb {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 20px;
    overflow: hidden;
    background: #f2ebdf;
    border: 1px solid #e0d2bf;
}
.poem-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 热榜页响应式适配 */
@media (max-width: 640px) {
    .poem-card-inner {
        flex-direction: column;
    }
    .poem-thumb {
        width: 100%;
        height: auto;
        max-height: 180px;
    }
}

/* ========= 列表页右侧作者网格（修复丢失样式） ========= */
.author-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.author-grid a {
    background: #faf1e4;
    padding: 8px 5px;
    text-align: center;
    border-radius: 36px;
    text-decoration: none;
    color: #385f2b;
    font-size: 0.9rem;
    transition: 0.15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.author-grid a:hover {
    background: #e4d2bb;
    color: #9b591e;
}

       /* 极细微修正：保证作者卡片内代表作换行舒适，卢照邻无图时占位优雅 */
        .author-works a {
            white-space: normal;
            word-break: keep-all;
            display: inline-block;
            margin: 0.25rem 0.3rem;
        }
        .avatar-placeholder {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #cdbb9f, #b29a72);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            font-weight: bold;
            color: #fff4e6;
            text-shadow: 0 1px 2px rgba(0,0,0,0.1);
        }
        /* 让右侧分类列表更紧凑美观 */
        .sidebar-list li {
            margin-bottom: 8px;
        }
        .sidebar-list li a {
            font-size: 0.9rem;
        }
        
        .book-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .book-grid li {
        margin: 0;
    }
    .book-grid li a {
        background: #faf1e4;
        padding: 8px 6px;
        text-align: center;
        border-radius: 36px;
        text-decoration: none;
        color: #385f2b;
        font-size: 0.9rem;
        transition: 0.15s;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 500;
    }
    .book-grid li a:hover {
        background: #e4d2bb;
        color: #9b591e;
    }
    /* 经典文集按钮组样式 */
    .classic-link-group {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 8px;
    }
    .classic-link-group a {
        background: #fef3e4;
        padding: 6px 18px;
        border-radius: 40px;
        text-decoration: none;
        color: #43682e;
        font-size: 0.95rem;
        transition: 0.1s;
        border: 1px solid #e7dbc9;
    }
    .classic-link-group a:hover {
        background: #dba339;
        color: white;
        border-color: #dba339;
    }
    /* 描述文字风格统一 */
    .desc-text {
        color: #6b4f2c;
        font-size: 0.95rem;
        line-height: 1.55;
        margin: 12px 0 14px 0;
        background: #fefaf2;
        padding: 12px 16px;
        border-radius: 20px;
        border-left: 4px solid #e7bc4a;
    }
    /* 右侧作者网格（配合首页作者样式） */
    .author-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .author-grid a {
        background: #faf1e4;
        padding: 8px 5px;
        text-align: center;
        border-radius: 36px;
        text-decoration: none;
        color: #385f2b;
        font-size: 0.9rem;
        transition: 0.15s;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .author-grid a:hover {
        background: #e4d2bb;
        color: #9b591e;
    }
    .author-count {
        font-size: 0.7rem;
        color: #a77d48;
        margin-left: 3px;
    }
    /* 右侧边栏内部列表优化 */
    .sidebar-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .sidebar-list li {
        margin-bottom: 10px;
        border-bottom: 1px dashed #f1e7db;
        padding-bottom: 6px;
    }
    .sidebar-list li a {
        text-decoration: none;
        color: #4f6b3c;
        font-size: 0.95rem;
        display: block;
        transition: color 0.2s;
    }
    .sidebar-list li a:hover {
        color: #c27728;
    }
    
      .poem-content {
            font-size: 1.05rem;
            line-height: 1.8;
            color: #2b241c;
            text-align: center;  /* 诗词内容居中 */
        }
        .zhushi_word {
            border-bottom: 1px dashed #b68b40;
            cursor: pointer;
            color: #8b5a2b;
        }
        .zhushi_word:hover {
            background: #fce9cf;
        }
        .tag-list a {
            background: #f1e9dc;
            padding: 4px 14px;
            border-radius: 30px;
            font-size: 0.8rem;
            text-decoration: none;
            color: #557a3a;
            margin-right: 8px;
            display: inline-block;
        }
        /* 诗人名字样式 */
        .poet-name {
            text-align: center;
            margin-bottom: 20px;
        }
        .poet-name a {
            font-size: 1.1rem;
            font-weight: 600;
            color: #a86f2c;
            text-decoration: none;
            border-bottom: 1px solid #e6dbc9;
            padding-bottom: 4px;
            transition: 0.2s;
        }
        .poet-name a:hover {
            color: #c27728;
            border-bottom-color: #c27728;
        }
        /* 图片居中，大小适中 */
        .detail-img {
            max-width: 20%;
            height: auto;
            border-radius: 24px;
            margin: 20px auto;
            display: block;
            border: 1px solid #efe1cf;
        }
        /* 上下首导航样式 */
        .nav-links {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin: 24px 0;
        }
        .nav-links .nav-item {
            background: #f1e9dc;
            padding: 8px 24px;
            border-radius: 40px;
            transition: 0.2s;
        }
        .nav-links .nav-item a {
            text-decoration: none;
            color: #2b5a3a;
            font-weight: 500;
        }
        .nav-links .nav-item:hover {
            background: #dba339;
        }
        .nav-links .nav-item:hover a {
            color: white;
        }
        /* 相关诗词卡片内描述文字 */
        .related-desc {
            font-size: 0.85rem;
            color: #7a6233;
            margin-top: 4px;
            line-height: 1.4;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        /* 相关诗词中的作者样式 */
        .related-author {
            font-size: 0.75rem;
            margin: 4px 0;
        }
        .related-author a {
            font-weight: 600;
            color: #a86f2c;
            text-decoration: none;
            transition: 0.2s;
        }
        .related-author a:hover {
            color: #c27728;
            text-decoration: underline;
        }
        /* 右侧边栏样式 */
        .sidebar-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .sidebar-list li {
            margin-bottom: 12px;
            border-bottom: 1px dashed #f0e6da;
            padding-bottom: 8px;
        }
        .sidebar-list li a {
            text-decoration: none;
            color: #4f6b3c;
            display: block;
            transition: 0.1s;
        }
        .sidebar-list li a:hover {
            color: #c27728;
            padding-left: 4px;
        }
        .keyword-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .keyword-list a {
            background: #f1e9dc;
            padding: 4px 14px;
            border-radius: 30px;
            font-size: 0.8rem;
            text-decoration: none;
            color: #557a3a;
        }
        .sentence-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .sentence-list li {
            margin-bottom: 10px;
            border-bottom: 1px dashed #e9decb;
            padding-bottom: 6px;
        }
        .sentence-list li a {
            text-decoration: none;
            color: #4f6b3c;
        }
        .sentence-list li a:hover {
            color: #c27728;
        }
    
      /* 针对搜索结果页的补充样式，保持与首页风格完美融合 */
        .search-result-header {
            margin-bottom: 24px;
        }
        .result-stats {
            background: #ffffffdb;
            backdrop-filter: blur(4px);
            border-radius: 60px;
            padding: 10px 24px;
            display: inline-block;
            border: 1px solid #e6dbc9;
            font-size: 1rem;
            color: #2b5a3a;
            font-weight: 500;
        }
        .dynasty-filter-bar {
            margin-bottom: 28px;
        }
        .filter-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            background: #fff9f0;
            padding: 16px 20px;
            border-radius: 48px;
            border: 1px solid #e6dbc9;
        }
        .filter-tabs a {
            background: #fef3e4;
            padding: 6px 20px;
            border-radius: 40px;
            text-decoration: none;
            font-weight: 500;
            color: #4a6a3b;
            transition: all 0.2s;
            font-size: 0.9rem;
            border: 1px solid #e7dbc9;
        }
        .filter-tabs a:hover,
        .filter-tabs a.active {
            background: #dba339;
            color: white;
            border-color: #dba339;
        }
        .search-result-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .result-item {
            background: #ffffff;
            border-radius: 28px;
            border: 1px solid #e6dbca;
            overflow: hidden;
            transition: transform 0.1s ease, box-shadow 0.2s;
            padding: 20px;
        }
        .result-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
        }
        .result-meta {
            display: flex;
            align-items: baseline;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 12px;
            font-size: 0.9rem;
        }
        .result-num {
            background: #2b5a3a;
            color: white;
            border-radius: 40px;
            padding: 2px 12px;
            font-weight: 600;
            font-size: 0.8rem;
        }
        .result-dynasty {
            color: #a77d48;
            font-weight: 500;
        }
        .result-author {
            font-weight: 600;
        }
        .result-author a {
            color: #196176;
            text-decoration: none;
        }
        .result-author a:hover {
            color: #d6962b;
        }
        .result-title {
            margin-bottom: 12px;
        }
        .result-title h3 {
            font-size: 1.5rem;
            margin: 0 0 6px 0;
        }
        .result-title a {
            text-decoration: none;
            color: #2b5a3a;
            font-weight: 700;
            transition: color 0.2s;
        }
        .result-title a:hover {
            color: #d6962b;
        }
        .result-excerpt {
            color: #4d3e2c;
            line-height: 1.6;
            font-size: 0.95rem;
            margin-bottom: 12px;
        }
        .result-thumb {
            margin-top: 12px;
            max-width: 100%;
        }
        .result-thumb img {
            max-width: 100%;
            border-radius: 20px;
            max-height: 160px;
            object-fit: cover;
        }
        .highlight {
            background: #fff3bf;
            color: #b35f1a;
            font-weight: 600;
            padding: 0 2px;
            border-radius: 6px;
        }
        /* 右侧侧边栏沿用guwenwang.css的sidebar-card样式，确保统一 */
        .sidebar-card {
            margin-bottom: 28px;
        }
        .related-list {
            list-style: none;
            padding: 0;
        }
        .related-list li {
            margin-bottom: 12px;
            border-bottom: 1px dashed #f1e7db;
            padding-bottom: 8px;
        }
        .related-list li a {
            text-decoration: none;
            color: #4f6b3c;
            transition: color 0.2s;
        }
        .related-list li a:hover {
            color: #c27728;
        }
        .xgss_div {
            display: flex;
            gap: 12px;
            margin-bottom: 16px;
            align-items: center;
        }
        .xgss_div_left img {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 16px;
            background: #f2ebdf;
        }
        .xgss_div_right {
            flex: 1;
        }
        .xgss_div_right a {
            text-decoration: none;
            color: #3b7a4a;
            font-weight: 500;
        }
        .pagination-wrapper {
            margin: 32px 0 20px;
        }
        /* 分页样式与首页统一 */
        .pagination {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px;
        }
        .pagination a, .pagination span {
            background: #ffffff;
            border: 1px solid #e0d5c6;
            padding: 8px 16px;
            border-radius: 40px;
            text-decoration: none;
            color: #5b7a46;
            font-weight: 500;
            transition: 0.2s;
        }
        .pagination a:hover {
            background: #e7bc4a;
            color: #2b2a1f;
            border-color: #e7bc4a;
        }
        .pagination .current {
            background: #2b5a3a;
            color: white;
            border-color: #2b5a3a;
        }
        .two-col-layout {
            margin-top: 20px;
        }
        @media (max-width: 1000px) {
            .two-col-layout {
                grid-template-columns: 1fr;
            }
        }
        /* 古籍详情页专有微调，与首页风格无缝融合 */
    .breadcrumb-nav {
        font-size: 14px;
        margin-bottom: 24px;
        color: #6c757d;
    }
    .breadcrumb-nav a {
        color: #3d6cb0;
        text-decoration: none;
    }
    .breadcrumb-nav a:hover {
        text-decoration: underline;
    }
    .breadcrumb-nav .nav-arrow {
        margin: 0 6px;
        display: inline-block;
    }
    .breadcrumb-nav .nav-arrow::after {
        content: "›";
        color: #9aa9b9;
    }
    .detail-two-column {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 28px;
        align-items: start;
    }
    /* 作品赏析正文 */
    .appreciation-text {
        line-height: 1.8;
        font-size: 16px;
        color: #2c3e4e;
    }
    .appreciation-text p {
        margin-bottom: 1.2em;
    }
    .appreciation-text img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        margin: 1.2em 0;
    }
    /* 上下篇导航按钮 (与首页简洁风格一致) */
    .nav-pagination {
        display: flex;
        justify-content: space-between;
        margin-top: 32px;
        padding-top: 20px;
        border-top: 1px solid #eef2f6;
    }
    .nav-pagination .nav-link {
        background: #f8fafc;
        padding: 8px 24px;
        border-radius: 40px;
        font-size: 14px;
        border: 1px solid #e2e8f0;
        transition: all 0.2s;
    }
    .nav-pagination .nav-link a {
        color: #1e466e;
        text-decoration: none;
    }
    .nav-pagination .nav-link:hover {
        background: #eef2ff;
        border-color: #cbd5e1;
    }
    /* 右侧面板：继承首页卡片风格，保证和左侧卡片统一 */
    .sidebar-card {
        background: #fff;
        border-radius: 28px;
        padding: 20px 24px;
        margin-bottom: 24px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
        transition: box-shadow 0.2s;
    }
    .sidebar-card .card-title {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 16px;
        padding-bottom: 8px;
        border-bottom: 2px solid #f0f4f9;
        color: #1f3a6b;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    /* 标签云样式 (诗人/成语/词汇) */
    .tag-cloud {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin: 0;
        padding: 0;
    }
    .tag-cloud li {
        list-style: none;
    }
    .tag-cloud li a {
        background: #f1f5f9;
        padding: 6px 18px;
        border-radius: 40px;
        font-size: 14px;
        color: #2c5282;
        text-decoration: none;
        display: inline-block;
        transition: 0.2s;
    }
    .tag-cloud li a:hover {
        background: #e2e8f0;
        color: #1e466e;
    }
    /* 推荐阅读书籍列表网格 (与首页古籍书典风格统一) */
    .book-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
        margin-top: 8px;
    }
    .book-item {
        background: #f8fafc;
        border-radius: 40px;
        text-align: center;
        padding: 6px 0;
        transition: all 0.2s;
    }
    .book-item a {
        font-size: 14px;
        color: #3b6e9e;
        text-decoration: none;
        display: block;
    }
    .book-item:hover {
        background: #eef2ff;
    }
    .rec-section {
        margin-top: 20px;
    }
    .rec-section:first-of-type {
        margin-top: 0;
    }
    .rec-section h4 {
        font-size: 1rem;
        font-weight: 600;
        margin: 0 0 12px 0;
        color: #2c4f7c;
        padding-left: 4px;
        border-left: 3px solid #cbdde9;
        padding-left: 10px;
    }
    @media (max-width: 768px) {
        .detail-two-column {
            grid-template-columns: 1fr;
            gap: 24px;
        }
        .nav-pagination .nav-link {
            padding: 6px 18px;
        }
        .book-grid {
            grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        }
    }
    
      /* 保证正文区域表格、图片、段落符合整体设计 */
    .article-content {
        font-size: 1rem;
        line-height: 1.7;
        color: #2b241c;
    }
    .article-content p {
        margin-bottom: 1.2em;
    }
    .article-content img {
        max-width: 100%;
        height: auto;
        border-radius: 16px;
        margin: 0.5rem 0;
    }
    .article-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 1rem 0;
    }
    .article-content td {
        padding: 0.5rem;
        border: 1px solid #e6dbc9;
        vertical-align: top;
    }
    /* 百科风格的内嵌词条等 */
    .infotextkey {
        color: #007da5;
        font-weight: 500;
    }
    /* 上一篇下一篇模块自定义flex布局 */
    .prev-next-wrapper {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        margin-top: 20px;
    }
    .prev-item, .next-item {
        flex: 1;
        background: #fefaf5;
        border-radius: 28px;
        padding: 16px 20px;
        text-align: center;
        border: 1px solid #e6dbca;
        transition: all 0.2s;
    }
    .prev-item:hover, .next-item:hover {
        background: #fff7ee;
        transform: translateY(-2px);
    }
    .prev-item a, .next-item a {
        text-decoration: none;
        color: #2b5a3a;
        font-weight: 500;
        font-size: 0.95rem;
    }
    .prev-item span, .next-item span {
        color: #b58d52;
        font-size: 0.8rem;
        display: block;
        margin-bottom: 6px;
    }
    /* 右侧分类链接列表样式优化 (与侧边栏卡片浑然一体) */
    .sidebar-card .category-links-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 8px;
    }
    .sidebar-card .category-links-grid a {
        background: #f3ede2;
        padding: 5px 12px;
        border-radius: 30px;
        font-size: 0.8rem;
        text-decoration: none;
        color: #3f6e3b;
        transition: 0.15s;
    }
    .sidebar-card .category-links-grid a:hover {
        background: #e4d2bb;
        color: #9b591e;
    }
    /* 相关文章列表圆润样式 */
    .relate-list {
        list-style: none;
        padding-left: 0;
    }
    .relate-list li {
        margin-bottom: 14px;
        border-bottom: 1px solid #f0e6da;
        padding-bottom: 10px;
    }
    .relate-list li a {
        font-size: 1rem;
        font-weight: 500;
        color: #2b5a3a;
        text-decoration: none;
        transition: color 0.2s;
    }
    .relate-list li a:hover {
        color: #d6962b;
    }
    .relate-list li span.num {
        background: #e7bc4a;
        display: inline-block;
        width: 24px;
        height: 24px;
        line-height: 24px;
        text-align: center;
        border-radius: 40px;
        color: white;
        font-size: 0.75rem;
        font-weight: bold;
        margin-right: 10px;
    }
    /* 内容排版区域（右侧保留原side模块的完整内容） */
    .author-tag-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 8px;
    }
    .author-tag-list a {
        background: #f3ede2;
        padding: 5px 16px;
        border-radius: 40px;
        text-decoration: none;
        font-size: 0.85rem;
        color: #3f6e3b;
        transition: 0.15s;
    }
    .author-tag-list a:hover {
        background: #e0cfba;
        color: #a5611a;
    }
    /* 文章主标题 */
    .post-title {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2b5a3a;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    @media (max-width: 768px) {
        .post-title {
            font-size: 1.5rem;
        }
        .prev-next-wrapper {
            flex-direction: column;
        }
    }
     /* 极少量微调，保证与首页完美融合 */
        .breadcrumb {
            margin-bottom: 20px;
            font-size: 0.9rem;
            color: #8b765a;
        }
        .breadcrumb a {
            color: #5e7a48;
            text-decoration: none;
        }
        .breadcrumb a:hover {
            color: #c67a2a;
        }
        .breadcrumb .separator {
            margin: 0 6px;
            color: #c4aa82;
        }
        /* 左侧列表样式微调 */
        .article-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .article-list li {
            margin-bottom: 12px;
            border-bottom: 1px dashed #f1e7db;
            padding-bottom: 10px;
        }
        .article-list li a {
            text-decoration: none;
            color: #4f6b3c;
            font-size: 1rem;
            display: block;
            transition: color 0.2s, padding-left 0.2s;
        }
        .article-list li a:hover {
            color: #c27728;
            padding-left: 6px;
        }
        /* 右侧解释区域文本样式 */
        .explain-text {
            line-height: 1.65;
            font-size: 0.95rem;
            color: #4d3e2c;
        }
        .sidebar-card .sidebar-content ul {
            list-style: none;
            padding-left: 0;
            margin: 0;
        }
        .sidebar-card .sidebar-content li {
            margin-bottom: 8px;
            border-bottom: 1px dashed #f1e7db;
            padding-bottom: 6px;
        }
        .sidebar-card .sidebar-content li a {
            text-decoration: none;
            color: #4f6b3c;
            font-size: 0.9rem;
            display: block;
            transition: color 0.2s;
        }
        .sidebar-card .sidebar-content li a:hover {
            color: #c27728;
        }
         /* 针对名句列表容器的微调，保证与shouye风格完全一致 */
        .mingju-list-container {
            background: #ffffff;
            border-radius: 28px;
            border: 1px solid #e6dbca;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
        }
        .mingju-header {
            background: #2b5a3a;
            color: #fff3e0;
            padding: 14px 20px;
            font-size: 1.3rem;
            font-weight: 600;
            border-bottom: 2px solid #e7bc4a;
        }
        /* 去掉标题中的任何图标（确保纯文字）*/
        .mingju-header i, .mingju-header em, .sidebar-header i, .sidebar-header em {
            display: none;
        }
        .mingju-list {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .mingju-list li {
            border-bottom: 1px solid #f0e6da;
            transition: background 0.2s ease;
        }
        .mingju-list li:last-child {
            border-bottom: none;
        }
        .mingju-list li a {
            display: block;
            padding: 16px 20px;
            font-size: 1.05rem;
            font-weight: 500;
            color: #2b5a3a;
            text-decoration: none;
            line-height: 1.45;
            transition: all 0.2s;
        }
        .mingju-list li a:hover {
            background: #fefaf5;
            color: #d6962b;
            padding-left: 26px;
        }
        /* 分页样式（与guwenwang.css中的pagination保持一致） */
        .pagination-custom {
            margin: 32px 20px 24px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px;
        }
        .pagination-custom a, 
        .pagination-custom span, 
        .pagination-custom b {
            background: #ffffff;
            border: 1px solid #e0d5c6;
            padding: 8px 16px;
            border-radius: 40px;
            text-decoration: none;
            color: #5b7a46;
            font-weight: 500;
            transition: 0.2s;
            font-size: 0.9rem;
            display: inline-block;
        }
        .pagination-custom a:hover {
            background: #e7bc4a;
            color: #2b2a1f;
            border-color: #e7bc4a;
        }
        .pagination-custom .current-page {
            background: #2b5a3a;
            color: white;
            border-color: #2b5a3a;
        }
        .pagination-custom b {
            background: #e7bc4a;
            color: #2b2a1f;
            border-color: #e7bc4a;
            font-weight: 600;
        }
        /* 右侧边栏卡片样式增强 (热榜+作者) */
        .sidebar-card {
            background: #ffffff;
            border-radius: 28px;
            border: 1px solid #e6dbca;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
            margin-bottom: 28px;
        }
        .sidebar-header {
            background: #2b5a3a;
            color: #fff3e0;
            padding: 14px 20px;
            font-size: 1.2rem;
            font-weight: 600;
            border-bottom: 2px solid #e7bc4a;
        }
        .sidebar-content {
            padding: 18px;
        }
        .sidebar-content a {text-decoration: none;
    color: #054c43;}
        /* 热榜列表样式（统一风格，无图标） */
        .hot-list {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .hot-list li {
            margin-bottom: 12px;
            border-bottom: 1px dashed #f1e7db;
            padding-bottom: 10px;
        }
        .hot-list li:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        .hot-list li a {
            text-decoration: none;
            color: #4f6b3c;
            font-size: 0.95rem;
            font-weight: 500;
            display: block;
            transition: color 0.2s;
        }
        .hot-list li a:hover {
            color: #c27728;
            padding-left: 4px;
        }
        /* 推荐作者网格（来自zuozhe.txt，无图标） */
        .author-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }
        .author-grid a {
            background: #faf1e4;
            padding: 8px 5px;
            text-align: center;
            border-radius: 36px;
            text-decoration: none;
            color: #385f2b;
            font-size: 0.85rem;
            transition: 0.15s;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .author-grid a:hover {
            background: #e4d2bb;
            color: #9b591e;
        }
        /* 面包屑导航 */
        .breadcrumb-custom {
            padding: 12px 20px 0 20px;
            margin-bottom: 4px;
            font-size: 0.85rem;
            color: #8b765a;
        }
        .breadcrumb-custom a {
            color: #5e7a48;
            text-decoration: none;
        }
        .breadcrumb-custom a:hover {
            color: #c67a2a;
        }
        .breadcrumb-custom .sep {
            margin: 0 6px;
            color: #c4aa82;
        }
        /* 响应式微调 */
        @media (max-width: 768px) {
            .mingju-list li a {
                padding: 14px 16px;
                font-size: 0.95rem;
            }
            .pagination-custom a, .pagination-custom span, .pagination-custom b {
                padding: 6px 12px;
                font-size: 0.8rem;
            }
        }
        
         /* 针对成语网格的补充样式，与首页风格完全融合 */
        .chengyu-header {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            flex-wrap: wrap;
            margin-bottom: 20px;
            padding-bottom: 8px;
            border-bottom: 2px solid #e7bc4a;
        }
        .chengyu-header h1 {
            font-size: 1.8rem;
            font-weight: 700;
            color: #2b5a3a;
            letter-spacing: 1px;
            margin: 0;
            background: none;
            padding-left: 0;
            border-left: none;
        }
        .chengyu-count {
            font-size: 0.9rem;
            background: #fef0e2;
            padding: 4px 14px;
            border-radius: 40px;
            color: #b16224;
        }
        .chengyu-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
            gap: 14px;
            margin: 10px 0 10px;
        }
        .chengyu-card {
            background: #ffffff;
            border-radius: 28px;
            border: 1px solid #e6dbca;
            transition: all 0.2s ease;
            text-align: center;
            padding: 12px 6px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
        }
        .chengyu-card:hover {
            transform: translateY(-3px);
            border-color: #dba339;
            box-shadow: 0 12px 20px rgba(0, 0, 0, 0.05);
            background: #fffbf5;
        }
        .chengyu-card a {
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            color: #2f6742;
            display: block;
            transition: color 0.2s;
        }
        .chengyu-card a:hover {
            color: #d6962b;
        }
        /* 右侧边栏卡片复用 sidebar-card */
        .sidebar-card {
            margin-bottom: 28px;
        }
        .sidebar-card:last-child {
            margin-bottom: 0;
        }
        .category-tag-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 8px;
        }
        .category-tag-list a {
            background: #faf1e4;
            padding: 5px 16px;
            border-radius: 40px;
            text-decoration: none;
            font-size: 0.85rem;
            color: #4a6a3b;
            transition: 0.15s;
        }
        .category-tag-list a:hover {
            background: #e7bc4a;
            color: #2b2a1f;
        }
        .sidebar-content .subgroup-title {
            font-weight: 600;
            margin: 12px 0 6px 0;
            font-size: 0.95rem;
            color: #8b6b3c;
            border-left: 3px solid #e7bc4a;
            padding-left: 10px;
        }
        .sidebar-content .subgroup-title:first-of-type {
            margin-top: 0;
        }
        /* 分页样式继承guwenwang的pagination */
        .pagination {
            margin-top: 36px;
            margin-bottom: 20px;
        }
        @media (max-width: 640px) {
            .chengyu-grid {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
                gap: 10px;
            }
            .chengyu-card {
                padding: 8px 4px;
            }
        }
        .breadcrumb {
            margin-bottom: 24px;
        }
        .cy-detail-row {
    display: flex;
    flex-wrap: wrap;
    padding: 8px 0;
    border-bottom: 1px solid #f0e6da;
}
.cylx {
    width: 110px;
    flex-shrink: 0;
    font-weight: 600;
    color: #664811;
    font-size: 0.95rem;
}
.cyjs {
    flex: 1;
    color: #2b241c;
    line-height: 1.5;
}
.cyjs a {
    color: #2b5a3a;
    text-decoration: none;
    margin-right: 8px;
}
.cyjs a:hover {
    color: #d6962b;
}
.chengyu-jielong-line {
    background: #fef7ed;
    padding: 10px 16px;
    border-radius: 32px;
    font-family: monospace;
    word-break: break-all;
}
.poem-mini-card {
    background: #fefaf5;
    border-radius: 20px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #efe1cf;
}
.poem-mini-card a {
    font-weight: 600;
    font-size: 1rem;
}
.smalltext-preview {
    font-size: 0.85rem;
    color: #6b4f2c;
    margin-top: 6px;
    line-height: 1.4;
}
.zidian-item {
    background: #fef9f0;
    border-radius: 24px;
    padding: 12px;
    margin-bottom: 16px;
}
.zidian-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #b35f1a;
    margin-bottom: 8px;
}
.zidian-desc {
    font-size: 0.9rem;
    color: #4d3e2c;
}
.tag-link {
    display: inline-block;
    background: #f1e9dc;
    border-radius: 30px;
    padding: 4px 12px;
    margin: 4px 6px 4px 0;
    font-size: 0.85rem;
    text-decoration: none;
    color: #43682e;
}
.tag-link:hover {
    background: #e4d2bb;
    color: #9b591e;
}
.sidebar-card ul, .sidebar-card .category-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sidebar-card li {
    margin: 0;
}
.sidebar-card .category-list a {
    background: #faf1e4;
    padding: 5px 12px;
    border-radius: 36px;
    font-size: 0.85rem;
    text-decoration: none;
    color: #000;
}
 