/* =========================================
   1. 全局变量与基础设置
   ========================================= */
:root {
    --hub-primary: #4f46e5;
    --hub-primary-light: #e0e7ff;
    --hub-text-main: #1f2937;
    --hub-text-sub: #6b7280;
    --hub-bg-body: #f3f4f6;
    --hub-bg-card: #ffffff;
    --hub-border-color: #e5e7eb;
    --hub-radius: 12px;
    --hub-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* =========================================
   2. 首页列表样式 (kadence-posts-list)
   ========================================= */
ul.kadence-posts-list.post-archive {
    row-gap: 10px !important;
    gap: 15px !important;
}
ul.kadence-posts-list .entry-content-wrap {
    padding-top: 10px !important;
    padding-bottom: 1px !important;
    padding-left: 12px!important;
    padding-right: 12px!important;
}
ul.kadence-posts-list .entry-summary {
    font-size: 13px !important;
    line-height: 1.3!important;
    color: #666;
}
.entry-read-more {
    display: none !important;
}
ul.kadence-posts-list .post-more-link {
    font-size: 0 !important;
}
ul.kadence-posts-list .post-more-link::after {
    content: "下载txt →" !important;
    font-size: 14px !important;
    color: #d9534f !important;
}
ul.kadence-posts-list .entry-meta .posted-by,
ul.kadence-posts-list .entry-meta .author-name {
    display: none !important;
}

/* =========================================
   3. 首页自定义导航 (cnav) — 加宽加高版
   ========================================= */
.cnav{background:#FFF9F1;border-bottom:1px solid #EADFC9;padding:0 24px;position:sticky;top:0;z-index:100;box-shadow:0 2px 12px rgba(122,79,51,.08)}
.cnav-inner{max-width:1400px;margin:0 auto;display:flex;align-items:center;height:54px;gap:0}
.cnav-menu{display:flex;align-items:center;gap:0;list-style:none;margin:0;padding:0}
.cnav-menu>li{position:relative}
.cnav-menu>li>a{display:block;padding:14px 22px;font-size:16px;color:#31251B;text-decoration:none;transition:.2s;border-bottom:3px solid transparent;font-weight:500}
.cnav-menu>li>a:hover{color:#C96F3D;border-bottom-color:#C96F3D}
.cnav-menu>li.has-sub>a::after{content:"▾";margin-left:4px;font-size:11px;color:#8B7662}
.cnav-dropdown{display:none;position:absolute;top:100%;left:0;background:#FFF9F1;border:1px solid #EADFC9;border-radius:0 0 12px 12px;box-shadow:0 8px 24px rgba(122,79,51,.12);min-width:160px;z-index:200;padding:6px 0;list-style:none;margin:0}
.cnav-menu>li:hover>.cnav-dropdown{display:block}
.cnav-dropdown li a{display:block;padding:8px 18px;font-size:14px;color:#31251B;text-decoration:none;transition:.15s;white-space:nowrap}
.cnav-dropdown li a:hover{background:#F7EEDD;color:#C96F3D}
.entry-content>.cnav{margin:-20px -20px 0}
@media(max-width:768px){
  .cnav-inner{height:48px;gap:0}
  .cnav-menu>li>a{padding:10px 12px;font-size:14px}
  .cnav-dropdown{position:static;box-shadow:none;border:none;border-radius:0;background:#FDF6EA}
}

/* =========================================
   4. Kadence 顶部栏加宽加高
   ========================================= */
.site-header,
#masthead {
    width: 100% !important;
    max-width: 100% !important;
}
.site-header .site-header-row-container,
.site-header .site-header-row-container-inner {
    max-width: 1400px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}
.site-header .site-branding,
.site-header .header-navigation,
.site-header .header-menu-item {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}
.site-header .site-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
}
.site-header .header-menu-item a,
.site-header .menu-item > a {
    font-size: 15px !important;
    padding: 8px 18px !important;
    letter-spacing: 0.5px !important;
}

/* =========================================
   5. 首页排行榜样式（hp- 前缀）
   ========================================= */
/* 仅首页隐藏 Kadence 页面标题（与导航栏重复）；文章页/内页标题必须显示 */
body.home .entry-title {
    display: none !important;
}
.single-post .entry-title,
body.page:not(.home) .entry-title {
    display: block !important;
}
.hp-hero h1 {
    display: none !important;
}
.hp-hero{text-align:center;padding:36px 0 30px}
.hp-hero p{color:#8B7662;font-size:15px;margin-bottom:26px}
.hp-search{max-width:560px;margin:0 auto 26px;display:flex;background:#FFF9F1;border:2px solid #9B6B4A;border-radius:999px;overflow:hidden;box-shadow:0 2px 10px rgba(122,79,51,.08)}
.hp-search input{flex:1;border:0;background:transparent;padding:13px 22px;font-size:16px;font-family:inherit;color:#31251B;outline:none}
.hp-search input::placeholder{color:#B9A98F}
.hp-search button{border:0;background:#9B6B4A;color:#fff;font-size:16px;padding:0 30px;cursor:pointer;font-family:inherit;letter-spacing:2px;transition:background .2s}
.hp-search button:hover{background:#C96F3D}
.hp-qnav{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}
.hp-qnav a{background:#FFF9F1;border:1px solid #EADFC9;border-radius:10px;padding:10px 26px;font-size:15px;color:#7A4F33;box-shadow:0 2px 10px rgba(122,79,51,.08);transition:.2s;text-decoration:none}
.hp-qnav a:hover{border-color:#C96F3D;color:#C96F3D;transform:translateY(-2px)}
.hp-rgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:8px 0 20px}
.hp-rcard{background:#FFF9F1;border:1px solid #EADFC9;border-radius:14px;box-shadow:0 2px 10px rgba(122,79,51,.08);overflow:hidden}
.hp-rcard h2{font-size:18px;color:#7A4F33;text-align:center;padding:15px 0;border-bottom:1px solid #EADFC9;background:linear-gradient(180deg,#FDF6EA,#FFF9F1);letter-spacing:2px;margin:0}
.hp-rcard h2 span{color:#C96F3D}
.hp-rlist{list-style:none;padding:8px 6px;margin:0}
.hp-rlist li{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;transition:background .15s}
.hp-rlist li:hover{background:#F7EEDD}
.hp-rlist .rank-num{flex:none;width:26px;text-align:center;font-size:13px;color:#C3B39A;font-style:italic}
.hp-rlist li.top3 .rank-num{color:#C96F3D;font-weight:700;font-style:normal;font-size:14px}
.hp-rlist a{flex:1;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#31251B;text-decoration:none}
.hp-rlist a:hover{color:#C96F3D}
.hp-rtag{flex:none;font-size:12px;padding:1px 8px;border-radius:6px;border:1px solid}
.hp-tag-serial{color:#9B6B4A;border-color:#9B6B4A;background:#F6EBDD}
.hp-tag-done{color:#fff;background:#C96F3D;border-color:#C96F3D}
.hp-allbar{text-align:center;padding:20px 0}
.hp-allbar a{display:inline-block;background:#9B6B4A;color:#fff;padding:12px 40px;border-radius:10px;font-size:16px;letter-spacing:2px;transition:.2s;box-shadow:0 2px 10px rgba(122,79,51,.08);text-decoration:none}
.hp-allbar a:hover{background:#C96F3D;transform:translateY(-2px)}
.hp-footer{border-top:1px solid #EADFC9;background:#FFF9F1;padding:26px 0;text-align:center;margin:10px -20px -20px}
.hp-footer .flinks{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;margin-bottom:12px;font-size:14px}
.hp-footer .flinks a{color:#8B7662;text-decoration:none}
.hp-footer .flinks a:hover{color:#C96F3D}
.hp-footer .cpy{font-size:13px;color:#B9A98F}
@media(max-width:860px){.hp-rgrid{grid-template-columns:1fr}.hp-hero h1{font-size:27px}}

/* =========================================
   6. 模板A：纸感暖色风（Template A - Paper Warm）
   ========================================= */
.novel-hub-wrapper.template-a {
    --t-primary: #9B6B4A;
    --t-primary-dark: #7A5238;
    --t-primary-light: #F5EDE4;
    --t-accent: #C96F3D;
    --t-accent-hover: #B85E2E;
    --t-text-main: #31251B;
    --t-text-sub: #8B7662;
    --t-bg-page: #FBF3E7;
    --t-bg-card: #FFF9F1;
    --t-bg-preview: #F8F1E6;
    --t-bg-info: #F5EDE4;
    --t-border: #E8DDD0;
    --t-border-light: #F0E8DC;
    --t-radius: 10px;
    --t-radius-sm: 6px;
    --t-shadow: 0 2px 8px rgba(139, 118, 98, 0.08);
    --t-shadow-hover: 0 4px 16px rgba(139, 118, 98, 0.12);
}
.novel-hub-wrapper.template-a {
    background: var(--t-bg-page);
    color: var(--t-text-main);
    line-height: 1.75;
    padding: 16px;
    border-radius: var(--t-radius);
    max-width: 780px;
    margin: 0 auto;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
.novel-hub-wrapper.template-a .hub-card {
    background: var(--t-bg-card);
    border-radius: var(--t-radius);
    box-shadow: var(--t-shadow);
    padding: 24px 20px;
    margin-bottom: 14px;
    border: 1px solid var(--t-border-light);
    transition: box-shadow 0.2s ease;
}
.novel-hub-wrapper.template-a .hub-card:hover {
    box-shadow: var(--t-shadow-hover);
}
.novel-hub-wrapper.template-a .hub-card-title {
    font-family: Georgia, "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--t-text-main);
    margin-top: 0;
    margin-bottom: 16px;
    padding-left: 14px;
    border-left: 3px solid var(--t-primary);
    line-height: 1.4;
    letter-spacing: 0.5px;
}
.novel-hub-wrapper.template-a .hub-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    background: var(--t-bg-info);
    padding: 18px 16px;
    border-radius: var(--t-radius-sm);
    border: 1px solid var(--t-border);
}
.novel-hub-wrapper.template-a .meta-item {
    text-align: center;
    padding: 8px 4px;
}
.novel-hub-wrapper.template-a .meta-label {
    font-size: 12px;
    color: var(--t-text-sub);
    margin-bottom: 4px;
    display: block;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.novel-hub-wrapper.template-a .meta-value {
    font-weight: 600;
    color: var(--t-text-main);
    font-size: 15px;
}
.novel-hub-wrapper.template-a .hub-card p {
    color: #4A3D30;
    line-height: 1.85;
    margin: 0 0 12px 0;
    text-align: justify;
}
.novel-hub-wrapper.template-a .hub-card p:last-child {
    margin-bottom: 0;
}
.novel-hub-wrapper.template-a .hub-setting-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.novel-hub-wrapper.template-a .setting-item {
    position: relative;
    padding: 10px 12px 10px 28px;
    margin-bottom: 8px;
    background: var(--t-bg-info);
    border-radius: var(--t-radius-sm);
    font-size: 14px;
    line-height: 1.7;
    color: #4A3D30;
}
.novel-hub-wrapper.template-a .setting-item::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 17px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--t-primary);
}
.novel-hub-wrapper.template-a .setting-item:last-child {
    margin-bottom: 0;
}
.novel-hub-wrapper.template-a .hub-char-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.novel-hub-wrapper.template-a .char-single-card {
    background: var(--t-bg-card);
    border: 1px solid var(--t-border-light);
    border-left: 3px solid var(--t-primary);
    border-radius: var(--t-radius-sm);
    padding: 14px 16px;
    transition: border-color 0.2s ease;
}
.novel-hub-wrapper.template-a .char-single-card:hover {
    border-left-color: var(--t-accent);
}
.novel-hub-wrapper.template-a .char-single-card .char-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    border-bottom: 1px dashed #f0f0f0;
    padding-bottom: 8px;
}
.novel-hub-wrapper.template-a .char-single-card .char-name {
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--t-text-main);
    margin: 0;
}
.novel-hub-wrapper.template-a .char-single-card .char-role-badge {
    font-size: 11px;
    color: var(--t-primary);
    background: var(--t-primary-light);
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 500;
    white-space: nowrap;
}
.novel-hub-wrapper.template-a .char-single-card .char-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--t-text-sub);
    margin: 0;
    text-align: justify;
}
.novel-hub-wrapper.template-a .preview-content {
    font-family: Georgia, "Noto Serif SC", "Source Han Serif SC", serif;
    font-size: 15px;
    line-height: 2;
    color: #3D3028;
    background: var(--t-bg-preview);
    padding: 24px 20px;
    border-radius: var(--t-radius-sm);
    border: 1px solid var(--t-border);
    position: relative;
}
.novel-hub-wrapper.template-a .preview-content::before {
    content: "\201C";
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 48px;
    color: var(--t-border);
    font-family: Georgia, serif;
    line-height: 1;
}
.novel-hub-wrapper.template-a .preview-content p {
    text-indent: 2em;
    margin: 0 0 8px 0;
}
.novel-hub-wrapper.template-a .preview-content p:last-child {
    margin-bottom: 0;
}
.novel-hub-wrapper.template-a .version-list {
    background: var(--t-bg-card);
    border: 1px solid var(--t-border);
    border-radius: var(--t-radius-sm);
    overflow: hidden;
    margin-bottom: 14px;
}
.novel-hub-wrapper.template-a .version-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--t-border-light);
}
.novel-hub-wrapper.template-a .version-row:last-child {
    border-bottom: none;
}
.novel-hub-wrapper.template-a .ver-label {
    color: var(--t-text-sub);
    font-size: 13px;
    flex-shrink: 0;
    min-width: 70px;
}
.novel-hub-wrapper.template-a .ver-value {
    color: var(--t-text-main);
    font-size: 14px;
    text-align: right;
    font-weight: 500;
}
.novel-hub-wrapper.template-a .hub-download-box {
    background: linear-gradient(135deg, var(--t-accent) 0%, var(--t-accent-hover) 100%);
    border-radius: var(--t-radius);
    box-shadow: 0 4px 14px rgba(201, 111, 61, 0.25);
    padding: 28px 20px;
    text-align: center;
    max-width: 380px;
    margin: 20px auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.novel-hub-wrapper.template-a .hub-download-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 111, 61, 0.35);
}
.novel-hub-wrapper.template-a .download-title {
    color: #ffffff;
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.novel-hub-wrapper.template-a .download-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}
.novel-hub-wrapper.template-a .download-btn {
    display: block;
    background: #ffffff;
    color: var(--t-accent);
    font-size: 16px;
    font-weight: 700;
    padding: 13px 0;
    border-radius: var(--t-radius-sm);
    text-decoration: none;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}
.novel-hub-wrapper.template-a .download-btn:hover {
    background: #FFF9F1;
    color: var(--t-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.novel-hub-wrapper.template-a .hub-faq-item {
    border: 1px solid var(--t-border-light);
    border-radius: var(--t-radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.novel-hub-wrapper.template-a .hub-faq-item:hover {
    border-color: var(--t-border);
}
.novel-hub-wrapper.template-a .hub-faq-item:last-child {
    margin-bottom: 0;
}
.novel-hub-wrapper.template-a .faq-question {
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--t-text-main);
    cursor: pointer;
    background: var(--t-bg-info);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease;
}
.novel-hub-wrapper.template-a .faq-question:hover {
    background: #EFE5D8;
}
.novel-hub-wrapper.template-a .faq-question::-webkit-details-marker {
    display: none;
}
.novel-hub-wrapper.template-a .faq-question::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--t-primary);
    border-bottom: 2px solid var(--t-primary);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 12px;
}
.novel-hub-wrapper.template-a details[open] .faq-question::after {
    transform: rotate(-135deg);
}
.novel-hub-wrapper.template-a details[open] .faq-question {
    background: #EFE5D8;
    border-bottom: 1px solid var(--t-border-light);
}
.novel-hub-wrapper.template-a .faq-answer {
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.75;
    color: #4A3D30;
    background: var(--t-bg-card);
}
@media (max-width: 768px) {
    .novel-hub-wrapper.template-a {
        width: calc(100% - 4px);
        max-width: none;
        margin: 0 auto;
        padding: 10px 6px;
        border-radius: 6px;
    }
    .novel-hub-wrapper.template-a .hub-card {
        padding: 16px 14px;
        margin-bottom: 10px;
        border-radius: 8px;
    }
    .novel-hub-wrapper.template-a .hub-card-title {
        padding-left: 10px;
        font-size: 1.05rem;
        margin-bottom: 12px;
    }
    .novel-hub-wrapper.template-a .hub-meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 12px;
    }
    .novel-hub-wrapper.template-a .meta-item {
        padding: 6px 2px;
    }
    .novel-hub-wrapper.template-a .setting-item {
        padding: 8px 10px 8px 24px;
        font-size: 13.5px;
    }
    .novel-hub-wrapper.template-a .setting-item::before {
        left: 8px;
        top: 15px;
    }
    .novel-hub-wrapper.template-a .char-single-card {
        padding: 12px;
    }
    .novel-hub-wrapper.template-a .preview-content {
        padding: 18px 14px;
        font-size: 14.5px;
    }
    .novel-hub-wrapper.template-a .preview-content::before {
        font-size: 36px;
        top: 6px;
        left: 8px;
    }
    .novel-hub-wrapper.template-a .version-row {
        padding: 10px 12px;
    }
    .novel-hub-wrapper.template-a .hub-download-box {
        max-width: 100%;
        padding: 22px 16px;
        margin: 16px auto;
    }
    .novel-hub-wrapper.template-a .faq-question {
        padding: 12px 14px;
        font-size: 13.5px;
    }
    .novel-hub-wrapper.template-a .faq-answer {
        padding: 12px 14px;
        font-size: 13.5px;
    }
}

/* =========================================
   7. 分类/归档页面 — 纸感暖色风格
   ========================================= */

/* 页面背景 */
body.category,
body.archive {
    background: #FBF3E7 !important;
}

/* 内容区域 */
body.category .content-area,
body.archive .content-area {
    background: #FBF3E7;
    padding: 24px 0;
}

/* 归档页头部 */
body.category .content-area .site-main > header,
body.archive .content-area .site-main > header {
    background: linear-gradient(180deg, #FDF6EA, #FFF9F1);
    border: 1px solid #EADFC9;
    border-radius: 14px;
    padding: 28px 30px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(122,79,51,.08);
}

/* 归档页标题 */
body.category .content-area .site-main > header .page-title,
body.archive .content-area .site-main > header .page-title {
    font-size: 28px !important;
    color: #7A4F33 !important;
    letter-spacing: 3px;
    margin: 0 0 8px 0;
    font-weight: 700;
}

/* 归档页描述 */
body.category .content-area .site-main > header .term-description,
body.archive .content-area .site-main > header .term-description {
    color: #8B7662;
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

/* 文章列表间距 */
body.category ul.kadence-posts-list,
body.archive ul.kadence-posts-list {
    row-gap: 18px !important;
    gap: 18px !important;
}

/* 文章卡片 — 暖色纸感 */
body.category .loop-entry,
body.archive .loop-entry {
    background: #FFF9F1 !important;
    border: 1px solid #EADFC9 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 10px rgba(122,79,51,.08) !important;
    transition: transform .2s ease, box-shadow .2s ease;
}
body.category .loop-entry:hover,
body.archive .loop-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122,79,51,.14) !important;
}

/* 卡片内边距 */
body.category .loop-entry .entry-content-wrap,
body.archive .loop-entry .entry-content-wrap {
    padding: 18px 20px !important;
}

/* 卡片标题（分类页需要显示，覆盖第5节的隐藏规则） */
body.category .loop-entry .entry-title,
body.archive .loop-entry .entry-title {
    display: block !important;
}
body.category .loop-entry .entry-title a,
body.archive .loop-entry .entry-title a {
    color: #31251B !important;
    font-size: 17px !important;
    font-weight: 600;
    line-height: 1.5;
    transition: color .2s;
}
body.category .loop-entry .entry-title a:hover,
body.archive .loop-entry .entry-title a:hover {
    color: #C96F3D !important;
}

/* 元信息 */
body.category .loop-entry .entry-meta,
body.archive .loop-entry .entry-meta {
    color: #8B7662;
    font-size: 13px;
}
body.category .loop-entry .entry-meta a,
body.archive .loop-entry .entry-meta a {
    color: #9B6B4A;
}

/* 摘要 */
body.category .loop-entry .entry-summary,
body.archive .loop-entry .entry-summary {
    color: #5A4A3A !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

/* 分类标签 */
body.category .loop-entry .entry-meta .cat-links a,
body.archive .loop-entry .entry-meta .cat-links a {
    background: #F6EBDD !important;
    color: #9B6B4A !important;
    border: 1px solid #9B6B4A !important;
    border-radius: 6px !important;
    padding: 2px 10px !important;
    font-size: 12px !important;
    transition: all .2s;
}
body.category .loop-entry .entry-meta .cat-links a:hover,
body.archive .loop-entry .entry-meta .cat-links a:hover {
    background: #C96F3D !important;
    color: #fff !important;
}

/* 下载链接 */
body.category .loop-entry .post-more-link::after,
body.archive .loop-entry .post-more-link::after {
    color: #C96F3D !important;
    font-weight: 600;
}

/* 隐藏作者名 */
body.category .loop-entry .entry-meta .posted-by,
body.category .loop-entry .entry-meta .author-name,
body.archive .loop-entry .entry-meta .posted-by,
body.archive .loop-entry .entry-meta .author-name {
    display: none !important;
}

/* 分页 */
body.category .nav-links a,
body.archive .nav-links a {
    background: #FFF9F1 !important;
    border: 1px solid #EADFC9 !important;
    color: #7A4F33 !important;
    border-radius: 10px !important;
    padding: 10px 24px !important;
    font-size: 15px !important;
    transition: all .2s;
    text-decoration: none;
}
body.category .nav-links a:hover,
body.archive .nav-links a:hover {
    background: #C96F3D !important;
    color: #fff !important;
    border-color: #C96F3D !important;
}
body.category .nav-links .current,
body.archive .nav-links .current {
    background: #9B6B4A !important;
    color: #fff !important;
    border: 1px solid #9B6B4A !important;
    border-radius: 10px !important;
    padding: 10px 24px !important;
}

/* 无结果提示 */
body.category .no-results,
body.archive .no-results {
    background: #FFF9F1;
    border: 1px solid #EADFC9;
    border-radius: 14px;
    padding: 30px;
    text-align: center;
}

/* 分类页移动端 */
@media (max-width: 768px) {
    body.category .content-area .site-main > header,
    body.archive .content-area .site-main > header {
        padding: 20px 16px;
    }
    body.category .content-area .site-main > header .page-title,
    body.archive .content-area .site-main > header .page-title {
        font-size: 22px !important;
    }
    body.category .loop-entry .entry-content-wrap,
    body.archive .loop-entry .entry-content-wrap {
        padding: 14px 14px !important;
    }
}
.page-id-3644 .entry-header.page-title{display:none !important}


/* =========================================
   新文章页样式（可追加版）
   说明：已把全局规则收窄到 .novel-page 作用域，
   与上方全站 CSS 零冲突，直接粘贴到原 CSS 末尾即可。
   ========================================= */
:root{
  --bg:#f7f8fa; --card:#ffffff; --line:#e8eaf0; --ink:#232834; --muted:#7c8294;
  --brand:#4a5ac9; --brand-deep:#39479f; --brand-soft:#eef0fc;
  --amber:#e8a13c; --amber-deep:#b97d1a; --ok:#0ea97a;
}
.novel-page *{box-sizing:border-box;margin:0;padding:0}
.novel-page{scroll-behavior:smooth}
.novel-page{background:var(--card);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;line-height:1.85;padding:0 14px 60px;border-radius:14px}
.novel-page .novel-page .wrap{max-width:760px;margin:0 auto}

/* ===== 1 标题区：像小说站的标题行，不是大卡片 ===== */
.info-hero{padding:36px 4px 10px;border-bottom:1px solid var(--line);margin-bottom:8px}
.hero-title{font-size:1.9rem;font-weight:800;line-height:1.35;letter-spacing:.3px}
.hero-badge{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 12px}
.hero-badge span{display:inline-block;padding:2px 12px;border-radius:999px;font-size:.78rem;color:var(--brand-deep);background:var(--brand-soft);border:1px solid #d8dbf3}
.hero-lead{font-size:1.05rem;color:#4a4f5e;font-weight:500;margin-bottom:6px}

/* ===== 2 页面导航：结构化目录 ===== */
.toc{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 16px;margin:6px 0 20px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.toc-title{font-size:.78rem;font-weight:800;color:var(--muted);letter-spacing:1px;margin-right:4px}
.toc-item{display:inline-block;padding:4px 14px;border-radius:999px;font-size:.86rem;font-weight:600;color:var(--brand-deep);background:var(--brand-soft);border:1px solid #d8dbf3;text-decoration:none;transition:all .15s}
.toc-item:hover{border-color:var(--brand);transform:translateY(-1px)}
.toc-cta{background:linear-gradient(135deg,#f5a524,#ea7d0b);color:#fff;border:none;box-shadow:0 6px 14px rgba(234,125,11,.28)}
.toc-cta:hover{color:#fff;box-shadow:0 8px 18px rgba(234,125,11,.4)}

/* ===== 2b 信息条：单行点分隔，学 entry-meta ===== */
.facts{list-style:none;display:flex;flex-wrap:wrap;gap:4px 0;padding:12px 0 6px;color:var(--muted);font-size:.88rem}
.fact-item{display:inline}
.fact-item + .fact-item::before{content:"·";margin:0 9px;color:#c6cad6}
.fact-label{color:#9aa0b0}
.fact-value{color:var(--ink);font-weight:600}
.fact-value a{color:var(--brand);text-decoration:none}
.fact-value a:hover{text-decoration:underline}

/* ===== 正文区：文字流为主 ===== */
.novel-page h2{font-size:1.22rem;line-height:1.5;margin:38px 0 14px;display:flex;align-items:center;gap:10px}
.novel-page h2::before{content:"";width:4px;height:20px;border-radius:2px;background:var(--brand);flex-shrink:0}
.novel-page h3{font-size:1.05rem;margin:0 0 12px;color:var(--brand-deep);font-weight:700}

/* ===== 3 简介：prose 段落 ===== */
.synopsis{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px 26px}
.synopsis p{margin:0 0 13px;color:#3d4048;font-size:.99rem}
.synopsis p:last-of-type{margin-bottom:0}
.synopsis-source{font-size:.76rem;color:#a8a1a1;text-align:right;margin-top:10px}

/* ===== 4 试读 ===== */
.sample{background:#fffef9;border:1px solid #eee3c8;border-radius:12px;padding:22px 26px;position:relative}
.sample::before{content:"";position:absolute;left:14px;top:14px;bottom:14px;width:3px;border-radius:2px;background:linear-gradient(180deg,#efc270,#dda645)}
.sample p{margin:0 0 14px;text-indent:2em;color:#3d4048;font-size:.99rem}
.sample p:last-of-type{margin-bottom:0}
.sample-source{font-size:.76rem;color:#a8a1a1;text-align:right;margin-top:10px;text-indent:0}

/* ===== 5 亮点 ===== */
.highlights{list-style:none}
.highlight-item{padding:8px 2px;border-bottom:1px dashed var(--line);font-size:.97rem;color:#3d4048}
.highlight-item:last-child{border-bottom:none}
.highlight-item::before{content:"◆ ";color:var(--amber);font-size:.8rem}

/* ===== 6 导读 ===== */
.guide{list-style:none}
.guide-item{padding:8px 2px;border-bottom:1px dashed var(--line);font-size:.96rem;color:#3d4048}
.guide-item:last-child{border-bottom:none}
.guide-item b{color:var(--amber-deep);font-weight:700;margin-right:8px;font-size:.86rem}

/* ===== 7 版本信息 + 获取 ===== */
.version-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 14px 12px;margin-bottom:12px}
.version-card .version-facts{background:none;border:0;border-radius:0;padding:0;margin:0 0 10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.version-facts .fact-item{display:flex;flex-direction:column;gap:2px;padding:4px 6px;text-align:center;min-width:0}
.version-facts .fact-label{font-size:.6rem;color:var(--muted);white-space:nowrap;line-height:1.2;height:1.2em;display:flex;align-items:center;justify-content:center}
.version-facts .fact-value{font-size:.76rem;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1.2;height:1.6em;display:flex;align-items:center;justify-content:center}
.get-box{background:linear-gradient(135deg,#f0f9ff,#e9f5ff);border:1px solid #c9e3f5;border-radius:12px;padding:10px 14px;text-align:center}
.get-box p{color:var(--muted);font-size:.78rem;margin-bottom:8px}
.version-other{background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px 14px;margin-bottom:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;list-style:none;color:var(--muted);font-size:.88rem}
.version-other .fact-item{display:flex;flex-direction:column;gap:1px;padding:4px 6px;min-width:0}
.version-other .fact-label{font-size:.6rem;color:var(--muted);white-space:nowrap;line-height:1.2;height:1.2em;display:flex;align-items:center}
.version-other .fact-value{font-size:.76rem;font-weight:700;color:var(--ink);line-height:1.45;overflow-wrap:break-word}
.version-other .fact-value a{color:var(--brand);text-decoration:none}
.version-other .fact-item + .fact-item::before{content:none}
.version-facts .fact-item + .fact-item::before{content:none}
@media(max-width:480px){
.version-other{grid-template-columns:repeat(2,minmax(0,1fr))}
.version-facts .fact-value{font-size:.72rem}
.version-other .fact-value{font-size:.72rem}
.get-box p{font-size:.75rem}
.get-btn{font-size:.86rem;padding:8px 24px}
}
.get-btn{display:inline-flex;align-items:center;gap:7px;background:linear-gradient(135deg,#f5a524,#ea7d0b);color:#fff;font-weight:800;font-size:.92rem;padding:9px 28px;border-radius:999px;text-decoration:none;box-shadow:0 10px 22px rgba(234,125,11,.3);transition:transform .15s}
.get-btn:hover{transform:translateY(-2px)}
.get-btn svg{width:16px;height:16px;fill:#fff}

/* ===== 0 顶部导航 + 面包屑：由 WP 主题渲染，本 CSS 不再包含 ===== */

/* ===== 13b 同分类更多（真实同分类文章） ===== */

/* ===== 页脚分类导航 ===== */
.cat-nav{margin:26px 0 14px;padding-top:14px;border-top:1px solid var(--line);text-align:center}
.cat-nav-title{font-size:.78rem;color:var(--muted);letter-spacing:1px;margin-bottom:8px}
.cat-nav a{display:inline-block;color:var(--brand);text-decoration:none;font-size:.86rem;margin:4px 8px}
.cat-nav a:hover{text-decoration:underline}

/* ===== 8 文件适配提示（8.10 优点：设备适配） ===== */
.tip-box{background:#f3faf6;border:1px solid #cfe7d9;border-radius:12px;padding:18px 22px}
.tip-list{list-style:none}
.tip-item{padding:7px 2px;border-bottom:1px dashed #d8e8de;font-size:.95rem;color:#3d4048}
.tip-item:last-child{border-bottom:none}
.tip-item b{color:var(--ok);font-weight:700;margin-right:8px}

/* ===== 9 本版修订记录（8.10 优点：文件版本可追溯） ===== */
.record-box{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 22px}
.record-list{list-style:none}
.record-item{padding:7px 2px;border-bottom:1px dashed var(--line);font-size:.95rem;color:#3d4048}
.record-item:last-child{border-bottom:none}
.record-version{display:inline-block;padding:1px 10px;border-radius:999px;background:var(--brand-soft);color:var(--brand-deep);font-size:.78rem;font-weight:700;margin-right:10px}

/* ===== 8 官方数据卡 ===== */
.source-card{background:linear-gradient(135deg,#fffcf3,#fdf6e2);border:1px solid #efe0b4;border-radius:12px;padding:18px 20px}
.card-line{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin-bottom:12px}
.source-num{background:rgba(255,255,255,.92);border:1px solid #efe0b4;border-radius:10px;padding:10px 12px;text-align:center}
.source-num-label{display:block;font-size:.74rem;color:#a08030;margin-bottom:2px}
.source-num-value{font-weight:800;font-size:1.18rem;color:#7c5c10;font-variant-numeric:tabular-nums}
.source-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.source-tag{display:inline-block;padding:2px 11px;border-radius:999px;font-size:.78rem;background:#fff;border:1px solid #e6d19c;color:#8a6d1f}
.source-note{font-size:.77rem;color:#b09657;margin-top:10px;border-top:1px dashed #e6d19c;padding-top:8px}

/* ===== 9 作者 ===== */
.author-card{background:#f6f4ff;border:1px solid #ded8f8;border-radius:12px;padding:18px 22px}
.novel-page .author-name{font-weight:800;font-size:1.02rem;color:var(--brand-deep);display:block;margin-bottom:6px}
.author-desc{font-size:.95rem;color:#3d4048}

/* ===== 10 FAQ ===== */
.faq{border:1px solid var(--line);border-radius:10px;margin:0 0 10px;background:#fff;overflow:hidden}
.faq summary{cursor:pointer;font-weight:700;padding:13px 42px 13px 16px;position:relative;list-style:none;font-size:.97rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:15px;top:10px;font-size:1.3rem;color:var(--brand)}
.faq[open] summary::after{transform:rotate(45deg)}
.faq p{margin:0;padding:2px 16px 14px;color:#3d4048;font-size:.94rem}
.faq p::before{content:"答：";color:var(--ok);font-weight:700}

/* ===== 13 相关推荐 ===== */
.more{list-style:none}
.more-item{background:#fff;border:1px solid var(--line);border-radius:10px;padding:13px 16px;margin-bottom:10px;transition:all .15s}
.more-item:hover{border-color:var(--brand);background:var(--brand-soft);transform:translateY(-1px)}
.more-item a{color:var(--ink);text-decoration:none;font-weight:700;font-size:.97rem}
.more-item a:hover{color:var(--brand)}
.more-item span{display:block;color:var(--muted);font-size:.86rem;margin-top:3px;line-height:1.6}
.more-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:38px 0 14px;flex-wrap:wrap}
.more-head h2{margin:0}
.more-more{color:var(--brand);text-decoration:none;font-weight:700;font-size:.92rem;white-space:nowrap}
.more-more:hover{text-decoration:underline}

@media(max-width:520px){
  .hero-title{font-size:1.55rem}
  .info-hero{padding-top:26px}
  .novel-page h2{margin-top:30px}
  .synopsis,.sample{padding:18px 16px}
}

/* ===== 追加A：保留 WP 主题标题，隐藏 v9 hero 标题（避免双重标题） ===== */
.novel-page .hero-title{display:none}
.novel-page .info-hero{padding-top:18px}

/* ===== 追加B：移动端正文（系统黑体 15-17px / 字重400 / 行距1.6+ / 深灰#333） ===== */
@media(max-width:768px){
  .novel-page{font-size:16px;color:#333}
  .novel-page p,
  .novel-page li,
  .novel-page .hero-lead,
  .novel-page .author-desc,
  .novel-page .faq p,
  .novel-page .guide-item,
  .novel-page .tip-item,
  .novel-page .record-item,
  .novel-page .more-item span{
    font-size:16px;line-height:1.75;color:#333;font-weight:400
  }
  .novel-page h2{font-size:1.28rem;line-height:1.4}
  .novel-page h3{font-size:1.02rem}
  .novel-page .more-item a{font-size:1rem}
}
