/**
 * ============================================
 * 小说站CSS（暖米色卡片风格·仿shennantonhouse）
 * ============================================
 * 暖米色背景 + 白色圆角卡片 + 赭石棕主色
 * 居中胶囊导航 + 搜索框 + 手机自适应
 */

/* --- 全局基础 --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    color: #3f352a;
    background: #f3eee5;
    /* 防止任何文字溢出容器 */
    overflow-wrap: break-word;
    word-break: break-word;
    word-wrap: break-word;
}
a {
    color: #9c5a2d;
    text-decoration: none;
    transition: color .2s;
}
a:hover {
    color: #7c4522;
    text-decoration: none;
}

/* 长文本兜底：所有容器内文字自动换行，不溢出 */
input, button, .site-logo a, .cat-link, .chip, .novel-tag,
.search-tags a, .chapter-link, .ch-item, .ng-title,
.list-name, .card-title, .list-meta, .list-name {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* --- 页面主容器（卡片区最宽1100px） --- */
@media (min-width: 900px) {
    body { padding: 0 20px; }
}

/* --- 顶部：居中胶囊导航 --- */
.site-header {
    background: transparent;
    padding: 18px 12px 6px;
    text-align: center;
}
.site-header .header-inner { display: block; }
.site-logo {
    margin-bottom: 14px;
}
.site-logo a {
    display: inline-block;
    font-size: 22px;
    color: #9c5a2d;
    font-weight: 600;
    letter-spacing: 3px;
    padding: 8px 34px;
    border: 2px solid #c9a27a;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(120,80,30,.08);
}
.site-logo a:hover { color: #7c4522; border-color: #9c5a2d; }
.header-right { display: none; }   /* 旧"首页"按钮隐藏（导航里已有） */

/* --- 分类导航（胶囊行） --- */
.category-nav {
    background: transparent;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    border-bottom: none;
    max-width: 1100px;
    margin: 0 auto 12px;
}
.category-nav .cat-link {
    font-size: 14px;
    color: #6f6152;
    padding: 6px 22px;
    border: 1px solid #e5d9c6;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(120,80,30,.05);
    transition: all .2s;
}
.category-nav .cat-link.active,
.category-nav .cat-link:hover {
    background: #9c5a2d;
    color: #fff;
    border-color: #9c5a2d;
    text-decoration: none;
}

/* --- 搜索框（胶囊） --- */
.search-bar {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 460px;
    margin: 0 auto 6px;
    padding: 0 12px;
}
.search-bar input {
    flex: 1;
    min-width: 0;
    height: 38px;
    border: 1px solid #e5d9c6;
    border-right: none;
    border-radius: 999px 0 0 999px;
    padding: 0 18px;
    font-size: 14px;
    color: #3f352a;
    background: #fff;
    outline: none;
}
.search-bar input:focus { border-color: #c9a27a; }
.search-bar button {
    height: 38px;
    padding: 0 22px;
    border: none;
    border-radius: 0 999px 999px 0;
    background: #9c5a2d;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s;
}
.search-bar button:hover { background: #7c4522; }

/* --- 面包屑 --- */
.breadcrumb {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 16px;
    font-size: 13px;
    color: #8c7f6c;
    background: transparent;
    border-bottom: none;
}
.breadcrumb a { color: #8c7f6c; }
.breadcrumb a:hover { color: #9c5a2d; }
.breadcrumb .sep { color: #c9bca8; margin: 0 4px; }

/* --- 通用卡片 --- */
.book-info,
.book-intro,
.latest-chapters,
.all-chapters,
.recommend-box,
.more-recommend-box,
.related-search,
.article-page,
.home-section,
.list-head,
.home-section,
.site-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 6px rgba(110,75,30,.06);
    margin-bottom: 16px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 900px) {
    .book-info,
    .book-intro,
    .latest-chapters,
    .all-chapters,
    .recommend-box,
    .more-recommend-box,
    .related-search,
    .article-page,
    .home-section,
    .list-head { padding-left: 4px; padding-right: 4px; }
}

/* --- 小说信息卡 --- */
.book-info {
    padding: 22px 20px;
    display: flex;
    gap: 20px;
}
.book-cover { width: 132px; flex-shrink: 0; }
.cover-placeholder {
    width: 132px;
    height: 176px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(90,55,20,.18);
}
.cover-placeholder .cover-title,
.cover-img .cover-title {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
    word-break: break-all;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    max-height: 96px;
    overflow: hidden;
}
.cover-placeholder .cover-author,
.cover-img .cover-author {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    margin-top: 8px;
}
.cover-img {
    width: 132px;
    height: 176px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(90,55,20,.18);
    background-color: #9c5a2d;
}
.book-detail { flex: 1; min-width: 0; }
.book-title {
    font-size: 24px;
    color: #33291e;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 600;
}
.book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    font-size: 12px;
    color: #8c7f6c;
    margin-bottom: 10px;
}
.book-meta .meta-item {
    background: #f6f0e6;
    border-radius: 999px;
    padding: 2px 10px;
}
.book-meta .meta-item em { color: #a3937e; font-style: normal; }
.book-latest {
    font-size: 13px;
    color: #8c7f6c;
    margin-bottom: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.book-latest em { color: #a3937e; font-style: normal; }
.book-latest a { color: #9c5a2d; font-weight: 500; }
.book-latest .update-time { color: #b0905e; font-size: 12px; margin-left: 6px; }
.book-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.novel-tag {
    font-size: 12px;
    color: #9c6a3d;
    background: #f6ece0;
    padding: 3px 12px;
    border-radius: 999px;
    border: none;
}
.book-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 26px;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
}
.btn-read {
    background: #9c5a2d;
    color: #fff;
    border: none;
    font-weight: 500;
}
.btn-read:hover { background: #7c4522; color: #fff; text-decoration: none; }
.btn-chapters {
    background: #fff;
    color: #9c5a2d;
    border: 1px solid #c9a27a;
}
.btn-chapters:hover { background: #f6ece0; color: #7c4522; text-decoration: none; }
.btn-fav {
    background: #fff;
    color: #9c5a2d;
    border: 1px solid #c9a27a;
}
.btn-fav:hover { background: #f6ece0; }

/* --- 小说简介 --- */
.book-intro { padding-bottom: 16px; }
.intro-content {
    padding: 10px 20px 0;
    font-size: 14px;
    color: #6f6152;
    line-height: 2;
}
.intro-content p { margin-bottom: 8px; text-indent: 2em; }
.intro-content a { color: #9c5a2d; }

/* --- 内容区块标题 --- */
.box-title {
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.box-title h3 {
    font-size: 17px;
    color: #33291e;
    font-weight: 600;
    position: relative;
    padding-left: 12px;
}
.box-title h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: #9c5a2d;
    border-radius: 2px;
}

/* --- 最新章节（网格小条） --- */
.chapter-list {
    padding: 4px 16px 14px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.chapter-link {
    display: block;
    padding: 9px 10px;
    font-size: 13px;
    color: #6f6152;
    background: #fff;
    border: 1px solid #f0e7d8;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: all .2s;
}
.chapter-link:hover {
    color: #9c5a2d;
    border-color: #c9a27a;
    background: #fdf9f3;
}

/* --- 全部章节目录 --- */
.chapter-total { font-size: 13px; color: #a3937e; }
.chapter-grid {
    padding: 4px 16px 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.chapter-grid .ch-item {
    display: block;
    padding: 9px 10px;
    font-size: 13px;
    color: #6f6152;
    text-decoration: none;
    text-align: center;
    background: #fff;
    border: 1px solid #f0e7d8;
    border-radius: 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: all .2s;
}
.chapter-grid .ch-item:hover {
    color: #9c5a2d;
    border-color: #c9a27a;
    background: #fdf9f3;
}
.chapter-toggle-wrap { text-align: center; padding: 6px 0 16px; }
.chapter-toggle {
    color: #9c5a2d;
    font-size: 14px;
    cursor: pointer;
    display: inline-block;
    padding: 6px 10px;
}
.chapter-toggle:hover { color: #7c4522; }

/* --- 相关搜索 / 标签云 --- */
.related-search { padding-bottom: 14px; }
.search-tags {
    padding: 4px 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.search-tags a {
    font-size: 13px;
    color: #9c6a3d;
    background: #f6ece0;
    padding: 5px 16px;
    border-radius: 999px;
    text-decoration: none;
    transition: all .2s;
}
.search-tags a:hover { background: #9c5a2d; color: #fff; }

/* --- 推荐阅读 --- */
.recommend-list { padding: 6px 20px 14px; }
.rec-link {
    display: block;
    padding: 9px 0;
    font-size: 14px;
    color: #6f6152;
    border-bottom: 1px dashed #f0e7d8;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.rec-link:last-child { border-bottom: none; }
.rec-link:hover { color: #9c5a2d; }
.rec-cat { color: #b0905e; font-size: 12px; margin-right: 4px; }
.rec-name { color: #9c5a2d; }
.rec-author { color: #a3937e; font-size: 12px; margin-left: 6px; }

/* --- 更多推荐（网格） --- */
.more-rec-count { font-size: 13px; color: #a3937e; }
.more-rec-grid {
    padding: 6px 16px 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.more-rec-item {
    display: block;
    padding: 12px 14px;
    background: #faf6ef;
    border: 1px solid #f0e7d8;
    border-radius: 10px;
    transition: all .2s;
    overflow: hidden;
}
.more-rec-item:hover {
    background: #fdf9f3;
    border-color: #c9a27a;
    text-decoration: none;
}
.more-rec-title {
    display: block;
    font-size: 14px;
    color: #9c5a2d;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.more-rec-meta {
    display: block;
    font-size: 12px;
    color: #a3937e;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* --- 首页区块 --- */
.home-section { margin-bottom: 16px; }
.box-more { font-size: 13px; color: #a3937e; }
.box-more:hover { color: #9c5a2d; }

/* --- 图文卡片网格 --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 6px 16px 16px;
}
@media (min-width: 900px) {
    .card-grid { grid-template-columns: repeat(4, 1fr); }
}
.novel-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #f0e7d8;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all .2s;
}
.novel-card:hover {
    box-shadow: 0 4px 14px rgba(110,75,30,.12);
    border-color: #e0c9a8;
    transform: translateY(-2px);
}
.card-cover {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    background-size: cover;
    background-position: center;
}
.card-cover span {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 12px 12px;
}
.card-title {
    font-size: 14px;
    color: #33291e;
    font-weight: 600;
    line-height: 1.4;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.card-meta { font-size: 12px; color: #a3937e; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* --- 文字列表 --- */
.text-list { padding: 6px 20px 12px; }
.text-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 0;
    border-bottom: 1px dashed #f0e7d8;
    text-decoration: none;
    font-size: 13px;
}
.text-item:last-child { border-bottom: none; }
.text-item:hover .ti-name { color: #9c5a2d; }
.ti-cat { color: #b0905e; flex-shrink: 0; }
.ti-name {
    color: #55483a;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.ti-ch {
    color: #9c5a2d;
    flex-shrink: 0;
    max-width: 45%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.ti-author { color: #a3937e; flex-shrink: 0; }
.ti-update { color: #b3a58f; flex-shrink: 0; font-size: 12px; }

/* --- 列表页 --- */
.list-head { padding: 14px 20px; }
.list-title { font-size: 18px; color: #33291e; font-weight: 600; }
.list-count { font-size: 12px; color: #a3937e; }

/* ★ 列表页大卡片（标题栏 + 4列网格） */
.list-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 6px rgba(110,75,30,.06);
    max-width: 1100px;
    margin: 0 auto 16px;
    overflow: hidden;
}
.novel-grid4 {
    padding: 6px 16px 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 12px;
}
.ng-item {
    display: flex;
    gap: 10px;
    padding: 8px 6px;
    border-radius: 10px;
    text-decoration: none;
    transition: background .2s;
}
.ng-item:hover { background: #faf6ef; }
.ng-cover {
    width: 64px;
    height: 86px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 5px;
    background-size: cover;
    background-position: center;
    background-color: #9c5a2d;
    box-shadow: 0 2px 6px rgba(90,55,20,.15);
}
.ng-cover span {
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ng-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}
.ng-title {
    font-size: 14px;
    color: #9c5a2d;
    font-weight: 600;
    line-height: 1.4;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.ng-author {
    font-size: 12px;
    color: #8c7f6c;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.ng-desc {
    font-size: 12px;
    color: #a3937e;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}
.ng-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: auto;
}
.ng-tags i {
    font-style: normal;
    font-size: 11px;
    color: #9c6a3d;
    background: #f6ece0;
    padding: 1px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

/* ★ 分页栏（5等宽按钮：首页/上一页/页码/下一页/末页） */
.page-bar {
    max-width: 1100px;
    margin: 0 auto 16px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.page-bar a, .page-bar span {
    display: block;
    text-align: center;
    padding: 11px 0;
    border-radius: 8px;
    font-size: 14px;
    transition: all .2s;
}
.page-bar a {
    background: #fff;
    color: #6f6152;
    border: 1px solid #f0e7d8;
}
.page-bar a:hover {
    color: #9c5a2d;
    border-color: #c9a27a;
    background: #fdf9f3;
    text-decoration: none;
}
.page-bar .pg-cur {
    background: #9c5a2d;
    color: #fff;
    border: 1px solid #9c5a2d;
    font-weight: 500;
}
.page-bar .pg-disabled {
    background: #f5f0e6;
    color: #b3a58f;
    border: 1px solid #e5d9c6;
    cursor: not-allowed;
}

/* --- 旧纵向列表（保留兼容其他调用处） --- */
.list-grid {
    max-width: 1100px;
    margin: 0 auto 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.list-item {
    display: flex;
    gap: 14px;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 1px 6px rgba(110,75,30,.06);
    transition: all .2s;
}
.list-item:hover {
    box-shadow: 0 4px 14px rgba(110,75,30,.12);
}
.list-cover {
    width: 90px;
    height: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 6px;
    background-size: cover;
    background-position: center;
}
.list-cover span {
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.list-info { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.list-name {
    font-size: 15px;
    color: #33291e;
    font-weight: 600;
    line-height: 1.4;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.list-meta { font-size: 12px; color: #a3937e; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.list-meta.latest { color: #9c5a2d; }

/* --- 普通文章页 --- */
.article-page { padding: 20px; }
.article-page .article-title {
    font-size: 20px;
    color: #33291e;
    line-height: 1.4;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #9c5a2d;
    font-weight: 600;
}
.article-page .article-meta { font-size: 13px; color: #a3937e; margin-bottom: 15px; }
.article-page .article-content {
    font-size: 16px;
    line-height: 2;
    color: #4a3f31;
    text-align: justify;
}
.article-page .article-content p { margin-bottom: 12px; text-indent: 2em; }
.article-page .article-content a { color: #9c5a2d; }

/* --- 翻页导航 --- */
.page-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 15px 4px;
    gap: 10px;
}
.page-nav a {
    display: block;
    padding: 9px 28px;
    background: #9c5a2d;
    color: #fff;
    border-radius: 999px;
    font-size: 14px;
    text-align: center;
    transition: background .2s;
}
.page-nav a:hover { background: #7c4522; color: #fff; }

/* --- 底部 --- */
.site-footer {
    background: transparent;
    padding: 20px 15px 30px;
    text-align: center;
    font-size: 12px;
    color: #a3937e;
}
.site-footer a { color: #9c5a2d; }
.site-footer a:hover { color: #7c4522; }
.site-footer .footer-links { margin-bottom: 8px; line-height: 1.6; }

/* --- 隐藏非360蜘蛛可见内容 --- */
.spider-only {}

/* --- 封面渐变背景（8种配色） --- */
.cover-bg-0 { background: linear-gradient(135deg, #9c5a2d 0%, #c98a4b 100%); }
.cover-bg-1 { background: linear-gradient(135deg, #a4433a 0%, #d98a48 100%); }
.cover-bg-2 { background: linear-gradient(135deg, #6d4a8f 0%, #a673b8 100%); }
.cover-bg-3 { background: linear-gradient(135deg, #3d7a5c 0%, #6aa884 100%); }
.cover-bg-4 { background: linear-gradient(135deg, #8a5a2a 0%, #c9955c 100%); }
.cover-bg-5 { background: linear-gradient(135deg, #4a453d 0%, #7d7466 100%); }
.cover-bg-6 { background: linear-gradient(135deg, #8f3d4a 0%, #c76a76 100%); }
.cover-bg-7 { background: linear-gradient(135deg, #3a6a8f 0%, #6a9cc7 100%); }

/* --- 响应式调整 --- */
@media screen and (max-width: 760px) {
    html { font-size: 15px; }
    .site-logo a { font-size: 18px; padding: 7px 26px; }
    .category-nav { gap: 8px; padding: 0 8px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; justify-content: flex-start; }
    .category-nav .cat-link { font-size: 13px; padding: 5px 16px; white-space: nowrap; flex-shrink: 0; }
    .book-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 18px 14px;
    }
    .book-cover { width: 120px; }
    .cover-img, .cover-placeholder { width: 120px; height: 160px; }
    .book-detail { text-align: left; width: 100%; }
    .book-title { font-size: 20px; }
    .book-actions { justify-content: center; }
    .book-tags { justify-content: center; }
    .chapter-list, .chapter-grid { grid-template-columns: repeat(2, 1fr); }
    .box-title { padding: 12px 14px; }
    .chapter-list, .chapter-grid { padding: 4px 12px 12px; }
    .search-tags { padding: 4px 14px 0; }
    .recommend-list { padding: 6px 14px 12px; }
    .text-list { padding: 6px 14px 10px; }
    .article-page { padding: 16px 14px; }
    .article-page .article-title { font-size: 18px; }
    .article-page .article-content { font-size: 15px; }
    .page-nav { flex-wrap: wrap; }
    .page-nav a { padding: 8px 18px; font-size: 13px; }
    .action-btn { padding: 8px 18px; font-size: 13px; }
    .card-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .card-cover { height: 120px; }
    .breadcrumb { padding: 8px 12px; }
    /* 列表页网格：移动端 1 列 */
    .novel-grid4 { grid-template-columns: 1fr; padding: 6px 12px 12px; gap: 8px; }
    .ng-item { padding: 8px 4px; border-bottom: 1px dashed #f0e7d8; border-radius: 0; }
    .ng-item:last-child { border-bottom: none; }
    /* 分页栏移动端保持5列但按钮变小 */
    .page-bar { margin: 0 10px 16px; gap: 6px; }
    .page-bar a, .page-bar span { padding: 10px 0; font-size: 13px; }
}
