:root {
    --novel-ink: #182126;
    --novel-muted: #64706c;
    --novel-green: #13a36f;
    --novel-green-dark: #087a52;
    --novel-cream: #f8f5ed;
    --novel-line: #e6e4dc;
}

body { background: #fbfaf6; color: var(--novel-ink); }
body::before { display: none; }
.novel-page ~ .footer-container { display: none; }
.novel-page { min-height: 100vh; background: linear-gradient(180deg, #fff 0, #faf9f5 62%, #fff 100%); }
.novel-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(226, 226, 218, .9); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.novel-header-inner { width: min(1180px, calc(100% - 40px)); min-height: 68px; margin: auto; display: flex; align-items: center; gap: 34px; }
.novel-brand { display: inline-flex; align-items: center; gap: 10px; color: #16201c; text-decoration: none; white-space: nowrap; }
.novel-brand img { width: 34px; height: 34px; }
.novel-brand strong { font-size: 1.05rem; font-weight: 900; }
.novel-top-nav { display: flex; align-items: center; gap: 24px; }
.novel-top-nav a { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 68px; color: #5d6863; text-decoration: none; font-weight: 800; font-size: .9rem; }
.novel-top-nav a::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.novel-top-nav a:hover, .novel-top-nav a.is-active { color: var(--novel-green-dark); }
.novel-top-nav a.is-active::after { background: var(--novel-green); }
.novel-back { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid #e2e6e3; border-radius: 999px; color: #53605a; text-decoration: none; font-size: .82rem; font-weight: 800; }
.novel-main { width: min(1120px, calc(100% - 40px)); margin: auto; padding: 34px 0 72px; }

.novel-hero { position: relative; min-height: 330px; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; padding: 54px 68px; border-radius: 28px; background: radial-gradient(circle at 70% 35%, rgba(255,255,255,.45), transparent 28%), linear-gradient(135deg, #eaf8ed 0%, #dff5eb 46%, #d9f0ef 100%); box-shadow: 0 20px 55px rgba(34, 84, 63, .1); }
.novel-hero::after { content: ''; position: absolute; width: 360px; height: 360px; right: -130px; bottom: -210px; border: 70px solid rgba(255,255,255,.2); border-radius: 50%; }
.novel-hero-copy { position: relative; z-index: 2; }
.novel-kicker { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid rgba(8,122,82,.14); border-radius: 999px; background: rgba(255,255,255,.54); color: #087a52; font-size: .78rem; font-weight: 900; }
.novel-hero h1 { margin: 20px 0 13px; color: #12382b; font-family: "STSong", "SimSun", serif; font-size: clamp(2.1rem, 5vw, 3.35rem); line-height: 1.15; letter-spacing: -.04em; font-weight: 900; }
.novel-hero p { max-width: 590px; margin: 0; color: #4b675d; font-size: 1rem; line-height: 1.9; }
.novel-hero-actions { margin-top: 28px; display: flex; align-items: center; gap: 12px; }
.novel-primary-action, .novel-text-action { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 11px; font-weight: 900; font-size: .88rem; text-decoration: none; cursor: pointer; }
.novel-primary-action { padding: 0 20px; background: var(--novel-green); color: #fff; box-shadow: 0 10px 22px rgba(19,163,111,.22); }
.novel-primary-action:hover { color: #fff; background: #0b9363; }
.novel-text-action { padding: 0 14px; border: 0; background: transparent; color: #28745c; }
.novel-hero-art { position: relative; z-index: 2; min-height: 240px; }
.hero-book { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 8px 18px 18px 8px; box-shadow: -8px 18px 35px rgba(27,76,59,.18); transform-origin: bottom center; }
.hero-book::after { content: ''; position: absolute; right: 8px; bottom: -7px; left: 9px; height: 10px; border-radius: 0 0 7px 7px; background: #f5f0df; box-shadow: 0 2px 0 rgba(0,0,0,.09); }
.hero-book-back { width: 145px; height: 205px; top: 26px; right: 58px; background: #f3cf88; color: #7f5719; transform: rotate(10deg); }
.hero-book-back span { font-family: serif; font-weight: 900; font-size: 1.45rem; }
.hero-book-front { width: 164px; height: 232px; top: 0; right: 145px; gap: 13px; background: linear-gradient(160deg, #116a50, #0b4e3b); color: #fff; transform: rotate(-7deg); }
.hero-book-front i { font-size: 2.1rem; color: #d8b66e; }
.hero-book-front strong { font-family: serif; font-size: 1.45rem; letter-spacing: .12em; }
.hero-book-front small { opacity: .55; font-size: .58rem; letter-spacing: .2em; }
.hero-spark { position: absolute; color: #d99d35; font-size: 1.5rem; }
.spark-one { top: 18px; right: 12px; }.spark-two { bottom: 28px; left: 30px; font-size: 1rem; }

.novel-demo-notice { margin: 24px 0 18px; padding: 14px 17px; display: flex; align-items: center; gap: 12px; border: 1px solid #f0d89c; border-radius: 13px; background: #fff9e8; color: #7c5b13; }
.novel-demo-notice > i { font-size: 1.2rem; }.novel-demo-notice div { display: flex; gap: 8px; align-items: baseline; }.novel-demo-notice strong { white-space: nowrap; }.novel-demo-notice span { color: #8a7441; font-size: .84rem; line-height: 1.6; }
.novel-demo-notice.is-live { border-color: #bde7d1; background: #eefaf3; color: #176b4a; }
.novel-demo-notice.is-live span { color: #557568; }
.novel-how { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 18px; margin: 18px 0 46px; padding: 20px 28px; border: 1px solid var(--novel-line); border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(30,41,35,.045); }
.novel-how article { display: flex; align-items: center; gap: 12px; }.novel-how article > span { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #e9f7ef; color: var(--novel-green-dark); font-weight: 900; }.novel-how article div { display: flex; flex-direction: column; gap: 3px; }.novel-how strong { font-size: .88rem; }.novel-how small { color: #7a8580; font-size: .75rem; }.novel-how > i { color: #c5cdc9; font-size: .75rem; }

.novel-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }.novel-section-head > div span { color: var(--novel-green); font-size: .72rem; letter-spacing: .14em; font-weight: 900; }.novel-section-head h2 { margin: 4px 0 0; font-family: "STSong", "SimSun", serif; font-size: 1.9rem; }.novel-search { width: min(290px, 100%); height: 42px; display: flex; align-items: center; gap: 9px; padding: 0 7px 0 13px; border: 1px solid #dedfd9; border-radius: 11px; background: #fff; color: #97a09b; }.novel-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #29332f; font-size: .84rem; }.novel-search button { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border: 0; border-radius: 8px; background: #eaf8f0; color: #087a52; cursor: pointer; }
.novel-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }.novel-filters a { padding: 8px 14px; border: 1px solid #e1e3de; border-radius: 999px; background: #fff; color: #66716c; text-decoration: none; font-size: .78rem; font-weight: 800; cursor: pointer; }.novel-filters a:hover, .novel-filters a.is-active { border-color: #b8e3cd; background: #eaf8f0; color: #087a52; }
.novel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.novel-card { min-width: 0; overflow: hidden; border: 1px solid var(--novel-line); border-radius: 16px; background: #fff; box-shadow: 0 9px 25px rgba(30,42,36,.045); transition: transform .2s ease, box-shadow .2s ease; }.novel-card:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(30,42,36,.09); }.novel-card-main { width: 100%; min-height: 190px; display: grid; grid-template-columns: 108px minmax(0,1fr); gap: 16px; padding: 18px; border: 0; background: transparent; text-align: left; cursor: pointer; }.novel-cover { position: relative; min-width: 0; min-height: 154px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 5px 11px 11px 5px; color: #fff; box-shadow: -4px 8px 17px rgba(0,0,0,.18); }.novel-cover::before { content: ''; position: absolute; top: 0; bottom: 0; left: 8px; width: 1px; background: rgba(255,255,255,.25); }.novel-cover small { font-size: .58rem; opacity: .72; letter-spacing: .13em; }.novel-cover strong { max-width: 80%; font-family: "STSong", "SimSun", serif; font-size: 1.24rem; line-height: 1.25; text-align: center; letter-spacing: .08em; }.novel-cover em { font-size: .65rem; font-style: normal; opacity: .78; }.is-amber { background: linear-gradient(160deg,#7e3f22,#b77b3d); }.is-jade { background: linear-gradient(160deg,#145c49,#278971); }.is-indigo { background: linear-gradient(160deg,#242a4f,#4c548a); }.is-crimson { background: linear-gradient(160deg,#661f28,#a84349); }.is-blue { background: linear-gradient(160deg,#193d5a,#316b8c); }.is-rose { background: linear-gradient(160deg,#8a495a,#c27a86); }
.novel-card-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }.novel-card-tag { display: inline-flex; padding: 4px 7px; border-radius: 6px; background: #fff3d6; color: #a16c06; font-size: .64rem; font-weight: 900; }.novel-card-copy > strong { margin: 13px 0 5px; color: #1e2823; font-family: "STSong", "SimSun", serif; font-size: 1.18rem; }.novel-card-copy > small { color: #7e8984; font-size: .72rem; }.novel-card-copy > span:last-child { display: -webkit-box; margin-top: 12px; overflow: hidden; color: #65716b; font-size: .75rem; line-height: 1.65; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }.novel-card-footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-top: 1px solid #efeee9; background: #fdfdfb; }.novel-card-footer > span { color: #6b7771; font-size: .73rem; }.novel-card-footer > span i { margin-right: 5px; color: var(--novel-green); }.novel-card-footer button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 0; border-radius: 8px; background: #e8f7ef; color: #087a52; font-size: .74rem; font-weight: 900; cursor: pointer; }.novel-card-footer button:hover { background: var(--novel-green); color: #fff; }
.novel-card-copy .novel-card-stats { width: 100%; display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 9px; color: #77847d; }
.novel-card-stats b { display: inline-flex; align-items: center; gap: 4px; font-size: .67rem; font-weight: 750; }
.novel-card-stats .fa-star { color: #e4aa28; }
.novel-card-footer { gap: 10px; }
.novel-card-footer > span { flex: 0 0 auto; }
.novel-card-actions { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.novel-card-footer button, .novel-card-trial { min-height: 32px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 11px; border-radius: 8px; font-size: .72rem; font-weight: 900; white-space: nowrap; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.novel-card-footer button { border: 1px solid transparent; }
.novel-card-trial { border: 1px solid #dce8e1; background: #fff; color: #5d6d65; text-decoration: none; }
.novel-card-trial:hover { border-color: #a9dbc1; background: #f0faf5; color: #087a52; }

/* 桌面书架使用固定内容轨道，避免标题和标签长度改变卡片内部基线。 */
@media (min-width: 901px) {
    .novel-card {
        height: 278px;
        display: grid;
        grid-template-rows: 1fr 54px;
    }
    .novel-card-main {
        height: 224px;
        min-height: 0;
        align-items: stretch;
    }
    .novel-cover {
        width: 108px;
        height: 188px;
        min-height: 0;
    }
    .novel-card-copy {
        height: 188px;
        overflow: hidden;
    }
    .novel-card-tag {
        max-width: 100%;
        min-height: 22px;
        overflow: hidden;
        align-items: center;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .novel-card-copy > strong {
        min-height: 48px;
        max-height: 48px;
        display: -webkit-box;
        overflow: hidden;
        line-height: 1.28;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .novel-card-copy > small {
        width: 100%;
        min-height: 17px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .novel-card-copy .novel-card-stats {
        min-height: 18px;
        max-height: 18px;
        flex-wrap: nowrap;
        overflow: hidden;
        white-space: nowrap;
    }
    .novel-card-copy > span:last-child {
        margin-top: 8px;
        -webkit-line-clamp: 2;
    }
    .novel-card-footer {
        height: 54px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .novel-card-actions {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 92px;
    }
    .novel-card-footer button,
    .novel-card-trial {
        width: 92px;
        min-height: 34px;
        padding-right: 8px;
        padding-left: 8px;
    }
}
.novel-empty { min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px dashed #d7dcd8; border-radius: 16px; color: #89938e; }.novel-empty[hidden] { display: none; }.novel-empty i { font-size: 2rem; color: #b5beb9; }.novel-empty span { font-size: .78rem; }
.novel-pagination { width: min(680px, 100%); display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; justify-content: center; gap: 18px; margin: 34px auto 0; padding: 0 8px; }
.novel-pagination[hidden] { display: none; }
.novel-pagination > .novel-page-nav, .novel-page-numbers a { min-width: 44px; height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid #dce4df; border-radius: 11px; background: #fff; color: #526159; text-decoration: none; box-shadow: 0 4px 12px rgba(31,61,47,.045); font-size: .76rem; font-weight: 850; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease; }
.novel-pagination > .novel-page-nav:hover:not(.is-disabled), .novel-page-numbers a:hover:not(.is-active) { border-color: #9ed7bb; background: #eff9f4; color: var(--novel-green-dark); transform: translateY(-1px); box-shadow: 0 7px 16px rgba(16,132,87,.1); }
.novel-page-numbers a.is-active { border-color: var(--novel-green); background: linear-gradient(135deg, #13a66e, var(--novel-green)); color: #fff; box-shadow: 0 7px 16px rgba(16,132,87,.2); }
.novel-pagination a:focus-visible { outline: 3px solid rgba(16,132,87,.18); outline-offset: 2px; }
.novel-pagination > .novel-page-nav.is-disabled { cursor: not-allowed; opacity: .38; box-shadow: none; }
.novel-page-numbers { display: flex; justify-content: space-evenly; align-items: center; gap: 8px; }
.novel-page-numbers.is-mobile { display: none; }
.novel-page-numbers span { width: 22px; color: #98a19c; text-align: center; }
.novel-page-summary { grid-row: 2; grid-column: 1 / -1; margin-top: 3px; color: #84908a; font-size: .72rem; text-align: center; white-space: nowrap; }
.novel-safety-note { margin-top: 42px; display: flex; gap: 14px; padding: 19px 22px; border-radius: 15px; background: #eef7f2; color: #325747; }.novel-safety-note > i { margin-top: 2px; font-size: 1.4rem; color: var(--novel-green); }.novel-safety-note strong { font-size: .9rem; }.novel-safety-note p { margin: 5px 0 0; color: #668073; font-size: .8rem; line-height: 1.7; }
.novel-mobile-nav { display: none; }

.novel-dialog-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(10,22,17,.58); backdrop-filter: blur(6px); }.novel-dialog-backdrop[hidden] { display: none; }.novel-dialog { position: relative; width: min(560px,100%); max-height: min(760px, calc(100dvh - 36px)); overflow-y: auto; padding: 28px; border-radius: 22px; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.3); }.novel-dialog-close { position: absolute; z-index: 2; top: 15px; right: 15px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f3f1; color: #617069; cursor: pointer; }.novel-dialog-book { display: grid; grid-template-columns: 128px minmax(0,1fr); gap: 23px; align-items: center; }.novel-dialog-book .novel-cover { min-height: 184px; }.novel-dialog-info h2 { margin: 13px 0 6px; font-family: "STSong", "SimSun", serif; font-size: 1.75rem; }.novel-dialog-info > p:last-child { margin: 16px 0 0; color: #66736c; font-size: .84rem; line-height: 1.8; }.novel-dialog-meta { margin: 0; color: #88918d; font-size: .77rem; }.novel-code-box { margin-top: 24px; padding: 16px; border: 1px dashed #c6ddd1; border-radius: 13px; background: #f4faf7; }.novel-code-box > span { display: block; color: #577267; font-size: .72rem; font-weight: 900; }.novel-code-box code { display: block; margin: 9px 0; color: #153d2d; font-family: inherit; font-size: .94rem; font-weight: 900; line-height: 1.6; word-break: break-all; }.novel-code-box small { color: #98701e; font-size: .7rem; }.novel-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 17px; }.novel-dialog-actions button, .novel-dialog-actions a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #dce2de; border-radius: 10px; background: #fff; color: #4f5e57; text-decoration: none; font-size: .82rem; font-weight: 900; cursor: pointer; }.novel-dialog-actions .is-primary { border-color: var(--novel-green); background: var(--novel-green); color: #fff; }.novel-dialog-tip { margin: 14px 0 0; color: #89918e; text-align: center; font-size: .7rem; }.novel-dialog-open { overflow: hidden; }
.novel-dialog-stats { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 9px; color: #61746a; font-size: .72rem; font-weight: 800; }
.novel-dialog-stats[hidden] { display: none; }
.novel-dialog-stats span { display: inline-flex; align-items: center; gap: 4px; }
.novel-dialog-stats .fa-star { color: #e2a421; }
.novel-description-card { margin-top: 18px; padding: 13px 15px; border: 1px solid #e8ebe8; border-radius: 12px; background: #fff; }
.novel-description-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.novel-description-card strong { color: #52625a; font-size: .76rem; }
.novel-description-card header button { padding: 3px 4px; border: 0; background: transparent; color: var(--novel-green-dark); font-size: .72rem; font-weight: 850; cursor: pointer; }
.novel-description-card p { display: -webkit-box; margin: 8px 0 0; overflow: hidden; color: #66736c; font-size: .8rem; line-height: 1.75; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.novel-description-card.is-expanded p { display: block; overflow: visible; }
.novel-trial-preview { margin-top: 18px; padding: 13px 15px; border-radius: 12px; background: #f6f7fb; }
.novel-trial-preview[hidden] { display: none; }
.novel-trial-preview header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.novel-trial-preview strong { color: #44526a; font-size: .76rem; }
.novel-trial-preview header a { color: var(--novel-green-dark); text-decoration: none; font-size: .72rem; font-weight: 900; }
.novel-trial-preview p { display: -webkit-box; margin: 7px 0 0; overflow: hidden; color: #69758a; font-size: .74rem; line-height: 1.7; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.novel-toast { position: fixed; z-index: 120; bottom: 28px; left: 50%; display: flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 999px; background: #133f2f; color: #fff; font-size: .8rem; font-weight: 850; opacity: 0; transform: translate(-50%, 18px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; box-shadow: 0 12px 35px rgba(0,0,0,.25); }.novel-toast.is-visible { opacity: 1; transform: translate(-50%,0); }.novel-toast i { color: #66e2ad; }

.novel-cover-image {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.novel-cover:has(.novel-cover-image[src]:not([src=""])) > small,
.novel-cover:has(.novel-cover-image[src]:not([src=""])) > strong,
.novel-cover:has(.novel-cover-image[src]:not([src=""])) > em,
.novel-cover.has-image > small,
.novel-cover.has-image > strong,
.novel-cover.has-image > em {
    visibility: hidden;
}

@media (max-width: 900px) {
    .novel-top-nav { display: none; }
    .novel-hero { grid-template-columns: 1fr .65fr; padding: 42px; }
    .hero-book-front { right: 80px; }.hero-book-back { right: 10px; }
    .novel-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
    .novel-page { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
    .novel-header-inner { width: calc(100% - 24px); min-height: 54px; gap: 12px; }
    .novel-brand { gap: 8px; }
    .novel-brand img { width: 28px; height: 28px; }
    .novel-brand strong { font-size: .96rem; }
    .novel-back span { display: none; }
    .novel-back { width: 36px; height: 36px; padding: 0; justify-content: center; }
    .novel-main { width: calc(100% - 24px); padding: 12px 0 28px; }

    .novel-hero { min-height: 0; display: block; padding: 20px; border-radius: 18px; }
    .novel-hero::after { width: 220px; height: 220px; right: -120px; bottom: -160px; border-width: 45px; }
    .novel-kicker { padding: 5px 9px; font-size: .7rem; }
    .novel-hero h1 { margin: 12px 0 8px; font-size: 1.75rem; line-height: 1.18; letter-spacing: -.035em; }
    .novel-hero p { display: -webkit-box; max-width: 300px; overflow: hidden; font-size: .8rem; line-height: 1.6; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .novel-hero-actions { margin-top: 16px; gap: 8px; }
    .novel-primary-action, .novel-text-action { min-height: 42px; font-size: .8rem; }
    .novel-primary-action { padding: 0 16px; }
    .novel-text-action { padding: 0 9px; }
    .novel-hero-art { display: none; }

    .novel-demo-notice { margin: 12px 0; padding: 10px 12px; align-items: flex-start; gap: 9px; border-radius: 11px; }
    .novel-demo-notice > i { margin-top: 2px; font-size: 1rem; }
    .novel-demo-notice div { min-width: 0; display: block; }
    .novel-demo-notice strong, .novel-demo-notice span { display: block; }
    .novel-demo-notice strong { font-size: .8rem; }
    .novel-demo-notice span { display: -webkit-box; margin-top: 2px; overflow: hidden; font-size: .71rem; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

    .novel-how { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 4px; margin: 0 0 22px; padding: 10px 6px; border-radius: 13px; }
    .novel-how > i { display: none; }
    .novel-how article { min-width: 0; justify-content: center; gap: 6px; }
    .novel-how article > span { width: 25px; height: 25px; font-size: .7rem; }
    .novel-how article div { min-width: 0; }
    .novel-how strong { white-space: nowrap; font-size: .7rem; }
    .novel-how small { display: none; }

    .novel-section-head { display: block; }
    .novel-section-head > div span { font-size: .65rem; }
    .novel-section-head h2 { margin-top: 2px; font-size: 1.45rem; }
    .novel-search { width: 100%; height: 44px; margin-top: 10px; border-radius: 12px; }
    .novel-search input { font-size: 16px; }
    .novel-filters { flex-wrap: nowrap; gap: 7px; margin: 12px -12px 14px 0; padding: 0 12px 2px 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
    .novel-filters::-webkit-scrollbar { display: none; }
    .novel-filters a { min-height: 36px; flex: 0 0 auto; padding: 7px 13px; scroll-snap-align: start; }

    .novel-grid { grid-template-columns: 1fr; gap: 10px; }
    .novel-card { border-radius: 14px; }
    .novel-card:hover { transform: none; }
    .novel-card-main { grid-template-columns: 88px minmax(0,1fr); gap: 13px; min-height: 148px; padding: 12px; }
    .novel-cover { min-height: 124px; border-radius: 5px 9px 9px 5px; }
    .novel-card-copy > strong { margin: 8px 0 4px; font-size: 1.08rem; }
    .novel-card-copy > small { font-size: .68rem; }
    .novel-card-copy > span:last-child { margin-top: 8px; font-size: .71rem; line-height: 1.55; -webkit-line-clamp: 2; }
    .novel-card-footer { min-height: 49px; padding: 7px 10px 7px 12px; }
    .novel-card-footer > span { font-size: .68rem; }
    .novel-card-footer button { min-height: 38px; padding: 0 13px; font-size: .75rem; }
    .novel-card-actions { gap: 5px; }
    .novel-card-footer button, .novel-card-trial { min-height: 38px; padding: 0 10px; font-size: .7rem; }
    .novel-pagination { grid-template-columns: auto minmax(0,1fr) auto; width: 100%; gap: 6px; margin-top: 20px; padding: 0; }
    .novel-page-numbers { min-width: 0; gap: 5px; }
    .novel-page-summary { grid-row: 2; grid-column: 1 / -1; }
    .novel-page-numbers.is-desktop { display: none; }
    .novel-page-numbers.is-mobile { display: flex; }
    .novel-pagination > .novel-page-nav, .novel-page-numbers a { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px; }
    .novel-page-numbers span { width: 14px; }
    .novel-pagination > .novel-page-nav span { display: none; }
    .novel-safety-note { margin-top: 24px; padding: 15px; }

    .novel-mobile-nav { position: fixed; z-index: 50; right: 0; bottom: 0; left: 0; min-height: 58px; display: grid; grid-template-columns: repeat(4,1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #dfe5e1; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); box-shadow: 0 -8px 24px rgba(15,23,42,.08); }
    .novel-mobile-nav a { min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #74817b; text-decoration: none; font-size: .62rem; font-weight: 850; }
    .novel-mobile-nav a i { font-size: .95rem; }
    .novel-mobile-nav a.is-active { color: var(--novel-green); }

    .novel-dialog-backdrop { place-items: end center; padding: 0; }
    .novel-dialog { width: 100%; max-height: 88dvh; padding: 22px 16px calc(18px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; }
    .novel-dialog::before { content: ''; display: block; width: 36px; height: 4px; margin: -12px auto 14px; border-radius: 999px; background: #d8dedb; }
    .novel-dialog-close { top: 13px; right: 13px; width: 36px; height: 36px; }
    .novel-dialog-book { grid-template-columns: 82px minmax(0,1fr); gap: 14px; padding-right: 26px; }
    .novel-dialog-book .novel-cover { min-height: 116px; }
    .novel-dialog-info h2 { margin: 9px 0 5px; font-size: 1.3rem; }
    .novel-description-card { margin-top: 12px; padding: 11px 12px; }
    .novel-description-card p { margin-top: 6px; font-size: .75rem; line-height: 1.62; -webkit-line-clamp: 4; }
    .novel-trial-preview { margin-top: 10px; padding: 11px 12px; }
    .novel-trial-preview p { margin-top: 5px; line-height: 1.55; -webkit-line-clamp: 3; }
    .novel-code-box { margin-top: 10px; padding: 12px; }
    .novel-code-box code { margin: 7px 0; font-size: .9rem; }
    .novel-dialog-actions { grid-template-columns: 1.35fr 1fr; margin-top: 12px; }
    .novel-dialog-actions button, .novel-dialog-actions a { min-height: 48px; }
    .novel-dialog-tip { margin-top: 10px; line-height: 1.5; }
    .novel-toast { bottom: calc(70px + env(safe-area-inset-bottom)); max-width: calc(100% - 24px); white-space: nowrap; }
}
